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

51 Commits

Author SHA1 Message Date
Philipp Schafft
3dd8bdbf40 Feature: display playlist 2015-11-28 18:11:01 +00:00
Thomas B. Ruecker
56bbc0d12c Fix issue with only "-" and whitespace in element
Fixes: #2198

If there is a single "-" or it is only accompanied by whitespace, then
it wouldn't get escaped as it was detected as as a number. This would
produce invalid JSON.
This makes the numbers part ignore such and thus ensures it gets escaped
as text.

There might be other corner cases related to number parsing, this should be investigated.
2015-05-25 12:56:45 +00:00
Thomas B. Ruecker
0b1ac3e9d5 Essential part of upstream pull req No. 20
https://github.com/doekman/xml2json-xslt/pull/20

 Some numeric values would not get formatted to valid JSON. This
 incorporates the suggestions from issue #15.

Also fixed whitespace of original patch.
Additional fix for related issue will follow.
2015-05-25 12:56:45 +00:00
Thomas B. Ruecker
b914a4a9dc Hide listener information by default. 2015-01-16 06:23:25 +00:00
Thomas B. Ruecker
f90fb78ba0 Define webdir and admindir in each file for now 2014-12-30 12:56:09 +00:00
Marvin Scholz
1d8e128320 Preparations for new webinterface design 2014-12-29 16:32:52 +01:00
Thomas B. Ruecker
cbc0ae46d8 Favicon was missing from the Makefile 2014-12-26 11:02:10 +00:00
Thomas B. "dm8tbr" Ruecker
c4d9eaa066 Put the last item check into every filtered tag.
This way we shouldn't run into problems of this type anymore.
Also it should be easier to customize this way,
if someone wants to filter differently.

svn path=/icecast/trunk/icecast/; revision=19262
2014-11-02 20:19:29 +00:00
Thomas B. "dm8tbr" Ruecker
29feb25e6b Added <audio> for supported streams. TNX ePirat
svn path=/icecast/trunk/icecast/; revision=19134
2014-05-05 05:16:44 +00:00
Thomas B. "dm8tbr" Ruecker
cce17fc5e4 status2.xsl, broken for a decade, now it's gone!
svn path=/icecast/trunk/icecast/; revision=19133
2014-05-04 17:36:25 +00:00
Thomas B. "dm8tbr" Ruecker
09fdaed7e4 Nicer looking tables for the admin interface.
ePirat sent updated tables code that should look much nicer.
This is admin interface only (and a global css change).

svn path=/icecast/trunk/icecast/; revision=19121
2014-05-04 05:16:00 +00:00
Thomas B. "dm8tbr" Ruecker
bcead11c2a Also hide max_listeners by default.
svn path=/icecast/trunk/icecast/; revision=19113
2014-03-09 14:40:57 +00:00
Thomas B. "dm8tbr" Ruecker
08a6345b22 Set content-type to official "application/json"
svn path=/icecast/trunk/icecast/; revision=19112
2014-03-09 13:02:35 +00:00
Thomas B. "dm8tbr" Ruecker
43cad03707 Fix import
svn path=/icecast/trunk/icecast/; revision=19111
2014-03-09 12:59:33 +00:00
Thomas B. "dm8tbr" Ruecker
6bd11cc6c7 Initial JSON status transform.
Output roughly limited to data also visible through status.xsl.

svn path=/icecast/trunk/icecast/; revision=19110
2014-03-09 12:27:58 +00:00
Thomas B. "dm8tbr" Ruecker
ddf3f17189 Silence direct calls, add partial array support.
- The XSLT will now return empty if called directly.
  This is a security measure to prevent unintended data leakage.
- Adding partial array support to print sources in an array. 
  Code lifted from: 
  https://code.google.com/p/xml2json-xslt/issues/detail?id=3

svn path=/icecast/trunk/icecast/; revision=19109
2014-03-09 12:26:15 +00:00
Thomas B. "dm8tbr" Ruecker
71fb336792 Adding xml2json XSLT, svn r31 upstream trunk.
https://code.google.com/p/xml2json-xslt/

svn path=/icecast/trunk/icecast/; revision=19108
2014-03-09 12:19:35 +00:00
Thomas B. "dm8tbr" Ruecker
272dc0d9a3 dos2unix conversion of new web interface files.
svn path=/icecast/trunk/icecast/; revision=19106
2014-03-02 13:35:09 +00:00
Thomas B. "dm8tbr" Ruecker
b6b01430ef Web output properly redone, credit to ePirat.
Now validates completely as XHTML1.0 strict.
Also improves rendering on mobile devices.

svn path=/icecast/trunk/icecast/; revision=19099
2014-03-01 16:38:15 +00:00
Thomas B. "dm8tbr" Ruecker
f19c7cb48d minor consistency fix for Icecast web interface.
svn path=/icecast/trunk/icecast/; revision=19068
2014-01-23 06:41:36 +00:00
Thomas B. "dm8tbr" Ruecker
2b59e6a55a Updated web interface to be more XHTML compliant.
Added warning about HTML scraping to main page.


svn path=/icecast/trunk/icecast/; revision=19067
2014-01-23 06:26:05 +00:00
Thomas B. "dm8tbr" Ruecker
cc3c6ebf14 ZOMG! favicon! most important in the evarr!
svn path=/icecast/trunk/icecast/; revision=18954
2013-05-29 08:22:06 +00:00
Thomas B. "dm8tbr" Ruecker
933f6dedde Hide VCLT from status.xsl for now as agreed earlier.
VCLT support remains unchanged for users that want to use it.
Just use the URL: {@mount}.vclt

svn path=/icecast/trunk/icecast/; revision=18364
2012-06-10 12:35:47 +00:00
Philipp Schafft
17db41eba1 Added VCLT playlist support.
svn path=/icecast/trunk/icecast/; revision=18130
2011-11-26 02:37:39 +00:00
Karl Heyes
f63e0d1437 xsl update. added xspf links. minor changes to page display
svn path=/icecast/trunk/icecast/; revision=14850
2008-05-09 23:14:52 +00:00
Karl Heyes
cca1287522 remove a trailing / on link, It seems to have a bad effect on displaying the
stream directory pages currently

svn path=/icecast/trunk/icecast/; revision=14467
2008-02-11 04:00:06 +00:00
Karl Heyes
eba4314724 web page fixup
svn path=/icecast/trunk/icecast/; revision=14315
2007-12-19 19:23:43 +00:00
Karl Heyes
a2cb69a789 missed this from a previous update
svn path=/icecast/trunk/icecast/; revision=13763
2007-09-06 01:33:29 +00:00
oddsock
6a963a03bf a little better visibility for some features..
svn path=/icecast/trunk/icecast/; revision=10081
2005-09-27 20:26:16 +00:00
oddsock
95f4e5c630 fix auth.xsl link
svn path=/icecast/trunk/icecast/; revision=10077
2005-09-27 02:45:25 +00:00
oddsock
4c771579b8 encorporated xslt changes from dave st. john....
svn path=/icecast/trunk/icecast/; revision=9742
2005-08-12 20:44:38 +00:00
j
1e839f83ea - add video_quality
- update status.xsl with new info about theora streams

svn path=/icecast/trunk/icecast/; revision=8355
2004-12-08 20:13:17 +00:00
Karl Heyes
1e6232c531 add <shoutcast-mount>. drop the hardcoded mountpoint hacks for NSV
svn path=/icecast/trunk/icecast/; revision=8213
2004-11-17 16:02:04 +00:00
oddsock
80078cce1d * support for the Shoutcast DSP (yay!).
You can now use the Shoutcast DSP as a source client.  The connection 
    protocol is a bit odd, and we had to handle it separately, and thus 
    we've added a new config option (<shoutcast-compat>) that is set at 
    the listener port level.
* support for NSV (and the nsvscsrc source client).
    After adding support for the connection protocol of the shoutcast DSP, 
    adding NSV was just a simple of a few special handling cases.
* removed all traces of the earlier attempt at the shoutcast DSP connection 
  protocol
* Due to the growing complexity of the config files, I've also created a 
  few alternate config files, namely one for a "shoutcast compat" setup
  as well as a "minimal" one for quick basic configurations.

svn path=/icecast/trunk/icecast/; revision=8191
2004-11-11 15:47:33 +00:00
oddsock
04dc8fb1d5 fixed a issue that is seen only with the win32 build of icecast, and with no sources connected.
svn path=/icecast/trunk/icecast/; revision=8182
2004-11-08 17:41:00 +00:00
oddsock
6127fea475 * fix bug of not using url decoding value when processing audio_info string
* we now process server name and description if we are not a public stream
* Added quality to status.xsl

svn path=/icecast/trunk/icecast/; revision=8131
2004-10-29 15:31:56 +00:00
oddsock
b2717b7ae2 forgot to add auth.xsl to the automake Makefile
svn path=/icecast/trunk/icecast/; revision=8124
2004-10-27 17:52:39 +00:00
j
17614c0ec0 property 'svn:executable' deleted from *.xsl
svn path=/icecast/trunk/icecast/; revision=7930
2004-10-07 22:22:18 +00:00
j
489706d203 update admin interface to use xhtml
svn path=/icecast/trunk/icecast/; revision=7929
2004-10-07 22:19:43 +00:00
brendan
16e1815f14 Migrate .cvsignore to svn:ignore
svn path=/icecast/trunk/icecast/; revision=7090
2004-07-11 16:50:28 +00:00
oddsock
9f7895bd42 created an auth page which can be used to serve appropriate m3u's which contain authentication information.
svn path=/icecast/trunk/icecast/; revision=6612
2004-04-30 17:32:34 +00:00
oddsock
52e52dfbad new files
svn path=/icecast/trunk/icecast/; revision=6611
2004-04-30 16:44:32 +00:00
oddsock
d642846c80 added web based interface to htpasswd client authentication
svn path=/icecast/trunk/icecast/; revision=6610
2004-04-30 14:36:07 +00:00
Michael Smith
cdda32a758 Fix to default status.xsl: we were looking for server_url as an attribute rather
than an element incorrectly in one place, this fixes it so that the link is
correct. Patch from Dave St John.



svn path=/icecast/trunk/icecast/; revision=6457
2004-03-23 23:34:47 +00:00
oddsock
6c6232f0d1 after way too long with an ugly admin interface, lets go with
a slightly-less-ugly-admin-interface-that-is-at-least-similar-to-the-website.

svn path=/trunk/icecast/; revision=5810
2004-02-04 23:56:23 +00:00
brendan
e19a7af1b1 Fix critical TODO item 1 (make install)
ATTN Mike!

make install now installs the xsl files in pkgdatadir ($prefix/share/icecast) web
and admin directories, and builds icecast.xml accordingly. icecast.xml is now
installed in $sysconfdir/etc, and IMHO icecast should attempt to find a config
file there, and only demand one on the command line if it can't.

svn path=/trunk/icecast/; revision=4956
2003-06-17 21:10:56 +00:00
brendan
755d94e937 Missing .cvsignores
svn path=/trunk/icecast/; revision=4242
2003-01-15 05:38:31 +00:00
Michael Smith
68dea2dc71 build updates.
svn path=/trunk/icecast/; revision=3945
2002-09-24 08:16:24 +00:00
Michael Smith
84a76ac3ee status.xsl updates, better now.
Automatically create .m3u responses for any existing streams.
If /stream.ogg exists, you can now request /stream.ogg.m3u in your browser.

svn path=/trunk/icecast/; revision=3797
2002-08-10 08:01:56 +00:00
Michael Smith
15783d12f8 oddsock's win32 port/GUI
svn path=/trunk/icecast/; revision=3787
2002-08-09 15:55:02 +00:00