Commit Graph

219 Commits

Author SHA1 Message Date
Arthur Parienté
22c548c7ad
[7.x] Add log viewer (#1972)a
* add opcodesio/log-viewer

* set up with custom permission

---------

Co-authored-by: Nabeel S. <nabeelio@users.noreply.github.com>
2025-01-31 20:56:50 -06:00
Nabeel S.
e29adf51f9
Squash migrations (#1940)
* Cleanup old migrations

Squash them all into a single migration file.

* Update collation/charset

* Remove collation from binary column

* Apply automatic changes

* Restore old migrations

* Update the charset migration

* Add FK checks

* Remove extra migration file

---------

Co-authored-by: nabeelio <99736+nabeelio@users.noreply.github.com>
2025-01-13 11:12:34 -06:00
Nabeel S.
273cb86bc5
Add Laravel Pint linting (#1933)
* Run linter

* Run Pint in github action

* Run the linter verbose
2025-01-11 17:03:03 -06:00
Nabeel Shahzad
4b30923850
Add Laravel Pint 2025-01-11 12:34:44 -06:00
Arthur Parienté
a1b94e99dd
Add docker for production (#1914)
* Add docker for production

* Add custom dockerfile

* Add trusted proxies

* Add mariadb client (required for backups)

* swap prod and dev docker compose names

* remove sample module

* Add .env.example

* Add support for installer to handle existing .env file and create only DB entries

* Add some documentation about the docker stack

* Align user and group variable names with sail conventions

* Fix tests

* Apply fixes from StyleCI

* Update composer.lock

* remove default db credentials from .env.example

* upgrade nesbot/carbon

---------

Co-authored-by: arthurpar06 <arthurpar06@users.noreply.github.com>
2025-01-09 11:02:55 -06:00
Arthur Parienté
e29f1651e8
Upgrade packages (for security reasons) (#1917)
* Upgrade packages (for security reasons)

* Upgrade some npm packages
2024-12-26 12:03:21 -06:00
Arthur Parienté
edeed76d6b
Upgrade Dependencies (#1839)
* Fix CVEs in phpseclib

* Fix CVEs in composer

---------

Co-authored-by: Nabeel S. <nabeelio@users.noreply.github.com>
2024-07-15 15:41:02 -05:00
Taylor Broad
8e2828821e
Add MailerSend Mail Provider (#1832)
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
2024-07-03 16:37:28 -04:00
Arthur Parienté
2693acab8a
Add IVAO OAuth (#1828)
* Add IVAO OAuth

* Apply fixes from StyleCI

* Fix OAuthTest

* Update composer.lock

---------

Co-authored-by: arthurpar06 <arthurpar06@users.noreply.github.com>
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
2024-07-02 09:45:50 -04:00
Arthur Parienté
d39eb77159
VATSIM OAuth (#1761)
* Add socialiteproviders/vatsim

* Add vatsim_id field

* Fix OAuthTest

* Add vatsim to OAuthController

* Add vatsim login button

* Apply fixes from StyleCI

* Add vatsim profile buttons

* Add vatsim_id to sortable array in User

* Update composer.lock

* Update composer.lock

* Update composer.lock

* Update composer.lock

* Update composer.lock

* Update composer.lock

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
2024-07-01 13:25:23 -04:00
Nabeel S
523c78b023
Revert "Add IVAO OAuth (#1818)" (#1827)
This reverts commit 2285b78e9e.
2024-07-01 13:16:54 -04:00
Arthur Parienté
2285b78e9e
Add IVAO OAuth (#1818)
* Add IVAO OAuth

* Apply fixes from StyleCI

* Fix OAuthTest

---------

Co-authored-by: arthurpar06 <arthurpar06@users.noreply.github.com>
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
2024-07-01 13:16:14 -04:00
Arthur Parienté
43a59450b2
Bump composer to 2.7 and above (#1774)
* Bump composer to 2.7 and above

* Update composer.lock

* Update composer.lock

* Update composer.lock

* Update composer.lock
2024-03-06 16:07:25 -06:00
Arthur Parienté
55cb0e0e68
Add activity logger (#1755)
* Apply fixes from StyleCI

* Add spatie/laravel-activitylog

* Add admin interface for activities

* Disable activity logging in api routes

* Add activity watcher to models

* Add clean up command

* Apply fixes from StyleCI

* Remove activities from menu if activity logger is disabled

* Fix migrations structure

* Apply fixes from StyleCI

* Fix tests

* Fix display of changes if newValue is an array

* Disable activity logger for frontend routes

* Enable activity logger only in admin routes

* Apply fixes from StyleCI

* Update composer.lock

* Update composer.lock

* Update composer.lock

* Update composer.lock

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
2024-03-05 14:19:22 -06:00
Arthur Parienté
1f5b83ba31
Replace semver/semver by nikolaposa/version (#1754)
* Apply fixes from StyleCI

* Replace semver/semver by nikolaposa/version

* Update composer.lock

* Update composer.lock

* Update composer.lock

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
2024-03-05 10:50:39 -06:00
Arthur Parienté
143d927e6e
Add support for PHP83 (#1763)
* Add PHP83 to build

* Upgrade minimum laravel version

* Use PHP83 in sail

* Fix drop_user_oauth_tokens_foreign_keys with sqlite (tests)

* Add themeEngine to ThemeViewFinder

* Fix deprecated null value for first parameter of str_contains in Rank

* Upgrade jmikola/geojson to fix deprecated warnings

* Fix null parameter to DateTimeImmutable deprecated

* Upgrade santigarcor/laratrust to fix deprecation warnings

* Update composer.lock

* Fix warning in CommaDelimitedCast.php

* Update composer.lock

---------

Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
2024-02-28 11:32:16 -06:00
Arthur Parienté
110e6b584b
Upgrade to PHPUnit 10 (#1764)
* Remove sempro/phpunit-pretty-print

* Bump PHPUnit dependencies

* Bump nunomaduro/collision and filp/whoops

* Update phpunit.xml

* Change setUp to protected

* Remove --verbose option

* Update phpunit.xml

* Remove Bootstrap

* Add types in tests

* Make tests class final

* Remove unused variables

* Add .phpunit.cache to .gitignore

* Apply fixes from StyleCI

* Update phpunit.xml

* Break tests (to test CI/CD)

* Revert "Break tests (to test CI/CD)"

This reverts commit 928b199bc4ee09238f83f33cc7c12304992368ab.

* Update composer.lock

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
2024-02-21 13:43:35 -06:00
B.Fatih KOZ
2822801c93
S3 and SFTP filesystem support (#1768)
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
2024-02-05 14:16:38 -06:00
Arthur Parienté
af80e76365
Use Markdown in discord notifications (#1743)
* Add league/html-to-markdown

* Convert HTML to Markdown in NewsAdded notification

* Apply fixes from StyleCI

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
2024-01-23 16:44:20 -06:00
Arthur Parienté
a2b8b0472c
Postmark Mailer Support (#1727)
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
2023-12-19 11:54:56 -06:00
Arthur Parienté
8e0e8f7995
Add Discord OAuth (#1714)
* Add discord OAuth

* Remove the ability to edit discord_id

* Update OAuthController

* Apply fixes from StyleCI

* Update discord redirect url

* Retrieve the discord_private_channel_id in OAuthController

* Apply fixes from StyleCI

* Move discord token to config

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
2023-12-14 10:09:35 -06:00
Arthur Parienté
0b28217ad2
Add Laravel Backup (#1692)
* Add Laravel Backup

* Schedule backup automatically if enabled

* Apply fixes from StyleCI

* Disable success notifications by default for backups

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
2023-11-27 11:19:34 -06:00
Nabeel S
cbeb5e6106
Composer dependency updates (#1633) 2023-10-17 15:29:56 -05:00
dependabot[bot]
d7bd515477
Bump composer/composer from 2.3.10 to 2.6.4 (#1619)
Bumps [composer/composer](https://github.com/composer/composer) from 2.3.10 to 2.6.4.
- [Release notes](https://github.com/composer/composer/releases)
- [Changelog](https://github.com/composer/composer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/composer/composer/compare/2.3.10...2.6.4)

---
updated-dependencies:
- dependency-name: composer/composer
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
2023-10-03 19:06:01 -04:00
Arthur Parienté
f7d23f8122
Laravel Sail (#1598)
* Use laravel sail

* Fix composer.json indents

* Use memory driver for phpunit

* Fix composer.json indents (again)

* Make laravel sail a require-dev

* Do not rewrite config files when running migrations

---------

Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
2023-08-23 18:25:14 -05:00
Arthur Parienté
05278ae388
Use arthurpar06's fork of igaster/laravel-theme (#1595) 2023-08-22 16:44:16 -05:00
Nabeel S
072d295d31
Add data migrations which can run post structural migrations (#1594)
* Add data migrations which can run post structural migrations

* Style fixes

* Change order
2023-08-22 13:58:55 -05:00
B.Fatih KOZ
89988cb2da
Sortable Columns (#1576)
* install dependency

* FontAwesome5 compatible config

* Models

* Controllers

* Blades

* StyleCI Fixes

* Another StyleCI Fix
2023-08-14 13:08:41 -05:00
arthurpar06
16a31d2b82
Upgrade to Laravel 10 (#1546)
* Update dependencies

* Update to Laratrust v8

* Update public path declaration

* Add return types in Unit and Metar

* Laravel 10 changes

* New types for Controllers

* Update gh actions to php 81

* Fix dbal version

* Style CI

* Style CI

* Fix new public path

* Fix view:cache command not working

* Fix laratrust new methods

* Upgrade PHP Domain Parser

* Update some more controller parameters

* Style fixes

---------

Co-authored-by: Nabeel Shahzad <nabeelio@users.noreply.github.com>
2023-06-21 11:34:11 -05:00
Nabeel S
0e21035fee
Explicitly call the awards check #1418 (#1531) 2023-03-28 14:00:49 -05:00
Nabeel S
695ab3a90d
Dependency updates (#1473)
* Update PHP dependencies

* Update NPM modules

* Fix dependency versions
2022-08-15 12:55:36 -04:00
Nabeel S
12848091a2
Laravel 9 Update (#1413)
Update to Laravel 9 and PHP 8+

Co-authored-by: B.Fatih KOZ <fatih.koz@gmail.com>
2022-03-14 11:45:18 -04:00
Nabeel S
6cfbd91328
Update package versions (#1399)
* Update dependencies

* Symfony components downgrade

* Restrict symfony versions with meta package

* Downgrade valuestore

* Symfony versions

* More downgrades

* Package versions

* Package versions
2022-02-08 11:12:39 -05:00
Nabeel S
a3f110c0c0
Add PHP 8.1 to shims and build (#1365)
* Add PHP 8.1 to shims and build

* Lock psr/container version

* Lock psr version

* Restrict symfony component versions

* Downgrade event-dispatcher-contracts

* Update more package versions

* php-cs fixes

* style fix

* cs-fixer file fix

* Exclude resources dir from cs fixer

* Ignore cs fixer env check

* Update league/csv
2021-12-03 09:23:59 -05:00
B.Fatih KOZ
52e716d6ee
Type Ratings | New Feature (#1360)
* Type Ratings

Adding "Type Rating" definition and assignment possibility to v7 core.

* Update ProfileController.php

* StyleFix 1

* Update settings.yml

Change description text as requested
2021-11-30 14:36:17 -05:00
Nabeel S
85703e1aff
Update composer dependencies (#1337) 2021-10-25 11:38:32 -04:00
Nabeel S
6eb883de73
Dependency updates (#1274)
* Dependency updates

* Downgrade league/commonmark to 1.6
2021-08-08 11:48:45 -04:00
Nabeel Shahzad
b4e33bb37e Update akaunting money library 2021-06-10 09:08:41 -04:00
Nabeel S
9b2e466b7e
Discord notifications for PIREP and News events #433 (#1215)
* Discord notifications for events #433

* Style fixes

* Check for blank webhook urls and disable

* Cleanup items after review

* Changes and fixes

* Style fixes

* Don't load env for testing

* Fix status text

* Refactor saving fields/fares so events get the latest data

* Cleanup

* Style fixes
2021-06-04 10:51:59 -04:00
Nabeel S
e7bbd6cccb
Use queues for notifications #1154 (#1174)
* Use queues for notifications #1154

* Styles

* Update defaults

* Include queueworker
2021-05-20 11:54:07 -04:00
Nabeel Shahzad
fe7120e21a Add PHP 7.4 polyfill 2021-05-20 08:55:55 -04:00
Nabeel S
7cb9ae4ec3
intl dependency/polyfill updates (#1194) 2021-05-19 13:57:28 -04:00
Nabeel S
ee61de62fa
Update to PHP 8 (#1118)
* Update to PHP 8

* Update composer file

* Remove PHP 8 incompatible library

* Remove PHP 8 incompatible library
2021-05-11 18:46:21 -04:00
nabeelio
f1c54bcc7c Add Postmark package #1067 2021-03-08 11:35:11 -05:00
nabeelio
70a4cf9f90 Remove the laravel-backup library 2021-03-05 07:33:42 -05:00
Nabeel S
3800c01d94
Update to Laravel 8 (#1058)
* Update Laravel and other dependencies

* Composer version in CI

* Remove the PHP exit from env file

* Add PHP 8 to testing matrix

* Update doctrine

* Update doctrine

* Update faker lib

* Rewrite TLD check to remove deprecated library

* Update version lib

* Remove PHP 8 for now

* Style fixes
2021-03-04 17:08:51 -05:00
Nabeel Shahzad
942c060c99 Added opcache package 2021-02-17 14:44:41 -05:00
Yash Govekar
5803487d51
Installing and managing modules from admin panel (#847) 2020-10-19 10:10:28 -04:00
Nabeel S
1db3295213
Disable autocomplete in admin forms #816 (#817) 2020-09-10 16:42:11 -04:00
Nabeel S
3d211535f7
Remove Google Analytics #728 (#745)
* Remove Google Analytics #728

* Remove config file

* Don't set the vacentral url
2020-06-04 10:36:55 -04:00