* Just skip this table because it no longer exists
* Add postgresql
* This no longer needs to be there
* These are the same output in mysql, but different in postgresql
* Fix these migrations for postgresql
* This table no longer exists
* This is expected to be a json column for json operations, required for postgresql
* Shoot for the stars
* Fix pint
* Why was this missing
* Updates
* Restore this
* This needs to be explicit
* Don’t like strings
* Fix these classes
* Use different method to compare dates
* Apparently postgresql doesn’t like case insensitivity
* Postgresql orders it backwards
* Ordered different by postgresql
* Unnecessary and breaking
* Make sure the order is correct for postresql
* Fix this with the order too
* Remove this
* Force email to be lowercased
* Update app/Models/User.php
* fix(docker): enable multi-arch builds
* Remove workflow_dispatch and add missing space
* There is no need for a matrix in the job build-and-push
* Update docker-publish.yml
* Only keep the artifacts for 7 days
* Bump dockerfile labs version to 1.13
* Added a comment in the Dockerfile explaining how to self-build it
* build-php-base cache should not be tagged
* Install Pest
* Don’t use bootstrap file anymore
* Fix comment
* Think this is needed
* Reset this
* Switch dataproviders to attributes
* Fix these
* Support in memory databases
* Fix this migration
* Switch this back for now
* Add missing import
* Truncate and reseed database
* These are replaced now
* Switch ci to use pest
* Add php 8.4
* Update ide helper
* Add php 8.4
* Update laravel sanctum
* Update laravel framework
* Hash rounds were increased
* This is always false
* Extend model now
* This does nothing
* Move model validation methods to trait
* Remove base model
* Backup routes were previously referenced by uuids
* Remove commented code
* Upgrade laravel/framework
* Fix migration
* Update ide helper
* Update sanctum
* Add version to composer
* Add this back in, fixed
* Make this protected to be safer
* Rootless Dockerfile/Optimized build
Add unneeded files to .dockerignore
Split Dockerfile into more stages to allow Composer/Yarn to run concurrently
Don't log supervisord to a file, as file logging in a Docker container makes no sense
Redirect process output to container output for log processors
Run all processes as non-root
Minimize files with write permission for non-root user
Move docker folder out of .github, as it has nothing to do with GitHub
* Remove install-php-extensions utility after use and name final stage
* Test arm64 runner
* Allow Docker workflow caching multi-arch separately
* Fix Docker publish workflow branches
* Move Caddyfile/crontab config into docker directory, remove redundant supervisord user
* Further restrict permissions
* Supervisord logs
* Fix these
* Update phpstan
* Transform these into their identifiers instead
* Fix custom rule
* License is wrong
* Update these
* Pint fixes
* Fix this
* Consolidate these
* Never supported PHP 7
* Better evaluation
* Fixes
* Don’t need ignore
* Replace trait with service
* Subusers are simply the many to many relationship between Servers and Users
* Adjust to remove ignores
* Use new query builder instead!
* wip
* Update composer
* Quick fixes
* Use realtime facade
* Small fixes
* Convert to static to avoid new
* Update to statics
* Don’t modify protected properties directly
* Run pint
* Change to correct method
* Give up and use the facade
* Make sure this route is available
* Filament hasn’t been loaded yet
* This can be readonly
* Typehint
* These are no longer used
* Quick fixes
* Need doc block help
* Always true
* We use caddy with docker
* Pint
* Fix phpstan issues
* Remove unused import
---------
Co-authored-by: MartinOscar <40749467+RMartinOscar@users.noreply.github.com>
Adding :- Syntax which ensures that, if SKIP_CADDY is unset, it will be treated as an empty string, which will not match "true". This avoids potential issues with unbound variables in some shell configurations where set -u (treating unset variables as an error) is enabled.
(ChatGPT)
Starting the docker container is hampered due to setting `chown -R www-data:www-data /var/www/html/` on every start, causing it to traverse the entire directory which in our use case is very slow. This PR instead changes it to set permissions as part of the build process.
Sidenote: Is `LE_EMAIL` supposed to be used in addition to `ADMIN_EMAIL`?
* enable installer on docker first run
* add SESSION_COOKIE to compose file
* `APP_ENVIRONMENT_ONLY` is long gone
* session env vars no longer needed after #624
* set defaults to null if sqlite is selected
Update the dockerfile to use supervisord
Update supervisord config to use start caddy unless configured not to.
Updated entrypoint to handle caddy skip for supervisord.
dockerfile
cmd updated to just start php-fpm
entrypoint
now starts caddy unless SKIP_CADDY has been set.
compose file
updated ports to work properly.
updated networks to use the correct network.
added commented port and variable to disable caddy
added further notes.
* remove old settings stuff
* add basic settings page
* add some settings
* add "test mail" button
* fix mail fields not updating
* fix phpstan
* fix default for "top navigation"
* force toggle buttons to be bool
* force toggle to be bool
* add class to view to allow customization
* add mailgun settings
* add notification settings
* add timeout settings
* organize tabs into sub-functions
* add more settings
* add backup settings
* add sections to mail settings
* add setting for trusted_proxies
* fix unsaved data alert not showing
* fix clear action
* Fix clear action v2
TagsInput expects an array, not a string, fails on saving when using `''`
* Add App favicon
* Remove defaults, collapse misc sections
* Move Save btn, Add API rate limit
* small cleanup
---------
Co-authored-by: notCharles <charles@pelican.dev>