Commit Graph

550 Commits

Author SHA1 Message Date
dependabot[bot] 8e96d070c4
Bump handlebars from 4.7.6 to 4.7.7 (#106)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-07 16:49:22 +02:00
dependabot[bot] 714c8082c7
Bump lodash from 4.17.20 to 4.17.21 (#105)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-07 16:48:51 +02:00
dependabot[bot] 5376dfdb21
Bump underscore from 1.9.1 to 1.13.1 in /manager-client (#103)
Bumps [underscore](https://github.com/jashkenas/underscore) from 1.9.1 to 1.13.1.
- [Release notes](https://github.com/jashkenas/underscore/releases)
- [Commits](https://github.com/jashkenas/underscore/compare/1.9.1...1.13.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-07 10:38:41 -04:00
dependabot[bot] 93d7c8ae42
Bump rexml from 3.2.4 to 3.2.5 (#102)
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.2.4...v3.2.5)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-02 17:07:40 +02:00
Penar Musaraj 230dec2a29
DEV: Bump base image (#101)
Changes included:
- switch to Terser to compress/minify JS
- update to libv8
2021-04-28 21:58:24 -04:00
David Taylor 88bc8a3b0a
UX: Always show the docker_manager plugin second in the list (#100)
docker_manager must have its version checked before any other actions can be taken. Having it higher in the list makes this process much quicker for admins.
2021-04-16 17:10:55 +01:00
dependabot[bot] b53b62bf26
Bump y18n from 4.0.0 to 4.0.1 (#99)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-01 10:15:58 +02:00
David Taylor f43a8a08d0
Revert "DEV: Parse and install bundler version from Gemfile.lock (#98)"
This reverts commit 25fc00a763.

This causes a RuntimeError during upgrade, because the `discourse` user does not have permission to install system gems

```
ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /usr/local/lib/ruby/gems/2.7.0 directory.
Docker Manager: FAILED TO UPGRADE
```
2021-03-23 16:02:42 +00:00
David Taylor 25fc00a763
DEV: Parse and install bundler version from Gemfile.lock (#98)
This ensures that changes in Bundler's behavior are only introduced
when we deliberately bump the version in the Gemfile
2021-03-23 15:54:18 +00:00
Bianca Nenciu a8579f3c80
FEATURE: Add indicator if plugin is official but forked (#96) 2021-03-22 18:17:52 +02:00
Discourse Translator Bot 8827fdc71f
Update translations (#97) 2021-03-16 15:45:05 +01:00
Discourse Translator Bot f630767575
Update translations (#95) 2021-02-09 14:48:57 +01:00
Robin Ward 9feb5cb8a8
FIX: Support origin/main again (#94)
* Revert "Revert main stuff (#93)"

This reverts commit 01ae845bc6.

* FIX: We weren't identifying `origin/main` correctly
2021-02-08 15:54:41 -05:00
Robin Ward 01ae845bc6
Revert main stuff (#93)
* Revert "FIX: `main` wasn't being pulled as part of the `master` -> `main` switch (#92)"

This reverts commit fc9e408ab7.

* Revert "FEATURE: When upgrading, if `origin/main` exists switch to that branch (#91)"

This reverts commit 6c0ab5e717.
2021-02-08 15:14:52 -05:00
Robin Ward fc9e408ab7
FIX: `main` wasn't being pulled as part of the `master` -> `main` switch (#92) 2021-02-08 15:04:50 -05:00
Robin Ward 6c0ab5e717
FEATURE: When upgrading, if `origin/main` exists switch to that branch (#91)
This involves checking out/renaming a local branch, then fetching, then
updating the upstream.

This allows plugins to automatically update to `origin/main` when
present.
2021-02-08 14:30:54 -05:00
Robin Ward a27337faf2
FEATURE: Prefer `origin/main` over `origin/master` if it exists (#89)
This allows us to rename the main branch for plugin repos to
`origin/main` and docker_manager should continue to work.
2021-02-05 11:27:12 -05:00
Robin Ward fce3e9239f
FIX: Don't animate the progress bar when it's finished (#90)
Co-authored-by: ByteHamster <ByteHamster@users.noreply.github.com>

Co-authored-by: ByteHamster <ByteHamster@users.noreply.github.com>
2021-02-04 14:23:57 -05:00
Discourse Translator Bot 02da7713f5
Update translations (#87) 2021-01-26 14:49:49 +01:00
dependabot[bot] c65987dea4
Bump socket.io from 2.3.0 to 2.4.1 in /manager-client (#86)
Bumps [socket.io](https://github.com/socketio/socket.io) from 2.3.0 to 2.4.1.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/2.4.1/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/2.3.0...2.4.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-21 10:52:16 -05:00
Rafael dos Santos Silva 46276ba751
DEV: Bump base image (#84)
Forces everyone to get our latest base image.
2020-12-22 09:37:26 +11:00
dependabot[bot] eb71445abf
Bump ini from 1.3.5 to 1.3.7 in /manager-client (#83)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-11 11:19:46 -05:00
Dan Ungureanu 8c432b9a46
FEATURE: Run themes:update before assets:precompile (#82) 2020-11-16 15:23:57 +02:00
Penar Musaraj 3d37fd64ed
FIX: blank upgrade page when using S3 CDN and CSP
When CSP anbd S3 CDN are both enabled, the policy expects assets to come
from the S3 CDN, but `javascript_include_tag` returns a local or non-S3
CDN path. Using the `script_asset_path` helper from core fixes the issue.
2020-11-04 12:02:04 -05:00
Osama Sayegh 11bf3555b2
DEV: Make ESLint ignore transpiled assets (#81) 2020-11-02 22:51:39 +03:00
Osama Sayegh e658a36b4a
DEV: Upgrade Ember to 3.22 (#80) 2020-11-02 19:43:56 +03:00
Osama Sayegh 8c1b3bb864
FIX: upgrade requests shouldn't timeout (#79)
* Replace deprecated method

* Do upgrades in a dedicated process instead of a forked process

* Add comment and setsid
2020-10-29 17:41:20 +03:00
Discourse Translator Bot 65791b5fcc Update translations 2020-10-13 15:12:51 +02:00
dependabot[bot] 7ae3977ced
Bump websocket-extensions from 0.1.3 to 0.1.4 in /manager-client (#70)
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-08 16:24:30 +11:00
Discourse Translator Bot 5d72800fbe Update translations 2020-09-16 10:18:21 +00:00
jjaffeux ef101df376 DEV: manually ignore files as .eslintignore is not working 2020-09-10 20:53:34 +02:00
jjaffeux 89cec3660a DEV: eslintignore needs a forward slash 2020-09-10 20:31:41 +02:00
jjaffeux 3150889890 DEV: eslint ignore manager-client js files 2020-09-10 20:28:11 +02:00
dependabot[bot] 799953f234
Bump http-proxy from 1.18.0 to 1.18.1 in /manager-client (#77)
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-08 10:31:27 -04:00
Joffrey JAFFEUX 4332b01837
DEV: apply coding standards (#76) 2020-09-04 14:35:08 +02:00
Discourse Translator Bot c06d6877c9 Update translations 2020-08-11 13:04:18 +00:00
Discourse Translator Bot 8e4b919ace Update translations 2020-08-05 13:28:28 +00:00
Jarek Radosz c0a0ee884c DEV: `assets.skip_minification` has been in stable for 6 years 2020-07-22 12:05:44 +02:00
Jarek Radosz 950d8a783a DEV: Prettier the .eslintrc.js file 2020-07-22 11:02:21 +02:00
Jarek Radosz f627eacb0d DEV: Prettier 2020-07-22 10:53:58 +02:00
dependabot[bot] c27f14f2a7
Bump lodash from 4.17.15 to 4.17.19 in /manager-client (#74)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-17 09:36:57 -04:00
Discourse Translator Bot 31247865fc DEV: Switch from Transifex to Crowdin 2020-07-16 14:00:52 +02:00
Sam Saffron a9df2937c1
FIX: make branch hunting backwards compatible
Previous to this change older versions of Discourse would fail here
2020-07-08 16:13:33 +10:00
Kane York d4ea029609
FIX: Use imported getURL (#73) 2020-07-07 13:28:48 +10:00
Jeff Wong c27e198873
FEATURE: add plugin pull compatible checks for UI updates (#71)
Add plugin compat checkout updates

Do not report available updates when pinned
2020-07-06 14:48:19 -07:00
Robin Ward 4f856c3c3c Migrate away from `Discourse.getURL`
docker_manager's implementation of `getURL` doesn't use the core
Discourse method so this might seem a little pointless, but it greatly
helps in our ability to grep the plugins so it's worth doing.
2020-07-06 14:38:26 -04:00
Rafael dos Santos Silva b1a85b0472
FIX: Add FORCE_S3_UPLOADS env to the list of allowed env vars
This fixes using GCP storage for assets
2020-06-22 14:51:47 -03:00
Rafael dos Santos Silva d0fff7cd6e
FEATURE: Allow docker-manager to be used with S3 CDN (#72) 2020-06-16 10:54:16 -04:00
Robin Ward f2a9499877 Upgrade yarn 2020-05-28 14:54:16 -04:00
Jarek Radosz 286afef16c DEV: Add rubocop-discourse gem 2020-05-06 17:46:03 +02:00