Philipp Schafft
4da6d6e243
Update: Use helper functions for reportxml
2020-10-03 09:10:15 +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
Philipp Schafft
c12cb226f1
Feature: Select default content for admin page via operation mode
2020-10-03 07:44:57 +00:00
Philipp Schafft
5da8971b2e
Feature: Added a basic dashboard
2020-10-02 21:30:11 +00:00
Philipp Schafft
59efa2689c
Cleanup: Made sending ADMIN_XSL_RESPONSE style responses much more uniform
2020-10-02 14:17:47 +00:00
Philipp Schafft
0c29ddd915
Feature: Added support to write a mark to the logfiles.
...
Note: This currently excludes the access.log
Closes : #2343
2020-10-02 13:36:22 +00:00
Philipp Schafft
fce09e5788
Update: Replaced some %s with %H
2020-10-02 13:06:28 +00:00
Philipp Schafft
72fbe999e2
Feature: Support updates of metadata URL via admin interface
...
Thanks to Joakim Lagerqvist.
Closes : #2385
2020-10-02 13:01:36 +00:00
Philipp Schafft
4896d73d3a
Feature: Added support for logfile display in admin/
2020-10-02 11:40:59 +00:00
Philipp Schafft
47dd475f12
Feature: Only show selected mounts in status display
2020-10-02 11:38:39 +00:00
Philipp Schafft
c6bb70d99b
Feature: Include content-type in mount info for metadata updates
2020-10-02 11:38:39 +00:00
Philipp Schafft
2bf77f2012
Feature: Support moving individual clients between mounts
2020-09-30 19:47:05 +00:00
Philipp Schafft
d92c9758a6
Feature: Prepare for support to move single clients
2020-09-30 18:03:18 +00:00
Marvin Scholz
3352ddfb36
Cleanup: Remove redundant check
...
It's already checked earlier if auth is non-NULL, so this check
here is not needed.
2020-04-19 03:28:21 +02:00
Philipp Schafft
fff3a5c6a6
Update: Write a error level message on admin/ based metadata updates we reject
2019-05-28 07:52:47 +00:00
Philipp Schafft
9a4491e43a
Feature: Report Host:-header in <listener>
2018-09-20 09:30:49 +00:00
Philipp Schafft
4d7a60d588
Feature: Added basic support for auth backends to manipulate the client
2018-09-19 13:32:58 +00:00
Philipp Schafft
0af45ebf26
Cleanup: Replace and remove leftover old COMMAND_*s
2018-09-13 08:38:12 +00:00
Philipp Schafft
bfcac5d30c
Feature: Unifiy response root node generation a bit and make the module list universally available
2018-08-08 14:10:08 +00:00
Philipp Schafft
d782eb4c21
Feature: Allow admin commands to have embedded parameters
2018-07-09 10:42:14 +00:00
Marvin Scholz
9897567ea0
Update: Add debug logging for admin auth error
2018-07-09 03:34:53 +02:00
Philipp Schafft
7742bf0a21
Fix: Report correct listen URL to client.
...
The URL is constructed considering Protocol, TLS Mode, Host, and Port.
This considers:
- The Host:-header as provided by the client,
- The effective listensocket of the client,
- Global configuration.
This works for:
- Playlist generation,
- Admin authed playlist generation,
- Stats based XSLT.
It also unifies code:
- Default stats values.
Not yet included:
- YP requests.
2018-06-30 13:12:30 +00:00
Philipp Schafft
1a426f7f81
Cleanup: Renamed *_TRANSFORMED* to *_HTML*
2018-06-29 15:25:12 +00:00
Philipp Schafft
32a410bdd6
Feature: Allow xslt_transform() to send non-200 status
2018-06-27 15:54:30 +00:00
Philipp Schafft
a466900ae1
Feature: Allow POST for admin requests
2018-06-19 13:44:07 +00:00
Philipp Schafft
059bfdc7ce
Cleanup: Corrected headers used in code
2018-06-17 12:47:35 +00:00
Philipp Schafft
5c3e7760c5
Cleanup: Corrected headers used in headers
2018-06-17 12:28:38 +00:00
Philipp Schafft
0bb65ed090
Feature: Allow OPTIONS on admin requests
2018-06-16 17:59:11 +00:00
Philipp Schafft
822057ca57
Feature: Allow registering new admin commands on the fly
2018-06-09 12:43:09 +00:00
Philipp Schafft
bc38c93545
Update: Check admin command table before use
2018-06-09 12:43:09 +00:00
Philipp Schafft
86154bc6d9
Feature: Set foundation for having multiple admin/ sub-directories
2018-06-09 12:43:09 +00:00
Philipp Schafft
9fb26c4607
Fix: Allow non-1-byte PATH_SEPARATOR in admin_send_response()
2018-06-09 11:11:29 +00:00
Philipp Schafft
442960ac4a
Feature: Added admin format ADMIN_FORMAT_AUTO
2018-06-09 10:43:57 +00:00
Philipp Schafft
88ca36545e
Update: Converted the response format for admin requests into a enum
2018-06-09 10:34:34 +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
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
fb3678b0ca
Fix: Do not access request type when we have no parser (slaves)
2018-05-05 06:42:34 +00:00
Philipp Schafft
789dd06762
Feature: Export used protocol in status XML
2018-03-01 10:41:52 +00:00
Philipp Schafft
a6eb48e44d
Update: Abstracted TLS support in tls.c
2017-07-23 13:14:48 +00:00
Marvin Scholz
3a73f9c146
More hardening of XML output against invalid entities
...
This replaces the add node function with the one intended for text nodes
to prevent that invalid entities are not encoded and therefore could
break the XML output.
(See d739c65e54
and #2255 )
2016-02-10 20:56:56 +01:00
Marvin Scholz
d739c65e54
Fix invalid entities in listclient xml
...
This fixes a bug where listener Referer or User-Agent strings containing
a sequence like `&T;` was not escaped properly and therefore made the
whole XML document invalid.
Injecting new XML nodes (<foo></foo>) was not possible, it seems in the
worse case all it could cause was that the XML failed to parse.
Fix #2255
2016-02-08 23:02:02 +01:00
Philipp Schafft
c1f0eaff8a
Fix: Fixed some smaller bugs such as leaks and performance improvements.
...
This is a first commit to correct minor problmes reported by
Denis Denisov. There is likely another commit to correct some more
such problems.
Thank you Denis Denisov.
2015-04-08 09:36:59 +00:00
Philipp Schafft
225c6f240a
Fix: do not FTBFS in case OpenSSL support is not compiled in
2015-02-23 21:43:07 +00:00
Philipp Schafft
91eb78fc3a
Feature: Expose TLS status in <listener> tags.
...
This exposes the TLS status as <tls> tag in the <listener> tag.
The tag contains a bool ("true" or "false"). TLS mode, version and
other parameters are out of the scope of this tag and may be added
as independed tags in later commits.
2015-02-09 12:14:16 +00:00
Philipp Schafft
927ccf5213
Cleanup: corrected comment TAGs
2015-02-09 12:06:29 +00:00
Philipp Schafft
c89a5714fb
Cleanup: Converted tag <Listeners> to lowercase.
...
This converts the <Listeners> tag to lowercase on listclients admin
command. This is to align with stats.xml which already uses lowercase.
See: #2097
2015-02-09 12:03:00 +00:00