92 Commits

Author SHA1 Message Date
0659c1e1c1 Don't render index on Unit actions 2024-12-22 01:31:14 +01:00
d726e92445 Allow opening multiple new/edit forms
Closes #30
2024-12-21 17:52:45 +01:00
e15b983b56 Avoid duplicated symbols, check created record attributes 2024-12-15 23:36:24 +01:00
15a5515c99 Extend NumericalityValidator to check precision and scale
Use new checks on Unit.multiplier
Closes #28
2024-12-07 20:41:19 +01:00
25ac126df9 Systematize core extesions 2024-12-07 16:05:07 +01:00
d31ff5442a Update messages for empty Unit/default Unit indexes
Closes #26
2024-12-06 15:29:03 +01:00
2e4eb3d4b5 Rake task to export default settings as seeds 2024-12-06 01:17:05 +01:00
b38d72e9b0 Return to per-action permission filters 2024-11-30 20:15:30 +01:00
13685aa476 Update error handling according to new rules 2024-11-30 16:28:43 +01:00
2cbae12fa2 Implement Units default destroy 2024-11-30 16:11:31 +01:00
f9bd81c6ab Implement Unit defaults export
Disable import_all until implemented
2024-11-26 02:31:25 +01:00
f4ca1e91fa Mark redirecting buttons with trailing '...'
Closes #2
2024-11-23 23:26:08 +01:00
76ce2eeedd Display Unit name using #to_s 2024-11-23 02:24:08 +01:00
4c09989788 Add translation 2024-11-11 15:43:20 +01:00
9a02f0b0ae Fix quotes and translations 2024-11-10 21:46:00 +01:00
51011951f9 Default Units index 2024-11-10 21:30:19 +01:00
aebbe11bef Add default Units actions 2024-11-10 17:34:43 +01:00
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
846eb6da14 Preliminary support for default Units import 2024-11-09 02:05:04 +01:00
769e4af603 Bring per-installation setting to application.rb 2024-06-04 00:47:50 +02:00
e905910719 Import previously missed settings to *.dist 2024-06-04 00:45:33 +02:00
07b4f89d1c Update /profile/edit layout to grid
Closes #29
2024-05-16 21:02:04 +02:00
927a8330bc Add souce code and issue tracker links
Closes #3
2024-05-12 23:21:30 +02:00
965cb76f1d Generate Units::Defaults controller
bin/rails g controller Units/Defaults index
2024-05-04 01:53:57 +02:00
b4212298df Add Unit defaults import link 2024-05-04 01:47:53 +02:00
175ccf6eae Allow Unit rebase to top-level
Outline base Unit row during drag
Closes #25
2024-04-05 02:18:05 +02:00
a5a75233c7 Validate Unit base user 2024-04-02 22:20:45 +02:00
1966c782bc Unit rebase as a separate action 2024-04-02 22:16:27 +02:00
05b0c66216 Change unit base with drag and drop 2024-03-24 17:38:56 +01:00
f298acd726 Display errors for table-embedeed forms 2024-03-15 02:40:17 +01:00
69db87f9c6 Include date/time and seed in screenshot filename 2024-02-14 01:50:47 +01:00
c9974fce05 Rename initializer after hook name 2024-02-14 01:49:47 +01:00
10f866d40b Remove unused code kept only as reference 2024-02-11 18:37:35 +01:00
1198add901 Rewrite stream rendering to avoid client-side expanding
* adding streams in client breaks things (e.g. autofocus)
* some tasks need to be performed in one stream action to avoid
  flickering (e.g. table row substitution)
2024-02-11 18:31:06 +01:00
76aae56ed5 Allow stream action to expand into multiple actions
e.g. by including 'onclick()' event handler
2024-02-04 20:05:36 +01:00
a7f80a575c Manage client-side js with turbo_stream actions 2024-01-22 02:14:01 +01:00
0e8bc18620 Enable creation of subunits 2024-01-22 02:09:46 +01:00
0e85a21d2c Button disabling/enabling
Closes #10
2024-01-20 15:02:45 +01:00
dec3af27bf Migrate Users views to grid layout + turbo_stream
Closes #7
2024-01-17 03:30:04 +01:00
5047d4909f Render units from collection, without redirects 2024-01-15 18:45:30 +01:00
de995aa586 Testing environment updates 2024-01-15 02:05:08 +01:00
9a9a139aa7 Handle exceptions during TURBO_STREAM requests 2024-01-15 01:59:30 +01:00
93929f2c07 Change User#disguise/revert to GET 2024-01-15 01:07:45 +01:00
9a56681a85 Fix warnings 2024-01-14 03:27:22 +01:00
0801e8059c Close form on Esc key. Localize submit button. 2024-01-06 18:06:36 +01:00
ba3c2a99b9 Don't trigger file encoding detection 2024-01-06 03:49:18 +01:00
4b2ed2fa39 Avoid wrapping datetime format 2024-01-06 02:23:18 +01:00
6d9f4918f1 Change 'Add unit' link to turbo_stream 2024-01-04 23:11:33 +01:00
8c6d296021 Enable turbo (without Drive) 2023-12-03 23:27:10 +01:00
0620d18391 Remove default BigDecimal formatting 2023-07-06 18:36:23 +02:00