Laravel 11 exposes MariaDB as a dedicated 'mariadb' driver, so
config('database.default') === 'mysql' checks silently misclassified
MariaDB as the non-mysql (postgres) branch.
- Add App\Util\Database\DatabaseDriver with isMysqlLike()/isPgsql()
plus db_is_mysql_like()/db_is_pgsql() global helpers.
- Route all database.default driver checks through the helpers so
MySQL and MariaDB are treated as one group.
- Use '' (not null) for share/compose caption+rendered, valid whether
the column is nullable or NOT NULL (it is NOT NULL on MySQL/MariaDB).
- Guard pgsql strtolower() in registration against missing fields.
- Scope CustomEmoji::duplicateShortcodes to the grouped column for
Postgres GROUP BY validity.
- Remove stale Postgres guard in status:dedup; use havingRaw for
cross-driver HAVING.
|
1 week ago | |
|---|---|---|
| .ddev | 1 year ago | |
| .github | 1 week ago | |
| .vscode | 3 years ago | |
| app | 1 week ago | |
| bootstrap | 1 week ago | |
| config | 1 week ago | |
| database | 2 weeks ago | |
| lang | 1 week ago | |
| notes | 4 weeks ago | |
| public | 2 weeks ago | |
| resources | 1 week ago | |
| routes | 1 week ago | |
| storage | 3 years ago | |
| tests | 1 week ago | |
| .dockerignore | 2 weeks ago | |
| .editorconfig | 3 years ago | |
| .env.docker.example | 4 weeks ago | |
| .env.example | 4 weeks ago | |
| .env.testing | 3 weeks ago | |
| .gitattributes | 3 years ago | |
| .gitignore | 4 weeks ago | |
| .markdownlint.json | 3 years ago | |
| .node-version | 4 years ago | |
| .shellcheckrc | 3 years ago | |
| CHANGELOG.md | 2 weeks ago | |
| CODEOWNERS | 3 years ago | |
| CODE_OF_CONDUCT.md | 7 years ago | |
| CONTRIBUTING.md | 2 years ago | |
| DOCKER_COMPOSE_SETUP.md | 4 weeks ago | |
| Dockerfile | 1 week ago | |
| LICENSE | 8 years ago | |
| README.md | 1 week ago | |
| SECURITY.md | 5 years ago | |
| artisan | 3 weeks ago | |
| composer.json | 2 weeks ago | |
| composer.lock | 2 weeks ago | |
| crowdin.yml | 1 week ago | |
| docker-compose.test.yml | 4 weeks ago | |
| docker-compose.yml | 4 weeks ago | |
| funding.json | 2 years ago | |
| package-lock.json | 3 weeks ago | |
| package.json | 3 weeks ago | |
| phpstan.neon | 3 weeks ago | |
| phpunit.xml | 3 weeks ago | |
| pint.json | 4 weeks ago | |
| psalm-baseline.xml | 4 weeks ago | |
| psalm.xml | 4 weeks ago | |
| server.php | 8 years ago | |
| webpack.mix.js | 1 year ago | |
README.md
Introduction
Photo sharing the way it should be. Pixelfed lets your casual shots and creative photography find their audience naturally, without algorithmic barriers. Join millions of people sharing across the fediverse.
Database Support (Please report any regressions)
- MySQL 9+ is officially supported (Strict mode is not default).
- MariaDB 11+ is officially supported (Strict mode is default).
- PostgreSQL 14+ is best effort as of writing.
Notice: We need to improve the ecosystem to test/validate the codebase to be database agnostic, but this will require considerable engineering effort. Thank you for your understanding.
Official Documentation
Documentation for Pixelfed can be found on the Pixelfed documentation website.
Host on your instance
Pixelfed app for YunoHost. See the package source code
License
Pixelfed is open-sourced software licensed under the AGPL license.
Communication
The ways you can communicate on the project are below. Before interacting, please read through the Code Of Conduct.
- Mastodon: @pixelfed@mastodon.social
- E-mail: hello@pixelfed.org
Pixelfed Sponsors
We would like to extend our thanks to the following sponsors for funding Pixelfed development. If you are interested in becoming a sponsor, please visit the Pixelfed Patreon Page
- NLnet Foundation and NGI0 Discovery, part of the Next Generation Internet initiative.
This project is supported by:
