Commit Graph

2635 Commits

Author SHA1 Message Date
Buster "Silver Eagle" Neece 2bdc233997 Change cache dir for Travis. 2019-01-31 14:48:17 -06:00
Buster "Silver Eagle" Neece cc237004db Expand aliases for Travis CI so it isn't so wordy 2019-01-31 14:37:42 -06:00
Buster "Silver Eagle" Neece 7fa44db264 More minor code fixes, add linting to CI and docker.sh script. 2019-01-31 14:29:45 -06:00
Buster "Silver Eagle" Neece 8a6701403a Code and PHPDoc cleanup to green-light level 2 static analysis. 2019-01-31 11:54:17 -06:00
Buster "Silver Eagle" Neece fae265b9c8 Make the CI phpstan level match, as it won't detect the ignored errors. 2019-01-30 23:32:57 -06:00
Buster "Silver Eagle" Neece 4b8c157b6c Code cleanup from static analysis. 2019-01-30 23:25:55 -06:00
Buster "Silver Eagle" Neece 91c334ffff Create PHPStan bootstrap file, integrate into Travis CI. 2019-01-30 21:36:07 -06:00
Vaalyn a174c3ba5b Add phpstan as dev dependency (#1130)
* Add PHPStan as dev dependency with configuration

* Remove TODO
2019-01-30 20:49:36 -06:00
Vaalyn 251fbfa26b Fix issues found with PHPStan (#1127)
* Fix access to an undefined property

* Fix usage of undefined variable

* Fix undefined class Throwable error

* Fix undefined class Throwable error

* Fix undefined class Throwable error

* Fix class not found error and remove unused class import

* Remove usage and instantiation of non-existent controller

* Remove implicit declaration of property that is not used
2019-01-30 13:30:47 -06:00
Buster "Silver Eagle" Neece fda0f0424d #1125 -- Fix type-casting when saving fade/overlap data on media. 2019-01-29 23:25:46 -06:00
Buster "Silver Eagle" Neece 395bc2aa86 Remove redundant "getNextSong" code replaced by AutoDJ class. 2019-01-29 22:51:20 -06:00
Buster "Silver Eagle" Neece 72c4d3ab44 #1115 -- Make DJ mount point configurable. 2019-01-29 18:25:41 -06:00
Buster "Silver Eagle" Neece ea160925af #1113 -- Add history API endpoint to the official docs. 2019-01-29 16:32:32 -06:00
Vaalyn 52d0afc1cf Add missing parameter to function call (#1124) 2019-01-29 15:36:57 -06:00
Buster "Silver Eagle" Neece 3dc2c039d4 Clean up font sizes of various elements. 2019-01-29 15:34:35 -06:00
Buster "Silver Eagle" Neece ae08cd3a1f Bring back containerized static asset builds, but better! 2019-01-29 15:23:38 -06:00
Buster "Silver Eagle" Neece 7cbf50489e More attempted fixes to the download issue. 2019-01-28 20:50:59 -06:00
Buster "Silver Eagle" Neece 5be47350aa Fix download/preview headers so they send proper responses. 2019-01-28 20:29:27 -06:00
Buster "Silver Eagle" Neece cfec5a2463 Make the storage quota a loadable fixture. 2019-01-28 18:44:25 -06:00
Buster "Silver Eagle" Neece c8338f1ffd Don't default to the partition size if the used size is zero. 2019-01-28 17:08:12 -06:00
Buster "Silver Eagle" Neece e65f3786e6 Fix error caused by directories being "sizeless". 2019-01-28 16:48:05 -06:00
Buster "Silver Eagle" Neece c1f2017052
Implement #368 -- Add administrator-set storage quotas to individual stations. (#1122)
* Implement station quotas at DB level, switch to big-int math for checks.
* Update AzuraCore
* No longer try to auto-typecast fields (let the setters do that).
* Implement admin form, fix Flow error displays, implement checking/adding quota.
* Decrement from quota when a file is deleted.
* More robust handling of empty values.
2019-01-28 14:47:19 -06:00
Buster "Silver Eagle" Neece fa586d1048 Update locale functionality to reference correct folder. 2019-01-27 14:24:16 -06:00
Buster "Silver Eagle" Neece 9a31749357 Move templates folder to default. 2019-01-27 14:14:01 -06:00
Buster "Silver Eagle" Neece bf0341d900 Create administrator-editable-only sections of unified station profile. 2019-01-27 00:14:19 -06:00
Buster "Silver Eagle" Neece d61dd12859 Consolidate station form handling and prevent erroneous local broadcast attempts. 2019-01-26 14:38:36 -06:00
Buster "Silver Eagle" Neece b845a88350 #1108 -- Make "is_public" selectable for remote relays. 2019-01-24 07:59:08 -06:00
Buster "Silver Eagle" Neece 29c8ba2077 Disable station administrator role for demo account. 2019-01-23 20:05:38 -06:00
Buster "Silver Eagle" Neece 5e93b1a824 #1104 -- Avoid using PHP short tag syntax. 2019-01-23 18:23:45 -06:00
Buster "Silver Eagle" Neece 39db6f4882 #1105 -- Add user-configurable CORS ACAO header setting. 2019-01-23 15:59:25 -06:00
Buster "Silver Eagle" Neece 2c25b3559f #1106 -- Add "web" to the list of exempted base URLs 2019-01-23 10:53:33 -06:00
Buster "Silver Eagle" Neece d2ee9c1eaa #1111 -- Don't force-restart disabled stations. 2019-01-21 20:24:39 -06:00
Vaalyn c9648df718 Fix PHP opening tag in station profile template - fixes #1109 (#1110)
This PR fixes the error reported in issue #1109
2019-01-21 09:21:56 -06:00
Buster "Silver Eagle" Neece ab76e652b6 Minor Composer deps update. 2019-01-17 19:23:14 -06:00
Buster "Silver Eagle" Neece de2bf10bcd Properly display and handle offline stations again. 2019-01-17 07:11:04 -06:00
Buster "Silver Eagle" Neece c5639fd423 Further improvements on handling restarts for stations. 2019-01-17 07:10:54 -06:00
Buster "Silver Eagle" Neece 401890cbf9 Fix docker.sh references to old image names. 2019-01-17 07:10:25 -06:00
Buster "Silver Eagle" Neece 3820aa58ef Avoid reloading the page if the user is on a form. 2019-01-17 07:10:11 -06:00
Buster "Silver Eagle" Neece 1d1ad667fe Composer dependencies update. 2019-01-17 07:09:59 -06:00
Buster "Silver Eagle" Neece 73547b5c55 Significantly improve the service restart process; add live service status check on profile. 2019-01-16 08:53:04 -06:00
Buster "Silver Eagle" Neece 601f488726 Fix LE connect and renewal functions and path of SSL certs in stations container. 2019-01-14 10:14:24 -06:00
Buster "Silver Eagle" Neece a0354d276d Fix image reference in the testing dockerfile. 2019-01-14 05:49:36 -06:00
Buster "Silver Eagle" Neece d71ce65173 Update unit tests to reflect unified web container. 2019-01-14 05:44:51 -06:00
Buster "Silver Eagle" Neece 6fc1e1e8ea Move to a unified Web container. 2019-01-14 05:36:17 -06:00
Buster "Silver Eagle" Neece fefbb5d573 #1094 -- Better filtering of non-duplicated values during station cloning. 2019-01-10 02:05:56 -06:00
Buster "Silver Eagle" Neece 981a09483d Finish settings API endpoint; move form styling to static assets. 2019-01-09 12:57:23 -06:00
Buster "Silver Eagle" Neece 5680f47355 #1088 -- Graceful error handling for IP address errors on Maxmind. 2019-01-06 06:05:41 -06:00
Buster "Silver Eagle" Neece 5cb5909e89 Add custom fields API endpoint. 2019-01-06 05:32:05 -06:00
Buster "Silver Eagle" Neece 2ad28872b2 Add settings/branding API endpoint and docs. 2019-01-06 02:57:09 -06:00
Buster "Silver Eagle" Neece 872145342d Permission optimization to avoid unnecessary DI. 2019-01-05 09:25:20 -06:00