26 Commits

Author SHA1 Message Date
1fedd70fe5 Fix defaults listing
Base symbol was displayed twice when it existed as default and
non-default and both of them had at least one subunit.
Also: sorting by base_id yielded non-alphabetic order in such case.
2024-11-27 19:54:50 +01:00
f9bd81c6ab Implement Unit defaults export
Disable import_all until implemented
2024-11-26 02:31:25 +01:00
3711251656 Unit: limit symbol length, change name:string -> description:text
Closes #11
Closes #12
2024-11-24 15:13:59 +01:00
76ce2eeedd Display Unit name using #to_s 2024-11-23 02:24:08 +01:00
bdc4ec4644 Specify user modifiable ATTRIBUTES 2024-11-22 15:48:09 +01:00
279f9bd6ac Display Defaults hierarchy including same base Units 2024-11-22 03:10:08 +01:00
6c678b6560 defaults_diff returns base Units where needed 2024-11-21 01:50:29 +01:00
f0e28deea2 Implement 'import' action 2024-11-17 03:39:39 +01:00
41982e9dbc Import portability checks complete 2024-11-16 02:31:53 +01:00
d9e74ed305 Avoid unscoping 2024-11-15 19:45:55 +01:00
4447735dce First part of portability checks 2024-11-15 02:02:19 +01:00
a01c89ce3a Further simplify EXISTS condition with SelectManager 2024-11-14 04:28:20 +01:00
7234d60afc Replace additional joins with NOT EXISTS subquery 2024-11-14 02:50:53 +01:00
51011951f9 Default Units index 2024-11-10 21:30:19 +01:00
846eb6da14 Preliminary support for default Units import 2024-11-09 02:05:04 +01:00
be48d6fd7f Use Arel::FactoryMehods for coalesce() 2024-11-09 02:03:34 +01:00
a5a75233c7 Validate Unit base user 2024-04-02 22:20:45 +02:00
05b0c66216 Change unit base with drag and drop 2024-03-24 17:38:56 +01:00
59db1fef17 Set multiplier default in db, not model 2024-03-15 19:36:05 +01:00
aa4a8193ce Set multiplier to 1 for base units 2024-03-15 17:16:14 +01:00
50eedf8b23 Update TODOs 2024-01-17 21:59:28 +01:00
11ecd8eaed Remove awesome_nested_set gem dependency 2024-01-17 05:43:55 +01:00
4e91c89153 List units ordered, not using nested_set 2024-01-09 00:11:26 +01:00
92132768fa Multiplier in nil for toplevel units 2024-01-09 00:08:53 +01:00
98c8fb9346 Validate Unit string lengths 2024-01-05 21:32:59 +01:00
a4745c9cb8 Add Units 2023-07-06 18:34:16 +02:00