update dependencies deduplicate imports and stop reading the wrong .env don't upgrade the connection to a websocket if wrong origin switch from user type enum to god boolean + acl. this way, a user can be a(n) worker / owner of multiple stores don't bother caching the user type in ws anymore. always get the truth from database skip stock check if just changing cart's user implement otp login on connection as fallback to remember me token on connection login event instead of firth return minimum number of fields from user on unauthorized due to not >= store (owner || worker), update user acl event only publish number of authenticated / connected on change register logs in as well merge cart (associate anonymous cart to user on login / register, transfer line item from anonymous cart to authenticated cart, add quantities of line items with same menu item together from anonymous to authenticated cart) end connection on logout and old connection if exists if login elsewhere taxes for types (bc 20% vapes) + include tax in price when viewing products stock level now takes into account # of reserved trigger for stock decrement on ready -> paid min / max quantity filter for products when user / store deleted and last status of cart is 'placed' or 'ready', add fake final store / user cancelled event if god, created product will be visible for menu_item_loader. if store owner, not visible so that lobo can review implement roles so that a store owner / worker can only access their stores defined by the acl for menu items, reservations implement god see users' reservations and cancel implement the rest of the reservation flow notifications (store status update, user cancel) implement store add event sadly, lots of copy and paste. if the pattern is good, let's clean this up. I estimate 500 lines of code to be shaven off

Created by  boogerlad  on July 6, 2020
JP2LJ6B34S4IS6MPKF5LMMYUWIYMGU3JCJRRR4PTZ4IWM653JCXAC
Dependencies
In channels
main
Change contents