Make increaseStorageUsed/decrementStorageUsed recalculate from source when the cached counter is older than STALE_AFTER_HOURS (168h) or never calculated, so an affected user is corrected the next time they upload or delete without waiting for the nightly reconciler. Callers save/delete the media row before calling these, so the from-source recalc already reflects the change and the incremental delta is skipped on the recalc path. - Add UserStorageService::STALE_AFTER_HOURS and isStale() helper (no extra query: reads the already-loaded model), with defensive Carbon parsing - Cast users.storage_used_updated_at to datetime so freshness comparisons work on a Carbon instance - Add tests for stale/fresh/never-calculated increase and decrement paths |
2 weeks ago | |
|---|---|---|
| .ddev | 1 year ago | |
| .github | 3 weeks ago | |
| .vscode | 3 years ago | |
| app | 2 weeks ago | |
| bootstrap | 2 weeks ago | |
| config | 2 weeks ago | |
| database | 2 weeks ago | |
| lang | 3 weeks ago | |
| notes | 4 weeks ago | |
| public | 2 weeks ago | |
| resources | 2 weeks ago | |
| routes | 2 weeks ago | |
| storage | 3 years ago | |
| tests | 2 weeks ago | |
| .dockerignore | 4 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 | 4 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 month ago | |
| LICENSE | 8 years ago | |
| README.md | 1 year ago | |
| SECURITY.md | 5 years ago | |
| artisan | 3 weeks ago | |
| composer.json | 3 weeks ago | |
| composer.lock | 3 weeks ago | |
| crowdin.yml | 3 weeks 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.
Official Documentation
Documentation for Pixelfed can be found on the Pixelfed documentation website.
Run on YunoHost
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:
