Commit graph

156 commits

Author SHA1 Message Date
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
Alex Tselegidis
8461c0dca4 Refactor PHP controllers and models (use of protected members and corrections in docblock comments). 2016-04-27 08:21:40 +02:00
Alex Tselegidis
840fe915eb Renamed the class filenames to Ucfirst. 2016-04-24 17:50:35 +02:00
Alex Tselegidis
cf6e635aad Implements #142: Grey out unavailable calendar dates 2016-03-31 20:08:21 +02:00
Alex Tselegidis
2c3deeeb89 Merge branch 'master' of https://github.com/h3ct0r/easyappointments into h3ct0r-develop 2016-03-22 22:18:55 +01:00
h3ct0r
1c4ab83d32 Fixed css bug; Added support for case insensitive search for clients and search by notes too! 2016-03-10 12:55:00 -03:00
Alex Tselegidis
0bb0171738 Replaced the config base_url value with the base_url() function of the URL helper. 2016-03-07 21:19:55 +01:00
Alex Tselegidis
635380512d Converted all the hard-coded urls to site_url() function calls. 2016-03-07 20:59:04 +01:00
Alex Tselegidis
bdccb642aa Fixes #118 - Added filter_var method for boolean values normalization. 2016-02-06 01:05:11 +01:00
Alex Tselegidis
1027bbc8f7 Fixes #116: the book timeout would not be taken into account in the available appointment hours calculation. 2016-01-31 13:49:41 +01:00
Alex Tselegidis
c06f3def14 Added google analytics code to extra frontend pages like book_success, message, error404. 2016-01-17 13:10:48 +01:00
Alex Tselegidis
636f399c91 Fixes #100 - Casted the is_unavailable value to an integer. 2016-01-09 22:22:01 +01:00
Alex Tselegidis
86644cfa9c Updated the copyright date. 2016-01-02 14:47:04 +01:00
Alex Tselegidis
f88c6cb898 Sometimes captcha generates an error if the session is accessed after there is some output in the response. From now on the captcha phrase will be saved first and then there will be the image output. 2016-01-01 20:34:42 +01:00
Alex Tselegidis
0b43e4d918 Changed the CAPTCHA failure display (added input hint below the captcha input). 2016-01-01 20:18:03 +01:00
Alex Tselegidis
e69f7ca634 Add sample service and provider after the installation completes successfully. 2016-01-01 16:45:01 +01:00
Alex Tselegidis
0dc88a85a9 Refactored the get_available_providers method. 2016-01-01 15:52:43 +01:00
Alex Tselegidis
655f068a8d Integrated CAPTCHA setting within the booking wizard. 2015-12-30 12:54:33 +01:00
Alex Tselegidis
af976440f8 Minor code format corrections. 2015-12-30 12:02:14 +01:00
Alex Tselegidis
18a4603072 The 'any-provider' option will select the provider with the most free time instead of the first available one. 2015-12-30 11:44:42 +01:00
Alex Tselegidis
de872cfc36 Corrected error if there is no provider or service to select. 2015-12-10 23:29:15 +01:00
Alex Tselegidis
c60a0feeaf Added the dateFormat value to the GlobalVariables of every backend page. 2015-12-01 23:39:31 +01:00
Alex Tselegidis
284abdfd54 Added date dynamic date format to booking wizard. 2015-12-01 23:25:59 +01:00