1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
Commit Graph

292 Commits

Author SHA1 Message Date
Sylvain
c0b465748a (bug) unable to fix availabilities for events 2023-02-20 12:26:11 +01:00
Sylvain
142eceb661 (quality) replace DateTime by Time 2023-02-17 11:45:07 +01:00
Sylvain
986a663c40 (feat) places cache for slots 2023-02-15 10:29:54 +01:00
Sylvain
bfe0936b40 (feat) save both operator/customer for orders 2023-02-15 10:29:50 +01:00
Sylvain
04f933f94d (bug) deal with DST using Time instead of DateTime 2023-02-14 13:10:58 +01:00
Du Peng
ce23597657 (quality) check statistics_module is active? before run build_stats task 2023-02-02 12:52:56 +01:00
Sylvain
193407e0da (bug) filter statistics by slot date 2023-02-02 11:02:33 +01:00
Sylvain
40eb4c3bd3 (wip) refactor seeds 2023-02-01 16:37:43 +01:00
Sylvain
953cf46ec1 (bug) fix_invoice_item if items.object=error 2023-01-10 11:28:20 +01:00
Sylvain
7ec8a4845e (quality) fix_invoice_item task 2023-01-06 15:38:39 +01:00
Sylvain
5dae938078 (bug) empty object for some invoice item 2023-01-06 10:15:32 +01:00
Sylvain
44a167f4c7 (bug) unable to build accounting lines if no invoices 2023-01-05 16:39:59 +01:00
Sylvain
4d7e09c98d (feat) multiple accounting journals 2022-12-21 14:14:36 +01:00
Sylvain
b3072ec444 (feat) auto fix rouding errors on accounting lines
Also: (ui) added help tooltips on some input fields
2022-12-21 14:12:10 +01:00
Sylvain
5acd44e51d (wip) script to fix invoices totals 2022-12-21 14:11:40 +01:00
Sylvain
c9c9ed9a02 (feature) auto validate admins 2022-11-04 09:46:17 +01:00
Du Peng
6d448e0af2 (merge) merge dev and product-store 2022-10-26 09:37:31 +02:00
Sylvain
744b811b62 (feat) remove admins group: allow admins to reserve 2022-10-25 11:57:26 +02:00
Sylvain
45129e3e37 (quality) linted code about payment schedules 2022-10-25 10:52:33 +02:00
Sylvain
f9f60cba17 (wip) allow admin to reserve for himself 2022-10-24 17:39:16 +02:00
Du Peng
1024b6fdc4 (bug) add fix prepaid pack hours dont count down script 2022-10-19 16:18:17 +02:00
Sylvain
a30eac10de (feat) humanize gateway error messages 2022-09-28 12:54:29 +02:00
Du Peng
79182fb8c1 Merge branch 'product_store-store' into product-store 2022-09-07 15:00:27 +02:00
Sylvain
b9c02742a1 (bug) unable to generate statistics 2022-08-29 17:34:09 +02:00
Du Peng
193c21a583 payment of cart by stripe/payzen/local 2022-08-25 08:52:17 +02:00
Sylvain
bb7eec924c Usage of the rails logger instead of printing to standard output 2022-07-26 17:27:33 +02:00
Sylvain
adaea48349 (bug) wrong currency on invoices files 2022-07-25 15:13:28 +02: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
784aa93e30 (bug) Unable to import accounts from SSO
When the transformation modal was opened but leaved empty, the field
mapping.transformation.type is defined but not
mapping.transformation.mapping, which result in the following error:

NoMethodError (undefined method `each' for nil:NilClass):

lib/omni_auth/data_mapping/base.rb:16:in `map_transformation'
2022-07-11 12:34:11 +02:00
Sylvain
925e109175 all components must have their matching root class 2022-06-15 13:40:54 +02:00
Sylvain
883f570d2b (bug) unable to connect with OAuth2 2022-06-07 15:23:11 +02:00
Sylvain
07578b5826 (ui)(api) configure data mapping for openid 2022-05-04 12:28:48 +02:00
Sylvain
c9e1749bb7 (adminsys) do not require to recompile the assets when switching the authentication provider 2022-05-04 12:28:44 +02:00
Sylvain
d7a38b491b (ui) automatically test for discovery endpoint 2022-05-04 12:28:31 +02:00
Sylvain
b4e53d2039 (db) table to save OpenID connect configuration
Also refactored OAuth2Mapping to allow usage with any types of providers
2022-05-04 12:16:38 +02:00
Nicolas Florentin
b6e586bada fix name of rake task for payzen 2022-05-02 09:47:04 +02:00
Nicolas Florentin
dc1b747341 adds rake task fablab:payzem:replay_on_payment_success to replay PayzenController#on_payment_success for a given a event 2022-04-29 08:34:13 +02:00
Du Peng
dd5090826a Add fablab:openlab:bulk_update rake task 2022-04-20 18:30:46 +02:00
Du Peng
9b0c5948cf Updated generate invoice reference method 2022-04-11 19:01:08 +02:00
Nicolas Florentin
16accfca44 [bugfix] race condition on invoice after payment (concerning payment schedules) https://app.clickup.com/t/25zpmn1 2022-04-06 16:44:31 +02:00
Du Peng
58f4ea4c15 Fix a bug: unable to set user's invoicing profile names and email if active address required in create user form 2022-03-29 17:08:35 +02:00
Sylvain
0c51aff748 (feat) OAuth2 scopes are now configurable from the interface
Previously, scopes were supported through OAUTH2_SCOPE since v5.3.1.
BREAKING CHANGE: update your oauth2 provider configuration if you need scopes support
2022-03-22 16:40:09 +01:00
Sylvain
5f5af95634 [bug] unable to rebuild the statistics 2022-02-07 11:43:00 +01:00
Sylvain
67850a6f9f (feat) optional sso debug logs according to SSO_DEBUG env var 2022-01-17 15:24:07 +01:00
Sylvain
c031f099a5 Merge branch 'oauth2' into dev 2022-01-17 12:46:07 +01:00
Sylvain
a38d3e31b1 use explicit payment method for check in paymentSchedules and do not include the payment method in the footprint 2022-01-11 16:15:43 +01:00
Sylvain
365443775e fix process payzen transaction 2022-01-11 14:20:27 +01:00
Sylvain
051b56b72f send notifications on payment schedules error/canceled by gateway 2022-01-11 12:37:06 +01:00
Sylvain
f647ebd9e0 When a payment schedule was canceled by the payment gateway, inform the user in the interface
TODO: send an in-system notification and an email notification
+ refactor payzen/service and stripe/service to extract notification sending
+ send notifications on state=error
+ in the interface: open a modal dialog to allow the admin to choose an action (cancel/continue by check/continue by transfer)
+ refactor the payment-schedule-tables.ts to extact the item-line logic (the component is getting too big)
2022-01-05 17:16:25 +01:00
Sylvain
f3f15a2b9d Ability to cancel a payement schedule from the interface 2022-01-03 17:13:35 +01:00