1
0

388 Commits

Author SHA1 Message Date
cryptogopher
a784ca6514 Update to Redmine 5/Rails 6 2023-12-07 17:01:42 +01:00
cryptogopher
71bfc5a33a Last changes on Redmine 4.0 2022-07-24 16:46:28 +02:00
cryptogopher
745e1f4264 Fix readout quantity tree display 2021-05-19 22:39:04 +02:00
cryptogopher
96d1c40cb8 Display readout list in tree format 2021-05-12 21:34:00 +02:00
cryptogopher
bb43370329 remove unused 'primary' css class 2021-05-08 15:38:41 +02:00
cryptogopher
847975b36d Move quantity header generation to helper 2021-05-08 15:29:24 +02:00
cryptogopher
7b2b855d56 Create Readouts controller
Move #readouts + #toggle_exposure from Measurements to Readouts
2021-05-08 01:02:57 +02:00
cryptogopher
40cce31bff Add Goals #destroy placeholder 2021-05-06 23:53:02 +02:00
cryptogopher
74b4dabf86 Update Measurements form based on Targets 2021-05-06 21:52:35 +02:00
cryptogopher
e301665b6a Add Targets #show
Change css classes from subject-oriented to property-oriented
2021-05-05 12:42:30 +02:00
cryptogopher
8cac724694 Test pass: test_reapply_binding_target
Add Targets #reapply action
Explicit params[:date] conversion
2021-04-30 00:49:09 +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
5b80272ae0 Test fix 2021-04-26 15:35:15 +02:00
cryptogopher
a210ccc661 Test pass: test_update_add_and_simultaneously_remove_persisted_duplicate
Replace option[selected] with option:checked
Fix target validation when threshold destroyed
Extract #fill_threshold in tests
2021-04-26 15:29:04 +02:00
cryptogopher
788dbc67c1 Select date with at least one target undefined...
...in: test_create_duplicated_targets_should_fail
Add assert messages for clarification
2021-04-26 02:19:49 +02:00
cryptogopher
2fcc1e2ed1 Avoid date and quantity collision in test_update_binding_target
Shorten goal references
2021-04-26 01:57:35 +02:00
cryptogopher
ab40c3bb0b Test pass: test_update_swap_targets
New fixtures + test fixes
2021-04-26 00:16:10 +02:00
cryptogopher
bbc1467965 Parametrize Target routes with :date 2021-04-25 15:25:41 +02:00
cryptogopher
d4398e5b75 Split test_edit_binding_target & test_update_binding_target 2021-04-24 21:40:48 +02:00
cryptogopher
5ff7d8395a Test pass: test_edit_binding_target 2021-04-24 15:36:22 +02:00
cryptogopher
bea0a8371d WIP Targets #edit/#update
NestedUniqueness properly restores collection.target
2021-04-23 19:19:44 +02:00
cryptogopher
37e3b98788 Improve #create action 2021-04-20 16:57:15 +02:00
cryptogopher
1b634dea2b Test pass: test_create_duplicated_targets_should_fail 2021-04-19 23:26:52 +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
dad116c573 Test pass: test_create_with_subthresholds
Add date to test_create_binding_target
2021-03-22 02:38:27 +01:00
cryptogopher
291fa044c3 Randomize test values
test_create_binding_target_when_binding_goal_does_not_exist
2021-03-22 01:01:04 +01:00
cryptogopher
0bc750278d Randomize values in test_create_binding_target 2021-03-22 00:41:24 +01:00
cryptogopher
91fa25830d Randomize quantity in test_index_table_header_close_exposure
Rename: Goal.target_exposures -> Goal.exposures
2021-03-22 00:22:33 +01:00
cryptogopher
0eefcb29db Test random quantity in test_index_options_add_exposure
Rename: @project1 -> @project
2021-03-22 00:10:23 +01:00
cryptogopher
a92df8b9aa Test pass: test_create_binding_target_when_binding_goal_does_not_exist 2021-03-17 01:10:51 +01:00
cryptogopher
b53dc71d6d Test pass: test_new_binding_target, test_new_cancel 2021-03-17 01:02:48 +01:00
cryptogopher
c21c834d84 Test pass: test_index_binding_goal_without_targets 2021-03-13 16:43:10 +01:00
cryptogopher
56e131af93 Test pass: test_index_without_goals 2021-03-07 15:19:40 +01:00
cryptogopher
115434fa0e Test pass: test_index_binding_targets 2021-03-07 15:17:29 +01:00
cryptogopher
bbe82aa715 Add Goals tests
Test pass: test_index
2021-03-07 15:13:41 +01:00
cryptogopher
5b73e9e7fd Fix targets#create 2021-03-07 15:07:45 +01: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
ea308a1e4a WIP: targets forms 2021-02-21 11:33:30 +01:00
cryptogopher
9e3dc24a14 Dynamic thresholds listing in targets form 2021-02-20 13:55:04 +01:00
cryptogopher
8b17b33603 WIP: Targets configurable with Quantities 2021-02-07 11:02:41 +01:00
cryptogopher
316005bf1f WIP: #update 2021-01-27 12:12:30 +01:00
cryptogopher
aa20931635 Test: test_update 2021-01-25 19:14:39 +01:00
cryptogopher
817f170a62 Check created record attributes 2021-01-25 18:27:48 +01:00
cryptogopher
cb4c528908 Test pass: test_edit 2021-01-24 15:05:54 +01:00
cryptogopher
8bd102f8de Test pass: test_new, test_new_cancel 2021-01-21 18:09:40 +01:00
cryptogopher
80b10d108a Test pass: test_index_table_header_close_exposure
Allow closing last quantity column
2021-01-21 11:17:51 +01:00
cryptogopher
a29eba9861 Togglable quantities in table header 2021-01-21 10:28:49 +01:00
cryptogopher
53e8db20d1 Fix quantity header borders 2021-01-20 11:27:10 +01:00