Commit graph

576 commits

Author SHA1 Message Date
Alex Tselegidis
b968970fa6 Correct slot label format for default view. 2022-01-24 22:43:18 +01:00
Alex Tselegidis
b6e9a7209f Select appointment time from within the calendar when "all" select filter item is selected. 2022-01-24 22:40:35 +01:00
Alex Tselegidis
5df3e63055 Correct deserialize general settings method. 2022-01-24 22:38:45 +01:00
Alex Tselegidis
03010184f6 Improve the display of the booking link for services, providers and service-provider combinations. 2022-01-24 22:37:05 +01:00
Alex Tselegidis
42534ffcb3 Service duration values shorter than 5 minutes should be acceptable via the services page (#1110). 2022-01-24 22:09:30 +01:00
Alex Tselegidis
4f5fbb8262 Display appointments from all providers in one view. 2022-01-24 22:07:24 +01:00
Alex Tselegidis
0bbbff47c8 Correct reload call (not in select filter item callback). 2022-01-24 22:00:47 +01:00
Alex Tselegidis
97f98c5118 All the user roles with access to the backend calendar page can filter by service (#956). 2022-01-24 21:57:17 +01:00
Alex Tselegidis
d4d7fd13d0 Add a border between the display selected service and provider provider 2022-01-24 21:23:41 +01:00
Alex Tselegidis
9271c21fba Optimize column display in the booking page. 2022-01-24 21:15:33 +01:00
Alex Tselegidis
fea38205da Correct positionining of language selection in booking page. 2022-01-24 21:08:14 +01:00
Alex Tselegidis
8a02d5bf0a Remove the dashes from the any-provider option. 2022-01-24 21:06:06 +01:00
Alex Tselegidis
ab4e404fac The display-selected-service and display-selected-provider elements will be invisible by default. 2022-01-24 21:05:43 +01:00
Alex Tselegidis
442c644c01 Move the terms and privacy checkbox to the last step. 2022-01-24 21:04:03 +01:00
Alex Tselegidis
d580463977 Add reset company color button so that the color can be easily switched back to the original state. 2022-01-24 20:58:15 +01:00
Alex Tselegidis
2f41c28786 Add a new "is_private" flag to services and providers so that they do not appear in the booking page (#378). 2022-01-24 20:50:14 +01:00
Alex Tselegidis
86d3ce8dc9 Change the phone number validation regex. 2022-01-24 20:44:59 +01:00
Alex Tselegidis
e9a9314909 Enable the change of the brand logo and colors from the backend (#789). 2022-01-24 18:36:12 +01:00
Alex Tselegidis
598fda9dfc Add file utility module. 2022-01-24 17:07:46 +01:00
Alex Tselegidis
617ee37ec7 Comment fix 2022-01-24 17:05:38 +01:00
Alex Tselegidis
083a3e07f6 Add the ability to temporarily block new appointments / set away message (#940). 2022-01-24 16:38:03 +01:00
Alex Tselegidis
e659bd6e08 Add soft phone number validation (#820). 2022-01-24 15:48:20 +01:00
Alex Tselegidis
f31fcfbca7 Company name styling. 2022-01-24 15:45:24 +01:00
Alex Tselegidis
5982a79852 Skip the first booking step if both service and provider were preselected (#1117). 2022-01-24 15:22:34 +01:00
Alex Tselegidis
93aab06187 Correct argument value. 2022-01-24 15:08:30 +01:00
Alex Tselegidis
652f96f53b Use translation key instead of hard coded title. 2022-01-24 14:23:29 +01:00
Alex Tselegidis
9bb0348d78 Increase contrast for visual elements. 2022-01-24 14:18:47 +01:00
Alex Tselegidis
15325c2dff Increase contrast for dropdown and readonly contents. 2022-01-24 14:18:47 +01:00
Alex Tselegidis
aa71d8afad Change the call-to-action message button to "delete" instead of "ok". 2022-01-24 14:11:15 +01:00
Alex Tselegidis
be985b3912 Message box button styling. 2022-01-24 14:10:49 +01:00
Alex Tselegidis
cafe670b11 Less horizontal padding for dropdown items. 2022-01-24 13:45:36 +01:00
Alex Tselegidis
e07f47b30b Import new bootwatch theme and adjust the styling of the app elements for better display 2022-01-24 12:55:45 +01:00
Alex Tselegidis
b046b7af18 Format files 2022-01-24 11:13:22 +01:00
Alex Tselegidis
b3e373bc0b Add bootwatch's "lux" theme override 2022-01-24 10:38:38 +01:00
Alex Tselegidis
fbb9baec50 Change display of read only field (remove border). 2022-01-19 09:39:13 +01:00
Alex Tselegidis
3594bb8294 Use the appointment color value when rendering the appointments on the calendar. 2022-01-18 19:03:06 +01:00
Alex Tselegidis
0f0b3c114e Apply the new color selection component to the appointments modal. 2022-01-18 19:01:26 +01:00
Alex Tselegidis
73a6c791ec Apply the new color selection component to services. 2022-01-18 18:54:44 +01:00
Alex Tselegidis
a72dd9edb5 Create new color selection component. 2022-01-18 18:54:36 +01:00
Alex Tselegidis
c9bc68967c Copy the jQuery UI image files to the vendor directory. 2022-01-18 17:51:57 +01:00
Alex Tselegidis
76f5324901 Correct delta prop name and rename calendar-event related callback methods. 2022-01-18 17:40:43 +01:00
Alex Tselegidis
e636ec2986 Update the table view so that it works with FullCalendar 5 2022-01-18 17:38:57 +01:00
Alex Tselegidis
ba175fab7f Trigger the "click" event on the reload appointments button. 2022-01-18 17:38:25 +01:00
Alex Tselegidis
2f057ac28b Update return type jsdoc. 2022-01-18 17:18:52 +01:00
Alex Tselegidis
387ac5bc19 Update the default view so that it works with FullCalendar 5 2022-01-18 15:55:21 +01:00
Alex Tselegidis
7f40618809 Correct display of working plan exception breaks. 2022-01-18 15:50:20 +01:00
Alex Tselegidis
075e67e0e3 Correct return type in jsdoc block. 2022-01-18 15:50:09 +01:00
Alex Tselegidis
54e4c208a3 Update the project subtitle. 2022-01-18 13:05:42 +01:00
Alex Tselegidis
93bf16ab42 Add missing copyright info to scss files 2022-01-18 13:02:05 +01:00
Alex Tselegidis
116ccb9a76 Update since comment tag with 1.5 value 2022-01-18 13:01:22 +01:00
Alex Tselegidis
0768c07be6 Correct the update css name 2022-01-18 12:56:54 +01:00
Alex Tselegidis
09775d25d5 Rename all "unavailable" occurrences to "unavailability" for consistency. 2022-01-18 12:54:41 +01:00
Alex Tselegidis
7d8bbe5b61 Remove the general_functions.js file. 2022-01-18 12:32:11 +01:00
Alex Tselegidis
6e53af0356 Convert remaining functions to arrow functions in JS files. 2022-01-18 11:14:45 +01:00
Alex Tselegidis
8bc1f49613 Remove prefix from admins HTML elements 2022-01-18 10:33:59 +01:00
Alex Tselegidis
837bcab4fc Remove prefix from secretaries HTML elements 2022-01-18 10:05:17 +01:00
Alex Tselegidis
cacc84fd74 Remove prefix from providers HTML elements 2022-01-18 09:40:19 +01:00
Alex Tselegidis
cf1fe8d537 Remove prefix from category HTML elements 2022-01-18 09:31:19 +01:00
Alex Tselegidis
b7d9efe7c3 Remove prefix from service HTML elements 2022-01-18 09:29:56 +01:00
Alex Tselegidis
7b2315c371 Rename the working plan bindEventListeners to addEventListeners 2022-01-18 08:47:16 +01:00
Alex Tselegidis
8dad2d9624 Replace the global App.Lang with the "lang" helper method, which is more appropriate due to the dynamic load of script translation strings. 2022-01-18 08:22:25 +01:00
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
2feb0d5c99 Add missing selector const and convert remaining functions to arrow functions 2022-01-17 21:32:17 +01:00
Alex Tselegidis
3ca5fa6de6 Proper mark selected row when clicking on a result list item. 2022-01-17 21:31:53 +01:00
Alex Tselegidis
f4f494e4b4 Minor business settings module improvements. 2022-01-17 21:20:29 +01:00
Alex Tselegidis
79c9566257 Hide the appointments modal after a successful appointment store method. 2022-01-17 21:20:06 +01:00
Alex Tselegidis
398b85363f Update the request params (now using snake_case). 2022-01-17 21:19:46 +01:00
Alex Tselegidis
777d15423c Backend notification functionality and styling. 2022-01-17 21:19:17 +01:00
Alex Tselegidis
0da73ab43e Remove the "ajax_" prefix from all new AJAX endpoints. 2022-01-17 19:44:44 +01:00
Alex Tselegidis
c154280026 Create new Google HTTP client. 2022-01-17 19:44:21 +01:00
Alex Tselegidis
3c0f925596 Login works again using the new login HTTP client. 2022-01-17 18:23:11 +01:00
Alex Tselegidis
af464bd83c Create new login HTTP client JS module. 2022-01-17 18:22:23 +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
46f0a27998 The layout modules will initialize the language selection on their own. 2022-01-17 17:54:30 +01:00
Alex Tselegidis
1986438357 Port escapeHtml method to string utility module. 2022-01-17 17:49:29 +01:00
Alex Tselegidis
d333869952 Port the change language callback to the Account controller. 2022-01-17 17:42:47 +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
c9f4a8303a Code refactoring and improvements for the services page. 2022-01-17 15:03:50 +01:00
Alex Tselegidis
f004807014 Code refactoring and improvements for the secretaries page. 2022-01-17 14:56:08 +01:00
Alex Tselegidis
390d66f8d2 Code refactoring and improvements for the recovery page. 2022-01-17 14:45:20 +01:00
Alex Tselegidis
2451d4d5b7 Code refactoring and improvements for the providers page. 2022-01-17 14:37:21 +01:00
Alex Tselegidis
a513ee895e Rename $adminId selector variable to $id. 2022-01-17 14:27:46 +01:00
Alex Tselegidis
7481ebca65 Code refactoring and improvements for the login page. 2022-01-17 14:27:10 +01:00
Alex Tselegidis
ce853c99ef Code refactoring and improvements for the customers page. 2022-01-17 14:25:45 +01:00
Alex Tselegidis
8b74297fb3 Code refactoring and improvements for the categories page. 2022-01-17 06:40:48 +01:00
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
1829b4d941 Remove unused scss file 2022-01-17 05:59:30 +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