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

2942 Commits

Author SHA1 Message Date
Sylvain
d26e2ae313 (bug) fix various issues due to slots behavior refactoring 2022-07-19 11:32:12 +02:00
Nicolas Florentin
b3795e21ec bug fix canceled_at was called on slot in members/show.json.jbuilder 2022-07-19 08:21:18 +02:00
Sylvain
e955ecc6f8 (bug) create slots when occurences is nil 2022-07-18 17:27:40 +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
37b24a8d2f refactor slots model 2022-07-18 17:18:01 +02:00
Sylvain
5012912edd (wip) refactoring Availabilities::AvailabilitiesService and Availabilities::StatusService 2022-07-18 17:18:01 +02:00
Sylvain
783e86d9cc (bug) fix slots creation 2022-07-18 17:18:00 +02:00
Sylvain
b2fd2e1b48 build all slots at reservation creation time 2022-07-18 17:18:00 +02:00
Sylvain
8be2425275 (wip) refactoring slots to be unique per availability time-slot 2022-07-18 17:18:00 +02:00
Guilherme Chaguri
27d71dcffd (bug) Fix SSO data being overridden when it is empty and the user can change it 2022-07-14 17:55:36 -03:00
Guilherme Chaguri
6423255116 (bug) Fix admin group being replaced in SSO authentication 2022-07-14 17:03:22 -03:00
Guilherme Chaguri
d63b8d0dfa Add username column to the member list 2022-07-14 16:11:44 -03:00
vincent
272e105f5a Fix page title's layout 2022-07-11 11:33:31 +02:00
Sylvain
bec2e8a514 (bug) Gender, Address and Birthday are not mapped properly from SSO (#365) 2022-07-06 15:56:57 +02:00
Sylvain
4fe7226959 (bug) unable to import a new account from an SSO provider 2022-07-06 15:37:47 +02:00
Sylvain
9c72da8e6f (bug) social networks icons not shown in firefox 2022-07-06 14:19:36 +02:00
Sylvain
3d566782f2 (bug) OIDC scopes are not saved 2022-07-06 13:16:09 +02:00
Sylvain
cc1cf38d69 (bug) OIDC scopes are not shown in the configuration form select 2022-07-06 12:59:45 +02:00
Sylvain
9250ed720f (bug) Gender, Address and Birthday are not mapped properly from SSO (#365) 2022-07-05 17:43:16 +02:00
Sylvain
bfc6d76109 (bug) unable to access the new OIDC provider form 2022-07-05 16:18:17 +02:00
Sylvain
eb1c54d8f3 updated diagrams 2022-07-04 10:48:42 +02:00
vincent
f81cbc72fa Increase About page title's size 2022-07-01 09:30:45 +02:00
Du Peng
a0d158974b fix bug: validator of reservation can't find if slot has reserved by reservable type 2022-06-29 19:58:53 +02:00
Sylvain
6719469e76 (doc) add more description about the members import feature #364 2022-06-29 16:41:58 +02:00
Sylvain
b0775ad11c (typo) passed -> past 2022-06-29 15:45:17 +02:00
Sylvain
a41a22a050 (bug) wrong number of credits + improved text 2022-06-29 15:35:17 +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
6ce762f778 (bug) unable to reserve a space 2022-06-29 15:34:47 +02:00
Sylvain
2ad842a93b (feat) do not show passed slots in futur reservations if it has mixed slots 2022-06-29 15:34:04 +02:00
Sylvain
9b601bc438 (feat) show reservations panel 2022-06-29 15:34:04 +02:00
Sylvain
ea1883e406 factorize front-end API params helper 2022-06-29 15:34:04 +02:00
Sylvain
dac0acbf03 (feat) removed the admins' button to scroll to the featured event 2022-06-28 11:22:17 +02:00
Du Peng
35cc5ed149 fix variable name error 2022-06-27 15:54:25 +02:00
Sylvain
a10f5e6bf7 (bug) user can change his group in the profile completion page, even if mapped from the SSO 2022-06-27 12:58:40 +02:00
Sylvain
0510a5f3a3 (bug) when an empty data was retured by the SSO, unable to edit it 2022-06-27 12:51:38 +02:00
Sylvain
46b2ba1f54 (bug) when email was mapped from SSO but provided as empty string -> unable to merge account 2022-06-27 12:06:25 +02:00
Sylvain
d03a34b894 (bug) unable to update the user profile after toggling the organization switch twice 2022-06-22 17:14:19 +02:00
Sylvain
c1246092ed (bug) unable to remove an SSO data mapping field once saved 2022-06-22 16:42:14 +02:00
Sylvain
3d2bdaea10 fix missing translation 2022-06-22 15:45:53 +02:00
Sylvain
b25cfe65c1 fix translations 2022-06-22 15:37:41 +02:00
Sylvain
a131998aa1 Merge branch 'lint-rules' into dev 2022-06-22 14:19:37 +02:00
Sylvain
89c610514d fix styling issues + rename proof of identity 2022-06-22 14:18:33 +02:00
Sylvain
7f1cc92c43 linted supporting-documents/* 2022-06-22 13:01:22 +02:00
Sylvain
4d6af2c1c0 (wip) linting supporting-documents (ex proof-of-identify)
remaining: type-form, type-modal, types-list
2022-06-21 17:49:04 +02:00
Sylvain
21ee80ab19 rename proof-of-identity to supporting-documents 2022-06-21 14:39:26 +02:00
Sylvain
18aba05f25 linted profile-custom-fields 2022-06-21 14:10:51 +02:00
Sylvain
00fb384ba5 fixed imports 2022-06-21 12:18:54 +02:00
Sylvain
f28b66068f tidied up the flowing components 2022-06-21 12:18:25 +02:00
Sylvain
c0d5da55ce linted all code expected profile-custom-fields/* and proof-of-identity/* 2022-06-21 12:10:00 +02:00
Sylvain
4a8d8796a3 (wip) lint for scoped-translation 2022-06-20 18:06:15 +02:00
Sylvain
2033329342 linted all front code, excepted profile-completion/
and prrofile-custom-fields/
2022-06-20 15:35:38 +02:00
Sylvain
37bc2b3d43 (bug) the birthday was not shown in user edition form 2022-06-20 10:49:44 +02:00
Sylvain
32259e8876 (bug) birthday, phone, address not marked as required 2022-06-20 10:18:50 +02:00
Du Peng
d45c03d36e Override angular currency filter, use Intl.NumberFormat to format amount 2022-06-15 19:44:55 +02:00
vincent
f40f80dd1f Fix canceled event label's translation 2022-06-15 13:48:42 +02:00
Sylvain
28f873c871 (code) rule to enforce component named like filename 2022-06-15 13:40:57 +02:00
Sylvain
925e109175 all components must have their matching root class 2022-06-15 13:40:54 +02:00
Sylvain
8770adead4 fix typo 2022-06-15 13:39:27 +02:00
Sylvain
0f15127f22 updated eslint rules dependency 2022-06-15 13:39:27 +02:00
Sylvain
ca9eec8579 (lint) add rule to check component class naming 2022-06-15 13:39:27 +02:00
vincent
ed34279cef unable non-required [text-setting] 2022-06-15 13:35:46 +02:00
Sylvain
3b63ffa532 (bug) fix events list display 2022-06-15 12:29:44 +02:00
Sylvain
503ae22c0b (feat) admins can scroll to the featured event 2022-06-15 12:26:44 +02:00
Sylvain
96c825769c (wip) fix events style: no more 3 in rows 2022-06-15 12:00:05 +02:00
Sylvain
31fe9dea05 (feat) feature the next event in the event page 2022-06-15 10:55:08 +02:00
Sylvain
a8ca94ce32 (bug) times are not shown in admin/events monitoring page 2022-06-15 09:59:19 +02:00
Sylvain
48e1cf782f (bug) unable to edit an event 2022-06-15 09:42:39 +02:00
Sylvain
61080a5188 (feat) feature the first event 2022-06-14 17:50:04 +02:00
vincent
103bf80e81 Standardize card layout 2022-06-14 16:44:26 +02:00
vincent
f30c501948 (wip) React component [EventCard] 2022-06-14 16:44:26 +02:00
vincent
fcfa9513e8 (wip) React component [EventCard] 2022-06-14 16:44:24 +02:00
Du Peng
ac16eca60f fix conflict 2022-06-07 16:57:02 +02:00
Du Peng
c24aad00c4 check shopping cart items is valid before pay online 2022-06-07 16:55:29 +02:00
Sylvain
667272fab6 (bug) list of OIDC scopes are loading indefinitely 2022-06-06 11:44:16 +02:00
Sylvain
1b5bb662ac (bug) unable to edit OIDC provider 2022-06-06 11:40:53 +02:00
Sylvain
0e16374956 (bug) unable to compile the assets when OIDC is enabled but the scopes were not set 2022-06-06 10:15:19 +02:00
Du Peng
f9bd27ea13 Fix a bug: unable to show tours in machines and spaces page 2022-06-03 12:18:15 +02:00
Du Peng
ef5d603065 Fix a bug: admins are shown in select member for reservation by admin 2022-06-03 12:05:55 +02:00
Du Peng
4d3fe6aa2a Fix a bug: if multi VAT no value is filled in, the general rate can't apply 2022-06-01 12:41:19 +02:00
Du Peng
c5ba1afe8d Fix a bug: unable to save user validation if admin click save user profile button after switch user valitation 2022-06-01 10:45:24 +02:00
vincent
b45b0ed942 Move calendar header's buttons on the left 2022-06-01 09:33:15 +02:00
Sylvain
2172c102c9 (bug) use arrays for OIDC scopes in front and DB.
Send the scope as a string separated with spaces to the OIDC provider.
2022-06-01 09:27:49 +02:00
Sylvain
78f7cdcb8c (bug) unable to remove the last training or the last tag to a member 2022-05-31 17:06:39 +02:00
Sylvain
e914567cf1 (bug) fix multi select behavior 2022-05-31 17:06:06 +02:00
Sylvain
931e19b331 (bug) hide create account links when public registrations disabled 2022-05-30 14:19:32 +02:00
Sylvain
838dbc85af (bug) admins can collaborate on projects 2022-05-30 13:59:01 +02:00
Sylvain
31b4089bd2 (bug) OIDC scopes 2022-05-30 12:56:22 +02:00
Du Peng
384dd43029 Fix a bug: undefined error in new member page 2022-05-27 12:02:02 +02:00
Du Peng
8d724d7191 Fix a bug: unable to sign up if admin actived organization's additional fields with required 2022-05-27 11:37:31 +02:00
Sylvain
532a896cad (bug) fix #348: open reset password modal when back from notification center 2022-05-23 14:20:08 +02:00
Du Peng
7067757f38 Disable to clicking outside or pressing escape to close sign up modal 2022-05-20 15:58:49 +02:00
Du Peng
c404424fb4 fix bug: new category button transalte 2022-05-17 19:31:58 +02:00
Du Peng
cecf8126e0 Fix bug: Unable to create plans for all group 2022-05-17 17:38:00 +02:00
Du Peng
41d931aba0 Fix a bug: Missing of description of PlanCategory migration 2022-05-17 16:45:17 +02:00
Du Peng
3703900ceb Event reservation calendar encoding in mail 2022-05-17 13:14:39 +02:00
Du Peng
e3d2b53767 Fix a bug: when machines module disabled, Associated machines is still shown in trainings list 2022-05-13 12:24:52 +02:00
Du Peng
8d55f617fe adjuste create groups button width 2022-05-12 15:10:55 +02:00
Du Peng
4d9da0c5f9 hide machines list in edition of training if machines module is disabled 2022-05-12 12:51:52 +02:00
Du Peng
88dc91bcaf fix bug: machine module/statistic module setting style 2022-05-12 12:14:34 +02:00
Du Peng
c46a2ba085 Merge branch 'dev' of git.sleede.com:projets/fab-manager into dev 2022-05-12 11:43:18 +02:00
Du Peng
3e95960903 fix bug: organization custom field requred 2022-05-12 11:25:40 +02:00
Du Peng
b46ebe9dab fix bug: admin can't show his group 2022-05-12 11:11:50 +02:00
vincent
abf101178b Adjust texts on admin settings about 2022-05-12 10:47:28 +02:00
Sylvain
bdf42f7b5d Merge remote-tracking branch 'origin/user_validation_required' into dev 2022-05-11 18:39:50 +02:00
Du Peng
01191f467c add ProofOfIdentityFile max size in frontend 2022-05-11 18:14:52 +02:00
Sylvain
3fd20cd57d (bug) unable to validate account 2022-05-11 18:06:49 +02:00
Sylvain
1b35dfcc0f Merge branch 'v5.4' into dev 2022-05-11 17:06:33 +02:00
Du Peng
655f75a394 fix bug: can update machines_module, user_change_group option setting 2022-05-11 16:57:44 +02:00
Du Peng
c719dccd31 add an alert info for modification of fields of organization 2022-05-11 16:57:44 +02:00
Du Peng
d0f7be41a0 hide organization custom field if value is empty in invoice 2022-05-11 16:57:44 +02:00
Du Peng
78076b7fba user and admin can edit organization field 2022-05-11 16:57:44 +02:00
Du Peng
798941c349 edit organization custom field in member's dashboard profile 2022-05-11 16:57:44 +02:00
Du Peng
3e34b3c7a7 add user validation required setting, user proof of identity upload and organization custom field 2022-05-11 16:57:44 +02:00
vincent
ebc9abd4e2 Fix about page's layout 2022-05-11 16:57:44 +02:00
Sylvain
6d1852252b (style) Use of CSS variables for main and secondary colors in react components styles 2022-05-11 16:14:52 +02:00
Sylvain
0e4d2cbdcb (wip)(style) refactor styles to use css variables 2022-05-11 15:46:33 +02:00
Sylvain
e45872956c (ui) Option to prevent users from changing their group 2022-05-11 15:45:49 +02:00
Sylvain
1d2b814d6f (ui) react component to change user's group 2022-05-11 14:37:39 +02:00
Sylvain
ac1d518ddc (ui) option to disable the machines module 2022-05-11 11:54:00 +02:00
Sylvain
249285ea51 Merge branch 'ics' into v5.4 2022-05-11 10:45:33 +02:00
Sylvain
fbb9367cd1 (notif) ICS file attached to the reservation notification emails 2022-05-11 10:44:57 +02:00
Sylvain
7da62bb513 (back) generate ICS file for a reservation 2022-05-10 16:48:58 +02:00
vincent
3a8671edbd Add disabled style on text editor 2022-05-10 15:22:01 +02:00
Sylvain
0e8230af48 (ui) use user-profile-form in admin/members/new 2022-05-10 11:18:33 +02:00
Sylvain
89853d3533 (ui) allow admins to change user password without asking for the current 2022-05-10 10:50:41 +02:00
Sylvain
302c55755e (ui) admin edit user: use new user-profile-form component 2022-05-10 10:23:43 +02:00
Sylvain
6e4031523c (bug) allow to set custom scope in openID connect configuration when using discovery 2022-05-09 16:28:18 +02:00
Sylvain
83fef46ceb (bug) unable to edit in rich-text editor component 2022-05-09 15:15:27 +02:00
Sylvain
040858ac1f (ui) refactored profile-completion screen to use more accurate messages 2022-05-09 14:58:26 +02:00
Sylvain
69d595e9f6 (ui) use user-profile-form in profile completion screen 2022-05-09 12:11:37 +02:00
Sylvain
55e76e1523 (ui) disabled fields mapped from the sso 2022-05-09 10:12:27 +02:00
vincent
d6e8e3488f Fix about page's layout 2022-05-05 14:57:06 +02:00
Sylvain
b9b8150e28 (wip)(ui) disabled fields mapped from the sso 2022-05-04 17:15:04 +02:00
vincent
fda74cf32f Fix input overflow 2022-05-04 17:06:15 +02:00
Sylvain
c5ef505008 (bug) social icons & avatar not shown 2022-05-04 16:17:05 +02:00
Sylvain
9b22286327 Merge remote-tracking branch 'origin/socials-refacto' into profile-form 2022-05-04 15:53:22 +02:00
Sylvain
aa767cfbd2 (bug) do send user edition form when confirming password 2022-05-04 15:29:01 +02:00
vincent
86e792b764 Fix attribute name 2022-05-04 15:22:52 +02:00
Sylvain
1f2d3867aa (ui) allow form inputs to be disabled, possibly with a callback 2022-05-04 14:59:55 +02:00
vincent
521229b87b Add form validation 2022-05-04 14:57:31 +02:00
Sylvain
2f0a8064c2 (ui) remove workaround 2022-05-04 14:36:16 +02:00
Sylvain
fc2169980f (bug) fix minor eslint issues + rebasing issue 2022-05-04 14:32:56 +02:00
Sylvain
51960782ee (code) simplified regexs 2022-05-04 14:12:49 +02:00
Sylvain
048ed4b644 (ui) user profile form: confirmation message + save button 2022-05-04 14:12:49 +02:00
Sylvain
eab523c961 (bug) display date in user form 2022-05-04 14:12:48 +02:00
Sylvain
858e86dbcb (ui) avatar input 2022-05-04 14:12:48 +02:00
Sylvain
1c22bc3cc5 (bug) focus the text edition area when the user clicks on the editor 2022-05-04 14:12:48 +02:00
Sylvain
5cb811e3c3 (wip)(ui) avatar input 2022-05-04 14:12:48 +02:00
Sylvain
11491aeb6c (ui) save profile editions to the API 2022-05-04 14:12:48 +02:00
Sylvain
aae1a5c20e (api) rename user related models to use the _attributes naming convention 2022-05-04 14:12:48 +02:00
Sylvain
cad8484231 (ui) profile data: website, job, cad softwares, interests 2022-05-04 14:12:48 +02:00
Sylvain
d62cb0ac54 (ui) add profile data to user-profile-form 2022-05-04 14:12:48 +02:00
Sylvain
6955a4bba1 (ui) stylized form-switch 2022-05-04 14:12:48 +02:00
Sylvain
03ed350e69 (ui) form-switch component
+ refactored form components
2022-05-04 14:12:45 +02:00
Sylvain
c1bf5bee14 (wip)(ui) refactor user edition form 2022-05-04 14:07:12 +02:00
Sylvain
bf0375fdb2 (typing) use TDateISO for typing dates 2022-05-04 14:05:36 +02:00
Sylvain
0d09ddd2fa (wip)(ui) user edition form 2022-05-04 14:05:36 +02:00
Sylvain
6ec6a8c4c9 (api) save which data is really mapped from the sso 2022-05-04 14:05:36 +02:00
Sylvain
c0e8c4d91a (ui) display authorization callback url directly in interface 2022-05-04 14:02:59 +02:00
Sylvain
71be3cce93 (ui) improve the appeareance for the auth provider definition form 2022-05-04 13:34:11 +02:00
Sylvain
2104bba281 (ui) sso data mapping - by type 2022-05-04 13:32:36 +02:00
Sylvain
9158d34bac (wip)(ui) type mapping ui 2022-05-04 13:27:49 +02:00
Sylvain
9fe48d8bf5 renamed form.scss to form-item.scss to match naming convention 2022-05-04 13:23:50 +02:00
vincent
6ee7335a4d Override React-select styles 2022-05-04 13:22:14 +02:00
Sylvain
c2a245ce08 (archi) organize react-hook-form components in a separate folder 2022-05-04 13:18:20 +02:00
Sylvain
a9bbae12a9 (ui) select authentication provier type 2022-05-04 13:14:52 +02:00
vincent
a60ae0534b Make calendar wider 2022-05-04 13:12:29 +02:00
vincent
4c6942eba4 merge 2022-05-04 13:02:40 +02:00
vincent
d301053770 Add description to plan category 2022-05-04 12:45:48 +02:00
Sylvain
18a80a225c (bug) define uid field in openid connect configuration 2022-05-04 12:36:31 +02:00
Sylvain
b3848596bf (bug) unable to create openid connect provider from the interface 2022-05-04 12:36:31 +02:00
Sylvain
eaae10a9b4 (ui) automatic field mapping configuration for openid 2022-05-04 12:29:19 +02:00
Sylvain
07578b5826 (ui)(api) configure data mapping for openid 2022-05-04 12:28:48 +02:00
Sylvain
161ef0792e (gui) auto discover scopes 2022-05-04 12:28:48 +02:00
Sylvain
c85281b29f (api) automatically configure the openID response_type 2022-05-04 12:28:48 +02:00
Sylvain
6c46e5ec81 (api) automatically configure some openID parameters: redirect_uri, display, response_mode 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
9edc148ef0 (bug) form tooltip is partly hidden by the next tooltip trigger 2022-05-04 12:28:31 +02:00
Sylvain
5013484104 (ui) add profile edition url for openid 2022-05-04 12:28:31 +02:00
Sylvain
3ff416cf8a (ui) openid connect configuration interface 2022-05-04 12:28:31 +02:00
Sylvain
674abed1d2 (ui) adjust tooltip aspect
+ (bug) do not ignore clipboard.writeText promise
+ (i18n) fix typo in translation
2022-05-04 12:28:31 +02:00
Sylvain
f9e5e7f2a8 (ui) display authorization callback url directly in interface 2022-05-04 12:28:29 +02:00
Sylvain
63b03568e4 (i18n) reorganize translations per components 2022-05-04 12:27:48 +02:00
Sylvain
073b0c8eae (ui) add tooltip to FormInput
+ add tooltip for auth_provider/mappings/API field input
2022-05-04 12:27:48 +02:00
Sylvain
370a443502 (bug) edit authentication provider
+ clean legacy code
2022-05-04 12:27:48 +02:00
Sylvain
3b0262c153 (bug) validate oauth2 providers have User.uid mapped 2022-05-04 12:27:48 +02:00
Sylvain
c4fb29ea23 (bug) open only selected mapping modal 2022-05-04 12:27:48 +02:00
Sylvain
70803ee41b (api) validate auth providers data
+ remove legacy code
2022-05-04 12:27:48 +02:00
Sylvain
04ae91a7d1 (ui) improve the appeareance for the auth provider definition form 2022-05-04 12:27:46 +02:00
Sylvain
470a8284ff (ui) sso data mapping - by type 2022-05-04 12:27:12 +02:00
Sylvain
e51e2d63cb (wip)(ui) type mapping ui 2022-05-04 12:26:42 +02:00
Sylvain
294c47b796 (bug) oauth2 provider attributes under providable_attributes 2022-05-04 12:25:46 +02:00
Sylvain
3bfe842bc3 (style) placeholder style for react-select 2022-05-04 12:25:46 +02:00
Sylvain
6d31331fab renamed form.scss to form-item.scss to match naming convention 2022-05-04 12:25:44 +02:00
Sylvain
7f7830a98c (style) fix placeholder appearance
Credits goes to @Vincent
2022-05-04 12:25:10 +02:00
Sylvain
2baee48eaf (ui) form-select: onChange cb 2022-05-04 12:25:10 +02:00
vincent
08a95dea81 Fix styles on multi-select 2022-05-04 12:25:10 +02:00
vincent
86403cb1f2 Override React-select styles 2022-05-04 12:25:08 +02:00
Sylvain
acf5001b37 (wip)(ui) data mapping configuration interface 2022-05-04 12:23:24 +02:00
Sylvain
7beb1466bf (archi) organize react-hook-form components in a separate folder 2022-05-04 12:23:22 +02:00
Sylvain
5bc20075ed (ui) refactor form components to use props inheritance 2022-05-04 12:20:54 +02:00
Sylvain
4bf05a5024 (ui) select authentication provier type 2022-05-04 12:20:52 +02:00
Sylvain
bf148dd14b (wip) rhf select 2022-05-04 12:17:21 +02:00
Sylvain
7dd5491029 (front) export form component to angular 2022-05-04 12:17:21 +02:00
Sylvain
d751939ee9 WIP: front-end form for openid configuration 2022-05-04 12:17:21 +02:00
Sylvain
2c2f8fdcc5 (api) openid provider configuration api 2022-05-04 12:16:38 +02:00
Sylvain
7b1403dac9 (db) distringuish between oid client configuration and client_auth_method 2022-05-04 12:16:38 +02:00
Sylvain
9ead3b5e8d (db) add profile_url to OpenIdConnectProvider 2022-05-04 12:16:38 +02:00
Sylvain
056a982d68 (bug) return auth provider mappings from the API 2022-05-04 12:16:38 +02:00
Sylvain
8471311b7b (authentication) configure devise/omniauth to use the OpenIdConnect configuration 2022-05-04 12:16:38 +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
vincent
66beffa0c3 Hide empty calendar side pannel 2022-05-04 12:16:38 +02:00
Sylvain
e28c8ab2e9 (front) add is-empty class to the calendar-admin-info side panel if no events are selected 2022-05-04 12:16:38 +02:00
vincent
ca9a564474 Make calendar wider 2022-05-04 12:16:36 +02:00
Sylvain
89f62e2d0e (type) fix typing the RHFInput component 2022-05-04 12:14:55 +02:00
vincent
5ca41b862d disable TS rule 2022-05-04 12:14:55 +02:00
vincent
3a7ef3f51d Use Generics 2022-05-04 12:14:35 +02:00
Sylvain
0ea885f73d Apply 1 suggestion(s) to 1 file(s) 2022-05-04 12:13:43 +02:00
vincent
dbd15539e1 Add video embed on the text editor 2022-05-04 11:54:23 +02:00
vincent
ce6d7d1148 Add description to plan category 2022-05-04 11:46:51 +02:00
Sylvain
4b2ff659ca (style) eslint all code 2022-05-04 11:34:55 +02:00
vincent
4a995b3bd8 merge 2022-05-04 11:30:42 +02:00
vincent
1868be1642 Add labels 2022-05-04 11:20:19 +02:00
vincent
67f678a282 Add image embed in the text editor 2022-05-04 11:20:19 +02:00
vincent
cd5c253b3e Add video embed on the text editor 2022-05-04 11:20:17 +02:00
vincent
7ebdc1b06e Test video embed on the text editor 2022-05-04 11:18:28 +02:00
vincent
3611abe853 Delete unused components 2022-05-04 11:18:28 +02:00
vincent
c1ec8b5ce8 Add style variables 2022-05-04 11:16:57 +02:00
vincent
3f4714861b Add description to plan category 2022-05-04 11:16:51 +02:00
vincent
d2ed4d4bd8 Rename variables 2022-05-04 10:26:22 +02:00
vincent
2b67280fd6 Fix types and reset input function 2022-05-04 10:26:18 +02:00
vincent
cb5dd953ea Edit and display fab's social networks 2022-05-04 10:25:25 +02:00
vincent
5024037ce6 (wip) fab-socials 2022-05-04 10:25:15 +02:00
vincent
e15082a2ef Fix social networks list position 2022-05-04 10:21:37 +02:00
vincent
bf380c45d4 Adjust styles and icons 2022-05-04 10:21:37 +02:00
vincent
7461f6d1d5 (wip) show and edit social networks 2022-05-04 10:21:05 +02:00
Sylvain
2cd0220b80 (code) simplified regexs 2022-05-04 10:03:09 +02:00
Nicolas Florentin
5e5822c89f Fix a bug: edge case of birthday in the future in seeds.rb, we should use Date.current instead of DateTime.current since birthday is a date (see https://github.com/sleede/fab-manager/issues/344) 2022-05-04 08:50:10 +02:00
Sylvain
654f0880a0 (ui) user profile form: confirmation message + save button 2022-05-03 16:45:06 +02:00
Sylvain
040636da62 (bug) display date in user form 2022-05-03 16:34:27 +02:00
Sylvain
7ee4c8f4c0 (ui) avatar input 2022-05-03 16:14:20 +02:00
Sylvain
48fd47f8d9 (bug) focus the text edition area when the user clicks on the editor 2022-05-03 11:22:27 +02:00
Sylvain
8602fefce6 (wip)(ui) avatar input 2022-05-02 17:34:29 +02:00
Sylvain
b801999ee3 (ui) save profile editions to the API 2022-05-02 16:29:04 +02:00
Sylvain
555ee11d35 (api) rename user related models to use the _attributes naming convention 2022-05-02 15:58:54 +02:00
Sylvain
7a6fe34b90 (ui) profile data: website, job, cad softwares, interests 2022-05-02 15:29:32 +02:00
Nicolas Florentin
5cffdff65a when generating an avoir, the option "by_wallet" is not present anymore if wallet module is off 2022-05-02 14:16:55 +02:00
Nicolas Florentin
4b30d9f124 Fix a bug: With PayZen, when there was more than one transaction (for ex: 1 failed atempt + 1 successful atemp), the order was not considered PAID because only the first transaction was checked (https://app.clickup.com/t/28zvhwy) 2022-04-28 13:36:16 +02:00
Sylvain
58f823518f (ui) add profile data to user-profile-form 2022-04-27 16:24:26 +02:00
Sylvain
6be3a4c324 (ui) stylized form-switch 2022-04-27 15:36:36 +02:00
Sylvain
a5ff03334a (ui) form-switch component
+ refactored form components
2022-04-27 12:55:43 +02:00
Sylvain
aa432d08b3 (wip)(ui) refactor user edition form 2022-04-26 18:05:18 +02:00
Sylvain
814ebfe52d (typing) use TDateISO for typing dates 2022-04-26 10:12:50 +02:00
Sylvain
b4ae80457e (wip)(ui) user edition form 2022-04-25 17:24:28 +02:00
Sylvain
6f80025adb (api) save which data is really mapped from the sso 2022-04-25 15:45:11 +02:00
Sylvain
0dd6f4bff5 Merge branch 'openid' into v5.4 2022-04-25 15:43:03 +02:00
Du Peng
b1e8b64ecc Auto sync projects to OpenLab if set openlab_app_id and openlab_app_secret 2022-04-20 17:43:38 +02:00
Du Peng
6f67a5eaff Fix a bug: back bouton can't return to previously page in projects page (list/new/show/edit) 2022-04-20 16:43:16 +02:00
Sylvain
d72de33670 (ui) automatic field mapping configuration for openid 2022-04-20 15:22:07 +02:00
Sylvain
1960c7139f (ui)(api) configure data mapping for openid 2022-04-20 14:12:22 +02:00
Sylvain
0f183e7af6 (gui) auto discover scopes 2022-04-20 10:28:14 +02:00
Du Peng
ff230b5451 Fix a bug: unable to switch OpenLab projets 2022-04-19 18:28:31 +02:00
Sylvain
007c97969d (api) automatically configure the openID response_type 2022-04-19 17:39:42 +02:00
Sylvain
9665368755 (api) automatically configure some openID parameters: redirect_uri, display, response_mode 2022-04-19 16:55:48 +02:00
Sylvain
c3889a27f1 (adminsys) do not require to recompile the assets when switching the authentication provider 2022-04-19 16:53:08 +02:00
Sylvain
79bb235eaa (ui) automatically test for discovery endpoint 2022-04-19 14:57:53 +02:00
Sylvain
9ef2e251b0 (bug) form tooltip is partly hidden by the next tooltip trigger 2022-04-19 09:42:16 +02:00
Du Peng
2a71b3e78d Fix a bug: unable to show projets whom user take part in 2022-04-15 13:20:50 +02:00
Du Peng
a703c00279 Fix a bug: unable to switch OpenLab projets 2022-04-15 12:21:08 +02:00
Du Peng
1e5e18481d Fix a bug: unable to send notification mail if no set a logo 2022-04-15 12:20:17 +02:00
Sylvain
658ef20bc8 (ui) add profile edition url for openid 2022-04-13 16:23:13 +02:00
Sylvain
0e35616710 (ui) openid connect configuration interface 2022-04-13 15:50:33 +02:00
vincent
0775a9592f Hide empty calendar side pannel 2022-04-12 18:01:49 +02:00
Sylvain
c77e6c8a65 (front) add is-empty class to the calendar-admin-info side panel if no events are selected 2022-04-12 17:22:47 +02:00
Du Peng
b277022f6f Set invoice reference is required 2022-04-12 17:17:39 +02:00
Sylvain
9a0de78da7 (ui) adjust tooltip aspect
+ (bug) do not ignore clipboard.writeText promise
+ (i18n) fix typo in translation
2022-04-12 16:53:31 +02:00
Sylvain
c3f7249242 (ui) display authorization callback url directly in interface 2022-04-12 16:34:44 +02:00
vincent
78be7bb276 Make calendar wider 2022-04-12 15:54:12 +02:00
Sylvain
ecc7565346 (i18n) reorganize translations per components 2022-04-12 13:54:47 +02:00
Sylvain
e91fa00afc (ui) add tooltip to FormInput
+ add tooltip for auth_provider/mappings/API field input
2022-04-12 12:12:04 +02:00
Sylvain
227be2621f (bug) edit authentication provider
+ clean legacy code
2022-04-12 10:59:49 +02:00
Sylvain
9191e1f9cd (bug) validate oauth2 providers have User.uid mapped 2022-04-12 10:25:48 +02:00
Sylvain
153d50be77 (bug) open only selected mapping modal 2022-04-12 10:02:39 +02:00
Du Peng
9b0c5948cf Updated generate invoice reference method 2022-04-11 19:01:08 +02:00
Sylvain
d2c90f4066 (api) validate auth providers data
+ remove legacy code
2022-04-11 17:27:56 +02:00
Sylvain
4da6a5fa72 (ui) improve the appeareance for the auth provider definition form 2022-04-11 16:12:13 +02:00
Sylvain
d542292dbf (ui) sso data mapping - by type 2022-04-11 13:19:07 +02:00
Du Peng
18c17cc93c Fix a bug: form maxlength count to exclude spaces and newline 2022-04-07 15:22:54 +02:00
Sylvain
6ac3ad4373 (wip)(ui) type mapping ui 2022-04-06 17:14:23 +02:00
Sylvain
907a89c70b (bug) oauth2 provider attributes under providable_attributes 2022-04-06 12:44:27 +02:00
Sylvain
d427617ea6 (style) placeholder style for react-select 2022-04-06 12:43:39 +02:00
Sylvain
a10fd77e95 renamed form.scss to form-item.scss to match naming convention 2022-04-06 12:39:05 +02:00
Sylvain
39c33b0686 (style) fix placeholder appearance
Credits goes to @Vincent
2022-04-06 12:32:41 +02:00
Sylvain
29938957ff (ui) form-select: onChange cb 2022-04-06 12:24:04 +02:00
vincent
c50d94b2a9 Fix styles on multi-select 2022-04-05 19:31:13 +02:00
vincent
1435a46c99 Override React-select styles 2022-04-05 19:09:59 +02:00
Sylvain
8d98fef096 (wip)(ui) data mapping configuration interface 2022-04-05 16:56:44 +02:00
Du Peng
60e9ccd7ce Fix a bug: unable to show deleted user in reservation slot 2022-04-05 16:44:55 +02:00
Du Peng
8f3f2ba083 Fix a bug: unable to confirm modification of reservation for client 2022-04-05 16:43:43 +02:00
Sylvain
6254db4ff9 (archi) organize react-hook-form components in a separate folder 2022-04-05 14:25:58 +02:00
Du Peng
08b072e33c Fix a bug: unable to show machine availability slot for admin 2022-04-05 14:21:19 +02:00
Sylvain
f7dd75dca1 (ui) refactor form components to use props inheritance 2022-04-05 12:04:15 +02:00
Sylvain
8fee9c6bb8 (ui) select authentication provier type 2022-04-05 11:43:28 +02:00
Sylvain
431d733ffe (wip) rhf select 2022-04-04 18:19:59 +02:00
Sylvain
1a8dc390f3 (front) export form component to angular 2022-04-04 16:25:17 +02:00
Sylvain
f68c8a492e WIP: front-end form for openid configuration 2022-04-04 16:25:17 +02:00
Sylvain
ecccf6a4ec (api) openid provider configuration api 2022-04-04 16:24:27 +02:00
Sylvain
08ce18d93f (db) distringuish between oid client configuration and client_auth_method 2022-04-04 16:24:27 +02:00
Sylvain
d4be62d0b8 (db) add profile_url to OpenIdConnectProvider 2022-04-04 16:24:27 +02:00
Sylvain
58d0d30602 (bug) return auth provider mappings from the API 2022-04-04 16:24:27 +02:00
Sylvain
bd68c5e7e8 (authentication) configure devise/omniauth to use the OpenIdConnect configuration 2022-04-04 16:24:27 +02:00
Sylvain
8495e2a7a0 (db) table to save OpenID connect configuration
Also refactored OAuth2Mapping to allow usage with any types of providers
2022-04-04 16:24:27 +02:00
Sylvain
6e5578db0c (type) fix typing the RHFInput component 2022-04-04 16:12:42 +02:00
vincent
fcb59fa9a8 disable TS rule 2022-04-04 11:49:54 +02:00
vincent
9a0a255f8c Use Generics 2022-04-04 11:16:31 +02:00
Sylvain
fa9a7301e9 Apply 1 suggestion(s) to 1 file(s) 2022-04-01 15:49:46 +00:00
Du Peng
a6c230145b Optimise sql query, avoid to N+1 2022-04-01 16:31:46 +02:00
Du Peng
97f7a0aac8 Fix bug: unable to show payment modal for stripe 2022-04-01 16:16:32 +02:00
Sylvain
f83dc52610 (type) fix typing issues 2022-03-30 16:44:45 +02:00
vincent
edc34d9836 Add labels 2022-03-29 17:27:17 +02:00
vincent
d1daa55be1 Add image embed in the text editor 2022-03-29 17:27:17 +02:00
vincent
4c6a1fb0fc Add video embed on the text editor 2022-03-29 17:27:17 +02:00
vincent
2916c5b9d8 Test video embed on the text editor 2022-03-29 17:27:17 +02:00
vincent
13732d7de1 Delete unused components 2022-03-29 17:27:17 +02:00
vincent
431836c21b Add style variables 2022-03-29 17:26:25 +02:00
vincent
7b5f656e76 Add description to plan category 2022-03-29 17:26:23 +02:00
Sylvain
7e9745a761 (style) eslint all code 2022-03-29 17:21:29 +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
Du Peng
043c5aafc5 Fix a bug: unable to show payment schedules list if active PayZen 2022-03-29 17:01:14 +02:00
Sylvain
1b21453adc (bug) fix generate statistics 2022-03-23 17:27:04 +01:00
Sylvain
6e97336005 (bug) fix building stats
ActiveRecord::EagerLoadPolymorphicError: Cannot eagerly load the polymorphic association :object
2022-03-23 16:56:27 +01:00
Sylvain
e503d28b4d (bug) unable to decode base64 invoices logo 2022-03-23 16:51:36 +01:00
Sylvain
3f935adeb2 (bug) unable to generate subscription statistics
Can't join 'InvoiceItem' to association named 'subscription'
2022-03-23 16:13:42 +01:00
Sylvain
ee97b93a49 (style) replace Setting.find_by(name... by Setting.get 2022-03-23 13:30:55 +01:00
Sylvain
2fcda8a0ce (feature) Prepaid-packs purchases are exported to the accounting CSV file 2022-03-23 13:14:34 +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
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
d62c12664a Merge branch 'gtm_analytics_v4' into dev 2022-03-22 14:19:44 +01:00
Sylvain
4fe5b3dc27 (feat) track events in GA4
page_view, login, purchase
2022-03-22 14:19:10 +01:00
Sylvain
f4395c88b9 (feat) google analytics V4 2022-03-22 11:27:18 +01:00
Sylvain
c12615aacc (bug) once configured captcha keys are not shown in the admin panel 2022-03-22 10:33:48 +01:00
Sylvain
191052fdef (dependency) remove angular-google-analytics 2022-03-21 13:43:23 +01:00
Sylvain
36d85c0cf7 (bug) unable to delete an administrator who had closed an accounting period 2022-03-16 17:10:27 +01:00
Sylvain
d58e9b2bd8 fix angular import 2022-03-16 11:38:47 +01:00
Sylvain
d1dddb7656 Updated deprecated division operators in sass 2022-03-16 10:37:04 +01:00
Sylvain
59a671e794 updated @uirouter/angularjs to 1.0.30 2022-03-15 17:10:33 +01:00
Sylvain
ac32b261b3 fix building app in dev with hmr 2022-03-15 11:13:03 +01:00
Sylvain
ac0dacbc88 fix webpack 5 errors 2022-03-14 14:52:23 +01:00
Sylvain
39f1b3cf7c updated API usages + [ongoing] updating integrations 2022-03-09 17:37:59 +01:00
Sylvain
0fb921d2da moved the assets source entries + installed shakapacker instead of webpacker 2022-03-09 15:06:21 +01:00
Sylvain
d65a7940b5 Merge branch 'dev' of git.sleede.com:projets/fab-manager into dev 2022-03-08 15:48:18 +01:00
Sylvain
49dd0d2dab (bug) a sentence was not linked to a translation key 2022-03-08 15:48:06 +01:00
vincent
24a048b1d4 Fix cookies modal's size 2022-03-08 12:16:43 +01:00
Nicolas Florentin
e37cde2f0d removes dead code about OpenAPI (open_api_calls_count_tracings) 2022-02-25 15:39:56 +01:00
Nicolas Florentin
e2bf482a4a fix typo "projets" => "projects" 2022-02-25 15:22:14 +01:00
vincent
8713354d04 Fix line break on home event's card 2022-02-10 15:07:57 +01:00
Nicolas Florentin
93d6aeaf0f [fix regression], $sce.getTrustedHtml removes all dangerous html like iframe (youtube players, ect), replaced by $sce.trustAsHtml which trust the content, it creates a security breach but all contents are created by users to we trust them 2022-02-07 13:53:39 +01:00
Nicolas Florentin
600c1369da [bugfix] fix error in SubscriptionPolicy#show?, was causing an error notice, making user think that the payment was not done, but it was 2022-02-07 13:50:00 +01:00
Nicolas Florentin
ad2c569724 [bugfix] it was impossible to destroy a project 2022-02-07 13:48:59 +01:00
Nicolas Florentin
7b12e56521 [bugfix] fix non-blocking js error when there is not payment gateway set 2022-02-07 13:48:01 +01:00
Sylvain
a46e3ae783 (bug) prepaid-packs without expiration date do not work 2022-01-18 17:12:19 +01:00
Sylvain
512828931f (bug) members are unable to buy prepaid-packs by wallet 2022-01-18 17:03:16 +01:00
Sylvain
28489e112c renamed PaymentModal to CardPaymentModal 2022-01-18 16:27:12 +01:00
Sylvain
adccc18193 (bug) missing the Other payment method 2022-01-18 16:07:23 +01:00
Sylvain
8097e33ef4 (bug) untranslated string if prepaid pack has no maximum validity 2022-01-18 15:46:15 +01:00
Sylvain
e4a0798b8a (bug) statistics not built
for instances with plans created before v4.3.3, the StatisticType.key does not match Plan.duration because of a behavior change in rails framework. (v4.3.3 introduces a framework upgrade)
2022-01-18 14:01:34 +01:00
Sylvain
193ee4ffe9 (bug) case-sensitive emails
- for sso code sending
- for adminsys configuration
2022-01-18 12:00:23 +01:00
Sylvain
86c595ea30 Merge remote-tracking branch 'origin/fix-extended-prices' into dev 2022-01-17 15:42:21 +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
0cffa68919 (bug) error if no username/email was provided by the sso 2022-01-17 12:42:27 +01:00
Sylvain
634da414f8 (feat) When a payment schedule is in error or canceled, ability to re-enable it with another payment method 2022-01-17 12:38:53 +01:00
Sylvain
d8f27f0b1a reactored payment-schedules-table to extract buttons to payment-schedule-item-actions 2022-01-17 10:51:27 +01:00
Sylvain
a189190a8e wip: refactor payment schedule table 2022-01-12 17:17:07 +01:00
Sylvain
036f9df35f Specilized VAT rate cannot be defined unless the VAT is enabled and saved 2022-01-12 15:30:54 +01:00
Sylvain
cb6a3a00b6 (bug) the switch to enable/disable the VAT does not reflect the current state of the VAT 2022-01-12 15:17:08 +01:00
Sylvain
9f7c77144a (bug) unable to rebuild the PDF for invoices without subscriptions 2022-01-12 14:58:57 +01:00
Sylvain
d8568f47ad (bug) if a specialized VAT rate was defined when the VAT was disabled, the resulting VAT rate is wrong 2022-01-12 14:57:56 +01:00
Sylvain
4dd5bca55c wip: refactor the payment schedule table to extract the item actions into a separate component 2022-01-11 18:41:04 +01:00
vincent
d54068446a Display hours for extended prices duration 2022-01-11 17:54:38 +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
a91610f530 Optimized multiple DB queries 2022-01-11 16:04:14 +01:00
Sylvain
051b56b72f send notifications on payment schedules error/canceled by gateway 2022-01-11 12:37:06 +01:00
Sylvain
af62a8446e fix wrong file names 2022-01-11 11:32:02 +01:00
Sylvain
8a149bb947 (bug) some links redirect to the home page instead of triggering the requested action 2022-01-11 11:03:27 +01:00
Sylvain
849b41d4ed Merge remote-tracking branch 'origin/wip-demo-update' into dev 2022-01-10 15:56:28 +01:00
vincent
f15907c405 Merge branch 'dev' into wip-demo-update 2022-01-07 08:23:34 +01:00
Nicolas Florentin
217f2f3a3c bug fix: xlsx export are not corrupted anymore 2022-01-06 13:43:51 +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
9922812111 Ability to select "bank transfer" as the payment mean for a payment schedule 2022-01-05 15:58:33 +01:00
Sylvain
d7ccbdbb52 [bug] do not load Stripe if no keys were defined 2022-01-05 11:31:27 +01:00
Sylvain
e1256ec551 Ability to disable public account creation 2022-01-04 15:27:58 +01:00
Sylvain
9e742cd1b6 Ability to create slots in the past 2022-01-04 10:28:43 +01:00
Sylvain
f3f15a2b9d Ability to cancel a payement schedule from the interface 2022-01-03 17:13:35 +01:00
Sylvain
effe5c7ba9 optimized the load time of the payment schedules list
From now, we no longer retrieve the client_secret directly from the API/list but from a specialized component which ask API/get_item.
This highly decrease the laod time needed to fetch API/list
2022-01-03 11:24:08 +01:00
Sylvain
b00bf958cc [bug] extended_prices_in_same_day apply the extended prices to each days 2021-12-29 22:07:28 +01:00
Sylvain
00b9bce587 export collected VAT by rate 2021-12-29 17:00:54 +01:00
Sylvain
16242d2127 frontend invoice configuration page uses multiVAT 2021-12-29 12:08:50 +01:00
Sylvain
9286738b69 add comments in complex VAT history function 2021-12-29 10:57:59 +01:00
Sylvain
44853930ed WIP: improve VatHistoryService 2021-12-28 19:42:04 +01:00
Du Peng
d52b8bde06 fix bug: accounting period export 2021-12-28 13:45:29 +01:00
Du Peng
0868cee6d9 fix bug: multi VAT setting no exsit 2021-12-28 13:45:29 +01:00
Du Peng
6019767a3b update multi VAT 2021-12-28 13:45:29 +01:00
Du Peng
c5211e98e3 generate invoice with multi vat 2021-12-28 13:45:28 +01:00
Du Peng
5e8c90458b vat history service receive invoice item param 2021-12-28 13:45:28 +01:00
Sylvain
fe96e01b7f refactor spaces/extended_prices code architecture to match the FM style guide 2021-12-28 11:25:10 +01:00
Sylvain
db4230def1 Revert "Fix classes names"
This reverts commit c394b3a275.
2021-12-28 09:47:44 +01:00
vincent
c394b3a275 Fix classes names 2021-12-22 17:25:02 +01:00
Vincent
934ac309a1 Merge branch 'dev' into 'spaces_multiprices'
# Conflicts:
#   CHANGELOG.md
2021-12-22 14:29:56 +00:00
Sylvain
b864ba66da Apply 22 suggestion(s) to 6 file(s) 2021-12-22 14:07:48 +00:00
Sylvain
5be06babd7 Apply 1 suggestion(s) to 1 file(s) 2021-12-22 13:51:26 +00:00
vincent
fc83b4d9c3 Create [pricing] sub folders 2021-12-21 20:13:55 +01:00
vincent
0d34bffa6d Merge branch 'spaces_multiprices_front' into spaces_multiprices 2021-12-21 18:06:25 +01:00
vincent
1d38d6ae50 fix + new icon 2021-12-21 18:02:39 +01:00
Sylvain
61f432914c optimize payment schedules list loading 2021-12-21 17:27:51 +01:00
vincent
c3cbc26a1e Merge branch 'spaces_multiprices_front' into spaces_multiprices 2021-12-21 17:14:22 +01:00
vincent
bd781a14e9 Add extended price 2021-12-21 17:13:40 +01:00
Sylvain
ffb0f3e19e ability to limit extended prices to slots in the same day 2021-12-21 16:32:02 +01:00
Sylvain
2d807e6c94 improved slot price calculation 2021-12-21 15:30:08 +01:00
vincent
af4acc895c Merge branch 'spaces_multiprices' into spaces_multiprices_front 2021-12-21 15:24:20 +01:00
vincent
d6a4675209 wip 2021-12-21 14:37:38 +01:00
Sylvain
6091cec82e api endpoint to create prices 2021-12-21 14:18:03 +01:00
Sylvain
9173bdbcb4 [bug] fix duplicates email on case sensitive matches 2021-12-21 11:20:44 +01:00
Sylvain
2b834045ef improve price calculation 2021-12-21 11:14:09 +01:00
Sylvain
90b1e98938 fix unable to link address from sso 2021-12-21 10:42:59 +01:00
Sylvain
6dc2e8e41e modelise space object from API in TS 2021-12-21 09:51:40 +01:00
vincent
f8798e28b5 Convert [spaces] to React 2021-12-20 19:12:01 +01:00
Sylvain
4a8fa65e5f workaround pending for UI 2021-12-20 17:19:43 +01:00
Sylvain
d6b30875a4 compute the price based on custom durations 2021-12-20 17:08:14 +01:00
Sylvain
5ebc1017d2 save prices duration in db 2021-12-20 15:47:57 +01:00
Sylvain
94c4be3e61 remove useless code 2021-12-20 15:25:49 +01:00
Sylvain
3fb9850786 [bug] unable to bind sso to Profile.bithday or Profile.gender 2021-12-20 14:07:25 +01:00
Sylvain
587beb01ab fix user import from sso
A bug was introduced by detailed debug logs
2021-12-20 13:41:40 +01:00
Sylvain
3a787ea2a0 support for JSONPath syntax in oAuth2 mapping 2021-12-20 13:40:55 +01:00
vincent
163e56d2f2 Add minor style adjustments for the demo 2021-12-03 18:25:25 +01:00
vincent
54cb9ab152 fix images' size and ratio 2021-11-24 18:47:07 +01:00
Sylvain
b74570c778 refactor reserve-button component
we use "user" everywhere, this is more logical and this may fix an unreproductible issue with prepaid packs
2021-11-22 14:13:39 +01:00
Sylvain
0f57e1081f [bug] unable to create a plan 2021-11-10 17:06:21 +01:00
Sylvain
1103c7757b added debug logs 2021-11-10 13:03:12 +01:00
Sylvain
4e574e513f show detailed error message in case user was notsaved 2021-11-09 09:43:30 +01:00
Sylvain
9be0dcddd2 [bug] 3DS confirmation is not asked when an admin is subscribing a user through a payment schedule using PayZen 2021-10-22 17:53:02 +02:00
Sylvain
f273372682 fix function call 2021-10-22 15:55:48 +02:00
Sylvain
4a59f6faed [bug] invalid text shown when a member confirms a free cart 2021-10-22 15:43:33 +02:00
Sylvain
ca603f85af fix uninitialized constant PayZen::Service 2021-10-22 15:12:25 +02:00
Sylvain
ab53042f21 fix undefined variable sameTimeReservations 2021-10-22 14:59:57 +02:00
Sylvain
840c536c75 Ability to configure data sources for preventing booking on overlapping slots 2021-10-22 14:50:02 +02:00
Sylvain
36086f93df [WIP] ability to select categories of slots for computing overlapping slots 2021-10-21 18:09:36 +02:00
Sylvain
a51dec9c72 removed ourdated comment 2021-10-21 15:11:47 +02:00
Sylvain
9c55b9d61f [bug] incorrect behavior for the setting 'email confirmation required'
- when enabled: the user was still logged-in in the backend (F5 and he was logged in the frontend)
- when disabled: the user was not logged in the frontend and received a message to confirm his/her email
2021-10-21 15:07:18 +02:00
Sylvain
7ffcd68fb7 [bug] canceled training reservation in admin/edit member 2021-10-21 10:31:21 +02:00
Sylvain
bbf512f674 validate birthday in past 2021-10-21 09:29:29 +02:00
Sylvain
e9740ebf69 validate birth date must be in the past 2021-10-20 17:31:30 +02:00
Sylvain
2d61dac9cc refactored admin takes subscription for a member 2021-10-19 12:24:41 +02:00
Sylvain
6ec7ecca9a [WIP] create subscription modal 2021-10-18 17:15:06 +02:00
Sylvain
4b41b29b9d fix using payzen with scheduled subscriptions 2021-10-18 16:34:56 +02:00
Sylvain
1a672b0644 stave start date in subscription schedule 2021-10-18 15:19:58 +02:00
Sylvain
d0eebddcee [bug] payzen amount for non 2-decimals currencies 2021-10-18 12:14:51 +02:00
Sylvain
f250f58317 fix subscription renewal tests 2021-10-18 11:47:28 +02:00
Sylvain
a373ea03fc show good start date in payment schedule ui 2021-10-18 10:34:24 +02:00
Sylvain
4c56dffc04 remove deprecated code and endpoints 2021-10-18 10:15:48 +02:00
Sylvain
fd39eaf2f1 fix renew subscription API
TODO:
- remove old endpoints
- bug in UI (start date invalid)
- fix tests
- payzen
2021-10-15 17:31:01 +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
Sylvain
336a4b789c proceed with payment on subscription renewal 2021-10-13 17:39:39 +02:00
Sylvain
6cd91d0291 [WIP] refactor renew subscription modal 2021-10-12 17:29:35 +02:00
Sylvain
17a0baac7e refactored free subscription extending 2021-10-12 14:07:35 +02:00
Sylvain
70f0e21543 move free extend modal to react 2021-10-11 18:50:53 +02:00
Sylvain
e646eb8cb5 extend subscription UI 2021-10-08 19:14:47 +02:00
Sylvain
2b088ff035 Merge branch 'extend_subscription' into dev 2021-10-07 18:04:38 +02:00
Sylvain
676f921d66 fix some errors about stp subscription refacto + improved error handling 2021-10-07 17:07:46 +02:00
Sylvain
a3f680964c handle stripe errors while local payments 2021-10-07 16:43:51 +02:00
Sylvain
3663f8ab86 full stripe subscription code refacto
TODO: test
2021-10-06 17:09:35 +02:00
Sylvain
d494b012d4 [ongoing] refactoring stripe subscription 2021-10-06 09:42:58 +02:00
Sylvain
8b811a1b3e improved syntax 2021-10-06 08:56:16 +02:00
Du Peng
a9f431a6a2 fix bug: offer and extends subscription 2021-10-06 08:56:16 +02:00
Sylvain
3769afe431 Merge branch 'editor_xss_vulnerability' into dev 2021-10-04 09:31:34 +02:00
Ismaël Sebbane
2c0b981c90 [machines-edit-view] Replaced a href link by button because more semantically correct + it actually redirects to the homepage (unwanted behaviour) 2021-09-22 19:01:10 +02:00
Du Peng
132ccebde7 fix syntax error for theme style 2021-09-22 13:27:12 +02:00
Ismaël Sebbane
caa66f26ab Chained selectors .profile-top and about-picture to share the background image using the profile image file option 2021-09-22 13:23:12 +02:00
Du Peng
235fd2e58a Merge branch 'buy_pack_for_plan_option' into dev 2021-09-21 18:01:54 +02:00
Du Peng
2c78ab9cee fix bug: book overlapping slot setting labal error 2021-09-21 18:01:47 +02:00
Du Peng
1c54e54c17 use plant.base_name instands of plan.name 2021-09-21 18:00:48 +02:00
Du Peng
f2dd1bbcd2 add an option Subscription valid for purchase and use of a prepaid pack 2021-09-20 19:43:05 +02:00
Du Peng
5d8a1367a6 update test 2021-09-13 14:25:30 +02:00
Du Peng
f4ed3ca391 fix bug: admin takes a subscription with a payment schedule by stipe 2021-09-10 18:32:39 +02:00
Du Peng
65ba3a686b disable monthly payment for 1 month of subscription 2021-09-10 15:34:49 +02:00
Du Peng
6b763cc1c9 improve code for stripe subscription payment 2021-09-10 15:19:04 +02:00
Du Peng
c9f20ddc03 fix bug: plans page show an error if admin dont create any plans 2021-09-09 18:46:23 +02:00
Du Peng
334d8ce055 check event event_theme_ids if exist 2021-09-09 18:25:26 +02:00
Du Peng
2f7325fee4 fix bug: statistics dont show in nav menu after login 2021-09-09 17:36:04 +02:00
Du Peng
238d7af1ee disable monthly payment if interval count == 1 2021-09-08 19:21:44 +02:00
Du Peng
2973dec6a7 rewrite payment schedule workflow by stripe 2021-09-08 18:57:10 +02:00
Du Peng
a910e8999b fix bug: editor xss vulerability, disable code view in new/edit project 2021-08-31 11:30:23 +02:00
Du Peng
a2a32ef3c6 fix bug: error in plans list page 2021-08-24 11:01:21 +02:00
Du Peng
d3bc26794c fix bug: cant generate avoir for wallet 2021-08-06 11:12:22 +02:00
Du Peng
51ec220a3e fix manager cant reserve training for user 2021-08-06 11:12:14 +02:00