Commit Graph

39265 Commits

Author SHA1 Message Date
c119c07fa4 Build(deps): Bump http-proxy in /app/assets/javascripts/pretty-text (#10614)
Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.18.0 to 1.18.1.
- [Release notes](https://github.com/http-party/node-http-proxy/releases)
- [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/http-party/node-http-proxy/compare/1.18.0...1.18.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-07 12:00:10 +02:00
7b889c6201 Build(deps): Bump nio4r from 2.5.2 to 2.5.3 (#10620)
Bumps [nio4r](https://github.com/socketry/nio4r) from 2.5.2 to 2.5.3.
- [Release notes](https://github.com/socketry/nio4r/releases)
- [Changelog](https://github.com/socketry/nio4r/blob/master/CHANGES.md)
- [Commits](https://github.com/socketry/nio4r/compare/v2.5.2...v2.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-07 11:59:25 +02:00
431bd84dec FIX: Make deleted topic post bookmarks more resilient (#10619)
This PR ensures that new bookmarks cannot be created for deleted posts and topics, and also makes sure that if a bookmark was created and then the topic deleted that the show topic page does not error from trying to retrieve the bookmark reminder at.
2020-09-07 14:52:14 +10:00
f2842490d3 PERF: Don't load all poll_votes for a poll 2020-09-05 18:42:11 +01:00
13c9d7e704 UX: Add missing labels to mobile composer buttons 2020-09-04 22:18:29 -04:00
a14c9078d3 DEV: Document /u/{username}.json API endpoint
Added some more specs that will be used to auto generate the api docs.
2020-09-04 16:24:43 -06:00
b16915d166 DEV: Switch over to a fork of ember-rails
We are switching over to a fork because we are currently on a pinned
version of ember-rails 0.18.5 which is pretty old. Upgrading to the
latest version causes many things to break which isn't really worth the
time to debug while we plan to completely switch over to ember-cli
somewhat soonish. Our fork contains a single cherry-pick commit

https://github.com/emberjs/ember-rails/pull/534

which will fix an issue when running the `rails g migration` command and
it spits out a bunch of deprecation warnings.
2020-09-04 14:47:56 -06:00
e73ff68f75 FEATURE: Add css classes to stylesheet link elements (#10598)
Adding these classes to the stylesheet link elements in order to toggle dark/light schemes via this theme-component. Eventually this theme-component could possible be merged into core.
2020-09-04 15:40:40 -05:00
726bae8f0c DEV: Pass the for_export flag to the before_upload_creation event (#10599) 2020-09-04 17:24:40 -03:00
da918ac43e FIX: Allow us to call script_asset_url in controllers
Without this patch fingerprinting was not applied in production.
2020-09-04 15:23:01 -04:00
0f9a58e06f FEATURE: Add stylesheets to bootstrap.json endpoint
This allows API consumers (such as Ember CLI) to dynamically get a list
of styles to embed.
2020-09-04 14:12:49 -04:00
110f6ec6dd DEV: fixes eslint/prettier on github actions (#10601) 2020-09-04 20:01:14 +02:00
c5b8a47901 FIX: ensures we don't attempt to concat an empty list (#10600) 2020-09-04 19:08:07 +02:00
34c2dfccb7 DEV: specific ext and remove I18n global 2020-09-04 18:59:53 +02:00
d4471e0316 FIX: Preload bold fonts in wizard
The bold fonts are used in previews for topic title.
2020-09-04 19:23:46 +03:00
ed05839dfc FIX: prevents error when opening a composer from a tag page (#10596) 2020-09-04 15:47:22 +02:00
58b97ace23 DEV: Use a special import to declare font faces (#10583)
Update discourse-fonts to v0.0.3.

Follow-up to 7b7357147e458c5c4b268a3ae9a8d40515fb526d.
2020-09-04 16:25:50 +03:00
647cdca99b DEV: ignore coding standards applied to plugins (#10595) 2020-09-04 13:53:26 +02:00
bf88410126 DEV: apply coding standards to plugins (#10594) 2020-09-04 13:51:53 +02:00
034a59a69d DEV: ignore coding standards commit (#10593) 2020-09-04 13:44:58 +02:00
52672b9eab DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
80dfaeb0d2 DEV: upgrades dev config (#10588) 2020-09-04 13:33:03 +02:00
e4ebc303bb FEATURE: Add below-static plugin outlet 2020-09-03 22:58:58 -04:00
ea423b471a FIX: make crawler linkback list compatible with google schema guidelines. 2020-09-04 04:35:32 +05:30
7a0d1cadc5 DEV: Add option to precompile default multisite stylesheets 2020-09-03 13:00:09 -04:00
4f48304a44 DEV: Remove an unused i18n string
The related code was removed in 86cb5803ba07288e34fb4cd81df2fff2c61bfc21
2020-09-03 16:32:46 +02:00
8c0f18794e FEATURE: Deprecate lodash so we can remove it.
It's currently 240k of Javascript we don't need anymore. It's been
replaced by ES6 and a couple helper functions.
2020-09-03 10:03:33 -04:00
3a46e44ed8 Rename merge to deepMerge so it's more clear what it's doing 2020-09-03 10:03:33 -04:00
f365d4639a REFACTOR: Remove _.isEqual 2020-09-03 10:03:33 -04:00
c4079780be REFACTOR: Remove _.merge 2020-09-03 10:03:33 -04:00
720cd57fb5 FIX: Convert jQuery array to JS array 2020-09-03 10:03:33 -04:00
5e5d5b4f35 REFACTOR: Remove _.last 2020-09-03 10:03:33 -04:00
0da953b40e REFACTOR: Remove _.compact 2020-09-03 10:03:33 -04:00
2d56663fc4 REFACTOR: Remove _.clone which is not deep 2020-09-03 10:03:33 -04:00
c2cfa62000 REFACTOR: Remove _.intersection 2020-09-03 10:03:33 -04:00
0b098566ff REFACTOR: Remove _.union 2020-09-03 10:03:33 -04:00
e60d06d880 REFACTOR: Remove _.isString 2020-09-03 10:03:33 -04:00
b4444070b3 REFACTOR: Remove _.groupBy 2020-09-03 10:03:33 -04:00
1265a5f7c0 REFACTOR: Remove _.max 2020-09-03 10:03:33 -04:00
d06deb0c4f REFACTOR: Remove _.chain 2020-09-03 10:03:33 -04:00
71ddcefffa REFACTOR: Remove _.filter 2020-09-03 10:03:33 -04:00
87b3caf927 REFACTOR: Remove _.reject 2020-09-03 10:03:33 -04:00
2a4dfa83b0 REFACTOR: Remove _.omit 2020-09-03 10:03:33 -04:00
17bca14c4b REFACTOR: Remove _.sortBy 2020-09-03 10:03:33 -04:00
2353794a30 REFACTOR: Remove _.findIndex 2020-09-03 10:03:33 -04:00
e3ec7b72d0 REFACTOR: Remove _.uniq and use ember version 2020-09-03 10:03:33 -04:00
66021abe41 REFACTOR: Remove _.first from codebase 2020-09-03 10:03:33 -04:00
55c9c54b8b REFACTOR: Remove _.range and use ES6 instead 2020-09-03 10:03:33 -04:00
115b3b6921 REFACTOR: Remove _.isEmpty in favor of the existing version 2020-09-03 10:03:33 -04:00
65f6a92129 REFACTOR: Replace _.extend with Object.assign 2020-09-03 10:03:33 -04:00