Commit Graph
100 Commits
Author SHA1 Message Date
Gerhard Schlager 6f6b47f096 FIX: do not escape already escaped chars in URL 2017-09-22 17:36:44 +02:00
Gerhard Schlager 1a435414d5 FIX: handle URL encoded email addresses 2017-09-22 14:26:06 +02:00
Gerhard Schlager e08b5feb8a improved status output during auto-closing and ignore deleted topic timers 2017-09-21 10:58:09 +02:00
Gerhard Schlager 26d10370c6 Adds a rake task for applying auto-close to old topics 2017-09-20 15:49:53 +02:00
Gerhard Schlager e582e86da3 Merge pull request #5197 from lidimayra/workspace
Add spec to cover "Badge Type has many Badges" relation
2017-09-20 11:37:53 +02:00
Gerhard Schlager 87b4246c14 FIX: notify about whispered reply 2017-09-19 15:51:10 +02:00
Gerhard Schlager a5408650bd FIX: composing a message to a group via URL didn't work 2017-09-18 17:04:12 +02:00
Gerhard Schlager 0960e2dd67 bump onebox version 2017-09-18 14:25:56 +02:00
Gerhard Schlager a1ee61ec25 handle empty locale file in Transifex pull script 2017-09-16 23:33:21 +02:00
Gerhard Schlager de19c8e70c update translations 2017-09-16 22:42:28 +02:00
Gerhard Schlager 74a855b08d Ensure that all locale files are pulled from Transifex 2017-09-16 22:33:00 +02:00
Gerhard Schlager 6e04f05173 that shouldn't have been there... 2017-09-15 17:33:31 +02:00
Gerhard Schlager d51eee4dbc FIX: don't try to send a rejection message when the sender was not detected 2017-09-15 17:30:02 +02:00
Gerhard Schlager a2187b0acd FIX: better error handling for incoming emails 2017-09-15 17:30:02 +02:00
Gerhard Schlager 619864bc70 update email_reply_trimmer to latest 2017-09-14 17:20:55 +02:00
Gerhard Schlager f3d3129113 FIX: Use default locale for edit reason when owner of post gets changed 2017-09-14 17:17:37 +02:00
Gerhard Schlager efef422416 FIX: Use default locale for moderator post when posts are moved 2017-09-14 17:17:37 +02:00
Gerhard Schlager 31ecb4fecf FIX: Handle incoming emails without email address in From header (#5177) 2017-09-12 22:35:24 +02:00
Gerhard Schlager e9fb2c5756 phpBB3 importer: Fix validation of site settings 2017-08-29 01:48:30 +02:00
Gerhard Schlager df096f7803 ignore bootsnap cache directories 2017-08-29 01:47:03 +02:00
Gerhard Schlager 32ef30cff9 phpBB3 importer: Permalink for first post of each topic was missing 2017-07-25 23:29:56 +02:00
Gerhard Schlager 5be52fa821 phpBB3 importer: Use permalink normalization for category links 2017-07-25 21:14:46 +02:00
Gerhard Schlager 8299e7e8c3 Add new, experimental version of mbox importer 2017-05-29 20:59:18 +02:00
Gerhard Schlager 781f364d86 Make RuboCop and RubyMine less annoying 2017-05-29 20:59:14 +02:00
Gerhard Schlager 02c87b4623 Ignore bootsnap files 2017-05-29 20:59:11 +02:00
Gerhard Schlager 8d9b5ed70a phpBB3 importer: Disable file size validators during import 2017-04-26 01:05:36 +02:00
Gerhard Schlager 1fb5dac1bc phpBB3 importer: Fix the link regex
Thanks to Leo Davidson for the improved regex.
https://meta.discourse.org/t/importing-from-phpbb3/30810/153
2017-02-05 17:13:31 +01:00
Gerhard Schlager 14a0dff469 phpBB3 importer: Fix import of anonymous users 2017-02-05 15:26:50 +01:00
Gerhard Schlager b79eef32e7 phpBB3 importer: Make it harder to set wrong table prefix 2017-02-05 14:13:25 +01:00
Gerhard Schlager 5569afc48b phpBB3 importer: Don't ignore users that belong to non-existent group 2017-02-05 14:13:25 +01:00
Gerhard Schlager 1042f1a923 UX: Allow translation of composer icons 2016-08-15 18:57:05 +02:00
Gerhard Schlager 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
Gerhard Schlager 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
Gerhard Schlager fccc0c93c5 Store the original username during import (#4349) 2016-07-27 22:30:15 +02:00
Gerhard Schlager 3d76ad623c Workaround for Transifex YML issues 2016-07-27 18:02:57 +02:00
Gerhard Schlager 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
Gerhard Schlager c97bc851cf Add notes to date and number formats to help translators 2016-06-09 20:58:12 +02:00
Gerhard Schlager 0227658515 Make phpBB3 importer compatible with latest poll plugin changes (#4253) 2016-06-06 22:59:33 +02:00
Gerhard Schlager 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
Gerhard Schlager 1eaaa97849 Fix import from phpBB 3.1 2016-05-07 23:35:48 +02:00
Gerhard Schlager 78e596497a Correct error in mention-bot config 2016-04-25 10:27:59 +02:00
Gerhard Schlager 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
Gerhard Schlager a796289b3a Fix import of polls from phpBB3 2016-04-23 23:03:50 +02:00
Gerhard Schlager f1bc7de541 Adds support for anonymous votes to the poll plugin 2016-04-23 22:44:09 +02:00
Gerhard Schlager 91b5ea4113 Make permalink import from phpBB3 configurable
There are a few changes to the original permalink import:
- adds permalinks for posts
- does not create incorrect permalinks for private messages
- adds permalink normalizations for topics and posts
2016-04-09 22:36:45 +02:00
Gerhard Schlager ab0c6e69e9 FIX: Show badge count of 1 on the badges page (#4153) 2016-04-08 14:53:42 -04:00
Gerhard Schlager b1b83c13ec Delete git_badge_grant.rb
There's a plugin for that... https://github.com/discourse/github_badges
2016-04-08 20:47:43 +02:00
Gerhard Schlager 95155cda64 Fix Romanian pluralization rules (#4151) 2016-04-08 11:35:04 +02:00
Gerhard Schlager 81e174c47a Fix Permalink normalization regex example 2016-03-19 22:37:29 +01:00
Gerhard Schlager 01a6e10372 FEATURE: Add importer for SourceForge discussions 2016-03-01 00:03:47 +01:00
Gerhard Schlager 8481548def FIX: Load fallback locales after reloading translations 2016-02-22 22:48:56 +01:00
Gerhard Schlager 80c9fa4dca FIX: Load translation overrides for more than one locale 2016-02-22 22:48:56 +01:00
Gerhard Schlager 2e875d3cca FIX: Use fallback locales when searching for translations 2016-02-22 22:48:55 +01:00
Gerhard Schlager 8a486d8cea Allow importers to set empty names 2016-02-21 23:35:47 +01:00
Gerhard Schlager c4ec1d0fcf FIX: Don't suggest invalid username 2016-02-21 23:28:57 +01:00
Gerhard Schlager eb166e78b6 Don't try to import invalid websites 2016-02-21 17:38:04 +01:00
Gerhard Schlager 9dba531567 FIX: Remove invalid 'http://' website from profiles 2016-02-06 22:30:24 +01:00
Gerhard Schlager 8e135e460b UX: Date Picker in user preferences was ugly 2016-02-05 23:28:57 +01:00
Gerhard Schlager f7eb7f25bd UX: Use i18n for date picker 2016-02-05 21:49:21 +01:00
Gerhard Schlager 89add4a4a2 JsLocaleHelper should search for moment.js locale files
moment.js uses a different naming conventions for locale files.
E.g. "zh-zn" instead of "zh_ZN" and "nb" instead of "nb_NO"

This change allows us to use the locale files without renaming which
makes future upgrades of moment.js a lot easier.
2016-02-05 21:49:03 +01:00
Gerhard Schlager 8ced8350ba Upgrade moment.js to version 2.11.2
In order to make future upgrades easier we don't rename the locale files anymore.
2016-02-05 21:42:48 +01:00
Gerhard Schlager 15165440e5 Map :-) to :slightly_smiling: during phpBB3 import 2016-02-04 20:39:53 +01:00
Gerhard Schlager 9d96c6d435 Prepare settings file for Docker based phpBB3 importer 2016-02-04 20:39:53 +01:00
Gerhard Schlager f4f87921c2 Replace uncategorized_description setting with translation 2016-01-28 00:26:25 +01:00
Gerhard Schlager 1368e2182a UX: Distinguish between noun and verb for "Archive" 2016-01-26 22:41:49 +01:00
Gerhard Schlager 1164129edc Better error handling for polls imported from phpBB3 2016-01-13 22:57:57 +01:00
Gerhard Schlager bed9135f40 Failed file upload shouldn't crash phpBB3 importer 2016-01-13 22:56:45 +01:00
Gerhard Schlager 8517674a32 UX: Show translated badge names and badge groupings
FIX: Disallow renaming of system badges
FIX: Disallow renaming/deleting of system badge groupings
UX: Use "modern" button style in badge groupings dialog
2015-12-30 23:35:16 +01:00
Gerhard Schlager f2663ecb09 FIX: Correctly import users and passwords from phpBB 3.1
- Ruby doesn't support the $2y$ prefix used for bcrypt Blowfish hashes.
- The importer ignored users that didn't have optional profile fields.
2015-12-26 23:05:19 +01:00
Gerhard Schlager e56f8fa471 Add Slovak locale 2015-12-14 21:55:36 +01:00
Gerhard Schlager 2d1c21755f FIX: Pressing Ctrl+F twice should close Discourse search window 2015-11-17 20:31:00 +01:00
Gerhard Schlager a00c373b6f UX: Show translated modifier keys in editor shortcuts 2015-11-14 23:13:22 +01:00
Gerhard Schlager 4686383512 UX: Use localized date format in digest email 2015-11-13 21:45:52 +01:00
Gerhard Schlager 6e33a21a7a FIX: Replace invalid pluralizations in locale files 2015-11-13 21:25:15 +01:00
Gerhard Schlager 5f9b7c67cd Add tests to ensure correct pluralization 2015-11-13 21:18:41 +01:00
Gerhard Schlager f85a311ae1 add missing dependency 2015-11-02 20:40:50 +01:00
Gerhard Schlager 6238a43f93 Fix base and vBulletin importer 2015-10-21 19:07:31 +02:00
Gerhard Schlager 11a6b61cbd Remove example CSS selectors from locale file 2015-10-11 14:48:37 +02:00
Gerhard Schlager 8b3b14a704 Disable byebug when RubyMine is used for debugging
Debugger in RubyMine doesn't work well with byebug.
For example, debugging Sidekiq jobs doesn't work when byebug is loaded.
2015-10-09 21:51:47 +02:00
Gerhard Schlager d10741170f FIX: Pressing Ctrl+F twice should show browser find 2015-10-08 22:30:33 +02:00
Gerhard Schlager a3afdba59e FIX: phpBB3 importer should ignore invalid birthdates 2015-10-06 21:08:54 +02:00
Gerhard Schlager 7186b4d641 Adds pluralization to js.user.invited.truncated
https://meta.discourse.org/t/showing-the-first-count-invites-needs-pluralization/33988
2015-10-01 16:22:08 +02:00
Gerhard Schlager ba0cbd5658 FIX: phpBB3 importer should ignore unknonw topic_id in internal link 2015-09-30 21:55:34 +02:00
Gerhard Schlager a03ead9767 FIX: phpBB3 importer failed to import users
FEATURE: Skip batches if posts or messages exists
2015-09-30 17:56:37 +02:00
Gerhard Schlager 29d27ec2ef FIX: Prevent cast error when import_id contains strings and numbers
Some importers insert numbers and strings as import_id into the same
custom_fields table. This change prevents cast errors during imports.
2015-09-30 16:38:06 +02:00
Gerhard Schlager bb52042b46 FIX: Add missing pluralization keys to poll plugin locale 2015-09-27 21:36:57 +02:00
Gerhard Schlager 7d5e2d46c5 FIX: Only enabled badges can be granted
FIX: Sort badges by displayName
2015-09-24 02:06:04 +02:00
Gerhard Schlager 445bd033d2 FIX: Use correct badge slug within notifications 2015-09-24 00:49:13 +02:00
Gerhard Schlager 25e9aa7653 FIX: Use user's locale for badge notifications 2015-09-24 00:33:33 +02:00
Gerhard Schlager 454a628d58 Add tests for I18n.exists? freedom patch 2015-09-23 20:41:51 +02:00
Gerhard Schlager 825be30844 FIX: I18n.exists? should use locale fallbacks 2015-09-19 23:33:11 +02:00
Gerhard Schlager 4cb070f28c FIX: Use translated badge names for slugs
FIX: Use configured slug generater method for badges
2015-09-19 22:41:48 +02:00
Gerhard Schlager caa1a8231b FIX: Show translated badge name 2015-09-19 21:33:20 +02:00
Gerhard Schlager d2d823186c Add support for YAML aliases to pull_translations script
The English locale files use aliases and anchors in order to prevent
duplicate translations. Transifex doesn't support them.
The script finds those aliases and anchors in the original locale files
and adds them to the locale files pulled from Transifex.
2015-09-19 00:18:38 +02:00
Gerhard Schlager ade31c4468 FIX: Remove duplicate keys from locale files 2015-09-19 00:14:26 +02:00
Gerhard Schlager 49dc470a28 Add spec to check locale files for duplicate keys 2015-09-19 00:14:26 +02:00
Gerhard Schlager 619d5b1bc1 FIX: Load fallback locales in Sidekiq jobs 2015-09-18 18:21:27 +02:00
Gerhard Schlager 233bf9bc24 Always use locale fallback on server 2015-09-13 17:24:15 +02:00
Gerhard Schlager 3dd9dbf757 Remove hard-coded fallback to English locale
In production mode the English locale is always used as fallback.
In development mode there is currently no fallback, so the English
locale isn't loaded and the second call to I18n.l() fails too.
2015-09-06 21:24:38 +02:00
Gerhard Schlager 8c03dd16af Adds support for importing password hashes used by "migratepassword" plugin
Adds setting to phpBB3 importer for importing passwords (default: off)
Plugin: https://github.com/discoursehosting/discourse-migratepassword
2015-08-20 22:22:47 +02:00