Commit graph

1242 commits

Author SHA1 Message Date
Alex Tselegidis
072ff2862e Fallback value for arg 2023-09-12 17:00:30 +03:00
Alex Tselegidis
93e53649cb Update the CORS configuration 2023-08-02 19:08:24 +02:00
Alex Tselegidis
007145e213 Set up swagger-ui in the docker compose (port 8000) 2023-08-01 22:09:01 +02:00
Alex Tselegidis
307d44b6af Custom handling for empty request URI values 2023-07-29 12:36:12 +02:00
Alex Tselegidis
5a5c4333be Set a default value for the default provider 2023-07-29 12:02:52 +02:00
Alex Tselegidis
29bd6dd23a Set the default value of the working plan exceptions to be an array 2023-07-29 11:59:41 +02:00
Alex Tselegidis
c39dad618e Add line break configuration that is needed by many SMTP relay servers 2023-07-27 16:12:03 +02:00
Alex Tselegidis
8d7952ee44 Update the og description value 2023-07-27 16:12:03 +02:00
Alex Tselegidis
c226d188c9 Use the unavailabilities model instead of the appointments model 2023-07-18 07:54:47 +02:00
Alex Tselegidis
5bea235ec8 Cast the result value to int 2023-07-17 14:17:37 +02:00
Alex Tselegidis
b37b460195 Only allow authorized users to manage appointments from the calendar page (#1387) 2023-07-17 08:14:15 +02:00
Alex Tselegidis
e7ddad5641 Make sure there are no duplicate unavailability entries (#1388) 2023-07-17 07:59:56 +02:00
Alex Tselegidis
90c5c0282d Update the working plan exception checks in Availability.php for non-working days 2023-07-17 07:56:51 +02:00
Alex Tselegidis
0bb02ae2bf Set the right locale to the fullcalendar instances 2023-07-17 07:50:55 +02:00
Alex Tselegidis
ebe087553e Automatically select the next available date in the booking page or display a message if this month is unavailable (#1075) (#1204) 2023-07-11 08:11:41 +02:00
Alex Tselegidis
ae26a5f397 Add Open Graph information to the public booking page so that it renders nicely once shared on social media apps (#1382) 2023-07-11 07:58:57 +02:00
Alex Tselegidis
36937a6492 Remove the Google Product Name and Google API Key config values as they are no longer needed 2023-07-11 07:50:16 +02:00
Alex Tselegidis
87e27d4070 Use the unavailabilities model to save the sync events (#1363) 2023-07-11 07:46:28 +02:00
Alex Tselegidis
5473544258 Allow working plan exceptions to be defined as non-working days (#1383). 2023-07-10 08:22:55 +02:00
Alex Tselegidis
198c855b74 Update the newer german translation strings 2023-07-05 17:39:35 +02:00
Alex Tselegidis
ebe8f84ba1 Release v1.5.0-dev.4 2023-07-03 10:42:02 +02:00
Alex Tselegidis
a9798bf27e Set the correct HTML language code 2023-07-03 10:27:23 +02:00
Alex Tselegidis
674d7c4eeb Correct the array key access in Google.php (#1362) 2023-07-03 10:21:46 +02:00
Alex Tselegidis
a225019f6f Add the Google "notranslate" meta to all layouts (#1360) 2023-07-03 10:19:05 +02:00
Alex Tselegidis
9828cd2fbf Add the service description to the appointment email notifications (#1374). 2023-07-03 10:07:10 +02:00
Alex Tselegidis
66dfd36d6d Fix the booking settings require-notes setting application, as it should check on the appointment notes and not the customer ones 2023-06-30 19:04:35 +02:00
Alex Tselegidis
d055d10610 Add "notes" to the whitelisted field list 2023-06-21 09:50:52 +03:00
Ronan LE MEILLAT
5cd3d9284a French translations 2023-06-13 15:05:52 +02:00
Ronan LE MEILLAT
ea1ff5fd1a missing \ 2023-06-13 14:00:33 +02:00
Ronan LE MEILLAT
0bcfd016c1 Update french translations 2023-06-13 11:59:39 +02:00
Alex Tselegidis
8dbe0842d8 Add Swedish as a selectable language in the web-ui (#1369). 2023-06-12 12:50:37 +02:00
Alex Tselegidis
2f69be2bd0 Update the equivalent appointment removal action of the calendar table view. 2023-06-01 14:30:08 +02:00
Alex Tselegidis
8e37e54bdb Refactor the calendar page appointment removal so that it also uses a request parameter called "cancellation_reason", just like the public booking page does. 2023-06-01 14:25:02 +02:00
Alex Tselegidis
531496f06a Convert the appointment hours of the email notifications to match the right timezone 2023-05-04 18:09:57 +02:00
Alex Tselegidis
cfac49e920 Update the method names of the library. 2023-05-04 18:02:40 +02:00
Alex Tselegidis
890e3ac4d9 Order the records by update datetime to avoid them missing in the UI 2023-05-04 17:55:29 +02:00
Alex Tselegidis
d3c96efac5 Enhance the booking info field display. 2023-05-04 11:52:54 +02:00
Alex Tselegidis
fbd3273864 Align the booking info fields to the top. 2023-05-04 11:43:59 +02:00
Alex Tselegidis
6050e6eb71 Add missing API fields 2023-05-04 11:32:40 +02:00
Alex Tselegidis
fa8b8459d4 Avoid null argument values passed to the PHP function 2023-05-04 11:32:32 +02:00
Alex Tselegidis
36ff857c4d Update the timezone info styling in the appointments and unavailability modals 2023-05-03 07:51:53 +02:00
Alex Tselegidis
4a0f1a1354 Position the booking confirmation text in the center. 2023-05-03 07:28:16 +02:00
Alex Tselegidis
fb7b2af812 Re-enable the captcha image distortion. 2023-05-03 07:26:39 +02:00
Alex Tselegidis
1655b0df2d Correct the captcha builer php issues. 2023-05-03 07:21:20 +02:00
Alex Tselegidis
f13b1a17c4 Correct the API controller constructor methods. 2023-04-24 13:22:49 +02:00
Alex Tselegidis
7ffc249706 Release v1.5.0-dev.3 2023-04-24 10:13:55 +02:00
Alex Tselegidis
d1e1000cb4 The "id_categories" columnn is optional 2023-04-24 10:13:44 +02:00
Alex Tselegidis
f7be8a1e1d Center the email templates and set a min height for the content 2023-04-24 10:02:53 +02:00
Alex Tselegidis
791030ba60 Update the russian translation file 2023-04-24 09:43:28 +02:00
Alex Tselegidis
83a83755e4 Merge branch 'translaster-master' into develop 2023-04-24 09:43:03 +02:00
krote5k
01dfd12959 Russian translation is done 2023-04-17 15:17:47 +05:00
Alex Tselegidis
a5f5bbb071 Correct the german translation of "October" 2023-04-17 10:07:45 +02:00
Alex Tselegidis
7f37350fab Regenerate the session ID after logging in to avoid Session Fixation attacks 2023-04-15 14:46:30 +02:00
Alex Tselegidis
75b2473576 Do not return appointments of a different user to the another provider or secretary on the default calendar screen. 2023-04-15 14:39:12 +02:00
Alex Tselegidis
c7a304c197 Add a method to quickly check if a provider is assigned to a secretary. 2023-04-15 14:34:42 +02:00
Alex Tselegidis
f540192570 Add helper methods to quickly check if a service is assigned to a provider 2023-04-15 14:34:23 +02:00
Alex Tselegidis
6fc45c3368 Correct the field filtering 2023-04-15 14:33:40 +02:00
Alex Tselegidis
46a865300e Escape the legal settings, service and category name in the booking page 2023-04-15 14:14:42 +02:00
Alex Tselegidis
bddc5cbeb7 Escape the user display name in the backend section 2023-04-15 14:03:51 +02:00
Alex Tselegidis
87a114af9c Update the return type. 2023-04-05 15:35:31 +02:00
Alex Tselegidis
d4185b2b05 Load the framework while testing in order to allow for additional tests 2023-03-24 08:11:25 +01:00
Alex Tselegidis
ea3bdb17ee Add the "user-scalable=no" meta value 2023-03-22 10:05:41 +01:00
Alex Tselegidis
55b64d42ae Perform various styling changes to the fullcalendar widget 2023-03-20 08:56:02 +01:00
Alex Tselegidis
299842cdb2 Correct language name in translation file 2023-03-17 08:00:04 +01:00
Alex Tselegidis
7bfe16b6be Check on trashed items when fetching appointment information 2023-03-17 07:53:16 +01:00
Alex Tselegidis
dae737ad17 Add missing @throws tag 2023-03-17 07:20:29 +01:00
Alex Tselegidis
2b552c4535 Resolve various PHP inspection issues 2023-03-13 09:06:18 +01:00
Alex Tselegidis
7be4c73e4e Use the "end_section" html helper for better clarify on when a section starts and when it ends 2023-03-13 08:24:43 +01:00
Alex Tselegidis
453c6e1302 Apply the new escape helper function to the view files 2023-03-13 08:18:39 +01:00
Alex Tselegidis
9b66e9fedc Remove the escape function from the lang helper 2023-03-13 08:11:01 +01:00
Alex Tselegidis
35023fef06 Removed unused config item 2023-03-13 08:08:50 +01:00
Alex Tselegidis
9a6233ad3a Add a new string escape helper function 2023-03-13 08:08:43 +01:00
Alex Tselegidis
e1a8de1652 Do not allow a user to access the app if their account was removed. 2023-03-13 07:42:06 +01:00
Alex Tselegidis
f3a3fb047e Add the X-Frame-Options header to the app 2023-03-08 10:48:37 +01:00
Alex Tselegidis
af1904679e Add the croatian translation files 2023-03-06 10:42:50 +01:00
Alex Tselegidis
2731d2f17c Update the seeders so that they set dynamic passwords by default 2023-03-01 09:00:24 +01:00
Alex Tselegidis
963413eb88 White list the working plan and working plan exceptions when saving a provider record 2023-03-01 08:26:58 +01:00
Alex Tselegidis
9e3611c547 Correct button display in mobile views 2023-03-01 08:21:57 +01:00
Alex Tselegidis
a04364adcd Remove unused config files 2023-03-01 07:45:09 +01:00
Alex Tselegidis
6226e0f86c Toggle the first booking step 2023-02-21 08:32:30 +01:00
Alex Tselegidis
9681e7d6ad Set the recipients timezone before sending the appointment email 2023-02-21 08:17:22 +01:00
Alex Tselegidis
ea30c62a84 Load required settings 2023-02-21 08:11:18 +01:00
Alex Tselegidis
c9715d7431 Script checks before rendering 2023-02-21 08:11:14 +01:00
Alex Tselegidis
a8996b6b99 Add the location and notes fields to the appointment email notifications (if a value was provided). (#1341) 2023-02-21 08:02:32 +01:00
Alex Tselegidis
ddee652231 Remove unnecessary cache load 2023-02-21 07:58:30 +01:00
Alex Tselegidis
4d79e1d3cf Improve the structure of the email notifications 2023-02-21 07:58:21 +01:00
Alex Tselegidis
c3aca37591 Add the "format_timezone" helper function 2023-02-21 07:44:34 +01:00
Alex Tselegidis
98976ee382 Wrap the date_helper.php functions with try-catch blocks 2023-02-20 08:57:50 +01:00
Alex Tselegidis
270c261a58 Add the date_helper.php to the project 2023-02-20 08:54:29 +01:00
Alex Tselegidis
697b3fa5a8 Refactor the email template HTML structure 2023-02-20 08:43:00 +01:00
Alex Tselegidis
9727d22205 Add a back link to the webhooks page 2023-02-20 08:35:29 +01:00
Alex Tselegidis
97382d8da3 Add missing JS file to business_settings.php 2023-02-20 08:17:48 +01:00
Alex Tselegidis
8ea9171ae2 Add label class 2023-02-20 07:46:02 +01:00
Alex Tselegidis
c8bfb623e2 Apply the future booking limit to the booking page 2023-02-13 09:36:08 +01:00
Alex Tselegidis
77256e502a Style the flatpickr in the booking page 2023-02-07 08:24:46 +01:00
Alex Tselegidis
85e0567b13 Remove jQuery UI from the app entirely 2023-02-07 07:43:14 +01:00
Alex Tselegidis
6356e9883f Correct CSS styling for booking page 2023-02-07 07:40:42 +01:00
Alex Tselegidis
6deeee0812 Replace the datepicker of the booking page 2023-02-07 07:39:44 +01:00
Alex Tselegidis
94570a3fdc Change the add button in the calendar page 2023-02-07 07:21:04 +01:00
Alex Tselegidis
0e0194c927 Replace the date time pickers in the backend section 2023-02-02 08:54:47 +01:00
Alex Tselegidis
629bdfc062 Add missing translations 2023-02-02 08:54:32 +01:00
Alex Tselegidis
deab447284 Make all the modals show in the center of the screen and add a scroll bar. 2023-02-02 08:25:10 +01:00
Alex Tselegidis
2298533426 Update the vendor packages of the project 2023-01-27 15:54:26 +01:00
Alex Tselegidis
abcc46db94 Add PHP8.2 support to the application 2023-01-26 09:17:45 +01:00
Alex Tselegidis
7343389f7b Correct the + symbol processing when sorting results in the API controllers (#1322) 2023-01-23 07:54:06 +01:00
Alex Tselegidis
c7371090ba Add missing API fields to Unavailabilities_model.php (#1323) 2023-01-23 07:50:24 +01:00
Alex Tselegidis
eb863ea044 Add missing API fields to Appointments_model.php 2023-01-23 07:50:13 +01:00
Alex Tselegidis
04f480c4c6 Remove duplicate command 2023-01-23 07:47:47 +01:00
Alex Tselegidis
07b628324d Add default values to the authentication parameters 2023-01-23 07:45:40 +01:00
Alex Tselegidis
f8925ddb0d Add the missing "only" filtering to the backend controllers. 2023-01-21 12:51:06 +01:00
Alex Tselegidis
b447751c39 Add the settings navigation sidebar to the integration sub-pages 2023-01-21 12:50:12 +01:00
Alex Tselegidis
1f9d82b18e Add a "back" button to the integrations page. 2023-01-21 12:46:06 +01:00
Alex Tselegidis
26dea7bcb6 Correct id attribute 2023-01-18 11:04:55 +01:00
Alex Tselegidis
8449d5454c Add ID to the allowed appointments fields (this will fix the rescheduling flow) 2023-01-18 10:59:57 +01:00
Alex Tselegidis
50ec06b29c Allow API clients to filter appointments by service, provider and customer ID (#1296, #1325) 2023-01-14 10:25:25 +01:00
Alex Tselegidis
dfacdc901a Use the "array_values" method in both available-provider filtering conditions to avoid issues with missing keys 2023-01-14 10:16:32 +01:00
Alex Tselegidis
cfe88f8901 Fix the condition check of the "get_setting" method of providers, secretaries and admins (#1327) 2023-01-14 10:15:06 +01:00
Alex Tselegidis
59170af997 Adjust manage mode handling in booking page 2023-01-14 10:15:06 +01:00
Alex Tselegidis
8879fa7889
Merge pull request #1326 from eerojaaskelainen/RelFrontFixes
Fixes for frontend problems running in release mode
2023-01-14 10:15:01 +01:00
Alex Tselegidis
f68e475e27
Merge pull request #1330 from eerojaaskelainen/BookingRescheduleManageModeFix
Booking reschedule: Fixed manage mode getter
2023-01-14 10:02:37 +01:00
Alex Tselegidis
4446f26399 Make the backend footer sticky and remove the "placeFooterToBottom" function 2023-01-14 09:40:18 +01:00
Alex Tselegidis
b62e458258 Change the "value" method signature 2023-01-14 09:39:14 +01:00
Alex Tselegidis
2e3e766f73 Add missing field filtering and the optional model method 2023-01-14 09:38:49 +01:00
Alex Tselegidis
71fa900ea7 Move the date time picker addon to the layout file 2022-12-26 10:23:02 +01:00
Alex Tselegidis
d2c6d5a571 Add helper method for optional fields 2022-12-26 10:22:22 +01:00
Alex Tselegidis
f23c9aad49 Do not apply the limitation of customers if the corresponding setting is disabled 2022-12-21 19:09:21 +01:00
Alex Tselegidis
655d98fc69 Update Italian language
# Conflicts:
#	application/language/italian/translations_lang.php
2022-12-12 09:20:57 +01:00
Alex Tselegidis
0ee1f5cb0a Allow the user to filter by the entire user name 2022-12-12 09:19:14 +01:00
popod
e53683863d
Fix working_plan_exceptions inconsistency when empty 2022-12-03 17:17:40 +01:00
Alex Tselegidis
30c55a4666 Correct the validate username method 2022-11-30 11:53:45 +01:00
Alex Tselegidis
bc0de8ec53 Add a missing condition on permissions in Calendar.php 2022-11-30 11:22:48 +01:00
Alex Tselegidis
80e52ca36d Fix condition on new field migration files 2022-11-30 11:22:48 +01:00
Alex Tselegidis
c1c588be22 Correct the email mime type for the ICS file 2022-11-30 11:22:48 +01:00
Alex Tselegidis
8c91c86508 Do not take deleted records into concern 2022-11-30 11:22:48 +01:00
Eero Jääskeläinen
a5e9ed3e99 Booking reschedule: Fixed manage mode getter 2022-11-28 13:21:32 +02:00
Eero Jääskeläinen
ad6bf65667 Strip providers script vars' keys to fix 'find() undefined' JS error 2022-11-17 12:54:05 +02:00
Eero Jääskeläinen
8c532d8552 Finnish: More linguistic duration text 2022-11-15 11:07:05 +02:00
Eero Jääskeläinen
1c67fc7ff6 Finnish translations 2022-11-09 09:14:07 +02:00
Alex Tselegidis
d8634dc366 Update the polish translation (thanks to #1312) 2022-10-19 16:12:07 +03:00
Alex Tselegidis
f389608aa1 Add date, from and till query parameters to the filter the appointments index results by date (#1134). 2022-10-16 22:17:36 +03:00
Alex Tselegidis
0f6df76667 Allow the users to define their own status and assign them to appointments (#244). 2022-10-16 21:54:26 +03:00
Alex Tselegidis
5431d25f0b Use variables by reference in the foreach loops of the models 2022-10-16 18:08:33 +03:00
Alex Tselegidis
8449fd3d28 Fix the rescheduling functionality in the booking page 2022-10-16 18:07:45 +03:00
Alex Tselegidis
c8ebfae7ff Make sure the search method sorts by update_datetime in descending order 2022-10-16 18:07:01 +03:00
Alex Tselegidis
581609ea43 Set the setting value correctly, if the setting-name argument was not found in the database 2022-10-16 18:06:17 +03:00
Alex Tselegidis
54bc07f62a Update the EA_Model::only method to use the array_fields function 2022-10-16 18:04:49 +03:00
Alex Tselegidis
98a0e07484 Add and autoload the array helper 2022-10-16 18:03:55 +03:00
Alex Tselegidis
d02c71a0e2 Add page title to the account pages 2022-10-16 18:02:47 +03:00
Alex Tselegidis
b204437473 Add missing provider fields in the "create" and "update" methods 2022-10-03 17:06:01 +03:00
Alex Tselegidis
b39d02b416 Correct the available slot collection display, when any-provider is selected 2022-10-03 17:06:01 +03:00