diff --git a/src/application/controllers/appointments.php b/src/application/controllers/appointments.php index 72458163..cd01efa6 100644 --- a/src/application/controllers/appointments.php +++ b/src/application/controllers/appointments.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * Appointments Controller * diff --git a/src/application/controllers/backend.php b/src/application/controllers/backend.php index f6fce948..6113ddc7 100644 --- a/src/application/controllers/backend.php +++ b/src/application/controllers/backend.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * Backend Controller * diff --git a/src/application/controllers/backend_api.php b/src/application/controllers/backend_api.php index b6e2b85b..81da191f 100644 --- a/src/application/controllers/backend_api.php +++ b/src/application/controllers/backend_api.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * Backend API Controller * diff --git a/src/application/controllers/errors.php b/src/application/controllers/errors.php index 3a373edd..0454978c 100644 --- a/src/application/controllers/errors.php +++ b/src/application/controllers/errors.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * Errors Controller * diff --git a/src/application/controllers/google.php b/src/application/controllers/google.php index 45c1c921..71c4f01d 100644 --- a/src/application/controllers/google.php +++ b/src/application/controllers/google.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * Google Controller * diff --git a/src/application/controllers/test.php b/src/application/controllers/test.php index 3886e432..0955690b 100644 --- a/src/application/controllers/test.php +++ b/src/application/controllers/test.php @@ -1,5 +1,15 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ /** * Test Controller diff --git a/src/application/controllers/user.php b/src/application/controllers/user.php index 8567908a..371a26c1 100644 --- a/src/application/controllers/user.php +++ b/src/application/controllers/user.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * User Controller * diff --git a/src/application/libraries/Unit_tests/Unit_tests.php b/src/application/libraries/Unit_tests/Unit_tests.php index 9047a29e..841a1918 100644 --- a/src/application/libraries/Unit_tests/Unit_tests.php +++ b/src/application/libraries/Unit_tests/Unit_tests.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * Unit testing driver. * diff --git a/src/application/libraries/Unit_tests/drivers/Unit_tests_admins_model.php b/src/application/libraries/Unit_tests/drivers/Unit_tests_admins_model.php index 44dc2805..07da8ada 100644 --- a/src/application/libraries/Unit_tests/drivers/Unit_tests_admins_model.php +++ b/src/application/libraries/Unit_tests/drivers/Unit_tests_admins_model.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * Admins Model Unit Tests * diff --git a/src/application/libraries/Unit_tests/drivers/Unit_tests_appointments_model.php b/src/application/libraries/Unit_tests/drivers/Unit_tests_appointments_model.php index 9ce1e552..adc14f7e 100644 --- a/src/application/libraries/Unit_tests/drivers/Unit_tests_appointments_model.php +++ b/src/application/libraries/Unit_tests/drivers/Unit_tests_appointments_model.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * Appointments Model Unit Tests * diff --git a/src/application/libraries/Unit_tests/drivers/Unit_tests_customers_model.php b/src/application/libraries/Unit_tests/drivers/Unit_tests_customers_model.php index 50db2ced..dd3ab55a 100644 --- a/src/application/libraries/Unit_tests/drivers/Unit_tests_customers_model.php +++ b/src/application/libraries/Unit_tests/drivers/Unit_tests_customers_model.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * Customers Model Unit Tests * diff --git a/src/application/libraries/Unit_tests/drivers/Unit_tests_providers_model.php b/src/application/libraries/Unit_tests/drivers/Unit_tests_providers_model.php index 346d9aab..cf9d6006 100644 --- a/src/application/libraries/Unit_tests/drivers/Unit_tests_providers_model.php +++ b/src/application/libraries/Unit_tests/drivers/Unit_tests_providers_model.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * Providers Model Unit Tests * diff --git a/src/application/libraries/Unit_tests/drivers/Unit_tests_secretaries_model.php b/src/application/libraries/Unit_tests/drivers/Unit_tests_secretaries_model.php index 93e94308..0a72efc4 100644 --- a/src/application/libraries/Unit_tests/drivers/Unit_tests_secretaries_model.php +++ b/src/application/libraries/Unit_tests/drivers/Unit_tests_secretaries_model.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * Secretaries Model Unit Tests * diff --git a/src/application/libraries/Unit_tests/drivers/Unit_tests_services_model.php b/src/application/libraries/Unit_tests/drivers/Unit_tests_services_model.php index b551f027..07b44ccd 100644 --- a/src/application/libraries/Unit_tests/drivers/Unit_tests_services_model.php +++ b/src/application/libraries/Unit_tests/drivers/Unit_tests_services_model.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * Services Model Unit Tests * diff --git a/src/application/libraries/Unit_tests/drivers/Unit_tests_settings_model.php b/src/application/libraries/Unit_tests/drivers/Unit_tests_settings_model.php index 6d8ebea3..c24bedd8 100644 --- a/src/application/libraries/Unit_tests/drivers/Unit_tests_settings_model.php +++ b/src/application/libraries/Unit_tests/drivers/Unit_tests_settings_model.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * Settings Model Unit Tests * diff --git a/src/application/libraries/google_sync.php b/src/application/libraries/google_sync.php index dbc71978..ab3fa004 100644 --- a/src/application/libraries/google_sync.php +++ b/src/application/libraries/google_sync.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + // Google API PHP Client is necessary to perform sync operations. require_once __DIR__ . '/external/google-api-php-client/Google_Client.php'; require_once __DIR__ . '/external/google-api-php-client/contrib/Google_CalendarService.php'; diff --git a/src/application/libraries/notifications.php b/src/application/libraries/notifications.php index 07295661..8e081d65 100644 --- a/src/application/libraries/notifications.php +++ b/src/application/libraries/notifications.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + require_once dirname(__FILE__) . '/external/class.phpmailer.php'; /** diff --git a/src/application/migrations/001_specific_calendar_sync.php b/src/application/migrations/001_specific_calendar_sync.php index 262753a5..972e1d8e 100644 --- a/src/application/migrations/001_specific_calendar_sync.php +++ b/src/application/migrations/001_specific_calendar_sync.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + class Migration_Specific_calendar_sync extends CI_Migration { public function up() { diff --git a/src/application/models/admins_model.php b/src/application/models/admins_model.php index cf6e2e58..816948c9 100644 --- a/src/application/models/admins_model.php +++ b/src/application/models/admins_model.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * Admins_Model Class * diff --git a/src/application/models/appointments_model.php b/src/application/models/appointments_model.php index 5b961136..f99fb645 100644 --- a/src/application/models/appointments_model.php +++ b/src/application/models/appointments_model.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * Appointments Model * diff --git a/src/application/models/customers_model.php b/src/application/models/customers_model.php index e0cc7753..fd4d66d5 100644 --- a/src/application/models/customers_model.php +++ b/src/application/models/customers_model.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * Customers Model * diff --git a/src/application/models/providers_model.php b/src/application/models/providers_model.php index 1c55988a..25223313 100644 --- a/src/application/models/providers_model.php +++ b/src/application/models/providers_model.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * Providers_Model Class * diff --git a/src/application/models/roles_model.php b/src/application/models/roles_model.php index fe4d1937..9de65ba7 100644 --- a/src/application/models/roles_model.php +++ b/src/application/models/roles_model.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * Roles Model * diff --git a/src/application/models/secretaries_model.php b/src/application/models/secretaries_model.php index 39054618..412a5767 100644 --- a/src/application/models/secretaries_model.php +++ b/src/application/models/secretaries_model.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * Secretaries Model * diff --git a/src/application/models/services_model.php b/src/application/models/services_model.php index 0353c37c..d2dd295b 100644 --- a/src/application/models/services_model.php +++ b/src/application/models/services_model.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * Services Model * diff --git a/src/application/models/settings_model.php b/src/application/models/settings_model.php index 206d4ba0..f3f95b23 100644 --- a/src/application/models/settings_model.php +++ b/src/application/models/settings_model.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * Settings Model * diff --git a/src/application/models/user_model.php b/src/application/models/user_model.php index f00a74ff..89154114 100644 --- a/src/application/models/user_model.php +++ b/src/application/models/user_model.php @@ -1,5 +1,16 @@ + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * User Model * diff --git a/src/assets/css/backend.css b/src/assets/css/backend.css index ff0a6703..ba7565c7 100644 --- a/src/assets/css/backend.css +++ b/src/assets/css/backend.css @@ -1,3 +1,14 @@ +/* ---------------------------------------------------------------------------- + * Easy!Appointments - Open Source Web Scheduler + * + * @package EasyAppointments + * @author A.Tselegidis + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * BACKEND CSS FILE FOR EASY!APPOINTMENTS */ diff --git a/src/assets/css/general.css b/src/assets/css/general.css index 6f5ff964..3dbea2ad 100644 --- a/src/assets/css/general.css +++ b/src/assets/css/general.css @@ -1,3 +1,14 @@ +/* ---------------------------------------------------------------------------- + * Easy!Appointments - Open Source Web Scheduler + * + * @package EasyAppointments + * @author A.Tselegidis + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + body .custom-qtip { border: 2px solid #AFD8C1; background: #EFFDF6; diff --git a/src/assets/js/backend.js b/src/assets/js/backend.js index f517db8a..3fa68a20 100644 --- a/src/assets/js/backend.js +++ b/src/assets/js/backend.js @@ -1,3 +1,14 @@ +/* ---------------------------------------------------------------------------- + * Easy!Appointments - Open Source Web Scheduler + * + * @package EasyAppointments + * @author A.Tselegidis + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * Main javascript code for the backend of Easy!Appointments. */ diff --git a/src/assets/js/backend_calendar.js b/src/assets/js/backend_calendar.js index 49d45613..a31b83ed 100644 --- a/src/assets/js/backend_calendar.js +++ b/src/assets/js/backend_calendar.js @@ -1,3 +1,14 @@ +/* ---------------------------------------------------------------------------- + * Easy!Appointments - Open Source Web Scheduler + * + * @package EasyAppointments + * @author A.Tselegidis + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * This namespace contains functions that are used by the backend calendar page. * diff --git a/src/assets/js/backend_customers.js b/src/assets/js/backend_customers.js index 585ecede..42b4482b 100644 --- a/src/assets/js/backend_customers.js +++ b/src/assets/js/backend_customers.js @@ -1,3 +1,14 @@ +/* ---------------------------------------------------------------------------- + * Easy!Appointments - Open Source Web Scheduler + * + * @package EasyAppointments + * @author A.Tselegidis + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * Backend Customers javasript namespace. Contains the main functionality * of the backend customers page. If you need to use this namespace in a diff --git a/src/assets/js/backend_services.js b/src/assets/js/backend_services.js index 7f3f2027..a285a192 100644 --- a/src/assets/js/backend_services.js +++ b/src/assets/js/backend_services.js @@ -1,3 +1,14 @@ +/* ---------------------------------------------------------------------------- + * Easy!Appointments - Open Source Web Scheduler + * + * @package EasyAppointments + * @author A.Tselegidis + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * This namespace handles the js functionality of the backend services page. * diff --git a/src/assets/js/backend_settings.js b/src/assets/js/backend_settings.js index 32c5eadd..8ea4dd45 100644 --- a/src/assets/js/backend_settings.js +++ b/src/assets/js/backend_settings.js @@ -1,3 +1,14 @@ +/* ---------------------------------------------------------------------------- + * Easy!Appointments - Open Source Web Scheduler + * + * @package EasyAppointments + * @author A.Tselegidis + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * Contains the functionality of the backend settings page. Can either work for * system or user settings, but the actions allowed to the user are restricted to diff --git a/src/assets/js/backend_users.js b/src/assets/js/backend_users.js index 4018f571..40eef5e7 100644 --- a/src/assets/js/backend_users.js +++ b/src/assets/js/backend_users.js @@ -1,3 +1,14 @@ +/* ---------------------------------------------------------------------------- + * Easy!Appointments - Open Source Web Scheduler + * + * @package EasyAppointments + * @author A.Tselegidis + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * This namespace handles the js functionality of the users backend page. It uses three other * classes (defined below) in order to handle the admin, provider and secretary record types. diff --git a/src/assets/js/backend_users_admins.js b/src/assets/js/backend_users_admins.js index 1efe9613..f10d58c0 100644 --- a/src/assets/js/backend_users_admins.js +++ b/src/assets/js/backend_users_admins.js @@ -1,3 +1,14 @@ +/* ---------------------------------------------------------------------------- + * Easy!Appointments - Open Source Web Scheduler + * + * @package EasyAppointments + * @author A.Tselegidis + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * This class contains the Admins helper class declaration, along with the "Admins" tab * event handlers. By deviding the backend/users tab functionality into separate files diff --git a/src/assets/js/backend_users_providers.js b/src/assets/js/backend_users_providers.js index e5b347d7..a819b64c 100644 --- a/src/assets/js/backend_users_providers.js +++ b/src/assets/js/backend_users_providers.js @@ -1,3 +1,14 @@ +/* ---------------------------------------------------------------------------- + * Easy!Appointments - Open Source Web Scheduler + * + * @package EasyAppointments + * @author A.Tselegidis + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * This class contains the Providers helper class declaration, along with the "Providers" tab * event handlers. By deviding the backend/users tab functionality into separate files diff --git a/src/assets/js/backend_users_secretaries.js b/src/assets/js/backend_users_secretaries.js index 5d010b3c..ee0912f6 100644 --- a/src/assets/js/backend_users_secretaries.js +++ b/src/assets/js/backend_users_secretaries.js @@ -1,3 +1,14 @@ +/* ---------------------------------------------------------------------------- + * Easy!Appointments - Open Source Web Scheduler + * + * @package EasyAppointments + * @author A.Tselegidis + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * This class contains the Secretaries helper class declaration, along with the "Secretaries" * tab event handlers. By deviding the backend/users tab functionality into separate files diff --git a/src/assets/js/frontend_book.js b/src/assets/js/frontend_book.js index fd7a0256..6b336b6e 100644 --- a/src/assets/js/frontend_book.js +++ b/src/assets/js/frontend_book.js @@ -1,3 +1,14 @@ +/* ---------------------------------------------------------------------------- + * Easy!Appointments - Open Source Web Scheduler + * + * @package EasyAppointments + * @author A.Tselegidis + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * This namespace contains functions that implement the book appointment page * functionality. Once the initialize() method is called the page is fully diff --git a/src/assets/js/frontend_book_success.js b/src/assets/js/frontend_book_success.js index ff04328c..a73bdcd0 100644 --- a/src/assets/js/frontend_book_success.js +++ b/src/assets/js/frontend_book_success.js @@ -1,3 +1,14 @@ +/* ---------------------------------------------------------------------------- + * Easy!Appointments - Open Source Web Scheduler + * + * @package EasyAppointments + * @author A.Tselegidis + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + $(document).ready(function() { /** * Event: Add Appointment to Google Calendar "Click" diff --git a/src/assets/js/general_functions.js b/src/assets/js/general_functions.js index eb18374d..179cf971 100644 --- a/src/assets/js/general_functions.js +++ b/src/assets/js/general_functions.js @@ -1,3 +1,14 @@ +/* ---------------------------------------------------------------------------- + * Easy!Appointments - Open Source Web Scheduler + * + * @package EasyAppointments + * @author A.Tselegidis + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * This file contains the General Functions javascript namespace. * It contains functions that apply both on the front and back diff --git a/src/assets/js/working_plan.js b/src/assets/js/working_plan.js index 4f6e35e0..2a830083 100644 --- a/src/assets/js/working_plan.js +++ b/src/assets/js/working_plan.js @@ -1,3 +1,14 @@ +/* ---------------------------------------------------------------------------- + * Easy!Appointments - Open Source Web Scheduler + * + * @package EasyAppointments + * @author A.Tselegidis + * @copyright Copyright (c) 2013 - 2015, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.0.0 + * ---------------------------------------------------------------------------- */ + /** * Contains the working plan functionality. The working plan DOM elements must be same * in every page this class is used. diff --git a/src/assets/sql/structure.sql b/src/assets/sql/structure.sql index fd1d7497..f2b0d3b7 100644 --- a/src/assets/sql/structure.sql +++ b/src/assets/sql/structure.sql @@ -1,31 +1,18 @@ --- phpMyAdmin SQL Dump --- version 3.5.1 --- http://www.phpmyadmin.net --- --- Φιλοξενητής: localhost --- Χρόνος δημιουργίας: 11 Οκτ 2013 στις 16:58:08 --- Έκδοση διακομιστή: 5.5.24-log --- Έκδοση PHP: 5.4.3 +-- ---------------------------------------------------------------------------- +-- Easy!Appointments - Open Source Web Scheduler +-- +-- @package EasyAppointments +-- @author A.Tselegidis +-- @copyright Copyright (c) 2013 - 2015, Alex Tselegidis +-- @license http://opensource.org/licenses/GPL-3.0 - GPLv3 +-- @link http://easyappointments.org +-- @since v1.0.0 +-- ---------------------------------------------------------------------------- SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; -/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; -/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; -/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; -/*!40101 SET NAMES utf8 */; - --- --- Βάση: `easy_appointments` --- - --- -------------------------------------------------------- - --- --- Δομή πίνακα για τον πίνακα `ea_appointments` --- - CREATE TABLE IF NOT EXISTS `ea_appointments` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `book_datetime` datetime DEFAULT NULL, @@ -44,11 +31,6 @@ CREATE TABLE IF NOT EXISTS `ea_appointments` ( KEY `id_users_provider` (`id_users_provider`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=63 ; --- -------------------------------------------------------- - --- --- Δομή πίνακα για τον πίνακα `ea_roles` --- CREATE TABLE IF NOT EXISTS `ea_roles` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, @@ -64,11 +46,6 @@ CREATE TABLE IF NOT EXISTS `ea_roles` ( PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ; --- -------------------------------------------------------- - --- --- Δομή πίνακα για τον πίνακα `ea_secretaries_providers` --- CREATE TABLE IF NOT EXISTS `ea_secretaries_providers` ( `id_users_secretary` bigint(20) unsigned NOT NULL, @@ -78,11 +55,6 @@ CREATE TABLE IF NOT EXISTS `ea_secretaries_providers` ( KEY `fk_ea_secretaries_providers_2` (`id_users_provider`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; --- -------------------------------------------------------- - --- --- Δομή πίνακα για τον πίνακα `ea_services` --- CREATE TABLE IF NOT EXISTS `ea_services` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, @@ -96,11 +68,6 @@ CREATE TABLE IF NOT EXISTS `ea_services` ( KEY `id_service_categories` (`id_service_categories`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=13 ; --- -------------------------------------------------------- - --- --- Δομή πίνακα για τον πίνακα `ea_services_providers` --- CREATE TABLE IF NOT EXISTS `ea_services_providers` ( `id_users` bigint(20) unsigned NOT NULL, @@ -109,11 +76,6 @@ CREATE TABLE IF NOT EXISTS `ea_services_providers` ( KEY `id_services` (`id_services`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; --- -------------------------------------------------------- - --- --- Δομή πίνακα για τον πίνακα `ea_service_categories` --- CREATE TABLE IF NOT EXISTS `ea_service_categories` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, @@ -122,11 +84,6 @@ CREATE TABLE IF NOT EXISTS `ea_service_categories` ( PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=24 ; --- -------------------------------------------------------- - --- --- Δομή πίνακα για τον πίνακα `ea_settings` --- CREATE TABLE IF NOT EXISTS `ea_settings` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, @@ -135,11 +92,6 @@ CREATE TABLE IF NOT EXISTS `ea_settings` ( PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=16 ; --- -------------------------------------------------------- - --- --- Δομή πίνακα για τον πίνακα `ea_users` --- CREATE TABLE IF NOT EXISTS `ea_users` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, @@ -158,11 +110,6 @@ CREATE TABLE IF NOT EXISTS `ea_users` ( KEY `id_roles` (`id_roles`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=84 ; --- -------------------------------------------------------- - --- --- Δομή πίνακα για τον πίνακα `ea_user_settings` --- CREATE TABLE IF NOT EXISTS `ea_user_settings` ( `id_users` bigint(20) unsigned NOT NULL, @@ -179,53 +126,34 @@ CREATE TABLE IF NOT EXISTS `ea_user_settings` ( PRIMARY KEY (`id_users`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; --- --- Περιορισμοί για άχρηστους πίνακες --- --- --- Περιορισμοί για πίνακα `ea_appointments` --- ALTER TABLE `ea_appointments` ADD CONSTRAINT `ea_appointments_ibfk_2` FOREIGN KEY (`id_users_customer`) REFERENCES `ea_users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `ea_appointments_ibfk_3` FOREIGN KEY (`id_services`) REFERENCES `ea_services` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `ea_appointments_ibfk_4` FOREIGN KEY (`id_users_provider`) REFERENCES `ea_users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; --- --- Περιορισμοί για πίνακα `ea_secretaries_providers` --- + ALTER TABLE `ea_secretaries_providers` ADD CONSTRAINT `fk_ea_secretaries_providers_1` FOREIGN KEY (`id_users_secretary`) REFERENCES `ea_users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `fk_ea_secretaries_providers_2` FOREIGN KEY (`id_users_provider`) REFERENCES `ea_users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; --- --- Περιορισμοί για πίνακα `ea_services` --- + ALTER TABLE `ea_services` ADD CONSTRAINT `ea_services_ibfk_1` FOREIGN KEY (`id_service_categories`) REFERENCES `ea_service_categories` (`id`) ON DELETE SET NULL ON UPDATE CASCADE; --- --- Περιορισμοί για πίνακα `ea_services_providers` --- + ALTER TABLE `ea_services_providers` ADD CONSTRAINT `ea_services_providers_ibfk_1` FOREIGN KEY (`id_users`) REFERENCES `ea_users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `ea_services_providers_ibfk_2` FOREIGN KEY (`id_services`) REFERENCES `ea_services` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; --- --- Περιορισμοί για πίνακα `ea_users` --- + ALTER TABLE `ea_users` ADD CONSTRAINT `ea_users_ibfk_1` FOREIGN KEY (`id_roles`) REFERENCES `ea_roles` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; --- --- Περιορισμοί για πίνακα `ea_user_settings` --- + ALTER TABLE `ea_user_settings` ADD CONSTRAINT `ea_user_settings_ibfk_1` FOREIGN KEY (`id_users`) REFERENCES `ea_users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; -/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; -/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; INSERT INTO `ea_roles` (`id`, `name`, `slug`, `is_admin`, `appointments`, `customers`, `services`, `users`, `system_settings`, `user_settings`) VALUES (1, 'Administrator', 'admin', 1, 15, 15, 15, 15, 15, 15),