Commit Graph

73 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
Alexander Minkin f97ff7d0fd
build(composer): add composer.lock file 2023-12-10 20:59:59 +03:00
Alexander Minkin 2765bd98f9
build(composer): Bump latte to 2.10.10 and tracy to 2.10
This is being done to make chandler work on PHP 8.2
2023-12-10 17:10:21 +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
Ilya Prokopenko b46c33d5b8
Add an action for proper repository mirroring 2023-02-04 10:49:25 +00: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 aa05e8135d
Delete composer.lock 2022-10-28 22:17:13 +03: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 c98841af56 Add IDEA project config file 2022-08-19 16:39:27 +03:00
dependabot[bot] 6062d0dc8a
Bump guzzlehttp/guzzle from 6.5.7 to 6.5.8 (#10) 2022-06-22 09:20:51 +07:00
Ilya Prokopenko 1e862ae523
Update dependencies 2022-06-14 06:07:13 +03:00
Ilya Prokopenko d2618bdc11
Bump Guzzle version to 6.5.7
Resolves GHSA-f2wf-25xc-69c9 and GHSA-w248-ffj2-4v5q
2022-06-10 09:24:24 +03:00
Ilya Prokopenko 7c61aad42e
Merge pull request #9 from openvk/dependabot/composer/guzzlehttp/guzzle-6.5.6
Bump guzzlehttp/guzzle from 6.5.5 to 6.5.6
2022-06-01 15:21:11 +00:00
dependabot[bot] b9f3c7c43c
Bump guzzlehttp/guzzle from 6.5.5 to 6.5.6
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 6.5.5 to 6.5.6.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/6.5.6/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/6.5.5...6.5.6)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-25 22:17:37 +00: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 3b4a38832e
Use InnoDB in chandler by default 2022-04-10 12:05:42 +03:00
dependabot[bot] 0543f71bc4
Merge pull request #8 from openvk/dependabot/composer/guzzlehttp/psr7-1.8.5 2022-03-30 11:11:52 +00:00
dependabot[bot] d64f279cbb
Bump guzzlehttp/psr7 from 1.8.3 to 1.8.5
Bumps [guzzlehttp/psr7](https://github.com/guzzle/psr7) from 1.8.3 to 1.8.5.
- [Release notes](https://github.com/guzzle/psr7/releases)
- [Changelog](https://github.com/guzzle/psr7/blob/1.8.5/CHANGELOG.md)
- [Commits](https://github.com/guzzle/psr7/compare/1.8.3...1.8.5)

---
updated-dependencies:
- dependency-name: guzzlehttp/psr7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-30 02:21:37 +00:00
dependabot[bot] 45c51eb083
Bump latte/latte from 2.6.2 to 2.10.8 (#6) 2022-02-06 12:36:39 +00:00
celestora 8345b43922
Fix template fallback for non-absolute templates 2022-01-27 16:31:23 +02:00
Ilya Prokopenko 3c3e885062
Update INSTALL.md 2021-12-29 15:29:20 +07: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
Ilya Prokopenko 10b2ae82d8
NGINX: Moved the index to another position 2021-10-14 10:52:18 +07:00
Ilya Prokopenko a6266c0e10
NGINX: Added a limit to size of an uploaded file
Without this, the web server would give a HTTP error 413.
2021-10-13 08:11:35 +07:00
Ilya Prokopenko 42108cf922
NGINX: PHP-FPM now only works with index.php
Previously it was applied to all PHP files. Or rather, it should have, but libchandler only has one PHP file on htdocs - index.php. Without this fix OpenVK profiles with ".php" in their link would "break".
2021-10-12 22:15:43 +07:00
Ilya Prokopenko c6335aea7b
NGINX: Added new param SCRIPT_FILENAME 2021-09-18 09:23:28 +07:00
Celestora 0355a1a6d8 Merge branch 'master' of https://github.com/openvk/chandler into master
Signed-off-by: Celestora <kitsuruko@gmail.com>
2021-09-16 20:03:07 +03: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 8f61111b41
Fix arguments in nginx.conf 2021-09-16 19:20:50 +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
Ilya Prokopenko f3b7e4a597
Install: Added NGINX as an option 2021-09-16 17:35:51 +07: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