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

1729 Commits

Author SHA1 Message Date
Sylvain
b5504d2342 create stripe subscription with all data 2020-11-12 16:44:55 +01:00
Sylvain
ed5b90cbdc add stp_product_id to all items that can be scheduled 2020-11-12 12:14:51 +01:00
Sylvain
78847bdb4b WIP: create subscription on stripe 2020-11-10 17:02:21 +01:00
Sylvain
9d2dc65958 pay reservation only from cart 2020-11-10 11:57:45 +01:00
Sylvain
a321771040 user consent about payment schedule 2020-11-10 09:51:13 +01:00
Sylvain
2ab7f3bdb9 handle only subscription process in cart 2020-11-10 08:54:52 +01:00
Sylvain
789c6a28fe handle subscription creation only from the cart 2020-11-09 16:54:20 +01:00
Sylvain
2af6c8b9cc style fix 2020-11-09 15:22:22 +01:00
Sylvain
0c456b153e use FabModal component to display ful schedule 2020-11-09 15:17:38 +01:00
Sylvain
0fe4f13110 component to display the payment schedule 2020-11-05 17:32:37 +01:00
Sylvain
0e503e734e select-schedule component 2020-11-05 15:30:25 +01:00
Sylvain
7833b0924b add other cart items to the first schedule 2020-11-05 14:55:06 +01:00
Sylvain
2fc9fd4028 show subscription summary in cart payment modal 2020-11-05 09:57:38 +01:00
Sylvain
b0afa02f1d use cart directive on the plan subscription page
+ fix payment schedule compute
+ fix price for monthly-payments plans in plan-card
+ TODO: valid_reservation_modal.html
+ TODO: Stripe processing
2020-11-04 16:22:31 +01:00
Sylvain
7d37174b51 [bug] when a cash coupon was used, an invalid amount is shown in the statistics 2020-11-04 15:53:40 +01:00
Sylvain
21bd1312bc compute payment schedule + basic display 2020-11-03 16:50:11 +01:00
Sylvain
506d9dd5fb typo 2020-11-02 16:50:23 +01:00
Sylvain
f2c81a634a using the <plan-card> component in embedded plans view 2020-11-02 13:37:58 +01:00
Sylvain
187cb9f06d replace modules.* by .modules.* for more secure access 2020-11-02 13:36:17 +01:00
Sylvain
d4ce5b7dd0 [bug] warning message overflow in credit wallet modal 2020-11-02 13:22:32 +01:00
Sylvain
7776fe13d6 [bug] unable to access embedded plan views 2020-11-02 13:18:31 +01:00
Sylvain
7084e88d2d display monthly price for compatible plans 2020-11-02 12:29:08 +01:00
Sylvain
465fe8e913 show link to pdf in component 2020-11-02 11:16:13 +01:00
Sylvain
408531d13a use i18next instead of angular-translate for react components 2020-11-02 11:07:08 +01:00
Sylvain
14091f547e parse multiple scss files for theme 2020-10-29 16:11:19 +01:00
Sylvain
6eebd61e3c [bug] unable to build homepage custom stylesheet 2020-10-29 15:58:24 +01:00
Sylvain
4f877ab05d react coponent: plan-card + extracted scss from stylesheet.rb into themes/ 2020-10-29 15:53:29 +01:00
Sylvain
f5687f1120 WIP: refactoring of plan card 2020-10-28 17:02:22 +01:00
Sylvain
2b014304ce WIP: plan card 2020-10-28 14:23:27 +01:00
Sylvain
571a273ea2 using typescript for all components 2020-10-28 13:35:31 +01:00
Sylvain
106d8be4c8 Merge branch 'dev' into monthly-payment 2020-10-28 12:11:49 +01:00
Sylvain
1699bbf143 [bug] theme primary color is ignored on links 2020-10-28 12:10:25 +01:00
Sylvain
ddd2b252ab fix caret color 2020-10-28 10:27:59 +01:00
Sylvain
ccd3e93428 fix about link color 2020-10-28 10:03:04 +01:00
Sylvain
44525f9bad Merge branch 'dev' into monthly-payment 2020-10-28 09:53:28 +01:00
Sylvain
84fc81e618 Display a message when no plans are available 2020-10-28 09:53:11 +01:00
Sylvain
bf76157703 Initialize new plans with default prices for machines & spaces 2020-10-28 09:24:31 +01:00
Sylvain
85a1cc99cf Merge branch 'dev' into monthly-payment 2020-10-28 08:54:09 +01:00
Sylvain
79b49778a4 [bug] public cards presenting the plans in the public area, have bogus style 2020-10-28 08:52:42 +01:00
Sylvain
a9cc0b391b save products and prices to stripe for each plans 2020-10-27 16:46:38 +01:00
Sylvain
6be51feeb2 save stp_price_id for each plan 2020-10-27 16:03:20 +01:00
Sylvain
840be2c6c0 renamed RepaymentSchedule to PaymentSchedule 2020-10-27 16:02:41 +01:00
Sylvain
5f93e6d3be plan creation: set if it allows monthly payments 2020-10-27 13:06:37 +01:00
Sylvain
52f3bd956f database structure for payment schedule 2020-10-27 11:32:20 +01:00
Sylvain
a72473f0b6 added typescript + hmr 2020-10-27 09:41:16 +01:00
Sylvain
dc844bb10c Enlarged privacy policy display and edition zones 2020-10-26 16:52:05 +01:00
Sylvain
c3139307bc [bug] in the settings area, boolean switches are always shown as false 2020-10-26 16:38:17 +01:00
Sylvain
a2d885f447 [bug] members cannot view available trainings slots 2020-10-23 13:08:52 +02:00
Sylvain
01524da0ab [bug] unable to display details about a closed period 2020-10-23 12:09:36 +02:00
Sylvain
c87adde6f6 [bug] unable to set libraries locales to their default values (en-us) 2020-10-23 11:53:18 +02:00
Sylvain
c7a8668fd6 architecture changes to allow including React.js components into the application 2020-10-21 15:07:01 +02:00
Sylvain
2227a59275 [bug] unable to rename a group containing users 2020-10-20 15:52:14 +02:00
Sylvain
b5a4e724e8 [bug] email notification after reservation update have wrong previous date (#234) 2020-10-20 15:14:11 +02:00
Sylvain
24e6736f51 fix change space/machine reservation 2020-10-20 14:53:00 +02:00
Sylvain
9187132682 fix placeholder logo in notification mailer 2020-10-20 10:18:27 +02:00
Sylvain
c5ee1ac120 fix translation 2020-10-20 10:01:27 +02:00
Sylvain
f9f21c1496 fix missing fontAwesome icons 2020-10-20 09:53:05 +02:00
Sylvain
61d3fcdb0a webpack fixes
- add missing annotation for esFactory
- removed unused  dependency for diacritics service
- removed google_plus from social networks: not relevant anymore
- eslinted services syntax
2020-10-19 15:49:17 +02:00
Sylvain
353ca1f291 remove uneffective erb comments 2020-10-19 15:30:07 +02:00
Sylvain
2bbbe8c7d2 change configuration of auto-ngtemplate-loader to use absolute path 2020-10-19 14:40:18 +02:00
Sylvain
875c7a6df8 WIP: correct angualrJS templates path for production build
see: https://github.com/WearyMonkey/ngtemplate-loader
2020-10-12 09:00:22 +02:00
Sylvain
585f01b671 compile angular-ui-tour from the sources 2020-10-07 16:37:01 +02:00
Sylvain
c30e096e53 fix loading ui-tour with webpack 2020-10-07 10:25:27 +02:00
Sylvain
6d00d03f8e replace method raw by html_safe
https://stackoverflow.com/questions/19633877/undefined-method-raw-for-controller-for-rails-4
2020-10-06 12:44:05 +02:00
Sylvain
c1564d5eae Merge branch 'webpacker' into dev 2020-10-05 17:52:46 +02:00
Sylvain
4f5f54a66a moved locales files into the main application pack 2020-10-05 17:42:49 +02:00
Sylvain
512411eb04 fix angular-bootstrap-switch 2020-10-05 17:22:59 +02:00
Sylvain
be9dfe4ff5 fix angular-ui-tour templates url 2020-10-05 15:34:41 +02:00
Sylvain
6fa9347c75 fix training reservation calendar 2020-10-05 12:54:37 +02:00
Sylvain
d701260fae fix spaces reservation calendar 2020-10-05 12:12:22 +02:00
Sylvain
5a0185dd48 fix machine reservation calendar 2020-09-30 16:32:01 +02:00
Sylvain
f6183dbafb fix public calendar filter 2020-09-30 11:59:50 +02:00
Sylvain
c0a46e5bf1 fix public calendar 2020-09-30 11:45:44 +02:00
Sylvain
495a4686d5 load fullcalendar locale 2020-09-30 11:37:55 +02:00
Sylvain
8ee91ef7d5 fixes fullCalendar for admin agenda 2020-09-30 11:23:42 +02:00
Sylvain
5caceec57b WIP: debug fullcalendar with webpack
see https://stackoverflow.com/questions/44220534/uncaught-typeerror-cannot-read-property-hastime-of-undefined
2020-09-29 16:22:34 +02:00
Sylvain
8cc0d30ee9 fix fontawesome left arrows 2020-09-29 14:35:42 +02:00
Sylvain
fe88f3ba0f fix fontawesome with holder.js 2020-09-29 14:27:49 +02:00
Sylvain
57b76d156b Alert before cancelling a reservation that credits will be lost 2020-09-29 12:03:13 +02:00
Sylvain
13bc5334cc ability to configure until when the events are shown on the home page 2020-09-29 09:39:32 +02:00
Sylvain
30b3a794d3 [bug] managers cannot see passed events 2020-09-29 08:40:07 +02:00
Sylvain
62e45dc998 Updated fullCalendar to 2.9.1
+ fix using moment-timezone with webpack
2020-09-28 17:33:18 +02:00
Sylvain
e68397d0c5 Updated bootstrap-switch to 3.4.0 2020-09-28 16:30:07 +02:00
Sylvain
253fb21940 updated jquery-minicolors to 2.3.5 2020-09-28 14:51:45 +02:00
Sylvain
39ff1269a3 fix path for template _plan.html 2020-09-23 16:42:43 +02:00
Sylvain
26f26c02bb [bug] removed unexpected character in coupon form 2020-09-23 15:37:32 +02:00
Sylvain
8945dbfb39 [bug] unable to create a subscription plan for only one group 2020-09-23 15:28:20 +02:00
Sylvain
8f25c54402 [bug] user's manual URL is not up-to-date 2020-09-23 10:54:45 +02:00
Sylvain
8b823b3d67 [bug] slots duration is not shown when looking at a new availability 2020-09-23 10:20:51 +02:00
Sylvain
36d8c76ad7 [bug] wallet tab is not shown in members dashboard 2020-09-23 10:13:41 +02:00
Sylvain
a8811afba3 [bug] unable to search for projects (#230) 2020-09-23 09:32:42 +02:00
Sylvain
562fb5d8d7 fix requiring templates from ngtemplate-loader 2020-09-22 16:04:42 +02:00
Sylvain
a398ba8b8e fix loading angular-ui-tour templates + use templateUrl instead of template:require() 2020-09-22 14:46:13 +02:00
Sylvain
4e4ab9c4c2 load angular templates with webpack 2020-09-22 14:20:47 +02:00
Sylvain
2ef7c06cb2 updated fontawesome to v5 + fix load fonts with webpack 2020-09-22 11:28:42 +02:00
Sylvain
5764233c67 fix stylesheets compilation with webpack 2020-09-22 09:45:18 +02:00
Sylvain
f3be8961cf fix 404 for no_avatar.png 2020-09-21 15:53:02 +02:00
Sylvain
31d1071f87 revert real usage of templateUrl 2020-09-21 15:11:39 +02:00
Sylvain
9b6e5408f9 refactor usage of html templates in JS to make it compatible with webpack html-loader 2020-09-21 14:50:28 +02:00
Sylvain
e70ecc2670 eslint router 2020-09-21 13:23:42 +02:00
Sylvain
d43516f6fe fixes [:ctrlreg] The controller with the name '...' is not registered 2020-09-21 13:23:28 +02:00
Sylvain
b2bbbf5c79 renamed router.js without erb extension 2020-09-21 09:40:00 +02:00
Sylvain
734ed09464 removed useless ERB extensions
Must speed-up webpack compilation process
2020-09-21 09:27:55 +02:00
Sylvain
45d60952b7 [WIP] fix webpack dependencies with global variables
Using:
- expose-loader
- exports-loader
- import-loader
- https://medium.com/@drgenejones/using-webpack-with-legacy-angular-spas-exposing-global-variables-to-child-modules-599e32f373c9
2020-09-16 16:54:56 +02:00
Sylvain
ad2ca33c6f export Application (shimming) 2020-09-16 15:38:07 +02:00
Sylvain
72d79e8e31 fix erb+nonJS loaders 2020-09-16 14:12:45 +02:00
Sylvain
0cf1b535cd updated summernote 2020-09-15 17:01:47 +02:00
Sylvain
39682e24e4 fix locales with webpack 2020-09-15 15:00:05 +02:00
Sylvain
b760c10414 fix sass for webpack 2020-09-15 12:57:54 +02:00
Sylvain
ec8fe3bf28 fixes import of JS dependencies 2020-09-14 16:08:49 +02:00
Sylvain
4e076c32ee using bootsrap-sass + erb fixes 2020-09-09 16:26:51 +02:00
Sylvain
85a51e1b46 removed useless erb extensions 2020-09-09 15:42:05 +02:00
Sylvain
6e5713438f remove useless references to asset_pack_path or equivalents 2020-09-09 15:28:35 +02:00
Sylvain
44ca50b4e1 load template and erb with webpack 2020-09-09 11:54:49 +02:00
Sylvain
cd1abb15e8 enable splitchunk 2020-09-09 08:51:53 +02:00
Sylvain
e37e368e90 updated links to html assets to use webpacker 2020-09-09 08:45:48 +02:00
Sylvain
75aa90070c moved javascript from sprocket to webpacker 2020-09-09 08:45:02 +02:00
Sylvain
9ee8b3a6ef migrate from asset pipeline to webpacker
- migrated images
- ongoing stylesheets migration
2020-09-08 16:53:45 +02:00
Sylvain
9efab4e3a1 migrate to webpack
https://mariochavez.io/desarrollo/2020/05/19/from-the-asset-pipeline-to-webpack.html
2020-09-07 15:52:05 +02:00
Sylvain
2083ce6778 [bug] unable to pay by card for events reservation (#229)
The setting online_payment_module was not requested by the router before loading the page, so it was always evaluated to false= online payment disabled
2020-08-31 17:39:50 +02:00
Sylvain
d708f0a3e7 [bug] unable to search for projects on OpenLab 2020-08-24 16:19:03 +02:00
Sylvain
190e815f73 [bug] unable to export subscriptions 2020-07-22 12:33:35 +02:00
Sylvain
19fb816d36 Enhanced rake task to create fixtures for test cases 2020-07-22 09:45:20 +02:00
Sylvain
14b0b2ac30 class documentation 2020-07-21 19:28:30 +02:00
Sylvain
7bf06ff23e debug footprints 2020-07-21 19:25:21 +02:00
Sylvain
d9be51b01b [admin form] show if phone is required 2020-07-21 18:04:20 +02:00
Sylvain
e5cef6e6bf [bug] unable to export reservations 2020-07-21 17:25:19 +02:00
Sylvain
956d865e4f [bug] unable to set stripe public key in production 2020-07-01 17:57:33 +02:00
Sylvain
a83a42c70c [bug] Health API is broken if ElasticSearch is not present 2020-07-01 15:13:44 +02:00
Sylvain
5eae1c74a8 [bug] Unable to access the invoices section if the stripe key was not set or incorrect 2020-07-01 12:15:45 +02:00
Sylvain
e644e4894a using unaccent to build project search index + updated doc 2020-06-30 15:58:39 +02:00
Sylvain
cce70d33a9 fix GA host configuration + updated doc about default_host 2020-06-29 16:53:13 +02:00
Sylvain
5f0a9ed572 remove dead code 2020-06-29 15:12:32 +02:00
Sylvain
e95b270433 multiples fixes
- improved project search
- fix db schema (sql)
- improved doc
- removed es_language_analyzer var (deprecated)
2020-06-24 17:22:38 +02:00
Sylvain
8137418904 improved test for accounting periods 2020-06-24 15:25:17 +02:00
Sylvain
e288f66997 use search index to speed up projects searches 2020-06-23 17:06:59 +02:00
Sylvain
23338eb36d refactored project search using service 2020-06-23 15:45:38 +02:00
Sylvain
7140571d63 filter & search projets from postgres 2020-06-23 11:19:20 +02:00
Sylvain
1a6cd356bf WIP: using postgres for full-text search in projects 2020-06-22 16:28:05 +02:00
Sylvain
d83e3a8d26 using gem pg_search 2020-06-22 11:25:35 +02:00
Sylvain
7af6f18973 source for building search engine 2020-06-17 16:56:10 +02:00
Sylvain
a164ec402d poc using tsvector 2020-06-17 16:49:38 +02:00
Sylvain
40dd39304e enable/disable statistics module fomr the UI 2020-06-17 12:20:51 +02:00
Sylvain
28781a7bf4 fix default duration for new training session 2020-06-16 15:23:54 +02:00
Sylvain
933ce5df71 [bug] summary of create training availability shows incorrect alert about slot splitting 2020-06-16 14:29:18 +02:00
Sylvain
5e8aeb928c fix refactoring issue in /api/open_api_clients 2020-06-15 17:07:28 +02:00
Sylvain
b790bc01e7 fix access to /admin/invoices for managers 2020-06-15 16:56:43 +02:00
Sylvain
be9ee9d25d complete features-tour for invoices page 2020-06-15 15:56:55 +02:00
Sylvain
dbbf306bf2 complete features-tour for projects page 2020-06-15 15:43:28 +02:00
Sylvain
6af5f51ff2 complete features-tour for settings page 2020-06-15 15:32:30 +02:00