Commit Graph

19797 Commits

Author SHA1 Message Date
b79d02ff48 FEATURE: displays average for 2 columns tables which support average 2019-06-04 11:08:26 +02:00
c9a34aa10c FIX: add title attribute for notifications 2019-06-04 17:02:12 +08:00
33bc8c276d FIX: default top timeframe was overriding best_periods_for 2019-06-04 10:57:50 +02:00
7da875f52a FIX: trigger user_updated webhook when avatar changes 2019-06-04 16:46:46 +08:00
497a1d2d9f FEATURE: uses native date picker on mobile (#7541) 2019-06-04 10:44:55 +02:00
c4419b7369 REFACTOR: badge-selector component (#7683) 2019-06-04 10:30:56 +02:00
2863e7c181 FIX: fix select badge as user title on badge page (#7682) 2019-06-04 18:19:30 +10:00
1991af2abb DEV: Switch InlineUploads to a regexp based implementation. 2019-06-04 15:54:25 +08:00
d93e5fb00d DEV: Class that converts MD with old attachment links to new MD. 2019-06-04 15:54:25 +08:00
22abad4151 PERF: stop reindexing and skipping deleted posts 2019-06-04 17:53:35 +10:00
74c4f926fc FIX: drop deleted posts from search index
This does two things

1. Our "index grace period" has been wound down to 1 day, there is no point
keeping a bloated index for a week, usually when people delete stuff they
mean for it to be removed

2. We were never dropping deleted posts from the index, only posts from
deleted topics

These changes speed up search a tiny bit and reduce background work.
2019-06-04 17:19:59 +10:00
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
bb98785569 DEV: Fix broken Upload#base62_sha1. 2019-06-04 14:10:46 +08:00
871fcf1117 PERF: omit user profile and private message stats in web hook serializer. 2019-06-04 08:44:10 +05:30
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
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
0c5498c9a4 REFACTOR: exception controller (#7675) 2019-06-03 23:34:23 +02:00
d7ff640778 fix the build 2019-06-03 20:42:46 +02:00
b792db9d92 FIX: redirect to top was always redirecting to 'All' 2019-06-03 20:18:14 +02:00
9a3dd6b59a UX: Add missing classes to user preferences 2019-06-03 13:35:40 -04:00
f9f12ed221 PERF: fix N+1 queries for non-JS topic view. 2019-06-03 21:47:33 +05:30
d4f6b9e827 FIX: Crawler footer style needed to be more specific 2019-06-03 11:52:20 -04:00
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