Commit graph

496 commits

Author SHA1 Message Date
alextselegidis
2068f70840 Moved the modal view files to a new modals directory 2021-11-09 08:47:09 +01:00
alextselegidis
fb92fa1832 Updated the meta html tag of the view files 2021-11-09 08:44:37 +01:00
alextselegidis
6c356aec50 Added new functions to the render helper that render the global variables and EALang scripts into a view file 2021-11-09 08:40:20 +01:00
alextselegidis
6d567a74a4 Added new layout method to the loader 2021-11-09 08:39:30 +01:00
alextselegidis
cd9a92bed9 Removed the polyfill scripts as it is no longer needed. 2021-11-09 08:11:33 +01:00
Alex Tselegidis
f371177fb6 Updated the vendor script paths in the view files 2021-11-08 10:57:03 +01:00
Alex Tselegidis
f41547b77d Method could also return null and not always an int 2021-11-08 10:44:36 +01:00
Alex Tselegidis
85bd7b9b38 Renamed attach to load in Backend_api.php 2021-11-06 17:14:57 +01:00
Alex Tselegidis
331aa8c174 Moved the old BASE URL to the app configuration for use in mails etc where a public facing URL is required 2021-11-06 17:11:09 +01:00
Alex Tselegidis
1c88a2f987 The app will now automatically detect the BASE URL based on the current request. 2021-11-06 17:07:03 +01:00
Alex Tselegidis
4a696fc992 Changed the develop state version 2021-11-06 16:54:34 +01:00
Alex Tselegidis
5f211f3cf1 Updated comment 2021-11-06 16:53:57 +01:00
Alex Tselegidis
356629fab6 Minor formatting 2021-11-06 16:52:52 +01:00
Alex Tselegidis
3e1381c302 Moved the app related config in a new app.php config file 2021-11-06 16:52:46 +01:00
Alex Tselegidis
a20f2e9e33 Corrected the login HTTP callback 2021-11-06 16:51:36 +01:00
Alex Tselegidis
54e86795d5 Minor comment changes for consistency 2021-11-06 16:21:27 +01:00
Alex Tselegidis
245fc43ec1 Replaced the old engine class use with the new Email_messages library 2021-11-06 16:11:55 +01:00
Alex Tselegidis
130adf88c3 Created new email messages library (ported the deprecated engine email class) 2021-11-06 16:11:44 +01:00
Alex Tselegidis
31b452766d Refactored the login controller callback 2021-11-06 16:09:59 +01:00
Alex Tselegidis
e38df7452b Renamed the attach query paramter of API controllers to with 2021-11-06 15:41:11 +01:00
Alex Tselegidis
c68565e2c3 Renamed the attached method to load for all models 2021-11-06 15:40:55 +01:00
Alex Tselegidis
f36c49819c Added support for the "attach" query parameter to all API controllers 2021-11-06 15:34:54 +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
bcc9b88623 Added support for upgrading and downgrading manually the database via the CLI 2021-11-06 15:17:03 +01:00
Alex Tselegidis
0a88442aa2 Corrected the settings routing config 2021-11-06 15:04:26 +01:00
Alex Tselegidis
8603a8ae33 Refactored all the API controller classes (and renamed them) to work well on top of the models 2021-11-06 15:03:08 +01:00
Alex Tselegidis
b4f903e724 Various fixes and additions to the model classes 2021-11-06 15:02:40 +01:00
Alex Tselegidis
1883b97630 Fixed API authorization issue 2021-11-06 15:01:17 +01:00
Alex Tselegidis
27c5c3ab35 Replaced the appointments model with the unavailabilities model in the Backend_api.php 2021-11-06 14:56:56 +01:00
Alex Tselegidis
00f54dcfec Added the new Unavailabilities_model @property to EA_Controller.php 2021-11-06 14:56:12 +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
2406eefd39 Added validation to the sort direction value 2021-11-06 13:30:12 +01:00
Alex Tselegidis
01dfdf22f1 Added manual imports so that the migration system works again 2021-11-06 11:15:32 +01:00
Alex Tselegidis
4020e40a25 Corrected settings and availabilities routes 2021-11-06 11:15:15 +01:00
Alex Tselegidis
169b9818a6 Use the new routes helper in the routes.php config file 2021-11-06 10:23:25 +01:00
Alex Tselegidis
308e41bbe1 Autoload the new routes_helper.php file 2021-11-06 10:22:09 +01:00
Alex Tselegidis
3476807b40 Added the routes helper file 2021-11-06 10:18:46 +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
95a4e94a53 The response helper function must properly set the status code and the headers 2021-11-05 08:31:37 +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
afc05577a4 Refactored the admins API controller (no engine code is being used). 2021-11-03 08:38:59 +01:00
Alex Tselegidis
ea659ccb9f The base model knows how to map an API resource field to a DB field. 2021-11-03 08:22:27 +01:00
Alex Tselegidis
c390a6552a Using the request helper without specifying a key should return the entire request body. 2021-11-03 08:22:05 +01:00
Alex Tselegidis
10ee3401e4 The API library can correctly sort and set the CORS headers 2021-11-03 08:21:30 +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
7d3bc3104c Created new library that handles common API functionality. 2021-11-02 10:44:37 +01:00
Alex Tselegidis
c2127a28fb Added missing comments 2021-11-02 10:04:46 +01:00
Alex Tselegidis
dc50f8dee1 Updated @since tag 2021-11-02 09:24:28 +01:00