Commit Graph

194 Commits

Author SHA1 Message Date
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
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
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
Anders Betnér 0c407a7eca Fixed playlist.html spinner that broke in last commit.
Fixed some song selecting issues + the one mentioned in ticket #60
(comment 04/22/06 14:17:24: Modified by abetner)
2006-05-03 21:03:10 +00:00
Anders Betnér db6e5dc480 Switched playlist.html from DAAP XML requests to RSP.
This is quite a bit of a fast hack, just to se if it works.
2006-05-03 19:03:33 +00:00
Ron Pedde c578eb5bae Fix disclaimer wording. :) 2006-04-28 05:30:47 +00:00
Anders Betnér 83e20a2824 Use css overflow on genres/artists/album select boxes instead
of truncating the text
2006-04-22 21:06:34 +00:00
Anders Betnér 03664de092 Small IE javascript fix (removed tr.hasAttribute) 2006-04-20 21:47:58 +00:00
Anders Betnér aa5c3adb9a Added a spinner closes #34
Started work on #60 you can select songs by clicking and ctrl-clicking
(can't do anything with the selected songs though)
2006-04-20 21:30:47 +00:00
Anders Betnér b60b439102 playlist.html:
* added a somewhat flaky spinner, will make it more smooth later
 * started work on selectable songs in songlist
 * removed unused code in playlist.js
2006-04-18 20:23:19 +00:00
Anders Betnér 268019eb41 playlist.html: Put songid as a row attribute in songlist 2006-04-17 21:13:28 +00:00
Anders Betnér 610f507ada Removed genre from songlist. 2006-04-14 05:34:47 +00:00
Anders Betnér 26a235672b Forgot some select boxes on config.html 2006-04-12 21:28:34 +00:00
Anders Betnér 3fd9f6d353 status page uses /xml-rpc?metod=config
First shot at it, nothing is editable and some conf fields are
not updated at all.
2006-04-12 21:01:38 +00:00
Anders Betnér 48dba7a057 Change all element.firstChild.nodeValue to
Element.textContent(element) to fix bug #58
2006-04-11 07:22:34 +00:00
Anders Betnér 99c68192f3 Wording 2006-04-10 20:17:44 +00:00
Anders Betnér 6d6f2d125f playlist.html: html clean up 2006-04-09 00:17:10 +00:00
Anders Betnér 0987d427e6 playlist.html: The livegrid works you can scroll up and down,
but songnames etc are truncated to 10 chars to prevent
the rows from expanding their heights.
I have to do something about the layout to get more room.
2006-04-08 23:57:40 +00:00
Anders Betnér cb30e0446f playlist.html: Livegrid works with browsing and searching, but it thinks
that all songlists are 1000 songs long until bug #53 is fixed.
2006-04-08 20:54:58 +00:00
Anders Betnér 2ae9bd5adf playlist.html: changed display of song time from ms to
minutes:seconds
2006-04-08 20:37:06 +00:00
Anders Betnér ff9ef03ed1 Moved web admin navigation box width from html to css.
Changed cvs url to point to svn
2006-04-08 20:15:19 +00:00
Anders Betnér a9dd972f25 First incarnation of playlist scrolling with Openrico Livegrid.
If you open playlist.html and without selecting anything head
to the song list scroller you can scroll in your song list. With
rows fetched dynamicly from the server.
A lot of things are broken, but the scrolling works!
2006-04-08 19:48:18 +00:00
Anders Betnér 3b5e89708f Fixed #42 2006-04-06 21:20:33 +00:00
Anders Betnér 47db1632a3 Implemented #44 2006-04-06 21:00:47 +00:00
Anders Betnér 7ec594b0c5 Put back the link to stop the server from the status page 2006-04-03 09:36:13 +00:00
Anders Betnér 76ef6be721 Minimal IE prefix, won't fix anything, I just wanted to
commit before messing with the Rico livegrid
2006-04-01 22:12:03 +00:00
Anders Betnér 5a731133e2 Reverted #41 fix i r906. IE cache issues, now fixed server side by r907 2006-04-01 21:57:53 +00:00
Anders Betnér 74ab93a851 Fix for me and IE booth being idiots.
Added a random parameter to the xml-rpc call to prevent IE caching.
2006-03-31 21:45:38 +00:00
Anders Betnér 422f0841c2 Fixed status page for IE, apart from
#31, IE chockes on non utf-8 chars in the xml
#41, IE will cache the xml-rpc answer
2006-03-31 20:32:32 +00:00
Anders Betnér eb9a771dad Changed status.html to use /xml-rpc?method=stats every 5 seconds instead
of reloading the page every 10 seconds.
This breaks in IE, will fix it later.
2006-03-31 20:08:40 +00:00
Anders Betnér 38a74ab1eb Moved defects and todos to trac.mt-daapd.org 2006-03-31 07:29:53 +00:00
Anders Betnér 62f802f218 playlist.js: Major refactoring. I probably broke something 2006-03-29 22:20:12 +00:00
Anders Betnér 5c24ad2d02 playlist.js: add playlist checks if 'untitled playlist' exists and
adds 'untitled playlist 1' (or 2 or 3 or...)
2006-03-29 12:35:31 +00:00
Anders Betnér cfc50a5005 Playlist.js: fix playlist names containing "'" wrongly encoded 2006-03-29 11:24:46 +00:00
Anders Betnér c3a8a453be Added short notes on what works and not to playlist.html
New playlists are called "untitled playlist" to conform with iTunes
2006-03-29 09:02:39 +00:00
Anders Betnér 8c39e0294e Delete playlist works. (Hit delete key to remove the playlist) 2006-03-27 22:19:18 +00:00
Anders Betnér 22649c0da3 playlist.js: add static playlist works, can't add any items
to the playlist though
2006-03-27 21:56:26 +00:00
Anders Betnér 3697dbd0aa playlist.js Click outside the "edit playlist name" box will end the
edit and send the new name to the server
Fixed a positioning error when the page is scrolled
2006-03-27 21:12:28 +00:00
Anders Betnér 8b46f4f586 Added rico.js to the javascript libraries
Added rename playlist functionality. (click wait click on a playlist,
type new name hit return) WARNING this will remove the smart playlist
spec, use it only on static playlists (which you can't even add through
the web interface)
2006-03-27 20:26:12 +00:00
Anders Betnér 453aa41077 playlist.js: Possible to browse playlists 2006-03-27 09:34:12 +00:00
Anders Betnér a06fa36c21 First time ever I've introduced an error by linting. 2006-03-26 21:34:57 +00:00
Anders Betnér 31b142bef6 Linted playlist.js 2006-03-26 21:24:20 +00:00
Anders Betnér d662654f35 Make the select boxes remember their selections when browsing, just like
iTunes does.
Moved some javascript around.
2006-03-26 21:14:03 +00:00
Anders Betnér 2dcb98d6e3 Fixed playlist.js browse and search
Added index=0-50 to query. (Song lists with more than 51 hits will
be truncated to 51 hits.) This is temporary until the rico live
grid works.
2006-03-25 12:48:51 +00:00
Anders Betnér 0d4882ae8e Playlist.js: fix busy message, add autosearch at a 500ms typing delay
in the search box
playlist.html: layout
2006-03-24 11:44:50 +00:00
Anders Betnér 6e9d4ef491 Playlist.js: fixed search 2006-03-24 07:47:43 +00:00
Anders Betnér 33802c5dff Playlist: Removed debug code
Fixed browse by genre/artist/album click, broke search
2006-03-24 07:09:31 +00:00
Anders Betnér 786ccfecda Refactored playlist.js (partially done)
Added searchbox on the playlist page
Some layout css fiddeling.
2006-03-23 22:00:38 +00:00
Anders Betnér 48e8e0ef72 Autoconf is supposed to make life easy, I guess that
is only true if someone else sets it up for you.
Here's my fumbly finger approach to get it right.
2006-03-23 10:38:11 +00:00
Ron Pedde 0d55a718cc automake sucks 2006-03-22 23:48:13 +00:00
Anders Betnér 1fa4d66401 Changed playlist editor from table layout to using divs 2006-03-22 08:55:31 +00:00
Anders Betnér adf55f3fea First steps towards a web based static playlist editor.
Not so functional at the moment.
2006-03-21 21:59:18 +00:00
Ron Pedde 9a133dcbdc Merged win32-branch 2006-02-26 08:46:24 +00:00
Ron Pedde a636d86826 add playlist js back in -- hat tip to Stefan Bruns 2006-02-09 07:36:29 +00:00
Ron Pedde 9bfbfa8615 Herman's web interface fixes 2006-01-26 15:08:11 +00:00
Ron Pedde 8e7bd9cd8b Credit diego for configure patches 2006-01-16 22:29:38 +00:00
Ron Pedde 839386f86e display parse errors in web interface 2006-01-16 22:28:44 +00:00
Ron Pedde a8e9e7bfd6 From ccrdude 2005-12-04 19:09:54 +00:00
Ron Pedde ce31933f14 Fix IE bug again 2005-12-03 07:54:30 +00:00
Ron Pedde 7cf7d23bc4 some global js functions 2005-11-20 10:02:31 +00:00
Ron Pedde d284223749 Oops.. forgot to install the popup 2005-11-20 06:25:20 +00:00
Ron Pedde 341b3a750d Patrick's shiny new web interface 2005-11-14 05:41:18 +00:00
Ron Pedde dee22896a8 codectype transcoding 2005-11-11 23:52:42 +00:00
Ron Pedde 2402c35fb3 Ooooh... got it. REALLY fix the script error on IE 2005-11-11 23:05:22 +00:00
Ron Pedde cbc6d22ea7 Fix the ie script thing as described on the forums 2005-11-11 22:45:35 +00:00
Ron Pedde f127d8cb58 allow editing of smart playlists 2005-11-03 05:02:17 +00:00
Ron Pedde 0821b9ce9d musepack support from slomo 2005-11-02 04:45:25 +00:00
Ron Pedde 5da8c6a44e Patrick Kolla's wizard stuff 2005-11-01 23:55:20 +00:00
Ron Pedde de86bbd5ad CREDITS fixes 2005-11-01 00:11:03 +00:00
Ron Pedde b4d493f8cf nother copy of credits. wish cvs handled symlinks well 2005-11-01 00:10:10 +00:00
Ron Pedde b612f351ad credits, other various web trifles 2005-11-01 00:09:39 +00:00
Ron Pedde 20634b4b4d Get rid of playlist tab, as it doesn't work... 2005-10-31 23:49:36 +00:00
Ron Pedde 64e1af83a4 Fixes for mlit to xml translation with string length of 0, suggested by Stefan Bruns 2005-10-26 06:00:54 +00:00
Ron Pedde e7d5aa986a First pass at playlist editor 2005-10-23 23:55:35 +00:00
Ron Pedde 3acd647a55 patches from Stefan Bruns for js speedups, konq support 2005-08-16 02:30:45 +00:00