Commit graph

2432 commits

Author SHA1 Message Date
Alex Tselegidis
74c48e8a9a Renamed and updated the js_lang_script and js_vars_script components 2021-12-17 10:55:10 +01:00
Alex Tselegidis
16cea9e6a9 Updated Login to use the script_vars helper function 2021-12-17 10:53:22 +01:00
Alex Tselegidis
a40bd3f6c6 Updated EA_Controller to use the script_vars helper function 2021-12-17 10:53:08 +01:00
Alex Tselegidis
238ca6c820 Renamed config helper methods to script_vars and html_vars for consistency 2021-12-17 10:52:46 +01:00
Alex Tselegidis
28c55ba09c Added the vars prop to the global app object 2021-12-17 10:50:53 +01:00
Alex Tselegidis
bd363d0725 Rename is_route helper functiont to is_callback 2021-12-17 10:36:47 +01:00
Alex Tselegidis
6c4a15b429 Treat undefined keys as NULL 2021-12-17 10:36:22 +01:00
Alex Tselegidis
5916ad47d1 Added support for the new "calendar/reschedule" callback 2021-12-17 09:20:54 +01:00
Alex Tselegidis
7b919e2c39 Changed reschedule links for both customer and provider 2021-12-17 09:19:31 +01:00
Alex Tselegidis
dbba0865e8 Removed caching from the settings helper as it may lead to unexpected behavior (if for example values get updated in another way). 2021-12-17 09:01:12 +01:00
Alex Tselegidis
bfe6664d58 Added new "page_vars" function that will handle the rendered page variables. 2021-12-17 08:46:47 +01:00
Alex Tselegidis
bfef58672c Added new "is_route" helper method 2021-12-17 08:45:28 +01:00
Alex Tselegidis
775d385e09 Added caching to the settings helper so that we avoid unnecessary queries to the database. 2021-12-17 08:44:38 +01:00
Alex Tselegidis
e071ec46dc Common CSRF token generation correctly 2021-12-16 08:45:55 +01:00
Alex Tselegidis
c49f141bbb Moved the booking confirmation and cancellation code out of the booking controller 2021-12-16 08:37:55 +01:00
Alex Tselegidis
bb3665272d Renamed language_script.php to js_language_script.php for clarity 2021-12-16 08:21:29 +01:00
Alex Tselegidis
c9d9153594 Renamed config_script.php to js_config_script.php for clarity 2021-12-16 08:20:10 +01:00
Alex Tselegidis
4ef2c0a9bb Changed cancellation frame view file name 2021-12-16 08:19:08 +01:00
Alex Tselegidis
1a0ed47fe3 Changed the names of the booking step components 2021-12-16 08:18:37 +01:00
Alex Tselegidis
3dee36d4c1 Moved booking sections into the components directory 2021-12-16 08:13:27 +01:00
Alex Tselegidis
dc8d6ad140 Update has its own controller class 2021-12-16 08:10:01 +01:00
Alex Tselegidis
ff03b71060 Replaced resource names with constants for "cannot" checks 2021-12-15 08:05:08 +01:00
Alex Tselegidis
568ff9be2e Renamed the service category resource to just category 2021-12-15 08:00:48 +01:00
Alex Tselegidis
41635413a1 Moved scripts to the script slot 2021-12-15 07:59:54 +01:00
Alex Tselegidis
16863bcf5b Renamed the id_service_categories field of services to id_categories 2021-12-15 07:45:41 +01:00
Alex Tselegidis
777dcb0d9e Reverted invalid migration changes 2021-12-15 07:41:05 +01:00
Alex Tselegidis
5d8a35f120 Renamed service categories table to categories 2021-12-15 07:31:42 +01:00
Alex Tselegidis
ba38392c46 Corrected validation check in routes.php file 2021-12-15 07:31:05 +01:00
Alex Tselegidis
c8bd47d1e5 Removed the "_page" postfix from page view files 2021-12-14 08:08:06 +01:00
Alex Tselegidis
12e4eebd1f Set the "dest_url" js config 2021-12-14 08:06:10 +01:00
Alex Tselegidis
e8a1976521 The dest_url may have not been set by all account layout pages 2021-12-14 08:05:49 +01:00
Alex Tselegidis
d1e79910a9 Moved scripts to the scripts section 2021-12-14 08:05:22 +01:00
Alex Tselegidis
58e38fd488 Load common JS config for all requests 2021-12-14 07:59:11 +01:00
Alex Tselegidis
c761f6d37c Use the js_config component in all pages 2021-12-14 07:52:41 +01:00
Alex Tselegidis
1eaa59d192 Corrected the js_config helper function 2021-12-14 07:51:26 +01:00
Alex Tselegidis
62a5ace98e Added the config_script.php file that will load the application config values to the global App object 2021-12-14 07:48:09 +01:00
Alex Tselegidis
29b22ece3c Added the js_config helper method that will assign public JS config values 2021-12-14 07:47:35 +01:00
Alex Tselegidis
9c44b8644f Renamed csrfToken var to csrf_token for consistency 2021-12-14 07:29:51 +01:00
Alex Tselegidis
17bf3902cd Added the HTTP JS helper file 2021-12-14 07:25:46 +01:00
Alex Tselegidis
f0f0a029ab Added the URL JS helper file 2021-12-14 07:20:58 +01:00
Alex Tselegidis
6376fea885 Added the find method to controllers 2021-12-14 07:18:46 +01:00
Alex Tselegidis
dd89afbfd7 Added code to the http client files 2021-12-14 07:14:11 +01:00
Alex Tselegidis
d0ad54ce49 Replaced EALang with the global App.Lang object 2021-12-13 07:52:09 +01:00
Alex Tselegidis
4f9fbc05e3 Added the language script in the layout templates 2021-12-13 07:48:56 +01:00
Alex Tselegidis
530422608a Moved scripts inside the script section 2021-12-13 07:44:01 +01:00
Alex Tselegidis
a95df871b9 Load the app and the layout JS files 2021-12-13 07:41:02 +01:00
Alex Tselegidis
885dcbf5c8 Moved the footer and header templates to the component directory 2021-12-13 07:34:51 +01:00
Alex Tselegidis
271be99f05 Layout view file improvements 2021-12-10 22:21:44 +01:00
Alex Tselegidis
49ec1d1cae Created new JS http client files 2021-12-10 22:08:52 +01:00
Alex Tselegidis
423edc7340 Created new layout JS files. 2021-12-10 22:02:29 +01:00