Commit Graph

25449 Commits

Author SHA1 Message Date
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
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
9f0798682e FIX: tweak alignment of select-kit in navigation bar 2017-11-23 10:42:39 +01:00
486016acea UX: Improve editor and preview scroll syncing. 2017-11-23 17:02:02 +08:00
Sam
e61629ed84 remove spec containing mock 2017-11-23 17:54:27 +11:00
Sam
49f97d75b7 FIX: make uploads safe for block that can run later 2017-11-23 17:28:18 +11:00
Sam
2b8d4508e5 PERF: stop running background work between requests
Use a dedicated thread to run Scheduler::Defer

This avoids blocking of a worker during operations that require waiting.

In particular uploads risked blocking a unicorn.

This also add a queue "length" that discourse prometheus consumes.
2017-11-23 15:48:47 +11:00
Sam
d43a54e83a FIX: use current_user.id in onebox instead of param 2017-11-23 15:32:19 +11:00
Sam
2fe131db9f UX: handle super tall images in onebox respectfully.
Tall images got distorted previously
2017-11-23 14:45:46 +11:00
ac4b4e30dc remove the test that only works in a browser 2017-11-22 15:23:06 -05:00
6c86e0c94a FEATURE: remove the featured link by editing the topic 2017-11-22 14:53:35 -05:00
d32c95b6e8 FIX: avoid touch on select-kit causing instant closing of it 2017-11-22 16:36:50 +01:00
8a7cbeef00 UX: hide 'dismiss' in notifications dropdown when there are no unread notifications 2017-11-22 15:56:01 +01:00
4addc5e329 Add missing contexts when destroying users 2017-11-22 15:43:54 +01:00
acdfb3ed03 FIX: don’t convert an object using EachProxy to an array 2017-11-22 14:33:04 +01:00
b14d9529b8 FIX: adds support for name changes tracking 2017-11-22 13:49:45 +01:00
86b8f6b238 FIX: cast integer on truthy value and not only true
allows castInteger="true" to work
2017-11-22 13:40:22 +01:00