Commit Graph

75 Commits

Author SHA1 Message Date
Buster Neece 9fe90b1d3c
Merge commit '8ea5b1b85e9477cd6f1bbff475839b4e88986be5' 2023-12-04 00:48:40 -06:00
Buster Neece fd6a98dac0
Fix type checks, consolidate some widespread props. 2023-07-28 06:42:30 -05:00
Vaalyn eeb85fba8e
Implement styling feedback (#6408)
* Styling adjustments

* Also install dev dependencies in frontend build container

* Fix bg color of list-groups

* Fix min-height for custom CSS/JS text areas

* Add margin
2023-07-09 08:29:36 -05:00
Buster Neece 996bc43773
Fix unused variable. 2023-06-26 05:42:27 -05:00
Buster Neece de656fbaa2
Make theme switching browser-based and instant. 2023-06-26 05:33:20 -05:00
Buster Neece be877d8a30
Removing "App\Entity" imports, part 1 2023-06-07 07:18:05 -05:00
Buster Neece cbc6a1f4fc
Add EnvironmentAwareTrait. 2023-06-07 01:25:57 -05:00
Buster Neece 2be71a2c04
Minor code style fixes. 2023-06-06 05:43:06 -05:00
Buster Neece a81a15318f
Switch Settings enums. 2023-05-15 17:13:25 -05:00
Buster Neece 496d4d2c78
Update User theme to be enum. 2023-05-14 20:28:09 -05:00
Buster Neece a5bf63ed49
Add per-station branding support. 2023-01-03 16:55:49 -06:00
Buster Neece 7bb7e28fa4
Use webp in several places to save significantly on file size. 2022-11-22 02:02:19 -06:00
Buster Neece 3068f7c4e7
Fix errors with Webhooks and error templates. 2022-11-17 09:13:41 -06:00
Buster Neece 9911239e89
Remove nchan, using static JSON as the high-performance option for Now Playing updates. 2022-11-10 16:53:23 -06:00
Buster "Silver Eagle" Neece 1179baab65
Class finalization part 2. 2022-07-01 02:41:04 -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 a9f066602c
Code quality cleanup sweep. 2022-05-08 13:05:02 -05:00
Buster "Silver Eagle" Neece 0e1efbc88e
Updates to remove unnecessary back-compat checks. 2022-05-03 15:10:16 -05:00
Buster "Silver Eagle" Neece ce0e9cc78d
Introduce two new enums. 2022-01-16 22:45:07 -06:00
Buster "Silver Eagle" Neece b23f28ab2a
Merge commit 'e6397a893da04c0a28c2306d39233b8a072e54e0' 2022-01-07 02:26:40 -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 1182a8dbdf
Fix a possible XSS issue on public pages. 2021-08-27 19:46:33 -05:00
Buster "Silver Eagle" Neece 7750fa6be8
User-Uploaded Custom Assets (#4437) 2021-07-30 01:20:14 -05:00
Buster "Silver Eagle" Neece 5cbacd5df6
System-Wide Strict Types (#4405) 2021-07-19 00:53:45 -05:00
Buster "Silver Eagle" Neece ef7989fcfd
Implement PHP Docker Installer (#4377) 2021-07-08 15:03:54 -05:00
Buster "Silver Eagle" Neece e5eeb2b631
Make the default theme automatically determined by the browser (if possible). 2021-04-29 07:01:41 -05:00
Buster "Silver Eagle" Neece f117644649
Apply PHP8-specific improvements. 2021-04-23 00:24:12 -05:00
Buster "Silver Eagle" Neece c24f5dfc69
Implement SMTP Mail Delivery and Self-Service Password Reset (#3848) 2021-02-27 20:50:45 -06:00
Buster "Silver Eagle" Neece c146166eb5
#3558 -- Expand support for browser-determined locale. 2020-12-13 07:59:44 -06:00
Buster "Silver Eagle" Neece 4aa1902dae
#3525 -- Rework settings to be fetched on-demand to avoid collisions. 2020-12-10 16:46:03 -06:00
Buster "Silver Eagle" Neece 0a8c41542d
Make environment immutable and strictly use function calls. 2020-12-06 05:57:39 -06:00
Buster "Silver Eagle" Neece bf1e4f2591
Simplify Environment class and dependencies. 2020-12-06 01:55:25 -06:00
Buster "Silver Eagle" Neece b3efbe8494
Make Environment in charge of more env vars and simplify initialization. 2020-12-05 09:18:44 -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 37c54e4937
Cache/Config changes for testing. 2020-10-25 04:53:52 -05:00
Vaalyn 9a94e6a178
Add PHPCS for code style checks (#3273) 2020-10-14 17:19:31 -05:00
Buster "Silver Eagle" Neece f822d83cda
Remove non-functional Timezone utility class. 2020-10-09 16:31:48 -05:00
Buster "Silver Eagle" Neece 5e29c2f043
Fix tests with pull requests. (#3187)
* Remove redundant test log.
* Set function return type on tests.
* Don't manage translations on branch/PR requests.
* Separate locale and static asset steps.
* Make sure npm ci runs even when translations don't run.
2020-09-20 12:49:41 -05:00
Vaalyn 2a3f715a9d
Add frontend test case to check if user based locale is working correctly (#3160)
* Fixed user based locale not working bug due to calling initLocale() before getting user

* Add frontend test case to check if user based locale works correctly

* Look for logged in user's e-mail instead of the word "Logged In" in tests.

* Don't overwrite the LANG env var with user locale.

Co-authored-by: Buster "Silver Eagle" Neece <buster@busterneece.com>
2020-09-20 12:10:05 -05:00
Vaalyn b6532082e2
Fixed user based locale not working bug due to calling initLocale() before getting user (#3149) 2020-09-10 17:37:07 -05:00
Buster "Silver Eagle" Neece b572b3dbc7
Allow "?theme=(dark/light)" query parameter on public pages. 2020-07-13 00:57:24 -05:00
Buster "Silver Eagle" Neece c313d6bac0
Cleanup Customization class. 2020-07-10 03:17:51 -05:00
Buster "Silver Eagle" Neece 6f66ff072b
Make Auth and Customization PSR-7 lifecycle friendly. 2020-07-09 23:15:27 -05:00
Buster "Silver Eagle" Neece 2abb8bf623
Routine code cleanup. 2020-07-08 02:03:50 -05:00
Buster "Silver Eagle" Neece 945b4a83df
Implement per-station default album artwork. 2020-05-02 20:28:08 -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 e0efde8612
Move Webcaster deps locally and switch Vue-i18n to Vue-gettext. 2019-10-03 22:12:15 -05:00
Buster "Silver Eagle" Neece cdccaecbf5
Avoid loading Doctrine during CLI (allowing cache clear). 2019-09-29 16:26:46 -05:00