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

1246 Commits

Author SHA1 Message Date
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
be993933ef Icecast 2.4 beta5 aka 2.3.99.5
svn path=/icecast/trunk/icecast/; revision=19101
2014-03-01 17:53:26 +00:00
Thomas B. "dm8tbr" Ruecker
2cf9930e91 Reverting r18945 for now as using -b breaks things.
Reopening #1886

svn path=/icecast/trunk/icecast/; revision=19100
2014-03-01 17:37:38 +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
110a84146d Send charset in headers for everything, excluding file-serv and streams.
svn path=/icecast/trunk/icecast/; revision=19096
2014-02-23 21:29:35 +00:00
Thomas B. "dm8tbr" Ruecker
c24fcc3581 fixed malformed tag in Icecast admin interface
svn path=/icecast/trunk/icecast/; revision=19093
2014-02-16 16:21:31 +00:00
Thomas B. "dm8tbr" Ruecker
f355b03c11 Further tweaks to the HTML output of Icecast admin interface.
svn path=/icecast/trunk/icecast/; revision=19092
2014-02-16 15:23:24 +00:00
Thomas B. "dm8tbr" Ruecker
140778e387 Added warning to ensure queue-size >> burst-size.
svn path=/icecast/trunk/icecast/; revision=19091
2014-02-16 10:14:28 +00:00
Thomas B. "dm8tbr" Ruecker
e89f71e7d8 Icecast 2.4 beta4 aka 2.3.99.4
svn path=/icecast/trunk/icecast/; revision=19069
2014-01-23 14:09:44 +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
3aa802791d Updated Icecast Changelog with svn log messages.
svn path=/icecast/trunk/icecast/; revision=19066
2014-01-23 06:21:32 +00:00
Philipp Schafft
518ec953f7 fixed(?) a memory leak: lost headers of stream because of wrong ref counter in associated refbuf objects. I HATE refbuf.
svn path=/icecast/trunk/icecast/; revision=19054
2014-01-12 21:09:04 +00:00
Philipp Schafft
c9b6d627ab send 100-continue-header if client requests it
svn path=/icecast/trunk/icecast/; revision=19053
2014-01-12 12:29:27 +00:00
Philipp Schafft
c88f7d7de2 avoid memory leak in _parse_mount() when "type"-attribuet is set
svn path=/icecast/trunk/icecast/; revision=19052
2014-01-12 12:09:59 +00:00
Philipp Schafft
3f0d8a097e corrected Date:-header format to conform the standard (see RFC1123). Thanks to cato for reporting.
svn path=/icecast/trunk/icecast/; revision=19012
2013-11-06 01:01:31 +00:00
Philipp Schafft
917ace89da corrected logic checking argument. Thanks to David Binderman for reporting
svn path=/icecast/trunk/log/; revision=18961
2013-07-04 12:31:17 +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
5a26946236 This patch closes ticket #1886.
I've rethought the approach and found a much cleaner way. 
We now split handling of command line arguments into two parts.
Only the critical part of getting the config file is done first (and -v as it prevents startup).
The rest (currently only -b) is deferred.

This achieves the important bit why #1886 was created. 
It allows us to log error messages to stderr even if the -b argument is passed.
This is mainly for the case where the logfile or TCP port can't be opened.

svn path=/icecast/trunk/icecast/; revision=18945
2013-05-15 16:45:55 +00:00
Thomas B. "dm8tbr" Ruecker
144f478a91 Icecast 2.4 beta3 aka 2.3.99.3
svn path=/icecast/trunk/icecast/; revision=18911
2013-04-06 05:00:04 +00:00
Thomas B. "dm8tbr" Ruecker
115d64d8b4 Edited warning for clarity.
svn path=/icecast/trunk/icecast/; revision=18910
2013-04-05 20:13:18 +00:00
Philipp Schafft
b4887fc581 added a warning in case mount of type default is defined but a mountname is set
svn path=/icecast/trunk/icecast/; revision=18909
2013-04-05 19:49:13 +00:00
Thomas B. "dm8tbr" Ruecker
4ba4b3d1dd Setting Icecast version to 2.3.99.3 in preparation for 2.4 beta3.
svn path=/icecast/trunk/icecast/; revision=18908
2013-04-05 16:44:51 +00:00
Thomas B. "dm8tbr" Ruecker
ff4649bc49 Add warning when using generic handler for stream sent to Icecast.
All bets are off, we're trying our best using legacy handling code.

svn path=/icecast/trunk/icecast/; revision=18907
2013-04-05 16:43:16 +00:00
Philipp Schafft
f19107adc7 avoid fnmatch() on _WIN32 and fall back to strcmp(). Seems that MinGW does half-implement fnmatch()...
svn path=/icecast/trunk/icecast/; revision=18905
2013-04-03 02:04:38 +00:00
Philipp Schafft
47dd39a67c do fuzzy(fnmatch) matching for mountpoint names of non-normal mounts, see #1914
svn path=/icecast/trunk/icecast/; revision=18904
2013-04-03 00:46:55 +00:00
Philipp Schafft
53e8553035 mount points defined in config should use data from default mounts as well, see #1914
svn path=/icecast/trunk/icecast/; revision=18903
2013-04-03 00:33:10 +00:00
Philipp Schafft
d54c61bf13 Added support for a default mount. See #1914.
The default mount is a block in the config file that contains settings for
all mount points that do not have a block in configfile themself.
This is implemented by a <mount type="default">-block.
In this case the <mount>-block MUST NOT contain a <mount-name>-subblock.

svn path=/icecast/trunk/icecast/; revision=18902
2013-04-02 18:46:44 +00:00
Philipp Schafft
f9cfeb51ab Throw away the reqbuf stuff as it was not well designed. Removing it and restoring usage of %H *fixes* #1942 not just workaround it with opening security holes. close #1942
svn path=/icecast/trunk/icecast/; revision=18901
2013-04-02 12:19:33 +00:00
Philipp Schafft
3d9f6643bc allow space in format string for %H to allow spaces in output
svn path=/icecast/trunk/log/; revision=18900
2013-04-02 12:17:43 +00:00
Philipp Schafft
c502c9cc27 make use of const keyword in _fatal_error()
svn path=/icecast/trunk/icecast/; revision=18899
2013-04-02 11:51:47 +00:00
Philipp Schafft
e0b6d1396d allow --version as alias to -v (printing version number)
svn path=/icecast/trunk/icecast/; revision=18898
2013-04-02 11:48:40 +00:00
Thomas B. "dm8tbr" Ruecker
3add64be67 This is Icecast 2.4 beta2 (aka 2.3.99.2)
svn path=/icecast/trunk/icecast/; revision=18892
2013-03-30 10:52:30 +00:00
Thomas B. "dm8tbr" Ruecker
ce918bb8c9 Updated Icecast ChangeLog
svn path=/icecast/trunk/icecast/; revision=18891
2013-03-30 10:26:44 +00:00
Thomas B. "dm8tbr" Ruecker
8858169086 Adding "A word of warning" to Icecast config file documentation.
svn path=/icecast/trunk/icecast/; revision=18890
2013-03-30 07:09:14 +00:00
Thomas B. "dm8tbr" Ruecker
3c359b62dd Highly experimental HTTP PUT support. ref #1812
We are handling it the same as we would handle a SOURCE request.
Due to legacy code, sender MUST send proper content-type header,
if content type is not audio/mpeg!
Can be tested using real-time encoded output and piping it into
| curl -u username:password -H "Content-type: application/ogg" -T - http://localhost:8000/mountname.ogg
Note that this example has ZERO timing, so a simple 'cat *.ogg' will fail.
Whatever feeds the pipe must do it at proper timing for real-time playback!

svn path=/icecast/trunk/icecast/; revision=18888
2013-03-29 15:07:33 +00:00
Thomas B. "dm8tbr" Ruecker
26640bb58d Backing out part of r18755 touching this file.
fixes #1942

svn path=/icecast/trunk/icecast/; revision=18887
2013-03-29 14:41:24 +00:00
Thomas B. "dm8tbr" Ruecker
8fd27da0e1 Added note about distribution packaging of Icecast, fixing #1249.
svn path=/icecast/trunk/icecast/; revision=18867
2013-03-09 15:23:48 +00:00
Thomas B. "dm8tbr" Ruecker
992031e50b Fixing a small bit in the example that got copied.
svn path=/icecast/trunk/icecast/; revision=18810
2013-02-24 20:12:42 +00:00
Thomas B. "dm8tbr" Ruecker
488c87793a Icecast documentation update for stream_auth.
svn path=/icecast/trunk/icecast/; revision=18808
2013-02-24 16:19:53 +00:00
Philipp Schafft
aec4326149 corrected mime type of plain text mount point list, thanks to cato
svn path=/icecast/trunk/icecast/; revision=18807
2013-02-24 14:25:37 +00:00
Philipp Schafft
6e7c65bc10 send Expires:-headers on all cache=0 requests, close #1870
svn path=/icecast/trunk/icecast/; revision=18805
2013-02-24 02:04:43 +00:00
Philipp Schafft
d0bf2c64ed handle yp headers case insensetive, close #1873
svn path=/icecast/trunk/icecast/; revision=18804
2013-02-24 00:53:09 +00:00
Philipp Schafft
7d65014c6d add info abot usage of strftime(3), see #1823
svn path=/icecast/trunk/icecast/; revision=18802
2013-02-24 00:41:15 +00:00
Philipp Schafft
3215c47aa3 updated docs, added additional POST data, see #1422
svn path=/icecast/trunk/icecast/; revision=18801
2013-02-24 00:17:45 +00:00
Philipp Schafft
1f833eb244 Allow full URLs to be returned by the master server. close #1878
svn path=/icecast/trunk/icecast/; revision=18799
2013-02-23 20:55:58 +00:00