Commit graph

256 commits

Author SHA1 Message Date
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
ece119c0d4 modified: static/css/common.css 2022-07-31 14:05:04 -04:00
d9d7fcf0f5 bust CDN when uploading new product files.
modified:   models/product.py
	modified:   templates/content.j2
	modified:   templates/product.j2
	modified:   views/product.py
2022-07-31 13:47:20 -04:00
37bf2c2927 modified: make_post_sell/templates/content.j2
modified:   make_post_sell/views/cart.py
	modified:   make_post_sell/views/content.py
	modified:   make_post_sell/views/product.py
2022-07-31 09:53:09 -04:00
9756ad7200 only run head on product objects with a product file.
modified:   make_post_sell/views/product.py
2022-07-28 11:49:09 -04:00
02ef4bc68d also show filesize for content.
modified:   make_post_sell/templates/content.j2
2022-07-28 11:45:00 -04:00
b00897acf4 output human readable size of project on product.
modified:   make_post_sell/templates/product.j2
	modified:   make_post_sell/views/product.py
2022-07-28 11:38:36 -04:00
8bba55f5d5 hide UI for non implemented feature.
modified:   make_post_sell/templates/user_settings.j2
2022-07-28 10:42:50 -04:00
19557f371b make shop logo & favicon work with CDN busting.
modified:   make_post_sell/models/shop.py
	new file:   make_post_sell/scripts/alembic/versions/1275752bc491_shop_updated_timestamp.py
	modified:   make_post_sell/templates/base.j2
	modified:   make_post_sell/templates/shop_settings.j2
	modified:   make_post_sell/views/shop.py
2022-07-28 10:24:03 -04:00
2027b64d89 low mood today. journal entry.
modified:   journal.rst
2022-07-19 16:59:16 -04:00
0149a1038d Fix ups
modified:   make_post_sell/models/cart.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/shop.py
2022-07-14 11:14:20 -04:00
e6e519b8e0 Merge branch 'develop-carts' into 'master'
shop_id & active on cart table

Closes #11

See merge request engineering/make-post-sell/make_post_sell!7
2022-07-13 18:11:40 +00:00
ff8bddadbb shop_id & active on cart table 2022-07-13 18:11:40 +00:00
edaa1e450e missed a reference.
modified:   make_post_sell/templates/content_new.j2
2022-07-07 13:09:48 -04:00
aa27d1afad Fix syntax error manifesting as ValueError
modified:   make_post_sell/tests/test_sanitize_html.py
	modified:   make_post_sell/views/__init__.py
	modified:   make_post_sell/views/coupon.py
2022-07-07 12:56:44 -04:00
7f1ec29786 move active_shop to request.shop
modified:   make_post_sell/templates/actions_new.j2
	modified:   make_post_sell/templates/actions_view.j2
	modified:   make_post_sell/templates/base.j2
	modified:   make_post_sell/templates/product_new.j2
	modified:   make_post_sell/views/coupon.py
	modified:   make_post_sell/views/product.py
	modified:   make_post_sell/views/user.py
2022-07-07 11:53:56 -04:00
3893437dc8 new file: make_post_sell/tests/test_sanitize_html.py 2022-07-05 14:55:17 -04:00
ba6d2591b1 sunset miscutils!
new file:   make_post_sell/lib/hex_color.py
	modified:   make_post_sell/lib/mail.py
	modified:   make_post_sell/lib/render.py
	new file:   make_post_sell/lib/sanitize_html.py
	modified:   make_post_sell/models/cart.py
	modified:   make_post_sell/models/coupon.py
	modified:   make_post_sell/models/shop.py
	modified:   make_post_sell/models/user.py
	modified:   requirements.py3.txt
	modified:   requirements.txt
2022-07-05 14:50:20 -04:00
62a0b6ed93 modified: make_post_sell/__init__.py 2022-07-05 14:34:38 -04:00
b7dfcdafee Migrate another handful of code from miscutils
modified:   make_post_sell/__init__.py
	new file:   make_post_sell/lib/phone_numbers.py
	new file:   make_post_sell/lib/uuid_validation.py
	modified:   make_post_sell/request_methods.py
	modified:   make_post_sell/views/product.py
	modified:   make_post_sell/views/shop.py
2022-07-05 14:31:08 -04:00
76dd3550d6 modified: make_post_sell/tests/test_functional.py 2022-07-05 13:55:10 -04:00
cbc659ed86 remove refererences to miscutils
new file:   make_post_sell/lib/currency.py
	modified:   make_post_sell/models/cart.py
	modified:   make_post_sell/models/coupon.py
	modified:   make_post_sell/models/price.py
	modified:   make_post_sell/models/product.py
	modified:   make_post_sell/views/product.py
2022-07-05 13:53:09 -04:00
82ae89d244 refactor out custom madness in favor of sanity.
getting rid of app_url because it was a strange wrapper around
request.host_url & doesn't seem to provide any value except to confuse
the code. eliminated it.

in the process touched up some comments & email templates.

	modified:   make_post_sell/lib/mail.py
	modified:   make_post_sell/lib/mail_messages.py
	modified:   make_post_sell/models/product.py
	modified:   make_post_sell/models/shop.py
	modified:   make_post_sell/request_methods.py
	modified:   make_post_sell/templates/base.j2
	modified:   make_post_sell/templates/product_edit.j2
2022-07-05 12:43:02 -04:00
6426be4d27 UX for stripe hidden control area.
modified:   make_post_sell/static/css/common.css
	modified:   make_post_sell/templates/shop_settings.j2
2022-07-04 10:23:46 -04:00
d357a49e81 hide stripe secrets until clicked.
modified:   make_post_sell/static/css/common.css
	modified:   make_post_sell/templates/shop_settings.j2
2022-07-03 16:24:23 -04:00
9952b6e616 fix test.
modified:   make_post_sell/tests/test_functional.py
2022-07-03 14:19:53 -04:00
e97309fe02 Update make_post_sell/views/authentication.py 2022-07-03 18:06:32 +00:00
06b2242229 fix up maint mode
modified:   make_post_sell/templates/shop_settings.j2
	modified:   make_post_sell/views/shop.py
2022-07-02 19:05:35 -04:00
e618126a25 load proper favicon but not for saas domain.
modified:   make_post_sell/templates/base.j2
2022-07-02 18:36:31 -04:00
a9e6af2295 redirect back to proper shop settings page
modified:   make_post_sell/views/shop.py
2022-07-02 18:32:39 -04:00
ba4b2c84ae UX
modified:   development.ini
	modified:   make_post_sell/request_methods.py
	modified:   make_post_sell/templates/actions_new.j2
	modified:   make_post_sell/templates/actions_view.j2
	modified:   make_post_sell/templates/base.j2
	modified:   make_post_sell/templates/home.j2
2022-07-02 15:02:07 -04:00
6dfd50c3fa shop logo_banner boolean field to fixup UX
modified:   make_post_sell/models/shop.py
	new file:   make_post_sell/scripts/alembic/versions/aad3d454a6f4_shop_logo_banner_boolean.py
	modified:   make_post_sell/views/shop.py
2022-06-30 16:51:18 -04:00
0e9f1e9b2b make content a bit nicer. 2022-06-30 15:29:39 -04:00
2d6b88e15f making blog content look a tiny bit better.
modified:   models/product.py
	modified:   templates/product.j2
2022-06-30 15:24:03 -04:00
0b73333b4a support content without a product file.
modified:   product.py
2022-06-30 14:56:29 -04:00
7227902fda fix shop switcher
modified:   templates/shops.j2
2022-06-30 12:45:28 -04:00