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

1656 Commits

Author SHA1 Message Date
Philipp Schafft
0f311a318d Fix: Do not segfault if <role type="..."> is unknown 2014-12-28 21:11:52 +00:00
Marvin Scholz
a546d3cc8a Corrected stats.xsl to correct invalid markup
Correcting that the unordered list for authentication was wrapped in a table,
which is invalid.
2014-12-28 17:10:49 +01:00
Thomas B. Ruecker
5a9f0426a7 Epic transformation of git log into ChangeLog
git log 1a3fd18cd4075b5ff540334c2e0fa974885b6a7a..38dbb3a6fdf0fadc15e8a77f0735240c11da2854

For the future we might want to consider if we still want to maintain
this and in which format.
2014-12-28 15:05:38 +00:00
Marvin Scholz
1c57942267 Removed fr_FR xsl files since they aren't used 2014-12-28 13:21:52 +01:00
Thomas B. Ruecker
38dbb3a6fd Preparing for 2.5 beta1 aka 2.4.99.1 2014-12-28 11:08:56 +00:00
Philipp Schafft
5f962c9bdf Feature: Nicer display of <metadata>
This adds a little bit nicer display of <metadata> to the stats.xsl
page and avoids broken display of <metadata> and <authentication>.
2014-12-26 22:00:02 +00:00
Philipp Schafft
b638d3c939 Fix: Added support to admin/ interface to list <role>s
This adds support to list global and per mount roles on stats.xsl.
This isn't nicest formated but works.
This also adds <source>-like <authentication> with <role>s to
root node.
Closes: #2133
2014-12-26 21:57:50 +00:00
Thomas B. Ruecker
dfc30122ca height-adjusted logo2 for NSIS installer 2014-12-26 11:04:22 +00:00
Thomas B. Ruecker
cbc0ae46d8 Favicon was missing from the Makefile 2014-12-26 11:02:10 +00:00
Philipp Schafft
785c32bfc5 Revert "Fix: avoid assignment discards 'const' qualifier warning"
This reverts commit 0dbabcc44c.
Breaks other OpenSSL versions.
2014-12-24 11:36:34 +00:00
Philipp Schafft
0b1af34f0e Prevent various redefined definitions in win32-specific code
From: Erik van Pienbroek <epienbro@fedoraproject.org>
Date: Mon, 22 Dec 2014 18:02:09 +0100
2014-12-24 11:35:56 +00:00
Philipp Schafft
0dbabcc44c Fix: avoid assignment discards 'const' qualifier warning
Untested. Please test.
See #2063
2014-12-24 09:03:26 +00:00
Philipp Schafft
ddb58bfe37 Feature: Display username and role in listener listing
This adds display of role name and updates display of username in
listener listing of mount points on admin interface.
2014-12-22 09:08:24 +00:00
Philipp Schafft
bfd946520f Fix: corrected xsl to work in omode=normal 2014-12-22 07:58:37 +00:00
Philipp Schafft
d75d1d6a7a Feature: Allow <resource> to have only one of source and destination
This allows <resource> (former <alias>) to have only one of the
attribues source and destination. In that case other parameters
will be applied to the client but uri is not mapped.

See #2097
2014-12-20 18:48:03 +00:00
Philipp Schafft
7b5bafdf55 Merge branch fix for <metadata> of relays. 2014-12-20 18:07:04 +00:00
Philipp Schafft
7e9e298e33 Fix: avoid segfault by generating <metadata> for relays 2014-12-20 18:06:42 +00:00
Philipp Schafft
857264acdc Fix: memory leak and race condition fix 2014-12-20 16:12:27 +00:00
Philipp Schafft
2a99aa0f0b Fix: memory leak, now also releasing reglist[] members 2014-12-20 15:30:26 +00:00
Philipp Schafft
8702999204 Fix: memory leak now freeing null_device and global source_password 2014-12-20 15:29:53 +00:00
Philipp Schafft
d3bba3638e Fix: Added missing includes 2014-12-20 13:40:44 +00:00
Philipp Schafft
55d429a6c8 Fix: Corrected display of "login" on status page
This corrects the creation of <authenticator> in the status output
and this way fixes the display of login link on status page.
Closes #1939
2014-12-20 09:39:26 +00:00
Philipp Schafft
3d6ea2efdb Merged support for thread-less <role>s 2014-12-19 17:30:37 +00:00
Philipp Schafft
25f6c53929 Feature: immediate mode for <role>s
This allows a <role> represented by a auth_t to run in "immediate"
mode. In this mode no thread is created for this <role>. This is a
major speedup.

Closes #2124
2014-12-19 17:27:54 +00:00
Philipp Schafft
a83ac3f5e1 Feature: Allow mangement of <role>s via admin/ interface.
Updated admin/manageauth.xsl the way suggested by
0eb466b76d.
closes #2123
2014-12-19 16:40:41 +00:00
Philipp Schafft
0eb466b76d Feature: Allow mangement of <role>s via admin/ interface.
This allows to manage <role>s via admin interface if the role supports.
Also format of admin/manageauth has been changed:
- <source> was renamed to <role>.
- mount parameter was removed.
- <role> got new parameters: type, name,
  can-adduser, can-deleteuser, can-listuser.
- can-* parameters are bools ("true" or "false"). They should be used
  to show or hide elements on the admin interface.

Ticket #2123 is nearly complet with this, just admin/manageauth.xsl
needs up be updated. Please close the bug in the commit that updates
admin/manageauth.xsl.
See #2123
2014-12-19 16:14:35 +00:00
Philipp Schafft
a990756912 Feature: Also export type="" in stats.xml's <role>s 2014-12-19 11:28:49 +00:00
Philipp Schafft
7093e19523 Feature: Added support to type="static" <role> to list user
This adds support to list the user for a static <role>.
2014-12-19 11:22:36 +00:00
Philipp Schafft
1c550b0c8e Feature: Added support for management-url="" in <role>
This adds setting a URL for manegement of roles to the framework.
If no URl is given in the config file this defaults to internal
(/admin/manageauth.xsl) interface if supported by the backend.
See #2123
2014-12-19 11:16:13 +00:00
Philipp Schafft
fb088de568 Fix: only export name="" on <role> if set 2014-12-19 11:01:32 +00:00
Philipp Schafft
4c429ab01b Feature: Export <role>s on stats.xml
This exports id and name of <role>s on stats.xml output. The <role>s
are in a <authentication> container tag and mimic the format used
by the config file.

See #2123
2014-12-19 10:51:40 +00:00
Philipp Schafft
40bb04b644 Feature: Added a unique ID to each auth_t.
This added a unique ID to each auth_t instance so it can be refered
to e.g. by the web interface for mangement functionallity. Mostly
stolen from connection.[ch].
See #2123
2014-12-19 10:50:52 +00:00
Philipp Schafft
25eec22692 Cleanup: Removed a printf() leftover from debugging 2014-12-19 10:47:07 +00:00
Philipp Schafft
c5bd8ad281 Fix: Always export <metadata> in stats.xml 2014-12-18 10:24:15 +00:00
Philipp Schafft
4a0c399bf3 Added 'lagcay' mode stats.xml.
Add '?omode=legacy' to any URI or <resource ... omode="legacy" />.
Please test.
closes #2097
2014-12-18 09:56:54 +00:00
Philipp Schafft
dc016bc017 Fix: Fixed compiler warnings
This fixes some compiler warnings. The code should be warning free
if gcc with -Wall is used but for the following:
{{{
admin.c: In function 'command_manageauth':
admin.c:790: warning: unused variable 'mountinfo'
}}}
This warning is due <role> migration. See #2123 for more details on
this warning. Please test with care. closes 2063
2014-12-14 19:18:22 +00:00
Philipp Schafft
8dc069f361 Feature: Support command line arguments in <event type="exec">
This adds support to pass additional command line parameters
to called processes. closes #1752
2014-12-14 16:19:32 +00:00
Philipp Schafft
d67f0f5d91 Fix: Send Content-Disposition:-header correctly, closes #1953 2014-12-14 11:01:39 +00:00
Thomas B. Ruecker
2cb5d1a3e0 Incremental README improvement. refs #2122 2014-12-14 10:14:25 +00:00
Thomas B. Ruecker
01c896cf30 Merge branch 'master' of ssh://git.xiph.org/icecast-server 2014-12-14 09:52:31 +00:00
Thomas B. Ruecker
0d9b17e6da last missing url. refs #2122 2014-12-14 09:50:55 +00:00
Philipp Schafft
fad405a4bf Merge branch 'master' of ssh://git.xiph.org/icecast-server 2014-12-14 09:30:45 +00:00
Thomas B. Ruecker
a17b29d8eb adding one url. refs #2122 2014-12-14 09:27:59 +00:00
Philipp Schafft
c73e214f8f Regression Fix: Correction of old-style <authentication>.
Old-style <authentication> within <mount> didn't work for type="url"
as well as some other parameters due to confusion between "node"
and "child" variable.

Thanks for trilliot for pointing out! Should work now.
closes #2039
2014-12-14 09:27:49 +00:00
Thomas B. Ruecker
91c4a25fa8 YAC - yet another change. ref #2122 2014-12-14 09:20:03 +00:00
Thomas B. Ruecker
bc67678506 Another small edit. refs #2122 2014-12-14 08:48:52 +00:00
Thomas B. Ruecker
4352dabef2 Small changes. see #2122 2014-12-14 08:41:04 +00:00
Thomas B. Ruecker
c3015aeacb Some minor changes, added Opus and WebM
see #2122
2014-12-14 08:25:16 +00:00
Philipp Schafft
8a4c529347 Cleanup: make strcmp() more explicit in _start_logging()
This avoids if(strcmp()) constructs in favor of if(strcmp() == 0)
constructs. This is aligned with coding style and will improve
readability of the code.

Thanks to miksago. closes #2102
2014-12-14 08:19:58 +00:00
Thomas B. Ruecker
98e314d037 NEWS updated for 2.4.0 and 2.4.1 2014-12-14 08:18:24 +00:00