Commit Graph

19 Commits

Author SHA1 Message Date
3be4924b99 DEV: Move array type custom fields to JSON type in automation (#26939)
The automation plugin has 4 custom field types that are array typed. However, array typed custom fields are deprecated and should be migrated to JSON type.

This commit does a couple of things:

1. Migrate all four custom fields to JSON
2. Fix a couple of small bugs that have been discovered while migrating the custom fields to JSON (see the comments on this commit's PR for details https://github.com/discourse/discourse/pull/26939)
2024-05-10 18:47:12 +03:00
3d4faf3272 FEATURE: Merge discourse-automation (#26432)
Automation (previously known as discourse-automation) is now a core plugin.
2024-04-03 18:20:43 +03:00
d7a09fb08d DEV: Add true_fields method for CustomFields (#24876)
This is useful for plugins that might otherwise rely on the
CUSTOM_FIELD_TRUE constant.
2023-12-14 11:06:21 -06:00
4b55b59931 DEV: Update core model annotations
Generated using `bin/rake annotate:clean`
2021-07-06 10:11:06 +01:00
c6bf70c870 DEV: annotate models (#11047) 2020-10-27 23:42:33 +05:30
e66eefe179 Annotate models. 2020-09-01 10:22:32 +05:30
daddad7fd6 DEV: Update annotations. 2020-08-21 11:36:53 +08:00
db4e310376 DEV: annotate models 2020-07-22 16:02:31 +05:30
2152e70e0d DEV: annotate models 2020-05-27 19:05:24 +05:30
198856f78d DEV: annotate models 2020-04-28 15:59:39 +05:30
04fdada96a annotate models 2019-05-29 14:26:24 +10:00
028121b95b FIX: delete system generated message when user_export record is deleted (#7595)
FIX: system generated message for user export should be closed by default
2019-05-28 16:38:41 +05:30
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
214dac05de Update annotations. 2018-07-16 14:19:07 +08:00
Sam
089b1d164c annotate models
(reminder run RAILS_ENV=test bin/annotate once in a while)
2016-05-30 10:45:32 +10:00
Sam
21402d9d9e annotations 2015-02-04 16:34:25 +11:00
Sam
414c6d191f FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
Sam
34d1668f9f FEATURE: backend for inviting a user to a group 2014-05-09 18:22:35 +10:00
e502122c51 Add Custom Fields on Topics 2014-04-29 19:26:42 +02:00