Commit Graph

32296 Commits

Author SHA1 Message Date
3cf922a58a FIX: URL to user profile in poll results. (#7315) 2019-04-03 22:17:05 +02:00
88a46981a8 UX: Remove extra border on old mobile post notices 2019-04-03 16:10:54 -04:00
828cdf3fea FIX: Protected method called, I'll fire myself now 2019-04-03 16:10:36 -04:00
82bddcbe51 FIX: Don't create two reviewable scores for a user 2019-04-03 16:03:32 -04:00
c1ea63bdc1 FIX: Reviewables should not be created for users until they are active
Conversely, if a user is deactivated the reviewable should automatically
be rejected.

Before this fix, if a user was not active they'd still show in the
review queue but without an "Approve" button which was confusing.
2019-04-03 15:25:00 -04:00
974007a3cc FIX: reverts href removal from user/group cards links (#7318) 2019-04-03 19:16:48 +02:00
1bce97a596 FIX: Allow queued posts from deleted users to be rejected 2019-04-03 11:40:46 -04:00
bb2005d466 FIX: Add more links to bandge cards. 2019-04-03 18:37:11 +03:00
62956003c3 FEATURE: Allow users to customize bonuses for reviewable types
A new settings section in the review queue allows admins to specify that
certain types of flags should be weighted higher than others.
2019-04-03 11:18:34 -04:00
da2f659635 UX: Improve posts layout for crawler (#7286) 2019-04-03 11:58:00 +02:00
66aa871c24 Remove unused translation
It isn't used anymore since 9bf87f36650370f015e34761d6568d5173931cd8
2019-04-03 11:51:27 +02:00
1e1adb1afa FIX: Links in badge summary were not clickable. (#7303) 2019-04-03 11:35:27 +02:00
c5b76cd138 Add Yearly review plugin
Add Yearly review plugin in the official list
2019-04-03 11:30:49 +02:00
d32aaf374e UX: add awaiting-approval class to login modal
when local logins are disabled and account is awaiting approval
2019-04-03 11:30:43 +02:00
c10861da2f DEV: Fix randomly failing search spec. 2019-04-03 16:42:14 +08:00
b360d4289e UX: get rid of preview_for (#7314) 2019-04-03 10:09:25 +02:00
7b194743d7 FIX: clean up user export csv upload records in scheduled job (#7309) 2019-04-03 13:31:19 +05:30
d1fa2b71cf FIX: Letters between words incorrectly highlighted within post. 2019-04-03 15:57:51 +08:00
e8a4d72281 FIX: Avoid penalizing long documents too much in search.
This is a follow up to e87ca594014733d171df0112149f49180d898678.
2019-04-03 14:09:57 +08:00
5d6b6fe44e updated link for mailjet account & setup (#7312) 2019-04-03 16:48:17 +11:00
1c57ae6657 FIX: grant first quote at the date post was created
Previously due to #b2dc65f9534ea date on the quoted_posts table could not
be trusted.

This changes it so we use the date on the actual post as the grant date.

Note: there is an edge case where you create a post and only add a quote
a week later. In this case the badge will not be awarded at the correct
time (it will display it was granted a week ago).
That said this is far more rare than the current situation.
2019-04-03 16:41:52 +11:00
b2dc65f953 FIX: on rebakes should not recreate quoted_posts records
Previously every rebake would remove and recreate records in this table
This caused created_at and updated_at to keep changing

Yes, I know the SQL is somewhat complex, but this makes quote extraction
more efficient cause we do everything in 2 round trips.

This also removes some concurrency protection we should no longer need
2019-04-03 16:17:15 +11:00
52c4711e80 DEV: Fix method that was incorrectly made private. 2019-04-03 12:37:50 +08:00
4037a2fd0b FIX: Restrict scope of old scheme upload migration.
Some sites have external URLs that don't even match `%/uploads/%' and
some sites surprise me with URLs that contains the default path when it
is a site in a multisite cluster. We can't do anything about those.
2019-04-03 11:56:41 +08:00
0de2253d55 Run with Ruby 2.6.2 on Travis. 2019-04-03 10:38:09 +08:00
d151425353 PERF: Delete search data of posts from trashed topics periodically. (#7302)
This keeps both the index and table smaller.
2019-04-03 10:10:41 +08:00
feb731bffd FIX: Regenerate optimized images instead of migrating from old scheme.
`OptimizedImage.migrate_to_new_scheme` was optimizing optimized images
which we don't need to do. Regnerating the optimized image is way easier.
2019-04-03 09:45:02 +08:00
c3047a903d UX: Reviewable spacing adjustments 2019-04-02 17:22:22 -04:00
14cbbc5e13 UX: Reviewables fixes 2019-04-02 16:25:53 -04:00
44fe2eec03 Better fix for Safari user card position
Better than a2c6683e3bc4486418fafd4c9f59151557ca84d6
2019-04-02 15:36:47 -04:00
ba727b2875 UX: Restructure queued posts to match flags, fix text 2019-04-02 14:54:55 -04:00
2ab6eb58c5 UX: Reviewable layout improvements 2019-04-02 13:51:03 -04:00
15e27d9e2c Prettier fix 2019-04-02 11:56:21 -04:00
40e1ba9d9a FIX: ensures click on emoji in picker doesnt propagate (#7308) 2019-04-02 17:40:13 +02:00
d8dd130477 UX: gives aria-label to topics count in category-row (#7307) 2019-04-02 17:38:21 +02:00
e77b1cf7ff UX: ensures only <li> are used as top level in breadcrumb (#7306) 2019-04-02 17:37:53 +02:00
c185109380 FIX: Restricted site text better error 2019-04-02 11:16:27 -04:00
123c05cb07 FIX: category id wasn't stored when enqueueing a topic 2019-04-02 11:12:17 -04:00
ef3dd83367 DEV: Remove trailing blank line 2019-04-02 15:49:23 +01:00
02ed5e78e1 DEV: Use parallel-compatible formatter for logging autospec failures
The old method would cause the parallel processes to overwrite each other. The parallel formatter allows multiple processes to write to the same file.
2019-04-02 15:34:30 +01:00
a2c6683e3b FIX: inconsistent user card position in Safari
User cards triggered in header were incorrectly positioned in Safari desktop.

Using `position()` instead of `offset()` is more consistent, since header is a fixed element in this scenario.
2019-04-02 10:32:50 -04:00
6ebadaed2c FIX: Do not allow invite_only and enable_sso at the same time
This functionality was never supported but before the new review queue
it didn't have any errors. Now the combination of settings is prevented
and existing sites with sso enabled will be migrated to remove invite
only.
2019-04-02 10:26:27 -04:00
af04318aff FIX: Allow us to serialize reviewables with deleted topics 2019-04-02 09:36:49 -04:00
02d8931425 UX: more compact local-dates preview (#7305) 2019-04-02 14:39:20 +02:00
d68d29f37a FIX: only staff can banner topics 2019-04-02 12:46:55 +05:30
d85240335b Annotate models. 2019-04-02 13:19:14 +08:00
a9a35d2c19 FIX: Uncategorized pm not allowing edit (#7276) 2019-04-02 12:54:53 +08:00
4175de5071 UX: Wrap title on search log term page with a proper div.
Search log filter selector was not floating right as it should.
2019-04-02 11:55:57 +08:00
1a9452f24d UX: Pass period params when looking at search logs for a given term. 2019-04-02 11:51:41 +08:00
cdce9c97bb minor margin fix 2019-04-01 23:50:47 -04:00