Sam Saffron
6428aa5b1f
FIX: search indexer had various cases where it could fail
...
Previous to this fix is a post had the test www.test.com/abc it would fail
to index.
This also simplifies the rules to avoid full url parsing which can be
expensive
2019-06-04 16:21:03 +10:00
Guo Xiang Tan
bb98785569
DEV: Fix broken Upload#base62_sha1
.
2019-06-04 14:10:46 +08:00
Vinoth Kannan
871fcf1117
PERF: omit user profile and private message stats in web hook serializer.
2019-06-04 08:44:10 +05:30
Sam Saffron
77300c1d8d
DEV: reindex old data in a more consistent way
...
Previously we were grabbing arbitrary rows in many cases which makes
diagnosing issues in the indexer more complex
2019-06-04 11:47:24 +10:00
Guo Xiang Tan
55fd3acea0
Revert "FIX: Undefined method when serializing a user"
...
This reverts commit 1fbe078ae074f29395d79db0856d1991f1675ab5.
`UserProfile` is created in a callback after the user has been created.
As such, it should be impossible for a user to not have a blank
`UserProfile`. This was also improved in
4f5c9bb8d31c47aee7acef34390bafffd88a2d47.
2019-06-04 09:30:30 +08:00
Joffrey JAFFEUX
0c5498c9a4
REFACTOR: exception controller ( #7675 )
2019-06-03 23:34:23 +02:00
Régis Hanol
d7ff640778
fix the build
2019-06-03 20:42:46 +02:00
Régis Hanol
b792db9d92
FIX: redirect to top was always redirecting to 'All'
2019-06-03 20:18:14 +02:00
Kris
9a3dd6b59a
UX: Add missing classes to user preferences
2019-06-03 13:35:40 -04:00
Vinoth Kannan
f9f12ed221
PERF: fix N+1 queries for non-JS topic view.
2019-06-03 21:47:33 +05:30
Kris
d4f6b9e827
FIX: Crawler footer style needed to be more specific
2019-06-03 11:52:20 -04:00
David Taylor
81dcadf788
DEV: Stop compiling themes during DB migration. Recompile on cdn change. ( #7676 )
...
This is an improved implementation for bc8b7b13
2019-06-03 16:38:02 +01:00
Penar Musaraj
6834b0a4ba
Fix Prettier
2019-06-03 10:54:24 -04:00
Penar Musaraj
16982d2a69
Update UI for wizard themes further reading step ( #7669 )
2019-06-03 10:47:17 -04:00
Régis Hanol
f6ced0a78a
Remove unused & empty author meta tag
2019-06-03 12:00:14 +02:00
David Taylor
7500eed4c0
FEATURE: Multi-file javascript support for themes ( #7526 )
...
You can now add javascript files under `/javascripts/*` in a theme, and they will be loaded as if they were included in core, or a plugin. If you give something the same name as a core/plugin file, it will be overridden. Support file extensions are `.js.es6`, `.hbs` and `.raw.hbs`.
2019-06-03 10:41:00 +01:00
Dan Ungureanu
c1e7a1b292
UX: Merge settings related to muted tags. ( #7656 )
2019-06-03 12:23:23 +10:00
Maja Komel
42809f4d69
FIX: use crawler layout when saving url in Wayback Machine ( #7667 )
2019-06-03 12:13:32 +10:00
Dan Ungureanu
28dcf445b7
DEV: Pass editor to plugin hook handling composer uploads. ( #7673 )
2019-06-03 12:07:25 +10:00
Kris
98336de266
UX: Cleanup crawler styles, improve schema.org markup ( #7668 )
...
* Cleaning up crawler styles, improving some schema.org markup
* Cleaning up crawler styles, improving some schema.org markup
* additional styling
* add space for pagination
2019-06-03 12:03:16 +10:00
Sam Saffron
e302c0af8b
DEV: by default disable anon impersonation in dev environments
...
The impersonate any user by anonymous feature in dev should require a
deliberate opt-in. This way developers are better aware of the security
implications of this development only feature.
2019-06-03 10:02:27 +10:00
Robin Ward
a2598632aa
FIX: Histories should be reverse chronological
2019-05-31 14:59:26 -04:00
Robin Ward
74eaa5e7ec
FIX: For API consumption it's easier if the lings are the full URL
2019-05-31 14:04:54 -04:00
David Taylor
75fc126224
DEV: Change path for extra scss files in themes ( #7664 )
...
The preferred path is `/stylesheets/...`, to match core and plugins. The old `/scss/...` path will continue to function
2019-05-31 15:40:41 +01:00
David Taylor
03363d03e8
FEATURE: Load theme setting descriptions from theme locale files
...
Previously theme setting descriptions were defined in the `settings.yml` file like this:
```
setting_name:
default: "My Default Value"
description:
en: "English description"
fr: "French description"
```
This commit allows developers to store the localised descriptions in the theme locale files instead:
```
en:
theme_metadata:
description: Theme Description
settings:
setting_name: "The localised description for setting_name"
```
2019-05-31 14:49:59 +01:00
romanrizzi
a0a2823536
DEV: Fix indentation
2019-05-31 10:19:19 -03:00
Joffrey JAFFEUX
1db7fd6f9b
REFACTOR: topic-list model ( #7658 )
2019-05-31 13:15:45 +02:00
Joffrey JAFFEUX
63264158cf
REFACTOR: user-posts-stream model ( #7657 )
2019-05-31 13:02:15 +02:00
Sam Saffron
3b8819f0ab
FEATURE: add support for defer topic functionality
...
This feature allows end users to "defer" topics by marking them unread
The functionality is default disabled. This also introduces the new site
setting default_other_enable_defer: to enable this by default on new user
accounts.
2019-05-31 15:44:35 +10:00
Sam Saffron
077dcc0642
FEATURE: add autocomplete discourse on full page search
...
This teaches chrome not to try autocompleting it.
2019-05-31 10:27:44 +10:00
Robin Ward
2e0a40007b
FIX: Category topics should not be deletable via review queue
2019-05-30 16:43:23 -04:00
Roman Rizzi
c169456ee5
DEV: Create new component to reify the user fields ( #7655 )
2019-05-30 16:17:16 -03:00
Robin Ward
c4fa20d644
FIX: Broken test, also typoed property
2019-05-30 14:27:28 -04:00
Robin Ward
5e89714f77
FIX: Linting via prettier
2019-05-30 13:58:06 -04:00
Robin Ward
7a9e85b1d7
FIX: Don't show the "Flag to delete" message to staff
...
If they can't delete, flagging should not either.
2019-05-30 13:31:40 -04:00
Joffrey JAFFEUX
7a21f78f8c
prettier ( #7653 )
2019-05-30 17:28:07 +02:00
Joffrey JAFFEUX
0fbbff86ab
REFACTOR: rest model ( #7652 )
2019-05-30 17:11:17 +02:00
Bianca Nenciu
8196af165d
FIX: Add Chromebook detection.
2019-05-30 16:29:51 +03:00
Arpit Jalan
f54a865846
DEV: refactor cleaning up of user export topics
2019-05-30 10:24:45 +05:30
Daniel Waterworth
bfb26b720b
FIX: the en_US locale depends on en
2019-05-30 08:46:43 +08:00
romanrizzi
2fa8df7cd2
New: can_see_groups? method for better perf
2019-05-30 08:45:20 +08:00
romanrizzi
e7ee556e87
Support multi-group user search
2019-05-30 08:45:20 +08:00
Kris
b24938b5ff
UX: Minor composer button alignment adjustments, simplification
2019-05-29 14:37:32 -04:00
Bianca Nenciu
227c45107d
FEATURE: Implement Onebox for posts including polls. ( #7539 )
2019-05-29 17:05:52 +02:00
Joffrey JAFFEUX
c77bc525cb
REFACTOR: new-topic route ( #7639 )
2019-05-29 16:46:58 +02:00
Joffrey JAFFEUX
ba66d6fd82
FIX: icon deprecation s/group/users ( #7638 )
2019-05-29 16:29:01 +02:00
Joffrey JAFFEUX
034502af21
FIX: incorrectly removed moveTypes array ( #7637 )
2019-05-29 16:23:32 +02:00
Joffrey JAFFEUX
bb6337d6c6
REFACTOR: choose-topic component ( #7636 )
2019-05-29 16:21:13 +02:00
Joffrey JAFFEUX
b2fc80e4b7
REFACTOR: build-topic-selection mixin ( #7635 )
2019-05-29 16:09:19 +02:00
Joffrey JAFFEUX
468cfa39f7
REFACTOR: rename-tag controller ( #7634 )
2019-05-29 15:58:12 +02:00