Commit Graph

78 Commits

Author SHA1 Message Date
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
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
Blake Erickson 4e06649d32
DEV: Bump base image (#120)
This includes the oxipng binary.

See:

676479926e
2021-11-19 13:20:54 -07: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
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
Bianca Nenciu a8579f3c80
FEATURE: Add indicator if plugin is official but forked (#96) 2021-03-22 18:17:52 +02: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
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 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
Michael Brown b6749080a9 Update Discourse base image to 2.0.20200429-2110 2020-04-29 23:01:11 -04:00
Penar Musaraj e4c82d3f13 DEV: Apply Rubocop redundant return style 2019-11-14 15:15:01 -05:00
Rafael dos Santos Silva a0ef2c6c97 Force base image update 2019-09-04 22:21:24 -03:00
Gerhard Schlager b6e745c224
Force base image update 2019-06-27 10:47:27 +02:00
Guo Xiang Tan 00617a1fb5 Add frozen string literal comment to files. 2019-05-13 11:16:32 +08:00
Sam Saffron 0e6fee4df4 Bump expected ruby version
Our image ships ruby 2.6.1 so check for that instead of 2.5.2
2019-04-11 12:50:27 +10:00
Yaw Anokwa 3fedba4a4d FIX: Allow requests with API keys (#52) 2019-02-27 17:19:48 +11:00
Sam Saffron 39ea15921c Force docker base image update
We need to force a rebuild now, last one was about 3 months ago.

The rebuild will pick up on important NGINX changes required for letter
avatar caching
2019-02-18 09:41:16 +11:00
Osama Sayegh 1309955216
Ember upgrade to 3.6.1 (#49)
* Ember upgrade to 3.6.1

* ember-ajax printing deprecations; stop using it

* Use tag versions when possible instead of hashes

* Remove inline scripts for CSP

* dump `git describe` errors

* Commit hashes still needed for github diff link

* Update READMEs

* Production build

* Make repo-status component more isolated

* Minor tweaks

* Get JS tests in a working state, and write tests for repo-status component

* Add a note about tests in README

* Apply Prettier

* Production build #2

* We need vendor/message-bus.js
2019-01-03 09:21:34 +03:00
Gerhard Schlager 42bc80d0f3 Remove old check for pngcrush version 2018-11-16 17:12:27 +01:00
Sam Saffron 5e641dfe5f bump required version and ensure ruby is running the correct version 2018-11-15 18:02:11 +11:00
Régis Hanol 6d9d78e6b2 Bump minimum required version 2018-10-10 15:28:53 +02:00
Guo Xiang Tan ec371d3caa
Introduce post deploy migrations into the upgrade process take 2. (#47) 2018-10-08 10:24:07 +08:00
David Taylor f2079597c0
Correct minimum required version 2018-08-16 19:31:34 +01:00
Guo Xiang Tan 9177222a3b
Bump minimum required version. 2018-08-16 14:06:04 +08:00
Osama Sayegh 4ee8ccf93c Refactoring and various enhancements 2018-06-29 01:17:59 +03:00
OsamaSayegh bc6cfe7d5f FEATURE: introduce Upgrade All functionality 2018-06-20 17:47:22 +03:00
Rafael dos Santos Silva 519eff05ad Bump base image 2018-06-15 19:34:21 -03:00
Robin Ward ed4b88166e SECURITY: Remove runaway cpu/memory tests.
These should not be in the public plugin accessible via a GET. At
the very least they should require an environment variable and
CSRF protection. I'm removing them because they don't seem commonly
used.
2018-06-15 15:23:57 -04:00
Robin Ward 8f6be9c592 SECURITY: Make sure a repo exists before acting on it
Also includes refactors to clean up linting / code, adds specs
and changes the usage pattern to something safer
2018-06-15 15:15:17 -04:00
Robin Ward f75ece9a95 Use our `AdminConstraint` to simplify auth 2018-06-15 13:15:34 -04:00
Jeff Wong c00d6d10f0 FIX: support listing plugins for older discourse versions 2018-05-17 09:11:57 -07:00
Jeff Wong 35036dfee2 FEATURE: only show visible plugins 2018-05-16 10:15:42 -07:00
Guo Xiang Tan 1f686200bb Display a glyph for official plugins. 2018-04-25 12:20:06 +08:00
David Taylor 1f376fec35 Add `html_safe` to raw HTML string 2018-01-30 23:42:01 +00:00
Sam 7570b371ae we need a new version of our docker image 2018-01-19 09:36:07 +11:00
Guo Xiang Tan 6cc836e7c3 FIX: Plugin using deprecated Rails 5 API. 2017-10-23 14:12:53 +08:00
Rafael dos Santos Silva 7b09885cc4 Bump minimum ruby/image versions 2017-10-11 13:43:28 -03:00
Guo Xiang Tan f117e28158 FIX: Redirect to login for anon user.
https://meta.discourse.org/t/link-to-upgrade-shows-500-error/70993/7
2017-10-02 18:44:11 +08:00
Guo Xiang Tan a6539a6cf5 Use `before_action` for compatibility with Rails 5. 2017-09-04 17:04:45 +08:00
Rafael dos Santos Silva 4b5f17a426 Bump minimum image version 2017-07-28 19:04:20 -03:00
Rafael dos Santos Silva 9c01f95298 Let's allow Ruby 2.3 again while we wait 2.4.2 2017-07-28 14:09:11 -03:00
Rafael dos Santos Silva 7cbb8141fa Bump minimum ruby version to 2.4 & force full rebuild 2017-06-01 13:16:31 -03:00
Neil Lalonde 3623c2f5b0 FIX: progress bar and upgrade log on subfolder installs 2017-01-12 14:09:58 -05:00
Robin Ward 46e7ce7831 FIX: Environment config changed 2017-01-12 13:38:16 -05:00
Guo Xiang Tan 5b20f81882 Make sure we check for min Ruby version as well. 2016-07-25 09:55:28 +08:00
Guo Xiang Tan e215aab836
Bump expected version for Docker image. 2016-06-29 11:04:55 +08:00
Sam 549b1d8a0c Don't exception if current_user is blank 2016-03-02 09:25:38 +11:00
Robin Ward efcaac177d Upgrade to latest Message Bus 2016-01-18 11:35:21 -05:00
Neil Lalonde 2b553cc815 add subfolder support 2015-12-14 15:01:35 -05:00