Commit Graph

39 Commits

Author SHA1 Message Date
shibao abaccac9f0 use :rifle as default ammo type
continuous-integration/drone/push Build is passing Details
2023-04-10 20:13:56 -04:00
shibao 2b81978adb make bullet type rifle/pistol type-only field 2023-04-10 20:13:55 -04:00
shibao 81f21a02c4 export shotgun fields
continuous-integration/drone/push Build is passing Details
2023-03-31 22:34:48 -04:00
shibao 9a17d4ad24 add lot number to packs 2023-03-30 23:36:19 -04:00
shibao 88c3f15fc8 rename ammo type files to type 2023-03-30 22:02:36 -04:00
shibao c33f15603b rename ammo type to type 2023-03-30 22:02:36 -04:00
shibao 4b6d0952f8 rename ammo groups to packs everywhere 2023-03-30 20:08:11 -04:00
shibao 0544b58ab6 rename ammo group files to pack 2023-03-30 20:07:28 -04:00
shibao 6d26103784 rename ammo groups to packs 2023-03-30 20:07:16 -04:00
shibao 0cae7c2940 rename ammo_type type to class
continuous-integration/drone/push Build is passing Details
2023-03-28 23:08:40 -04:00
shibao 8c95536ffd add selectable ammo types
continuous-integration/drone/push Build is passing Details
2023-03-23 22:07:25 -04:00
shibao fe4e4f4f17 add length limits to all items
continuous-integration/drone/push Build is passing Details
2023-03-19 23:52:25 -04:00
shibao a54cf8b87d use strict context boundaries and remove all n+1 queries
continuous-integration/drone/push Build is passing Details
2023-03-18 21:06:50 -04:00
shibao e0ac714681 improve changesets and typespecs 2022-11-23 20:46:41 -05:00
shibao dfebad713f replace ammo added on with purchased on 2022-11-19 15:10:15 -05:00
shibao 1c7721887f fix moving ammo between containers 2022-11-10 22:14:39 -05:00
shibao 53bb0ddb03 add json export in settings
continuous-integration/drone/push Build is passing Details
2022-11-09 23:33:50 -05:00
shibao 5b5fd7173b fix ammo type changesets 2022-07-04 20:22:39 -04:00
shibao 947659b207 fix ammo_group changesets 2022-07-04 20:06:41 -04:00
shibao 67010640f0 remove unchangeable requirements 2022-07-01 19:53:44 -04:00
shibao f49fe21da5 remove invalid opts 2022-05-06 23:36:42 -04:00
shibao 3297130890 Fix not being able to edit ammo group when fully used up 2022-04-19 19:42:48 -04:00
shibao fb288e4389 change rimfire to firing type
continuous-integration/drone/push Build was killed Details
2022-02-16 00:10:18 -05:00
shibao 2ac379adaf add more ammo type fields, filter index columns 2022-02-15 22:33:36 -05:00
shibao 69eebc82cc calculate shot groups in average cost 2022-02-15 21:56:01 -05:00
shibao e4ef22184e add range mode 2022-02-15 17:33:45 -05:00
shibao 42bc918abc harden changesets 2022-02-14 21:03:56 -05:00
shibao e9ef44eb53 - harden ammo context
- add user_id to ammo types
2022-02-10 00:58:05 -05:00
shibao bb4e6954eb remove tag_id from ammo group 2022-02-10 00:58:05 -05:00
shibao 22c148e93b - add primer_type to ammo type
- fix ammo type typespec
- remove unused ammo type card
- mix format
2022-02-07 23:42:36 -05:00
shibao 6f6402cf17 add ammo type stuff 2022-02-05 16:22:02 -05:00
shibao 844c8ccdae add has_many relationships 2022-02-05 01:59:09 -05:00
shibao ad3f48ccc9 remove non-mandatory ammo group fields 2022-02-05 00:28:45 -05:00
shibao 8f130a7598 add types to ecto changeset specs 2022-01-31 23:45:00 -05:00
shibao 7015ec5997 - store ammo type grain as integer
- make ammo type desc as text
2022-01-31 22:29:09 -05:00
shibao 616b20e62b typespec out models 2022-01-31 20:08:01 -05:00
shibao 04d798aaa7 fix dialyzer, credo and format 2022-01-23 22:51:56 -05:00
shibao 8827858204 use belongs_to instead of field for references 2021-09-12 18:54:53 -04:00
shibao d6ddf2a9bb add models, context and liveviews 2021-09-02 23:31:14 -04:00