1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-23 06:25:24 +00:00
Commit Graph

185 Commits

Author SHA1 Message Date
Philipp Schafft
d2225f10b7 Feature: Warn about unknown, and obsolete tags in config 2021-07-26 15:11:05 +00:00
Philipp Schafft
d497412b58 Feature: Export client history as part of stats XML 2021-07-26 15:05:55 +00:00
Philipp Schafft
f2edcdb0ff Update: Made NAVIGATION_DIRECTION_REPLACE_ALL the default for move of clients 2021-07-26 15:05:55 +00:00
Philipp Schafft
704df45ce5 Feature: Added support to give navigation direction via admin call for command_move_clients() 2021-07-26 15:05:54 +00:00
Philipp Schafft
a5f7b621c0 Feature: Work around and warn user if no PRNG seeds are configured 2021-07-26 15:05:04 +00:00
Philipp Schafft
355d7e976b Feature: Allow client altering on auth fail and acl deny
This adds the following tags to the config file below <role>:
* <on-failed-action>:   Action to take on auth fail
* <on-failed-argument>: Argument for action on auth fail
* <on-deny-action>:     Action to take on acl deny
* <on-deny-argument>:   Argument for action on acl deny

All client alter actions are supported. The corresponding
auth does not need to have the permission for those operations.

Notes:
    Likely <on-deny-*> should be moved below <acl>, See: #2351

Closes: #1272
2020-10-18 16:10:26 +00:00
Philipp Schafft
c3340dd73d Fix: Handle safe HTTP methods in unsafe context correctly
Closes: #2398
2020-10-15 15:23:52 +00:00
Philipp Schafft
e43fd645c1 Feature: Support names for ACLs
Closes: #2347
2020-10-15 14:20:09 +00:00
Philipp Schafft
2e377a3e31 Feature: Handle gracefully when a logfile is not configured 2020-10-15 08:57:20 +00:00
Philipp Schafft
1c6d6ae67b Feature: Support loading maintainance entries for dashboard from database 2020-10-14 10:50:03 +00:00
Philipp Schafft
0fb71d4b98 Update: Corrected dashboard generation, but still needs some more updates 2020-10-13 06:07:28 +00:00
Philipp Schafft
ff34cd0522 Cleanup: Replaced html_success()'s own data sending with client_send_buffer() 2020-10-12 19:55:55 +00:00
Philipp Schafft
55b6378023 Cleanup: Unified code sending responses to client some 2020-10-12 18:23:11 +00:00
Philipp Schafft
ea6dd6954a Feature: Added new admin command publicstats with a public view of the stats 2020-10-11 14:50:30 +00:00
Philipp Schafft
d388ef1feb Fix: Send correct <iceresponse> for admin command manageauth
Note: This is only done in operation mode strict and for JSON output
      to avoid breaking older clients.
2020-10-11 10:03:22 +00:00
Philipp Schafft
9ad34f97ad Feature: Added JSON output for admin command manageauth 2020-10-11 08:51:38 +00:00
Philipp Schafft
5e9feb611a Feature: Added JSON output for admin commands listclients, listmounts, streamlist, moveclients, and updatemetadata 2020-10-11 08:18:55 +00:00
Philipp Schafft
25f23c4192 Feature: Added JSON output for admin commands showlog and dashboard 2020-10-10 20:59:39 +00:00
Philipp Schafft
cc13aba182 Feature: Added constants for XML namespaces 2020-10-10 20:59:38 +00:00
Philipp Schafft
f52d7ae077 Feature: Added experimental STATS_JSON_REQUEST "stats.json" 2020-10-10 20:59:38 +00:00
Philipp Schafft
6ba8ab1db5 Update: Use different xmlns depending on root node 2020-10-10 20:59:38 +00:00
Philipp Schafft
3fd16ac834 Feature: Added support for JSON output on <iceresponse>-style XML commands 2020-10-10 20:59:37 +00:00
Philipp Schafft
5045271d3c Feature: Added infrastructure to send JSON as part of admin/ 2020-10-10 20:59:36 +00:00
Philipp Schafft
114a8b6b88 Update: Converted whether or not to show listeners in stats to a flag 2020-10-09 16:01:24 +00:00
Philipp Schafft
5eb09ca5de Update: Convert stats_get_xml() to take flags 2020-10-09 15:43:57 +00:00
Philipp Schafft
196a6170cc Feature: Pass query parameters to admin/ui/ templates 2020-10-09 11:10:51 +00:00
Philipp Schafft
12806c0853 Update: Added client_protocol_from_string() and client_protocol_to_string() 2020-10-03 18:35:40 +00:00
Philipp Schafft
d6fcedd5b8 Fix: Unref report after sending it 2020-10-03 11:57:27 +00:00
Philipp Schafft
d7f8911510 Feature: Added support for /admin/ui/ 2020-10-03 11:56:06 +00:00
Philipp Schafft
45818ae8bd Feature: Made the set fallback feature accessable via web interface
Not exactly new year, but at least German Unity Day.
2020-10-03 10:28:52 +00:00
Philipp Schafft
4da6d6e243 Update: Use helper functions for reportxml 2020-10-03 09:10:15 +00:00
Philipp Schafft
b1c4b9ac49 Update: Updated copyright statements 2020-10-03 08:44:37 +00:00
Philipp Schafft
205489932d Update: Support a standard response for html_success() users in operation mode = strict 2020-10-03 08:18:10 +00:00
Philipp Schafft
48ff5ae0bf Cleanup: Replaced strdup-and-free with util_replace_string 2020-10-03 08:12:57 +00:00
Philipp Schafft
ddb94982b8 Cleanup: Removed demo Lorem ipsum 2020-10-03 08:00:39 +00:00
Philipp Schafft
c12cb226f1 Feature: Select default content for admin page via operation mode 2020-10-03 07:44:57 +00:00
Philipp Schafft
5da8971b2e Feature: Added a basic dashboard 2020-10-02 21:30:11 +00:00
Philipp Schafft
59efa2689c Cleanup: Made sending ADMIN_XSL_RESPONSE style responses much more uniform 2020-10-02 14:17:47 +00:00
Philipp Schafft
0c29ddd915 Feature: Added support to write a mark to the logfiles.
Note: This currently excludes the access.log

Closes: #2343
2020-10-02 13:36:22 +00:00
Philipp Schafft
fce09e5788 Update: Replaced some %s with %H 2020-10-02 13:06:28 +00:00
Philipp Schafft
72fbe999e2 Feature: Support updates of metadata URL via admin interface
Thanks to Joakim Lagerqvist.

Closes: #2385
2020-10-02 13:01:36 +00:00
Philipp Schafft
4896d73d3a Feature: Added support for logfile display in admin/ 2020-10-02 11:40:59 +00:00
Philipp Schafft
47dd475f12 Feature: Only show selected mounts in status display 2020-10-02 11:38:39 +00:00
Philipp Schafft
c6bb70d99b Feature: Include content-type in mount info for metadata updates 2020-10-02 11:38:39 +00:00
Philipp Schafft
2bf77f2012 Feature: Support moving individual clients between mounts 2020-09-30 19:47:05 +00:00
Philipp Schafft
d92c9758a6 Feature: Prepare for support to move single clients 2020-09-30 18:03:18 +00:00
Marvin Scholz
3352ddfb36 Cleanup: Remove redundant check
It's already checked earlier if auth is non-NULL, so this check
here is not needed.
2020-04-19 03:28:21 +02:00
Philipp Schafft
fff3a5c6a6 Update: Write a error level message on admin/ based metadata updates we reject 2019-05-28 07:52:47 +00:00
Philipp Schafft
9a4491e43a Feature: Report Host:-header in <listener> 2018-09-20 09:30:49 +00:00
Philipp Schafft
4d7a60d588 Feature: Added basic support for auth backends to manipulate the client 2018-09-19 13:32:58 +00:00