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

661 Commits

Author SHA1 Message Date
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
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
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
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
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
a703c00279 Fix a bug: unable to switch OpenLab projets 2022-04-15 12:21:08 +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
153d50be77 (bug) open only selected mapping modal 2022-04-12 10:02:39 +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
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
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
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
043c5aafc5 Fix a bug: unable to show payment schedules list if active PayZen 2022-03-29 17:01:14 +02:00
Sylvain
2fcda8a0ce (feature) Prepaid-packs purchases are exported to the accounting CSV file 2022-03-23 13:14:34 +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
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
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
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
7b12e56521 [bugfix] fix non-blocking js error when there is not payment gateway set 2022-02-07 13:48:01 +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
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
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
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
8a149bb947 (bug) some links redirect to the home page instead of triggering the requested action 2022-01-11 11:03:27 +01:00
vincent
f15907c405 Merge branch 'dev' into wip-demo-update 2022-01-07 08:23:34 +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