Commit Graph

287 Commits

Author SHA1 Message Date
cryptogopher bb4fbb3adc Refine "add and edit disallow opening multiple forms" test 2024-12-10 18:11:13 +01:00
cryptogopher dc92a333be Fix UnitsTest#test_add_unit 2024-12-10 01:18:27 +01:00
cryptogopher 2bbf62b84b Update gems 2024-12-09 20:01:04 +01:00
cryptogopher f3f0b9dc9e Fix UnitsiTest#test_index 2024-12-09 20:00:14 +01:00
cryptogopher 40808639cc Update tests to new schema 2024-12-08 15:29:01 +01:00
cryptogopher a18f257378 Schema update 2024-12-08 15:28:38 +01:00
cryptogopher e49eac766c Add decimal type requirements 2024-12-08 14:25:06 +01:00
cryptogopher 0b201606c2 Replace #columns_hash with #type_for_attribute for limits 2024-12-08 13:47:30 +01:00
cryptogopher 15a5515c99 Extend NumericalityValidator to check precision and scale
Use new checks on Unit.multiplier
Closes #28
2024-12-07 20:41:19 +01:00
cryptogopher 25ac126df9 Systematize core extesions 2024-12-07 16:05:07 +01:00
cryptogopher d31ff5442a Update messages for empty Unit/default Unit indexes
Closes #26
2024-12-06 15:29:03 +01:00
cryptogopher 7e5f873cde Change helper into BigDecimal method 2024-12-06 15:24:25 +01:00
cryptogopher 2e4eb3d4b5 Rake task to export default settings as seeds 2024-12-06 01:17:05 +01:00
cryptogopher b38d72e9b0 Return to per-action permission filters 2024-11-30 20:15:30 +01:00
cryptogopher 13685aa476 Update error handling according to new rules 2024-11-30 16:28:43 +01:00
cryptogopher 2cbae12fa2 Implement Units default destroy 2024-11-30 16:11:31 +01:00
cryptogopher 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
cryptogopher f9bd81c6ab Implement Unit defaults export
Disable import_all until implemented
2024-11-26 02:31:25 +01:00
cryptogopher 3711251656 Unit: limit symbol length, change name:string -> description:text
Closes #11
Closes #12
2024-11-24 15:13:59 +01:00
cryptogopher d6fdff252a Validate User 'email' and 'unconfirmed_email' lengths
Closes #6
2024-11-24 14:11:54 +01:00
cryptogopher f3751c5fa1 Disallow NULLs 2024-11-23 23:50:57 +01:00
cryptogopher f4ca1e91fa Mark redirecting buttons with trailing '...'
Closes #2
2024-11-23 23:26:08 +01:00
cryptogopher e75391ae18 Display User name using #to_s 2024-11-23 14:55:29 +01:00
cryptogopher 76ce2eeedd Display Unit name using #to_s 2024-11-23 02:24:08 +01:00
cryptogopher bdc4ec4644 Specify user modifiable ATTRIBUTES 2024-11-22 15:48:09 +01:00
cryptogopher 1d439928e2 Import with proper base 2024-11-22 15:18:27 +01:00
cryptogopher e157c17e0e Hide 'Import all' button until implemented 2024-11-22 15:03:33 +01:00
cryptogopher 279f9bd6ac Display Defaults hierarchy including same base Units 2024-11-22 03:10:08 +01:00
cryptogopher 6c678b6560 defaults_diff returns base Units where needed 2024-11-21 01:50:29 +01:00
cryptogopher 1790f2e7f2 Rails upgrade to 7.2.2 to enable recursive CTEs 2024-11-19 00:00:18 +01:00
cryptogopher f0e28deea2 Implement 'import' action 2024-11-17 03:39:39 +01:00
cryptogopher 41982e9dbc Import portability checks complete 2024-11-16 02:31:53 +01:00
cryptogopher d9e74ed305 Avoid unscoping 2024-11-15 19:45:55 +01:00
cryptogopher 4447735dce First part of portability checks 2024-11-15 02:02:19 +01:00
cryptogopher a01c89ce3a Further simplify EXISTS condition with SelectManager 2024-11-14 04:28:20 +01:00
cryptogopher 7234d60afc Replace additional joins with NOT EXISTS subquery 2024-11-14 02:50:53 +01:00
cryptogopher 4c09989788 Add translation 2024-11-11 15:43:20 +01:00
cryptogopher 9a02f0b0ae Fix quotes and translations 2024-11-10 21:46:00 +01:00
cryptogopher 51011951f9 Default Units index 2024-11-10 21:30:19 +01:00
cryptogopher aebbe11bef Add default Units actions 2024-11-10 17:34:43 +01:00
cryptogopher 817b1a4376 Update permission checking 2024-11-10 17:34:02 +01:00
cryptogopher 537cd18336 Change namespace for defaults controllers
To allow proper path prefix for view partials when using
config.action_view.prefix_partial_path_with_controller_namespace
2024-11-09 21:50:50 +01:00
cryptogopher f402e6ba00 Add source of icons 2024-11-09 15:58:01 +01:00
cryptogopher f899fed910 Prefer icons without circle 2024-11-09 15:56:22 +01:00
cryptogopher 846eb6da14 Preliminary support for default Units import 2024-11-09 02:05:04 +01:00
cryptogopher be48d6fd7f Use Arel::FactoryMehods for coalesce() 2024-11-09 02:03:34 +01:00
cryptogopher c6a7838df1 Change 'Back' button to tab 2024-11-09 02:02:01 +01:00
cryptogopher 769e4af603 Bring per-installation setting to application.rb 2024-06-04 00:47:50 +02:00
cryptogopher e905910719 Import previously missed settings to *.dist 2024-06-04 00:45:33 +02:00
cryptogopher 07b4f89d1c Update /profile/edit layout to grid
Closes #29
2024-05-16 21:02:04 +02:00