1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
Commit Graph

37 Commits

Author SHA1 Message Date
Nicolas Florentin
bdf94c6826 (feat) when deleting an event, all reservations are canceled 2023-11-10 09:13:23 +01:00
Du Peng
07b47d7956 (wip) add event type 2023-07-04 14:58:58 +02:00
Du Peng
112df59c96 (bug) date shift in event creation/update 2023-04-21 19:27:32 +02:00
Sylvain
7f4bd40dbf (test) verify env vars before running tests 2023-04-03 11:41:43 +02:00
Sylvain
4506038401 (merge) Merge branch 'v6' into dev 2023-04-03 11:10:57 +02:00
Du Peng
f04b93baec (bug) unable to update recurring event 2023-03-27 12:44:55 +02:00
Sylvain
71a9a87315 (feat) improved chaining system 2023-03-24 10:16:21 +01:00
Sylvain
01df96dc20 (security) upgrade to rails 6 2023-03-22 10:58:22 +01:00
Sylvain
6d9b4b2c70 (bug) unable to update recurrent events 2023-02-24 14:03:31 +01:00
Sylvain
4185b6e2fd (test) update recurrent events 2023-02-24 14:02:19 +01:00
Sylvain
8ca731ed53 (bug) fix running tests 2023-02-16 16:43:23 +01:00
Sylvain
e0931545e8 (quality) remove obsolete NotificationType.find_by_name 2023-02-16 16:08:47 +01:00
Sylvain
eba0c99ae5 (bug) date shift in event creation/update 2023-02-14 16:47:06 +01:00
Sylvain
98d6363525 (bug) unable to create a recurrent event 2023-01-31 11:39:51 +01:00
Sylvain
029eb90d78 (feat) soft-destroy a reserved event 2023-01-20 08:53:37 +01:00
Sylvain
620ce2c3a8 (test) products tests 2022-12-21 14:12:16 +01:00
Sylvain
2cf18c277c (bug) create recurrent event
Also: (test) test trainings API
Also: (test) test create recurrent event
2022-12-21 14:12:16 +01:00
Sylvain
b68e47a0ea refactor shopping_cart/reservation
Previsouly, the reservation was expecting parameters like:
slots_attributes: [{start_at: date, end_at: date, availability_id: number}]

Now, the reservation is expecting simpler parameters like:
slots_reservations_attributes:[{slot_id: number}]
2022-07-18 17:18:01 +02:00
Sylvain
746ec1f3f1 (bug) fix running tests 2022-03-23 16:55:38 +01:00
Sylvain
ee97b93a49 (style) replace Setting.find_by(name... by Setting.get 2022-03-23 13:30:55 +01:00
Sylvain
36e173fb43 test presence of footprint debug data 2021-05-31 12:19:28 +02:00
Sylvain
db58ee28c0 migration to object[]
TODO: fix invoices checksums
2021-05-31 11:52:53 +02:00
Sylvain
d942d46632 WIP: migration to object[]
TODO: fix running tests, fix front-end
2021-05-28 17:34:20 +02:00
Sylvain
5f5ec8dbb6 remove references to Invoice.invoiced 2021-05-27 15:58:55 +02:00
Sylvain
66f81a975e WIP: array of items
Migration from cart_items:{reservation:{}, subscription:{}, ...}
to cart_items:{items:[{reservation:{}, ...}], ...}
2021-05-19 18:12:52 +02:00
Sylvain
da372cf8ad fix test Events::AsUserTest
the event price calculalation was using a variable not reinitialized
2021-04-26 16:38:00 +02:00
Sylvain
bc6ef8ef50 WIP: move backend code base to new architecture
- from stripe only to payment gateway abstract
- from reservation params style to unified cart_items

TODO: fix not passing tests,
subscriptions/renew_as_admin_test.rb fails because InvoiceItem(9).amount = nil
2021-04-23 17:54:59 +02:00
Sylvain
fd5c3a87ce rename /api/payment to /api/stripe
other payment gateways will have their own separate endpoints
2021-04-12 10:45:41 +02:00
Sylvain
82d6677cff read stripe_api_key from db 2020-06-10 11:33:03 +02:00
Du Peng
b3313d3e75 update rails to 5.1.7 2020-03-25 12:35:07 +01:00
Sylvain
d977838d52 fix tests according to changes for stripe SCA 2019-09-11 16:20:47 +02:00
Sylvain
4d0ac9b3ca using stp_payment_intent_id instead of stp_invoice_id on new invoices 2019-09-10 16:45:45 +02:00
Sylvain
80aab9f17c fixed: create event with custom price 2019-01-21 11:26:42 +01:00
Sylvain
2a92b06ef6 test invoice with VAT 2016-12-01 12:12:44 +01:00
Sylvain
78002e66aa add comments about prices 2016-11-28 12:23:48 +01:00
Sylvain
7858d261c3 test event reservation with wallet + coupon 2016-11-28 11:50:16 +01:00
Sylvain
265ed3967c change events test architecture 2016-11-28 11:49:59 +01:00