Commit graph

46 commits

Author SHA1 Message Date
Alex Tselegidis
54529a2f14 Add support for PHP 8.4 (#1640) 2024-12-19 20:13:55 +02:00
Alex Tselegidis
5967864e4a Finalize the LDAP integration and complete SSO support in the login page (#128) 2024-05-13 23:37:00 +02:00
Alex Tselegidis
1fbe17aade Define get/set methods for related model resources (provider, secretary, admin users) 2024-05-11 17:03:54 +02:00
Alex Tselegidis
86cd5f2285 Add return types to all class methods 2024-04-26 16:36:21 +02:00
Alex Tselegidis
edb5458f54 Ensure user records always have salt value 2024-01-12 13:07:43 +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
c8a9e2c24b Enable prettier for php and reformat the entire application directory 2023-11-29 10:24:09 +01: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
2b552c4535 Resolve various PHP inspection issues 2023-03-13 09:06:18 +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
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
cb410f739d Merge unset statements wherever possible 2022-03-25 12:46:49 +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
54e4c208a3 Update the project subtitle. 2022-01-18 13:05:42 +01:00
Alex Tselegidis
a090b2eba9 Updated the file banner info 2021-12-18 17:44:07 +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
b4f903e724 Various fixes and additions to the model classes 2021-11-06 15:02:40 +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
d1b78397ef Type casting for the Admins_model.php 2021-10-29 12:38:41 +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
5f2e5f1d28 Updated the admins model class. 2021-10-27 10:03:52 +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
0631dbadf9 Fixed the validate_username model method. 2020-12-08 11:00:31 +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
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
532548d64d Proper use of the property phpdoc tag 2020-09-23 13:16:37 +03:00
Alex Tselegidis
6c1af6dc71 Removed data structure comment from models. 2020-09-07 13:35:28 +03:00
Alex Tselegidis
6578b32dc8 Removed hardcoded use of the database prefix. 2020-05-02 12:51:06 +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
39956c6b37 Major refactoring and improvements to the application API code. 2020-04-22 21:48:56 +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
e1e9a60085 Moved source files to the root directory. 2020-03-11 10:24:25 +01:00
Renamed from src/application/models/Admins_model.php (Browse further)