Anders Betnér
a24500e464
Fixed 1) and 2) of ticket #143
2006-06-11 21:52:37 +00:00
Ron Pedde
620759240a
More minor logoing fixes
2006-06-09 05:12:11 +00:00
Ron Pedde
ee5955cb30
logoing changes
2006-06-09 05:06:35 +00:00
Anders Betnér
4004a0f7df
Make prototype.js first test for XMLHttprequest object
...
and then the IE active-x thingies. This forces IE 7 to use
the native XMLHttprequest object. (and debugging on gecko
browsers easier)
2006-06-07 06:54:24 +00:00
Anders Betnér
a9d912e863
Fixed #133 only send config options that has changed when saving from
...
web config.
Temporarily removed the fixpng.js (IE transparent png fix script)
2006-06-04 22:29:12 +00:00
Anders Betnér
54388b4ab8
Always look for debug alerts() before comitting.
2006-06-04 20:50:35 +00:00
Anders Betnér
40ebd3e7c8
Fixed ticket #131 and fixed values sometimes not URI escaped
...
plus found a regexp without the global "g" flag
2006-06-04 20:38:46 +00:00
Anders Betnér
8589376291
Fixed ticket #118
2006-06-04 20:16:53 +00:00
Anders Betnér
4a8c32bbd7
Minor refactoring to make use of some prototype.js niftyties
2006-06-04 19:43:20 +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
Ron Pedde
6fd6a1c9bb
Make the no_access page work for blank admin_pw
2006-06-01 06:17:26 +00:00
Anders Betnér
a02298ca0d
/config.html?debug will save all options one by one
...
and report errors to the console (Firefox with Firebug or Safari
other browsers might explode)
/config.html?debug=validate will validate all options
one by one and report errors to the very same console
2006-05-31 20:10:21 +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
3b8bc27e85
Added a page that is to be shown when someone tries to access
...
Firefly from a non local host when there is no password set
for the web admin.
The page is not styled since the whole web admin will be
"Fireflied" soonish.
2006-05-31 19:52:04 +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
62c3ac542a
Added debugging to config.html
...
If you open the page /config.html?debug
There will be debug messages to the javascript console when
you press the Save button
In Safari activate the javascript console like this http://getahead.ltd.uk/ajax/debug-safari
In Firefox install the extension Firebug and activate the console there
2006-05-29 20:00:58 +00:00
Anders Betnér
44014ecf1f
Added missing options to config
2006-05-29 11:52:49 +00:00
Ron Pedde
31b8f6fc69
make .png logo transparent. probably useless, as the logo is going to be replaced, but there you go.
2006-05-28 08:46:23 +00:00
Anders Betnér
da8f1a6f8f
Forgot this file in last comitt
2006-05-27 21:11:14 +00:00
Anders Betnér
91df6a5abf
Move common javascript functions to util.js closes #69
...
Javascript fixes for Safari
2006-05-27 21:04:19 +00:00
Anders Betnér
5d29ec0dbd
Prevent "Remove" from removing the last html input for options
...
with multiple values.
2006-05-27 17:30:11 +00:00
Anders Betnér
9e547e6c16
Fix add item for multivalued options, this broke in r1105
2006-05-26 22:55:42 +00:00
Anders Betnér
04aa87007a
Wohohoooo, you can add songs to static playlists, thanks to
...
a patch from jordan@snocap!
2006-05-26 22:20:11 +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
6ea05929ee
Linted and found some stuff to clean up
2006-05-24 22:02:44 +00:00
Anders Betnér
d30bafbd50
Added a tiny animation when removing/adding multiple elements.
2006-05-24 21:47:32 +00:00
Anders Betnér
5d222cfc91
Made the Cancel work
2006-05-24 21:15:13 +00:00
Anders Betnér
62811717f7
Prevent javascript from choking on empty options in mt-daapd.conf
2006-05-24 07:53:51 +00:00
Anders Betnér
b3d2ffc703
Added missing spinner.gif
2006-05-24 06:52:15 +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
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
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
177a808624
add config.xml to distribution
2006-05-17 06:34:52 +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
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