dni ⚡
49b4ae73c5
chore: rename websocketUpdater ( #99 )
...
* chore: rename `websocketUpdater`
https://github.com/lnbits/lnbits/pull/2377
2024-04-12 12:12:19 +02:00
Vlad Stan
f29e77db7e
Custom shipping cost ( #86 )
...
* feat: simple UI for shipping zone per product
* feat: add empty cost
* fix: backwards compatible zones
* feat: finish UI for product shipping cost
* fix: some ui issues
* feat: add per product shipping cost
* feat: show receipt for product
* fix: publish per product shipping cost
2023-09-21 17:29:13 +03:00
Vlad Stan
97ee1c8f49
Fix high load ( #84 )
...
* chore: testing
* fix: resubscribe when merchant added/removed
* chore: code clean-up
* fix: temp subscribe when new merchant is added
* fix: new customer profile
2023-09-20 09:17:01 +03:00
Vlad Stan
2891474312
feat: add auto-reply on payment ( #82 )
2023-09-15 10:21:03 +03:00
Vlad Stan
9b98bd71c0
fix: import after core refactoring
2023-09-13 09:55:40 +03:00
Vlad Stan
f2773e0b44
Fix subscription errors ( #81 )
...
* pref: merge filters in one
* chore: load nit
* feat: restore individual order
2023-09-12 15:03:37 +03:00
Vlad Stan
df5e894b8c
feat: update shipping zone when re-issuing invoice
2023-07-04 17:15:20 +02:00
Vlad Stan
dacf318ee4
feat: allow invoice re-issue
2023-07-04 16:20:08 +02:00
Vlad Stan
9778ecdb69
refactor: rename now public method
2023-07-04 16:20:08 +02:00
Vlad Stan
0a0e11e286
feat: show failed order error message
2023-07-04 16:20:08 +02:00
Vlad Stan
6111b9398a
fix: store failed orders also
2023-07-04 16:20:08 +02:00
Vlad Stan
bc39583fb4
chore: code format
2023-07-04 16:20:08 +02:00
Vlad Stan
b3145780f0
chore: code clean-up
2023-07-04 08:40:49 +02:00
Vlad Stan
0ce4d1ebce
fix: notification for orders
2023-07-04 08:40:49 +02:00
Vlad Stan
a3c221aca8
feat: activate/deactivate merchant
2023-07-04 08:40:49 +02:00
Vlad Stan
f6d8ca6e6e
refactor: prepare for merchant active/disable state
2023-07-04 08:40:49 +02:00
Vlad Stan
33adae672d
Product delete ( #64 )
...
* feat: restore stalls from `nostr` as pending
* feat: stall and prod last update time
* feat: restore products and stalls as `pending`
* feat: show pending stalls
* feat: restore stall
* feat: restore a stall from nostr
* feat: add blank `Restore Product` button
* fix: handle no talls to restore case
* feat: show restore dialog
* feat: allow query for pending products
* feat: restore products
* chore: code clean-up
* fix: last dm and last order query
* chore: code clean-up
* fix: subscribe for stalls and products on merchant create/restore
* feat: add message type to orders
* feat: simplify messages; code format
* feat: add type to DMs; restore DMs from nostr
* fix: parsing ints
* fix: hide copy button if invoice not present
* fix: do not generate invoice if product not found
* feat: order restore: first version
* refactor: move some logic into `services`
* feat: improve restore UX
* fix: too many calls to customer DMs
* fix: allow `All` customers filter
* fix: ws reconnect on server restart
* fix: query for customer profiles only one
* fix: unread messages per customer per merchant
* fix: disable `user-profile-events`
* fix: customer profile is optional
* fix: get customers after new message debounced
* chore: code clean-up
* feat: auto-create zone
* feat: fixed ID for default zone
* feat: notify order paid
2023-06-30 13:12:56 +03:00
Vlad Stan
19f67e474a
feat: allow to add test public key
2023-05-04 12:15:45 +03:00
Vlad Stan
6ec8d648ff
fix: do not erase merchant profile
2023-04-19 10:27:47 +03:00
Vlad Stan
755f8ac9ae
fix: filter and notifications
2023-04-03 15:11:46 +03:00
Vlad Stan
a65017d04e
fix: shipping cost; update UI on new order
2023-04-03 11:57:55 +03:00
Vlad Stan
87c0477b33
feat: keep track of new messages
2023-03-30 13:58:14 +03:00
Vlad Stan
c3c2f95e71
feat: notify new customer
2023-03-30 13:58:14 +03:00
Vlad Stan
afb21b100f
feat: show customer names
2023-03-30 13:58:14 +03:00
Vlad Stan
9dac1d25b2
feat: keep customer profiles up to date
2023-03-30 13:58:14 +03:00
Vlad Stan
da38fcdc82
fix: add orders to direct_messages table
2023-03-24 16:55:23 +02:00
Vlad Stan
330a734932
feat: republish to nostr
2023-03-24 14:52:34 +02:00
Vlad Stan
1e14aa9974
chore: code clean-up
2023-03-17 18:01:34 +02:00
Vlad Stan
cdf9b20e05
chore: code clean-up
2023-03-16 18:34:37 +02:00
Vlad Stan
62e54322f5
feat: extract nostr_client class
2023-03-16 16:01:14 +02:00
Vlad Stan
0265b481d9
fix: catch AssertionErrors
2023-03-16 15:27:07 +02:00
Vlad Stan
8b6644e9d8
feat: do not issue invoice if insufficient products
2023-03-16 15:15:48 +02:00
Vlad Stan
7ce4fd76d0
feat: update product quantity when invoice paid
2023-03-16 11:59:38 +02:00
Vlad Stan
0ec7d40a68
chore: code format
2023-03-15 22:25:15 +02:00
Vlad Stan
e183deb5e0
fix: use merchant id instead of user id
2023-03-15 11:25:52 +02:00
Vlad Stan
2b591afccf
chore: code clean-up
2023-03-14 14:31:30 +02:00
Vlad Stan
d58c97f080
feat: user merchant_id instead of user_id
2023-03-14 14:31:30 +02:00
Vlad Stan
fa6b07ff37
feat: optimize filtering for DMs
2023-03-14 14:31:30 +02:00
Vlad Stan
b61e8933eb
refactor: do not go over http to create order
2023-03-14 14:31:30 +02:00
Vlad Stan
caaca7bf88
refactor: clean-up tasks.py
2023-03-14 14:31:30 +02:00
Vlad Stan
d22c06e1e7
refactor: extract handle_order_paid
2023-03-14 14:31:30 +02:00
Vlad Stan
7a1759413c
refactor: extract create_order
2023-03-14 14:31:30 +02:00