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

1684 Commits

Author SHA1 Message Date
Philipp Schafft
097e62394f Update: Made error IDs an enum.
Thanks to ePirat for the suggestion.
2018-05-26 06:29:10 +00:00
Philipp Schafft
a612d0c4a1 Fix: Fixed log level for auth internal debug message
Thanks to ePirat.
2018-05-26 06:17:56 +00:00
Philipp Schafft
4828c07d6b Fix: Fixed segfault in htpasswd auth if no filename is set 2018-05-26 06:07:24 +00:00
Philipp Schafft
ee5cce7b63 Merge branch 'ph3-remove-password' 2018-05-20 19:35:59 +00:00
Philipp Schafft
00cb6b0042 Fix: Do not report passwords at all 2018-05-20 19:35:45 +00:00
Philipp Schafft
465aac14f3 Fix: Do not report hashed user passworts in user list. 2018-05-20 19:35:44 +00:00
Philipp Schafft
8f4b742d65 Merge branch 'ph3-devel-xslt' 2018-05-20 19:35:29 +00:00
Philipp Schafft
14ff463c5c Update: Set titles for admin pages 2018-05-20 19:35:06 +00:00
Philipp Schafft
b33a426a3e Fix: Actually install admin/include/page.xsl 2018-05-20 19:35:06 +00:00
Philipp Schafft
8202dd7178 Update: Make use of includes/page.xsl for all admin templates 2018-05-20 19:35:06 +00:00
Philipp Schafft
eb98625467 Update: Added new XSLT include "page" that simplifies the page rendering 2018-05-20 19:35:06 +00:00
Philipp Schafft
42b24d1840 Fix: Shut down TLS before closing socket.
We should first shut down TLS so we can signal the other end a clean shutdown
in contrast to a socket failure.

Big thanks to wget(1) to find it. Fantastic tool.
2018-05-20 14:40:01 +00:00
Philipp Schafft
0fe5d5fa1f Fix: Added missing status codes to header generator 2018-05-07 16:33:17 +00:00
Philipp Schafft
1c3b10e07a Update: mark internal table static 2018-05-07 16:33:06 +00:00
Philipp Schafft
4b190d2481 Feature: Added per Error UUID. Also formats error pages nicer 2018-05-07 16:32:56 +00:00
Philipp Schafft
b42378abc4 Feature: Generate errors based on IDs.
This generates error pages based on IDs. This allows to reuse errors
and add more advanced information to them.

This patch also makes Icecast send in plain text OR HTML based
on the clients Accept:-string.
2018-05-07 16:28:46 +00:00
Philipp Schafft
b6cd41eab0 Merge branch 'admin-refactor' into ph3-devel 2018-05-07 15:31:33 +00:00
Marvin Scholz
cf21756035 Refactor admin.c handlers 2018-05-06 14:22:51 +02:00
Marvin Scholz
e99ebfae3a Move helper macros in admin.c to the top 2018-05-05 07:26:37 +00:00
Philipp Schafft
0db820c9dd Feature: Added parser for Accept*:-headers 2018-05-05 06:42:56 +00:00
Philipp Schafft
3b55f16977 Updated submodules 2018-05-05 06:42:56 +00:00
Philipp Schafft
bcc0e86ca0 Fix: Fixed regression for ICY source client's auth
This allows ICY source clients to log in again with 2.4.x-style config.
ICY does not provide a username. Therefore the username was unset.
This patch sets the username for ICY source connections and allow them
to be handled as if a username was provided.
Configuration tag <shoutcast-user> was added to select the username to set
to. This defaults to "source".
2018-05-05 06:42:56 +00:00
Philipp Schafft
578366e541 Cleanup: Removed useless stats_event() 2018-05-05 06:42:56 +00:00
Philipp Schafft
5d603a01d8 Fix: Fixed a segfault when xsltApplyStylesheet() returns error 2018-05-05 06:42:42 +00:00
Philipp Schafft
fb3678b0ca Fix: Do not access request type when we have no parser (slaves) 2018-05-05 06:42:34 +00:00
Philipp Schafft
514e825a81 Fix: Corrected response and fixed TLS for 416 Request Range Not Satisfiable responses 2018-04-21 11:06:48 +00:00
Philipp Schafft
be407ebbc7 Fix: Unbreak TLS for ICECAST_PROTOCOL_SHOUTCAST source clients 2018-04-21 11:06:42 +00:00
Philipp Schafft
2c32f02083 Update: Code style 2018-04-13 18:48:03 +00:00
Philipp Schafft
698186608b Fix: Send "Content-Length: 0" on 100-continue 2018-04-13 13:43:36 +00:00
Philipp Schafft
e099f80af1 Fix: Only report one Upgrade:-Header on upgrade 2018-03-28 15:10:05 +00:00
Philipp Schafft
789dd06762 Feature: Export used protocol in status XML 2018-03-01 10:41:52 +00:00
Marvin Scholz
e14f8cbd3c Ensure tests work as part of distcheck 2018-01-14 01:01:33 +01:00
Marvin Scholz
4f3a5b3ff3 Error early in testsuite if ffmpeg is missing 2018-01-14 00:15:53 +01:00
Marvin Scholz
294d378e26 Use a proper testsuite with autotools integration 2018-01-13 23:32:56 +01:00
Marvin Scholz
51edb020a7 Makefile: Add missing tls.h to header files
This fixes make distcheck and the distribution tarballs, those
were previously lacking this header which caused builds to fail.
2018-01-13 21:43:32 +01:00
Marvin Scholz
e76508a887 Add Gitlab CI build file
This will build icecast using Gitlab CI on the Xiph Gitlab with a
Docker image of Alpine Linux.
2018-01-13 21:09:11 +01:00
Marvin Scholz
4b45ed556f Update docs for 2.5 beta2 2017-11-20 20:23:49 +01:00
Thomas B. Ruecker
cd0a3f9c1d Preparing for 2.5 beta2 aka 2.4.99.2
Changelog and docs still need updating.
2017-11-17 09:07:01 +00:00
Marvin Scholz
c1b4e75509 Fix typo in README 2017-11-12 00:06:16 +01:00
Marvin Scholz
9115d75fef Update build instructions 2017-11-12 00:01:33 +01:00
Marvin Scholz
fd67fc6033 Add Travis CI status to README 2017-11-11 23:57:35 +01:00
Marvin Scholz
ca682bb4d7 Add .travis.yml for Travis CI 2017-11-11 23:50:49 +01:00
Philipp Schafft
fa86f2de73 Merge branch 'ph3-update-TLS' 2017-07-23 13:22:21 +00:00
Philipp Schafft
cd9c8420d3 Feature: Added new config tag tls-context, tls-key and attribute implementation 2017-07-23 13:14:48 +00:00
Philipp Schafft
ac92af50c5 Fix: Corrected typo 2017-07-23 13:14:48 +00:00
Philipp Schafft
b47ae369b6 Update: Prepare code for a new <tls-context> element 2017-07-23 13:14:48 +00:00
Philipp Schafft
68b3b1c72a Feature: Added function to check for specific TLS implementation 2017-07-23 13:14:48 +00:00
Philipp Schafft
9cbc110f78 Fix: Do not announce Upgrade to TLS on TLS Mode DISABLED sockets 2017-07-23 13:14:48 +00:00
Philipp Schafft
a864fbf47a Make tls mode more configureable 2017-07-23 13:14:48 +00:00
Philipp Schafft
d7cd12de75 Cleanup: Wording and object names from SSL to TLS 2017-07-23 13:14:48 +00:00