Commit Graph

75 Commits

Author SHA1 Message Date
Andrew Karpow 0059a6dd41 removed minified files, minifing should be part of build process 2016-02-13 21:58:43 +01:00
Andy 9274480b2e Merge pull request #113 from BenjaminHae/playbutton
added functionality of play/pause symbol track-icon to queue header
2016-02-13 21:51:34 +01:00
Andy 126f247a08 Merge pull request #102 from SuperBFG7/browse
remember last folder in browser
2016-02-13 21:49:18 +01:00
Andy 597018542e Merge pull request #104 from SuperBFG7/touch
do not use mouseenter/leave on touch devices
2016-02-13 21:48:54 +01:00
Benjamin Häublein b047a900bc added functionality of play/pause button to queue header 2016-01-16 19:33:29 +01:00
SuperBFG7 2e74427778 do not use mouseenter/leave on touch devices 2015-10-22 17:48:42 +02:00
SuperBFG7 f06885fab7 remember last folder in browser 2015-10-22 11:44:50 +02:00
Benjamin Häublein ab9c9cf9e2 moved Update-DB Button to settings 2015-09-25 10:39:51 +02:00
Andrew Karpow 9f06699d3e Merge branch 'master' of https://github.com/Nofre/ympd into Nofre-master 2015-09-20 16:00:45 +02:00
Andy 30b0b812f6 Merge pull request #69 from kurt-vd/master
add support for output enable/disable
2015-09-20 15:56:10 +02:00
Andy b211543890 Merge pull request #82 from iwanders/improvement_stream_ui
Improve the add stream dialog user experience.
2015-09-20 15:55:19 +02:00
Andy 6dcb2ad758 Merge pull request #87 from BenjaminHae/master
Added the ability to save queue as playlist
2015-09-20 15:54:20 +02:00
Andy 84f3a78a42 Merge pull request #89 from dewyatt/master
Add arrow left/right and spacebar controls
2015-09-20 15:53:23 +02:00
Daniel Wyatt 86d2d2ecb4 Add arrow left/right and spacebar controls 2015-09-13 04:38:18 -04:00
Benjamin Häublein 4f138c0986 Save Queue 2015-09-02 19:47:58 +02:00
Nofre 30bb8161b5 code cleared 2015-09-02 19:38:42 +02:00
Nofre 94869bba92 Added a tab to search radio stations from Dirble. Also fixes #85 2015-08-27 16:15:23 +02:00
Virgil Dupras 4e2f300643 Add "Add all" button in the Browse section
It adds all items in the directory. It's equivalent to clicking on "+"
on that same directory we decided to browse.
2015-08-17 17:01:47 -04:00
Ivor Wanders d3148056fc Improves the add stream dialog user experience.
When the dialog is opened, the text area is focused. When enter is
pressed (and the form is submit) the window now behaves as expected and
adds the stream to the playlist and closes. The text area is now also
cleared once the form is submit, previously the old stream was still
visible when the dialog was opened a second time.
2015-07-16 11:50:54 +02:00
Virgil Dupras 698f573a65 Fix broken add track action
Fix the bug I've introduced in my PR #78, breaking the add
track/playlist action. We have to decode URIs before sending them back
to our socket!

fixes #80
2015-07-13 14:31:56 -04:00
Virgil Dupras fe44fca184 Fix browsing for non-ascii entity URI under Safari
Previously, browsing entities with non-ascii characters in their URI
under Safari wouldn't work. Directories would be empty, songs wouldn't
be added. I haven't tried it, but this behavior seems to be common to
Webkit-based browsers, so Chrome would be affected too.

This turned out to be because Safari normalizes all unicode strings to
NFC, breaking the link with MPD-spewed URIs, which are in NFD.

An obvious fix would have been to normalize all URIs to NFD, but
unfortunately, Safari doesn't have `str.normalize()`. Adding
normalization capabilities to our JS side would have involved
introductiing libraries such as `unorm`, which is rather big.

We could have done it on the C side, but it involves introducing `icu`,
which is far from trivial too.

After much fussing around, I stumbled on a simple solution: URI-encode
our URI when creating our browser table row. This magically prevents
Safari from trying to mess with our unicode form before we get the
chance to send it back to our server.
2015-06-20 22:39:42 -04:00
Jason Pleau 3ef53f3cc2 webpage: remove respond.js
Calling outside resources is a breach of privacy, and prevents the page
from loading correctly if offline.
2015-05-01 17:06:57 -04:00
Kurt Van Dijck d344ec05a9 add support for output enable/disable 2015-04-28 11:08:21 +02:00
warhog 4d4ff2bdc2 changed order of menu entries 2015-03-06 12:41:26 +01:00
warhog 1c4e89def8 added ability to add streams 2015-03-06 12:40:14 +01:00
Andy ca40c44dd5 Merge pull request #52 from ajs124/master
Add crossfade support. Not sure about the icon/glyph though
2015-03-03 21:50:49 +01:00
Andy 1268cab3b3 Merge pull request #40 from iwanders/master
Change websocket URL to allow easy incorporation of different backends.
2015-03-03 21:49:46 +01:00
ajs124 3eb12e6ecd Add crossfade support. Not sure about the icon/glyph though 2015-02-17 15:45:26 +01:00
Andrew Karpow e6e93a08c7 release build now installs assets to prefix
if build with dynamic assets
2014-11-11 21:13:11 +01:00
Ivor Wanders a5a4ac9461 Changes URL used for the websocket.
This change allows easier implementation of different backends because the websocket URL isn't identical to the webpage URL. This does not affect the functionality of the default C backend.
2014-11-03 20:01:05 +01:00
Jason Pleau 07b6ac7473 add jquery source file
This is to comply with the Debian Free Software Guidelines:
https://www.debian.org/social_contract#guidelines

ympd can still use the minified file, however we need the source files
to be included in the source package.
2014-10-29 18:25:07 -04:00
Andrew Karpow 2b5a4c6fa0 added mkdata.pl generator for cross-compiling, fixes #31 2014-10-19 22:58:03 +02:00
Andrew Karpow 87fdd34f87 make mkdata more portable, fixes #35 2014-10-19 16:45:49 +02:00
ajs124 9f001aa264 change notification cookie from session to "permanent" 2014-05-24 03:12:51 +02:00
ajs124 0730673851 remove webkit prefix from Notifications, now working with firefox!
+ probably fix bug with undefined artist or album
2014-05-24 02:57:30 +02:00
Cody Mize 11e3dbefb0 fix prev and next buttons; was swapped 2014-04-23 03:13:07 -04:00
Lee Watson e516ddb882 Ermahgerd! Werbserver!
Yeah, typo.
2014-04-15 12:41:48 +01:00
Andrew Karpow 14e807850c Merge branch 'mongoose' 2014-03-18 01:30:01 +01:00
Andrew Karpow 6bf4379eb8 fixed password remove 2014-03-08 20:33:22 +01:00
Andrew Karpow b75dadf7a9 removed perl generator, added c generator 2014-03-08 20:32:54 +01:00
Andrew Karpow 35ab38d0e2 fixed osx scanf behaviour, notifications 2014-03-08 12:31:22 +01:00
Andrew Karpow b9a4d83130 better json generator, various fixups 2014-03-08 12:30:49 +01:00
Andrew Karpow 38b4544542 replaces libwebsockets with mongoose, changed licese to gpl
add search support
add playlist support
various fixups
C Cleanup
2014-03-08 12:30:49 +01:00
Andrew Karpow 79e38e7edd initial mongoose checkin 2014-03-08 12:30:48 +01:00
Andrew Karpow 5920d9f1bf fix settings modal hiding on keypress 2014-03-08 12:30:48 +01:00
Andrew Karpow 6b6622988d updated bootstrap to 3.1 2014-03-08 12:30:48 +01:00
Andrew Karpow 8c49b2a877 add settings modal dialog 2014-03-08 12:30:48 +01:00
Andrew Karpow f0c1317d57 fix settings modal hiding on keypress 2014-02-04 18:58:05 +01:00
Andrew Karpow bde1d02055 updated bootstrap to 3.1 2014-02-04 18:24:01 +01:00
Andrew Karpow 43035bb6f7 add settings modal dialog 2014-02-04 17:58:10 +01:00