Commit Graph

432 Commits

Author SHA1 Message Date
ed0b355e15 generalize permalink URL in GetSatisfaction import script 2016-09-08 15:01:40 +05:30
bade41db42 improve GetSatisfaction import script 2016-09-08 14:57:20 +05:30
aeae63a56a Change reverse.each
Change on reverse_each because reverse_each loops in reverse order (no
intermediate array created).
2016-09-07 14:57:31 +08:00
87e84756f0 improve Ning import script 2016-09-05 15:27:03 +05:30
cdc1d7e46c Merge pull request #4413 from Mogztter/fix-optional-attachments
FIX: Nabble importer, attachments can be not found
2016-09-05 00:05:40 +05:30
371f4f4be7 Fix SQLite datetime issues
The raw datetime string from raw emails doesn't conform to SQLite standard. Therefore it can't be sorted. This fix will make it conforming and sort-able by SQLite.
2016-08-26 12:47:03 -04:00
d5fc4e1e84 Merge pull request #4388 from gschlager/transifex
Always use --force when pulling translations from Transifex
2016-08-24 14:57:55 -04:00
4ba99bcc04 FIX: Attachments can be not found 2016-08-23 19:58:46 +02:00
566ecae0db FIX: Update Nabble importer to use Email.Receiver new API
Email.Receiver API changed in 30836573587079c5e663d7b3122957fc8c70dafe
2016-08-22 14:04:01 +02:00
f7f8226b4c Add Socialcast importer 2016-08-20 17:25:19 -07:00
m.b
2fde6944e3 Add missing fat arrow in bbcode_to_md method rescue block
Related to https://meta.discourse.org/t/undefined-local-variable-or-method-e-during-phpbb3-migration/48861
2016-08-19 13:18:27 +02:00
72d7c055f4 Lots of ugprades to the Disqus importer script 2016-08-17 15:10:46 -04:00
71421df72a Always use --force when pulling translations from Transifex
Also, this makes it possible to pull only selected languages which is
handy during development and for adding a new language.
2016-08-12 22:12:03 +02:00
277e7383f3 Revert "FEATURE: make discourse remap optionally do regex_replace (#4367)"
This reverts commit f8dda198bd63e6944e71dc952363b01e62fc353e, reversing
changes made to 01ced67ab39a3055cced66e58c9fcf857f4db920.
2016-08-08 17:05:22 -04:00
f8dda198bd FEATURE: make discourse remap optionally do regex_replace (#4367)
This adds a --regex option to discourse remap to use the regexp_replace
feature in PostgreSQL. Example usage:

discourse remap --regex "\[\/?color(=[^\]]*)*]" ""

removes all the "color" bbcodes.

Also, this commit fixes the --global option, which did not work because
of how Thor processes the options.
2016-08-08 14:30:02 -04:00
02d63d5bc6 FIX: Backup script with custom filename needs to include version number. 2016-08-08 09:33:50 +08:00
Sam
31c0ce3dac Revert "FEATURE: make discourse remap optionally do regex_replace" 2016-08-02 08:38:15 +10:00
7109442ef0 Stop using Transifex workaround, but keep the code just in case 2016-07-27 17:55:28 -04:00
37a78752e9 phpBB3 importer: fixes for internal links and guest users (#4350)
* phpBB3 importer: ignore query parameters in internal links

* phpBB3 importer: Don't fail if guest usernames differ only by case

* phpBB3 importer: Import username as name for guest users
2016-07-27 22:57:33 +02:00
fccc0c93c5 Store the original username during import (#4349) 2016-07-27 22:30:15 +02:00
56d2626187 support 'read_restricted' categories in importers 2016-07-27 18:38:23 +02:00
3d76ad623c Workaround for Transifex YML issues 2016-07-27 18:02:57 +02:00
2a257190e7 FEATURE: make discourse remap optionally do regex_replace (#4116)
This adds a --regex option to discourse remap to use the regexp_replace
feature in PostgreSQL. Example usage:

discourse remap --regex "\[\/?color(=[^\]]*)*]" ""

removes all the "color" bbcodes.

Also, this commit fixes the --global option, which did not work because
of how Thor processes the options.
2016-07-22 10:08:41 +02:00
1ea1cefb35 Extract Nginx log analyzer into a plugin that ships with Discourse. 2016-07-19 15:44:00 +08:00
1c4bc154c9 add SimplePress import script 2016-07-14 19:07:25 +05:30
529528f122 add Drupal JSON import script 2016-07-14 18:56:54 +05:30
c2b769bd95 Provide hints about which files can be restored 2016-07-12 12:31:01 -04:00
c145e747b6 A few small changes to the phpBB3 importer (#4321)
* Reconnect to phpBB3 database on connection loss

* Map geek smiley to :nerd: emoji in phpBB3 importer

* Import PMs to yourself from phpBB3

* Allow empty table prefix in phpBB3 importer
2016-07-11 23:59:15 +02:00
201d344a2d improve vBulletin import script 2016-07-10 14:51:31 +05:30
3b119dac6d FIX: importer performance of update_tl0, and give feedback during vanilla_mysql's create_permalinks 2016-07-06 10:58:43 -04:00
Sam
be76a9808a Merge pull request #4287 from steinwaywhw/patch-1
Fix frozen email string problem in mbox.rb
2016-06-29 16:32:30 +10:00
8e5a22ba5d Support for mapping multiple mbox imports into categories 2016-06-28 16:35:19 -04:00
32b22996d0 FEATURE: vanilla_mysql importer can import tags 2016-06-27 16:17:00 -04:00
3501c86cc8 Fix frozen email string problem in mbox.rb 2016-06-24 13:59:01 -04:00
648bcb6432 More mailbox importer improvements 2016-06-20 14:58:53 -04:00
2720205f78 Support gzipped mailbox files 2016-06-20 12:41:57 -04:00
1e15735a45 Working VB5 importer 2016-06-16 05:56:28 +00:00
b42f28d4c3 Improved mailing list import.
Now uses a SQLite database to store messages rather than JSON files
for performance and memory considerations.
2016-06-14 11:45:17 -04:00
0227658515 Make phpBB3 importer compatible with latest poll plugin changes (#4253) 2016-06-06 22:59:33 +02:00
2e1cc061d8 Make sure PMs imported from phpBB3 are only visible to the correct users
In addition this tries to automatically fix PMs that were migrated
from phpBB2 to phpBB3.
2016-05-26 20:27:08 +02:00
fe42b189c9 FIX: vanilla_mysql importer removes everything between the first and last img tags in a post 2016-05-25 12:41:32 -04:00
Sam
a19e43fd3b enough with the malloc limit, not needed 2016-05-25 21:09:07 +10:00
ab5337b79c Correct typo preventing script from running. (#4234)
Signed-off-by: David Keller <david.keller@litchis.fr>
2016-05-23 08:12:02 +02:00
f07b3e7df9 PERF: base importer updates user_stats with sql (mostly) 2016-05-17 18:39:04 -04:00
d96ca0a985 FIX: vanilla_mysql importer shouldn't exit when creating duplicate permalink 2016-05-17 18:39:04 -04:00
e1061acd32 vanilla_mysql faster users when resuming, create_permalinks 2016-05-17 11:16:51 -04:00
1eaaa97849 Fix import from phpBB 3.1 2016-05-07 23:35:48 +02:00
38d0697b2f Merge pull request #4191 from gschlager/phpbb3-importer-polls
Fix import of polls from phpBB3
2016-04-25 10:32:43 +02:00
e19ee93ee3 Stop using OFFSET in DB queries of phpBB3 importer
http://use-the-index-luke.com/no-offset
2016-04-24 14:25:35 +02:00
a796289b3a Fix import of polls from phpBB3 2016-04-23 23:03:50 +02:00