Commit graph

93 commits

Author SHA1 Message Date
Alex Tselegidis
e93565500d Replace the global App.Vars with the "vars" helper method, which is more appropriate due to the dynamic load of script vars. 2022-01-18 08:18:22 +01:00
Alex Tselegidis
ca4e58313a Pull the available languages from the App.Vars.* object. 2022-01-18 07:20:04 +01:00
Alex Tselegidis
380ce3784a Perform various post-refactoring fixes to the calendar page views (default/table). 2022-01-17 21:33:04 +01:00
Alex Tselegidis
0cf99d9538 Parse the working plan start and end value correctly, depending on the current time format setting. 2022-01-17 21:32:44 +01:00
Alex Tselegidis
0da73ab43e Remove the "ajax_" prefix from all new AJAX endpoints. 2022-01-17 19:44:44 +01:00
Alex Tselegidis
0051a30673 Correct upperCaseFirstLetter call namespace 2022-01-17 18:22:05 +01:00
Alex Tselegidis
adf7943297 Replace GeneralFunctions upperCaseFirstLetter with the string utility module. 2022-01-17 18:01:09 +01:00
Alex Tselegidis
7a9aa3d91d Replace GlobalVariables use with App.Vars.* values. 2022-01-17 18:00:25 +01:00
Alex Tselegidis
1986438357 Port escapeHtml method to string utility module. 2022-01-17 17:49:29 +01:00
Alex Tselegidis
cd6ec7400c Create new lang utility. 2022-01-17 17:42:12 +01:00
Alex Tselegidis
89c91fbf8b Code refactoring and improvements for the working plan utilities page. 2022-01-17 15:31:04 +01:00
Alex Tselegidis
b13fb1c574 Add jsdoc block to http utility functions 2022-01-17 15:22:12 +01:00
Alex Tselegidis
6a89e11d39 Code refactoring and improvements for the calendar related utilities page. 2022-01-17 15:21:59 +01:00
Alex Tselegidis
22439eb60a Replace all backend layout occurrences. 2022-01-17 05:26:57 +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
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
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
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
7b7698f689 Refactor the working plan util code (it now uses other utils and helpers). 2022-01-11 10:52:58 +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
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
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
7b71f8a9a1 Created new validation utility file 2021-12-18 18:55:01 +01:00
Alex Tselegidis
c91bf6bf51 Use the App.Vars prop 2021-12-18 18:25:24 +01:00
Alex Tselegidis
a090b2eba9 Updated the file banner info 2021-12-18 17:44:07 +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
d0ad54ce49 Replaced EALang with the global App.Lang object 2021-12-13 07:52:09 +01:00
Alex Tselegidis
037c3037e6 The last parameter is optional 2021-12-10 09:12:08 +01:00
Alex Tselegidis
617ada7641 Major assets restructuring (for better scalability). 2021-11-29 08:55:29 +01:00