Philipp Schafft
3fd16ac834
Feature: Added support for JSON output on <iceresponse>-style XML commands
2020-10-10 20:59:37 +00:00
Philipp Schafft
5045271d3c
Feature: Added infrastructure to send JSON as part of admin/
2020-10-10 20:59:36 +00:00
Philipp Schafft
114a8b6b88
Update: Converted whether or not to show listeners in stats to a flag
2020-10-09 16:01:24 +00:00
Philipp Schafft
5eb09ca5de
Update: Convert stats_get_xml() to take flags
2020-10-09 15:43:57 +00:00
Philipp Schafft
196a6170cc
Feature: Pass query parameters to admin/ui/ templates
2020-10-09 11:10:51 +00:00
Philipp Schafft
12806c0853
Update: Added client_protocol_from_string() and client_protocol_to_string()
2020-10-03 18:35:40 +00:00
Philipp Schafft
d6fcedd5b8
Fix: Unref report after sending it
2020-10-03 11:57:27 +00:00
Philipp Schafft
d7f8911510
Feature: Added support for /admin/ui/
2020-10-03 11:56:06 +00:00
Philipp Schafft
45818ae8bd
Feature: Made the set fallback feature accessable via web interface
...
Not exactly new year, but at least German Unity Day.
2020-10-03 10:28:52 +00:00
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