1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-11-03 04:17:17 -05:00
Commit Graph

1506 Commits

Author SHA1 Message Date
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
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
1a5359025c Fix: Do not allow the source to set random stats values'
If your software depends on those values you likely want to
use the corresponding audio_*-values.
2020-10-09 15:24:31 +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
19b830e0d8 Feature: Support matching strings 2020-10-03 11:30:09 +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
b01cb8d4e7 Feature: Added some basic helpers 2020-10-03 09:01:26 +00:00
Philipp Schafft
44af32bac5 Feature: Added stub src/reportxml_helper.[ch] 2020-10-03 08:51:22 +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