Commit graph

50 commits

Author SHA1 Message Date
alext
baa2e58951 The Appointments API endpoint must only return appointment records and no unavailabilities. 2018-04-13 14:54:50 +02:00
alext
4d6b452dd6 Updated copyright year in file headers. 2018-03-27 09:23:09 +02:00
alext
e013943fde Reformatted code files. 2018-01-23 10:08:37 +01:00
alext
d4c3a68368 Updated the availabilities generation of REST API (fixes #315 and #337). 2018-01-02 12:55:52 +01:00
alext
c3642a10e3 Added support for aggregations in appointments REST API. 2017-12-01 09:12:09 +01:00
alext
c424c0bc6d Reformatted PHP files 2017-09-23 01:30:22 +02:00
alext
36e507adc0 Integrated output class in controllers. 2017-09-20 16:09:01 +02:00
alext
9366089c82 Direct file access must not be permitted. 2017-09-15 13:44:40 +02:00
alext
fcb4b9d5cf Autoformatted php files based on CodeIgniter style guide. 2017-09-15 13:36:37 +02:00
alext
539e753b80 Adjusted phpdoc blocks in controller classes. 2017-09-06 15:22:11 +02:00
alext
2dad4dfc34 Updated copyright year. 2017-01-31 07:35:34 +01:00
alext
6f886d60a5 Removed comments from the end of the files. 2016-12-07 19:45:39 +01:00
alext
388a079834 Renamed Alphanumeric type class to Text. 2016-11-09 19:56:24 +01:00
alext
ed7e40720e Renamed firstname and lastname to firstName and lastName, also made some other corrections. 2016-11-06 18:30:03 +01:00
alextselegidis
ecce8fb1c3 Spelling corrections 2016-10-10 18:29:48 +02:00
alextselegidis
5229ed5767 Renamed engine type classes for PHP7 compatibility (fixes #204). 2016-10-10 17:46:29 +02:00
Alex Tselegidis
8f12b459d0 Integrated the multiple attendants in the availabilities generation (#109). 2016-07-21 22:36:17 +02:00
Alex Tselegidis
d5544d0044 Integrated the availabilities type in the booking wizard and API controller (#185). 2016-07-20 22:06:19 +02:00
Alex Tselegidis
62ce5605ec Removed unnecessary methods from anavailabilities API controller. 2016-07-19 09:54:48 +02:00
Alex Tselegidis
6e40c50fd4 Added availabilities controller to API. 2016-07-19 09:52:32 +02:00
Alex Tselegidis
93b7be06ae Changed Comment 2016-07-10 18:48:25 +02:00
Alex Tselegidis
a9b43ea18d Implemented settings API resource controller and parser. 2016-07-10 16:56:43 +02:00
Alex Tselegidis
b583f444e5 Implemented unavailabilities API resource controller and parser. 2016-07-10 16:26:02 +02:00
Alex Tselegidis
e2817957be Implemented categories API resource controller and parser. 2016-07-10 16:13:12 +02:00
Alex Tselegidis
623eb32d67 Implemented secretaries API resource controller and parser. 2016-07-10 16:01:49 +02:00
Alex Tselegidis
655c400750 Implemented admins API resource controller and parser. 2016-07-10 15:53:22 +02:00
Alex Tselegidis
0bd1da56e1 Implemented providers API resource controller and parser. 2016-07-10 14:17:29 +02:00
Alex Tselegidis
b56c3495f9 Updated delete messages in other API controllers. 2016-07-10 13:24:05 +02:00
Alex Tselegidis
d8c5eae39f Implemented the services API resource controller. 2016-07-10 13:23:04 +02:00
Alex Tselegidis
97e1b670ed Removed unnecessary docblocks. 2016-07-10 13:05:54 +02:00
Alex Tselegidis
0a8e70f2ec Updated appointments API resource controller with the newest helper methods. 2016-07-10 13:00:42 +02:00
Alex Tselegidis
c39c7c3df2 Implemented customers API resource controller. 2016-07-10 13:00:07 +02:00
Alex Tselegidis
ba4aa48e47 Added new method for returning common 404 exceptions. 2016-07-10 12:59:04 +02:00
Alex Tselegidis
eed53d44cd Changed the 'singleEntry' response method in order to avoid writing the ID condition in every API controller. 2016-07-10 11:38:22 +02:00
Alex Tselegidis
ff558f99c4 Added new Request class for handling the common request operations. 2016-07-10 11:12:16 +02:00
Alex Tselegidis
bfc96409bc Implemented the DELETE method and corrected not-found exceptions for GET and PUT. 2016-07-09 22:07:26 +02:00
Alex Tselegidis
4c1ec9ea2f Implemented the PUT method of appointments resource. 2016-07-09 22:01:03 +02:00
Alex Tselegidis
a40bb1ae4c Implemented the POST method of the appointments resource. 2016-07-09 21:53:28 +02:00
Alex Tselegidis
de4bc1217a Added API method for getting a single appointment. 2016-07-09 21:11:33 +02:00
Alex Tselegidis
02ac330b3b Corrected exception handling, the app must stop the execution and through the exception response. 2016-07-09 13:19:07 +02:00
Alex Tselegidis
523f4a3e76 Moved the response operations into their own namespace 'Processors' and bundled up the appointments GET request. 2016-07-09 13:14:08 +02:00
Alex Tselegidis
512d56b7ea Corrected API authorization procedure. 2016-07-09 12:24:52 +02:00
Alex Tselegidis
57f5f70448 The API_V1_Controller will request authentication. 2016-07-09 11:17:39 +02:00
Alex Tselegidis
73c8728182 Added unavailabilities resource to the app. 2016-07-09 07:47:01 +02:00
Alex Tselegidis
d31535627b Updated docblock namespace. 2016-07-08 21:26:52 +02:00
Alex Tselegidis
f669f86294 Added initial controller files for all API resources. 2016-07-08 21:23:03 +02:00
Alex Tselegidis
cf0cbaf75c Added template content for API resource controllers. 2016-07-08 21:17:06 +02:00
Alex Tselegidis
ac7d877411 Created parent API controller class. 2016-07-08 21:14:38 +02:00
Alex Tselegidis
550cee6765 Added v1 for first version controllers. 2016-07-07 22:05:10 +02:00
Alex Tselegidis
52f592c027 Created new controllers directory for the API. 2016-07-06 22:12:21 +02:00