1
0

91 Commits

Author SHA1 Message Date
cryptogopher 71bfc5a33a Last changes on Redmine 4.0 2022-07-24 16:46:28 +02:00
cryptogopher 4eda035e47 Test pass: test_destroy
Expand Targets #update success flash and failure handling
Add Target index table checks in modification actions tests
2021-04-29 01:30:13 +02:00
cryptogopher 37e3b98788 Improve #create action 2021-04-20 16:57:15 +02:00
cryptogopher 0b9401b089 Proper nested records uniqueness validation
Test pass: test_create_duplicate_for_persisted_target_should_fail
2021-04-19 00:38:28 +02:00
cryptogopher 406eabaccc Fix target subtreshold listing
Route targets under goal
2021-03-06 13:00:50 +01:00
cryptogopher 09e27eb754 List binding goal targets 2021-02-21 19:41:24 +01:00
cryptogopher 7f87b3bc84 Add GoalController: #index, #new, #create 2021-02-21 18:10:15 +01:00
cryptogopher 8b17b33603 WIP: Targets configurable with Quantities 2021-02-07 11:02:41 +01:00
cryptogopher b742f39c7d Link rearrangement 2021-01-19 09:36:21 +01:00
cryptogopher 503f393f68 Set page title same as heading 2021-01-18 21:38:53 +01:00
cryptogopher f9ba308072 Added test_create_binding_target
Goals (incl. binding) are required to have targets
Plugin fixtures are available through accessors
2020-08-20 21:52:18 +02:00
cryptogopher cf3bbb205d Added Targets index 2020-08-06 21:52:33 +02:00
cryptogopher ffcc9553d5 Added Target create action 2020-07-25 16:28:55 +02:00
cryptogopher 5b83860ed7 Target form WIP 2020-07-02 18:59:55 +02:00
cryptogopher 0df2c6ec4f Preliminary Target #new support 2020-06-27 21:52:32 +02:00
cryptogopher 1dd2e2b596 Added Goal model and preliminary Targets index 2020-06-25 03:56:49 +02:00
cryptogopher 6b3714817c Formula reports ambiguous quantity identifiers
Formula returns error.details for Rails 4
Formula distinguishes root path (::Identifier)
Quantity validates name changes against introducing formulas'
ambiguities
2020-06-13 18:18:53 +02:00
cryptogopher 008cfdcd26 Relaxed quantity name uniqueness check 2020-05-28 23:19:59 +02:00
cryptogopher ffb87a09c4 Error reporting on failed loading of default(s) 2020-05-11 20:46:31 +02:00
cryptogopher 1f5ea1cfb6 compute_quantities: allow indirect associations and model dependencies 2020-05-10 18:06:32 +02:00
cryptogopher da11c0f626 Restyled quantity header
Exposure close button removed, toggling only from select
2020-04-29 22:26:48 +02:00
cryptogopher 1007385e1f Added eaten_at to Meal form 2020-04-24 16:53:24 +02:00
cryptogopher 3706206191 Update notes in div 2020-04-19 18:16:07 +02:00
cryptogopher 620d86b18a Updated Meals index 2020-04-19 00:02:39 +02:00
cryptogopher 50b89de904 Meals index, WIP 2020-04-18 18:29:53 +02:00
cryptogopher 3ff36df168 IngredientsController#index WIP 2020-04-18 01:22:21 +02:00
cryptogopher e78803e474 Added MealsController#new and form autocomplete for Food
Renamed QuantityColumn -> Exposure
2020-04-15 23:42:58 +02:00
cryptogopher 8e8160c41a Renamed Ingredient -> Food
Ingredient is now part of composition (meal/recipe/dish)
2020-04-14 19:44:19 +02:00
cryptogopher c3010a70e8 Adding Meals, WIP 2020-04-13 15:36:59 +02:00
cryptogopher 9f63c14f8a Adding MeasurementRoutine selection/editing support 2020-04-02 02:23:53 +02:00
cryptogopher 18419f1aeb Added MeasurementRoutine as a nested Measurement model
Updated ItemsWithQuantities to work with MeasurementRoutine
Replaced ColumnViews HABTM with polymorphic HMT
Added Measurement notes
Added destroy restrictions on Quantity
Replaced BodyTrackingPluginController with Finders concern
Removed 'body_trackers' prefix from paths
Unified styling for textarea
2020-03-29 00:56:37 +01:00
cryptogopher 2efdc08931 Added setting Formula unit in form and when loading defaults 2020-03-25 21:40:24 +01:00
cryptogopher c262e82c7b Renamed Ingredient comment -> notes 2020-03-25 00:26:35 +01:00
cryptogopher c3b783e942 Displaying errors for uncomputable formulas in nutrients view 2020-03-21 00:38:39 +01:00
cryptogopher 2d778c831b Introduced plugin layout instead of using Redmine ViewListener render_on 2020-02-22 22:39:12 +01:00
cryptogopher 0f8f74ffec Added zero_nil to Measurement filter formula 2020-02-22 22:14:21 +01:00
cryptogopher b1e7236460 Added zero_nil to Quantity form and import 2020-02-20 21:55:38 +01:00
cryptogopher c774f7745d Add child Quantity action added 2020-02-19 21:24:17 +01:00
cryptogopher b7b7401833 Updated Quantity to use Formula
and upgraded controller actions to match Measurement/Ingredient
2020-02-19 17:57:29 +01:00
cryptogopher 544c0c5293 Updating Quantity to use Formula, WIP 2020-02-17 22:15:30 +01:00
cryptogopher 9803b31f78 Integarted FormulaBuilder into Formula 2020-01-22 22:54:54 +01:00
cryptogopher e0c08c0e6a refining complex formulas 2020-01-14 23:33:25 +01:00
cryptogopher a4ec6a0c12 Added Ingredient editing
Improved Ingredient to match Measurement functionality
2019-12-30 23:45:59 +01:00
cryptogopher cc62ef1002 Added Ingredient comment attribute
Minor view updates
2019-12-27 22:40:07 +01:00
cryptogopher 0c0ca1d286 Replaced Quantity 'primary' attr with ColumnView model 2019-12-14 23:56:36 +01:00
cryptogopher 40e9c6f8ae Added Measurement readouts action 2019-12-08 01:00:54 +01:00
cryptogopher 681c0279fb Measurement improvements
Added 'new' action.
Separated js views for new/create/edit.
Displaying taken_at in local time.
Fixed readout destruction on edit.
2019-12-06 21:48:06 +01:00
cryptogopher 03d3e1e262 Layout updates 2019-12-03 01:21:17 +01:00
cryptogopher 54040a2764 Added setting taken_at in measurement form
Changed action toggle -> retake
2019-12-01 01:08:09 +01:00
cryptogopher fc2db76a3e Updated Measurement to reflect ReadoutValue removal 2019-11-30 01:01:43 +01:00