Commit Graph

25 Commits

Author SHA1 Message Date
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 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 7441d13472
Refactor Acl to be part of the request lifecycle. 2021-01-11 05:08:06 -06:00
Buster "Silver Eagle" Neece 731f16a494
Update raw DQL queries across the system to improve readability. 2020-12-01 18:36:09 -06:00
Vaalyn 9a94e6a178
Add PHPCS for code style checks (#3273) 2020-10-14 17:19:31 -05:00
Buster "Silver Eagle" Neece 4bcfad3eb5
Updates preparing for Doctrine 3.0
- Switch to EntityManagerInterface for EM uses
 - Wrap EntityManager in close-resilient wrapper
 - Close/clear/reopen EM with every request
 - Rework tests to be em->clear() resilient.
2020-06-26 15:22:53 -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 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 e0ef021875
Fix bugs identified by static analysis. 2019-09-29 16:57:48 -05: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 Neece 122254432e
Manually mark relays as updated to avoid unnecessary cleanup routine. 2019-08-12 00:03:00 -05:00
Buster Neece 9f14df40d2
Prevent relays from constantly unlisting/relisting. 2019-08-11 11:33:57 -05:00
Buster Neece 4dbfc60167
Add bitrate and format to AzuraRelays. 2019-08-10 12:38:08 -05:00
Buster Neece 2f8ab5544a
Switch back to Request/Response decorators. 2019-08-09 10:00:21 -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
Buster Neece 64319c220e
Update relay API endpoint to match others. 2019-07-25 12:58:50 -05:00
Buster Neece d9b6dae58b
Set Remote instance to properly associate with Relay. 2019-07-15 20:35:13 -05:00
Buster Neece ffcf01adc8
Fix migration, add POST relay update and remote adapter. 2019-07-15 18:47:05 -05:00
Buster Neece 3a1faa3887
Add DB migration, entity and editable checks. 2019-07-14 23:47:39 -05:00
Buster Neece 419d524744
Add new relays API endpoint and fix response docs on some other endpoints. 2019-07-10 12:45:54 -05:00