Commit Graph

32856 Commits

Author SHA1 Message Date
230e111e87 DEV: more accurate spec for email iframe handling 2019-04-25 22:32:53 +05:30
8698a10920 Don't raise error if a record already exists. 2019-04-25 21:48:39 +05:30
5a70367a05 fix the build 2019-04-25 20:19:52 +05:30
a65ce81e25 Don't check same upload url twice in the rake task 2019-04-25 20:06:10 +05:30
0d331d33c3 DEV: do not use find_each for avatars:clean task
https://review.discourse.org/t/fix-show-available-details-when-rescuing-error/2865
2019-04-25 18:46:34 +05:30
761e1e25f7 Remove tables incorrectly excluded in Upload.migrate_to_new_scheme.
Follow up to 4a03b21f80dbba720f2e828687fe1eca661b138b.
2019-04-25 20:27:52 +08:00
7cbc4c1e46 FIX: uses no tags label for tag-drop header (#7438) 2019-04-25 13:16:06 +02:00
6d77156a94 FIX: Don't try to delete inactive admins 2019-04-25 11:59:50 +02:00
422237391e FIX: fix notifications for flag PMs and show topics with moderator posts in inbox (#7331)
Some old moderator posts that were not correctly processed before this change and 993d8f34 are not listed under /u/username/messages
2019-04-25 11:15:13 +02:00
996e5e5dfa FIX: category list order using category featured topics (#7283) 2019-04-25 11:07:19 +02:00
e386fa7674 FIX: ensures we have touches when starting pan event (#7435) 2019-04-25 10:36:41 +02:00
d8ff94ecaa FEATURE: Ignoring users from the preferences page in a cleaner way (#7289)
* FEATURE: Ignoring users from the preferences page in a cleaner way
2019-04-25 09:26:49 +01:00
6f5d7f987e FIX: rescue InvalidURIError when removing user ids from links 2019-04-25 12:36:31 +05:30
84cfe30c1f Use update_all instead of save to select and update particular columns
9ec6ef85b64fa6be8cdbe0c7367a5a2706ac6596
2019-04-25 11:56:57 +05:30
4a03b21f80 Exclude large tables when remapping in Upload.migrate_to_new_scheme.
Those tables do not carry any information about uploads.
2019-04-25 11:55:48 +08:00
d5d784b9f2 FIX: Narration Bot now gets site setting for automatic post deletion (#7432) 2019-04-25 07:29:20 +08:00
aadb7da7d3 FIX: Use first grapheme cluster for letter avatar 2019-04-24 23:20:46 +02:00
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