Commit Graph

37 Commits

Author SHA1 Message Date
Buster Neece 5004f54b96
Fix or individually ignore the errors in the PHPstan baseline. 2023-12-01 01:18:57 -06:00
Buster Neece 0669d003c9
Bulk rename vars to camelCase (except controllers). 2023-06-08 06:32:32 -05:00
Buster Neece 7d1b987d32
Alphabetize imports. 2023-06-08 02:32:25 -05:00
Buster Neece 6314fa7a09
Removing "App\Entity" imports, part 3 2023-06-07 11:11:40 -05:00
Buster Neece 18ad4ad6ef
Implement EntityManagerAwareTrait. 2023-06-06 13:31:52 -05:00
Buster Neece 59adca779e
Refactor StorageLocation adapters/filesystems so they're DI injectable. 2023-04-10 15:51:30 -05:00
Buster Neece 17c032eb17
Remove now-unnecessary type checks. 2023-02-28 14:32:53 -06:00
Buster "Silver Eagle" Neece 1179baab65
Class finalization part 2. 2022-07-01 02:41:04 -05:00
Buster "Silver Eagle" Neece 5b46d13d0d
Code style fixes. 2022-06-19 19:27:59 -05:00
Buster "Silver Eagle" Neece 6278bbd53d
Add support for per-streamer custom artwork. 2022-05-30 23:23:03 -05:00
Buster "Silver Eagle" Neece c720d950d5
Update Monolog; clear other IDE inspection results. 2022-05-17 20:54:44 -05:00
Buster "Silver Eagle" Neece fb3a8a5fc9
Switch PHP translator implementation. 2022-05-07 11:44:14 -05:00
Buster "Silver Eagle" Neece 7d2a58b11d
Dependency Update
Changelogs summary:

 - symfony/doctrine-messenger removed (installed version was v6.0.1)

 - symfony/amqp-messenger removed (installed version was v5.4.0)

 - symfony/serializer updated from v5.4.0 to v6.0.1 major
   See changes: https://github.com/symfony/serializer/compare/v5.4.0...v6.0.1
   Release notes: https://github.com/symfony/serializer/releases/tag/v6.0.1

 - phpunit/phpunit updated from 9.5.10 to 9.5.11 patch
   See changes: https://github.com/sebastianbergmann/phpunit/compare/9.5.10...9.5.11
   Release notes: https://github.com/sebastianbergmann/phpunit/releases/tag/9.5.11

 - codeception/module-rest updated from 2.0.0 to 2.0.1 patch
   See changes: https://github.com/Codeception/module-rest/compare/2.0.0...2.0.1
   Release notes: https://github.com/Codeception/module-rest/releases/tag/2.0.1

 - symfony/filesystem updated from v5.4.0 to v6.0.0 major
   See changes: https://github.com/symfony/filesystem/compare/v5.4.0...v6.0.0
   Release notes: https://github.com/symfony/filesystem/releases/tag/v6.0.0

 - laminas/laminas-stdlib updated from 3.6.2 to 3.6.3 patch
   See changes: https://github.com/laminas/laminas-stdlib/compare/3.6.2...3.6.3
   Release notes: https://github.com/laminas/laminas-stdlib/releases/tag/3.6.3

 - symfony/messenger updated from v5.4.0 to v6.0.1 major
   See changes: https://github.com/symfony/messenger/compare/v5.4.0...v6.0.1
   Release notes: https://github.com/symfony/messenger/releases/tag/v6.0.1

 - symfony/intl updated from v5.4.0 to v6.0.1 major
   See changes: https://github.com/symfony/intl/compare/v5.4.0...v6.0.1
   Release notes: https://github.com/symfony/intl/releases/tag/v6.0.1

 - symfony/mailer updated from v5.4.0 to v6.0.1 major
   See changes: https://github.com/symfony/mailer/compare/v5.4.0...v6.0.1
   Release notes: https://github.com/symfony/mailer/releases/tag/v6.0.1

 - symfony/property-access updated from v5.4.0 to v6.0.0 major
   See changes: https://github.com/symfony/property-access/compare/v5.4.0...v6.0.0
   Release notes: https://github.com/symfony/property-access/releases/tag/v6.0.0

 - symfony/rate-limiter updated from v5.4.0 to v6.0.1 major
   See changes: https://github.com/symfony/rate-limiter/compare/v5.4.0...v6.0.1
   Release notes: https://github.com/symfony/rate-limiter/releases/tag/v6.0.1

 - symfony/redis-messenger updated from v5.4.0 to v6.0.1 major
   See changes: https://github.com/symfony/redis-messenger/compare/v5.4.0...v6.0.1
   Release notes: https://github.com/symfony/redis-messenger/releases/tag/v6.0.1

 - symfony/validator updated from v5.4.1 to v6.0.1 major
   See changes: https://github.com/symfony/validator/compare/v5.4.1...v6.0.1
   Release notes: https://github.com/symfony/validator/releases/tag/v6.0.1
2021-12-25 20:36:55 -06:00
Buster "Silver Eagle" Neece 79b1bc5c4a
PHPStan upgrade and new baseline.
Changelogs summary:

 - phpstan/phpstan updated from 0.12.96 to 1.0.1 major
   See changes: https://github.com/phpstan/phpstan/compare/0.12.96...1.0.1
   Release notes: https://github.com/phpstan/phpstan/releases/tag/1.0.1

 - phpstan/phpstan-doctrine updated from 0.12.44 to 1.0.1 major
   See changes: https://github.com/phpstan/phpstan-doctrine/compare/0.12.44...1.0.1
   Release notes: https://github.com/phpstan/phpstan-doctrine/releases/tag/1.0.1
2021-11-02 23:12:02 -05:00
Buster "Silver Eagle" Neece 5cbacd5df6
System-Wide Strict Types (#4405) 2021-07-19 00:53:45 -05:00
Buster "Silver Eagle" Neece a320c1a6a0
More code cleanup. 2021-06-09 22:22:13 -05:00
Buster "Silver Eagle" Neece 3f23efa076
PHP code style fixes. 2021-06-08 01:40:49 -05:00
Buster "Silver Eagle" Neece 668724fe1a
Implement Doctrine ORM Annotations (#4233) 2021-05-30 13:55:26 -05:00
Buster "Silver Eagle" Neece 6bdcbf2a1c
Fixes #4049 -- Prevent creating duplicate storage locations. 2021-05-06 15:13:28 -05:00
Buster "Silver Eagle" Neece e893a93981
Routine PHP 8 code inspection sweep
- Removing explicit calls to default values
 - Add strict parameter arguments
 - Use PHP8 built-in functions when possible
2021-04-23 17:12:47 -05:00
Buster "Silver Eagle" Neece 55087ccb07
Fix validation order of operations on StationStreamer. 2021-04-21 03:41:31 -05:00
Buster "Silver Eagle" Neece 9e682083b5
Move validation strings lower so they will always be translated. 2021-04-21 02:57:06 -05:00
Buster "Silver Eagle" Neece 21bcb0dc98
Fixes #4033 -- Add pre-DB duplicate entity validation to entities. 2021-04-21 02:37:47 -05:00
Buster "Silver Eagle" Neece ed1d3263ef
Add unique entity validator to avoid DB unique violation errors. 2021-04-21 00:27:05 -05:00
Buster "Silver Eagle" Neece 6de636f475
Unified Filesystem Overhaul (#3341)
This migration adds "Storage Locations", managed via a new System Administration panel, that can hold Station Media data, live broadcast recordings, and backups. These storage locations can be local (as they are by default) or remote via any S3-compatible service.
2020-11-09 21:06:48 -06:00
Vaalyn 9a94e6a178
Add PHPCS for code style checks (#3273) 2020-10-14 17:19:31 -05:00
Buster "Silver Eagle" Neece 63e0040e8f
Bump static analysis level and make strict type fixes. 2020-08-31 17:32:30 -05:00
Buster "Silver Eagle" Neece 4804e2f710
Make Backend and Frontend config collections, avoiding "magic strings". 2020-05-02 02:58:59 -05:00
Buster "Silver Eagle" Neece ca9c5db39d
New feature: Track broadcasts and record them. (#2353)
* Add form entries and LS config writing for live stream recording.

* Create new Broadcast entity; implement new djon/djoff handling.

* Rework record command procedure and add Station relation to Broadcast.

* Run code reformat on JS to add semicolons back.

* Properly save recording path on entity.

* Initial commit of new streamers Vue component.

* Finish frontend Vue dev and add necessary API endpoints.

* Add loader to Datatable; update npm deps; polish on components.
2020-01-28 20:23:55 -06:00
Buster "Silver Eagle" Neece 8e08b7b798
Remove now-redundant PHPDoc blocks that don't add context. 2019-12-07 17:42:23 -06:00
Buster "Silver Eagle" Neece 1a6d1d620d
Add PHP 7.4 type hinting everywhere except Entities. 2019-12-07 06:19:49 -06:00
Buster "Silver Eagle" Neece bd42b64de0
Add spaces to phpdoc blocks and optimize imports. 2019-09-20 11:44:38 -05:00
Buster "Silver Eagle" Neece 513d04f7d2
Code cleanup! 2019-09-04 13:00:51 -05:00
Buster "Silver Eagle" Neece 639dddf989
Slim PHP Framework 4 Update (#1822)
Implement an upgrade of the codebase to use Slim Framework version 4, which includes the following changes:
 - Updating to Slim version 4 and the corresponding AzuraCore updates.
 - Making all objects PSR-7 Request/Response agnostic (and creating RequestHelper and ResponseHelper objects to interact with the PSR-7 Req/Resp objects).
 - Moving to PHP-DI as a DI container and implementing its autowiring support.
2019-08-06 23:33:55 -05:00
Vaalyn a57cdf48c3 Fix usage of wrong variable and add validation for n+1 port 2019-04-29 12:37:16 +02:00
Buster Neece 3554d65c75
Move port checker to Validation; create StationCloneForm, etc. 2019-04-09 04:06:44 -05:00
Buster Neece aff86b23c8
Begin switching to Symfony validators for API parity. 2019-04-08 01:43:08 -05:00