Commit Graph

76 Commits

Author SHA1 Message Date
Andy Miller
f47feee98d remove safe-upgrade/snapshots/recover
Signed-off-by: Andy Miller <rhuk@mac.com>
2026-04-15 14:03:10 +01:00
Andy Miller
b7ae93bfc1 Add fast static asset serving for plugin-bundled SPA apps
Reads user/config/plugin-asset-map.php to map URL prefixes to physical
directories. Matching requests are served with readfile() and exit
before Grav boots, avoiding the full framework overhead for static
JS, CSS, fonts, and images.
2026-04-01 17:33:25 -06:00
Andy Miller
c4e73d3827 Merge release/1.8.0 fixes: YamlUpdater undefine, upgrade resilience, PHP 8.3 guard, standalone upgrade script
- Fix YamlUpdater.undefine() to actually remove lines from YAML files
- Add maintenance mode (503) during core upgrades via .upgrading flag
- Add opcache_reset in sophisticatedInstall() for reliable file operations
- Add early PHP 8.3 version check in bin/grav
- Add PHP CLI vs web version mismatch hint in Install error messages
- Update 1.7 bridge version references from 1.7.50 to 1.7.51
- Disable recovery_mode by default until stability confirmed
- Add standalone upgrade.php script (CLI + web)
- Update markdowndocs to ^3.0
2026-02-24 21:54:07 -07:00
Andy Miller
306f33f4ae fixes for twig3 loader + improve recovery mode
Signed-off-by: Andy Miller <rhuk@mac.com>
2025-12-08 18:07:32 -07:00
Andy Miller
d1d70c4d0c set PHP minimum to 8.3
Signed-off-by: Andy Miller <rhuk@mac.com>
2025-10-27 10:37:43 -06:00
Andy Miller
e5a659d445 fix for PHP 8.5+
Signed-off-by: Andy Miller <rhuk@mac.com>
2025-10-27 10:31:29 -06:00
Andy Miller
57a446862f jump into recovery mode
Signed-off-by: Andy Miller <rhuk@mac.com>
2025-10-19 20:49:02 -06:00
Andy Miller
e30245789c move recover.flag
Signed-off-by: Andy Miller <rhuk@mac.com>
2025-10-19 16:02:51 -06:00
Andy Miller
4fa5996414 fix for safe upgrade on 1.8
Signed-off-by: Andy Miller <rhuk@mac.com>
2025-10-17 18:15:13 -06:00
Andy Miller
c79d2ecfc4 another fix for safe upgrade
Signed-off-by: Andy Miller <rhuk@mac.com>
2025-10-17 11:11:12 -06:00
Andy Miller
b70ae844a8 route safeupgrade status 2025-10-16 23:31:38 -06:00
Andy Miller
44f90cbce0 Merge branch 'develop' into 1.8
Signed-off-by: Andy Miller <rhuk@mac.com>
2025-10-15 20:22:14 -06:00
Andy Miller
250568bae5 initial safeupgrade work 2025-10-15 10:29:26 -06:00
Andy Miller
365ab93e7e PHP 8.2+ fixes
Signed-off-by: Andy Miller <rhuk@mac.com>
2025-09-20 22:12:55 -06:00
Andy Miller
1967910789 upgrade to latest symfony 6.4 + PHP 8.2 2024-10-14 19:27:43 +01:00
Andy Miller
a1c116dd82 update copyright year 2024-01-05 11:43:52 +00:00
Andy Miller
a86e0d4b96 Update copyright date 2023-01-02 11:09:32 -07:00
Xaver Maierhofer
cad8510dae Merge index exceptions with same handling 2022-02-16 15:52:26 +02:00
Matias Griese
b3b5fca16c Fixed 'mbstring' extension is not loaded error, use Polyfill instead [#3504] 2022-02-14 09:38:22 +02:00
Andy Miller
3b7921b698 updated copyright year 2022-01-03 09:14:00 -07:00
Matias Griese
3bfbb1a4ef Composer 2 checks for minimum PHP version, remove duplicated checks 2021-12-08 15:17:28 +02:00
Andy Miller
b8ada23e2b fixes #3408 2021-07-19 22:35:57 -06:00
Robert Bak
d4805bc709 Fixes issue with Symfony local server detection (#3400)
I was just doing the same thing!
2021-07-06 14:40:12 -06:00
Djamil Legato
25f8b787b6 Oh, don’t mind me… just bringing Grav to 2021! 🎆 2021-02-04 21:09:42 -08:00
Andy Miller
54fd54d3f0 Set minimum requirements to PHP 7.3.6 2020-11-13 16:01:26 -07:00
Matias Griese
c8ee05d671 Set minimum requirements to PHP 7.2.5 2020-10-30 21:52:04 +02:00
Andy Miller
5852ca4179 Better support for bin/grav server 2020-02-12 18:27:30 -07:00
Matias Griese
3f56c5a727 Merge branch 'develop' of github.com:getgrav/grav into 1.7
 Conflicts:
	CHANGELOG.md
	system/src/Grav/Common/Page/Page.php
2020-02-10 10:14:55 +02:00
Matias Griese
e55b239536 Fixed encoding problems when PHP INI setting default_charset is not utf-8 [#2154] 2020-02-10 09:50:39 +02:00
Andy Miller
95637a243c Better support for Symfony local server symfony server:start 2019-07-02 11:23:32 -06:00
Matias Griese
eb97964a00 Debugger optimizations 2018-10-16 13:12:26 +03:00
Matias Griese
d848dcde5d Call onFatalException event also on internal PHP errors 2018-10-12 12:06:10 +03:00
Matias Griese
7cc98b8265 Merge branch 'develop' of https://github.com/getgrav/grav into 1.6
# Conflicts:
#	CHANGELOG.md
#	index.php
#	system/defines.php
2018-08-31 08:26:39 +03:00
Matias Griese
756ddaa97d Added Deprecated tab to DebugBar to catch future incompatibilities with later Grav versions 2018-08-24 11:31:51 +03:00
Matias Griese
3b04315a38 Grav 1.6.0-dev: updated minimum PHP requirements to 7.1.3
Updated Doctrine Collections and Cache
2018-08-17 23:29:24 +03:00
Matias Griese
76fb11366b Added Uri::method() to get current HTTP method (GET/POST etc) 2018-08-02 22:41:54 +03:00
Matias Griese
ce1e635451 Minimum PHP requirement was 5.6.4, not 5.6.0 2018-04-14 17:42:13 +03:00
Matias Griese
87b0d80de0 PHP 5.6.0 minimum, updated to Doctrine Collections 1.4 2018-04-14 12:28:00 +03:00
Andy Miller
7aa930ca55 Merge branch '1.4' into develop
# Conflicts:
#	system/src/Grav/Common/Twig/TwigExtension.php
#	system/src/Grav/Common/Uri.php
#	tests/unit/Grav/Common/AssetsTest.php
2018-03-09 12:43:08 -07:00
Andy Miller
0695c29cf5 Bad quotes 2017-12-31 17:07:52 -08:00
Immanuel Bendahan
084a5c7fbe Bug fi (#1808) 2017-12-29 13:42:45 -07:00
Andy Miller
7ec66b2bf2 Transferred copyright 2017-12-11 15:08:05 -07:00
MucaP
749d0e3f2d Those simple things everyone miss (#1428) 2017-04-14 13:26:15 -06:00
Flavio Copes
e2cc55a4e3 Fix syntax error in PHP 5.3. Move the version check before requiring the autoloaded deps 2017-02-16 10:16:30 +01:00
Andy Miller
81fc0d47ac Reworked PHP CLI router PR #1218 (#1219) 2016-12-17 15:07:40 +01:00
Andy Miller
6c042b4804 Unified PHP code header styling 2016-07-11 16:07:14 -06:00
Andy Miller
d42786484f Pass the exception to the onFatalException() event 2016-06-11 22:27:34 +01:00
Matias Griese
8ae4e3fd64 Display error when bin/grav install hasn't been run instead of throwing exception 2016-03-18 09:18:13 +02:00
Flavio Copes
4bb6876c78 Add back negation! 2016-03-17 21:13:24 +01:00
Flavio Copes
71bbb03bd9 Change exception to die() in order to always show a message when these fatal errors are found
As proposed by @mahagr
2016-03-17 20:33:32 +01:00