Commit Graph

32789 Commits

Author SHA1 Message Date
03f9564804 FIX: Handle missing letter avatar 2019-04-24 23:20:46 +02:00
3aa143a52c SECURITY: Fix tab nabbing. 2019-04-25 00:11:28 +03:00
1724c27713 FIX: reload the 'post' model to retrive raw field value. 2019-04-25 02:09:27 +05:30
aed683390c FIX: Don't treat 'upload_patterns' as constant to make the rake task compatible with multisite 2019-04-25 02:06:20 +05:30
b0bb1d95a5 trying to recover old scheme uploads on 'posts:missing_uploads' rake task 2019-04-25 01:16:18 +05:30
505c5addca Allow signup form width to increase when no external logins are present 2019-04-24 13:08:39 -04:00
6df8c4b8f0 FIX: Fall back to large logo on mobile no_ember pages 2019-04-24 11:39:11 -04:00
e4d8d80cf8 FIX: Make sure we hide the first post in a topic by an ignored user (#7428) 2019-04-24 16:00:20 +01:00
1a8c6577e0 FIX: refactor padding when exiting composer
Previously, when existing composer, the `#main-outlet` element padding was set to zero. This inline style would override any CSS set for that element, causing issues with the mobile footer nav.

The fix removes the inline padding style instead of setting it to zero. It also uses integers for the set values, and removes a duplicate style.
2019-04-24 10:26:35 -04:00
84b21e3ad6 Version bump to v2.3.0.beta9 v2.3.0.beta9 2019-04-24 16:22:00 +02:00
dacdb5d90d Remove invalid Persian translations 2019-04-24 15:37:40 +02:00
0284910125 Update translations 2019-04-24 15:02:04 +02:00
ad61d87ffb FIX: Do not replace text of collapsed ignore posts (#7422) 2019-04-24 13:54:46 +01:00
a452933071 FIX: disable input zoom on search in iOS 2019-04-24 08:41:20 -04:00
b484fe7626 SECURITY: jquery CVE-2019-11358 2019-04-24 13:28:38 +02:00
be88ac8b7e Additional old Upload#url format for Upload.migrate_to_new_scheme. 2019-04-24 18:19:25 +08:00
9ec6ef85b6 Don't validate post when saving in Upload.migrate_to_new_scheme. 2019-04-24 17:17:31 +08:00
3c9495b989 DEV: Put a mutex around Upload.migrate_to_new_scheme.
This ensures that only one migration is running at any given point in
time across the instances.
2019-04-24 17:07:10 +08:00
55f406bb79 Follow up to 845b68f9abfad82226a4bd90ce3d7cecd1f99357. 2019-04-24 16:57:45 +08:00
104a9e79f9 UX: User card loading (#7404) 2019-04-24 11:55:09 +03:00
5b934cb33d FIX: Error when trying to move the same file to tombstone.
If an optimized image is destroyed when a previous similar optimized
image is already placed in the tombstone, `FileUtils.move` will blow up.
2019-04-24 16:47:36 +08:00
01a3311ffb SECURITY: Update nokogiri 2019-04-24 10:42:24 +02:00
7334362b77 FEATURE: generic theme component bbcode wrapper (#7400)
Usage:

```
[wrap=name foo=bar]
hello world
[/wrap]
```
2019-04-24 10:37:34 +02:00
e8f51815e5 Bump onebox version.
- Update github_blob engine to support displaying stl files
- FEATURE: add `data-original-href` attribute to Vimeo iframes
- Add poster image for video oneboxes
2019-04-24 13:59:14 +05:30
845b68f9ab Update possible upload url format for Upload.migrate_to_new_scheme. 2019-04-24 16:26:54 +08:00
bd1db1860a FIX: prefer data-original-href attribute to get iframe URL 2019-04-24 13:53:27 +05:30
c811e59898 Avoid hardcoding db name in Upload.migrate_to_new_scheme. 2019-04-24 15:25:24 +08:00
8d697bbbd3 FIX: ensure image tracking custom fields have no dupes
All these columns must never include duplicates for a single post
otherwise code breaks. All are defined in post.rb in the top in constants
but we usually prefer not to ref constants in case they change and migration
becomes inconsistent.
2019-04-24 17:21:42 +10:00
8673bd832a FEATURE: use failed_to_login for SSO error (#7394)
The error displayed when logging into suspended accounts via SSO never includes
the suspension reason, unlike non-SSO logins. By re-using the failed_to_login
method when generating the error message for SSO we can ensure the message is
consistent between the SSO and non-SSO paths.
2019-04-24 16:38:56 +10:00
d4bec7fdfb use description_text instead of description to show correct sanitized description (#7420) 2019-04-24 16:33:58 +10:00
e351b2ee26 Revert "FEATURE: stop running migrate to new scheme once done"
This reverts commit 2e346e6ea28616366a443c82f097a2c0b82135c4.

Super seeded by 573ddcbbd014c0c91bf24871a0edc7d4f79a6152.
2019-04-24 14:03:31 +08:00
573ddcbbd0 Disable migrate_to_new_scheme once there is nothing to migrate. 2019-04-24 14:00:00 +08:00
2e346e6ea2 FEATURE: stop running migrate to new scheme once done
This setting will automatically disable itself when there are no longer any
problem uploads
2019-04-24 14:32:39 +10:00
3094a603b7 Follow up to 149411ec90ad443cc662b7ef307ce76f83a774e1. 2019-04-24 12:20:53 +08:00
149411ec90 PERF: Speed up Upload.migrate_to_new_scheme by limiting remap scope.
Doing a `LIKE` on `Post#raw` and `Post#cooked` takes forever on large
sites.
2019-04-24 11:56:48 +08:00
7bac70676e DEV: Improve Upload.get_from_url test case.
Follow up to a8baa6d9e711cd962f9a99232f3df76c7657397c.
2019-04-24 10:20:42 +08:00
a8baa6d9e7 FIX: Old Upload#url scheme support for Upload.get_from_url.
This is for backwards compatibility purposes. Even if `Upload#url` has a
format that we don't recognize, we should still return the upload object
as long as the upload record is present.
2019-04-24 10:15:47 +08:00
646cdfa449 FIX: Approved posts were not enqueueing alerts 2019-04-23 17:30:12 -04:00
b9339e15a1 FIX: Do not track a elements with no href. 2019-04-23 23:13:23 +03:00
b81d169e2a FIX: Do not track user mentions. 2019-04-23 23:08:00 +03:00
fca3f53e9c FIX: Safer scoring with concurrency 2019-04-23 15:53:37 -04:00
70097966ed FIX: Don't add the reviewable score twice 2019-04-23 15:46:18 -04:00
21b975e71a FIX: Broken plugin spec 2019-04-23 15:29:26 -04:00
6f56fba016 UX: Update post actions to "Approve Post" and "Reject Post"
This should be more clear.
2019-04-23 12:19:11 -04:00
c99faa6b25 FIX: improves locale support in tag-drop (#7418) 2019-04-23 17:53:59 +02:00
d4e788c136 FIX: improves share/invite behavior on mobile and especially iOS (#7416) 2019-04-23 17:07:31 +02:00
dc60128355 FIX: Hide ignoring users in preference for users with TL less than a member (#7415)
* FIX: Hide ignoring users in preference for users with TL less than a member
2019-04-23 14:47:37 +01:00
a2ddb6cf2d DEV: Increase max length of theme_field name column
Now that we have custom SCSS files with arbitrary names, it's easy to exceed 30 characters
2019-04-23 12:34:32 +01:00
a7bc1ecbae FEATURE: Add support for Unicode usernames and group names
Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
2019-04-23 13:00:27 +02:00
d07605d885 DEV: Fix failing spec. 2019-04-23 18:25:28 +08:00