Commit Graph

316 Commits

Author SHA1 Message Date
shibao 45d905b384 Fix bug with average price per round calculation 2022-04-19 19:42:48 -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 ebf32c49bf add translation properly 2022-04-19 18:16:06 -04:00
shibao 6455e2710d bump version
continuous-integration/drone/push Build is passing Details
2022-03-28 23:58:16 -04:00
shibao bad1a23dfe fix ammo group overflow 2022-03-28 23:56:56 -04:00
shibao e0ddefe1d7 fix tag and container overflow 2022-03-28 23:56:45 -04:00
shibao a2d1ff9b89 fix credo 2022-03-28 23:05:12 -04:00
shibao f9b08222e1 bump version
continuous-integration/drone/push Build is passing Details
2022-03-04 23:19:11 -05:00
shibao c0179f48bd mix format
continuous-integration/drone/push Build was killed Details
2022-03-04 23:17:53 -05:00
shibao 8bb4aab49c Fix ammo group create form error bug 2022-03-04 23:16:37 -05:00
shibao 0309e9d714 fix credo 2022-03-04 22:28:05 -05:00
shibao af4af84515 use table component for shot group table 2022-03-04 22:06:01 -05:00
shibao ec6946068e fix view helpers display bug 2022-03-04 22:05:08 -05:00
shibao f120e54c3e use table component for ammo group show table 2022-03-04 21:57:22 -05:00
shibao 3d115c6383 fixup! use table component for move ammo group component 2022-03-04 21:56:48 -05:00
shibao 1d4622a285 fixup! use table component for ammo group table 2022-03-04 21:09:05 -05:00
shibao d9e7948bb0 fixup! use new table component for ammo type index table 2022-03-04 21:07:32 -05:00
shibao da8c788992 use table component for move ammo group component 2022-03-04 20:53:18 -05:00
shibao bd20820361 use table component for ammo group table 2022-03-04 20:00:09 -05:00
shibao d0ee81093a use new table component for ammo type index table 2022-03-04 18:28:10 -05:00
shibao 6080fdbe64 add table component 2022-03-04 18:26:57 -05:00
shibao f42aaf9099 fix bug with move ammo group component 2022-03-04 00:06:08 -05:00
shibao a6aa6f3386 fix elements flashing black 2022-02-26 00:16:36 -05:00
shibao 8405513337 add link to changelog 2022-02-24 20:42:27 -05:00
shibao d0857eccc1 remove "listing" from titles
continuous-integration/drone/push Build is passing Details
2022-02-24 00:52:46 -05:00
shibao e6a4fbcfb5 bump version
continuous-integration/drone/push Build is passing Details
2022-02-24 00:18:33 -05:00
shibao a6b2c6181e add multiple ammo groups at one time
continuous-integration/drone/push Build is passing Details
2022-02-24 00:17:23 -05:00
shibao d79d0fa179 use today's date when adding new shot groups 2022-02-23 20:52:12 -05:00
shibao dccea1b9de edit and delete shot groups from ammo group page 2022-02-23 20:45:58 -05:00
shibao 5ca21c64fd fix text styling 2022-02-23 20:35:18 -05:00
shibao 9773ccc6ff add prompt to create container before creating ammo group 2022-02-23 20:34:07 -05:00
shibao 9cd2bc574b conditionally load containers list 2022-02-23 19:51:07 -05:00
shibao ee28de1178 fix not showing 0 if ammo type with 0 rounds 2022-02-23 19:41:21 -05:00
shibao 91cf9d0eb5 bump version
continuous-integration/drone/push Build is passing Details
2022-02-20 20:43:04 -05:00
shibao 3ce8eda712 mix format
continuous-integration/drone/push Build is passing Details
2022-02-20 20:40:24 -05:00
shibao 1a78e88b34 add page titles to registration and setting pages 2022-02-20 20:39:27 -05:00
shibao 968abd04ee fix grids having uneven margins in phone mode 2022-02-20 20:28:42 -05:00
shibao dc209fa192 fix modals with overflowing content 2022-02-20 20:28:34 -05:00
shibao a80df49fdd bump version
continuous-integration/drone/push Build is passing Details
2022-02-20 15:20:09 -05:00
shibao 917f627933 add back modal click-away 2022-02-20 15:17:12 -05:00
shibao 4946a6b119 fixes template error on modal refreshes 2022-02-20 15:01:15 -05:00
shibao 9f784c3190 fix closing modal without triggering reload 2022-02-20 15:00:53 -05:00
shibao aa08e212ee fix loading and reconnecting pages 2022-02-19 21:29:36 -05:00
shibao 08c9cddc78 fix user card confirmation time spacing
continuous-integration/drone/push Build is failing Details
2022-02-19 19:54:52 -05:00
shibao 61829fc042 fix grid spacing in mobile mode
continuous-integration/drone/tag Build is passing Details
continuous-integration/drone/push Build was killed Details
2022-02-19 18:08:46 -05:00
shibao 91288a9ffa fix tests
continuous-integration/drone/push Build is passing Details
2022-02-19 00:31:17 -05:00
shibao a19ec682e6 add ammo type round totals and total rounds shot 2022-02-19 00:18:24 -05:00
shibao dba53106fb show original count, current value, percentage remaining and shot history for ammo groups 2022-02-19 00:05:22 -05:00
shibao 91ff0c14e4 fix ammo type displays 2022-02-18 23:25:44 -05:00
shibao bf27511caa remove default boolean columns if all false 2022-02-18 23:06:32 -05:00
shibao 4ff2f64a22 add tag editing to containers 2022-02-18 23:00:04 -05:00
shibao 146c8e7ab3 add Cannery to page titles 2022-02-18 22:47:31 -05:00
shibao cad2fc9c3a run mix format
continuous-integration/drone/push Build is passing Details
2022-02-18 19:00:49 -05:00
shibao 9e0e9ea2ae fix ammo group create not handling invalid attrs
continuous-integration/drone/push Build is failing Details
2022-02-18 18:49:11 -05:00
shibao 2a0f5720ee fix confusing placeholder
continuous-integration/drone/push Build was killed Details
2022-02-18 18:41:45 -05:00
shibao 889e08e42c fix grid styling
continuous-integration/drone/push Build is failing Details
2022-02-18 18:21:56 -05:00
shibao 8fae6c4661 fix email link 2022-02-18 18:05:20 -05:00
shibao f63aa4c832 tag email jobs 2022-02-18 17:44:18 -05:00
shibao f55f113622 use live_redirect for topbar links 2022-02-18 17:43:51 -05:00
shibao b86667da98 fix container style being applied 2022-02-18 17:43:33 -05:00
shibao 290b4b791d swap copy to clipboard handlers 2022-02-18 17:43:22 -05:00
shibao 736cd3ab57 add liveview loading and reconnection screen 2022-02-18 17:43:08 -05:00
shibao faaadba3f1 style emails lol 2022-02-17 22:58:07 -05:00
shibao 534ff4e69b fix version 2022-02-17 22:36:09 -05:00
shibao 69240c1d51 use Endpoint for links 2022-02-17 22:31:37 -05:00
shibao 3164d48f6c make text slightly easier to read 2022-02-17 22:29:01 -05:00
shibao 816d5649eb add version to home page 2022-02-17 22:28:10 -05:00
shibao 8cb8294ffd add dev email preview route 2022-02-17 21:49:39 -05:00
shibao ba2294f156 mix format with new version 2022-02-17 21:25:08 -05:00
shibao 67dc265f67 add adding shots to ammo group index and show page 2022-02-17 21:19:01 -05:00
shibao 14b677996d pass user auth test 2022-02-17 20:55:08 -05:00
shibao a1554879cc fixes test warnings 2022-02-17 20:01:14 -05:00
shibao 3734cc7871 pass tag live test 2022-02-16 23:09:31 -05:00
shibao 3e0bd6ab34 add data-qa tags 2022-02-16 22:40:05 -05:00
shibao 08f87d38eb mix format 2022-02-16 22:18:05 -05:00
shibao 8f807c2ebc prevent unconfirmed users from logging in 2022-02-16 22:17:26 -05:00
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 d6e4090650 make app responsive 2022-02-16 00:10:02 -05:00
shibao 669afd5dcb transition shadows 2022-02-15 23:20:18 -05:00
shibao 8e93d632b6 fix view helper dates when nil 2022-02-15 22:56:49 -05:00
shibao d80b80ea22 update viewhelpers 2022-02-15 22:41:07 -05:00
shibao 2ac379adaf add more ammo type fields, filter index columns 2022-02-15 22:33:36 -05:00
shibao f30acd7fe2 gettext monetary amounts 2022-02-15 22:01:38 -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 0b0e1cc639 add copy to clipboard for invites 2022-02-15 19:50:48 -05:00
shibao 1235243a39 enable live dashboard os monitoring 2022-02-15 19:00:20 -05:00
shibao b49e3c3fa6 fix invite listing styles breaking 2022-02-15 18:44:07 -05:00
shibao 850fdd908e fix changeset errors 2022-02-15 18:22:13 -05:00
shibao 3996e8413c add move to container button for ammo groups 2022-02-15 18:20:12 -05:00
shibao 95a08d6088 add missing margins to cards 2022-02-15 18:13:33 -05:00
shibao e4ef22184e add range mode 2022-02-15 17:33:45 -05:00
shibao d9dd61b1a5 show email in confirmation flash 2022-02-15 17:33:19 -05:00
shibao bcceb0434d remove "Listing" from titles 2022-02-15 17:33:07 -05:00
shibao a727fa67cf fix bug with datetime helpers 2022-02-15 17:31:17 -05:00
shibao 1eda51f1dd use changeset.valid? for errors 2022-02-15 00:44:40 -05:00
shibao e882330c14 use sidecar templates 2022-02-14 21:21:24 -05:00
shibao 42bc918abc harden changesets 2022-02-14 21:03:56 -05:00
shibao f84f5ac133 remove non-referring close button from modal 2022-02-14 20:37:38 -05:00
shibao 114f63b47a use phoenix component modal 2022-02-14 01:26:51 -05:00
shibao f517ffc8f8 condense imports 2022-02-13 21:59:48 -05:00
shibao c000843d40 use topbar component everywhere 2022-02-13 21:20:04 -05:00
shibao 85ea96a171 alias CanneryWeb.Endpoint 2022-02-13 21:18:34 -05:00
shibao 57e71fb3ac add routes to non liveview topbar 2022-02-13 21:17:44 -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 fa55c13c29 add datetime view helper 2022-02-12 02:33:35 -05:00
shibao 11ddba79e3 add actions as render block in tag card 2022-02-12 02:33:35 -05:00
shibao 332f92a02f harden account deletion 2022-02-12 02:33:35 -05:00
shibao c0b3de75a9 move components to Components context 2022-02-12 02:33:34 -05:00
shibao 993d583fdd redirect if user is not authorized 2022-02-12 02:32:57 -05:00
shibao e5a5b4299c fix registration email 2022-02-12 02:32:52 -05:00
shibao d685ca5c74 hide register button when registration disabled 2022-02-11 22:24:16 -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 845ebc3bc6 typespec form components more 2022-02-10 23:41:45 -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 5451728541 gettext invites and tags
continuous-integration/drone/push Build is failing Details
2022-02-09 01:04:43 -05:00
shibao 91b9e8a730 gettext containers 2022-02-09 00:51:07 -05:00
shibao c4217e8f45 gettext ammo types 2022-02-09 00:39:27 -05:00
shibao ac62afb313 gettext ammo groups 2022-02-09 00:23:06 -05:00
shibao 3675d0b4f4 gettext controllers 2022-02-09 00:13:12 -05:00
shibao 9972299fc4 gettext user session controller 2022-02-09 00:13:12 -05:00
shibao 7e61c5c59a gettext and heex user registration pages 2022-02-09 00:13:12 -05:00
shibao e3b94477db gettext topbar 2022-02-09 00:13:12 -05:00
shibao 185d8598da gettext homelive 2022-02-09 00:13:12 -05:00
shibao f4d67dbeef remove punctuation from error 2022-02-09 00:13:12 -05:00
shibao 8eb956d520 add custom error pages 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 240fdd2965 use heex for home page 2022-02-07 23:50:32 -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 24fa837478 configure gettext 2022-02-07 19:30:21 -05:00
shibao 78f2464af3 fix flashes 2022-02-07 17:36:44 -05:00
shibao 3907f9854a move container selection first in ammo group form component 2022-02-06 00:40:36 -05:00
shibao c8945607ea show average cost per round for ammo types 2022-02-06 00:40:01 -05:00
shibao ad25164c16 add changeset_errors/1 helper to form components 2022-02-05 23:41:10 -05:00