Commit Graph

205 Commits

Author SHA1 Message Date
Alex Tselegidis 6b179c3b58 When selecting the any provider option in the booking page then merge all the available hours of all providers that can serve the selected service (#1147). 2021-10-18 13:04:32 +02:00
Alex Tselegidis 0c0ac6a0b2 The backend appointment removal is using the notifications library 2021-10-04 09:26:12 +02:00
om-ha a17c234698
FIX Providers API incorrect `array_key_exists`
- `array_key_exists` should search for they key `working_plan` within `$provider['settings']` and not `$provider['settings']['working_plan']`
2021-08-28 14:50:01 +03:00
Thomas Saedt 1bcbf9f71b [1081] Made show booking form field settings functional 2021-05-30 13:27:39 +02:00
Thomas S 872640c46d [1081] Frontend hiding of fields 2021-05-28 15:39:14 +02:00
Thomas S 094b780fd8 [1081] Add new settings in db 2021-05-28 13:37:58 +02:00
Winfried Mosler 95dfc866e1 fix calendar table events for roles other than admin 2021-04-07 10:52:09 +02:00
Alex Tselegidis 1c763f3870 Support all-day events while syncing with Google Calendar (#1040). 2021-04-07 10:02:30 +02:00
Alex Tselegidis 718fbf97aa
Merge pull request #967 from bevanjkay/all-day-google-events
All day google events
2021-04-07 09:49:35 +02:00
Alex Tselegidis 0b5938471e The availabilities API controller must use the Availability library (this change will also fix the PHP error, when processing a service with multiple attendants) (#990) 2021-01-27 13:40:01 +01:00
Alex Tselegidis 7c9137f69d Make sure the selected hour is checked before selecting a provider on behalf of the customer, if he selected the any-provider option (#982). 2021-01-20 15:21:59 +01:00
Bevan Kay edace7b002 Add ability to sync all-day Google Calendar Events 2021-01-07 16:10:47 +11:00
Alex Tselegidis 5a52bde05a Additional check for the provided user props via the API 2020-12-17 16:49:04 +02:00
Alex Tselegidis cf7bad9f19 Always display events in the provider's timezone in the backend calendar pages 2020-12-14 20:41:21 +02:00
Alex Tselegidis 5512731c41 Added customer data in the book success page 2020-12-14 20:40:56 +02:00
Alex Tselegidis 36def8c52c Corrections in the API endpoints (#950) 2020-12-11 21:16:49 +02:00
Alex Tselegidis ae3e0b1dcb Google Calendar sync must not break when syncing all day events (#945). 2020-12-10 11:31:59 +02:00
Alex Tselegidis 75905752f7 Adding missing parent constructor call in Privacy.php controller 2020-12-09 14:55:27 +02:00
Alex Tselegidis 39d4f3185e Removed [AJAX] string from controller comments. 2020-12-09 14:46:27 +02:00
Alex Tselegidis b87be634b4 Applied same default data for both console and UI installation 2020-12-09 14:45:55 +02:00
Alex Tselegidis 8a68e97f94 Reformatted code files 2020-12-09 14:17:45 +02:00
Alex Tselegidis 022644b59e Corrected method call argument 2020-12-09 14:07:01 +02:00
Alex Tselegidis 9655feca6c Corrected issue with table view and duplicate appointments 2020-12-08 10:17:24 +02:00
Alex Tselegidis 228235fa26 Corrected argument order 2020-12-07 22:56:37 +02:00
Alex Tselegidis 40cf6cab40 Renamed variable 2020-12-07 22:55:31 +02:00
Alex Tselegidis e084ee913f Moved all the loader commands to the constructors 2020-12-05 11:55:09 +02:00
Alex Tselegidis e31aec1ab5 Pass the manage_mode parameter to notifications and google libraries 2020-12-05 11:46:05 +02:00
Alex Tselegidis 9c3d253456 Code enhancements in the model classes 2020-12-05 11:38:57 +02:00
Alex Tselegidis 033719e9b4 Renamed variables in API controllers 2020-12-05 11:14:13 +02:00
Alex Tselegidis 3dca937728 Improved condition checks in the API controller classes 2020-12-05 11:09:25 +02:00
Alex Tselegidis 93c2eb190f Added a help command in the console 2020-12-05 11:03:12 +02:00
Alex Tselegidis 3f43d2f768 Added new console command for created data backups. 2020-12-04 14:28:18 +02:00
Alex Tselegidis 76379ede44 Added a seed and installation command. 2020-12-04 12:49:57 +02:00
Alex Tselegidis 8171d18fd4 Updated code style in API_V1_Controller.php 2020-12-04 12:36:27 +02:00
Alex Tselegidis fc362b340b Added fresh option to migrations 2020-12-02 22:21:35 +02:00
Alex Tselegidis 9cde499f9a Use the shorthand method for config items 2020-12-02 22:12:54 +02:00
Alex Tselegidis 77d8d4e5ab Use the shorthand method for translations 2020-12-02 22:11:07 +02:00
Alex Tselegidis 238c480837 Consistently use $CI to reference the framework instance 2020-12-02 22:10:11 +02:00
Alex Tselegidis e7b4aeedab Automatically load the translations 2020-12-02 20:04:06 +02:00
Alex Tselegidis c0a6370544 Snake case variable name 2020-12-02 19:50:17 +02:00
Alex Tselegidis f6ee08608a Initialize unavailability array 2020-11-21 23:09:27 +02:00
Alex Tselegidis d5d4893840 Corrected method calls in when appointment gets saved from the backend 2020-11-21 23:08:07 +02:00
Alex Tselegidis d6a5373264 Less data loaded for providers in book success. 2020-11-21 22:02:55 +02:00
Alex Tselegidis da187c8b02 Redirect to appointments instead of appointments/index 2020-11-21 22:02:44 +02:00
Alex Tselegidis 46d604f5e6 Applied consistent code style to the engine class files. 2020-11-16 11:55:34 +02:00
Alex Tselegidis 75a5addbc2 Grouped the property tag into parent core classes so that it does not need to be repeated. 2020-11-16 10:29:36 +02:00
Alex Tselegidis 976cabb2c4 Updated URLs in the file comments 2020-11-16 10:16:00 +02:00
Alex Tselegidis 6e66eb4fd8 Consistent module naming throughout the app 2020-11-16 10:16:00 +02:00
Alex Tselegidis 8842e2d918 Update session date based on the current user settings page updates 2020-11-12 14:47:15 +02:00
Alex Tselegidis 0c20363b8b Correction in the Appointments check datetime availability method 2020-11-12 14:46:51 +02:00
Alex Tselegidis d13df8f8e1 Corrected condition fallback value in Categories.php API controller 2020-11-12 14:16:23 +02:00
Alex Tselegidis 25fdd5636d Corrected wrong parameters order. 2020-11-12 14:15:38 +02:00
Alex Tselegidis 733e9a119a Updated the code style of the API controllers 2020-10-21 21:49:05 +03:00
Alex Tselegidis 1067a92a18 Renamed further "unavailabilities" occurrences to "unavailability events" 2020-10-21 21:44:35 +03:00
Alex Tselegidis f7ca104836 Moved duplicated code into re-usable library classes 2020-10-21 21:37:47 +03:00
Alex Tselegidis 0e6fdebe0f Completed the working plan exceptions feature. 2020-10-20 16:05:00 +03:00
Alex Tselegidis cab9aed12f Styling upgrades for the backend calendar page 2020-09-28 15:17:47 +03:00
Alex Tselegidis 068a3995b0 Further fixes on the google synyc activation (#890). 2020-09-24 10:26:29 +03:00
Alex Tselegidis 069509c8da Merge branch 'book-advance-timeout-improvements' of https://github.com/popod/easyappointments into popod-book-advance-timeout-improvements
# Conflicts:
#	application/views/backend/calendar.php
#	application/views/backend/settings.php
2020-09-23 15:13:58 +03:00
Alex Tselegidis 46a176db5b Updated the default service currency value 2020-09-23 14:59:43 +03:00
Alex Tselegidis cfc6167d4f Use the "alnum" method when generating random strings via the codeigniter helper function (generates shorter strings) 2020-09-23 14:37:09 +03:00
Alex Tselegidis a3dfb91550 Improvements in the user language storage feature. 2020-09-23 13:48:07 +03:00
Alex Tselegidis 5706447ea6 Problem with links in legal content (#813). 2020-09-23 13:44:12 +03:00
Alex Tselegidis 683aa269b0 Use the codeigniter random string generation function for creating random passwords (#680). 2020-09-23 13:16:37 +03:00
Alex Tselegidis 532548d64d Proper use of the property phpdoc tag 2020-09-23 13:16:37 +03:00
Alex Tselegidis 7bbe85b88a
Merge pull request #817 from popod/save-customer-language
Save customer language to the database
2020-09-23 13:16:25 +03:00
Alex Tselegidis f5a94ea6fe Notify admins and secretaries on appointment changes (#889). 2020-09-23 12:42:18 +03:00
Alex Tselegidis 30eb95461a Improvements and fixes on the custom availability feature 2020-09-23 12:24:42 +03:00
Alex Tselegidis 1aa8132e4d Added console commands and support for triggering the google sync from the terminal 2020-09-23 12:24:20 +03:00
Alex Tselegidis ae1f951cf8 Resolve the any-provider selection before processing provider information (#885). 2020-09-21 14:26:21 +03:00
Alex Tselegidis 529e418589 Set default notifications setting value for the installation admin. 2020-09-07 11:45:57 +03:00
Alex Tselegidis 02628a2cbd Random password for installation provider record. 2020-09-07 11:18:08 +03:00
Alex Tselegidis 5220e87249 Renamed installation helper method 2020-09-07 11:15:58 +03:00
Alex Tselegidis 0e0a5e6b20 Removed the subpackage phpdoc tag (not supported). 2020-09-07 10:56:40 +03:00
Alex Tselegidis 395b329e78 Minor formatting changes in API_V1_Controller.php 2020-09-03 14:59:05 +03:00
Alex Tselegidis 65d3243986 Add the appointment has in the stored "dest_url" value when trying to access the calendar page without being logged in first (#804). 2020-08-15 15:58:17 +03:00
Alex Tselegidis 4f1c39b564 Consider the book advance timeout when generating unavailable dates (#855). 2020-08-15 15:58:17 +03:00
Alex Tselegidis d8a7318c95 Added missing response variable 2020-07-01 10:16:09 +02:00
Sébastien 1e6a13d146 Save customer language. 2020-06-16 17:01:27 +02:00
Sébastien 18d0541114 Improve the "help block" for the book advance timeout field in french. 2020-06-05 20:36:40 +02:00
Sébastien 950738f2fe Redirect clients which are tying to update an appointment during the book advance timeout to a warning page. 2020-06-05 18:24:05 +02:00
Sébastien 8704413c0f Do not add bookAdvanceTimeout delay to new appointment modal on the backend. 2020-06-05 17:29:35 +02:00
Alex Tselegidis df44f72964 The timezones model got converted into a library (as there is no direct database table to manage). 2020-05-12 20:59:29 +02:00
Alex Tselegidis 07276d46a6 Code changes on automatically end_datetime assignment via the REST API 2020-05-04 20:59:37 +02:00
Alex Tselegidis 5269f73bab
Merge pull request #751 from popod/api-appointments-populate-end-datetime
Automatically populate the appointment end datetime based on service duration in API
2020-05-04 20:57:15 +02:00
Alex Tselegidis 4635af5094 Added quick toggle view button in backend calendar page. 2020-05-04 13:38:28 +02:00
Sébastien 05ab0db079 Automatically populate the appointment end datetime based on service duration in API. 2020-05-03 22:17:31 +02:00
Alex Tselegidis 49f585fea8 Add default timezone value for admin, after during the installation. 2020-05-02 12:49:41 +02:00
Alex Tselegidis 8b34d8086e Make use of the dbprefix configuration option so that query builder calls do not need to explicitly use the database prefix. 2020-04-23 20:48:20 +02:00
Alex Tselegidis 63fe772155 The installation procedure will not use the assets/sql files but execute the migrations instead. 2020-04-23 20:36:43 +02:00
Alex Tselegidis 39956c6b37 Major refactoring and improvements to the application API code. 2020-04-22 21:48:56 +02:00
Alex Tselegidis e2337a354c Corrected the SQL file paths during installation. 2020-04-08 13:35:49 +02:00
Alex Tselegidis 7278f448e6 Load less information in the booking page. 2020-04-08 10:30:27 +02:00
Alex Tselegidis 488860f9fe Corrected call to the appointments model. 2020-04-06 20:40:32 +02:00
Alex Tselegidis 15757852ec Added new setting for toggling the "any provider" option in the booking page (#247). 2020-04-06 20:36:22 +02:00
Alex Tselegidis 653007604f Added pagination in backend pages for faster result loading (#496). 2020-04-06 20:34:32 +02:00
Alex Tselegidis 2d57022a63 The book advance condition must check with the provider's timezone. 2020-03-30 15:42:30 +02:00
Alex Tselegidis 513b0101eb Added new button for applying the global working plan to all providers (#551). 2020-03-29 19:25:23 +02:00
Alex Tselegidis 320ff37de1 Google syncing also supports the provider timezones. 2020-03-29 16:29:07 +02:00
Alex Tselegidis 88bbe06548 The booking zone supports timezones. 2020-03-29 16:20:30 +02:00
Alex Tselegidis 849f83ed03 Backend calendar handling with timezones. 2020-03-29 15:08:07 +02:00
Alex Tselegidis b639318dac All the backend pages have the timezone information. 2020-03-29 14:43:53 +02:00
Alex Tselegidis 2321c3b7fc Token based authentication for the REST API (#610). 2020-03-27 11:02:06 +01:00
Alex Tselegidis fff57ad3f3 Ensure that only valid appointments are being processed. 2020-03-24 18:54:50 +01:00
Alex Tselegidis e1e9a60085 Moved source files to the root directory. 2020-03-11 10:24:25 +01:00