Repository navigation
Stability and long-term maintenance fixes #443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Alanaktion
wants to merge
14
commits into
master
Choose a base branch
from
stability-fixes
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
b4c6ff6
Fix dead validation checks and restore deprecation reporting
sola-ryu c2cfb4a
Harden cron, migrations, Docker, and session handling
sola-ryu c187ec3
Add public route smoke tests
sola-ryu 69dfeaf
Address CodeRabbit review feedback
sola-ryu 9c24e3f
Use Pdo\Mysql::ATTR_INIT_COMMAND instead of deprecated PDO constant
sola-ryu 6415b08
Install pdo_mysql extension in CI
sola-ryu 13ec679
Guard Pdo\Mysql::ATTR_INIT_COMMAND behind PHP_VERSION_ID check
sola-ryu bcff2d7
Tolerate replayed DDL when retrying failed MySQL migrations
sola-ryu ac3317b
Merge branch 'master' into stability-fixes
Alanaktion 9a7f7db
Merge branch 'master' into stability-fixes
sola-ryu 8d5b214
Update app/helper/security.php
Alanaktion 8f2080e
Update cron/base.php
Alanaktion c3b42fb
Fix due_date validation, anchor admin regexes, repair migration guards
sola-ryu c320b4b
Remove maintenance notes from README
Alanaktion File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,14 @@ | ||
| FROM docker.io/library/php:8.4-apache | ||
|
|
||
| COPY --from=ghcr.io/mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/ | ||
| RUN install-php-extensions exif gd zip pdo_mysql intl | ||
| RUN install-php-extensions exif gd zip pdo_mysql pdo_sqlite intl imap | ||
|
|
||
| RUN a2enmod rewrite | ||
|
|
||
| # Container health check (Apache on :80) | ||
| HEALTHCHECK --interval=30s --timeout=5s --start-period=15s \ | ||
| CMD php -r "exit(@fsockopen('127.0.0.1', 80) ? 0 : 1);" | ||
|
|
||
| COPY --chown=33:33 . /var/www/html/ | ||
| RUN echo 'upload_max_filesize = 1024M' > /usr/local/etc/php/conf.d/limits.ini | ||
| RUN printf 'upload_max_filesize = 1024M\npost_max_size = 1100M\n' > /usr/local/etc/php/conf.d/limits.ini | ||
| RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| <?php | ||
|
|
||
| // Static-analysis shim for the pdo_mysql extension's driver-specific PDO subclass. | ||
| // | ||
| // Pdo\Mysql only exists on PHP 8.4+ with pdo_mysql loaded, but the codebase | ||
| // references Pdo\Mysql::ATTR_INIT_COMMAND behind a PHP_VERSION_ID guard to | ||
| // stay compatible with PHP 8.1-8.3 (where PDO::MYSQL_ATTR_INIT_COMMAND is | ||
| // not deprecated). PHPStan scans this file (see scanFiles in phpstan.neon) | ||
| // so it can resolve the class when analyzing on older PHP versions or | ||
| // without the pdo_mysql extension installed. | ||
|
|
||
| namespace Pdo; | ||
|
|
||
| class Mysql extends \PDO | ||
| { | ||
| public const ATTR_INIT_COMMAND = 1002; | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.