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
90494d85a5
expire_in: 1 month
2022-06-29 21:26:22 +00:00
987f46767f
Enable gzip & fix favicon
...
modified: Caddyfile
2022-06-29 14:03:41 -04:00
35da09bf3c
w00t this Caddyfile was able to work in development!
...
modified: .gitignore
new file: Caddyfile
2022-06-29 13:19:01 -04:00
36930dffdd
implements ask-for-on-demand-tls for testing Caddy.
...
modified: README.rst
modified: make_post_sell/routes.py
modified: make_post_sell/views/misc.py
2022-06-29 10:27:23 -04:00
3c189c2192
Stop swallowing errors on markdown preview endpoint.
...
modified: make_post_sell/views/misc.py
2022-06-28 15:18:36 -04:00
be73a16228
Merge branch 'implement-shop-user-roles' into 'master'
...
shop user roles: owners, editors, members
shop user roles: owners, editors, members
Huge pull requests.
In this PR we implement role based authorization by extending the "user shop" table to include a new field for tracking a rudimentary role id integer.
For now the integers are from 0,1,2
0 == owner (root) 1 == editor (virtual assistant) 2 == member (viewer)
For now the member role doesn't provide any additional behavior but could be added to a future enhancement.
We have now separated out privileged views into requiring the user to be part of the owner role or editor role depending on the route.
We have created a new route called shop_users & it works for adding or removing new users into the active shop. As such for example, only users with owner access may access the new shop_users view and as such only they can add or remove users from the shop.
2022-06-28 17:28:31 +00:00
259b090825
shop user roles: owners, editors, members
...
shop user roles: owners, editors, members
Huge pull requests.
In this PR we implement role based authorization by extending the "user shop" table to include a new field for tracking a rudimentary role id integer.
For now the integers are from 0,1,2
0 == owner (root) 1 == editor (virtual assistant) 2 == member (viewer)
For now the member role doesn't provide any additional behavior but could be added to a future enhancement.
We have now separated out privileged views into requiring the user to be part of the owner role or editor role depending on the route.
We have created a new route called shop_users & it works for adding or removing new users into the active shop. As such for example, only users with owner access may access the new shop_users view and as such only they can add or remove users from the shop.
2022-06-28 17:28:31 +00:00
7364aca910
modified: make_post_sell/lib/mail_messages.py
...
modified: make_post_sell/lib/render.py
2022-06-19 09:18:27 -04:00
36d5175ea2
Merge branch 'develop' into 'master'
...
commit test to hamper brute force code breaking
See merge request engineering/make-post-sell/make_post_sell!5
2022-06-11 13:08:40 +00:00
f0970d54e8
commit test to hamper brute force code breaking
2022-06-11 13:08:40 +00:00
0899dc756c
Update .gitlab-ci.yml file
2022-06-10 23:35:39 +00:00
58cf0ad6c1
try to use a child pipeline to fix artifact link race condition.
...
new file: .gitlab-ci.deploy.yml
modified: .gitlab-ci.yml
2022-06-10 19:27:13 -04:00
1ceeba80a9
Merge branch 'rjb-throttle-verification-challenge-attempts' into 'master'
...
Rjb throttle verification challenge attempts
See merge request engineering/make-post-sell/make_post_sell!4
2022-06-10 00:59:48 +00:00
a24c342f30
Rjb throttle verification challenge attempts
2022-06-10 00:59:48 +00:00
50746f74a5
bump...
2022-06-09 19:57:00 +00:00