Commit graph

369 commits

Author SHA1 Message Date
Alex Tselegidis
0a7f40a65e Code refactoring and improvements for the calendar page. 2022-01-17 06:31:27 +01:00
Alex Tselegidis
5c5498670c Code refactoring and improvements for the booking confirmation page. 2022-01-17 06:26:07 +01:00
Alex Tselegidis
5f4ec0264e Code refactoring and improvements for the booking page. 2022-01-17 05:57:52 +01:00
Alex Tselegidis
ea6b13f1d2 Code refactoring and improvements for the admins page. 2022-01-17 05:39:12 +01:00
Alex Tselegidis
22439eb60a Replace all backend layout occurrences. 2022-01-17 05:26:57 +01:00
Alex Tselegidis
4ee715e308 Port functionality from old backend file to the new backend layout module. 2022-01-17 05:26:26 +01:00
Alex Tselegidis
63c81dc09c Code refactoring and improvements for the booking HTTP client. 2022-01-17 05:14:36 +01:00
Alex Tselegidis
04ec3adaa0 Code refactoring and improvements for the default calendar view utility. 2022-01-17 05:10:26 +01:00
Alex Tselegidis
7f1302087a Code refactoring and improvements for the calendar page module. 2022-01-17 05:10:14 +01:00
Alex Tselegidis
1ebc50893e Code refactoring and improvements for the unavailabilities modal component. 2022-01-17 04:46:18 +01:00
Alex Tselegidis
fe7d6de462 The format method access a date object as well. 2022-01-17 04:45:58 +01:00
Alex Tselegidis
9467113ad9 The initialize method will be called by the DOMContentLoaded event automatically. 2022-01-17 04:44:22 +01:00
Alex Tselegidis
8438f647f0 Code refactoring and improvements for the appointments modal component. 2022-01-17 04:33:31 +01:00
Alex Tselegidis
32b6052546 Update the js doc content of the javascript files. 2022-01-14 09:26:44 +01:00
Alex Tselegidis
f2c40a58b2 Rename the manage-unavailable-modal to unavailabilities-modal 2022-01-14 08:43:53 +01:00
Alex Tselegidis
7126d75988 Rename the manage-appointment-modal to appointments-modal 2022-01-14 08:39:11 +01:00
Alex Tselegidis
2a11f6045e Use the App.Vars instead of GlobalVariables in login.js. 2022-01-14 08:34:46 +01:00
Alex Tselegidis
a89a6d8faf Rename "init" methods to "initialize". 2022-01-14 08:31:12 +01:00
Alex Tselegidis
f327fd5221 Refactor the booking confirmation related JS files so that they become standalone modules. 2022-01-13 11:33:46 +01:00
Alex Tselegidis
43ad017d7a Refactor the booking related JS files so that they become standalone modules. 2022-01-13 11:33:40 +01:00
Alex Tselegidis
745f70848a Refactor the calendar related JS files so that they become standalone modules. 2022-01-12 11:22:54 +01:00
Alex Tselegidis
ddd252303e Port calendar event popover methods from GeneralFunctions to the new CalendarEventPopover utility module. 2022-01-12 11:22:22 +01:00
Alex Tselegidis
90b1d4671c Use the App.Utils.Message.show instead of the GeneralFunctions for displaying messages in business_nesttings.js 2022-01-12 11:21:59 +01:00
Alex Tselegidis
ce0b5b0747 Perform further refactoring for the installation.js so that it better matches the new JS structure. 2022-01-12 11:21:25 +01:00
Alex Tselegidis
588db71497 Use the App.Utils.Message.show instead of the GeneralFunctions for displaying messages in frontend_book.js 2022-01-12 11:20:41 +01:00
Alex Tselegidis
3827641d72 Update occurrences of the getWeekdayId method. 2022-01-12 11:19:48 +01:00
Alex Tselegidis
79c0f2c356 Renamed module function name (spelling weekday as one word) 2022-01-12 11:18:35 +01:00
Alex Tselegidis
098a475442 Add better email validation regex. 2022-01-11 16:25:14 +01:00
Alex Tselegidis
464b1125b6 Remove unused backend_secretaries.js file. 2022-01-11 10:55:00 +01:00
Alex Tselegidis
21be3e7b50 Refactor the providers helper JS file so that it becomes a standalone module. 2022-01-11 10:54:46 +01:00
Alex Tselegidis
fd121672d6 Remove unused backend_calendar_working_plan_exceptions_modal.js file. 2022-01-11 10:53:51 +01:00
Alex Tselegidis
eeb0a8445d Update the business setting page module according to the new working plan utility changes 2022-01-11 10:53:32 +01:00
Alex Tselegidis
7b7698f689 Refactor the working plan util code (it now uses other utils and helpers). 2022-01-11 10:52:58 +01:00
Alex Tselegidis
355f49f706 Update working plan exceptions modal references of the calendar page. 2022-01-11 10:52:02 +01:00
Alex Tselegidis
7704fc1223 Move general functions methods to the date util. 2022-01-11 10:51:29 +01:00
Alex Tselegidis
a6971d6c84 Create new string util script. 2022-01-11 10:51:10 +01:00
Alex Tselegidis
d1bf0ec89d Convert the working plan exceptions modal to a component script. 2022-01-11 10:50:24 +01:00
Alex Tselegidis
e2bffc5e95 Refactor the categories helper JS file so that it becomes a standalone module. 2022-01-10 09:26:28 +01:00
Alex Tselegidis
195680e8b3 Refactor the services helper JS file so that it becomes a standalone module. 2022-01-10 09:16:28 +01:00
Alex Tselegidis
7409b17a03 Export common admin page module functions. 2022-01-10 09:07:48 +01:00
Alex Tselegidis
41f25026de Convert the secretaries page to the new js module structure. 2022-01-07 09:44:51 +01:00
Alex Tselegidis
30418468e8 Convert the admins page to the new js module structure. 2022-01-07 09:29:04 +01:00
Alex Tselegidis
e0c66cd066 Rename the "display" filter parameter to "show" for consistency. 2022-01-07 09:07:07 +01:00
Alex Tselegidis
bd3b55c2f9 Replace var with const/let in customers module 2022-01-07 09:02:30 +01:00
Alex Tselegidis
62357dfc36 Update customers module comment 2022-01-07 08:59:03 +01:00
Alex Tselegidis
547e681a22 Remove unused users-page scripts 2022-01-07 08:57:20 +01:00
Alex Tselegidis
7f4756a6df Correct input filter component and remove the clear button for other pages 2022-01-07 08:56:46 +01:00
Alex Tselegidis
7b54377f92 Correct input filter component and remove the clear button 2022-01-07 08:47:19 +01:00
Alex Tselegidis
273a218ba8 Replace GeneralFunctions references 2022-01-07 08:42:43 +01:00
Alex Tselegidis
1daee776e1 Add date utility script module 2022-01-07 08:42:07 +01:00
Alex Tselegidis
ac630a1019 Ported the GeneralFunctions.displayMessageBox function to App.Utils.Message.show 2022-01-06 09:54:30 +01:00
Alex Tselegidis
d585dd550e The customers http client now has a save helper method. 2022-01-06 09:53:37 +01:00
Alex Tselegidis
00c3aebef0 Refactored the customers helper JS file so that it becomes a standalone module. 2022-01-06 09:53:16 +01:00
Alex Tselegidis
def2668ede Removed the backend_customers.js file as it is no longer needed 2022-01-06 09:52:52 +01:00
Alex Tselegidis
ae342f1671 Refactored the legal settings page functionality and structure 2022-01-05 09:08:39 +01:00
Alex Tselegidis
afad7920eb The booking page will render based on the selected displayed/required fields. 2021-12-20 09:38:37 +01:00
Alex Tselegidis
80e77ad8a0 Removed unnecessary files 2021-12-20 09:16:57 +01:00
Alex Tselegidis
4eec5fbe46 Refactored the booking settings page functionality and structure 2021-12-20 09:16:44 +01:00
Alex Tselegidis
c40f2c7004 Corrected serialized/deserialize function names 2021-12-20 08:47:57 +01:00
Alex Tselegidis
4c7aa9b3b0 Removed export command 2021-12-20 07:11:15 +01:00
Alex Tselegidis
6017abea45 Refactored the business settings page functionality and structure 2021-12-18 21:36:25 +01:00
Alex Tselegidis
f14643725d Converted normal functions to arrow functions 2021-12-18 21:14:10 +01:00
Alex Tselegidis
2342e0d3d0 Fixes on the general settings page 2021-12-18 21:04:59 +01:00
Alex Tselegidis
0f44d37ef3 Removed unnecessary script 2021-12-18 21:00:24 +01:00
Alex Tselegidis
42ff670928 Refactored the general settings page functionality and structure 2021-12-18 20:53:59 +01:00
Alex Tselegidis
e0874149b4 Removed obsolete JS files 2021-12-18 19:02:56 +01:00
Alex Tselegidis
e8011afb9a Corrected the username validation 2021-12-18 19:02:35 +01:00
Alex Tselegidis
f4146d58e9 Added validation to the account page 2021-12-18 18:56:08 +01:00
Alex Tselegidis
a3282febc9 Added new callback to the account controller to validate usernames 2021-12-18 18:55:58 +01:00
Alex Tselegidis
7b71f8a9a1 Created new validation utility file 2021-12-18 18:55:01 +01:00
Alex Tselegidis
be7e2ddf76 Replace jQuery.Deferred in jsdoc as it is not recognized as an object 2021-12-18 18:34:12 +01:00
Alex Tselegidis
7e6aaab45b Removed the window prefix as the App instance is already defined 2021-12-18 18:26:02 +01:00
Alex Tselegidis
c91bf6bf51 Use the App.Vars prop 2021-12-18 18:25:24 +01:00
Alex Tselegidis
c53cd000d8 Refactored the account page functionality and structure 2021-12-18 18:25:03 +01:00
Alex Tselegidis
a090b2eba9 Updated the file banner info 2021-12-18 17:44:07 +01:00
Alex Tselegidis
28c55ba09c Added the vars prop to the global app object 2021-12-17 10:50:53 +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
568ff9be2e Renamed the service category resource to just category 2021-12-15 08:00:48 +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
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
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
Alex Tselegidis
450bc49932 Moved setting JS files to the pages directory. 2021-12-10 22:00:26 +01:00
Alex Tselegidis
bd412eba8e Refactored the installation page functionality 2021-12-10 09:12:08 +01:00
Alex Tselegidis
037c3037e6 The last parameter is optional 2021-12-10 09:12:08 +01:00
Alex Tselegidis
6ab32781ad Moved the recovery functionality into its own controller and files 2021-12-10 08:41:16 +01:00
Alex Tselegidis
5c3336f214 Updated the HTTP URL of the account settings page js 2021-12-10 08:40:53 +01:00
Alex Tselegidis
3607574e04 Updated the HTTP URL of the login page js 2021-12-10 08:39:42 +01:00
Alex Tselegidis
4ad23bed88 Removed unnecessary quotes 2021-12-10 08:31:00 +01:00
Alex Tselegidis
523db7e5e3 Moved the login functionality into its own controller and files 2021-12-07 10:53:59 +01:00
Alex Tselegidis
f1849e3a16 Restructured the view/js/css files (flatter file structure) 2021-12-06 09:00:02 +01:00
Alex Tselegidis
e034404937 Added main app JS file 2021-11-29 09:01:02 +01:00
Alex Tselegidis
617ada7641 Major assets restructuring (for better scalability). 2021-11-29 08:55:29 +01:00
Alex Tselegidis
0c5c1347aa Date handling fixes for JS files 2021-11-25 08:40:48 +01:00
Alex Tselegidis
a76cf2dedb Date handling fixes for the default view and use the calendar controller instead of the Backend API 2021-11-24 09:24:10 +01:00
Alex Tselegidis
965ac2fc96 Date handling fixes for the unavailability modal 2021-11-24 09:23:36 +01:00
Alex Tselegidis
fca813e2fe Use the calendar controller instead of the backend API 2021-11-24 09:23:22 +01:00