Commit Graph

165 Commits

Author SHA1 Message Date
shibao bd964105b4 don't allow reassigning token 2022-02-16 20:52:42 -05:00
shibao e200cf1b84 add email typespec 2022-02-16 20:22:04 -05:00
shibao 1f789c0a8d fix exploit with role 2022-02-16 20:21:55 -05:00
shibao 2f9c08b79f fix bug in mailer 2022-02-16 20:20:17 -05:00
shibao d162a7d5c3 hard create_ammo_group/2 2022-02-16 18:53:49 -05:00
shibao 6c49e6ec4e update deps and format 2022-02-16 18:45:18 -05: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 7110a2db21 order in db 2022-02-15 21:52:23 -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 df40f03589 add and delete tags to/from containers 2022-02-13 21:14:48 -05:00
shibao 272f6729c6 - add user management to invite page
continuous-integration/drone/push Build was killed Details
- harden accounts context
2022-02-12 02:34:13 -05:00
shibao 332f92a02f harden account deletion 2022-02-12 02:33:35 -05:00
shibao e5a5b4299c fix registration email 2022-02-12 02:32:52 -05:00
shibao 71397d6b29 harden invites context
continuous-integration/drone/push Build is failing Details
2022-02-11 00:34:29 -05:00
shibao fc75948f4c add Accounts.is_admin?/1 2022-02-11 00:34:02 -05:00
shibao 76d594ca0f improve containers 2022-02-11 00:33:51 -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 aa17240c83 harden tags context 2022-02-10 00:58:05 -05:00
shibao f4d67dbeef remove punctuation from error 2022-02-09 00:13:12 -05:00
shibao 455fe354c1 gettext User 2022-02-09 00:13:12 -05:00
shibao 20f49a9a9a credo fixes 2022-02-09 00:13:12 -05:00
shibao c27c162562 improve containers context 2022-02-09 00:13:12 -05:00
shibao a39c3da351 add swoosh and oban 2022-02-09 00:13:12 -05:00
shibao ab9a73769f restrict ammo groups by user_id 2022-02-08 00:21:22 -05:00
shibao 8e4bcf7abd add deletion check for containers
continuous-integration/drone/push Build is failing Details
2022-02-07 23:58:29 -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 c8945607ea show average cost per round for ammo types 2022-02-06 00:40:01 -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 3e73f33a6d alias changeset 2022-02-01 00:22:44 -05:00
shibao e20552ce86 fix missing alias 2022-01-31 23:49:22 -05:00
shibao 8f130a7598 add types to ecto changeset specs 2022-01-31 23:45:00 -05:00
shibao 9ca69ae3e4 style ammo type show page 2022-01-31 23:20:57 -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 7aa353e176 containers index 2022-01-31 21:53:01 -05:00
shibao d549b732e1 typespec out contexts 2022-01-31 20:45:32 -05:00
shibao 616b20e62b typespec out models 2022-01-31 20:08:01 -05:00
shibao e4522e4a89 restyle tags 2022-01-28 21:05:54 -05:00
shibao 04d798aaa7 fix dialyzer, credo and format 2022-01-23 22:51:56 -05:00
shibao 7567281449 only automigrate in prod env 2022-01-23 22:51:56 -05:00
shibao 820ceed6bb fix tests 2022-01-23 22:51:56 -05:00
shibao 16018ae111 mix format 2022-01-23 22:51:54 -05:00
shibao 094e214a55 update to phoenix 1.6 2022-01-22 14:18:29 -05:00
shibao 48691e669e add container tags 2021-09-12 19:27:18 -04:00
shibao f12e71cbe2 typespec some models 2021-09-12 19:27:01 -04:00
shibao 8827858204 use belongs_to instead of field for references 2021-09-12 18:54:53 -04:00
shibao 3d1e1c816f typespec contexts 2021-09-11 18:17:49 -04:00
shibao ea4629d687 add tags 2021-09-11 18:17:02 -04:00
shibao 5d4d8285fb add invite link and registration validation 2021-09-10 22:22:18 -04:00
shibao 8e4e3872f5 add delete user function 2021-09-10 21:41:25 -04:00
shibao 0bf93b4945 fix tag field names 2021-09-10 00:41:06 -04:00
shibao 4d8287ba79 fixup! add invite model 2021-09-10 00:25:14 -04:00
shibao fd5ebcce67 add invite model 2021-09-10 00:23:26 -04:00
shibao 8fb87a4fda cleanup user and user token models 2021-09-10 00:22:05 -04:00
shibao 2291da1c17 add list user functions 2021-09-10 00:19:46 -04:00
shibao 18d69034ff add autoadmin on first registered user 2021-09-10 00:19:28 -04:00
shibao b1c4d824bc centralize allow registration check logic 2021-09-10 00:18:15 -04:00
shibao 6675c1dfab add touchless docker deploys 2021-09-04 16:16:39 -04:00
shibao d6ddf2a9bb add models, context and liveviews 2021-09-02 23:31:14 -04:00
shibao c954fdc600 initial commit 2021-09-02 18:25:40 -04:00