1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00
Commit Graph

2197 Commits

Author SHA1 Message Date
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
7a3eb6f530 Fix: Push ICY metadata from upstream servers into the format's vc block 2020-10-11 13:18:18 +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
5ca6747db0 Merge branch 'feature-json-renderer' 2020-10-11 09:01:01 +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
4cec193029 Feature: Unify generic xml2json rendering with <icestats>, <iceresponse>, and report xml 2020-10-10 20:59:38 +00:00
Philipp Schafft
77ea98730b Feature: Added support for JSON rendering of report xml 2020-10-10 20:59:38 +00:00
Philipp Schafft
ea5b21b58c Feature: Added support for definition, and akindof to handle_node_identification() 2020-10-10 20:59:38 +00:00
Philipp Schafft
c900f0b18f Fix: Set xmlns for <icestats> in reports 2020-10-10 20:59:38 +00:00
Philipp Schafft
4a54efbc46 Feature: Include node identification for <iceresponse> messages 2020-10-10 20:59:38 +00:00
Philipp Schafft
36ff987e89 Feature: Unified node identification in a single function 2020-10-10 20:59:38 +00:00
Philipp Schafft
cc13aba182 Feature: Added constants for XML namespaces 2020-10-10 20:59:38 +00:00
Philipp Schafft
a8a3207cce Feature: Added node for node identification 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
2a4ed04671 Feature: Handle <max_listeners> and <authenticator> nicer 2020-10-10 20:59:38 +00:00
Philipp Schafft
02e9c048d0 Fix: Handle bytes >= 0x80 correctly 2020-10-10 20:59:37 +00:00
Philipp Schafft
61d68a13b4 Fix: Report sources correctly 2020-10-10 20:59:37 +00:00
Philipp Schafft
3af23324f0 Feature: Added that much of a XSPF -> JSPF renderer as we need 2020-10-10 20:59:37 +00:00
Philipp Schafft
758a67c475 Update: More aggressively use workaround for xmlns as property 2020-10-10 20:59:37 +00:00
Philipp Schafft
b9652444ff Feature: Workaround for xmlns set as property 2020-10-10 20:59:37 +00:00
Philipp Schafft
30f9e89e26 Feature: Added a basic renderer for <icestats> 2020-10-10 20:59:37 +00:00
Philipp Schafft
9be721723c Feature: Added function for writing boolean XML nodes as JSON 2020-10-10 20:59:37 +00:00
Philipp Schafft
adef1ef38e Feature: Added support for a container object holding a list of XML nodes 2020-10-10 20:59:37 +00:00
Philipp Schafft
7a9d42209e Update: Generify the render_node_legacyresponse() code a bit 2020-10-10 20:59:37 +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
236c0dfa56 Feature: Added a renderer for <iceresponse>-style XML 2020-10-10 20:59:37 +00:00
Philipp Schafft
6fc7f21a11 Feature: Improved logic for selecting a specific renderer 2020-10-10 20:59:37 +00:00
Philipp Schafft
1666b478a1 Update: Only set namespace for reportxml if not used for XSLT 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
2130a80f70 Update: Changed xml2json_render_doc_simple's signature 2020-10-10 20:59:36 +00:00
Philipp Schafft
c7be3122db Feature: Added super basic logic for namespace based render selecting 2020-10-10 20:59:36 +00:00
Philipp Schafft
b44df0da76 Feature: Support JSON mapping for all reportxml based outputs 2020-10-10 20:59:36 +00:00
Philipp Schafft
deaad3246c Feature: Assign ADMIN_FORMAT_JSON 2020-10-10 20:59:36 +00:00
Philipp Schafft
731ac5c8e6 Feature: Added a basic outline of how converting could happen with a first generic mapping format 2020-10-10 20:59:36 +00:00
Philipp Schafft
395b994707 Fix: Set namespace correctly for child nodes 2020-10-10 20:59:36 +00:00
Philipp Schafft
34fa9f0ce3 Fix: Export xmlns as namespace not property 2020-10-10 20:59:36 +00:00
Philipp Schafft
7b5f52d77d Fix: Corrected memory allocator 2020-10-10 20:59:36 +00:00
Philipp Schafft
4cab251919 Feature: Added stub src/xml2json.[ch] 2020-10-10 20:59:36 +00:00
Philipp Schafft
dccf0e046a Feature: Added comments/docs for JSON renderer in the header 2020-10-10 20:59:36 +00:00
Philipp Schafft
9afbfcf40e Update: Made json_renderer_finish() take a pointer to the renderer 2020-10-10 20:59:35 +00:00
Philipp Schafft
2400df01ca Feature: Implement JSON renderer 2020-10-10 20:59:35 +00:00
Philipp Schafft
5a72f70dcb Feature: Outlined basic API 2020-10-10 20:59:35 +00:00
Philipp Schafft
261ee12c04 Feature: Added stub src/json.[ch] 2020-10-10 20:59:35 +00:00
Philipp Schafft
96d6190dbf Fix: Re-implemented <no-mount>.
Closes: #2335
2020-10-10 13:44:37 +00:00
Philipp Schafft
b9d00301e7 Update: Reformated code attaching a listener to a source 2020-10-10 13:21:19 +00:00
Philipp Schafft
3a6a7f6b5a Fix: Fixed usage of <shoutcast-compat> with <shoutcast-mount>.
Closes: #2363
2020-10-10 12:49:42 +00:00
Philipp Schafft
ac6a7e047f Fix: Corrected link to stats.xsl 2020-10-10 12:15:10 +00:00