Buster Neece
466f03674d
Update Doctrine ORM to 3.0, DBAL to 4.0 and surrounding dependencies.
2024-03-03 12:44:11 -06:00
Buster Neece
c90b217e73
Fixes #6804 -- Clean up exceptions:
...
- Make more exceptions translated
- Consolidate duplicate exception classes
- Make public-facing exceptions friendlier (don't show "Exception on File LXX" except in console log)
2023-12-17 10:33:17 -06:00
Buster Neece
9fe90b1d3c
Merge commit '8ea5b1b85e9477cd6f1bbff475839b4e88986be5'
2023-12-04 00:48:40 -06:00
Buster Neece
0669d003c9
Bulk rename vars to camelCase (except controllers).
2023-06-08 06:32:32 -05:00
Buster Neece
c8305d5bc9
Make Repository EntityManagerAware.
2023-06-08 04:10:15 -05:00
Buster Neece
d81d068027
Import annotated/attributed classes.
2023-06-08 03:47:59 -05:00
Buster Neece
7d1b987d32
Alphabetize imports.
2023-06-08 02:32:25 -05:00
Buster Neece
9122250823
Final fix for removing "App\Entity" namespace.
2023-06-07 12:54:54 -05:00
Buster Neece
6314fa7a09
Removing "App\Entity" imports, part 3
2023-06-07 11:11:40 -05:00
Buster Neece
13d19511a9
Implement stricter phpcs standards to facilitate entity migration.
2023-06-07 10:36:33 -05:00
Buster Neece
18ad4ad6ef
Implement EntityManagerAwareTrait.
2023-06-06 13:31:52 -05:00
Buster Neece
2be71a2c04
Minor code style fixes.
2023-06-06 05:43:06 -05:00
Buster Neece
643aa75cf9
Update for dependency typehint changes.
2023-05-16 21:26:14 -05:00
Buster Neece
543542db73
Make AuditLogOperation an enum.
2023-05-13 13:26:23 -05:00
Buster Neece
d82f653718
Allow Requests and OnDemand to work without Meilisearch.
2023-02-23 14:04:29 -06:00
Buster Neece
a77bdedf61
Handle library updates.
2023-02-20 07:49:23 -06:00
Buster Neece
884aa1245a
Prevent Queue worker from continuing after multiple errors.
2023-02-20 07:25:42 -06:00
Buster Neece
f2b4dc346a
Revert error cleanup to allow phpstan.
2022-11-23 20:07:55 -06:00
Buster Neece
fe4849521f
Improve clarity of the error that happens when MariaDB fails to boot.
2022-11-23 06:40:31 -06:00
Buster Neece
cb3495fe80
Re-internalize Doctrine batch utilities.
2022-11-13 17:49:44 -06:00
Buster "Silver Eagle" Neece
16fca14476
Make protected functions private where appropriate.
2022-08-22 23:29:04 -05:00
Buster "Silver Eagle" Neece
e0e3001a78
Class finalization part 1.
2022-07-01 01:06:29 -05:00
Buster "Silver Eagle" Neece
fac86b77f2
Merge commit '3de709270d80eda9806162246f1778fd78fa5b99'
2022-06-03 22:39:02 -05:00
Buster "Silver Eagle" Neece
f46314d8c4
Improve accuracy of generics.
2022-05-31 06:41:35 -05:00
Buster "Silver Eagle" Neece
b6767e1bc3
Bug fixes, Repo and CustomAsset cleanup.
2022-05-31 02:50:49 -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
fe87dc2fae
Implement Entity/Repository station helpers.
2022-05-30 01:25:35 -05:00
Buster "Silver Eagle" Neece
db497a61ea
Minor code cleanup and deprecation fixes.
2022-05-17 02:51:00 -05:00
Buster "Silver Eagle" Neece
a9f066602c
Code quality cleanup sweep.
2022-05-08 13:05:02 -05:00
Buster "Silver Eagle" Neece
fc8a2aea08
Move Doctrine EntityNormalizer and batch utilities to external libraries.
2021-11-07 02:20:52 -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
a35b4569ad
#4279 -- Switch to a "read-only" iterator for performance boost.
2021-06-13 02:33:07 -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
b7984a5f75
Switch to attribute for "Station Requires Restart" detection.
2021-05-31 10:16:45 -05:00
Buster "Silver Eagle" Neece
00c4afae50
Move AuditLog classes around and clean up AuditLog handler.
2021-05-30 20:15:34 -05:00
Buster "Silver Eagle" Neece
668724fe1a
Implement Doctrine ORM Annotations ( #4233 )
2021-05-30 13:55:26 -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
f117644649
Apply PHP8-specific improvements.
2021-04-23 00:24:12 -05:00
Buster "Silver Eagle" Neece
acab8806b3
Move to PHP 8.0 ( #4051 )
2021-04-22 21:16:00 -05:00
Buster "Silver Eagle" Neece
f792019bb1
#3893 -- Heavily optimize media processing synchronized task.
2021-04-09 20:25:35 -05:00
Buster "Silver Eagle" Neece
937be1ab21
Refine adapter changes for compatibility.
2021-01-19 15:16:32 -06:00
Buster "Silver Eagle" Neece
c93d888459
Track Unprocessable Media in a separate table to avoid reprocessing it.
2020-12-22 01:10:03 -06:00
Buster "Silver Eagle" Neece
788370d0c0
Switch to Doctrine explicit change tracking for performance.
...
(We've been writing code for years as though this setting were enabled, and yet it's not the default setting, so we were losing performance on large operations for no good reason.)
2020-12-06 14:06:15 -06:00
Buster "Silver Eagle" Neece
e7fee785a0
Entity Manager cleanup tasks.
...
- Make the "refresh" method of the decorated EM a part of a new Reloadable interface and add "refreshAsReference"
- Make all classes use the "IDENTITY" generatedvalue strategy and have nullable IDs
2020-12-05 01:39:05 -06:00
Buster "Silver Eagle" Neece
aed854a17c
Settings overhaul, part 2
...
Make Settings a controlled entity.
2020-12-04 02:41:55 -06:00
Buster "Silver Eagle" Neece
5727f12b6f
Settings refactor part 1: Rename App\Settings to App\Environment.
...
Previously AzuraCast had two very similar `$settings` variables, one that was from environment and the other from the database. This refactor distinguishes the two much more clearly.
2020-12-02 22:18:06 -06: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