Commit graph

13929 commits

Author SHA1 Message Date
peaklabs-dev
e800bc97bc
chore(config): remove unused queue connections 2025-12-16 17:08:59 +01:00
🏔️ Peak
eadf63477e
chore(config): remove unused file cache store (#7646) 2025-12-16 14:59:38 +01:00
🏔️ Peak
da96c7885c
chore: configure auth (#7571) 2025-12-11 17:51:50 +01:00
peaklabs-dev
dd5219f474
docs: add v5.x-chore/configure-auth changes to changelog 2025-12-11 17:44:43 +01:00
peaklabs-dev
95b2809e84
docs: replace "from" with "previously" in changelog 2025-12-11 17:39:34 +01:00
peaklabs-dev
f8a02e1605
test: improve ArchTest for models
- remove toOnlyUse() from model ArchTest as it is too strict in some cases
- ignore scopes as they do not have to extend Model::class
2025-12-11 17:39:25 +01:00
peaklabs-dev
285c6dd10a
chore(config): expire password reset tokens after 10min 2025-12-11 17:38:26 +01:00
peaklabs-dev
5e4eae13ae
test(auth): add UserFactory for testing 2025-12-11 17:38:15 +01:00
peaklabs-dev
60388a832c
feat(auth): add user model 2025-12-11 17:38:05 +01:00
peaklabs-dev
b77d404673
feat(auth): create users and password_reset_tokens table 2025-12-11 17:37:53 +01:00
peaklabs-dev
0c92d19eb7
chore(config): remove unused bcrypt hashing options 2025-12-10 17:40:36 +01:00
🏔️ 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