Commit Graph

3177 Commits

Author SHA1 Message Date
Arthur Parienté
fb01c23e98
fix: add ext-zip as a requirement in the installer (#2083) 2025-08-21 11:06:28 -05:00
Arthur Parienté
76114aaf2e
fix: simbrief generate url (#2082) 2025-08-21 11:06:11 -05:00
Arthur Parienté
0695ed0823
chore(phpstan): setup and add level 1 (#2073)
* wip

* refactor: phpstan level 1

* refactor: how the amount of people per fare is passed in the simbrief resource

* ci: add phpstan

* refactor: phpstan level 2

* fix: new avatar column name

* refactor: rollback avatar column name

* fix: type in FareService
2025-08-20 11:32:48 -05:00
Arthur Hetem
035eb3d5e4
fix: transfer_time conversion on user edit page (#2076) 2025-08-19 10:43:07 -05:00
Arthur Parienté
b07d4ef718
fix: AirlinesTable (#2070)
fix the leading / when no iata code is set and the searchable columns
2025-08-15 09:48:51 -05:00
Arthur Parienté
ff81d332b8
fix: LookupAction (#2071)
The country code should be lowercases
2025-08-15 09:48:39 -05:00
Arthur Parienté
57e258f3b7
ci: build assets during pipeline instead of committing them (#2072)
* chore: remove compiled assets

* build: build assets in dockerfile

* build: update docker-compose.example.yml instead of docker-compose.yml

* ci: build assets in build.yml

* ci: build assets once composer packages are installed
2025-08-15 09:45:14 -05:00
Arthur Parienté
896a2571c1
fix: section badges in installer (#2069)
* fix: section badges in installer

* fix: php_binary detection

* fix: display a warning instead of changing the app key

changing the application key is not possible in docker installs
2025-08-14 15:40:49 -05:00
Nabeel Shahzad
07b0ac416b
fix: update docker-compose.example.yml to use named volumes for uploads and storage
Signed-off-by: Nabeel Shahzad <nabeelio@users.noreply.github.com>
2025-08-14 15:06:30 -05:00
Nabeel Shahzad
81a8d29e57
fix: update docker-compose.example.yml to use correct image reference
Signed-off-by: Nabeel Shahzad <nabeelio@users.noreply.github.com>
2025-08-14 13:47:02 -05:00
Nabeel Shahzad
9e7652e3bd
fix: update Dockerfile to correct database directory path
Signed-off-by: Nabeel Shahzad <nabeelio@users.noreply.github.com>
2025-08-14 12:46:43 -05:00
Nabeel Shahzad
ce5122dcad
fix: correct major-minor version tag pattern in build.yml
Signed-off-by: Nabeel Shahzad <nabeelio@users.noreply.github.com>
2025-08-14 12:42:47 -05:00
Nabeel Shahzad
cc61c48595
feat: add major-minor version tag pattern to build.yml
Signed-off-by: Nabeel Shahzad <nabeelio@users.noreply.github.com>
2025-08-14 12:38:52 -05:00
Arthur Parienté
b3ef038cbb
build: update packages (#2068)
* build: update packages

* build: update composer.lock
2025-08-14 12:36:57 -05:00
Arthur Parienté
5aa4f0d3e3
feat: reintroduce ide-helper (#2067)
* feat: add back ide-helper

* feat: add model phpdocs

* feat: generate ide-helper automatically after composer update
2025-08-14 10:15:37 -05:00
Nabeel Shahzad
0c628532ab
fix: update lint.yml to correct comment syntax
Signed-off-by: Nabeel Shahzad <nabeelio@users.noreply.github.com>
2025-08-14 09:53:50 -05:00
Arthur Parienté
8ed048811d
ci: run pint in parallel mode (#2066) 2025-08-14 09:53:26 -05:00
Arthur Parienté
89cefb9342
refactor: move database folder to root and add dedicated routes directory (#2065)
* refactor: move routes to the routes folder

* refactor: move database to the root level

* fix: factories in tests

---------

Co-authored-by: Nabeel S. <99736+nabeelio@users.noreply.github.com>
2025-08-13 17:01:54 -05:00
Nabeel Shahzad
f7c42e3eb8
feat: add major-minor version tag to Docker image build process
Signed-off-by: Nabeel Shahzad <nabeelio@users.noreply.github.com>
2025-08-13 14:35:13 -05:00
Nabeel Shahzad
7dabb3b7a2
feat: integrate Laravel Pint for code style checks in CI workflows
Signed-off-by: Nabeel Shahzad <nabeelio@users.noreply.github.com>
2025-08-13 14:32:49 -05:00
Nabeel Shahzad
1095c979d8
Update Docker tag strategy to use semantic versioning
Switch from edge tagging to semantic versioning using NBGV_SemVer2. This provides more consistent and meaningful version tags, improving image traceability.

Signed-off-by: Nabeel Shahzad <nabeelio@users.noreply.github.com>
2025-08-13 14:25:45 -05:00
Nabeel Shahzad
a8a6589c23
fix: comment out IMAGE_NAME export in version script
Signed-off-by: Nabeel Shahzad <nabeelio@users.noreply.github.com>
2025-08-13 13:33:51 -05:00
Nabeel Shahzad
8b860bc34c
feat: add caching for composer dependencies in build.yml
Signed-off-by: Nabeel Shahzad <nabeelio@users.noreply.github.com>
2025-08-13 12:04:11 -05:00
Nabeel Shahzad
7419a6dc34
fix: update branch reference in build.yml from 'mains' to 'main'
Signed-off-by: Nabeel Shahzad <nabeelio@users.noreply.github.com>
2025-08-13 11:55:22 -05:00
Nabeel Shahzad
3b573692be
fix: update branch reference in build.yml from 'dev' to 'mains'
Signed-off-by: Nabeel Shahzad <nabeelio@users.noreply.github.com>
2025-08-13 11:49:21 -05:00
Nabeel Shahzad
814331eb7c
feat: add IMAGE_NAME environment variable for tagged releases
Signed-off-by: Nabeel Shahzad <nabeelio@users.noreply.github.com>
2025-08-13 11:43:22 -05:00
Nabeel Shahzad
fc4aa898f6
feat: add IMAGE_NAME to environment variables in version script
Signed-off-by: Nabeel Shahzad <nabeelio@users.noreply.github.com>
2025-08-13 11:42:59 -05:00
Nabeel Shahzad
c8ea090911
fix: update filename generation to use branch name
Signed-off-by: Nabeel Shahzad <nabeelio@users.noreply.github.com>
2025-08-13 11:39:11 -05:00
Nabeel Shahzad
e3771e087d
chore: remove outdated release notes step and add GitVersioning configuration
Signed-off-by: Nabeel Shahzad <nabeelio@users.noreply.github.com>
2025-08-13 11:33:05 -05:00
Arthur Parienté
a715ddf486
feat(admin): upgrade to Filament v4 (#2062)
* remove filament-clusters

* upgrade livewire

* remove coolsam modules and resolve modules providers before filament

* update dependencies

* run upgrade script

* refactor: module links plugin

* refactor: version widget

* refactor: admin panel

* refactor: create custom theme to use tailwindcss classes

* feat: add language switcher plugin

* refactor: migrate ActivityLogResource

* refactor: migrate SimBriefAirframes

* refactor: migrate AirlineResource

* refactor: translate FilesRelationManager

* refactor: migrate AirportResource

* refactor: translate FilesRelationManager

* refactor: translate ExpensesRelationManager

* refactor: migrate AwardResource

* refactor: migrate ExpenseResource

* refactor: migrate FareResource

* refactor: migrate FlightResource

* refactor: migrate InviteResource

* refactor: migrate ModuleResource

* refactor: migrate PageResource

* refactor: migrate PirepFieldResource

* refactor: migrate PirepResource

* refactor: some translations in the FlightResource

* refactor: migrate RankResource

* refactor: migrate SubfleetResource

* refactor: migrate AircraftResource

* refactor: migrate TyperatingResource

* refactor: migrate UserFieldResource

* refactor: migrate UserResource

* refactor: remove the emptyStateActions

* refactor: migrate Finances

* fix: SimBriefAirframe

* refactor: migrate Maintenance

* refactor: migrate Settings

* refactor: remove old pages views

* refactor: NavigationGroups

* feat: upgrade SystemPanel, Update page and add streamed response to migrations

* fix: canAccess in Updater

* feat: upgrade the whole SystemPanel

* remove tests migrations (oops)

* refactor: remove system theme

* chore: update filament

* fix: role system and custom permission generator

* fix: airport translation

* feat: translate dashboard widgets

* fix: version major number

* refactor: update IconColumn boolean

* chore: upgrade to vite v7 and fix some CVEs

* feat: run pint in parallel and add rector to pre-commit

* chore: downgrade openspout to support php 82

* feat(admin): add prefetching

* fix(pre-commit): run pint only on staged files

* fix(seeds): in_progress.yml seeds

* refactor: add full type coverage to admin

* fix: permissions in PirepFieldsAction and UserFieldsAction

* refactor: translation for PIREPs Fields

---------

Co-authored-by: Nabeel S. <99736+nabeelio@users.noreply.github.com>
2025-08-13 10:20:23 -05:00
Fikret Anıl Haksever
2efc938435
fix: flights.scripts breaking view chain (#2061) 2025-08-13 10:08:26 -05:00
B.Fatih KOZ
357d25b29f
Fix Fuel (#2056) 2025-07-11 11:49:29 -05:00
Taylor Broad
4de347424e
fix: owner type is null (#2055) 2025-07-11 11:47:46 -05:00
Arthur Parienté
9bf5473a70
[8.x] migrate to pest (#2048)
* update packages

* add type coverage

* more pest plugins

* update ci

* fix parallel testing

* run rector
2025-06-21 10:57:51 -05:00
Arthur Parienté
2872572d7a
fix module links (#2045) 2025-05-09 09:07:00 -05:00
Arthur Parienté
f18b2a8505
fix user events in EditUser (#2046) 2025-05-09 09:05:57 -05:00
Arthur Parienté
c146b0811a
add some failsafes to the finances page (#2047) 2025-05-09 09:05:33 -05:00
Arthur Parienté
2da56e8117
[8.x] Apply policies only to filament (#2043)
* Move policies

* update guessPolicyNamesUsing

* wip

* Run pint

* update packages

* refactor RolePolicy

* update composer.lock
2025-05-08 11:30:32 -05:00
Arthur Parienté
64b2ef98c0
hotfix: upgrade filament (#2044) 2025-05-08 11:13:47 -05:00
Arthur Parienté
56ee63d86b
[8.x] Laravel 12 Upgrade (#2031)
* Upgrade to Laravel 12

* update packages

---------

Co-authored-by: Nabeel S. <99736+nabeelio@users.noreply.github.com>
2025-05-07 09:07:58 -05:00
Arthur Parienté
b69979ef1e
Merge branch 'feature/8.0' (#2041)
* Run rector

* Run rector
2025-05-05 19:58:37 -05:00
B.Fatih KOZ
b277fef206
Update Notification (PirepFiled) (#2036)
* Update PirepFiled.php

Do not load relationships of the `pirep` model while using it for notifications.

* Update NotificationEventsHandler.php

Add `->withoutRelations()` call to outgoing mails

---------

Co-authored-by: Nabeel S. <99736+nabeelio@users.noreply.github.com>
2025-05-05 11:57:26 -05:00
Nabeel Shahzad
00c6942e73
Merge remote-tracking branch 'origin/feature/8.0'
# Conflicts:
#	.github/version.yml
#	app/Console/Commands/Version.php
#	app/Database/seeds/permissions.yml
#	app/Http/Controllers/Admin/UserController.php
#	app/Models/UserOAuthToken.php
#	app/Providers/AuthServiceProvider.php
#	composer.json
#	composer.lock
#	config/version.yml
#	modules/Sample/Providers/SampleServiceProvider.php
#	resources/views/admin/menu.blade.php
#	resources/views/layouts/seven/nav.blade.php
#	version.json
2025-05-05 11:14:06 -05:00
B.Fatih KOZ
37d10d59c5
Update PirepFiled.php (#2036)
Do not load relationships of the `pirep` model while using it for notifications.
2025-03-29 16:28:44 -05:00
Arthur Parienté
0311fcc9d1
[8.x] Upgrade to phpunit11 (#2024)
* update to phpunit 11

* Update composer.lock
2025-03-14 12:28:45 -05:00
Arthur Parienté
2546c5cf22
[8.x] Add composer run dev command (#2009)
* Add basic composer run dev

* Update composer.lock
2025-03-14 12:26:44 -05:00
Arthur Parienté
4a7b628e83
Add Pre-Commit Hooks (#1993)
* Add pre commit hooks

* Fix hooks registration

* Fix hooks permissions

* Test pre commit hooks

* Update pint workflow

---------

Co-authored-by: Nabeel S. <99736+nabeelio@users.noreply.github.com>
2025-03-14 11:46:46 -05:00
Arthur Parienté
51294bb23b
Aircraft's FIN should be unique (#2015) 2025-03-14 11:39:31 -05:00
Arthur Parienté
28e2d33b88
[8.x] Add RectorPHP (#1986)
* Add rector

* Remove cache

* Run rector again

* Run pint

* Run Rector in CI

* Update composer.lock
2025-03-14 11:38:16 -05:00
Arthur Parienté
a991363559
[8.x] Bump laravel version (#2025)
* Bump laravel version

* Run pint
2025-03-13 11:50:43 -05:00