1
0

337 Commits

Author SHA1 Message Date
cryptogopher
07eda42de4 New test: test_index_options_add_column 2021-01-19 12:57:57 +01:00
cryptogopher
bd9b5f04f4 Restore Redmine default table header 2021-01-19 11:27:02 +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
2a8f60be36 Flashing through #now on AJAX actions 2020-09-05 21:56:05 +02:00
cryptogopher
14285b510c Removed migration with defaults in favor of seeds 2020-08-29 01:46:36 +02:00
cryptogopher
8be1533667 Extended wait time after defaults loading to avoid failures 2020-08-29 01:45:38 +02:00
cryptogopher
1b7f2f0abd Added test_defaults_seed_and_load_into_empty_project
Added :defaults scopes to models
Added :sources and :formulas fixtures
Loading defaults from seeds.rb using rake task instead of migration
2020-08-29 01:26:36 +02:00
cryptogopher
8f2a455561 Added defaults load test 2020-08-26 02:07:36 +02:00
cryptogopher
6ba8ad5376 Preliminary Target :edit support 2020-08-25 02:55:21 +02:00
cryptogopher
8d4e5215b3 Changed params [:goal][:id] -> [:goal_id] 2020-08-24 22:09:52 +02:00
cryptogopher
c2055c4eb4 Replaced #current_goal with @goal 2020-08-24 22:09:04 +02:00
cryptogopher
7e8508f9d4 Targets form allows only targets within one Goal 2020-08-24 15:33:17 +02:00
cryptogopher
cf0e14d87d Allow binding goal saving w/o exposures and disallow destruction 2020-08-22 23:17:24 +02:00
cryptogopher
8f0e718b4a Test refinements 2020-08-22 16:28:12 +02:00
cryptogopher
8b43f22e66 Added: test_create_binding_target_when_binding_goal_does_not_exist 2020-08-22 16:11:43 +02:00
cryptogopher
d8a8d9f75e Added test_index_shows_and_hides_new_target_form
Removed redundant path asserts (checking path and page content is
either redundant or it's enough to check in one test only)
2020-08-20 21:59:33 +02: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
13974e5e2f Completed test_index_without_targets 2020-08-18 21:49:12 +02:00
cryptogopher
266794cfe6 Purge screenshots before test suite 2020-08-18 21:14:28 +02:00
cryptogopher
59a14043c8 Added is_binding attribute to Goal
Fixed test_index to check for data rows only
2020-08-18 17:40:46 +02:00
cryptogopher
955125b843 Target system tests started to run 2020-08-16 15:27:07 +02:00
cryptogopher
66a364d017 Added system tests under Redmine 4 2020-08-08 15:39:13 +02:00
cryptogopher
c79e03d0f4 Removed unused partials 2020-08-06 21:56:44 +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
8240e5e868 Added Target and Threshold models 2020-06-21 02:48:32 +02:00
cryptogopher
2c4caed737 Fixed Foods index with no foods 2020-06-20 03:31:57 +02:00
cryptogopher
4df88598f8 Fixed Quantity defaults import after removing :name uniqueness
Added awesome_nested_set #each_with_path
2020-06-20 00:52:37 +02:00
cryptogopher
61498018e7 Added Targets table
Fixed Quantity#after_save for default quantities
2020-06-18 01:53:09 +02:00
cryptogopher
1a807d24d7 Removed 'project: nil' 2020-06-16 02:52:44 +02:00
cryptogopher
fb46784248 Added energy from macronutrients defaults 2020-06-16 01:13:20 +02:00
cryptogopher
bea036dc52 Updated quantity name ambiguoty check on creation 2020-06-13 18:48:19 +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
74c863c73a FormulaBuilder now recognizes qualified quantity identifiers 2020-06-06 15:58:12 +02:00
cryptogopher
6785090045 Checking ambiguity of quantity paths in formulas 2020-06-06 00:18:13 +02:00
cryptogopher
356e264c51 Cleaned up nutrients index table 2020-06-02 23:12:50 +02:00
cryptogopher
ba634eb516 Fixed deletion of quantity formula 2020-05-29 00:10:05 +02:00
cryptogopher
008cfdcd26 Relaxed quantity name uniqueness check 2020-05-28 23:19:59 +02:00
cryptogopher
1bfe2f11fb Fixed header generation 2020-05-26 22:43:33 +02:00
cryptogopher
2216cea6d5 Displaying heirarchical quantity headers 2020-05-24 18:57:10 +02:00
cryptogopher
a8d31f26d2 Simplified QuantityInput#lastBefore 2020-05-23 17:24:32 +02:00
cryptogopher
580e9156e6 Implemented QuantityInput#lastBefore 2020-05-22 22:10:34 +02:00
cryptogopher
976271d6b4 Fixed association 2020-05-21 00:23:38 +02:00
cryptogopher
ad2f647960 Fixed regression 2020-05-20 23:47:57 +02:00
cryptogopher
a416e1ce9b Fixed importing Foods with QuantityValue
Fixed double flash when not followed by request
Added Food#destroy error reporting
Simplified prepare_meals with no ingredients
Renamed scope on item with subitems: subitems -> with_subitems
2020-05-20 23:33:34 +02:00
cryptogopher
fa9c329a81 Formula#calculate is using QuantityInput
Updated FormulaBuilder to properly index parts[]
2020-05-17 18:14:19 +02:00