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

174 Commits

Author SHA1 Message Date
Sylvain
ed6a397b89 (test) test places cache 2023-02-15 10:29:56 +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
ddc2dd4c6e (feat) training auto cancel authorization and invalidation rule 2023-02-15 10:28:07 +01:00
Sylvain
e2edbb419a (feat) auto cancel trainings under the threshold 2023-02-15 10:28:04 +01:00
Karen
4aba30c5e3 (feat) project statuses api 2023-02-15 10:27:13 +01:00
Sylvain
98d6363525 (bug) unable to create a recurrent event 2023-01-31 11:39:51 +01:00
Sylvain
b14329497b (test) abuses, age_range, categories 2023-01-06 17:18:44 +01:00
Du Peng
36fba94a5f (test) fix test failure for clone product 2023-01-02 10:57:44 +01:00
Sylvain
898ce07509 (merge) Merge branch 'staging' into dev 2022-12-27 12:20:18 +01:00
Sylvain
f8904dfb9c (feat) customize VAT name 2022-12-27 12:13:24 +01:00
Sylvain
574974c239 (merge) Merge branch 'machine_category' into staging 2022-12-27 10:59:36 +01:00
Sylvain
e139067954 (feat) prevent generate invoices at 0 2022-12-23 14:14:42 +01:00
Du Peng
8f3951bd0e (quality) add machine category test 2022-12-22 16:03:07 +01:00
Sylvain
b552e5e626 (feat) rename client accounts to financial 2022-12-21 14:14:37 +01:00
Sylvain
4d7e09c98d (feat) multiple accounting journals 2022-12-21 14:14:36 +01:00
Sylvain
90dc38ed10 (feat) move external id to InvoicingProfile 2022-12-21 14:14:34 +01:00
Sylvain
4b84963d7f (feat) optional external id 2022-12-21 14:14:29 +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
af3def0e2e (feat) save the accounting data in DB
Previously, the accounting data were built on demand,
extracting the data from the invoices on-the-fly.
This is intended to be used only once in a while, so there was
no performance issue with that.
Now, we want those data to be accessed from the OpenAPI,
so building them on-the-fly would be very much
intensive and resouces heavy. So we build them each nights
using a scheduled worker and save them in the database
2022-12-21 14:11:40 +01:00
Du Peng
bcd76ee6d5 (bug) always show machine availability in calender if machine module is inactive 2022-12-20 18:46:25 +01:00
Guilherme Chaguri
0544bec729 Fix test fixtures to use the current timezone 2022-12-20 13:57:37 -03:00
Sylvain
3a2f488c56 (test) prevent last minutes bookings 2022-12-14 12:22:44 +01:00
Sylvain
8eaeb2df39 (bug) soft-destroyed still reported in OpenAPI
Also: improved testing
2022-11-23 11:59:06 +01:00
Sylvain
0c2129973c (test) added a test on statistics export 2022-11-17 16:35:59 +01:00
Du Peng
46ef0170b9 (test) add admin pay order test 2022-11-07 18:52:43 +01:00
Sylvain
71d5abdedb (bug) invalid coupon amount in PDF invoices 2022-10-27 16:45:38 +02:00
Sylvain
a3190115ab (bug) invoice rounding error using coupons 2022-10-27 16:04:21 +02:00
Sylvain
fc2b52c2ca (bug) invalid accounting export for store orders 2022-10-26 14:32:19 +02:00
Du Peng
6d448e0af2 (merge) merge dev and product-store 2022-10-26 09:37:31 +02:00
Du Peng
f771a829ab (test) add test on store 2022-10-25 19:10:14 +02:00
Sylvain
c9901a89e1 (test) test admin reserves for himself 2022-10-25 14:31:31 +02:00
Du Peng
cfc2a71c98 (test) add test for prepaid pack 2022-10-19 18:16:54 +02:00
Sylvain
70f7ef8951 (feat) build stats in elasticsearch 2022-10-11 15:14:53 +02:00
Sylvain
afc0685585 (test) store fixtures 2022-10-11 12:39:50 +02:00
Sylvain
da11a592e8 (quality) lint wallet transaction 2022-10-11 10:59:48 +02:00
Sylvain
5524cf5707 (bug) add missing statistic_key
For 1 year plans, the statistics key was missing in test fixtures
2022-09-05 14:19:38 +02:00
Sylvain
6a8c441e85 public calendar endpoint refactoring & testing 2022-07-18 17:19:33 +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
66d1348b06 fix slots fixtures 2022-07-18 17:18:01 +02:00
Sylvain
37b24a8d2f refactor slots model 2022-07-18 17:18:01 +02:00
Sylvain
b2fd2e1b48 build all slots at reservation creation time 2022-07-18 17:18:00 +02:00
Sylvain
d560dfa3cd (test) space reservation 2022-06-29 15:34:49 +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
Sylvain
c8753d108a (bug) fix errors due to sidekiq upgrade
- NoMethodError: undefined method 'delay' for UsersMailer:Class
- Removed open_api_calls_count_tracings fixtures due to the removal of the related table
2022-03-22 17:58:52 +01:00
Sylvain
5b69c0f46f test statistics generation 2022-01-18 15:34:21 +01:00
Sylvain
6091cec82e api endpoint to create prices 2021-12-21 14:18:03 +01:00
Sylvain
66ba8e565c Full test coverage of the OpenAPI
Also: fix related bugs
2021-06-28 09:50:37 +02:00
Sylvain
8358826afc added public_agenda_module to fixtures 2021-06-15 12:19:12 +02:00