Commit Graph

24 Commits

Author SHA1 Message Date
Ron Pedde 5412de4bd1 fix emacs breakage 2006-08-20 21:11:24 +00:00
Ron Pedde bc261933b9 Add case_sensitive option to config page 2006-08-17 05:05:13 +00:00
Ron Pedde 9436ce5aae Add truncate and correct_order to config.xml 2006-08-03 02:56:46 +00:00
Anders Betnér 97728bee87 Layout fiddeling on config.html closes #163 2006-06-25 17:55:03 +00:00
Anders Betnér a24500e464 Fixed 1) and 2) of ticket #143 2006-06-11 21:52:37 +00:00
Anders Betnér ccc6fdd1b6 Whole sections in config.xml can be marked as advanced, they won't
be displayed at all in the basic config UI. (previously the title
and the box was visible)
Added all but UI part of #118
2006-06-04 19:28:12 +00:00
Anders Betnér 2ba789d0a1 Refactor config.js let ConfigXML use mt-daapd.conf section:element_id
as the html element id. This fixes ticket #125 and makes the config.xml
parser a bit less complicated.
Config.xml no got rid of config_section and uses an id like this:
"general:servername" etc
One day I will actually think before I start coding. Always pick the
easy and well thought out solution over the quick and dirty.
2006-06-04 18:03:10 +00:00
Anders Betnér 03ec76d36c Added yet another oscure daap config option to the web admin 2006-05-31 19:57:14 +00:00
Anders Betnér d9c1742744 Put the daap options in the right mt-daapd.conf section.
Changed the config.html Save debugger to only print
options that return errors.
2006-05-30 07:02:16 +00:00
Anders Betnér 44014ecf1f Added missing options to config 2006-05-29 11:52:49 +00:00
Anders Betnér 310b2f6db8 Added support for basic and advanced config options. What goes into
advanced and what goes into basic is discussable. I just made a 
proposal in config.xml
2006-05-26 21:56:04 +00:00
Anders Betnér 0f27d923a5 Fixed a bug where button Cancel could look infinately (or a lot) 2006-05-26 20:22:21 +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 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 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 5eba5fc5ac Big fat refactoring of config.js and config.xml 2006-05-20 21:51:14 +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
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
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 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
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 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