Commit Graph

25615 Commits

Author SHA1 Message Date
Sam
d5e7691ae9 favicon proxy now uses hijack 2017-11-27 14:51:14 +11:00
5805979e88 FIX: Re-enable invalid interpolation keys check and allow default keys to be left out of translation overrides.
https://meta.discourse.org/t/bulk-invite-from-file-resets-the-invite-forum-mailer-customized-text/67606/16
2017-11-27 11:00:08 +08:00
2e04ef97d9 Fix the build. 2017-11-27 10:53:05 +08:00
a7030e80bf Skip randomly failing test. 2017-11-27 10:51:18 +08:00
c8157f6b07 Update seed-fu with PG10 support.
https://meta.discourse.org/t/discourse-appears-to-be-broken-with-postgres-10/71723
2017-11-27 10:26:59 +08:00
Sam
eb428ef54d FEATURE: uploads are processed a faster
Also cleans up API to always return 422 on upload error. (previously returned 200)

Uploads are processed using new hijack pattern
2017-11-27 12:43:35 +11:00
71942e4f62 Merge pull request #5352 from tgxworld/method_for_replica_postgres_connection
Expose `replica_postgresql_connection` to `ActiveRecord::Base`.
2017-11-27 08:38:10 +08:00
Sam
a74ac90bf5 FIX: quote dropped when replying as new topic 2017-11-27 10:08:55 +11:00
4b919cd735 Move queuedForTyping assignment (#5366) 2017-11-27 09:43:41 +11:00
329343be06 FIX: various sizing issues on select-kit 2017-11-26 17:21:39 +01:00
abbb2b28eb bump onebox version 2017-11-25 15:53:18 +05:30
b907f7d307 Add more metrics to lograge's output if MethodProfiler is enabled. 2017-11-25 08:16:40 +08:00
39d7745dc5 UX: show staged users' email addresses to staff without requiring a button press 2017-11-24 16:11:34 -05:00
510a2a1e0f remove ancient unused css 2017-11-24 15:42:50 -05:00
6f8f2c494d FIX: admin strings in plugins should fallback to english when untranslated 2017-11-24 14:11:01 -05:00
c2da25dd5c Cleaning up the 404 page (#5363) 2017-11-24 12:41:31 -05:00
45c19e44f0 assets rake task: only try and detect brotli if COMPRESS_BROTLI is set 2017-11-24 12:00:38 -05:00
28cf043bad add topic reminder alt text 2017-11-24 11:15:13 -05:00
5584085943 assets rake task: detect the brotli version on the image as the usage changes 2017-11-24 10:40:57 -05:00
f3f051a344 UX: Composer textarea should always start at the top. 2017-11-24 23:24:37 +08:00
3c60702663 assets rake task: gzip and brotli exit codes exist for a reason - to be checked 2017-11-24 09:52:08 -05:00
f2c7f39066 FIX: invite-list expects initial value mutation 2017-11-24 13:32:24 +01:00
96cdc4e66e FIX: makes allowInitialValueMutation more restrictive 2017-11-24 13:15:02 +01:00
b3094e9954 FIX: incoming and outgoing emails got lost when post was moved 2017-11-24 11:45:36 +01:00
44333c5de3 REFACTORY: Dry up some composer syncing code. 2017-11-24 14:57:36 +08:00
Sam
e0e99d4bbd PERF: hijack onebox requests so they do not use up a unicorn worker 2017-11-24 15:31:40 +11:00
63307c303a FIX: regression preventing to set number of hours before closing
This commit also adds a full test suite for editing topic timer.
2017-11-24 02:48:45 +01:00
a509f466a0 Expose replica_postgresql_connection to ActiveRecord::Base. 2017-11-24 09:35:45 +08:00
82222e8d18 Improve specs to test for the right response status. 2017-11-24 09:32:44 +08:00
Sam
407d80f1dd FEATURE: update rack-mini-profiler to latest 2017-11-24 10:28:35 +11:00
Sam
8fd09fe616 FEATURE: upgrade message bus
new version recovers very cleanly from redis flush
2017-11-24 09:23:12 +11:00
3f58b18dab FEATURE: user card shows staff if a user is staged and lets them check the email address 2017-11-23 16:38:11 -05:00
e0dc4ea4fc FIX: Missing i18n key 2017-11-23 13:28:06 -05:00
406ad1a1f2 Merge pull request #5357 from techAPJ/invite-trust-level
FIX: invited users were not granted trust level based on their group
2017-11-23 23:42:20 +05:30
ad07e6e172 FEATURE: group_removes_trust_level setting
By default in Discourse, if a group grants a user a particular trust
level that is locked even if they are removed from the group.

With this new setting, when a user is removed from a group their
trust level is set to either the next highest trust level based on group
membership, or they are unlocked and promoted based on the default
mechanisms.
2017-11-23 13:03:24 -05:00
613f4d737a FIX: updating topic stats failed silently for invalid topics 2017-11-23 18:47:45 +01:00
9208909b26 tweak icon-library generation 2017-11-23 18:24:26 +01:00
dd5562322b Revert "FIX: reflects discourse icons naming scheme s/d-icon-*/d-*"
This reverts commit b5ed980235722ac5104e769a139bae1192710e52.
2017-11-23 18:24:26 +01:00
3508046e33 FIX: invited users were not granted trust level based on their group
https://meta.discourse.org/t/bulk-invites-and-trust-level/73535

If the user enters password when accepting invite they were not granted
trust level based on their group privileges. It was because `password_required` was set to true when creating user record and when the user was updated again when granting trust level the password validation was raising error saying that the password is empty. This commit fetches fresh user record after the user is created so that the user record can be updated successfully.
2017-11-23 22:19:28 +05:30
39810e4425 FIX: do not move small post actions 2017-11-23 17:25:53 +01:00
4bc2ce2f4d didn't mean to remove that seed 2017-11-23 17:00:47 +01:00
a38391a6bc FIX: ensure discobot always has a primary email 2017-11-23 16:54:40 +01:00
616a0dae4e FIX: removes auto sizing and touchstart support for now 2017-11-23 15:34:52 +01:00
eaa54a5a64 FIX: don't store state of composer's preview in mobile view 2017-11-23 15:22:00 +01:00
27d94b3a0b Remove unused option from discourse script 2017-11-23 15:22:00 +01:00
5b3ecffbb2 FIX: pick date and time was not reseting state 2017-11-23 15:18:27 +01:00
c5745feac6 Build scrollMap only on scroll. 2017-11-23 21:44:09 +08:00
fe94e7c453 FIX: more resilient allowInitiatlValueMutation implementation 2017-11-23 14:39:26 +01:00
961a09ff14 bump onebox version 2017-11-23 17:45:08 +05:30
ab839d134b Fix scrollmap included NaN values. 2017-11-23 18:08:43 +08:00