Commit Graph

402 Commits

Author SHA1 Message Date
5ca21c64fd fix text styling 2022-02-23 20:35:18 -05:00
9773ccc6ff add prompt to create container before creating ammo group 2022-02-23 20:34:07 -05:00
9cd2bc574b conditionally load containers list 2022-02-23 19:51:07 -05:00
ee28de1178 fix not showing 0 if ammo type with 0 rounds 2022-02-23 19:41:21 -05:00
91cf9d0eb5 bump version
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-20 20:43:04 -05:00
3ce8eda712 mix format
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-20 20:40:24 -05:00
1a78e88b34 add page titles to registration and setting pages 2022-02-20 20:39:27 -05:00
968abd04ee fix grids having uneven margins in phone mode 2022-02-20 20:28:42 -05:00
dc209fa192 fix modals with overflowing content 2022-02-20 20:28:34 -05:00
a80df49fdd bump version
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-20 15:20:09 -05:00
917f627933 add back modal click-away 2022-02-20 15:17:12 -05:00
4946a6b119 fixes template error on modal refreshes 2022-02-20 15:01:15 -05:00
9f784c3190 fix closing modal without triggering reload 2022-02-20 15:00:53 -05:00
aa08e212ee fix loading and reconnecting pages 2022-02-19 21:29:36 -05:00
08c9cddc78 fix user card confirmation time spacing
Some checks failed
continuous-integration/drone/push Build is failing
2022-02-19 19:54:52 -05:00
61829fc042 fix grid spacing in mobile mode
Some checks reported errors
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build was killed
2022-02-19 18:08:46 -05:00
91288a9ffa fix tests
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-19 00:31:17 -05:00
a19ec682e6 add ammo type round totals and total rounds shot 2022-02-19 00:18:24 -05:00
dba53106fb show original count, current value, percentage remaining and shot history for ammo groups 2022-02-19 00:05:22 -05:00
91ff0c14e4 fix ammo type displays 2022-02-18 23:25:44 -05:00
bf27511caa remove default boolean columns if all false 2022-02-18 23:06:32 -05:00
4ff2f64a22 add tag editing to containers 2022-02-18 23:00:04 -05:00
146c8e7ab3 add Cannery to page titles 2022-02-18 22:47:31 -05:00
cad2fc9c3a run mix format
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-18 19:00:49 -05:00
9e0e9ea2ae fix ammo group create not handling invalid attrs
Some checks failed
continuous-integration/drone/push Build is failing
2022-02-18 18:49:11 -05:00
2a0f5720ee fix confusing placeholder
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-02-18 18:41:45 -05:00
889e08e42c fix grid styling
Some checks failed
continuous-integration/drone/push Build is failing
2022-02-18 18:21:56 -05:00
8fae6c4661 fix email link 2022-02-18 18:05:20 -05:00
f63aa4c832 tag email jobs 2022-02-18 17:44:18 -05:00
f55f113622 use live_redirect for topbar links 2022-02-18 17:43:51 -05:00
b86667da98 fix container style being applied 2022-02-18 17:43:33 -05:00
290b4b791d swap copy to clipboard handlers 2022-02-18 17:43:22 -05:00
736cd3ab57 add liveview loading and reconnection screen 2022-02-18 17:43:08 -05:00
faaadba3f1 style emails lol 2022-02-17 22:58:07 -05:00
534ff4e69b fix version 2022-02-17 22:36:09 -05:00
69240c1d51 use Endpoint for links 2022-02-17 22:31:37 -05:00
3164d48f6c make text slightly easier to read 2022-02-17 22:29:01 -05:00
816d5649eb add version to home page 2022-02-17 22:28:10 -05:00
8cb8294ffd add dev email preview route 2022-02-17 21:49:39 -05:00
ba2294f156 mix format with new version 2022-02-17 21:25:08 -05:00
67dc265f67 add adding shots to ammo group index and show page 2022-02-17 21:19:01 -05:00
14b677996d pass user auth test 2022-02-17 20:55:08 -05:00
a1554879cc fixes test warnings 2022-02-17 20:01:14 -05:00
3734cc7871 pass tag live test 2022-02-16 23:09:31 -05:00
3e0bd6ab34 add data-qa tags 2022-02-16 22:40:05 -05:00
08f87d38eb mix format 2022-02-16 22:18:05 -05:00
8f807c2ebc prevent unconfirmed users from logging in 2022-02-16 22:17:26 -05:00
97a9b6d51a prevent unconfirmed users from logging in 2022-02-16 22:16:19 -05:00
059004ba78 mix format 2022-02-16 22:15:47 -05:00
bd964105b4 don't allow reassigning token 2022-02-16 20:52:42 -05:00
e200cf1b84 add email typespec 2022-02-16 20:22:04 -05:00
1f789c0a8d fix exploit with role 2022-02-16 20:21:55 -05:00
2f9c08b79f fix bug in mailer 2022-02-16 20:20:17 -05:00
d162a7d5c3 hard create_ammo_group/2 2022-02-16 18:53:49 -05:00
6c49e6ec4e update deps and format 2022-02-16 18:45:18 -05:00
fb288e4389 change rimfire to firing type
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-02-16 00:10:18 -05:00
d6e4090650 make app responsive 2022-02-16 00:10:02 -05:00
669afd5dcb transition shadows 2022-02-15 23:20:18 -05:00
8e93d632b6 fix view helper dates when nil 2022-02-15 22:56:49 -05:00
d80b80ea22 update viewhelpers 2022-02-15 22:41:07 -05:00
2ac379adaf add more ammo type fields, filter index columns 2022-02-15 22:33:36 -05:00
f30acd7fe2 gettext monetary amounts 2022-02-15 22:01:38 -05:00
69eebc82cc calculate shot groups in average cost 2022-02-15 21:56:01 -05:00
7110a2db21 order in db 2022-02-15 21:52:23 -05:00
0b0e1cc639 add copy to clipboard for invites 2022-02-15 19:50:48 -05:00
1235243a39 enable live dashboard os monitoring 2022-02-15 19:00:20 -05:00
b49e3c3fa6 fix invite listing styles breaking 2022-02-15 18:44:07 -05:00
c918dbe4bf improve changeset errors 2022-02-15 18:22:58 -05:00
850fdd908e fix changeset errors 2022-02-15 18:22:13 -05:00
3996e8413c add move to container button for ammo groups 2022-02-15 18:20:12 -05:00
95a08d6088 add missing margins to cards 2022-02-15 18:13:33 -05:00
e4ef22184e add range mode 2022-02-15 17:33:45 -05:00
d9dd61b1a5 show email in confirmation flash 2022-02-15 17:33:19 -05:00
bcceb0434d remove "Listing" from titles 2022-02-15 17:33:07 -05:00
a727fa67cf fix bug with datetime helpers 2022-02-15 17:31:17 -05:00
23b60e032d add datetime helper 2022-02-15 02:50:36 -05:00
1eda51f1dd use changeset.valid? for errors 2022-02-15 00:44:40 -05:00
e882330c14 use sidecar templates 2022-02-14 21:21:24 -05:00
42bc918abc harden changesets 2022-02-14 21:03:56 -05:00
f84f5ac133 remove non-referring close button from modal 2022-02-14 20:37:38 -05:00
114f63b47a use phoenix component modal 2022-02-14 01:26:51 -05:00
f517ffc8f8 condense imports 2022-02-13 21:59:48 -05:00
7283932d85 use topbar component 2022-02-13 21:28:20 -05:00
c000843d40 use topbar component everywhere 2022-02-13 21:20:04 -05:00
85ea96a171 alias CanneryWeb.Endpoint 2022-02-13 21:18:34 -05:00
57e71fb3ac add routes to non liveview topbar 2022-02-13 21:17:44 -05:00
df40f03589 add and delete tags to/from containers 2022-02-13 21:14:48 -05:00
4ef09f5279 heex templates 2022-02-12 23:26:29 -05:00
272f6729c6 - add user management to invite page
Some checks reported errors
continuous-integration/drone/push Build was killed
- harden accounts context
2022-02-12 02:34:13 -05:00
fa55c13c29 add datetime view helper 2022-02-12 02:33:35 -05:00
11ddba79e3 add actions as render block in tag card 2022-02-12 02:33:35 -05:00
332f92a02f harden account deletion 2022-02-12 02:33:35 -05:00
c0b3de75a9 move components to Components context 2022-02-12 02:33:34 -05:00
993d583fdd redirect if user is not authorized 2022-02-12 02:32:57 -05:00
e5a5b4299c fix registration email 2022-02-12 02:32:52 -05:00
d685ca5c74 hide register button when registration disabled 2022-02-11 22:24:16 -05:00
71397d6b29 harden invites context
Some checks failed
continuous-integration/drone/push Build is failing
2022-02-11 00:34:29 -05:00
fc75948f4c add Accounts.is_admin?/1 2022-02-11 00:34:02 -05:00
76d594ca0f improve containers 2022-02-11 00:33:51 -05:00
845ebc3bc6 typespec form components more 2022-02-10 23:41:45 -05:00
e9ef44eb53 - harden ammo context
- add user_id to ammo types
2022-02-10 00:58:05 -05:00
bb4e6954eb remove tag_id from ammo group 2022-02-10 00:58:05 -05:00
aa17240c83 harden tags context 2022-02-10 00:58:05 -05:00
5451728541 gettext invites and tags
Some checks failed
continuous-integration/drone/push Build is failing
2022-02-09 01:04:43 -05:00
91b9e8a730 gettext containers 2022-02-09 00:51:07 -05:00
c4217e8f45 gettext ammo types 2022-02-09 00:39:27 -05:00
ac62afb313 gettext ammo groups 2022-02-09 00:23:06 -05:00
3675d0b4f4 gettext controllers 2022-02-09 00:13:12 -05:00
9972299fc4 gettext user session controller 2022-02-09 00:13:12 -05:00
7e61c5c59a gettext and heex user registration pages 2022-02-09 00:13:12 -05:00
e3b94477db gettext topbar 2022-02-09 00:13:12 -05:00
185d8598da gettext homelive 2022-02-09 00:13:12 -05:00
f4d67dbeef remove punctuation from error 2022-02-09 00:13:12 -05:00
8eb956d520 add custom error pages 2022-02-09 00:13:12 -05:00
455fe354c1 gettext User 2022-02-09 00:13:12 -05:00
20f49a9a9a credo fixes 2022-02-09 00:13:12 -05:00
c27c162562 improve containers context 2022-02-09 00:13:12 -05:00
a39c3da351 add swoosh and oban 2022-02-09 00:13:12 -05:00
ab9a73769f restrict ammo groups by user_id 2022-02-08 00:21:22 -05:00
8e4bcf7abd add deletion check for containers
Some checks failed
continuous-integration/drone/push Build is failing
2022-02-07 23:58:29 -05:00
240fdd2965 use heex for home page 2022-02-07 23:50:32 -05:00
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
24fa837478 configure gettext 2022-02-07 19:30:21 -05:00
78f2464af3 fix flashes 2022-02-07 17:36:44 -05:00
3907f9854a move container selection first in ammo group form component 2022-02-06 00:40:36 -05:00
c8945607ea show average cost per round for ammo types 2022-02-06 00:40:01 -05:00
ad25164c16 add changeset_errors/1 helper to form components 2022-02-05 23:41:10 -05:00
1ee5195ab3 lighten hr color 2022-02-05 16:22:53 -05:00
6f6402cf17 add ammo type stuff 2022-02-05 16:22:02 -05:00
3dd624d6de style app, use components for cards
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-02-05 01:59:40 -05:00
844c8ccdae add has_many relationships 2022-02-05 01:59:09 -05:00
ad3f48ccc9 remove non-mandatory ammo group fields 2022-02-05 00:28:45 -05:00
8479e420fe center form component titles 2022-02-05 00:09:22 -05:00
c75816a582 reenable heex_formatter 2022-02-01 01:08:18 -05:00
3e73f33a6d alias changeset 2022-02-01 00:22:44 -05:00
a6a9994b97 style ammo group index page 2022-02-01 00:14:14 -05:00
cccc5aafc7 add blank ammo types page 2022-02-01 00:12:09 -05:00
1b33632c29 standardize initial buttons 2022-02-01 00:11:37 -05:00
e20552ce86 fix missing alias 2022-01-31 23:49:22 -05:00
8f130a7598 add types to ecto changeset specs 2022-01-31 23:45:00 -05:00
9ca69ae3e4 style ammo type show page 2022-01-31 23:20:57 -05:00
b75c0f7b1b style ammo type index 2022-01-31 23:06:08 -05:00
e0c0828444 make topbar slightly more responsive 2022-01-31 22:40:07 -05:00
7015ec5997 - store ammo type grain as integer
- make ammo type desc as text
2022-01-31 22:29:09 -05:00
cc7162d267 add containers show page 2022-01-31 21:56:02 -05:00
4f2305dc23 tweak invites page text color 2022-01-31 21:53:01 -05:00
7aa353e176 containers index 2022-01-31 21:53:01 -05:00
7ed77af3e0 format 2022-01-31 20:45:32 -05:00
d549b732e1 typespec out contexts 2022-01-31 20:45:32 -05:00
616b20e62b typespec out models 2022-01-31 20:08:01 -05:00
e4522e4a89 restyle tags 2022-01-28 21:05:54 -05:00
059bf95731 fix comma
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-01-23 22:54:17 -05:00
04d798aaa7 fix dialyzer, credo and format 2022-01-23 22:51:56 -05:00
7567281449 only automigrate in prod env 2022-01-23 22:51:56 -05:00
820ceed6bb fix tests 2022-01-23 22:51:56 -05:00
16018ae111 mix format 2022-01-23 22:51:54 -05:00
26b47ab060 update components and templates to heex 2022-01-23 22:50:03 -05:00
728728a5a4 fix tests 2022-01-22 20:44:38 -05:00
46eed25a94 only start automigrator in prod env 2022-01-22 20:12:32 -05:00
3674eeaf5a fix tests 2022-01-22 15:24:04 -05:00
a2dea04668 update to 1.6 2022-01-22 14:25:37 -05:00
094e214a55 update to phoenix 1.6 2022-01-22 14:18:29 -05:00
48691e669e add container tags 2021-09-12 19:27:18 -04:00
f12e71cbe2 typespec some models 2021-09-12 19:27:01 -04:00
732a4fcbb2 use full width in modals 2021-09-12 18:55:15 -04:00
8827858204 use belongs_to instead of field for references 2021-09-12 18:54:53 -04:00
f96956cf5e add random color generation to tags 2021-09-12 18:16:24 -04:00
3d1e1c816f typespec contexts 2021-09-11 18:17:49 -04:00
ea4629d687 add tags 2021-09-11 18:17:02 -04:00
0b70ff14da fixup! add invite link and registration validation 2021-09-10 22:42:57 -04:00
d028af0671 remove tag show page 2021-09-10 22:24:19 -04:00
5d4d8285fb add invite link and registration validation 2021-09-10 22:22:18 -04:00
4dce597375 hide topbar search 2021-09-10 21:43:59 -04:00
c0a8eb642e enable gettext 2021-09-10 21:41:25 -04:00
a11a222bea style modal component 2021-09-10 21:41:25 -04:00
8e4e3872f5 add delete user function 2021-09-10 21:41:25 -04:00
e9ad552f2f style form components 2021-09-10 00:41:15 -04:00
0bf93b4945 fix tag field names 2021-09-10 00:41:06 -04:00
3cdd7729a6 style flashes 2021-09-10 00:35:36 -04:00
3eebba17c4 fixup! add invite model 2021-09-10 00:30:33 -04:00
93235558e2 fixup! centralize allow registration check logic 2021-09-10 00:30:08 -04:00
21a7160be4 rename page to home 2021-09-10 00:28:53 -04:00
4d8287ba79 fixup! add invite model 2021-09-10 00:25:14 -04:00
c20d1c1f5a add require role plug and restrict router routes 2021-09-10 00:24:54 -04:00
fd5ebcce67 add invite model 2021-09-10 00:23:26 -04:00
8fb87a4fda cleanup user and user token models 2021-09-10 00:22:05 -04:00
2291da1c17 add list user functions 2021-09-10 00:19:46 -04:00
18d69034ff add autoadmin on first registered user 2021-09-10 00:19:28 -04:00
b1c4d824bc centralize allow registration check logic 2021-09-10 00:18:15 -04:00
3dc255b7c2 add touchless docker deploys 2021-09-04 16:19:23 -04:00
6675c1dfab add touchless docker deploys 2021-09-04 16:16:39 -04:00
eefde769dd add live dashboard icon 2021-09-03 19:54:05 -04:00
5875f32814 add ecto repo states 2021-09-02 23:41:13 -04:00
bde1cff7a4 add font awesome 2021-09-02 23:32:53 -04:00
66cc11e9eb add liveview helpers 2021-09-02 23:32:53 -04:00
6d5f7f68df style registration pages 2021-09-02 23:32:52 -04:00
e9ababa7e1 add assign_defaults/2 to liveviews 2021-09-02 23:31:16 -04:00
2db21c8b69 add index links to topbar 2021-09-02 23:31:15 -04:00
04d7d107d9 add font awesome 2021-09-02 23:31:15 -04:00
d6ddf2a9bb add models, context and liveviews 2021-09-02 23:31:14 -04:00
c954fdc600 initial commit 2021-09-02 18:25:40 -04:00
5b5f1ce1e5 run phx.new and add phx.gen.auth 2021-08-15 19:11:09 -04:00