Loïc Guitaut
5257c80064
DEV: Set limits on custom fields
...
This patch sets some limits on custom fields:
- an entity can’t have more than 100 custom fields defined on it
- a custom field can’t hold a value greater than 10,000,000 characters
The current implementation of custom fields is relatively complex and
does an upsert in SQL at some point, thus preventing to simply add an
`ActiveRecord` validation on the custom field model without having to
rewrite a part of the existing logic.
That’s one of the reasons this patch is implementing validations in the
`HasCustomField` module adding them to the model including the module.
2023-06-13 11:47:21 +02:00
..
2023-03-02 08:10:16 +10:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-05-15 14:12:25 +10:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-05-15 09:54:54 +02:00
2023-06-01 10:00:01 +10:00
2023-01-09 11:49:28 +00:00
2023-03-08 10:39:12 +10:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-05-30 18:41:50 -03:00
2023-03-10 13:45:01 +08:00
2023-06-13 11:47:21 +02:00
2023-05-18 12:46:44 +03:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-02-06 18:24:12 +00:00
2022-07-28 10:27:38 +08:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-25 13:50:45 +02:00
2023-04-13 15:38:54 +08:00
2023-03-01 11:07:13 -08:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2022-07-28 10:27:38 +08:00
2023-01-09 11:49:28 +00:00
2023-05-24 09:57:46 +02:00
2023-06-13 11:47:21 +02:00
2023-03-01 15:35:21 +11:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-05-24 15:51:33 +02:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-03-02 16:40:53 +01:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2022-07-28 10:27:38 +08:00
2023-05-25 14:38:34 -04:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-06-13 11:47:21 +02:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-05-06 07:15:33 +10:00
2023-01-09 11:49:28 +00:00
2023-03-02 16:40:53 +01:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-05-03 09:54:54 +02:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-04-05 10:52:18 +10:00
2023-05-25 09:10:32 +08:00
2023-05-24 08:59:19 +10:00
2023-01-09 11:49:28 +00:00
2023-05-30 18:41:50 -03:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-05-04 12:14:09 +10:00
2023-01-09 11:49:28 +00:00
2023-06-09 13:53:21 -05:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-03-14 13:11:45 -05:00
2023-01-09 11:49:28 +00:00
2023-02-13 12:39:45 +08:00
2022-07-28 10:27:38 +08:00
2023-01-09 11:49:28 +00:00
2023-04-27 19:57:06 +10:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-02-13 12:39:45 +08:00
2023-01-09 11:49:28 +00:00
2023-05-31 19:32:06 +05:30
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-06-13 11:47:21 +02:00
2023-01-20 09:50:24 +08:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-12 08:22:28 +08:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-02-20 10:31:02 +01:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-02-15 12:41:04 +11:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2022-07-28 10:27:38 +08:00
2023-01-09 11:49:28 +00:00
2023-06-01 10:00:01 +10:00
2023-04-24 20:36:40 +00:00
2023-03-08 10:39:12 +10:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-02-21 11:52:04 -05:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-03-01 12:23:29 +08:00
2023-01-09 11:49:28 +00:00
2023-06-13 11:47:21 +02:00
2023-04-11 12:28:08 +10:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-05-02 17:34:53 +10:00
2023-01-09 11:49:28 +00:00
2023-05-06 07:15:33 +10:00
2023-01-09 11:49:28 +00:00
2023-05-04 10:15:31 +01:00