Sylvain
04f933f94d
(bug) deal with DST using Time instead of DateTime
2023-02-14 13:10:58 +01:00
Du Peng
37989aec63
(feat) OpenAPI endpoint to fetch subscription data
2023-02-06 16:46:54 +01:00
Sylvain
1644bc43db
(bug) invalid date display in negative timezones
2023-02-03 17:25:24 +01:00
Sylvain
874a527f6f
Version 5.6.9
2023-02-02 11:22:57 +01:00
Sylvain
71579e7465
(wip) slot date in stats
2023-01-31 17:10:07 +01:00
Sylvain
001d024948
(bug) unable to create a non-rolling plan
2023-01-31 13:49:37 +01:00
Sylvain
98d6363525
(bug) unable to create a recurrent event
2023-01-31 11:39:51 +01:00
Sylvain
66311b8761
(bug) invalid month in some date format
2023-01-31 10:44:45 +01:00
Sylvain
c13548ccb4
(test) handle plan update request
2023-01-26 10:04:47 +01:00
Sylvain
792db1ee29
(bug) fix test
2023-01-25 12:58:51 +01:00
Sylvain
c1159b2aed
(bug) update plan prices
2023-01-25 12:08:16 +01:00
Sylvain
029eb90d78
(feat) soft-destroy a reserved event
2023-01-20 08:53:37 +01:00
Sylvain
921b5eab2f
(bug) invalid event date in negative TZ
2023-01-13 12:15:48 +01:00
Sylvain
f9fc74b2ee
(test) oauth2 providers
2023-01-10 13:09:04 +01:00
Sylvain
68e5f6dc20
(security) restrict access to stats endpoint
2023-01-09 13:13:24 +01:00
Sylvain
c799e4309d
(test) Tag, Theme
2023-01-09 10:06:32 +01:00
Sylvain
5ead325607
(test) prepaid packs
2023-01-09 09:58:18 +01:00
Sylvain
f587dc3c32
(test) Group
2023-01-09 09:43:58 +01:00
Sylvain
5682d8b8e6
(test) AgeRange, Category, Component, EventTheme
2023-01-09 09:36:36 +01:00
Sylvain
b14329497b
(test) abuses, age_range, categories
2023-01-06 17:18:44 +01:00
Sylvain
5588948bf7
(bug) VAT decimal values
2023-01-06 13:05:51 +01:00
Sylvain
10f054256e
(feat) payment schedule due in invoices
2023-01-05 12:09:16 +01:00
Sylvain
8ce1ceb345
(quality) translate validation messages
2023-01-04 11:12:02 +01:00
Sylvain
7bb97d267d
(feat) build accounting data for yesterday by default
2023-01-04 10:27:14 +01:00
Du Peng
29b92475bb
(feat) Ability to filter uniq slots reserved in admin calendar
2023-01-02 19:20:02 +01:00
Du Peng
36fba94a5f
(test) fix test failure for clone product
2023-01-02 10:57:44 +01:00
Du Peng
b1592a7f6f
(test) fix test failure for update machine category
2023-01-02 10:57:16 +01:00
Sylvain
7cd689b92c
(bug) product low stock notification
2022-12-28 11:01:05 +01:00
Sylvain
051f182839
(bug) clear date in suscription extend free days
2022-12-27 17:15:49 +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
b357f11d1e
(test) free reservation no invoice
2022-12-23 14:21:51 +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
785e80a6f4
(test) PasswordStrength
2022-12-22 12:11:14 +01:00
Sylvain
e7912557eb
(test) UserProfileForm
2022-12-21 14:14:39 +01:00
Sylvain
b552e5e626
(feat) rename client accounts to financial
2022-12-21 14:14:37 +01:00
Sylvain
40dd3f11b8
(api) accounting: invoice.payment_details.payment_mean
2022-12-21 14:14:36 +01:00
Sylvain
4d7e09c98d
(feat) multiple accounting journals
2022-12-21 14:14:36 +01:00
Sylvain
31ba4d3486
(api) accounting: payment details
2022-12-21 14:14:35 +01:00
Sylvain
e3eb8eb516
(api) accounting: report external id for user
2022-12-21 14:14:35 +01:00
Sylvain
90dc38ed10
(feat) move external id to InvoicingProfile
2022-12-21 14:14:34 +01:00
Sylvain
9b5cf8842e
(api) accounting: filter by type
2022-12-21 14:14:34 +01:00
Sylvain
3a05398c8c
(api) accounting: report build status
2022-12-21 14:14:33 +01:00
Sylvain
4763014ec8
(api) users: first_name, last_name
2022-12-21 14:14:31 +01:00
Sylvain
fdddb545d9
(feat) OpenAPI/users: gender, organization, address
2022-12-21 14:14:31 +01:00
Sylvain
dcaa5ad28c
(bug) unsupported param[] syntax in OpenAPI
2022-12-21 14:14:30 +01:00
Sylvain
9ac2655256
(feat) OpenAPI/users: filter by created_after
2022-12-21 14:14:30 +01:00
Sylvain
7659597e32
(doc) Updated OpenAPI documentation
2022-12-21 14:14:29 +01:00
Sylvain
4b84963d7f
(feat) optional external id
2022-12-21 14:14:29 +01:00
Sylvain
e246480049
(test) ProductForm
2022-12-21 14:14:28 +01:00
Sylvain
3c9c9f56a0
(quality) improved expect
2022-12-21 14:14:27 +01:00
Sylvain
c1638ab54d
(test) tiptap & file uploads
2022-12-21 14:14:26 +01:00
Sylvain
7a3ab98b10
(quality) add typescript to jest tests
2022-12-21 14:14:26 +01:00
Sylvain
b30701ba6f
(test) improved frontend tests
2022-12-21 14:14:25 +01:00
Sylvain
9d2dde8257
(test) test AccountingCodesSettings
2022-12-21 14:14:25 +01:00
Sylvain
84dfcf38c7
(test) AdvancedAccountingForm
2022-12-21 14:14:25 +01:00
Sylvain
664e42099a
(test) improved settings fixtures
2022-12-21 14:14:24 +01:00
Sylvain
7d83d6454f
(test) Jest + react-testing-library
...
This commit aims to put a testing environment in place
for frontend react components using the de-facto standards
for our stack.
An example test file was writter for the component plan-form.tsx.
Some fixtures for some API endpoints were written (see
__setup__/server.js)
2022-12-21 14:14:22 +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
5d1c70a26e
(test) accounting service
2022-12-21 14:12:15 +01:00
Sylvain
a55880a0ad
(feat) OpenAPI endpoint for accounting
...
Also: (bug) filter by array in openAPI = error
2022-12-21 14:12:14 +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
Sylvain
514a797b64
(wip) accounting endpoint for the OpenAPI
2022-12-21 14:11:39 +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
fa18891bc6
(bug) invalid test assertion
2022-12-14 11:30:06 +01:00
Sylvain
8eaeb2df39
(bug) soft-destroyed still reported in OpenAPI
...
Also: improved testing
2022-11-23 11:59:06 +01:00
Du Peng
37b17595a1
(test) add missing vcr cassettes test file
2022-11-22 16:36:21 +01:00
Sylvain
451cd0e915
(test) add admin offer product to himself
...
Also: split AdminPayOrderTest in two files
2022-11-17 17:14:31 +01:00
Sylvain
c684b892a7
(bug) ES not synced during tests
2022-11-17 16:59:33 +01:00
Sylvain
7b187b5776
(quality) remove console print
2022-11-17 16:41:25 +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
46e042fd38
(bug) test on invoice items was not idempotent
2022-10-28 10:25:10 +02:00
Sylvain
d9eee1aa3f
(bug) user cannot see past availabilities
2022-10-28 10:25:10 +02: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
Sylvain
abea5006b2
(bug) fix test failing between 10:00 and 11:00
2022-10-25 10:53:56 +02:00
Sylvain
873752172d
(bug) no statistics on trainings and spaces reservations
2022-10-24 12:12:49 +02:00
Du Peng
cfc2a71c98
(test) add test for prepaid pack
2022-10-19 18:16:54 +02:00
Sylvain
d9e8d0e40d
(wip) report store statistics in UI
2022-10-11 17:23:45 +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
3e6763f14a
(bug) wallet transation not returned if success
2022-10-11 11:41:44 +02:00
Sylvain
da11a592e8
(quality) lint wallet transaction
2022-10-11 10:59:48 +02:00
Sylvain
fe419f295a
(bug) erroneous statistics
...
The date of the statistics data was using the date of the regenerate
command parameter. This was ok for the nightly builds but definitly not
for bulk regeneration
2022-10-10 14:46:10 +02:00
Sylvain
2b80516177
(bug) unable to generate statistics
...
This bug is due to the refactoring of the statistics builder service,
in 2022 august. The default_options were not defined so the nightly
worker has no luck to run. The statistics may not have been built since
then, so a rebuild is required
2022-10-05 13:11:17 +02:00
Sylvain
c43d392191
(test) fix test after v5.4.19 changes
2022-09-27 17:21:43 +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
5bc1da7cf5
(feat) coupon in reservations export
2022-09-05 11:39:23 +02:00
Sylvain
f21beeaee7
(api) OpenAPI prices index endpoint
2022-08-30 14:16:49 +02:00
Sylvain
4319ea9bce
(api) OpenAPI plans categories index endpoint
2022-08-30 13:11:08 +02:00
Sylvain
657723bc22
(api) OpenAPI plans endpoints
...
index and show endpoints
2022-08-30 12:58:44 +02:00
Sylvain
4c3aa59bc0
(api) openAPI spaces endpoints
...
index spaces and show a space
2022-08-30 12:18:09 +02:00
Sylvain
b9c02742a1
(bug) unable to generate statistics
2022-08-29 17:34:09 +02:00
Sylvain
f7261043b5
Fix a bug: trainings monitoring is not available
2022-08-23 15:54:37 +02:00
Nicolas Florentin
1d6a59dd67
improvement: add complexity check of the user password
2022-07-29 17:37:42 +02:00
Sylvain
acbd327f6d
(test) Added a test for multiple reservations on the same space slot
2022-07-27 17:28:30 +02:00
Sylvain
2705b9f6bd
(bug) unable to reserve if user's subscription plan is disabled
2022-07-20 17:46:09 +02:00
Sylvain
c4d959570f
code linting
2022-07-19 17:32:55 +02:00
Sylvain
b243800f5a
(bug) As admin, unable to create a new member ( #374 )
2022-07-19 16:29:28 +02:00
Sylvain
e9a7b609bb
(bug) Unable to change the group of a user
2022-07-19 16:08:24 +02:00
Sylvain
06ee1acea5
(bug) fix slot reservation is considered full
2022-07-19 15:40:28 +02:00
Sylvain
fa45917d6f
added rubocop-rails
2022-07-19 12:13:50 +02:00
Sylvain
d26e2ae313
(bug) fix various issues due to slots behavior refactoring
2022-07-19 11:32:12 +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
1b8282fda4
display reservations credits in the dashboard
2022-06-29 15:35:17 +02:00
Sylvain
bcbd3bfb58
(bug) invalid users are reported in search
2022-06-29 15:35:17 +02:00
Sylvain
d560dfa3cd
(test) space reservation
2022-06-29 15:34:49 +02:00
Du Peng
c24aad00c4
check shopping cart items is valid before pay online
2022-06-07 16:55:29 +02:00
Du Peng
dce1835028
fix create plan test
2022-05-23 16:15:49 +02:00
Sylvain
29ba78fd77
(code) fix rubocop warning
2022-05-11 16:44:17 +02:00
Sylvain
752c46bd00
(bug) fix users api tests
2022-05-11 16:43:01 +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
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
51a2bed16c
(bug) prepaid-packs purchases are reported as subscriptions in the statistics
2022-03-23 12:35:02 +01: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
44853930ed
WIP: improve VatHistoryService
2021-12-28 19:42:04 +01:00
Du Peng
66cae9fb07
fix test for multi vat
2021-12-28 13:45:29 +01:00
Sylvain
6091cec82e
api endpoint to create prices
2021-12-21 14:18:03 +01:00
Sylvain
0f57e1081f
[bug] unable to create a plan
2021-11-10 17:06:21 +01:00
Sylvain
f250f58317
fix subscription renewal tests
2021-10-18 11:47:28 +02:00
Sylvain
3349cc3a2d
fix test on paymentSchedules
2021-10-15 11:55:30 +02:00
Sylvain
315e899540
[WIP] fix tests
2021-10-14 18:20:10 +02:00
Du Peng
5d8a1367a6
update test
2021-09-13 14:25:30 +02:00
Sylvain
920a97f40f
fix computing reservation price
2021-07-02 15:45:52 +02:00
Sylvain
4e030300cb
[bug] unable to filter by multiple user IDs in OpenAPI
...
Also: tests for OpenAPI user trainings
2021-06-28 10:17:26 +02:00
Sylvain
66ba8e565c
Full test coverage of the OpenAPI
...
Also: fix related bugs
2021-06-28 09:50:37 +02:00
Sylvain
07017e4a49
[bug] stripe subscription generation fails if the user already has a subscription
2021-06-24 16:52:47 +02:00
Sylvain
8358826afc
added public_agenda_module to fixtures
2021-06-15 12:19:12 +02:00
Sylvain
524e92b499
test payment schedules controller
2021-06-14 16:07:16 +02:00
Sylvain
7cfa2ca2c7
fix passing payzen tests
2021-06-14 14:53:59 +02:00
Sylvain
7ba2d58f50
update VCR to 6.0.0
...
Also: - updated cassettes
- Automated stripe secrets filtering in cassettes
- Improved display when no plan-categories exists
2021-06-11 14:29:30 +02:00
Sylvain
13fae70277
test payzen endpoints
2021-06-09 18:48:51 +02:00
Sylvain
39fe153267
fix table name in rollback migration
2021-06-07 09:56:03 +02:00
Sylvain
209bde9f28
refreshed all footprints in fixtures, all tests passing
2021-05-31 17:14:42 +02:00