Neil Lalonde
713e6f1bb6
Version bump to v2.6.0.beta2
2020-08-20 16:36:25 -04:00
Robin Ward
b1c6ff9e1c
FIX: Test output related to Discourse::VERSION
...
It's a little awkward to test constants by re-assigning them so
I've added a new parameter to `Discourse.find_compatible_resource`
which can be used by tests.
2020-07-09 14:57:27 -04:00
Jeff Wong
339549d14a
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-06 14:48:00 -07:00
David Taylor
0edffcc47d
FIX: Correct version comparison logic when comparing stable to beta ( #10135 )
...
* FIX: Correct version comparison logic when comparing stable to beta
For example, version 1.3.0 should be considered higher than 1.3.0.beta3. So `Discourse.has_needed_version?('1.3.0', '1.3.0.beta3')` should return true
* Switch to use Gem::Version to compare versions
2020-06-29 17:52:33 +10:00
Neil Lalonde
b9174c8e8a
Version bump to v2.6.0.beta1
2020-06-24 14:00:19 -04:00
Neil Lalonde
81a265cecd
Version bump to v2.5.0.beta7
2020-06-10 13:38:18 -04:00
Neil Lalonde
09dc5eb5ea
Version bump to v2.5.0.beta6
2020-06-01 14:13:48 -04:00
Neil Lalonde
788b8becde
Version bump to v2.5.0.beta5
2020-05-26 11:13:05 -04:00
Neil Lalonde
c6b31464db
Version bump to v2.5.0.beta4
2020-05-04 11:44:42 -04:00
Neil Lalonde
58bdc04aac
Version bump to v2.5.0.beta3
2020-04-22 10:51:19 -04:00
Neil Lalonde
3e21d40bc4
Version bump to v2.5.0.beta2
2020-03-05 16:10:28 -05:00
Neil Lalonde
9f528f0ec2
Version bump to v2.5.0.beta1
2020-02-26 16:56:11 -05:00
Neil Lalonde
2136d4b5d5
Version bump to v2.4.0.beta11
2020-02-13 16:56:46 -05:00
Neil Lalonde
cca654fc1a
Version bump to v2.4.0.beta10
2020-01-21 17:05:30 -05:00
Neil Lalonde
ef5d9a6cb5
Version bump to v2.4.0.beta9
2019-12-19 14:07:24 -05:00
Neil Lalonde
2987a46f48
Version bump to v2.4.0.beta8
2019-12-05 13:50:33 -05:00
Neil Lalonde
1aa96a5da4
Version bump to v2.4.0.beta7
2019-11-06 12:31:03 -05:00
Neil Lalonde
09021c35a3
Version bump to v2.4.0.beta6
2019-10-10 11:46:28 -04:00
Neil Lalonde
279a94da90
Version bump to v2.4.0.beta5
2019-10-01 16:51:36 -04:00
Robin Ward
800e49f16e
Version bump to 2.4.0.beta4
2019-09-06 16:08:03 -04:00
Neil Lalonde
e90636eadc
Version bump to v2.4.0.beta3
2019-09-04 11:16:01 -04:00
Neil Lalonde
6a2f30c277
Version bump to v2.4.0.beta2
2019-07-15 10:12:45 -04:00
Neil Lalonde
b2af1101d9
Version bump to v2.4.0.beta1
2019-06-17 20:49:28 -04:00
Neil Lalonde
62345a7f8d
Version bump to v2.3.0.beta11
2019-06-10 13:09:47 -04:00
Neil Lalonde
b4d1416076
Version bump to v2.3.0.beta10
2019-05-30 13:45:10 -04:00
Sam Saffron
30990006a9
DEV: enable frozen string literal on all files
...
This reduces chances of errors where consumers of strings mutate inputs
and reduces memory usage of the app.
Test suite passes now, but there may be some stuff left, so we will run
a few sites on a branch prior to merging
2019-05-13 09:31:32 +08:00
Joffrey JAFFEUX
84b21e3ad6
Version bump to v2.3.0.beta9
2019-04-24 16:22:00 +02:00
Guo Xiang Tan
d53cc07de1
Version bump to v2.3.0.beta8.
2019-04-08 12:28:34 +08:00
Neil Lalonde
347e3e5a46
Version bump to v2.3.0.beta7
2019-04-05 12:24:14 -04:00
Neil Lalonde
6e2e095b53
Version bump to v2.3.0.beta6
2019-03-28 11:05:39 -04:00
Roman Rizzi
4f74210949
Version bump to v2.3.0.beta5
2019-03-13 16:47:23 -03:00
Neil Lalonde
2ee02cb6c7
Version bump to v2.3.0.beta4
2019-03-11 14:22:27 -04:00
Neil Lalonde
3d0008165f
Version bump to v2.3.0.beta3
2019-03-01 12:22:14 -05:00
Neil Lalonde
0e8dbbd8e4
Version bump to v2.3.0.beta2
2019-02-07 11:06:17 -05:00
Neil Lalonde
3388cc092a
Version bump to v2.3.0.beta1
2019-01-31 17:49:43 -05:00
Neil Lalonde
da4fc2e8a1
Version bump to v2.2.0.beta10
2019-01-28 11:15:20 -05:00
David Taylor
a48731e359
FEATURE: Support additional metadata in theme about.json ( #6944 )
...
New `about.json` fields (all optional):
- `authors`: An arbitrary string describing the theme authors
- `theme_version`: An arbitrary string describing the theme version
- `minimum_discourse_version`: Theme will be auto-disabled for lower versions. Must be a valid version descriptor.
- `maximum_discourse_version`: Theme will be auto-disabled for lower versions. Must be a valid version descriptor.
A localized description for a theme can be provided in the language files under the `theme_metadata.description` key
The admin UI has been re-arranged to display this new information, and give more prominence to the remote theme options.
2019-01-25 14:19:01 +00:00
Neil Lalonde
5218702702
Version bump to v2.2.0.beta9
2019-01-21 15:00:57 -05:00
Neil Lalonde
6c2333a780
Version bump to v2.2.0.beta8
2019-01-14 17:03:18 -05:00
Neil Lalonde
9ee08908ad
Version bump to v2.2.0.beta7
2019-01-02 15:32:45 -05:00
Neil Lalonde
4ddaceda1a
Version bump to v2.2.0.beta6
2018-12-14 12:21:55 -05:00
Neil Lalonde
075d9fc558
Version bump to v2.2.0.beta5
2018-11-29 11:18:11 -05:00
David Taylor
1acbf8262b
Version bump to v2.2.0.beta4
2018-11-05 11:16:58 +00:00
Neil Lalonde
d19fb61f10
Version bump to v2.2.0.beta3
2018-10-12 10:55:45 -04:00
Neil Lalonde
81dc36ba16
Version bump to v2.2.0.beta2
2018-09-14 11:43:35 -04:00
Neil Lalonde
b3b9ac3b19
Version bump to v2.2.0.beta1
2018-09-10 19:43:15 -04:00
Neil Lalonde
415201e1b4
Version bump to v2.1.0.beta6
2018-08-30 10:53:20 -04:00
Neil Lalonde
e94b5b4d78
Version bump to v2.1.0.beta5
2018-08-21 11:54:23 -04:00
Neil Lalonde
1fcb5c1b6d
Version bump to v2.1.0.beta4
2018-08-07 12:32:57 -04:00
Neil Lalonde
a74024b1c9
Version bump to v2.1.0.beta3
2018-07-26 14:16:06 -04:00
Neil Lalonde
544254f7a8
Version bump to v2.1.0.beta2
2018-06-21 10:41:52 -04:00
Neil Lalonde
1a55948525
Version bump to v2.1.0.beta1
2018-05-31 18:29:10 -04:00
Sam
0e92dfa818
bump version to beta 10
2018-05-17 12:09:19 +10:00
Neil Lalonde
4c9f6e192f
Version bump to v2.0.0.beta9
2018-05-04 15:32:22 -04:00
Neil Lalonde
eca7017a2b
Version bump to v2.0.0.beta8
2018-05-03 16:57:15 -04:00
Neil Lalonde
18c27883e9
Version bump to v2.0.0.beta7
2018-04-24 11:13:52 -04:00
Neil Lalonde
e8d35653ae
Version bump to v2.0.0.beta6
2018-04-13 10:47:01 -04:00
Neil Lalonde
09ea27ed89
Version bump to v2.0.0.beta5
2018-03-26 11:22:52 -04:00
Neil Lalonde
a8f825d6a9
Version bump to v2.0.0.beta4
2018-03-07 15:18:26 -05:00
Neil Lalonde
322aa9ed85
Version bump to v2.0.0.beta3
2018-02-15 17:48:34 -05:00
Neil Lalonde
c598db28e7
Version bump to v2.0.0.beta2
2018-01-31 12:18:35 -05:00
Neil Lalonde
c2c0a81a4f
Version bump to v2.0.0.beta1
2018-01-03 16:54:55 -05:00
Neil Lalonde
e17ce65aab
Version bump to v1.9.0.beta17
2017-12-20 18:50:35 -05:00
Neil Lalonde
3016901a34
Version bump to v1.9.0.beta16
2017-12-12 11:38:15 -05:00
Neil Lalonde
49371d668f
Version bump to v1.9.0.beta15
2017-11-30 16:32:43 -05:00
Neil Lalonde
9705f8b9c2
Version bump to v1.9.0.beta14
2017-10-30 11:20:55 -04:00
Neil Lalonde
6f923d5964
Version bump to v1.9.0.beta13
2017-10-13 11:30:21 -04:00
Neil Lalonde
7ed522c890
Version bump to v1.9.0.beta12
2017-10-06 11:28:49 -04:00
Neil Lalonde
502f910eb5
Version bump to v1.9.0.beta11
2017-09-28 15:27:46 -04:00
Régis Hanol
32972de2d7
Version bump to v1.9.0.beta10
2017-09-16 00:55:41 +02:00
Neil Lalonde
f698de0bbf
Version bump to v1.9.0.beta9
2017-09-14 11:08:22 -04:00
Robin Ward
48e95f01fc
Version bump to v1.9.0.beta8
2017-08-31 14:54:44 -04:00
Neil Lalonde
df5142493c
Version bump to v1.9.0.beta7
2017-08-17 15:59:29 -04:00
Neil Lalonde
0daeefc977
Version bump to v1.9.0.beta6
2017-08-16 12:49:25 -04:00
Neil Lalonde
a870137845
Version bump to v1.9.0.beta5
2017-08-01 14:32:24 -04:00
Neil Lalonde
890a99232d
Version bump to v1.9.0.beta4
2017-07-10 11:45:43 -04:00
Neil Lalonde
06d814264a
Version bump to v1.9.0.beta3
2017-07-05 12:21:53 -04:00
Neil Lalonde
eaeae0ac31
Version bump to v1.9.0.beta2
2017-06-12 12:48:24 -04:00
Neil Lalonde
82ed51450e
Version bump to v1.9.0.beta1
2017-05-31 16:39:57 -04:00
Neil Lalonde
02fb86916f
Version bump to v1.8.0.beta13
2017-05-22 13:49:35 -04:00
Neil Lalonde
025fca607e
Version bump to v1.8.0.beta12
2017-05-15 11:47:50 -04:00
Neil Lalonde
a501f9d4e5
Version bump to v1.8.0.beta11
2017-04-27 14:05:58 -04:00
Neil Lalonde
8ce14479b6
Version bump to v1.8.0.beta10
2017-04-10 14:31:27 -04:00
Neil Lalonde
2e57464819
Version bump to v1.8.0.beta9
2017-03-28 11:34:01 -04:00
Neil Lalonde
482578ba26
Version bump to v1.8.0.beta8
2017-03-20 12:05:03 -04:00
Neil Lalonde
a97fe5da13
Version bump to v1.8.0.beta7
2017-03-08 12:22:23 -05:00
Neil Lalonde
c085e8f85f
Version bump to v1.8.0.beta6
2017-02-14 17:40:44 -05:00
Neil Lalonde
53d8d126a4
Version bump to v1.8.0.beta5
2017-02-13 16:46:08 -05:00
Neil Lalonde
0a1d05c3b2
Version bump to v1.8.0.beta4
2017-01-26 17:38:06 -05:00
Neil Lalonde
8923e407fe
Version bump to v1.8.0.beta3
2017-01-26 13:34:01 -05:00
Robin Ward
d49473757e
Version bump to v1.8.0.beta2
2017-01-13 11:39:52 -05:00
Neil Lalonde
e0bbe331df
Version bump to v1.8.0.beta1
2017-01-06 16:10:39 -05:00
Neil Lalonde
dd4937a493
Version bump to v1.7.0.beta11
2016-12-28 18:14:06 -05:00
Neil Lalonde
e6361d1228
Version bump to v1.7.0.beta10
2016-12-14 14:57:51 -05:00
Neil Lalonde
ee54e37a1f
Version bump to v1.7.0.beta9
2016-12-07 17:50:43 -05:00
Neil Lalonde
1b393a4013
Version bump to v1.7.0.beta8
2016-11-28 16:07:08 -05:00
Neil Lalonde
61069bf378
Version bump to v1.7.0.beta7
2016-11-02 13:47:48 -04:00
Neil Lalonde
b85056f4cd
Version bump to v1.7.0.beta6
2016-10-20 10:49:55 -04:00
Neil Lalonde
adfa2cb09e
Version bump to v1.7.0.beta5
2016-09-22 12:44:10 -04:00
Neil Lalonde
8087cca54d
Version bump to v1.7.0.beta4
2016-09-13 12:23:51 -04:00