Commit graph

656 commits

Author SHA1 Message Date
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
00203789bc Replaced empty function with comparison to null because 'false' values are counted as empty. 2016-07-10 15:53:04 +02:00
Alex Tselegidis
0bd1da56e1 Implemented providers API resource controller and parser. 2016-07-10 14:17:29 +02:00
Alex Tselegidis
f3df54fd1a The minimize processor will trim the whitespaces from the 'fields' parameter value. 2016-07-10 14:01:25 +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
17e74d80eb The search processor must check for occurences inside strings and not for a complete match. 2016-07-10 13:16:52 +02:00
Alex Tselegidis
6f25d3af17 The processors should not work if the response is empty. 2016-07-10 13:15:14 +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
5f142b0c74 Created customers parser class. 2016-07-10 12:52:21 +02:00
Alex Tselegidis
e75f3e2e83 Corrected pagination processor results. 2016-07-10 12:51:37 +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
6ebe484abd Added dockblock comments to new classes. 2016-07-10 10:59:39 +02:00
Alex Tselegidis
94d805f68a The Appointments parser must cast the ID values into integers. 2016-07-10 10:37:30 +02:00
Alex Tselegidis
f99d729830 Implemented sort processor. 2016-07-10 10:37:11 +02:00
Alex Tselegidis
520b8d75e0 Added comment for skipping filtering processor feature (at least for now). 2016-07-09 23:04:06 +02:00
Alex Tselegidis
43089fede5 Implemented for Sort Processor (work in progress). 2016-07-09 23:03:27 +02:00
Alex Tselegidis
f2e1af7cb4 Implemented search processor. 2016-07-09 22:43:31 +02:00
Alex Tselegidis
4a8111566d Implemented pagination controller. 2016-07-09 22:34:45 +02:00
Alex Tselegidis
4189bcb459 Implemented minimize response processor and updated the ProcessorsInterface. 2016-07-09 22:27:24 +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
013e8ca4fe Created initial files for required classes of the API. 2016-07-09 12:26:13 +02:00
Alex Tselegidis
425c661631 Added custom API exception class. 2016-07-09 12:25:21 +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
5362c30784 Implemented scalar types for the app. 2016-07-09 11:03:34 +02:00
Alex Tselegidis
64cc62ea9c Implemented Int type. 2016-07-09 10:33:13 +02:00
Alex Tselegidis
ea47793dc3 Corrected EA autoload function. 2016-07-09 10:23:40 +02:00
Alex Tselegidis
1a651fc718 Created base files for value types. 2016-07-09 10:05:33 +02:00
Alex Tselegidis
a1011a67eb Created files for common API operations. 2016-07-09 09:02:25 +02:00
Alex Tselegidis
73c8728182 Added unavailabilities resource to the app. 2016-07-09 07:47:01 +02:00
Alex Tselegidis
a624e53e97 Added engine structure for use in the API. 2016-07-08 21:35:48 +02:00
Alex Tselegidis
ad59ffeb35 Added PSR4 autoload function for the project. 2016-07-08 21:35:07 +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
a33594a17e Added dynamic routes for the API controllers. 2016-07-08 21:13:40 +02:00
Alex Tselegidis
550cee6765 Added v1 for first version controllers. 2016-07-07 22:05:10 +02:00
Alex Tselegidis
2afe0b903b Added route registration for the available resources. 2016-07-07 22:04:51 +02:00
Alex Tselegidis
39b79d8824 Added sample API routes into the project (will be updated soon). 2016-07-06 22:12:48 +02:00
Alex Tselegidis
52f592c027 Created new controllers directory for the API. 2016-07-06 22:12:21 +02:00
Alex Tselegidis
95353e3df1 Added new project directories. 2016-07-06 22:09:12 +02:00
Alex Tselegidis
b9e24f7baf Due to jquery ui datepicker issue the unavailable dates will be greyed out manually by adding the required classes. 2016-06-29 21:25:57 +02:00
Alex Tselegidis
0522186a4e Added missing event parameter. 2016-06-29 20:38:34 +02:00
Alex Tselegidis
399f0c8aec Merge branch 'walalm-master' into develop 2016-06-12 19:23:19 +02:00
Waldy Almonte
a579ac6a70 Update translations_lang.php
Corrected the terms Doctor, Patient, and Appointment for the correct spanish term as suggested by Alex
2016-06-11 19:27:59 -04:00
Waldy Almonte
fa43451953 Update translations_lang.php
Corrected doctors instead providers, and the appointment term to the correct word in spanish
2016-06-11 19:25:10 -04:00
Waldy Almonte
a809aad15b Update translations_lang.php
Updated the spanish language and added the correct finish for accents in html code.
2016-06-10 16:10:18 -04:00
Alex Tselegidis
74b21285ef Merge branch 'patch-1' of https://github.com/dbboling/easyappointments into dbboling-patch-1 2016-06-07 21:42:29 +02:00
Darrien Boling
be96e2b1d8 Update translations_lang.php
"Unfortunately" was misspelled (line 271)
2016-06-07 11:10:44 -07:00
calvinturbo
51c1a9b628 Improved Dutch translations
Improved front-end Dutch translations, made it more natural language
2016-05-28 16:52:51 +02:00
Alex Tselegidis
1a8eccbb35 Refactored the backend-page css components. 2016-05-20 09:08:41 +02:00
Alex Tselegidis
060d4c9826 Corrected exception message. 2016-05-20 08:38:32 +02:00
Alex Tselegidis
6432998dad Enhancements in the backend_calendar.js comments and code. 2016-05-15 13:05:28 +02:00
Alex Tselegidis
5532b13bf4 Enhancements in the backend_categories_helper.js comments. 2016-05-15 12:20:37 +02:00
Alex Tselegidis
8856f2d89f Enhancements in the backend_customers_helper.js comments. 2016-05-15 12:17:12 +02:00
Alex Tselegidis
9aab156b69 Enhancements in the backend_customers.js comments. 2016-05-15 12:13:56 +02:00
Alex Tselegidis
4efa760bdd Enhancements in the backend_services_helper.js comments. 2016-05-15 12:12:56 +02:00
Alex Tselegidis
b88fd19912 Enhancements in the backend_settings.js services. 2016-05-15 12:09:13 +02:00
Alex Tselegidis
6540335e0a Enhancements in the backend_settings_system.js comments. 2016-05-14 12:53:11 +02:00
Alex Tselegidis
628e208804 Enhancements in the backend_settings_user.js comments. 2016-05-14 12:52:08 +02:00
Alex Tselegidis
32c39a02a1 Enhancements in the backend_settings.js comments. 2016-05-14 12:51:12 +02:00
Alex Tselegidis
c3b7ea9383 Enhancements in the backend_users_admins.js comments. 2016-05-14 12:49:35 +02:00
Alex Tselegidis
d3b59256fb Enhancements in the backend_users_providers.js comments. 2016-05-14 12:47:39 +02:00
Alex Tselegidis
17d3eaac3b Enhancements in the backend_users_secretaries.js comments. 2016-05-14 12:44:28 +02:00
Alex Tselegidis
5ddebb9233 Enhancements in the backend_users.js comments. 2016-05-14 12:40:11 +02:00
Alex Tselegidis
8dedc3368a Enhancements in the backend.js comments. 2016-05-14 12:38:25 +02:00
Alex Tselegidis
482a863a98 Enhancements in the working_plan.js comments. 2016-05-14 12:28:42 +02:00
Alex Tselegidis
1fecef4cff Enhancements in the installation.js comments. 2016-05-14 12:26:08 +02:00
Alex Tselegidis
bb87fb51bd Enhancements in the general_functions.js comments. 2016-05-14 12:25:20 +02:00
Alex Tselegidis
9451637484 Enhancements in the fronted_book_success.js comments. 2016-05-14 12:16:11 +02:00
Alex Tselegidis
94a66cffad Enhancements in the fronted_book_api.js comments. 2016-05-14 12:09:21 +02:00
Alex Tselegidis
90bcd361da Enhancements in the fronted_book.js comments. 2016-05-14 12:07:16 +02:00
Alex Tselegidis
5da94d88a6 Merge branch 'emanwebdev-patch-4' into develop 2016-05-14 11:36:28 +02:00
Alex Tselegidis
d7831fc9fa Corrected updateConfirmFrame method definition. 2016-05-14 11:36:17 +02:00
Emmanuel
23836e8ad8 Minor language improvements 2016-05-12 15:40:58 +02:00
Alex Tselegidis
f228410c36 Moved part of the frontend_book.js to frontend_book_api.js 2016-04-27 21:57:11 +02:00
Alex Tselegidis
48323163d8 Added new application/core directory from CodeIgniter v3 2016-04-27 08:23:19 +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
e3eede1745 Refactored the frontend_book.js 2016-04-26 21:51:16 +02:00
Alex Tselegidis
ebfd04172c Merge branch 'develop' of https://github.com/alextselegidis/easyappointments into develop 2016-04-26 21:34:03 +02:00
Alex Tselegidis
c4224ff76f Made changes to the users.php 2016-04-26 21:33:44 +02:00
Alex Tselegidis
bcc205522e Refactored the backend/users js files. 2016-04-26 21:33:30 +02:00
Alex Tselegidis
382acd119c Refactored working_plan.js 2016-04-26 19:45:17 +02:00
Alex Tselegidis
3f8fd91714 Commited current refactoring state of working_plan.js (not finished yet). 2016-04-24 19:28:33 +02:00
Alex Tselegidis
edc97e771e Refactored the installation.js file. 2016-04-24 19:13:39 +02:00
Alex Tselegidis
c85d89c5ee Refactored the general_functions.js file. 2016-04-24 19:09:33 +02:00
Alex Tselegidis
d1a0aa02fd Refactored the backend.js module. 2016-04-24 18:58:35 +02:00
Alex Tselegidis
fb5e4aa20e Merge branch 'feature-update-codeigniter' into develop 2016-04-24 18:39:18 +02:00
Alex Tselegidis
6756de80c4 Removed 'ea' prefix from internal configuration parameters. 2016-04-24 18:29:58 +02:00
Alex Tselegidis
5dc051626a Moved the application/errors directory to application/views/errors. 2016-04-24 18:14:32 +02:00
Alex Tselegidis
be736e2c5c Corrected equation symbol alignment. 2016-04-24 18:06:11 +02:00
Alex Tselegidis
18ce8fb83d Renamed variable to . 2016-04-24 18:05:45 +02:00
Alex Tselegidis
528fa89400 Renamed session variables to the CIv3 equivalents. 2016-04-24 18:03:21 +02:00
Alex Tselegidis
448a87e693 Updated the application/config/mimes.php to CI v3. 2016-04-24 17:51:59 +02:00
Alex Tselegidis
840fe915eb Renamed the class filenames to Ucfirst. 2016-04-24 17:50:35 +02:00
Alex Tselegidis
67129e115d Replaced the system directory and index.php file with the ones from CodeIgniter v3 2016-04-24 10:50:47 +02:00
Alex Tselegidis
8f34455873 Added the scripts in the bottom of book.php 2016-04-24 10:36:06 +02:00
Alex Tselegidis
aae60c8b4e Regenerated the third_party libraries. 2016-04-24 10:24:16 +02:00
Alex Tselegidis
967021acf7 Refactored the backend_settings.js module. 2016-04-13 19:54:56 +02:00
Alex Tselegidis
6deba85a36 Updated version 1.2 and the dev label in config.php. 2016-04-13 19:52:23 +02:00
Alex Tselegidis
a271ce08cf Refactored the backend_services.js module 2016-04-02 15:36:55 +02:00
Alex Tselegidis
8ecdd7b4a2 Moved part of the backend_customers.js functionality to the backend_customers_helper.js 2016-04-02 14:59:31 +02:00
Alex Tselegidis
00543996ef Refactored the backend_customers.js file. 2016-04-02 14:58:21 +02:00
Alex Tselegidis
d4d605bfd3 Refactored the backend_calendar.js file. 2016-04-02 12:25:29 +02:00
Alex Tselegidis
5ad3041c2c Removed console.log calls from the javascript files. 2016-04-02 12:02:17 +02:00
Alex Tselegidis
cf6e635aad Implements #142: Grey out unavailable calendar dates 2016-03-31 20:08:21 +02:00
Alex Tselegidis
3495295211 Minor modifications to the pull request changes of backend_calendar.js 2016-03-22 22:45:02 +01:00
Alex Tselegidis
5161a8b4bb Corrected the sticky footer issue. 2016-03-22 22:36:48 +01: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
d6c4e4cf75 Removed comments on js file 2016-03-10 15:47:22 -03:00
h3ct0r
2eb63a21d1 Appointment modal in backend now search clients using the ajax filter.
This allow using the most recent clients without refreshing the main page.
2016-03-10 15:45:17 -03: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
79a77401d0 Replaced hard-coded url with site_url method. 2016-03-07 21:01:39 +01:00
Alex Tselegidis
29effc24bf Merge branch 'thijslemmens-master' into develop 2016-03-07 20:59:27 +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
02e4d36824 Merge branch 'i18n-french' of https://github.com/emanwebdev/easyappointments into emanwebdev-i18n-french 2016-03-07 20:31:45 +01:00
Thijs Lemmens
13698d8726 Use the site_url function instead of the index.php link 2016-03-05 21:09:40 +01:00
Thijs Lemmens
89aaaa7c55 Fixed Dutch translation 2016-03-03 20:06:26 +01:00
Emmanuel
3ef93660c5 Couple of improvements 2016-03-01 15:23:24 +01:00
Alex Tselegidis
972ea430b1 Merge remote-tracking branch 'pr124/patch-1' into develop 2016-02-21 19:50:38 +01:00
Emmanuel
61ae9b25ee Fixed wrong save/delete translations + improvements 2016-02-19 11:16:38 +01:00
Alex Tselegidis
df0d81f68c Fixes #121: Replaced the 'validateEmail' validation with a RFC822 regex expression. 2016-02-15 22:19:04 +01:00
Alex Tselegidis
e243a7b16c Merge branch 'release-1.1.1' into develop 2016-02-14 14:28:27 +01:00
Alex Tselegidis
d3e86800b5 Corrected the class that needed to be removed from the sync-button after the user disables the syncing. 2016-02-14 14:08:51 +01:00
Alex Tselegidis
77d7d02ea2 Removed the 'Beta' label of v1.1.1. 2016-02-14 14:05:50 +01:00
Alex Tselegidis
8f52705ebe Added the 'Beta' label to v1.1.1 release. 2016-02-07 15:54:23 +01:00
Alex Tselegidis
3bed331a1f Fixes #120 - Invalid appointment date set after editing an existing appointment. 2016-02-07 15:52:27 +01:00
Alex Tselegidis
a669a83cce Increased the E\!A version in the config file for v1.1.1 2016-02-07 15:29:54 +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
Emmanuel
f3de3746da Update translations_lang.php 2016-01-25 15:07:15 +01:00
Alex Tselegidis
a3d12cd04e Corrected message styling class for the forgot_password.php page. 2016-01-24 17:38:02 +01:00
Alex Tselegidis
5654dd46cf Removed the 'Beta' label from config. 2016-01-24 16:32:56 +01:00
Alex Tselegidis
b1e5296d1d Added fallback check for the configuration language. 2016-01-24 15:46:25 +01:00
Alex Tselegidis
181595d8bd Corrected selectors for backend appointment & unavailable modals. 2016-01-24 15:40:06 +01:00
Alex Tselegidis
b69ad58853 Refactored the language config setting. 2016-01-21 20:04:55 +01:00
Alex Tselegidis
728c740173 Merge remote-tracking branch 'lang/master' into release-1.1 2016-01-21 19:56:26 +01:00