Alex Tselegidis
|
2b552c4535
|
Resolve various PHP inspection issues
|
2023-03-13 09:06:18 +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
|
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
|
b62e458258
|
Change the "value" method signature
|
2023-01-14 09:39:14 +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
|
8c91c86508
|
Do not take deleted records into concern
|
2022-11-30 11:22:48 +01: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
|
6d413ffdfc
|
Unset the "password" and "salt" parameter when getting a user or a provider
|
2022-10-03 17:06:01 +03:00 |
|
Alex Tselegidis
|
7b5f4d014a
|
Group conditions in order to avoid querying removed records accidentally.
|
2022-07-07 15:27:18 +02:00 |
|
Alex Tselegidis
|
658ac78d8f
|
Replace the default exception classes with more specific ones
|
2022-06-20 12:31:11 +03:00 |
|
Alex Tselegidis
|
0d5e60cdb7
|
Add support for dynamic webhook definition in the settings page (#581)
|
2022-06-20 12:12:36 +03:00 |
|
Alex Tselegidis
|
353a13fa38
|
Soft-Delete customer appointments when deleting a customer.
|
2022-05-10 14:40:19 +02:00 |
|
Alex Tselegidis
|
6b738a1ea5
|
Check only in the non-deleted customers, when validating the email address (#1246)
|
2022-05-10 14:28:56 +02:00 |
|
Alex Tselegidis
|
cb410f739d
|
Merge unset statements wherever possible
|
2022-03-25 12:46:49 +01:00 |
|
Alex Tselegidis
|
afe21e3960
|
Set the create_datetime value when creating a new consent
|
2022-03-25 12:43:23 +01:00 |
|
Alex Tselegidis
|
3d71f019e2
|
Add missing parameter to Secretaries_model.php
|
2022-02-10 20:54:27 +01:00 |
|
Alex Tselegidis
|
ccc503e618
|
Touch the new timestamp fields on insert/update.
|
2022-01-24 23:42:13 +01:00 |
|
Alex Tselegidis
|
2c203ae1aa
|
Add support for soft appointment, service, customer and provider removals (#1115).
|
2022-01-24 23:32:42 +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
|
25f533df39
|
The service and appointment models support color API encoding/decoding.
|
2022-01-18 18:22:24 +01:00 |
|
Alex Tselegidis
|
a762a37d7b
|
Fix working plan save and delete methods.
|
2022-01-18 15:50:38 +01:00 |
|
Alex Tselegidis
|
54e4c208a3
|
Update the project subtitle.
|
2022-01-18 13:05:42 +01:00 |
|
Alex Tselegidis
|
09775d25d5
|
Rename all "unavailable" occurrences to "unavailability" for consistency.
|
2022-01-18 12:54:41 +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
|
bd9b5f196a
|
Customer model will honor the display/require settings
|
2021-12-20 09:38:51 +01:00 |
|
Alex Tselegidis
|
f58d3b142b
|
The user model can validate usernames
|
2021-12-18 18:55:42 +01:00 |
|
Alex Tselegidis
|
a090b2eba9
|
Updated the file banner info
|
2021-12-18 17:44:07 +01:00 |
|
Alex Tselegidis
|
568ff9be2e
|
Renamed the service category resource to just category
|
2021-12-15 08:00:48 +01:00 |
|
Alex Tselegidis
|
73bc0659cd
|
Corrected the database table name
|
2021-11-24 08:33:27 +01:00 |
|
alextselegidis
|
81b93fc17d
|
The set setting may also get int and bool values
|
2021-11-17 08:46:48 +01:00 |
|
Alex Tselegidis
|
54e86795d5
|
Minor comment changes for consistency
|
2021-11-06 16:21:27 +01:00 |
|
Alex Tselegidis
|
c68565e2c3
|
Renamed the attached method to load for all models
|
2021-11-06 15:40:55 +01:00 |
|
Alex Tselegidis
|
bd8144f7cb
|
Make sure the attach method works with API properties
|
2021-11-06 15:34:35 +01:00 |
|
Alex Tselegidis
|
89b9c802a2
|
Unavailabilities can only attach a provider record
|
2021-11-06 15:21:11 +01:00 |
|
Alex Tselegidis
|
b4f903e724
|
Various fixes and additions to the model classes
|
2021-11-06 15:02:40 +01:00 |
|
Alex Tselegidis
|
c7bb9d3a47
|
Added new Unavailabilities_model.php to enable handling such records as an independent resource
|
2021-11-06 14:55:36 +01:00 |
|
Alex Tselegidis
|
ba77658551
|
Ported the api parser encode and decode into the model classes
|
2021-11-05 09:37:14 +01:00 |
|
Alex Tselegidis
|
3c5be0d12b
|
The set setting method could also get a NULL value
|
2021-11-05 08:28:59 +01:00 |
|
Alex Tselegidis
|
6eaa6e52a5
|
Added API resource mapping
|
2021-11-03 08:21:03 +01:00 |
|
Alex Tselegidis
|
4c6c5b5913
|
Remove the old and deprecated API_V1_Controller.php
|
2021-11-02 10:45:05 +01:00 |
|
Alex Tselegidis
|
182cebfb74
|
Renamed the add_unavailable method to save_unavailable for consistency
|
2021-10-29 13:12:39 +02:00 |
|
Alex Tselegidis
|
e29c2198de
|
Removed the delete_unavailable method
|
2021-10-29 13:11:56 +02:00 |
|
Alex Tselegidis
|
8b02cbb369
|
Added missing type hints for method params
|
2021-10-29 13:10:54 +02:00 |
|
Alex Tselegidis
|
b7305be038
|
Type casting for the Users_model.php
|
2021-10-29 12:39:38 +02:00 |
|
Alex Tselegidis
|
d62dd9b053
|
Type casting for the Settings_model.php
|
2021-10-29 12:39:32 +02:00 |
|
Alex Tselegidis
|
83777d35ba
|
Type casting for the Services_model.php
|
2021-10-29 12:39:27 +02:00 |
|
Alex Tselegidis
|
791f1e38e4
|
Type casting for the Service_categories_model.php
|
2021-10-29 12:39:20 +02:00 |
|
Alex Tselegidis
|
879b58ad6a
|
Type casting for the Secretaries_model.php
|
2021-10-29 12:39:14 +02:00 |
|
Alex Tselegidis
|
23cdaa2c6b
|
Type casting for the Roles_model.php
|
2021-10-29 12:39:08 +02:00 |
|
Alex Tselegidis
|
e0dbdeccfc
|
Type casting for the Providers_model.php
|
2021-10-29 12:39:02 +02:00 |
|
Alex Tselegidis
|
9338ec4445
|
Type casting for the Customers_model.php
|
2021-10-29 12:38:56 +02:00 |
|
Alex Tselegidis
|
6cc17d7bf5
|
Type casting for the Consents_model.php
|
2021-10-29 12:38:49 +02:00 |
|
Alex Tselegidis
|
d1b78397ef
|
Type casting for the Admins_model.php
|
2021-10-29 12:38:41 +02:00 |
|
Alex Tselegidis
|
64205cb23b
|
Type casting for the Appointments_model.php
|
2021-10-29 12:38:30 +02:00 |
|
Alex Tselegidis
|
5e4bf0bd22
|
Corrected variable and table name
|
2021-10-28 13:51:46 +02:00 |
|
Alex Tselegidis
|
18e89e1ba4
|
Minor formatting change
|
2021-10-28 13:27:47 +02:00 |
|
Alex Tselegidis
|
4671055a52
|
Corrected typo on get customer role ID method
|
2021-10-28 13:26:31 +02:00 |
|
Alex Tselegidis
|
0aaff2eae1
|
Removed manual helper loading
|
2021-10-27 12:05:28 +02:00 |
|
Alex Tselegidis
|
4bec35d70c
|
Removed the : void return typehint
|
2021-10-27 10:49:42 +02:00 |
|
Alex Tselegidis
|
85ac86caae
|
Updated class comment
|
2021-10-27 10:46:32 +02:00 |
|
Alex Tselegidis
|
97c7a2821d
|
Created the users model class.
|
2021-10-27 10:05:43 +02:00 |
|
Alex Tselegidis
|
de4c232488
|
Migrated the user model logic into the accounts library
|
2021-10-27 10:05:26 +02:00 |
|
Alex Tselegidis
|
d914a52c02
|
Created the service categories model class.
|
2021-10-27 10:04:59 +02:00 |
|
Alex Tselegidis
|
65282bc5a2
|
Updated the settings model class.
|
2021-10-27 10:04:48 +02:00 |
|
Alex Tselegidis
|
175b6a9ffe
|
Updated the services model class.
|
2021-10-27 10:04:42 +02:00 |
|
Alex Tselegidis
|
8022ab28af
|
Updated the secretaries model class.
|
2021-10-27 10:04:35 +02:00 |
|
Alex Tselegidis
|
a4cd74863b
|
Updated the roles model class.
|
2021-10-27 10:04:28 +02:00 |
|
Alex Tselegidis
|
beeb821f8a
|
Updated the providers model class.
|
2021-10-27 10:04:21 +02:00 |
|
Alex Tselegidis
|
024479e5c6
|
Updated the customers model class.
|
2021-10-27 10:04:15 +02:00 |
|
Alex Tselegidis
|
07925c58ef
|
Updated the consents model class.
|
2021-10-27 10:04:09 +02:00 |
|
Alex Tselegidis
|
a72a33abb1
|
Updated the appointments model class.
|
2021-10-27 10:04:01 +02:00 |
|
Alex Tselegidis
|
5f2e5f1d28
|
Updated the admins model class.
|
2021-10-27 10:03:52 +02:00 |
|
Alex Tselegidis
|
591de3d35f
|
Corrected model comments
|
2021-08-24 16:01:17 +03:00 |
|
Alex Tselegidis
|
76672db959
|
Make sure that the duration of a service does not become less than the minimum acceptable value as otherwise it will make problems with the availability generation
|
2021-03-25 11:32:10 +01:00 |
|
Alex Tselegidis
|
120421b3af
|
Replaced the generation of the appointment hash with the use of CodeIgniter's random_string method, in order to avoid collisions (#986).
|
2021-01-21 14:10:13 +01: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
|
2dc5439b5d
|
The password must be provided when creating a new user (#954)
|
2020-12-11 21:18:33 +02:00 |
|
Alex Tselegidis
|
3381b998a1
|
Check for other services when calculating multiple attendants number availability (#948).
|
2020-12-11 12:44:29 +02:00 |
|
Alex Tselegidis
|
bde91f5a14
|
Ensure that multiple attendant services can be modified with proper availability.
|
2020-12-09 15:32:39 +02:00 |
|
Alex Tselegidis
|
0631dbadf9
|
Fixed the validate_username model method.
|
2020-12-08 11:00:31 +02:00 |
|
Alex Tselegidis
|
228235fa26
|
Corrected argument order
|
2020-12-07 22:56:37 +02:00 |
|
Alex Tselegidis
|
843a476d0b
|
The get_value method check the existence of a property with array_key_exists
|
2020-12-05 11:43:38 +02:00 |
|
Alex Tselegidis
|
9c3d253456
|
Code enhancements in the model classes
|
2020-12-05 11:38:57 +02:00 |
|
Alex Tselegidis
|
46d604f5e6
|
Applied consistent code style to the engine class files.
|
2020-11-16 11:55:34 +02:00 |
|
Alex Tselegidis
|
6f8e971673
|
Ensure working plan exceptions will not be NULL before being used (#926).
|
2020-11-16 10:43:25 +02:00 |
|
Alex Tselegidis
|
a48324be08
|
Minor changes to the model classes
|
2020-11-16 10:41:04 +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
|
6e66eb4fd8
|
Consistent module naming throughout the app
|
2020-11-16 10:16:00 +02:00 |
|
Alex Tselegidis
|
39c8ec9068
|
Groupped load commands in model constructor methods
|
2020-11-12 14:51:10 +02:00 |
|
Alex Tselegidis
|
0e6fdebe0f
|
Completed the working plan exceptions feature.
|
2020-10-20 16:05:00 +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
|
10df66fddb
|
The "created" and "modified" consent fields are date time and they need a proper date time value
|
2020-09-23 13:36:24 +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
|
30eb95461a
|
Improvements and fixes on the custom availability feature
|
2020-09-23 12:24:42 +03:00 |
|
Alex Tselegidis
|
6c1af6dc71
|
Removed data structure comment from models.
|
2020-09-07 13:35:28 +03:00 |
|