Commit Graph

97 Commits

Author SHA1 Message Date
Alex Tselegidis 2878d1299a Reformat entire codebase for trailing comma that will make line duplication easier 2023-12-22 11:35:41 +01:00
Alex Tselegidis c6f231e11e Add <pre> container to the dd function output 2023-12-06 10:58:40 +01:00
Alex Tselegidis c8a9e2c24b Enable prettier for php and reformat the entire application directory 2023-11-29 10:24:09 +01:00
Alex Tselegidis fa8b8459d4 Avoid null argument values passed to the PHP function 2023-05-04 11:32:32 +02:00
Alex Tselegidis 87a114af9c Update the return type. 2023-04-05 15:35:31 +02:00
Alex Tselegidis 2b552c4535 Resolve various PHP inspection issues 2023-03-13 09:06:18 +01:00
Alex Tselegidis 7be4c73e4e Use the "end_section" html helper for better clarify on when a section starts and when it ends 2023-03-13 08:24:43 +01:00
Alex Tselegidis 9b66e9fedc Remove the escape function from the lang helper 2023-03-13 08:11:01 +01:00
Alex Tselegidis 9a6233ad3a Add a new string escape helper function 2023-03-13 08:08:43 +01:00
Alex Tselegidis c3aca37591 Add the "format_timezone" helper function 2023-02-21 07:44:34 +01:00
Alex Tselegidis 98976ee382 Wrap the date_helper.php functions with try-catch blocks 2023-02-20 08:57:50 +01:00
Alex Tselegidis 270c261a58 Add the date_helper.php to the project 2023-02-20 08:54:29 +01:00
Alex Tselegidis 581609ea43 Set the setting value correctly, if the setting-name argument was not found in the database 2022-10-16 18:06:17 +03:00
Alex Tselegidis 98a0e07484 Add and autoload the array helper 2022-10-16 18:03:55 +03:00
Alex Tselegidis bc80d2c6e0 Display the language key if no translation is available 2022-06-27 13:49:16 +03:00
Alex Tselegidis 14ae6b24fa Change $exception to $e for consistency 2022-06-20 12:31:52 +03:00
Alex Tselegidis 658ac78d8f Replace the default exception classes with more specific ones 2022-06-20 12:31:11 +03:00
Alex Tselegidis 2e97777cad Add fallback value to permissions check. 2022-06-20 12:12:36 +03:00
Alex Tselegidis bf78545752 Apply rate-limiting only to HTTP requests 2022-06-20 12:12:36 +03:00
Alex Tselegidis e3d3673ebf Add max password length constant 2022-05-09 23:26:46 +02:00
Alex Tselegidis 326c86f94e Update rate limit function signature 2022-04-19 09:12:49 +02:00
Alex Tselegidis a3b8228122 Merge branch 'master' into develop
# Conflicts:
#	application/config/autoload.php
#	application/config/config.php
#	application/controllers/Appointments.php
#	application/controllers/Backend.php
#	application/controllers/Backend_api.php
#	application/controllers/Captcha.php
#	application/controllers/Console.php
#	application/controllers/Google.php
#	application/controllers/Installation.php
#	application/core/EA_Controller.php
#	application/core/EA_Model.php
#	application/libraries/Google_sync.php
#	application/libraries/Ics_file.php
#	application/models/Settings_model.php
#	application/views/appointments/book_success.php
#	assets/css/layouts/backend_layout.scss
#	assets/css/no_privileges.css
#	assets/js/backend_calendar_table_view.js
#	assets/js/backend_calendar_unavailability_events_modal.js
#	assets/js/frontend_book.js
#	assets/js/general_functions.js
#	assets/js/pages/booking_confirmation.js
#	assets/js/working_plan_exceptions_modal.js
#	composer.json
#	composer.lock
#	docs/console.md
#	docs/docker.md
#	docs/faq.md
#	docs/get-involved.md
#	docs/google-calendar-sync.md
#	docs/installation-guide.md
#	docs/manage-translations.md
#	docs/readme.md
#	docs/rest-api.md
#	docs/update-guide.md
#	gulpfile.js
#	system/core/Input.php
#	system/core/Output.php
#	system/core/Security.php
#	system/libraries/Session/drivers/Session_files_driver.php
2022-03-25 10:53:46 +01:00
Alex Tselegidis c1a8dba1a3 Reduce the default rate limit duration to 2 minutes 2022-03-08 17:25:25 +01:00
Alex Tselegidis bb71c97736 Security configuration enhancements in the application (#1208) 2022-02-23 14:54:41 +01:00
Alex Tselegidis c133b24874 Remove unused "render" helper file from the project as it is no longer used (use the components instead). 2022-02-10 20:57:38 +01:00
Alex Tselegidis 59c44994f7 Add custom Matomo analytics integration (#974). 2022-01-19 10:18:00 +01:00
Alex Tselegidis 54e4c208a3 Update the project subtitle. 2022-01-18 13:05:42 +01:00
Alex Tselegidis 626d8b86a1 The component helper function will now have a single vars argument for both attributes and params. 2022-01-18 11:03:44 +01:00
Alex Tselegidis 65d2836911 The timezone component must not use the global vars when rendering. 2022-01-18 10:32:30 +01:00
Alex Tselegidis e23bdbb45f Render with the html_vars helper. 2022-01-18 09:40:13 +01:00
Alex Tselegidis 9f08ce329e Replace direct use of variables inside views with the new "vars" helper method. 2022-01-18 08:45:02 +01:00
Alex Tselegidis c5a1c2a8c0 Add support for nested layout sections 2022-01-11 10:26:49 +01:00
Alex Tselegidis 0a005d570b Support multiple additions of the same section content 2022-01-11 10:11:09 +01:00
Alex Tselegidis a090b2eba9 Updated the file banner info 2021-12-18 17:44:07 +01:00
Alex Tselegidis 238ca6c820 Renamed config helper methods to script_vars and html_vars for consistency 2021-12-17 10:52:46 +01:00
Alex Tselegidis bd363d0725 Rename is_route helper functiont to is_callback 2021-12-17 10:36:47 +01:00
Alex Tselegidis 6c4a15b429 Treat undefined keys as NULL 2021-12-17 10:36:22 +01:00
Alex Tselegidis dbba0865e8 Removed caching from the settings helper as it may lead to unexpected behavior (if for example values get updated in another way). 2021-12-17 09:01:12 +01:00
Alex Tselegidis bfe6664d58 Added new "page_vars" function that will handle the rendered page variables. 2021-12-17 08:46:47 +01:00
Alex Tselegidis bfef58672c Added new "is_route" helper method 2021-12-17 08:45:28 +01:00
Alex Tselegidis 775d385e09 Added caching to the settings helper so that we avoid unnecessary queries to the database. 2021-12-17 08:44:38 +01:00
Alex Tselegidis 1eaa59d192 Corrected the js_config helper function 2021-12-14 07:51:26 +01:00
Alex Tselegidis 29b22ece3c Added the js_config helper method that will assign public JS config values 2021-12-14 07:47:35 +01:00
alextselegidis 532ee4fabc Allow multiple renders with the loader class during the rendering of a layout page 2021-11-17 08:41:51 +01:00
alextselegidis 62b0651ce8 Fixed issues with component rendering 2021-11-16 10:14:47 +01:00
alextselegidis ae408c4bfb Adjusted the components html helper function 2021-11-15 09:48:26 +01:00
alextselegidis b7c39e94a2 Renamed the component_helper.php file to html_helper.php 2021-11-15 08:53:24 +01:00
alextselegidis 4a29034418 Added new layout helper methods in the component_helper.php file 2021-11-15 08:52:35 +01:00
alextselegidis 179e72bfb9 Changed the directory of the render functions to "components" 2021-11-11 09:01:42 +01:00
alextselegidis 538ded7d69 Added new component helper file 2021-11-11 09:00:48 +01:00