discourse/spec
Jeff Wong 271d6319ce Support plugin and Theme compatibility version manifests (#9995)
Adds a new rake task `plugin:checkout_compatible_all` and
`plugin:checkout_compatible[plugin-name]` that check out compatible plugin
versions.

Supports a .discourse-compatibility file in the root of plugins and themes that
list out a plugin's compatibility with certain discourse versions:

eg: .discourse-compatibility
```
2.5.0.beta6: some-git-hash
2.4.4.beta4: some-git-tag
2.2.0: git-reference
```

This ensures older Discourse installs are able to find and install older
versions of plugins without intervention, through the manifest only.

It iterates through the versions in descending order. If the current Discourse
version matches an item in the manifest, it checks out the listed plugin target.
If the Discourse version is greater than an item in the manifest, it checks out
the next highest version listed in the manifest.

If no versions match, it makes no change.
2020-07-08 15:45:47 -07:00
..
components Support plugin and Theme compatibility version manifests (#9995) 2020-07-08 15:45:47 -07:00
fabricators FEATURE: allows published pages to be public (#10053) 2020-06-17 12:42:20 +02:00
fixtures FIX: Add attachment content-disposition for all non-image files (#10058) 2020-06-17 11:16:37 +10:00
helpers Fix the build. 2020-06-22 14:50:17 +08:00
import_export FEATURE: Rake task to export groups (#9450) 2020-04-17 14:59:54 -07:00
initializers FIX: We need to skip users with associated reviewables when auto-approving (#9080) 2020-03-02 14:33:52 -05:00
integration FIX: If creating a flag for a watched word, include the reason 2020-06-02 11:49:02 -04:00
integrity DEV: Check English locale for errors in CI 2020-06-03 21:54:58 +02:00
jobs DEV: Remove accidentally committed puts statements 2020-06-23 12:41:47 +01:00
lib FIX: Restoring backup from PG12 could fail on PG10 2020-06-16 16:04:14 +02:00
mailers FIX: Use correct URL for unsubscribe (#10077) 2020-06-24 09:31:20 +02:00
models FIX: properly invalidate inline oneboxes when rebaking 2020-06-24 11:54:54 +02:00
multisite FIX: invalid urls should not break store.has_been_uploaded? 2020-07-02 15:09:10 -04:00
requests FIX: uploading an existing image as a site setting 2020-07-03 19:19:14 +02:00
script/import_scripts FIX: Change base importer to create new Bookmark records (#9603) 2020-05-01 11:34:55 +10:00
serializers FIX: uploading an image as a site setting 2020-07-03 14:59:15 +02:00
services FIX: update theme fields when updating from ThemesInstallTask (#10143) 2020-07-02 15:12:15 -04:00
support FIX: Redirects containing Unicode usernames didn't work 2020-06-08 10:26:29 +02:00
tasks FEATURE: Add uploads:batch_migrate_from_s3 task to limit total posts migrated at once (#9933) 2020-06-04 09:48:11 +10:00
views/omniauth_callbacks FEATURE: Use full page redirection for all external auth methods (#8092) 2019-10-08 12:10:43 +01:00
rails_helper.rb Always require pry gems in rails_helper 2020-06-17 10:08:53 +10:00
swagger_helper.rb DEV: Add rswag to aid in api documention (#9546) 2020-04-27 16:40:07 -06:00