Commit graph

1370 commits

Author SHA1 Message Date
Alex Tselegidis
ab8257f366 More fixes related to the caldav syncing (#209) 2024-05-12 18:07:46 +02:00
Alex Tselegidis
2aea423b38 Remove test code from the Caldav.php controller (#209) 2024-05-12 18:07:31 +02:00
Alex Tselegidis
de63955341 Integrate CalDAV Protocol for appointment syncing (#209) 2024-05-12 14:24:58 +02:00
Alex Tselegidis
4cf7c1e349 Rename the migration classes 2024-05-11 19:33:51 +02:00
Alex Tselegidis
9ad660836b Update translations for new timezone and language settings 2024-05-11 19:33:45 +02:00
Thomas Ingles
505abd0430 Add missing lang() : Calendar view (default|table) selectors
views/pages/(account|admins|providers|secretaries).php
2024-05-11 19:29:14 +02:00
Thomas Ingles
97d9219484 Fix CodeIgniter creating a lot of session files
Fix When login CI call sess_regenerate() but do not apply
config 'sess_regenerate_destroy' & always create new file

After this, a session folder have one file by user logged
and clean old session files in storage/sessions folder

To test : in application/config.php
`$config['sess_time_to_update'] = 3;`

see
https://bobcares.com/blog/codeigniter-generating-too-many-sessions-files-resolved
2024-05-11 19:29:14 +02:00
Thomas Ingles
1788f209eb Fix App lib Timezones::get_default_timezone() always UTC
If none of the above succeed,
will return a default timezone of UTC.

https://www.php.net/manual/en/function.date-default-timezone-get.php
2024-05-11 19:29:14 +02:00
Thomas Ingles
2e9bcacbfc Install: html lang + language & timezone provider same as admin 2024-05-11 19:29:14 +02:00
Thomas Ingles
80ada71558 Install: Admin Add Language selector + set timezone by server 2024-05-11 19:29:14 +02:00
Thomas Ingles
a04c0cafdf Fix install alert msg not showed, pw confirm id + js errors lang
js #retype-password to #password-confirm
2024-05-11 19:29:14 +02:00
Thomas Ingles
ff599e2c00 Installation labels translated in browser lang
Administrator from Account page
Company from General Settings page
2024-05-11 19:29:14 +02:00
Alex Tselegidis
33d189a65a Add the matomo analytics site ID setting for the Matomo integration (#1395) 2024-05-11 19:29:14 +02:00
Alex Tselegidis
6213471e36 Restructure the links of the about page and add customize link 2024-05-11 19:29:14 +02:00
Alex Tselegidis
3e0f7e5452 Rename the private switch label for more clarity 2024-05-11 19:29:12 +02:00
Alex Tselegidis
8294dba6f2 Wording 2024-05-11 19:29:09 +02:00
Alex Tselegidis
fd57ddbb2d Add slots to key positions in the app mark up 2024-05-11 19:29:09 +02:00
Alex Tselegidis
3b01f9bf91 Echo the slot as a comment so that it can be used by HTML replacement mechanisms 2024-05-11 19:29:09 +02:00
Alex Tselegidis
08998f3a4a Define get/set methods for related model resources (provider, secretary, admin users) 2024-05-11 19:29:08 +02:00
Alex Tselegidis
f1abeee560 Move the allowed and optional fields to of CRUD controllers to new overridable properties 2024-05-11 19:29:08 +02:00
Alex Tselegidis
9007e977fa The webhook actions are optional 2024-05-11 19:29:08 +02:00
Alex Tselegidis
949a73ad58 Make the search method order_by and offset use the provided values 2024-05-11 19:29:08 +02:00
Alex Tselegidis
b0c0acde62 French translation fixes 2024-05-11 19:29:08 +02:00
Nikke
55bdcf49a1 Added and improved Finnish translations 2024-05-11 19:29:07 +02:00
Alex Tselegidis
078442719c Set the Google attendee data only if all the values are available 2024-05-11 19:29:06 +02:00
Michal Krnáč
f3209b5c10 Slovak translations 2024-05-11 19:29:05 +02:00
Thomas Ingles
3b5a2e76a7 Fix french typos, improve & add missing translations
\' TO ’
2024-05-11 19:28:59 +02:00
Thomas Ingles
9ebeb89cb0 Fix controller Booking : typo default phone_number 2024-05-11 19:28:53 +02:00
Alex Tselegidis
a8ac22fe00 Include the unavailabilities to the "all" display in the calendar 2024-05-11 19:26:08 +02:00
Alex Tselegidis
6e8778919e Unset foreach variable 2024-05-11 19:26:08 +02:00
Alex Tselegidis
5d823985de Add return types to all class methods 2024-05-11 19:26:08 +02:00
Alex Tselegidis
840286899a Various fixes in the Calendar controller 2024-05-11 19:26:08 +02:00
Alex Tselegidis
eb19482c1f Various minor fixes in the appointment and provider models 2024-05-11 19:26:08 +02:00
Alex Tselegidis
363ddeede7 Fix the array_find call 2024-05-11 19:26:08 +02:00
Alex Tselegidis
67a64e4eaf Include the status to the appointment notification 2024-05-11 19:26:08 +02:00
Alex Tselegidis
4570d0859e Do not allow user to submit login without a username and a password 2024-05-11 19:26:08 +02:00
Alex Tselegidis
bbf8869d3b Automatically redirect logged in users to the calendar page 2024-05-11 19:26:08 +02:00
tm8544
3105ae6db5
Update 054_add_default_timezone_to_setting.php 2024-04-26 21:49:43 +03:00
tm8544
db6c127d3b New lines moved to the end of file before // End 2024-04-08 18:35:06 +03:00
tm8544
f47ce7a194
Update Calendar.php
add script_vars for default values
2024-03-30 22:12:04 +02:00
tm8544
1ab1f5b384
Rename 052_add_default_timezone_to_setting.php to 054_add_default_timezone_to_setting.php
Renamed file to avoid conflict with PR #1479
2024-03-30 11:03:00 +02:00
tm8544
f3b9aa5018
Update 053_add_default_language_to_settings.php
Corrected class name
2024-03-29 18:57:01 +02:00
tm8544
9a24fb6a6b
Update 052_add_default_timezone_to_setting.php
Corrected class name
2024-03-29 18:56:08 +02:00
tm8544
f84eecf7e8 add default settings for language and timezone 2024-03-27 17:09:15 +02:00
Alex Tselegidis
da6d017ff1 Fix Validation 2024-03-18 11:54:08 +00:00
Alex Tselegidis
e527d13899 Correct validation 2024-03-18 11:38:09 +00:00
Alex Tselegidis
492a49f2b3 Decode the status prop 2024-03-08 14:10:37 +01:00
Alex Tselegidis
105e522973 Add default working plan exceptions value 2024-03-08 09:36:44 +01:00
Alex Tselegidis
1d4ef06fdb Add from email/name and reply-to settings in the email.php configuration file (#1465) 2024-03-04 10:59:52 +01:00
Alex Tselegidis
69c2bfef8a Add thai translation files 2024-03-04 10:02:51 +01:00
Alex Tselegidis
eedcb3b8d9 CLI support 2024-02-16 17:08:18 +01:00
Alex Tselegidis
5b87d75c10 Fix params for the custom_fields.php 2024-02-13 14:23:58 +01:00
Alex Tselegidis
4f2927fb67 Store and process the custom field value in the booking page 2024-02-07 10:45:04 +01:00
Alex Tselegidis
d680d9cde6 Enable the line break configuration by default so that email render correctly with any email provider 2024-01-31 11:23:33 +01:00
Alex Tselegidis
061a157ab7
Fix typo 2024-01-18 13:06:22 +01:00
Alex Tselegidis
ca0ad6e5a3 Change margin top on first booking step 2024-01-13 16:02:09 +01:00
Alex Tselegidis
33237dc0c0 Decrease booking copyright size 2024-01-13 15:48:11 +01:00
Alex Tselegidis
edb5458f54 Ensure user records always have salt value 2024-01-12 13:07:43 +01:00
Alex Tselegidis
a02a6118b6 Perform styling changes to the public booking page 2024-01-06 12:32:36 +01:00
Alex Tselegidis
b192b437e0 Patch the Captcha_builder.php for PHP8.2 2024-01-06 11:41:43 +01:00
Alex Tselegidis
acafb0da48 Improve the way the service description renders in the booking page 2024-01-06 11:32:42 +01:00
Alex Tselegidis
fa6f685e13 Fix "categories" table not found error 2024-01-06 11:22:12 +01:00
Alex Tselegidis
ac7ca85b88 Narrow the service selection of the booking page 2024-01-06 11:13:39 +01:00
Alex Tselegidis
c7f2e7f831 Move the position of the back button 2024-01-06 10:40:02 +01:00
Alex Tselegidis
cd6280b97d Make sure the API returns 404 on show if the ID was not found 2024-01-05 19:20:00 +01:00
Alex Tselegidis
aee7bb80c0 Add return types 2024-01-05 19:12:25 +01:00
Alex Tselegidis
e0a1282338 Add missing API methods 2024-01-05 17:06:55 +01:00
Alex Tselegidis
c5eafc9552 Add missing translations 2024-01-05 16:49:23 +01:00
Alex Tselegidis
87cb1e190b Correct typo 2024-01-04 21:57:01 +01:00
d08d1459e2
Rearrange Istanbul in Timezones 2024-01-01 11:56:55 +03:00
c032664bde
fix(timezone): update Istanbul timezone 2023-12-22 21:35:13 +03:00
Alex Tselegidis
cda450c4d1 Redirect to the about page after DB update 2023-12-22 13:31:19 +01:00
Alex Tselegidis
aeadbfbe98 Block the public booking operations if the booking page is disabled 2023-12-22 12:48:06 +01:00
Alex Tselegidis
2878d1299a Reformat entire codebase for trailing comma that will make line duplication easier 2023-12-22 11:35:41 +01:00
Alex Tselegidis
054c4fe36d Remove unnecessary "find" method parameter 2023-12-13 12:22:16 +01:00
Alex Tselegidis
1eada1b0e2 Send the appointment notifications to the language of the recipient instead of the currently logged in user language #1402 2023-12-12 12:14:01 +01:00
Alex Tselegidis
65aacce924 No calendars are being displayed in the calendar table view while being logged in as a secretary (#1418) 2023-12-12 11:58:07 +01:00
Alex Tselegidis
e6b3ffd66b Add support for custom fields on customers (#1133) 2023-12-11 09:54:29 +01:00
Alex Tselegidis
aa10b57b3a Remove line breaks from translations 2023-12-08 11:28:24 +01:00
Alex Tselegidis
c6f231e11e Add <pre> container to the dd function output 2023-12-06 10:58:40 +01:00
Alex Tselegidis
1cb5a2288c Return password 2023-11-29 10:43:08 +01:00
Alex Tselegidis
57c9aa38a3 Correct migrations 2023-11-29 10:43:01 +01:00
Alex Tselegidis
c8a9e2c24b Enable prettier for php and reformat the entire application directory 2023-11-29 10:24:09 +01:00
Alex Tselegidis
1b22f90b6a Replace occurrences to the non-used id_categories field 2023-11-17 12:23:07 +01:00
Alex Tselegidis
f040404332 Apply the blocked periods to the booking page availability (#432) 2023-11-17 11:38:17 +01:00
Alex Tselegidis
0cc51ed33c Display the blocked periods to the calendar page (#432) 2023-11-17 09:42:57 +01:00
Alex Tselegidis
f5360d2f2d Rename the block period description field to notes for compatibility with the other unavailability events 2023-11-17 09:37:38 +01:00
Alex Tselegidis
602afb50b9 Display the blocked periods in the calendar (#432) 2023-11-17 08:40:29 +01:00
Alex Tselegidis
8d0b2cfa20 Fix margin classes 2023-11-17 08:23:05 +01:00
Alex Tselegidis
e6ed92697f Add blocked periods section in the business settings page (#432) 2023-11-17 08:20:16 +01:00
Alex Tselegidis
42ee635081 Increase the left margin 2023-11-17 08:19:48 +01:00
Alex Tselegidis
64ce83922d Add date validation to blocked periods (#432) 2023-11-17 08:10:03 +01:00
Alex Tselegidis
f3d7b78b15 Add the blocked periods to the webhooks page (#432) 2023-11-17 08:06:34 +01:00
Alex Tselegidis
1c3ae956aa Update the blocked period CRUD (#432) 2023-11-17 08:04:27 +01:00
Alex Tselegidis
9e2c4827aa Revert back to the default password for simplicity 2023-11-17 07:35:52 +01:00
Alex Tselegidis
fbcd35f197 Add blocked period CRUD operations to the app (#432) 2023-11-03 18:25:23 +01:00
Alex Tselegidis
38f872d857 Various minor service and service category fixes 2023-11-03 18:24:49 +01:00
Alex Tselegidis
bcf03a4b90 Load the api library before using it in Unavailabilities_api_v1.php 2023-10-27 09:01:00 +02:00
Alex Tselegidis
29940e2cd1 Correct session value 2023-10-26 08:11:49 +02:00
Alex Tselegidis
ee2fd4ea5a Rename some variables in Service_categories_model.php 2023-10-26 08:11:49 +02:00
Alex Tselegidis
4b18b78e69 Rename the "create" method of controllers to "store" 2023-10-26 08:11:49 +02:00
Alex Tselegidis
c1faa8972d Add the aria-label attribute to keyword 2023-10-26 08:11:49 +02:00
Alex Tselegidis
3847391c3d Switch from define to const constant definitions for better IDE support 2023-10-26 08:11:49 +02:00
Alex Tselegidis
7eb048e1d2 Rename webhook related constant 2023-10-26 08:11:49 +02:00
Alex Tselegidis
c37757e969 Translation changes 2023-10-26 08:11:48 +02:00
Alex Tselegidis
e9842a40bc Revert renaming the service-categories to categories (for clarity) 2023-10-26 08:11:31 +02:00
Alex Tselegidis
ae76ad7385 Do not allow a customer to book the same hours multiple times
(#1420)
2023-10-23 11:46:41 +02:00
Alex Tselegidis
e987aedf75 Various fixed on the Google Sync process 2023-10-23 11:34:39 +02:00
Alex Tselegidis
0ba5015147 Comment 2023-10-23 11:21:30 +02:00
Alex Tselegidis
cf19a90311 Drop support for soft deletes in order to reduce the code complexity and data usage 2023-10-19 16:25:45 +02:00
Alex Tselegidis
1710d46b6d Pass the required_notes param to the appointments_modal template 2023-10-19 16:05:17 +02:00
Alex Tselegidis
bf69e17ae6 Apply the company color to the appointments modal existing customer list entries (#1429) 2023-10-19 16:04:28 +02:00
Alex Tselegidis
f0a91600bf Apply the company color to the appointments modal dropdown (#1422) 2023-10-16 11:54:27 +02:00
Alex Tselegidis
c1535ef527 Typo in greek translation (#1425) 2023-10-16 11:48:23 +02:00
Alex Tselegidis
ec0432d515 Correct the require-notes setting use in the appointments_modal.php (#1426) 2023-10-16 11:47:14 +02:00
Alex Tselegidis
73323c15d3 Use the same email subject for both customer and provider for when an appointment is updated (#1403) 2023-10-12 12:58:54 +02:00
Alex Tselegidis
cbbcaa417f Corrections to the german translations (#1404) 2023-10-12 12:56:13 +02:00
Alex Tselegidis
b88952497c Cast the provider ID to avoid errors 2023-10-09 16:48:35 +02:00
Alex Tselegidis
784cb0c877
Merge pull request #1410 from laravel-vesuvius/develop
Fix search Appointments_model
2023-10-09 15:49:07 +02:00
Alex Tselegidis
f49f65af69
Merge pull request #1411 from laravel-vesuvius/customer
Customers_model: api_encode: add timezone field
2023-10-09 15:48:15 +02:00
Alex Tselegidis
5bd328ee4f Correct the variable type check value 2023-10-09 12:18:24 +02:00
Alex Tselegidis
cac3e6317d Rename variable 2023-10-09 09:56:40 +02:00
Alex Tselegidis
3aba05bd28 Update the croatian translations 2023-10-04 16:39:28 +03:00
Alex Tselegidis
b1bf3ac3c0 Update the catalan translations 2023-10-04 15:55:41 +03:00
Vadim Serdunich
249e67ef91 Customers_model: api_encode: add timezone field 2023-09-15 16:40:02 +03:00
Vadim Serdunich
193205bfc0 Fix search Appointments_model: appointments id field 2023-09-14 19:39:52 +03:00
Vadim Serdunich
a05551ba74 Fix search Appointments_model 2023-09-13 17:27:19 +03:00
Alex Tselegidis
c3eb4d1632 Only the IP and type are required fields 2023-09-12 17:17:12 +03:00
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