Commit Graph

531 Commits

Author SHA1 Message Date
Penar Musaraj afc7d94b09
Bump expected Ruby version to 2.7.6 (#136) 2022-04-13 11:57:49 -04:00
dependabot[bot] 26eaa6e2a1
Bump ansi-regex from 4.1.0 to 4.1.1 (#135)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-31 11:55:36 +02:00
dependabot[bot] ccebb2b09a
Bump minimist from 1.2.5 to 1.2.6 (#134)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 09:25:49 +08:00
Gabe Pacuilla 3ebd21c7bb
DEV: Bump base image and expected ruby version (#133)
The new base image includes the following:
* Fix for CVE-2021-4034 (PwnKit) - local privilege escalation vulnerability with `pkexec`
* Ruby upgraded to 2.7.5p203
* Installing `pups` via gem
2022-02-15 13:14:10 -05:00
dependabot[bot] 464bd25755
Bump follow-redirects from 1.14.7 to 1.14.8 in /manager-client (#132)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-12 12:21:38 +01:00
dependabot[bot] 0560698b26
Bump node-fetch from 2.6.1 to 2.6.7 in /manager-client (#131)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-10 00:26:04 +01:00
dependabot[bot] c9b4714f78
Bump mout from 1.2.2 to 1.2.3 in /manager-client (#130)
Bumps [mout](https://github.com/mout/mout) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/mout/mout/releases)
- [Changelog](https://github.com/mout/mout/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mout/mout/compare/v1.2.2...v1.2.3)

---
updated-dependencies:
- dependency-name: mout
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-10 00:05:36 +01:00
David Taylor 2874cd57fc
FIX: Run `yarn install` during updates (#129)
This is required to compile assets successfully under Ember CLI
2022-02-09 13:43:42 +00:00
David Taylor 11d61cb82e
FIX: Do not shorten commit hashes for compare links (#128)
Using `git rev-parse --short` will adapt the number of characters based on the number of commits in the repository. In a development checkout of Discourse, it'll currently output 10 characters, making the chance of a collision minuscule.

However, in production we use a shallow clone of the Discourse repository. That means that `git rev-parse --short` only outputs 8 characters. On the `main` branch (with almost 50k commits), we currently have 6 7-character collisions, and no 8-character collisions. However, when looking beyond the `main` branch, 8-character collisions [have been observed](https://meta.discourse.org/t/193320/3).

This commit updates docker_manager to use the full commit hash internally, and for GitHub comparison links. In the UI, hashes are truncated to 8 characters, and the full hash is displayed on mouseover.
2022-01-22 18:27:25 +00:00
Vinoth Kannan 6ecdddd687
UX: make the upgrade page title more relevant (#127)
* UX: make the upgrade page title more relavant

* fix the typo
2022-01-21 14:18:35 +11:00
Discourse Translator Bot faab1aa44f
Update translations (#126) 2022-01-18 14:41:46 +01:00
dependabot[bot] 111bab960d
Bump follow-redirects from 1.13.0 to 1.14.7 in /manager-client (#125)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.13.0 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.13.0...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-13 13:57:55 +01:00
David Taylor d30edc9bcf
FIX: Do not activate plugins before checking compatibility (#124)
https://github.com/discourse/discourse/pull/15537
2022-01-11 12:16:43 +00:00
Jarek Radosz b3379317c6
DEV: Drop the `Discourse.redis` monkey-patch (#123)
It's been over two years. I don't think we need this fallback anymore?
2022-01-11 00:09:13 +01:00
Discourse Translator Bot 776da654f9
Update translations (#122) 2022-01-04 17:39:36 +01:00
Discourse Translator Bot e5ff9403d8
Update translations (#121) 2021-12-28 14:14:02 +01:00
Blake Erickson 4e06649d32
DEV: Bump base image (#120)
This includes the oxipng binary.

See:

676479926e
2021-11-19 13:20:54 -07:00
dependabot[bot] 97b94cb4c1
Bump tmpl from 1.0.4 to 1.0.5 in /manager-client (#119)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-21 13:10:23 +02:00
dependabot[bot] 19cbd60593
Bump path-parse from 1.0.6 to 1.0.7 (#118)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-11 10:14:25 +02:00
dependabot[bot] a06efadc0d
Bump path-parse from 1.0.6 to 1.0.7 in /manager-client (#117)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-11 09:49:04 +02:00
Robin Ward 5faa725624 FIX: Linting errors 2021-07-19 15:12:39 -04:00
benzoid 745e98161b
allow proxy env vars (#115) 2021-07-19 14:00:58 -04:00
dependabot[bot] 91bf85a150
Bump y18n from 4.0.0 to 4.0.3 in /manager-client (#114)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.3.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/y18n-v4.0.3/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/compare/v4.0.0...y18n-v4.0.3)

---
updated-dependencies:
- dependency-name: y18n
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-12 15:27:57 +02:00
dependabot[bot] 7a573168de
Bump acorn from 5.7.3 to 5.7.4 in /manager-client (#113)
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

---
updated-dependencies:
- dependency-name: acorn
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-12 15:27:43 +02:00
dependabot[bot] 0e4f22b10d
Bump glob-parent from 5.1.1 to 5.1.2 (#112)
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-12 13:56:57 +02:00
dependabot[bot] 6ee74eec78
Bump ws from 6.2.1 to 6.2.2 in /manager-client (#111) 2021-06-05 08:12:38 +02:00
dependabot[bot] a9114e5822
Bump hosted-git-info from 2.8.8 to 2.8.9 in /manager-client (#110)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 10:24:37 +02:00
dependabot[bot] 5ea5249d05
Bump lodash from 4.17.19 to 4.17.21 in /manager-client (#109)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...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 10:54:15 -04:00
dependabot[bot] a4f997aa4f
Bump elliptic from 6.5.3 to 6.5.4 in /manager-client (#108)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-07 10:53:59 -04:00
dependabot[bot] 471504a753
Bump ssri from 6.0.1 to 6.0.2 in /manager-client (#107)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-07 10:53:27 -04:00
dependabot[bot] 8185aa3721
Bump handlebars from 4.5.3 to 4.7.7 in /manager-client (#104)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.5.3 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.5.3...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 10:49:54 -04:00
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