Commit Graph

1116 Commits

Author SHA1 Message Date
Ron Pedde
41aabeeab9 Make port optional config value, searching for unused port if necessary. Closes #110 2006-05-24 04:19:44 +00:00
Ron Pedde
88999e7d49 Make bad xml-rpc methods return xml error message rather than http error message, fixing #108 2006-05-24 03:56:06 +00:00
Ron Pedde
80f7c87567 Make default server name based on hostname, fixing #111 2006-05-24 03:53:22 +00:00
Anders Betnér
510fbde5b8 Config.html is actually usable 2006-05-22 22:26:19 +00:00
Anders Betnér
dbf2359c89 Added alerts with results of a save.
Added attributes to config.xml
2006-05-22 20:46:29 +00:00
Anders Betnér
f0ac0885a2 Let IE surfers in on the good stuff in config.html.
I made the code IE compliant by removing stuff,
can't say I see that every day.
2006-05-21 20:55:56 +00:00
Anders Betnér
1804fdf595 Whohoho!!! This is the first commit where you actually can
save the changes made on config.html.
The result of the save is displayed as an ugly alert with
the xml response, but it works!
2006-05-21 19:46:22 +00:00
Anders Betnér
5d611fe52a Fixed some small errors in config.js 2006-05-21 15:01:05 +00:00
Anders Betnér
3876b65e1c config.html: Button Cancel works for all elements but the ones that
have multiple values.
2006-05-20 23:25:46 +00:00
Anders Betnér
8c969a9367 Fix element id:s for dynamically added elements 2006-05-20 22:37:41 +00:00
Anders Betnér
5eba5fc5ac Big fat refactoring of config.js and config.xml 2006-05-20 21:51:14 +00:00
Anders Betnér
1c55d153ff config.html: Disable all elements if mt-daapd.conf not writable
Fixed the "are we on a mac" detection
2006-05-20 17:30:48 +00:00
Ron Pedde
e11f7e2b30 path browse fixes for win32 (update readdir_r to support DT_REG) 2006-05-19 05:28:52 +00:00
Ron Pedde
a443cef62e browse enhancement for #98 2006-05-19 05:22:27 +00:00
Ron Pedde
04ed0711a4 Fix problem reported in #7 2006-05-19 05:10:08 +00:00
Ron Pedde
e96ee72b8b apply VC express 2005 patch from Mike Crowe 2006-05-19 04:56:05 +00:00
Ron Pedde
65147d6278 apply VC express 2005 patch from Mike Crowe 2006-05-19 04:55:19 +00:00
Ron Pedde
aca2f7701f Make script-based transcoding work on rsp 2006-05-19 04:50:45 +00:00
Anders Betnér
430b0ef9a4 You can sort of cancel=revert you inputs on config.html and
I reenabled the save button if someone wants to play 
with it.
2006-05-18 21:47:49 +00:00
Anders Betnér
dffdfa56c6 Added warning if mt-daapd.conf not writable
Switch order of save cancel buttons when on a Mac
Disable save button (will write a script to enable it as 
soon as something changes on the page)
Removed art_filename from config.xml
2006-05-18 18:48:53 +00:00
Ron Pedde
3eef14e1cf add missing web interface files, fix minor memory leak in event handler 2006-05-18 06:30:11 +00:00
Ron Pedde
703221c715 fix for ticket #7 -- empty values delete items 2006-05-18 05:11:07 +00:00
Ron Pedde
1b723bca94 fix crash on scan 2006-05-18 03:02:02 +00:00
Anders Betnér
d7c61d62b3 Added a rudimentary Save button on config.html. It will try to
save the file, but nothing is checked and your mt-daapd.conf might
be changed in strange ways. Pressing the button will give you the
server response in an alert box.
2006-05-17 18:42:56 +00:00
Anders Betnér
28e0956e66 config.html: config options with multiple values have the same
html name, but different html id:s
Corrected some section errors in config.xml
2006-05-17 14:28:39 +00:00
Ron Pedde
cb9598608b fix error code on xml_return_error 2006-05-17 06:44:56 +00:00
Ron Pedde
177a808624 add config.xml to distribution 2006-05-17 06:34:52 +00:00
Ron Pedde
64eed880d3 Fix rating on wma 2006-05-17 05:53:02 +00:00
Ron Pedde
b48e99dd70 make bulk update of config file work 2006-05-17 05:42:32 +00:00
Ron Pedde
f9a3b37583 add helpful error messages for onblur validation 2006-05-17 03:43:44 +00:00
Anders Betnér
7d172fbb54 Spelling 2006-05-16 23:31:11 +00:00
Anders Betnér
bc05d116b0 Changed wordings in config.xml 2006-05-16 23:13:10 +00:00
Anders Betnér
733f7fffef Added UI to remove multiple config options on config.html 2006-05-16 23:12:40 +00:00
Anders Betnér
95f5d64b96 Refactored config.js to parse the config.xml into a javascript
object and then build config.html from that.
Added a hackery translation between mt-daapd.conf sections
and the config.html sections, this will later be removed once
the sections conform.
2006-05-16 21:39:22 +00:00
Ron Pedde
1003812ee9 expose the single-key validation 2006-05-16 06:39:09 +00:00
Ron Pedde
c99e0c23dc start on validating single items 2006-05-16 06:22:32 +00:00
Ron Pedde
11fa293e41 buffer output on web pages, make safari faster 2006-05-14 04:14:50 +00:00
Anders Betnér
a1d5de6b54 config.html: Possible to add items in the UI, for options of type
<short_text_multiple> and <long_text_multiple>
2006-05-12 11:01:54 +00:00
Anders Betnér
b150896921 config.html: Fix select boxes to reflect actual values in mt-daapd.conf
Handle config.xml default_value for select boxes
2006-05-12 10:02:59 +00:00
Ron Pedde
c8b10769a2 Oops.. move the wma tags to the right place 2006-05-11 07:06:00 +00:00
Ron Pedde
fae19b3b63 wma tag realignments 2006-05-11 06:50:47 +00:00
Ron Pedde
eb7d0e7e0d force ie not to cache .xml files 2006-05-11 06:05:50 +00:00
Ron Pedde
08ddf8a24a Fix compile problem on unix 2006-05-11 05:36:35 +00:00
Anders Betnér
99a1e55497 Added support for config options with multiple values (mp3_dir,compdirs) to config.html 2006-05-10 20:14:11 +00:00
Anders Betnér
b8027504de All config options on config.html are defined in config.xml and the
option values are fetched with /xml-rpc?method=config
2006-05-10 17:37:29 +00:00
Ron Pedde
b780bac291 make iTunes playlists work on win32 2006-05-09 07:17:46 +00:00
Ron Pedde
36f35206dc make browse_path work on win32 -- implement d_type in readdir_r emulation. 2006-05-09 05:51:08 +00:00
Ron Pedde
bcdc603b40 Make m3u parser recognize windows path separators, as well as windows drive letters. This fixes both bug #104 and #105. 2006-05-09 05:48:29 +00:00
Ron Pedde
e16844dbee Fix logging error that crashes on bad database 2006-05-08 05:36:15 +00:00
Ron Pedde
658bf223f2 fix ticket #97 by only selecting non-empty values 2006-05-08 04:18:22 +00:00