1
0

56 Commits

Author SHA1 Message Date
cryptogopher
3cec0847df Quantity#destroy changed to AJAX 2019-10-27 20:05:57 +01:00
cryptogopher
daf0bd421e Running Quantity#toggle/up/down/left/right through AJAX 2019-10-27 19:29:12 +01:00
cryptogopher
26f653819d Added Quantity.primary to form
Fixed setting parent on Quantity form
2019-10-26 21:48:52 +02:00
cryptogopher
7b46f131c0 Improved Quantity index 2019-10-26 21:10:52 +02:00
cryptogopher
745d6de42b Added Quantity ordering
Some table columns made unwrappable
2019-10-26 21:00:37 +02:00
cryptogopher
2176ef77f3 Added toggling Quantity primary-ness 2019-10-26 01:03:06 +02:00
cryptogopher
baadd647f8 Quantity destruction destroys dependent
Table data aligned.
Primary quantities highlighted.
2019-10-25 22:46:11 +02:00
cryptogopher
c0e3fd2e85 Changed Quantity.displayed -> Quantity.primary 2019-10-22 23:19:58 +02:00
cryptogopher
9578de8287 Disabled sidebar for ingredient nutrient list view 2019-09-28 18:02:57 +02:00
cryptogopher
0001b56ca6 Added nutrient view on ingredients index
Created custom plugin's stylesheet
2019-09-24 23:41:22 +02:00
cryptogopher
9664df4888 Added ingredient source setting/display/import 2019-09-23 22:33:40 +02:00
cryptogopher
0e6bbd8c74 Added loading default sources 2019-09-23 21:55:04 +02:00
cryptogopher
593e11ff53 Finished Sources implementation 2019-09-23 20:13:09 +02:00
cryptogopher
35f8ec4b2c Finished Source controller 2019-09-23 15:40:15 +02:00
cryptogopher
c96cea5ca6 New objects are now created through association
Added Sources to sidebar
2019-09-23 15:35:43 +02:00
cryptogopher
ce9f011694 Added Source perms and routing
Added Quantity displayed defaults
2019-09-23 15:05:26 +02:00
cryptogopher
0b549b909a Added Sources model + controller
commands:
rails generate redmine_plugin_model body_tracking source
project:references name:string description:text
rails generate redmine_plugin_controller body_tracking sources index
create destroy
2019-09-23 14:45:13 +02:00
cryptogopher
2e9d353935 Changes in ingredients index 2019-09-23 00:24:58 +02:00
cryptogopher
9cbd540c43 Defaults/import fixes and ingredients sorting 2019-09-23 00:15:40 +02:00
cryptogopher
3ebc2f58d0 Finished CSV import
Fixed problem with excessive validation
2019-09-22 20:26:07 +02:00
cryptogopher
eb43c4be21 Import fixes 2019-09-21 23:48:59 +02:00
cryptogopher
3a09bf6fce Ingredient CSV import input validation 2019-09-21 22:29:04 +02:00
cryptogopher
b69bdd6049 Added Ingredients import action 2019-09-15 22:27:54 +02:00
cryptogopher
6e3cf2f189 Added Ingredient/Nutrient initialization 2019-09-15 19:55:25 +02:00
cryptogopher
9878b42655 Added Ingredient#destroy 2019-09-15 19:00:04 +02:00
cryptogopher
893e2646d0 Finished Ingredient#create validations 2019-09-15 18:53:00 +02:00
cryptogopher
0dcb13a065 Started Ingredient#create 2019-09-14 23:00:31 +02:00
cryptogopher
faef248449 Adding/deleting nutrients on ingredient form working 2019-09-14 19:15:56 +02:00
cryptogopher
dd8c4f2cd1 Added nutrient add on ingredient form 2019-09-13 22:41:09 +02:00
cryptogopher
f039917d0e Added nested nutrients in ingredient form 2019-09-13 19:21:28 +02:00
cryptogopher
c82f903360 Added ingredient index and form 2019-09-13 14:48:43 +02:00
cryptogopher
c916e7fd3c Created ingredients controller
command: rails generate redmine_plugin_controller body_tracking
ingredients index create destroy
2019-09-13 14:03:39 +02:00
cryptogopher
7062652d0d Added nutrient model
command: rails generate redmine_plugin_model body_tracking nutrient
ingredient:references quantity:references unit:references amount:decimal
2019-09-13 13:54:56 +02:00
cryptogopher
ffd38195a6 Quantity form parent list narrowed to same domain 2019-09-12 23:28:16 +02:00
cryptogopher
ce68263296 Added reporting count of loaded defaults 2019-09-10 00:38:02 +02:00
cryptogopher
30314607ae Added importing quantities
Fixed display order of project quantities
2019-09-09 21:14:56 +02:00
cryptogopher
ddac5d9aa8 Displaying only quantities for current project 2019-09-08 23:50:22 +02:00
cryptogopher
a96cd717cf Validating parent quantity domain 2019-09-08 21:10:25 +02:00
cryptogopher
b31ab9d16a Added Quantity nesting with awesome_nested_set 2019-09-08 20:00:35 +02:00
cryptogopher
b63040b037 Added Ingredients model
command: rails generate redmine_plugin_model body_tracking ingredient
name:string ref_unit:references ref_amount:decimal hidden:boolean
source:references group:integer
2019-08-28 21:04:46 +02:00
cryptogopher
54ab1c60dc Implemented Quantity 2019-08-23 17:06:09 +02:00
cryptogopher
9a34cc0b95 Added Quantities model and controller
commands:
rails generate redmine_plugin_model body_tracking quantity
rails generate redmine_plugin_controller body_tracking quantities index
create destroy
2019-08-23 00:01:10 +02:00
cryptogopher
f9c5e6d40d Unit.name not required 2019-08-22 23:47:43 +02:00
cryptogopher
b1be5e571a Changed Unit uniqueness condtions to shortname only 2019-08-22 22:10:51 +02:00
cryptogopher
b0a02b7474 Added uniqueness constraint to Unit names 2019-08-22 17:57:31 +02:00
cryptogopher
b503f91e3b Implemented UnitsController#create/destroy 2019-08-22 17:47:32 +02:00
cryptogopher
e9fc9c6475 Completed UnitsController#import and Unit index view 2019-08-22 01:12:37 +02:00
cryptogopher
8e7385cdcb Removed Unit.group, added UnitsController#import 2019-08-21 22:54:13 +02:00
cryptogopher
fea736bd36 Changed Unit.type -> .group
Added Unit validations. Added default Units.
2019-08-16 19:29:23 +02:00
cryptogopher
8082e42225 Added Unit types 2019-08-15 22:30:15 +02:00