e109aebe19
black
...
modified: lib/currency.py
modified: models/invoice.py
modified: models/market.py
modified: models/shop_location.py
modified: models/stripe_user_shop.py
modified: models/user_address.py
modified: models/user_product.py
modified: models/user_shop.py
modified: views/invoice.py
2024-06-19 18:36:45 -04:00
63842d0232
prompt for email if user not logged in and trying to get to settings
...
modified: make_post_sell/tests/test_functional.py
modified: make_post_sell/views/misc.py
modified: make_post_sell/views/user.py
2024-06-19 15:06:43 -04:00
14708b3dda
fix test
...
modified: make_post_sell/tests/test_functional.py
2024-06-19 14:41:38 -04:00
7053c57c41
prompt nicely for email when creating a new shop
...
modified: make_post_sell/views/shop.py
2024-06-19 14:31:14 -04:00
f820210bb7
flynt and black
...
flynt turns python string format into f strings.
modified: make_post_sell/lib/hex_color.py
modified: make_post_sell/lib/mail.py
modified: make_post_sell/lib/sanitize_html.py
modified: make_post_sell/models/coupon.py
modified: make_post_sell/models/meta.py
modified: make_post_sell/models/product.py
modified: make_post_sell/models/shop.py
modified: make_post_sell/models/user.py
modified: make_post_sell/tests/test_functional.py
modified: make_post_sell/views/authentication.py
modified: make_post_sell/views/cart.py
modified: make_post_sell/views/content.py
modified: make_post_sell/views/coupon.py
modified: make_post_sell/views/product.py
modified: make_post_sell/views/shop.py
2024-06-19 13:57:23 -04:00
068cc9b12d
Merge branch 'shop-locations-with-inventory' into 'master'
...
Buttons for new shop locations
See merge request engineering/make-post-sell/make_post_sell!11
2024-06-19 17:32:24 +00:00
7ee12d3392
Buttons for new shop locations
...
modified: make_post_sell/routes.py
modified: make_post_sell/templates/actions_new.j2
modified: make_post_sell/templates/actions_view.j2
modified: make_post_sell/views/shop_location.py
2024-06-19 13:30:18 -04:00
29bcc12ea5
Merge branch 'shop-locations-with-inventory' into 'master'
...
stub in new shop_location and inventory models testing CodeRabbit
See merge request engineering/make-post-sell/make_post_sell!10
2024-06-19 16:39:08 +00:00
3ca8ca1190
refactor cart_checkout logic ordering to keep people on the cart page
...
for as long as needed to get a valid cart before asking for address or
billing.
modified: make_post_sell/views/cart.py
2024-06-19 11:17:20 -04:00
6b471b6ecd
keep track of next for main log in button.
...
Allow coupons to be removed from session carts which do not have a user
or owner associated.
modified: make_post_sell/templates/base.j2
modified: make_post_sell/views/coupon.py
2024-06-19 10:47:50 -04:00
f169d23aad
make sure we can clone carts and merge all attributes into new cart.
...
modified: make_post_sell/models/cart.py
modified: make_post_sell/routes.py
modified: make_post_sell/templates/cart.j2
modified: make_post_sell/templates/join-or-log-in.j2
modified: make_post_sell/templates/verification-challenge.j2
modified: make_post_sell/views/__init__.py
modified: make_post_sell/views/authentication.py
modified: make_post_sell/views/cart.py
2024-06-19 10:13:50 -04:00
62283edffd
Only allow carts without owners to be modified by unauthenticated users.
...
If a cart has an owner, only the owner can make changes to it.
modified: make_post_sell/views/cart.py
2024-06-17 18:43:02 -04:00
c9460d10ed
make carts private again... lol
...
modified: make_post_sell/views/cart.py
2024-06-16 22:35:29 -04:00
597ac4938b
fixup shop_location_form template
...
modified: make_post_sell/templates/shop_location_form.j2
2024-06-16 21:58:11 -04:00
83d73c3f23
new route for invoices protected requires user and user to match invoice
...
or user must be editor of invoice shop
modified: make_post_sell/models/invoice.py
modified: make_post_sell/routes.py
new file: make_post_sell/templates/invoice.j2
new file: make_post_sell/views/invoice.py
2024-06-16 21:44:29 -04:00
3d0ad9f1be
make sure to add the delivery_address to invoice on successful checkout
...
modified: make_post_sell/views/cart.py
2024-06-16 20:39:11 -04:00
8e9d704f60
remove items from successful physical purchase.
...
modified: make_post_sell/models/cart.py
modified: make_post_sell/models/invoice.py
modified: make_post_sell/views/cart.py
2024-06-16 20:11:49 -04:00
03e61e9863
refactor to make sure we ask user for address if physical products in
...
cart.
modified: make_post_sell/models/cart.py
modified: make_post_sell/views/cart.py
modified: make_post_sell/views/shop_location.py
2024-06-16 17:59:21 -04:00
660e6d7ed6
save handling option in frontend and recalculate handling when shop is
...
switched.
modified: templates/cart.j2
modified: views/cart.py
modified: views/shop_location.py
2024-06-16 15:49:45 -04:00
60b495b36a
Handling selection and cost now seem to work.
...
only thing next is blocking if there is a need for handling options and
user needs address.
modified: make_post_sell/models/cart.py
modified: make_post_sell/models/inventory.py
modified: make_post_sell/models/invoice.py
modified: make_post_sell/routes.py
new file: make_post_sell/scripts/alembic/versions/1b3ecdde9e65_handling_options.py
modified: make_post_sell/templates/cart.j2
modified: make_post_sell/views/cart.py
2024-06-16 14:33:21 -04:00
e5c49e5347
Shop Locations - fast switcher
...
modified: make_post_sell/templates/base.j2
2024-06-09 17:06:02 -04:00
b4698efb99
modified: make_post_sell/views/shop_location.py
2024-06-09 16:34:31 -04:00
6706223f17
allow users without being logged in to switch shop locations
...
modified: make_post_sell/templates/product.j2
modified: make_post_sell/templates/shop_locations.j2
modified: make_post_sell/views/shop_location.py
2024-06-09 11:00:19 -04:00
8705842e45
prevent adding to cart if no inventory at shop_location
...
modified: make_post_sell/models/shop_location.py
modified: make_post_sell/request_methods.py
modified: make_post_sell/routes.py
modified: make_post_sell/templates/product.j2
modified: make_post_sell/templates/shop_locations.j2
modified: make_post_sell/views/shop_location.py
2024-06-08 20:30:17 -04:00
6055eed135
flash when shop location is switched.
2024-06-08 19:43:44 -04:00
f218e30ad9
fix inventory management
...
modified: make_post_sell/views/product.py
2024-06-08 19:26:04 -04:00
0b7e643976
Better sql query for product inventories
...
modified: make_post_sell/models/product.py
modified: make_post_sell/routes.py
modified: make_post_sell/templates/shop_locations.j2
modified: make_post_sell/views/product.py
modified: make_post_sell/views/shop.py
modified: make_post_sell/views/shop_location.py
2024-06-08 18:29:16 -04:00
2e79f44089
More work for physical products
...
modified: make_post_sell/models/product.py
modified: make_post_sell/routes.py
modified: make_post_sell/templates/product.j2
modified: make_post_sell/templates/product_edit.j2
modified: make_post_sell/templates/product_new.j2
modified: make_post_sell/templates/shop_products.j2
modified: make_post_sell/views/__init__.py
modified: make_post_sell/views/authentication.py
modified: make_post_sell/views/billing.py
modified: make_post_sell/views/cart.py
modified: make_post_sell/views/content.py
modified: make_post_sell/views/coupon.py
modified: make_post_sell/views/product.py
modified: make_post_sell/views/shop.py
modified: make_post_sell/views/shop_location.py
modified: make_post_sell/views/user.py
2024-06-08 17:19:10 -04:00
505947fd6b
GPT-4 helped me stub in the forms for creating and updating shop
...
locations
modified: make_post_sell/routes.py
modified: make_post_sell/templates/actions_view.j2
new file: make_post_sell/templates/shop_location_form.j2
new file: make_post_sell/templates/shop_locations.j2
new file: make_post_sell/views/shop_location.py
2024-06-08 13:15:58 -04:00
3452cf7a58
modified: make_post_sell/models/shop_location.py
2024-06-08 12:04:14 -04:00
c17c4bf2e4
modified: make_post_sell/models/shop_location.py
2024-06-08 11:51:18 -04:00
a1037a54e8
more fields for shop_location
...
modified: make_post_sell/models/shop_location.py
new file: make_post_sell/scripts/alembic/versions/ddfbd6d96915_shop_location_rates_and_hours.py
2024-06-08 11:45:39 -04:00
47be09817f
remove unneeded references.
...
modified: make_post_sell/models/inventory.py
modified: make_post_sell/models/shop_location.py
2024-06-08 10:26:35 -04:00
8af327bed1
migration scripts for adding new tables and fields.
...
modified: make_post_sell/models/__init__.py
modified: make_post_sell/models/inventory.py
modified: make_post_sell/models/meta.py
modified: make_post_sell/models/product.py
modified: make_post_sell/models/shop.py
modified: make_post_sell/models/shop_location.py
new file: make_post_sell/scripts/alembic/versions/cc6211ec360e_physical_products_shop_locations_and_.py
2024-06-08 10:14:51 -04:00
9dd56e0898
register new tables with ORM
...
modified: make_post_sell/models/meta.py
2024-06-05 13:28:43 -04:00
722de10485
stub in new shop_location and inventory models
2024-06-05 13:24:28 -04:00
34ea581dab
urlencode email address so that emails with + work.
...
modified: make_post_sell/models/user.py
modified: make_post_sell/views/authentication.py
2023-04-26 13:42:52 -04:00
10e8944f13
modified: journal.rst
2022-09-22 10:51:50 -04:00
65189452a3
display some file sizes
...
modified: make_post_sell/models/product.py
modified: make_post_sell/templates/shop_products.j2
modified: make_post_sell/views/content.py
modified: make_post_sell/views/product.py
2022-09-14 12:31:54 -04:00
06617affda
product file_bytes & total_file_cytes columns
...
modified: journal.rst
modified: make_post_sell/models/product.py
new file: make_post_sell/scripts/alembic/versions/7217f39a20a8_product_file_bytes.py
modified: make_post_sell/views/product.py
2022-09-13 17:46:10 -04:00
f01ba4458c
Merge branch 'address' into 'master'
...
Add, activate, and remove active user addresses.
See merge request engineering/make-post-sell/make_post_sell!9
2022-09-06 16:19:09 +00:00
6b30a78f2d
Add, activate, and remove active user addresses.
2022-09-06 16:19:09 +00:00
8eec43d64c
when db is created we should create a shop for the root_domain saas
...
modified: development.ini
modified: make_post_sell/scripts/initialize_db.py
2022-08-26 12:58:54 -04:00
d19fc96bb3
Merge branch 'stripe-refactor' into 'master'
...
Stripe Customer Sources to SetupIntents & Element JS
See merge request engineering/make-post-sell/make_post_sell!8
2022-08-24 18:45:06 +00:00
6ca0fe5846
Stripe Customer Sources to SetupIntents & Element JS
2022-08-24 18:45:05 +00:00
85c477f3fd
as suggetsed by jenn.
...
modified: make_post_sell/templates/product.j2
2022-08-22 12:43:24 -04:00
db6f1ac795
stubbing in methods to help with stripe refactor work.
...
modified: make_post_sell/models/stripe_user_shop.py
2022-08-08 10:51:53 -04:00
712b5d6563
add active card id to stripe user shop class/table
...
modified: make_post_sell/models/stripe_user_shop.py
new file: make_post_sell/scripts/alembic/versions/b8be6cd51cbd_stripe_shop_user_active_card_id.py
2022-08-03 12:00:38 -04:00
6ceeea6283
modified: mail.py
2022-08-01 11:13:55 -04:00
1789c812b6
modified: static/css/common.css
2022-07-31 15:28:28 -04:00