Commit Graph

340 Commits

Author SHA1 Message Date
=
6cd964306f Bump version to v3.4.0.beta4-dev 2024-12-19 13:22:05 -03:00
=
bc4ab613ce Bump version to v3.4.0.beta3 2024-12-19 13:22:04 -03:00
322a3be2db DEV: Remove logical OR assignment of constants (#29201)
Constants should always be only assigned once. The logical OR assignment
of a constant is a relic of the past before we used zeitwerk for
autoloading and had bugs where a file could be loaded twice resulting in
constant redefinition warnings.
2024-10-16 10:09:07 +08:00
4ba8d3b76b Bump version to v3.4.0.beta3-dev 2024-10-07 12:14:10 +08:00
9cfe725b37 Bump version to v3.4.0.beta2 2024-10-07 12:14:09 +08:00
f405c021eb Bump version to v3.4.0.beta2-dev 2024-08-27 10:54:25 -04:00
85abac4230 Bump version to v3.4.0.beta1 2024-08-27 10:54:25 -04:00
Nat
b29f49be97 Bump version to v3.4.0.beta1-dev 2024-07-30 15:35:33 +08:00
Nat
a4bfe8adb4 Bump version to v3.3.0.beta6 2024-07-30 15:35:32 +08:00
Nat
1239287697 Bump version to v3.3.0.beta6-dev 2024-07-30 14:35:57 +08:00
Nat
f4cbf025b5 Bump version to v3.3.0.beta5 2024-07-30 14:35:56 +08:00
Nat
d32675ace2 Bump version to v3.3.0.beta5-dev 2024-07-15 20:30:15 +08:00
Nat
c9e24eca39 Bump version to v3.3.0.beta4 2024-07-15 20:30:14 +08:00
28f5550886 DEV: Redo DiscourseLogstashLogger to not rely on logstash-logger (#27759)
This reverts commit 92d7d24d0ffbf3e224af19eda2b24df740df056b.
2024-07-08 14:03:11 +08:00
92d7d24d0f Revert "DEV: Redo DiscourseLogstashLogger to not rely on logstash-logger (#27663)" (#27733)
This reverts commit 8e10878e1a37a608b0e1705bf9d0a06a295b8a63.

Something is broken on a friday so reverting first before I pick this up
again next Monday.
2024-07-05 17:26:58 +08:00
8e10878e1a DEV: Redo DiscourseLogstashLogger to not rely on logstash-logger (#27663)
This commit rewrites `DiscourseLogstashLogger` to not be an instance
of `LogstashLogger`. The reason we don't want it to be an instance of
`LogstashLogger` is because we want the new logger to be chained to
Logster's logger which can then pass down useful information like the
request's env and error backtraces which Logster has already gathered.

Note that this commit does not bother to maintain backwards
compatibility and drops the `LOGSTASH_URI` and `UNICORN_LOGSTASH_URI`
ENV variables which were previously used to configure the destination in
which `logstash-logger` would send the logs to. Instead, we introduce
the `ENABLE_LOGSTASH_LOGGER` ENV variable to replace both ENV and remove
the need for the log paths to be specified. Note that the previous
feature was considered experimental as stated in d888d3c54c4744d52b9d21d3728f5d6dbc132cde
and the new feature should be considered experimental as well. The code
may be moved into a plugin in the future.
2024-07-05 09:41:52 +08:00
Nat
65be7a7880 Bump version to v3.3.0.beta4-dev 2024-07-03 20:56:17 +08:00
Nat
a29ec30985 Bump version to v3.3.0.beta3 2024-07-03 20:56:17 +08:00
2a28cda15c DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
fb63ddd7d2 Bump version to v3.3.0.beta3-dev 2024-05-15 12:24:11 -03:00
c723c126f2 Bump version to v3.3.0.beta2 2024-05-15 12:24:11 -03:00
0ad4034c58 DEV: Add a note about the version bump rake tasks (#26512) 2024-04-04 11:59:29 +01:00
689d2754f6 DEV: Bump the version to 3.3.0.beta2-dev (#26499)
This was accidentally omitted during the beta1 release process
2024-04-03 22:08:04 +01:00
Nat
ad7e3e04f3 Bump version to v3.3.0.beta1 2024-03-15 15:01:58 +08:00
a4022f69f3 Bump version to v3.3.0.beta1-dev 2024-01-30 10:37:25 -07:00
b2b1e721b5 Bump version to v3.2.0.beta5 2024-01-30 10:37:25 -07:00
d795a59fab Bump version to v3.2.0.beta5-dev 2024-01-08 12:41:52 -05:00
f953d9b113 Bump version to v3.2.0.beta4 2024-01-08 12:41:51 -05:00
e463bc9a67 Revert "DEV: Version bumps for main: v3.2.0.beta4, v3.2.0.beta5-dev (#25168)" (#25169)
This reverts commit ab0fea3f427363682707e58f13720a27632a7748.
2024-01-08 10:24:04 -07:00
ab0fea3f42 DEV: Version bumps for main: v3.2.0.beta4, v3.2.0.beta5-dev (#25168)
* Bump version to v3.2.0.beta4
* Bump version to v3.2.0.beta5-dev
2024-01-08 10:07:33 -07:00
694b5f108b DEV: Fix various rubocop lints (#24749)
These (21 + 3 from previous PRs) are soon to be enabled in rubocop-discourse:

Capybara/VisibilityMatcher
Lint/DeprecatedOpenSSLConstant
Lint/DisjunctiveAssignmentInConstructor
Lint/EmptyConditionalBody
Lint/EmptyEnsure
Lint/LiteralInInterpolation
Lint/NonLocalExitFromIterator
Lint/ParenthesesAsGroupedExpression
Lint/RedundantCopDisableDirective
Lint/RedundantRequireStatement
Lint/RedundantSafeNavigation
Lint/RedundantStringCoercion
Lint/RedundantWithIndex
Lint/RedundantWithObject
Lint/SafeNavigationChain
Lint/SafeNavigationConsistency
Lint/SelfAssignment
Lint/UnreachableCode
Lint/UselessMethodDefinition
Lint/Void

Previous PRs:
Lint/ShadowedArgument
Lint/DuplicateMethods
Lint/BooleanSymbol
RSpec/SpecFilePathSuffix
2023-12-06 23:25:00 +01:00
e5e7dd78c2 Bump version to v3.2.0.beta4-dev 2023-11-09 14:25:44 +11:00
95b7cbd8a1 Bump version to v3.2.0.beta3 2023-11-09 14:25:44 +11:00
1400d4a8fd Bump version to v3.2.0.beta3-dev 2023-10-16 11:20:22 -04:00
be04154838 Bump version to v3.2.0.beta2 2023-10-16 11:20:20 -04:00
75e8a6bf90 Bump version to v3.2.0.beta2-dev 2023-09-12 15:41:11 -03:00
a9cc379121 Bump version to v3.2.0.beta1 2023-09-12 15:41:11 -03:00
6f782d8e45 SECURITY: Add limits for themes and theme assets
This commit adds limits to themes and theme components on the:

- file size of about.json and .discourse-compatibility
- file size of theme assets
- number of files in a theme
2023-09-12 15:31:31 -03:00
20481abefc Bump version to v3.2.0.beta1-dev 2023-08-01 09:50:46 +01:00
9b339bcd2c Bump version to v3.1.0.beta8 2023-08-01 09:50:45 +01:00
263afe6b6a Bump version to v3.1.0.beta7 2023-07-28 13:05:29 +01:00
6222a60335 DEV: Refactor Discourse::VERSION and add -dev support (#22807)
For the Discourse 3.2 beta series, we intend to use a `-dev` suffix while beta versions are being developed in `main`/`tests-passed`. When a beta version is ready, it will be 'released' without the `-dev` suffix.

This commit adds support for the `-dev` suffix, and also refactors `Discourse::VERSION` so that the canonical representation is a simple human-readable string. Constants for each segment are derived  from that, so the interface remains unchanged.
2023-07-26 14:48:08 +01:00
00903f6b11 DEV: Support version operators in .discourse-compatibility (#22714)
This adds support for the `<=` and `<` version operators in `.discourse-compatibility` files. This allows for more flexibility (e.g. targeting the entire 3.1.x stable release via `< 3.2.0.beta1`), and should also make compatibility files to be more readable.

If an operator is not specified we default to `<=`, which matches the old behavior.
2023-07-25 14:04:39 +01:00
78b009aafe Version bump to v3.1.0.beta6 (#22555) 2023-07-11 16:25:44 -06:00
286dfcacb4 Version bump to v3.1.0.beta5 (#22092) 2023-06-13 12:08:36 -06:00
ca82752976 Version bump to v3.1.0.beta4 (#21135) 2023-04-18 16:14:41 +08:00
6b5743ba3c Version bump to v3.1.0.beta3 (#20712) 2023-03-16 17:51:54 -06:00
e6a41150e2 Version bump to v3.1.0.beta2 (#19999) 2023-01-25 13:47:16 -05:00
17daf077e2 Version bump to v3.1.0.beta1 (#19822) 2023-01-11 08:39:15 +03:00
6417173082 DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00