Commit Graph

49 Commits

Author SHA1 Message Date
Alexander Minkin 0d094c9830
fix: make __wakeup methods public
PHP 8+ requires that __wakeup must be public
2023-12-11 13:38:00 +03:00
lalka2018 6ea8e2464c Fiks lonpul? 2023-11-11 14:54:35 +03:00
Vladimir Barinov fc531f4d16
Make DBEntity::save function work properly again ©️
Since the introducing the Log feature for chandler engine, it broke non-authorized (through built-in mechanics) actions with database (for example, APIs). This commit disables the forced action logging to prevent errors appearing from nowhere and non-updated code
2023-08-14 01:04:44 +03:00
n1rwana 011a88d3ce
Add logs support to DBEntity (#14)
* DBEntity.php with logs

* Fix

* Update DBEntity.php

* Fix 2.0

* Update Log.php

* Update Log.php

* Update Log.php
2023-08-11 16:42:40 +03:00
n1rwana 73eeaa8b3c
Fix of error 500 with many sequential slashes in URL (#15) 2023-08-11 02:07:20 +03:00
celestora 68a9a05965
Add cache headers for static content
Reduces active connections requirement by instructing browsers not to revalidate ETags for a month
2023-01-08 15:12:36 +02:00
celestora e95ea71c67 Merge branch 'master' of https://github.com/openvk/chandler 2022-10-11 19:12:00 +03:00
celestora b2b57fd439 Fix scope pollution during presenter invocation 2022-10-11 19:11:45 +03:00
celestora 77ed640115 Fix User::makeHash on PHP8 2022-10-11 19:11:22 +03:00
veselcraft b4e1798992
Add time parameter to listen function 2022-09-19 17:09:27 +03:00
celestora e3706234e7 Use anonymous functions instead of create_function
Adds PHP 8.1.x compatability
2022-08-19 16:40:03 +03:00
celestora 46bb7bf0db
Include additional email configuration fields
`email.user` can be set if the sending address is not your SMTP username
all mail is being sent in plaintext SMTP unless `email.ssl` is set to true
2022-04-16 19:39:42 +03:00
Celestora b8fcf3d8e9 Fix syntax error and unsafe call to ActiveRow::getTable 2022-04-12 22:42:24 +03:00
celestora 8345b43922
Fix template fallback for non-absolute templates 2022-01-27 16:31:23 +02:00
Celestora ba400a21e3 Fix logic error in view delegation thing 2021-12-27 14:10:15 +02:00
Celestora 5f839e1bb6 Fix logic error in view delegation thing 2021-12-27 14:08:52 +02:00
Celestora 624359f3f5 [WIP] Add fallback to overriden templates 2021-12-27 14:02:24 +02:00
Celestora 1e45ef5ef7 Add Postmark support as an alternative to SMTP mailing 2021-12-27 13:56:25 +02:00
Celestora 01338ff6ec Add ability to change template search path
Signed-off-by: Celestora <kitsuruko@gmail.com>
2021-09-16 20:02:35 +03:00
Celestora 5855601d59 Don't depend on YAML extension
Signed-off-by: Celestora <kitsuruko@gmail.com>
2021-09-16 18:42:36 +03:00
Alma Armas 586aa99cd6 UA and IP checks can now be disabled via extendedValidation option 2021-04-21 11:41:56 +00:00
Alma Armas 60bbd5b8b5 Fix error in DatabasePanel 2021-04-21 11:35:31 +00:00
rem-pai 6ca0e6a0b6
Fix regressions if allEnabled is set 2021-01-31 00:33:10 +02:00
Alma Armas d0123f79db Allow multiple config locations 2021-01-27 18:53:14 +00:00
Alma Armas 8aa46425b5 Add option to change extensions location and to force enable 'em all 2021-01-27 18:52:19 +00:00
Alma Armas f55f6d445d Add SimplePresenter::findParam 2021-01-27 18:50:59 +00:00
veselcraft 65da4abe33 Bugfix
Template engine tried to recreate himself when HTTP error appears
2021-01-24 14:47:32 +03:00
Alma Armas a43eda027b Add recursive route inclusion 2021-01-18 17:04:04 +00:00
Alma Armas 9a14e22d89 Implement SimplePresenter::jsonParam 2021-01-18 16:45:56 +00:00
Alma Armas 82da99937d Fix mystery bug 2021-01-18 16:44:53 +00:00
Alma Armas 97573bb465 Fix loading of extensions that have hyphen in their name 2020-12-31 21:14:33 +00:00
Alma Armas f76d988e54 Add headless mode 2020-11-29 17:15:57 +00:00
Jill Stingray f64b7ad339 Add CSRF protection options 2020-08-20 17:08:48 +00:00
fkwa 3cc25bec51
Fix Anti-CSRF check condition
Pervious version is made chandler unusable if it runs on port different from 443.
2020-08-02 20:14:54 +03:00
Jill Stingray 3093be04a6 Add ability to fetch history of events 2020-08-01 14:12:51 +00:00
Jill Stingray f3106105b4 Remove typehint from DBEntity::getId to allow non-numeric primary keys 2020-08-01 14:12:02 +00:00
Jill Stingray 064b392671 Allow unwrapping database models to raw record data 2020-08-01 14:10:44 +00:00
Jill Stingray 9606b74aed Add SimplePresenter::requestParam
Behaves like queryParam, but uses _REQUEST variable instead.
2020-07-29 11:02:50 +00:00
Jill Stingray 55515de8b6 Add Authenticator::verifyCredentials to verify credentials without logging in 2020-07-29 11:01:37 +00:00
Jill Stingray 4adcf433c5 Prevent chandler from raising Fatal errors if class doesn't exist 2020-07-29 11:01:06 +00:00
Jill Stingray be4e0b9e71 Make DB error messages more clear 2020-06-30 07:29:49 +00:00
Jill Stingray f58407575d Enable silent error logging 2020-06-30 07:29:11 +00:00
Jill Stingray eaba4a25de Add DB overload error pages 2020-06-17 21:46:52 +03:00
Jill Stingray 3e0637e447 [IMPORTANT SECURITY] Fix critical directory traversal vulnerability in routing component 2020-06-14 18:35:49 +03:00
Jill Stingray f73c48dd50 Fix types in mimes.php 2020-06-14 18:34:59 +03:00
Jill Stingray 5f29e67c56 Fix CSRF vulnerability 2020-06-11 12:47:33 +03:00
Jill Stingray 52c05f2301 Simplify template overrides 2020-06-10 15:12:46 +03:00
Jill Stingray a944b7da25 Modify anticache algo 2020-06-10 15:12:16 +03:00
Jill Stingray bda6f5faf2 Initial commit 2020-05-29 21:49:16 +03:00