Commit Graph

132 Commits

Author SHA1 Message Date
cryptogopher af28e88243 Improve index tables
Stretch inputs to column width in place of fixed sizing.
Set minimum column widths for columns with form inputs.
Simplify table operations by removing `thead` and adding sentinel.
Manage empty table display with CSS only.
2026-11-06 23:10:05 +01:00
cryptogopher 204b5ad34d Replace patched #dom_id with #dom_target 2026-11-06 23:10:05 +01:00
cryptogopher b14efa52d8 Update and move turbo_stream actions to separate file
Use CSS `visibility` instead of `display` for #show/#hide.
Access data attributes through `dataset` property.
2026-11-06 23:10:05 +01:00
cryptogopher 1e2f9a277f Display form errors using custom validity messages 2026-11-06 23:10:04 +01:00
cryptogopher 4615960236 Check for out of range float values
Remove unsupported attribute `[maxlength]` from `input[number]`.
2026-11-06 23:10:04 +01:00
cryptogopher b16ccf795b Improve tests, extend fixtures 2026-11-06 23:10:04 +01:00
cryptogopher 8a094f4822 Test Unit using float multiplier
Improve string randomization. Use Capybara table selectors.
2026-11-06 23:10:04 +01:00
cryptogopher 97ff675698 Use <pre> tag for formatting 2026-11-06 23:10:04 +01:00
cryptogopher dbfdbab073 Change Unit.multiplier type from decimal to float
Remove remnants related to BigDecimal.
2026-11-06 23:10:04 +01:00
cryptogopher 13b660b243 Allow Capybara test server IP in HostAuthorization 2026-11-06 23:10:04 +01:00
cryptogopher aa6ac1617f Move migration defaults to ActiveRecord migration strategy
Remove redundant defaults
2026-11-06 23:10:04 +01:00
cryptogopher 717b6fa55a Upgrade Rails to 8.1.3 2026-11-06 23:10:04 +01:00
cryptogopher 6cea6931e1 Filter :email field logging only in production env 2026-11-06 23:10:04 +01:00
cryptogopher 414b41a29e Generate admin password on db:seed
Test admin account creation in db:seed
2026-11-06 23:10:04 +01:00
cryptogopher 5bdbffc9f7 Run tests on multiple database configurations 2026-11-06 23:10:04 +01:00
cryptogopher 5ca14212f7 Upgrade Rails to 8.0.5
Install sqlite3
Migrate Rails default settings from 7.2 to 8.0
2026-11-06 23:10:04 +01:00
cryptogopher f87aa9fd3d Improve Measurement form layout and styling 2026-04-25 04:13:47 +02:00
cryptogopher 83b064ef3c Merge recover password/resend confirmation forms into sign in/register
Closes #65, #66
2026-03-01 20:04:42 +01:00
cryptogopher 84945fa4b4 Simplify and improve labeled form 2026-02-22 00:53:18 +01:00
cryptogopher bd1a664caa Measurement form based on select-styled <details> 2026-01-31 17:22:09 +01:00
cryptogopher ef0f3cbae3 Revert to asset precompilation in production 2025-07-26 00:10:59 +02:00
cryptogopher da38d8b585 Create Devise routes only when 'users' table exists
Closes #42
2025-07-25 15:30:26 +02:00
magicfixin 5ffc6974f0 Improve installation process 2025-07-23 23:42:41 +02:00
cryptogopher ef3484dfdf Update Measurements#new form pathnames on actions 2025-05-07 00:24:05 +02:00
cryptogopher 4c867daabb Patch ActiveRecord with PR 54658 2025-03-22 14:14:42 +01:00
cryptogopher c48bf290fd Implement Measurements#new 2025-02-18 11:25:32 +01:00
cryptogopher 9d60eee16b Add Measurements tab and #new form 2025-01-25 16:34:04 +01:00
cryptogopher 201359de3e Allow to reparent Quantity everywhere
Closes #61
2025-01-14 21:13:35 +01:00
cryptogopher 644d1f4b9a Add Quantity #reparent action 2025-01-14 15:02:38 +01:00
cryptogopher 0652d4a89b Disallow self- and descendant-reference for base/parent 2025-01-12 19:15:43 +01:00
cryptogopher d5e7ccacf5 Add Quantity #edit and #update 2025-01-11 22:51:49 +01:00
cryptogopher 57f10c94a4 Add Quantity #new, #create, #destroy actions 2025-01-11 17:01:34 +01:00
cryptogopher aa862f0e90 Quantities index WIP 2025-01-05 20:47:49 +01:00
cryptogopher b3aea97087 Add Quantities tab 2025-01-05 03:18:39 +01:00
cryptogopher b133b2be7c Add seperate 'no items' message for defaults
Closes #53
2025-01-03 18:47:56 +01:00
cryptogopher 80f05ba45f Change root routes to redirects 2025-01-02 19:29:44 +01:00
cryptogopher ef825728ac Set single quotes for direct routes 2025-01-02 15:23:22 +01:00
cryptogopher b8bcbee1e9 Separate root routes for un- and authenticated users
Closes #34
Closes #47
2025-01-02 15:19:33 +01:00
cryptogopher fd4c7259b0 Move navigation tab labels 2025-01-02 02:48:33 +01:00
cryptogopher 8552571526 Disable Unit destuction for base units with subunits
Closes #40
2024-12-28 23:57:47 +01:00
cryptogopher 0659c1e1c1 Don't render index on Unit actions 2024-12-22 01:31:14 +01:00
cryptogopher d726e92445 Allow opening multiple new/edit forms
Closes #30
2024-12-21 17:52:45 +01:00
cryptogopher e15b983b56 Avoid duplicated symbols, check created record attributes 2024-12-15 23:36:24 +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 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