Commit Graph

19775 Commits

Author SHA1 Message Date
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
6834b0a4ba Fix Prettier 2019-06-03 10:54:24 -04:00
16982d2a69 Update UI for wizard themes further reading step (#7669) 2019-06-03 10:47:17 -04:00
f6ced0a78a Remove unused & empty author meta tag 2019-06-03 12:00:14 +02:00
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
c1e7a1b292 UX: Merge settings related to muted tags. (#7656) 2019-06-03 12:23:23 +10:00
42809f4d69 FIX: use crawler layout when saving url in Wayback Machine (#7667) 2019-06-03 12:13:32 +10:00
28dcf445b7 DEV: Pass editor to plugin hook handling composer uploads. (#7673) 2019-06-03 12:07:25 +10:00
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
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
a2598632aa FIX: Histories should be reverse chronological 2019-05-31 14:59:26 -04:00
74eaa5e7ec FIX: For API consumption it's easier if the lings are the full URL 2019-05-31 14:04:54 -04:00
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
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
a0a2823536 DEV: Fix indentation 2019-05-31 10:19:19 -03:00
1db7fd6f9b REFACTOR: topic-list model (#7658) 2019-05-31 13:15:45 +02:00
63264158cf REFACTOR: user-posts-stream model (#7657) 2019-05-31 13:02:15 +02:00
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
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
2e0a40007b FIX: Category topics should not be deletable via review queue 2019-05-30 16:43:23 -04:00
c169456ee5 DEV: Create new component to reify the user fields (#7655) 2019-05-30 16:17:16 -03:00
c4fa20d644 FIX: Broken test, also typoed property 2019-05-30 14:27:28 -04:00
5e89714f77 FIX: Linting via prettier 2019-05-30 13:58:06 -04:00
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
7a21f78f8c prettier (#7653) 2019-05-30 17:28:07 +02:00
0fbbff86ab REFACTOR: rest model (#7652) 2019-05-30 17:11:17 +02:00
8196af165d FIX: Add Chromebook detection. 2019-05-30 16:29:51 +03:00
f54a865846 DEV: refactor cleaning up of user export topics 2019-05-30 10:24:45 +05:30
bfb26b720b FIX: the en_US locale depends on en 2019-05-30 08:46:43 +08:00
2fa8df7cd2 New: can_see_groups? method for better perf 2019-05-30 08:45:20 +08:00
e7ee556e87 Support multi-group user search 2019-05-30 08:45:20 +08:00
b24938b5ff UX: Minor composer button alignment adjustments, simplification 2019-05-29 14:37:32 -04:00
227c45107d FEATURE: Implement Onebox for posts including polls. (#7539) 2019-05-29 17:05:52 +02:00
c77bc525cb REFACTOR: new-topic route (#7639) 2019-05-29 16:46:58 +02:00
ba66d6fd82 FIX: icon deprecation s/group/users (#7638) 2019-05-29 16:29:01 +02:00
034502af21 FIX: incorrectly removed moveTypes array (#7637) 2019-05-29 16:23:32 +02:00
bb6337d6c6 REFACTOR: choose-topic component (#7636) 2019-05-29 16:21:13 +02:00
b2fc80e4b7 REFACTOR: build-topic-selection mixin (#7635) 2019-05-29 16:09:19 +02:00
468cfa39f7 REFACTOR: rename-tag controller (#7634) 2019-05-29 15:58:12 +02:00
f2858e03c8 REFACTOR: preferences/email controller (#7633) 2019-05-29 15:53:42 +02:00
5e7e32510a FIX: lookup should be done against locale of reference (#7632) 2019-05-29 15:45:44 +02:00
05206a61ab FIX: displays text of asset-version changed modal (#7631) 2019-05-29 15:38:14 +02:00
a3938f98f8 Revert changes to FileStore::S3Store#path_for in f0620e7118a76a1faea0ca15ac554818f8bb1bcf.
There are some places in the code base that assumes the method should
return nil.
2019-05-29 18:39:07 +08:00
04fdada96a annotate models 2019-05-29 14:26:24 +10:00
5c524ea8a4 FEATURE: introduce dedicated storage and DB constraints for anon users
Previously we used custom fields to denote a user was anonymous, this was
risky in that custom fields are prone to race conditions and are not
properly dedicated, missing constraints and so on.

The new table `anonymous_users` is properly protected. There is only one
possible shadow account per user, which is enforced using a constraint.

Every anonymous user will have a unique row in the new table.
2019-05-29 14:26:24 +10:00
f0620e7118 FEATURE: Support [description|attachment](upload://<short-sha>) in MD take 2.
Previous attempt was missing `post_uploads` records.
2019-05-29 09:26:32 +08:00
63292cecd9 PERF: Prefer joins over IN () queries. 2019-05-29 09:00:15 +08:00
76569b2018 FIX: ensures post-small-action is using timezone to display dates 2019-05-29 08:45:28 +08:00
a93aa5bbce Add "further reading for themes" step to wizard 2019-05-29 08:28:03 +08:00
43e33302e1 FIX: Position emoji-picker around d-editor. 2019-05-29 08:27:14 +08:00