Commit Graph

30086 Commits

Author SHA1 Message Date
0b4edfc7d6 UX: improve spacing on composer controls 2018-10-23 16:37:36 -04:00
a82dfbd2dc Mobile timeline fix 2018-10-23 07:59:00 -04:00
541b6a8446 UX: Allow vertical timeline to fit on narrower screens 2018-10-22 22:16:59 -04:00
Sam
de6b585368 minor, bypass gravatar update if user does not match
this protects against a race condition that can happen when a user record
is destroyed reasonably quickly
2018-10-23 12:20:41 +11:00
cee51672c9 FIX: Strip accents from search query
4481836 introduced accent stipping in search_indexer,
but we need to strip it from the query itself as well

TODO in search with diacritics:
 - Still need to fix excerpts on search page
 - need to support accent stripping in in_topic search
 - need to make sure that in:title works correctly
 - need to fix "word boldening" in titles
2018-10-23 12:10:33 +11:00
7d2e582b28 FIX: validates import theme form (#6513) 2018-10-23 12:09:06 +11:00
Sam
b74dd7d379 FIX: stop logging every 404 error when searching for gravatars 2018-10-23 11:43:14 +11:00
Sam
adab7a3a48 improve test, also ensure no zero size is generated 2018-10-23 08:50:07 +11:00
Sam
bea8d337b2 DEV: ensure resizing test does not raise bad error
Current resizing test was showing binary diff in terminal and failing
in latest image magick 7, this fixes both issues
2018-10-23 08:45:06 +11:00
bafe3cd99a Revert "DEV: Lint official plugins in CI (#6519)"
This reverts commit 093cab2db04675dc9f9ccc52a3ceee5f85156f45.
2018-10-22 22:30:33 +01:00
093cab2db0 DEV: Lint official plugins in CI (#6519) 2018-10-22 21:28:38 +01:00
2cc195f3d9 prettier linting fix 2018-10-22 14:18:26 -04:00
37fa7775f1 FIX: Fix order of recently connected devices. (#6517) 2018-10-22 17:30:23 +00:00
e9a971a2b6 FEATURE: [Experimental] Content Security Policy (#6514)
do not register new MIME type, parse raw body instead
2018-10-22 13:22:23 -04:00
ec2613699f Change box category view to use flexbox 2018-10-22 10:15:31 -07:00
b9261588f9 make the code prettier 2018-10-22 19:07:41 +02:00
3e232412e3 UX: show error when hitting the rate limit on password reset 2018-10-22 19:00:30 +02:00
db26fe1527 FIX: Proper naming for the GNU/Linux OS 2018-10-22 13:34:01 -03:00
99b43f281b FIX: Fix browser detection for Microsoft Edge. (#6516)
cool!
2018-10-22 23:15:41 +11:00
3377f26eba FIX: Clean tag before searching for matches 2018-10-22 11:09:06 +01:00
37b7afa522 FIX: Sanitize tags before creation 2018-10-22 10:53:42 +01:00
597d4863d6 fix the build 2018-10-22 15:09:25 +05:30
c39a1022cc PERF: user imports would slow down the more users were imported 2018-10-22 11:14:13 +02:00
afa22a0c6f REFACTOR: more 'fake_email' to base importer 2018-10-22 11:12:40 +02:00
ce0a51665e FIX: count emoji shortcuts in topic title
https://meta.discourse.org/t/max-emojis-in-title-set-to-0-conflicting-with-emoji-shortcuts/98368/3?u=techapj
2018-10-22 13:44:05 +05:30
dca830cb73 Revert "FEATURE: [Experimental] Content Security Policy (#6504)"
This reverts commit fb8231077a07fe9b3bcdce150c6615b1897166c7.
2018-10-19 11:53:29 -04:00
b35c8fb336 Add offset to topic footer admin menu, to avoid header overlap 2018-10-19 11:30:11 -04:00
0dd717e641 Revert "FIX: Sanitize tags before creation"
This reverts commit 18ae8de9e5f8d04f32bf2f0781bfaf6ab833e2c9.
2018-10-19 15:49:05 +01:00
18ae8de9e5 FIX: Sanitize tags before creation 2018-10-19 15:43:31 +01:00
fb8231077a FEATURE: [Experimental] Content Security Policy (#6504) 2018-10-19 10:39:22 -04:00
3d5085c045 Prevent warning when bundling for imports 2018-10-19 16:03:22 +02:00
8b20e2500a Remove unnecessary line 2018-10-19 15:48:48 +02:00
b69652278f FEATURE: Add Wiki Editor badge. (#6511) 2018-10-19 15:30:27 +02:00
637123ff6f Merge users based on their email in vBulletin importer 2018-10-19 15:16:45 +02:00
7166d7de9a FIX: Prevent duplicate tags in tag-choosers (#6512)
* FIX: Prevent duplicate tags in tag-choosers

This reverts 5685b45, which fixes the duplicate tags problem.
The fix introduced by 5685b45 is re-implemented on the server.
2018-10-19 13:44:43 +01:00
5f86564da1 FEATURE: adds latest to user-api-key session scope 2018-10-19 09:54:06 +02:00
65faff5832 DEV: Improve specs to provide a better error message. 2018-10-19 14:31:17 +08:00
Sam
9bfc939692 cleanup so gravatar download failures are consistent
previously we would ignore socket error, but this would mean that
there could be conditions where we would keep trying to download
gravatars forever (in an hourly job)
2018-10-19 12:51:55 +11:00
85ef8e5a9f auto is not a valid value for min/max height (#6509) 2018-10-18 21:33:45 -04:00
22ada32d4d FIX: Strip @ when searching for users and groups. (#6506) 2018-10-19 11:56:10 +11:00
f0af61da41 FIX: User AvatarLookup for looking up avatar details (#6508)
This allows plugins with their own avatar logic to work in the user
summary sections.
2018-10-18 15:49:34 -04:00
f1ba981ae9 Improve add user to group spec for uppercase usernames
Oops forgot to check for this. See previous commit for more details.
2018-10-18 13:32:36 -06:00
93485facaf FIX: lowercase username for add/rem group members
This fix searches for users based on the downcased username so that if
you pass in usernames to add/remove from a group and you don't have the
casing just right it will still find the correct users.

I updated the tests to add a username that has a mix of upper and
lowercase letters to verify this functionality.
2018-10-18 13:17:24 -06:00
3973823a33 FIX: always update 'last_gravatar_download_attempt' when updating gravatar 2018-10-18 11:02:54 +02:00
53aa0344bf FIX: properly import vBulletin's hashed password 2018-10-18 10:22:55 +02:00
5f2fb0fe33 Show original options when an error happens while importing an user 2018-10-18 10:21:12 +02:00
bbf542da01 DEV: Prefer <<~ over <<. 2018-10-18 14:17:30 +08:00
0f1afad6da FIX: extracted theme JavaScripts for multisite (#6502)
* FIX: extracted theme javascripts for multisite

* onceoff to rebake all theme fields
2018-10-18 17:05:34 +11:00
22408f93c9 FIX: Wrap custom fields database statements in a transaction.
Kind of strange that we don't do it because a database statement
may fail and leave us in a weird state.
2018-10-18 12:23:04 +08:00
287e780f22 DEV: Skip tests instead of commenting out. 2018-10-18 11:06:03 +08:00