Commit graph

13918 commits

Author SHA1 Message Date
🏔️ Peak
d666cdcbc3
chore(config): configure redis (#7499) 2025-12-09 18:11:37 +01:00
peaklabs-dev
6b31e3cf57
docs: add redis configuration changes to the changelog 2025-12-09 18:01:33 +01:00
peaklabs-dev
0305eab706
chore: add redis envs to .env.local.example 2025-12-09 17:51:02 +01:00
peaklabs-dev
feb2200db4
chore(config): expire idle sessions after 1 day 2025-12-09 17:51:02 +01:00
peaklabs-dev
3a2dd35c41
chore(config): remove unused session options 2025-12-09 17:51:02 +01:00
peaklabs-dev
cf081bba5b
chore(config): use redis for sessions
- switch from database stored sessions to redis for improved performance and session TTL
- this allows us to remove the session DB table cleanup job needed on v4
2025-12-09 17:51:02 +01:00
peaklabs-dev
53c2046a9f
chore(config): remove unused caching options 2025-12-09 17:51:01 +01:00
peaklabs-dev
e10096bffe
chore(config): use redis for caching 2025-12-09 17:51:01 +01:00
peaklabs-dev
70b9b33e64
chore(config): configure redis connections
- configure separate redis connections for cache, jobs and sessions which use separate redis databases for easier debugging and separation
2025-12-09 17:51:01 +01:00
🏔️ Peak
b405bf54bf
docs: update changelog (#7548) 2025-12-09 17:46:53 +01:00
🏔️ Peak
adf3598d26
[v5.x] chore(config): configure logging (#7490) 2025-12-04 14:58:05 +01:00
peaklabs-dev
f4f9b2b97f
chore: improve .env.local.example
- reorder the .env file, improve comment and remove some variables
- use LOG_STACK=single for local development
- additionally log deprecations for local development
2025-12-04 14:49:27 +01:00
peaklabs-dev
0114ffac3e
chore(config): setup production logging
- use stderr in addition to the daily logging channel so the laravel logs are passed to the container logs (docker logs)
- use the daily channel with local laravel.log to persist logs to disk for 10 days, ensuring a persistent copy even if the coolify container is removed/ updated
- rotate the logs in production every 10 days and only log warnings, to prevent an excessively large laravel.log file
- keep LOG_LEVEL=debug for the single channel as it will be used in development
2025-12-04 14:47:22 +01:00
peaklabs-dev
9a6d315292
chore(config): remove unused logging options 2025-12-04 14:40:25 +01:00
🏔️ Peak
bfe48c1aa9
[v5.x] chore(config): configure database.php (#7474) 2025-12-03 16:06:24 +01:00
peaklabs-dev
5a20d9fe01
chore(config): add v4 DB as old_pqsql for the upgrade migration 2025-12-03 15:50:33 +01:00
peaklabs-dev
59f9b1a957
chore(config): configure v5 postgres DB 2025-12-03 15:44:14 +01:00
peaklabs-dev
36a22ba582
chore(config): remove unused DBs from database.php 2025-12-03 15:27:51 +01:00
🏔️ Peak
e7349727a7
[v5.x] chore: upgrade all dependencies, configs and tooling (#7445) 2025-12-03 15:04:15 +01:00
peaklabs-dev
4e7f5d07d6
chore(tooling): add --ansi to phpstan composer script 2025-12-03 14:40:29 +01:00
peaklabs-dev
6abf9cff02
chore(tooling): improve phpstan config
- update rules to the latest Larastan and PHPStan version
- group rules with comments for easier updating in the future
- reorder rules and includes
2025-12-03 14:39:39 +01:00
peaklabs-dev
d57c876719
chore: add phpstan cache folder to .dockerignore and .gitignore 2025-12-03 14:35:55 +01:00
peaklabs-dev
c68372fc1e
refactor: apply rector refactoring 2025-12-02 21:17:50 +01:00
peaklabs-dev
5b051cec8d
chore(tooling): improve rector config a lot
- refactored rector laravel usage completely to use sets, which
  reduces imports, adds a few new options and makes everything much
  cleaner
- started using composer-based sets for laravel which applies rules via
  rector laravel based on the laravel version
- removed many unused or now duplicated manually added formatting rules
- removed some rules that are not desired for our coding style
- added some new manual rules that made sense
- removed naming and phpunitCodeQuality prepared set as it caused
issues (naming in DB migrations was changed...)
- added typeDeclarationDocblocks prepared set (experimental)
- added withAttributesSets() option
2025-12-02 20:00:24 +01:00
peaklabs-dev
c02affe975
chore(tooling): add rector caching 2025-12-02 19:56:57 +01:00
peaklabs-dev
1f107efb1f
chore(tooling): update pint formatting rules to CS-Fixer v3.91.1 2025-12-01 23:11:33 +01:00
peaklabs-dev
93cc12a308
test: improve arch test
- add attribute test
- order all test cases and their assertions
- remove unused test case
2025-12-01 23:11:33 +01:00
peaklabs-dev
1582320651
chore(config): update config files to the latest skeleton version 2025-12-01 23:11:33 +01:00
peaklabs-dev
62070253a8
chore: improve root .gitignore
- add more AI files
- add swap files
- ignore public/vendor as it is re-generated on composer install
- rename .env.development to .env.local
2025-12-01 21:47:28 +01:00
peaklabs-dev
b0295ceab2
build: improve .dockerignore
- ignore more AI files
- ignore swap files
- ignore public/vendor as it is re-generated on composer install
2025-12-01 21:47:28 +01:00
peaklabs-dev
bc7850053d
ci: update and improve workflows
- add concurrency groups to cancel the in-progress workflow if a new
one is triggered
- update and pin all action versions to full-length SHAs
- update and pin all dependency versions to specific versions
- ensure git credentials are not persisted when using actions/checkout
2025-12-01 21:47:28 +01:00
peaklabs-dev
4ba465fb2e
chore: improve composer.json
- update description and keywords to the new v5 description and
  keywords
- add --parallel flag to pint for much faster formatting
- update composer scripts to the latest laravel skeleton
  version
- remove unused composer scripts
- bump PHPStan memory limit to 2G as we will need that in the future
2025-12-01 21:47:28 +01:00
peaklabs-dev
a04b98995d
chore(deps): remove peck as it is not working 2025-12-01 21:47:28 +01:00
peaklabs-dev
3128177fea
chore: add schema to package.json and remove name 2025-12-01 21:47:28 +01:00
peaklabs-dev
ee0df7a146
chore(deps): bump all dependencies 2025-12-01 21:47:28 +01:00
peaklabs-dev
dab768211b
refactor: apply rector refactors 2025-11-30 16:58:58 +01:00
peaklabs-dev
c2d584679c
chore(tooling): improve rector config
- remove deprecated strictBooleans set
- order rule sets inside withPreparedSets
2025-11-30 16:58:58 +01:00
peaklabs-dev
ac9ebeb09b
ci: improve security of all workflows 2025-11-30 16:58:58 +01:00
peaklabs-dev
d9f2ab6468
chore: improve local setup until docker is ready 2025-11-30 16:58:58 +01:00
peaklabs-dev
94699e3ac7
docs: add temporary contributing guide 2025-11-30 16:58:58 +01:00
peaklabs-dev
109813cace
ci: improve tests workflow
- add bun audit step
- improve steps naming
- wait on composer validation, bun and composer audit before running the
  test suite
2025-11-30 16:58:58 +01:00
peaklabs-dev
5418502ac8
chore: improve repo root .gitignore 2025-11-30 16:58:58 +01:00
peaklabs-dev
24fdccec4f
docs: add empty v5 changelog 2025-11-30 16:58:58 +01:00
peaklabs-dev
0a3e1477b5
chore(tooling): rename composer scripts for clarity 2025-11-30 16:58:58 +01:00
peaklabs-dev
50ecb2efc4
ci: add tests workflow 2025-11-30 16:58:58 +01:00
peaklabs-dev
c7f18fd489
ci: add optimized stale and lock workflows 2025-11-30 16:58:58 +01:00
peaklabs-dev
25ffcf84f1
chore(repo): add new GitHub Issue templates 2025-11-30 16:58:58 +01:00
peaklabs-dev
fa604f8964
chore: improve storage .gitignore file 2025-11-30 16:58:58 +01:00
peaklabs-dev
495c9a3324
build: add strict .dockerignore file 2025-11-30 16:58:58 +01:00
peaklabs-dev
3f9f400c75
test: improve ArchTest
- add more rules for the entire app
- add Resources rule
- improve existing rules
- adjust formatting
2025-11-30 16:58:58 +01:00