4
0
mirror of https://github.com/AzuraCast/AzuraCast.git synced 2024-06-22 17:07:05 +00:00
Commit Graph

315 Commits

Author SHA1 Message Date
Buster "Silver Eagle" Neece
31c34ebbc4
Abstract IP Geolocation services and add DBIP support. 2020-01-22 04:48:02 -06:00
Buster "Silver Eagle" Neece
811a3854b3
#2262 -- Fix the "please wait..." link not changing back. 2020-01-11 00:27:13 -06:00
Buster "Silver Eagle" Neece
ebb6349ae1
Rename Sftp class, use new external auth support. 2020-01-08 13:24:33 -06:00
Buster "Silver Eagle" Neece
e9d8775af6
Switch from FTP to SFTP on Docker installations. 2020-01-05 15:29:56 -06:00
Buster "Silver Eagle" Neece
2be7b27688
Reorder "implode" arguments on role management page. 2019-11-29 22:06:50 -06:00
Buster "Silver Eagle" Neece
b06b8b51e0
Don't log generic HTTP errors. 2019-11-07 13:42:35 -06:00
Buster "Silver Eagle" Neece
a44f9fe0bb
Further dev work on new playlist manager. 2019-11-03 20:19:25 -06:00
Buster "Silver Eagle" Neece
20abb359c0
Create Vue components and move Playlist endpoints to API. 2019-11-03 00:22:00 -06:00
Buster "Silver Eagle" Neece
493edf7f1e
Remove ARIA "button" role on "manage" button to allow multi-tab opening. 2019-10-30 21:20:45 -05:00
Buster "Silver Eagle" Neece
2f03b038f7
Refactor Account/Profile sections and fix #2099 (2FA setup errors). 2019-10-26 18:35:24 -05:00
Buster "Silver Eagle" Neece
7ec33f9efb
Fix FancyBox on media manager. 2019-10-11 01:00:49 -05:00
Buster "Silver Eagle" Neece
ad32e76570
Add custom field selectability and inline media editing. 2019-10-10 16:40:54 -05:00
Buster "Silver Eagle" Neece
77ea555cdb
Create inline media editor. 2019-10-10 04:24:21 -05:00
Buster "Silver Eagle" Neece
1d2ed5fa55
Move file routes to API endpoints and add inline renaming. 2019-10-09 21:13:04 -05:00
Buster "Silver Eagle" Neece
6f428d7da2
Get main media manager, breadcrumbs, toolbar and modals working. 2019-10-06 21:13:19 -05:00
Buster "Silver Eagle" Neece
4048ddcc01
Add bootstrap-vue to assets; finish initial Media Manager buildout. 2019-10-06 04:16:16 -05:00
Buster "Silver Eagle" Neece
e480256276
Initial (non-working) commit of new Vue media manager. 2019-10-06 00:49:04 -05:00
Buster "Silver Eagle" Neece
d79c19c887
#2032 -- Return to using global Vue for drop-in components. 2019-10-04 03:02:53 -05: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
8e49ea60c1
Switch to gettext method of Vue component localization. 2019-10-03 02:11:22 -05:00
Buster "Silver Eagle" Neece
819589cb14
Fixes #2004 -- Add check for whether flash component is injected yet. 2019-09-24 13:31:46 -05:00
Buster "Silver Eagle" Neece
daf78fa738
Move Settings and Logging to static system-wide functions. 2019-09-12 00:31:01 -05:00
Buster "Silver Eagle" Neece
828375ef10
#1952 -- Fix two issues caused by latest refactor. 2019-09-10 18:15:11 -05:00
Buster "Silver Eagle" Neece
64984e459d
One more fix! 2019-09-09 23:19:05 -05:00
Buster "Silver Eagle" Neece
1ae761efd8
More "station_id" rename fixes. 2019-09-09 23:13:11 -05:00
Vaalyn
abf962308a Submit files as array instead of a pipe separated string. Fixes #1932 (#1942) 2019-09-07 06:41:11 -05:00
Buster Neece
1a1a18dfe7
Add integrated FTP upload support. 2019-08-25 17:50:20 -05:00
Buster Neece
56533a51a1
Never use websockets on the homepage for reliability reasons. 2019-08-22 22:07:59 -05:00
Buster Neece
0953182033
Localization Overhaul
- Replace several "add %s", "remove %s", "manage %s" strings with dedicated strings for each action
- Make API responses locale-aware and translated
- Make CLI locale-aware and translated
- Add initial support for Turkish language
2019-08-21 17:34:05 -05:00
Buster Neece
b13752d827
Hide some fields from AuditLog, make it handle entities better, improve table display. 2019-08-15 14:01:00 -05:00
Buster Neece
3384002979
Fixes #1847 -- Also fix request success message. 2019-08-14 19:46:05 -05:00
Buster "Silver Eagle" Neece
37c69afe85
Implement Audit Log (#1859)
Add a new "Audit Logs" table (and corresponding administrative page) that tracks inserts, updates and deletes to important database entries, along with tracking the user who made the change.
2019-08-14 18:50:53 -05:00
Buster Neece
90d0042bb0
#1847 -- Properly show error messages when submitting requests. 2019-08-12 14:51:49 -05:00
Buster Neece
594c5ea8f8
Make the stream list a responsive table 2019-08-11 22:14:12 -05:00
Buster Neece
3a16642645
Fix relay listener count display on profile. 2019-08-10 23:30:01 -05:00
Buster Neece
6b37231f42
Add display and API tracking of listeners per-mount/relay; filter listeners globally. 2019-08-10 23:17:06 -05:00
Buster Neece
a38d24ba43
Switch to using AC Central for IP determination; add IP to streamers page. 2019-08-10 02:45:17 -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
4e36c6dc52
History/Listener report cleanup
- Make both history and listener API endpoints use the station's timezone to determine date ranges
 - Match the header style between history and listener report
 - Remove "votes" from CSV export of History
 - Add CSV export to Listener report
 - Limit showing the map if you have over 1k data points
2019-08-03 12:02:10 -05:00
Buster Neece
730b6344e5
#1808 -- Add unique listeners and TLH to Listeners report. 2019-08-02 22:28:04 -05:00
Buster Neece
5c0a1d1637
Vue component improvements
- Vuetify some profile components
- Prepopulate nowplaying on public players again so they don't depend exclusively on API endpoints
- Show live DJ on public players if one is live
2019-08-01 20:51:19 -05:00
Buster Neece
1a45166002
Add minor delay into client-side processing to make up for instant nchan notification. 2019-08-01 10:39:23 -05:00
Buster Neece
68088fbd05
Create a page showing AzuraRelay instances. 2019-07-31 22:20:06 -05:00
Buster Neece
bc1c2cb871
Allow disabling of websocket updates; improve NP time counter stability. 2019-07-31 13:47:12 -05:00
Buster Neece
0a1d033cfd
Fixes #1790 -- Properly fallback if nchan is disabled. 2019-07-28 13:52:59 -05:00
Buster Neece
c53e1b9407
Add nchan and static nowplaying JSON to 18.04 Ansible. 2019-07-27 19:46:31 -05:00
Buster Neece
bec2880f2c
Use nchan library from npm and directly import into Vue. 2019-07-26 18:51:59 -05:00
Buster Neece
dda8a5183d
Implement better counting method not based on non-cacheable values. 2019-07-26 00:43:34 -05:00
Buster Neece
83f3d407a5
Bring nchan back. 2019-07-25 23:54:25 -05:00
Buster "Silver Eagle" Neece
5d26137435
Updated the port for Shoutcast live connection (#1773)
Updated the port for Shoutcast live connection
2019-07-23 18:53:12 -05:00
Buster "Silver Eagle" Neece
7d687bcca4
Use translatable string. 2019-07-23 18:52:39 -05:00
Buster Neece
a2ed816d60
Media files toolbar updates.
- Vuetify the media files toolbar actions and checkboxes
 - Confirm deletion actions with a modal dialog
 - Add "clear playlists" button back
 - Show visual confirmation of actions
2019-07-23 14:45:23 -05:00
ErnestPH
b212b35c6a Updating instruction for adding Shoutcast Ports 2019-07-23 13:16:57 +08:00
Buster Neece
83797934d2
New generic song image; rounder edges and ARIA on NP profile section. 2019-07-21 00:50:27 -05:00
Buster "Silver Eagle" Neece
288025325b
Added autofocus tag to 2FA key input (#1767)
Added autofocus tag to 2FA key input
2019-07-20 16:07:54 -05:00
Afonso Santos
95969543d6
Added autofocus tag to 2FA key input 2019-07-20 19:40:55 +01:00
Afonso Santos
b6539300ac
Added autofocus tag to email input 2019-07-20 19:34:55 +01:00
Buster Neece
ca6b365a96
Add album art back to nowplaying display on profile. 2019-07-20 01:01:03 -05:00
Buster Neece
b5cd364402
Bring back the AzuraCast AutoDJ (and "Next Song"). 2019-07-17 16:29:21 -05:00
Buster Neece
fb9b09ea45
Closes #1688 -- Prevent users without broadcast permissions from seeing admin credentials on profile. 2019-07-16 14:11:14 -05:00
Buster Neece
3a1faa3887
Add DB migration, entity and editable checks. 2019-07-14 23:47:39 -05:00
Vaalyn
596fcefd51 Fix link to password reset faq 2019-07-12 18:41:28 +02:00
Buster Neece
edd21605c0
Add ability to load an API key in via fixtures. 2019-07-10 14:55:17 -05:00
Buster "Silver Eagle" Neece
623e4ad129
Merge pull request #1726 from ErnestPH/master
Shoutcast port in DJ account documentation as requested by some users #1204
2019-07-08 11:57:06 -05:00
ErnestPH
9db4376452 Shoutcast port in DJ account documentation
Corrected the shoutcast port documentation as requested by several users.
2019-07-07 19:28:03 +08:00
Buster Neece
44c001e103
Fix text color of new system stats section on light theme. 2019-06-27 22:27:29 -05:00
Buster Neece
f29d71b5bc
Add CPU load and total system-wide storage to admin homepage. 2019-06-27 22:25:16 -05:00
Buster Neece
fd01cf78be
Use dirrty jQuery library for more accurate "form is changed" detection. 2019-06-27 16:09:40 -05:00
Buster Neece
8ee4b4dd17
Add current playlist and current live DJ to new station profile On Air display. 2019-06-25 01:24:24 -05:00
Buster Neece
eea56852eb
Consolidate documentation onto site homepage and update relevant links. 2019-06-21 18:27:18 -05:00
Buster Neece
9d51afd6ee
Set timezone in PHP for station pages. 2019-06-05 16:09:32 -05:00
Buster Neece
7f87983ca7
Set station timezone globally on station admin pages. 2019-06-05 16:01:44 -05:00
Buster Neece
20100f0c31
Add station clock to sidebar. 2019-06-03 14:58:44 -05:00
Buster Neece
2e5b829efc
Switch to sortablejs to remove a jQuery dep and fix NPM audit reports. 2019-06-02 19:23:17 -05:00
Buster Neece
19dc5cec0a
Minor stylistic cleanup of tables and 2FA login. 2019-06-02 18:26:10 -05:00
Vaalyn
1bc051b482 Hide empty statistics panel when statistics are disabled - Fixes #1604 (#1605) 2019-05-29 14:04:40 -05:00
Buster Neece
5ec1e0320e
Clean up the avatar and use a material-specific one. 2019-05-27 09:05:43 -05:00
Buster Neece
a9836ba7fd
Further simplify dashboard page, improve notification UI and links. 2019-05-26 22:39:16 -05:00
Buster Neece
d1b2ed7238
Make the dashboard more useful for administrators. 2019-05-26 12:13:16 -05:00
Buster Neece
e83fe3679e
Use the new "background-matching" style on listener report. 2019-05-24 16:52:50 -05:00
Buster Neece
1427811508
Add lightbox to profile page for album art. 2019-05-24 13:14:03 -05:00
Buster Neece
646bc4a6cd
Update dark theme secondary color; create new "-bg" color suffix. 2019-05-24 12:53:52 -05:00
Buster Neece
f13b7d82c2
Slight visual realignment of profile panel items. 2019-05-24 12:21:55 -05:00
Buster Neece
eba777a023
Update extension of example script line. 2019-05-24 11:22:15 -05:00
Buster Neece
9d3e645ca7
#1578 -- Add year dropdowns and avoid 1970 dates. 2019-05-24 10:56:50 -05:00
Buster Neece
1b6070584d
#1579 -- Minor stylistic CSS fixes. 2019-05-24 10:22:27 -05:00
Buster Neece
145475bd75
Use the (often much faster) zip format by default for backups. 2019-05-24 09:58:33 -05:00
Buster Neece
3cc47bc803
Switch to public player for profile page. 2019-05-24 09:10:45 -05:00
Buster "Silver Eagle" Neece
16fc2c54bc
Implement zero-downtime backups + nightly backups (#1574)
* Create new backup and restore commands allowing live backups.
* Switch migrate script to use new backup method.
* Avoid loading fixtures, ensure directories exist when restarting stations.
* Include album art in media backup.
* First portion of automated backup management code.
* Further backup page work; add download/delete functionality.
* Implement automatic backups and "manual run" page.
* Switch automatic backup filename to match text.
* Add new locales.
* Add restore instructions and ability to view latest backup log.
2019-05-23 10:29:22 -05:00
Buster Neece
1b0e7cdde6
Move a majority of form styling to SCSS. 2019-05-19 09:54:34 -05:00
Buster Neece
c86a982c79
Use a prettier theme for leaflet maps. 2019-05-18 22:30:24 -05:00
Buster Neece
39e599c6ca
Switch to leaflet for listener map. 2019-05-18 22:25:34 -05:00
Buster Neece
448e002dee
Switch to charts.js on Reports Overview, remove Highcharts/Highmaps. 2019-05-18 11:05:02 -05:00
Buster Neece
67ba7358b1
Switch to chart.js for homepage charts, add accessible alt values. 2019-05-18 07:06:07 -05:00
Buster Neece
a7754c8b59
Add back form_edit (but don't use it in form_page) for inline forms. 2019-05-17 16:23:42 -05:00
Buster Neece
ca897525ee
Switch tabs and error block to be rendered upfront to avoid FOUC. 2019-05-17 16:16:21 -05:00
Buster Neece
1b9dba8d11
Fix the new error alert on station forms. 2019-05-17 08:48:30 -05:00
Buster Neece
639934155a
#1545 -- Schedule view improvements. 2019-05-15 10:58:38 -05:00
Buster Neece
67f0405fcb
Don't show "between 2:00 and 2:00" if the times are the same. 2019-05-15 09:26:49 -05:00
Buster Neece
e3c677fe54
#1544 -- Properly handle station-local timezone on playlist homepage. 2019-05-15 09:05:32 -05:00
Buster Neece
12e00b5271
Update frontend deps, clean up Utility function calls, switch many things to Moment. 2019-05-14 09:23:06 -05:00
Buster Neece
575d5b5662
Show station time zone when editing playlist. Set TZ in LS directly. 2019-05-14 02:48:41 -05:00
Buster Neece
48427d46a3
Make timezone Station-specific and remove now-unused offset code. 2019-05-13 16:25:36 -05:00
Buster Neece
196df4f17d
Minor stylistic improvements to the Profile panes. 2019-05-10 10:18:51 -05:00
Buster Neece
76532ab336
Fix permission checks on showing certain profile buttons. 2019-05-10 02:26:02 -05:00
Buster Neece
ae166786e2
Fix confirmation text issue and scoot stream buttons closer on profiles. 2019-05-10 01:00:43 -05:00
Buster Neece
4774b5f29c
Design rework of the station profile page. 2019-05-10 00:44:47 -05:00
Vaalyn
3dcc087487 Visual improvements 1 (#1516) 2019-05-08 17:23:26 -05:00
Buster Neece
14fb3aab11
Show total length of songs in playlists (in hh:mm:ss). 2019-05-06 11:53:30 -05:00
Buster Neece
811332d0d2
Improve accessibility of site-wide play controls. 2019-05-04 03:34:14 -05:00
Buster Neece
8ef5fec08c
Rename "Bare-metal" to "Ansible" because it isn't really "bare-metal". 2019-04-30 21:25:49 -05:00
Buster Neece
fbb69eb8ee
#1462 -- Escape all translated text in file manager. 2019-04-22 03:41:35 -05:00
Buster Neece
6ebb9f8e3b
Make inline player a Vue component. 2019-04-16 20:12:25 -05:00
Buster Neece
9897bc901b
Move styles into Vue component. 2019-04-16 03:10:10 -05:00
Buster Neece
39680f6ebb
Make public radio player a standalone Vue component. 2019-04-15 22:00:49 -05:00
Buster "Silver Eagle" Neece
a32d25940e
Merge pull request #1433 from Vaalyn/playlist_sort_drag_alternative
Implement button interface to sort playlist songs for accessibility
2019-04-14 03:26:00 -05:00
Vaalyn
b95076a45f Activate tabbing for request buttons 2019-04-14 03:45:26 +02:00
Vaalyn
7e125546e2 Implement button interface to sort playlist songs for accessibility 2019-04-14 03:11:31 +02:00
Vaalyn
37927e597a encode path to prevent unicode range issues with btoa / atob 2019-04-11 12:47:03 +02:00
Buster Neece
3554d65c75
Move port checker to Validation; create StationCloneForm, etc. 2019-04-09 04:06:44 -05:00
Buster Neece
001e5a2d0b
Make more room on the "On the Air" panel in station profiles. 2019-04-05 01:31:56 -05:00
Buster Neece
59c896a2b8
Minor padding cleanup on station profile. 2019-04-02 20:02:48 -05:00
Buster Neece
ec7f64c89b
#1371 -- Fix Song Listener Impact report. 2019-03-30 17:49:04 -05:00
Buster Neece
188696086c
Finish removing autoplay components. 2019-03-28 08:57:31 -05:00
Buster Neece
d5fb06ba43
Fix playlist pane being a H6 for...some reason... 2019-03-28 08:38:42 -05:00
Buster Neece
1d31bda012
Show once-per-hour description. 2019-03-28 08:02:00 -05:00
Buster Neece
0bf904705f
Add a tiny timeout to make log viewer scrolling work way better. 2019-03-27 00:29:36 -05:00
Buster Neece
c58f020393
Rearrange public player elements. 2019-03-24 19:46:20 -05:00
Buster Neece
8d41dd7891
Smooth out the transition on the now-playing progress bar. 2019-03-24 19:29:45 -05:00
Buster Neece
93612f9468
Remove autoplay. Make stream multiselect entirely Vue-powered. 2019-03-24 19:12:04 -05:00
Buster Neece
21a756aa8d
Rework public players to show richer play progress and stream selector. 2019-03-24 17:07:22 -05:00
Buster Neece
748ade0089
Unify mount form config; make mounts/remotes selectable on public page. 2019-03-24 00:46:54 -05:00
Buster Neece
40abdbcec4
Finish switching to constants for ACL and settings. 2019-03-22 21:41:38 -05:00
Buster Neece
57fe9d9137
Divide playlist form into tabs like station form. 2019-03-20 21:18:38 -05:00
Buster Neece
fefc82e40f
Still show the flex column when there's no time to display. 2019-03-20 18:53:11 -05:00
Buster Neece
3ec3f69714
Change light theme secondary color and #1087 -- Reorganize player layout 2019-03-20 18:46:27 -05:00
Buster Neece
ee49556de9
Show the TOTP URI as a copyable string on the 2FA setup page. 2019-03-20 17:04:05 -05:00
Vaalyn
4dd39a7088 Change mentions of traditional to Bare-metal 2019-03-20 15:07:03 +01:00
Buster Neece
ae68a43883 #753 -- Create "jingle mode" for playlists that hides metadata. 2019-03-14 21:22:09 -05:00
Buster Neece
b053abae04 Finish implementing 2FA in profile and login. 2019-03-14 03:40:02 -05:00
Buster Neece
cea176f536 Layout changes to profile for 2FA. 2019-03-13 20:49:19 -05:00
Buster Neece
7a7b0f2ac8 #1292 #1286 Switch "clear/add" playlist functionality to a single step. 2019-03-12 04:00:29 -05:00
Buster Neece
bfb442df6d Add popper tooltips to some sidebar menu items. 2019-03-10 03:05:16 -05:00
Buster Neece
e65e815812 Fix instances of vertical-align-middle tables. 2019-03-09 17:42:59 -06:00
Buster Neece
8e28a206b9 #741 -- Add quick toggle for playlists to main admin page. 2019-03-09 17:14:46 -06:00
Buster Neece
3140a2300d Rearrange playlists admin section. 2019-03-09 00:33:24 -06:00
Buster Neece
b9e821debd Switch logging to be managed/rotated by Supervisord.
Rationale: under the current system, Supervisord simply pipes its per-process logs out to stdout/stderr on Docker, meaning it has no ability to read back those logs in the case of an error, leading to cryptic error messages like "SPAWN_ERROR" instead of the actual problem. This refactors the logging to be handled by Supervisord, which also is itself capable of log rotation (removing the need for AzuraCast to rotate radio software logs).
2019-03-07 20:01:51 -06:00
Buster Neece
b4e1581da1 Add theme switcher, Help to navbar, form page exit confirmation. 2019-03-06 00:08:42 -06:00
Buster Neece
dad93bb83f Use checkboxes for single-option settings, align language and UX across forms. 2019-03-03 16:23:14 -06:00
Buster Neece
2852502dd2 Clarify language for remote relays. 2019-03-01 18:03:49 -06:00
Buster Neece
2d84ff4afd Fix responsiveness of profile NP updater by cache-busting. 2019-02-28 21:35:32 -06:00
Buster Neece
8768002113 Prevent overlapping NP checks, tweak recheck timeout on profile page. 2019-02-28 18:46:01 -06:00
Buster "Silver Eagle" Neece
7a872d145b Fix reloading on profile, refactor how LS sends feedback to avoid issues. 2019-02-27 13:18:12 -06:00
Buster "Silver Eagle" Neece
0802948036 #1213 -- Fix API calls from sidebar navigation. 2019-02-24 14:09:27 -06:00
Buster "Silver Eagle" Neece
70a9cae223 Fix admin dashboard URL resolution. 2019-02-23 23:29:25 -06:00
Buster "Silver Eagle" Neece
c975e8c081 Make menus configuration-driven so plugins can extend them. 2019-02-23 23:28:01 -06:00
Buster "Silver Eagle" Neece
e2c73c13fd #1180 -- Greatly improve user self-deletion/role management protections. 2019-02-17 18:52:01 -06:00
Buster "Silver Eagle" Neece
d571988daf #1140 -- Flush cache after run of successful uploads. 2019-02-12 23:14:25 -06:00
Vaalyn
5c13f1c2c2 Fix move file path - issue 1140 (#1164)
* Fix path for move files to sub-directories
* Fix move directory modal path and history
2019-02-09 22:32:47 -06:00
Buster "Silver Eagle" Neece
90e792cf15 #1148 -- Add missing translated strings. 2019-02-06 13:29:02 -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
3dc2c039d4 Clean up font sizes of various elements. 2019-01-29 15:34:35 -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
9a31749357 Move templates folder to default. 2019-01-27 14:14:01 -06:00