Commit Graph

33005 Commits

Author SHA1 Message Date
df18243827 FIX: prevents exception if report doest define filters (#7532) 2019-05-13 13:34:28 +02:00
9a56df89f0 REFACTOR: user-selector (#7529) 2019-05-13 13:03:12 +02:00
2b28abdc21 FIX: Allow underscores in s3_upload_bucket setting
Underscores are not allowed in s3 bucket names, but they should be allowed in the subfolder name
2019-05-13 11:18:24 +01:00
25b39b86ae FIX: reload the user record instead of fetching via email 2019-05-13 15:16:53 +05:30
e64ed9dbc1 REFACTOR: edit-category controller (#7527) 2019-05-13 11:30:32 +02:00
64c117519e Fix modifying frozen strings errors take 3. 2019-05-13 16:45:23 +08:00
74989783da Fix modifying frozen strings error in OneboxController. 2019-05-13 16:25:52 +08:00
b584e30902 Fix modifying frozen strings error take 2. 2019-05-13 16:23:45 +08:00
9b75320d63 FIX: track mutations on topic edit category-chooser only on select (#7528) 2019-05-13 10:22:28 +02:00
999fdb95db DEV: Mark discourse-login-with-amazon as official plugin. 2019-05-13 16:13:20 +08:00
d643294c9d FIX: delete duplicate invites earlier in the process
There was a race condition when 2 invites existed for 1 user where in some
cases data from both invites would be used for the redeem. Depending on DB
ordering.

Fix is to delete duplicate invites earlier in the process prior to
`redeem_from_email` being called.
2019-05-13 17:42:39 +10:00
427cf295d9 DEV: Always require %{count} in French pluralized strings 2019-05-13 09:36:05 +02:00
81c329fbb8 FIX: Customizing missing pluralized translations didn't work 2019-05-13 09:36:05 +02:00
6d44be5142 FIX: Catch InvalidPluralizationData exception in fallback locales
It shouldn't raise an exception when a pluralized string in a fallback locale is only partially translated.
2019-05-13 09:36:05 +02:00
a3e4f43a4d DEV: Remove patch for I18n.exists?
It was merged upstream a long time ago
2019-05-13 09:36:05 +02:00
73015521e2 FIX: Correctly calculate fallback locale list
* English shouldn't fallback to any other locale
* Calculate fallback for default locale if it isn't English (useful for en_US)
* Reuse the fallback locale list when outputting translations to JavaScript
2019-05-13 09:36:05 +02:00
3fbab595d9 FEATURE: use the exact name provided by auth provider
Previously we would attempt to titleize it causing names like McDonald's
not to work as expected
2019-05-13 16:45:24 +10:00
d369b84ced Fix modifying frozen strings error. 2019-05-13 14:31:20 +08:00
ba913a24db Add steam login to official plugin list. 2019-05-13 12:39:35 +08:00
c00dab89e4 Fix the build take 2. 2019-05-13 11:22:48 +08:00
8c4caac2e4 Fix frozen string error in plugin:install_all_official. 2019-05-13 10:19:02 +08:00
9059a8ca90 Fix the build. 2019-05-13 10:16:26 +08:00
8165ceb320 Make rubocop happy. 2019-05-13 09:55:44 +08:00
888e68a163 FIX: When mutating a string to build a diff. Duplicate it first
Co-authored-by: Roman Rizzi <rizziromanalejandro@gmail.com>
2019-05-13 09:31:32 +08:00
982c4496ee Correct some missing spots for frozen_string_literal 2019-05-13 09:31:32 +08:00
30990006a9 DEV: enable frozen string literal on all files
This reduces chances of errors where consumers of strings mutate inputs
and reduces memory usage of the app.

Test suite passes now, but there may be some stuff left, so we will run
a few sites on a branch prior to merging
2019-05-13 09:31:32 +08:00
4e1f25197d FEATURE: allow overriding download of maxmind db via env 2019-05-13 09:58:56 +10:00
a859ddc77e Improve theme/component delete modal warning 2019-05-10 14:14:12 -04:00
c093fa0376 PERF: reduces cpu/memory consumption of sk in some cases (#7525) 2019-05-10 17:12:10 +02:00
01bd82139f FIX: Invalid URL for queued posts review 2019-05-10 10:00:52 -04:00
b3873b95d0 FIX: Pluralization error for tag error message 2019-05-10 09:54:54 -04:00
643c75c419 FIX: Don't increment version if the reviewable operation fails
In fact, roll back the entire operation in the database.
2019-05-10 09:53:25 -04:00
bf7594b327 More prefabrication 2019-05-10 08:34:04 -04:00
54cfc48975 Use prefabricated users in bulk_invite_spec.rb 2019-05-10 08:34:04 -04:00
6e11ae06d8 Prefabricate admin in wizard_spec.rb 2019-05-10 08:34:04 -04:00
bc4748571e Moved fabrication of topic to top level in topics_bulk_action_spec.rb 2019-05-10 08:34:04 -04:00
90c226949c prefabricate admin in search_spec.rb 2019-05-10 08:34:04 -04:00
6f5fb020d2 Prefabricate users in post_revisor_spec.rb 2019-05-10 08:34:04 -04:00
cbcfc89fac prefabrication of users in flag_query_spec.rb 2019-05-10 08:34:04 -04:00
20daa76829 DEV: Change priority to ultra_low for post-s3-migration rebake 2019-05-10 18:37:45 +08:00
abbe812a0d FIX: Correct CSS for instagram video play icon 2019-05-10 10:46:07 +01:00
2c6b595eed FIX: Process image onebox correctly when image is wrapped in a link
The instagram onebox sometimes surrounds the image with an `<a>` tag, which was breaking the aspect ratio logic, and therefore causing posts to change height on load.
2019-05-10 10:02:40 +01:00
4096d559b5 REFACTOR: user-stream model (#7515) 2019-05-10 10:05:43 +02:00
a85b7feef4 REFACTOR: composer controller (#7516) 2019-05-10 10:05:29 +02:00
7aedc92a35 REFACTOR: login-controller (#7514) 2019-05-10 10:05:11 +02:00
63a3caa516 FIX: Don't display option for users to flag and notify a bot. 2019-05-10 10:05:03 +08:00
0ab6c6e24e PERF: speed up spec suite, avoid featuring topics
Before: 6:05
After: 5:42

Featuring topics for `list/categories` is a very expensive operation that
happened each time we created a topic. This introduces a test only bypass
2019-05-10 11:37:53 +10:00
41f4f9302d UX: Rename discobot tutorial triggers.
We found the previous triggers less straight forward than just calling
it tutorial.

`start new user` -> `start tutorial`
`start new advanced user` -> `start advanced tutorial`
2019-05-10 09:08:16 +08:00
ce15f085c6 DEV: Return the right response code and error message.
Follow up to d1dbafebbc4b21c2a6714cd19c0ba05fac7717c4.

Also remove test that is a duplicate of
867c1a5ac9355aadef35d60fd9c7aa4ebd0eda25.
2019-05-10 07:33:02 +08:00
4a1755b780 FIX: Don't create staged users when processing forwarded email fails 2019-05-09 23:47:47 +02:00