Andy [Sun, 20 Sep 2015 13:52:52 +0000 (15:52 +0200)]
Merge pull request #84 from hsoft/add-all-songs
Add "Add all" button in the Browse section
Virgil Dupras [Mon, 17 Aug 2015 21:01:47 +0000 (17:01 -0400)]
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.
Andy [Thu, 16 Jul 2015 09:38:53 +0000 (11:38 +0200)]
Merge pull request #81 from hsoft/fix-encoded-uri-addtrack
Fix broken add track action
Virgil Dupras [Mon, 13 Jul 2015 18:31:56 +0000 (14:31 -0400)]
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
Andy [Wed, 24 Jun 2015 18:17:05 +0000 (20:17 +0200)]
Merge pull request #78 from hsoft/master
Fix browsing for non-ascii entity URI under Safari
Virgil Dupras [Sun, 21 Jun 2015 02:39:42 +0000 (22:39 -0400)]
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.
Andy [Sun, 3 May 2015 00:20:04 +0000 (02:20 +0200)]
Merge pull request #73 from jpleau/fix_init
fix webport using the wrong variable in init scripts
Jason Pleau [Sat, 2 May 2015 00:54:10 +0000 (20:54 -0400)]
fix webport using the wrong variable in init scripts
Andrew Karpow [Fri, 1 May 2015 23:41:08 +0000 (01:41 +0200)]
replaced deprecated drone.yml with travis-ci
Andy [Fri, 1 May 2015 23:11:05 +0000 (01:11 +0200)]
Merge pull request #72 from jpleau/various_patches
various patches: manpage, remove external js, init scripts
Jason Pleau [Fri, 1 May 2015 21:11:15 +0000 (17:11 -0400)]
update init script and systemd service file
init script: depend on $remote_fs instead of $local_fs. Reason: /usr can
be mounted a remote filesystem. Also depend on mpd (instead of $mpd,
which doesn't seem to exist.. at least on my system)
Also provide a default config (which should be installed as
/etc/default/ympd)
This commit makes the systemd unit file as well as the init script load
values from this configuration file so the user can change ympd settings
easily when running it as a service.
Jason Pleau [Fri, 1 May 2015 21:06:54 +0000 (17:06 -0400)]
webpage: remove respond.js
Calling outside resources is a breach of privacy, and prevents the page
from loading correctly if offline.
Jason Pleau [Fri, 1 May 2015 21:05:34 +0000 (17:05 -0400)]
manpage: set section to 1 and update version
Andrew Karpow [Fri, 1 May 2015 19:05:15 +0000 (21:05 +0200)]
apply mg_set listening_port only once, fixes #71
Andrew Karpow [Fri, 24 Apr 2015 22:39:16 +0000 (00:39 +0200)]
fixed memleak in mpd_set_password
Andrew Karpow [Fri, 24 Apr 2015 22:35:01 +0000 (00:35 +0200)]
removed %m formatstring, works now with openbsd, fixes #68
Andrew Karpow [Fri, 24 Apr 2015 21:38:39 +0000 (23:38 +0200)]
add libmpdclient header location to gcc-search path, fixes openbsd builds
Andy [Fri, 24 Apr 2015 19:41:31 +0000 (21:41 +0200)]
Merge pull request #67 from jpleau/update_mongoos_56
Update mongoos 56
Jason Pleau [Tue, 21 Apr 2015 03:11:03 +0000 (23:11 -0400)]
replace mg_iterate_over_connections with a loop with mg_next
Jason Pleau [Tue, 21 Apr 2015 03:05:23 +0000 (23:05 -0400)]
update mongoose to 5.6
Andy [Thu, 19 Mar 2015 22:08:15 +0000 (23:08 +0100)]
Merge pull request #56 from warhog/master
Added ability to add streams
warhog [Fri, 6 Mar 2015 11:41:26 +0000 (12:41 +0100)]
changed order of menu entries
warhog [Fri, 6 Mar 2015 11:40:14 +0000 (12:40 +0100)]
added ability to add streams
Andy [Tue, 3 Mar 2015 20:50:49 +0000 (21:50 +0100)]
Merge pull request #52 from ajs124/master
Add crossfade support. Not sure about the icon/glyph though
Andy [Tue, 3 Mar 2015 20:49:46 +0000 (21:49 +0100)]
Merge pull request #40 from iwanders/master
Change websocket URL to allow easy incorporation of different backends.
ajs124 [Tue, 17 Feb 2015 14:45:26 +0000 (15:45 +0100)]
Add crossfade support. Not sure about the icon/glyph though
Andrew Karpow [Tue, 11 Nov 2014 20:13:11 +0000 (21:13 +0100)]
release build now installs assets to prefix
if build with dynamic assets
Ivor Wanders [Sun, 2 Nov 2014 13:29:43 +0000 (14:29 +0100)]
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.
Andy [Mon, 3 Nov 2014 18:07:33 +0000 (19:07 +0100)]
Merge pull request #38 from jpleau/jquery
add jquery source file
Andy [Mon, 3 Nov 2014 02:22:05 +0000 (03:22 +0100)]
Merge pull request #26 from KAMiKAZOW/patch-1
Create ympd.spec
Andy [Sun, 2 Nov 2014 12:13:04 +0000 (13:13 +0100)]
Merge pull request #37 from jpleau/fix_mpd_port_argument
ympd.c: add a break statement for the mpd port argument
Jason Pleau [Wed, 29 Oct 2014 22:03:25 +0000 (18:03 -0400)]
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.
Jason Pleau [Wed, 29 Oct 2014 02:48:08 +0000 (22:48 -0400)]
ympd.c: add a break statement for the mpd port argument
Otherwise, passing -p tried to also bind the http server to MPD's port
(which was already in use by MPD...)
KAMiKAZOW [Wed, 29 Oct 2014 02:08:59 +0000 (03:08 +0100)]
Rename ympd.spec to contrib/ympd.spec
Andy [Wed, 29 Oct 2014 01:38:04 +0000 (02:38 +0100)]
Merge pull request #36 from jpleau/init_script
init.debian: correct typo in shebang and adjust default webport
Jason Pleau [Wed, 29 Oct 2014 00:11:25 +0000 (20:11 -0400)]
init.debian: correct typo in shebang and adjust default webport
The default webport in the systemd unit is 8080, but the one in the init
script was 80.
Andrew Karpow [Mon, 27 Oct 2014 21:12:10 +0000 (22:12 +0100)]
add WITH_DYNAMIC_SERVING for theme developing
Andrew Karpow [Sun, 19 Oct 2014 20:57:22 +0000 (22:57 +0200)]
added mkdata.pl generator for cross-compiling, fixes #31
Andrew Karpow [Sun, 19 Oct 2014 18:29:30 +0000 (20:29 +0200)]
prepare for 1.2.3 release
Andrew Karpow [Sun, 19 Oct 2014 18:27:11 +0000 (20:27 +0200)]
set mpd timeout only after connect, fixes #32
Andrew Karpow [Sun, 19 Oct 2014 17:52:23 +0000 (19:52 +0200)]
upgraded to mongoose 5.4, introducing ipv6 support
Andrew Karpow [Sun, 19 Oct 2014 14:45:49 +0000 (16:45 +0200)]
make mkdata more portable, fixes #35
Andrew Karpow [Sun, 19 Oct 2014 14:35:16 +0000 (16:35 +0200)]
fixed CMake warning CMP0026
KAMiKAZOW [Wed, 30 Jul 2014 04:34:54 +0000 (06:34 +0200)]
Create ympd.spec
Spec file to create RPM packages. Works under Fedora 19 and 20:
https://build.opensuse.org/package/show/home:KAMiKAZOW:Fedora/ympd
Andy [Sat, 24 May 2014 13:25:47 +0000 (15:25 +0200)]
Merge pull request #19 from ajs124/master
remove webkit prefix from notifications
ajs124 [Sat, 24 May 2014 01:12:51 +0000 (03:12 +0200)]
change notification cookie from session to "permanent"
ajs124 [Sat, 24 May 2014 00:57:30 +0000 (02:57 +0200)]
remove webkit prefix from Notifications, now working with firefox!
+ probably fix bug with undefined artist or album
Andrew Karpow [Fri, 9 May 2014 12:10:14 +0000 (14:10 +0200)]
bumped version to 1.2.2
Andy [Wed, 23 Apr 2014 15:31:05 +0000 (17:31 +0200)]
Merge pull request #14 from phmongeau/master
make service environment file optional
Philippe Mongeau [Wed, 23 Apr 2014 14:47:25 +0000 (10:47 -0400)]
make service environment file optional
Andrew Karpow [Wed, 23 Apr 2014 10:17:55 +0000 (12:17 +0200)]
drop privliges after port binding, fixes #12
Andy [Wed, 23 Apr 2014 10:03:17 +0000 (12:03 +0200)]
Merge pull request #13 from kingcody/hotfix/prev-next-swap
fix prev and next buttons
Cody Mize [Wed, 23 Apr 2014 07:13:07 +0000 (03:13 -0400)]
fix prev and next buttons; was swapped
Andy [Tue, 15 Apr 2014 18:59:50 +0000 (20:59 +0200)]
Merge pull request #11 from Nighoo/typo-1
fix some typos
Nico Suhl [Tue, 15 Apr 2014 17:16:04 +0000 (19:16 +0200)]
fix some typos
Andy [Tue, 15 Apr 2014 12:32:52 +0000 (14:32 +0200)]
Merge pull request #9 from TheReverend403/patch-1
fixed typo in index.html
Lee Watson [Tue, 15 Apr 2014 11:41:48 +0000 (12:41 +0100)]
Ermahgerd! Werbserver!
Yeah, typo.
Andy [Sun, 13 Apr 2014 20:37:43 +0000 (22:37 +0200)]
Merge pull request #8 from Kernald/systemd-unit-config
Allow the sytemd unit to read a configuration file
Marc Plano-Lesay [Sat, 12 Apr 2014 17:45:40 +0000 (19:45 +0200)]
Allow the sytemd unit to read a configuration file
Andrew Karpow [Mon, 31 Mar 2014 15:55:40 +0000 (17:55 +0200)]
release 1.2.1
engine [Sun, 30 Mar 2014 12:18:28 +0000 (14:18 +0200)]
increased mpd timeout to 10 seconds
Signed-off-by: Andrew Karpow <andy@ndyk.de>
othmar52 [Thu, 27 Mar 2014 09:52:28 +0000 (10:52 +0100)]
bugfix timeout when using the searchfield
Signed-off-by: Andrew Karpow <andy@ndyk.de>
Andrew Karpow [Tue, 18 Mar 2014 03:01:39 +0000 (04:01 +0100)]
added mkdata dependency properly, fixes #7
Andrew Karpow [Tue, 18 Mar 2014 00:37:33 +0000 (01:37 +0100)]
Readme adaptions for 1.2.0 release
Andrew Karpow [Tue, 18 Mar 2014 00:30:01 +0000 (01:30 +0100)]
Merge branch 'mongoose'
Andrew Karpow [Tue, 11 Mar 2014 19:29:39 +0000 (20:29 +0100)]
add badge
Andrew Karpow [Sat, 8 Mar 2014 20:11:14 +0000 (21:11 +0100)]
updated readme.md
Andrew Karpow [Sat, 8 Mar 2014 19:38:14 +0000 (20:38 +0100)]
updated initscript
Andrew Karpow [Sat, 8 Mar 2014 19:37:03 +0000 (20:37 +0100)]
updated manpage
Andrew Karpow [Sat, 8 Mar 2014 19:33:22 +0000 (20:33 +0100)]
fixed password remove
Andrew Karpow [Sat, 8 Mar 2014 19:32:54 +0000 (20:32 +0100)]
removed perl generator, added c generator
Andrew Karpow [Sat, 8 Mar 2014 11:23:21 +0000 (12:23 +0100)]
fixed osx scanf behaviour, notifications
Andrew Karpow [Sat, 22 Feb 2014 01:11:45 +0000 (02:11 +0100)]
better json generator, various fixups
Andrew Karpow [Sat, 22 Feb 2014 00:57:26 +0000 (01:57 +0100)]
replaces libwebsockets with mongoose, changed licese to gpl
add search support
add playlist support
various fixups
C Cleanup
Andrew Karpow [Sun, 16 Feb 2014 19:29:36 +0000 (20:29 +0100)]
added drone.yml for ci build
Andrew Karpow [Sun, 16 Feb 2014 18:46:53 +0000 (19:46 +0100)]
initial mongoose checkin
Andrew Karpow [Tue, 4 Feb 2014 17:58:05 +0000 (18:58 +0100)]
fix settings modal hiding on keypress
Andrew Karpow [Tue, 4 Feb 2014 17:24:01 +0000 (18:24 +0100)]
updated bootstrap to 3.1
Andrew Karpow [Tue, 4 Feb 2014 16:58:10 +0000 (17:58 +0100)]
add settings modal dialog
Philippe Mongeau [Sat, 25 Jan 2014 00:03:16 +0000 (19:03 -0500)]
mpd_get_title: call basename only when using path
Otherwise, traks like "Morning Bell/Amnesiac" get trimmed to "Amnesiac"
Philippe Mongeau [Tue, 21 Jan 2014 21:01:24 +0000 (16:01 -0500)]
add systemd service file
Andrew Karpow [Tue, 21 Jan 2014 14:48:26 +0000 (15:48 +0100)]
remove installation of debian-specific init.d script
Andrew Karpow [Tue, 4 Feb 2014 17:58:05 +0000 (18:58 +0100)]
fix settings modal hiding on keypress
Andrew Karpow [Tue, 4 Feb 2014 17:24:01 +0000 (18:24 +0100)]
updated bootstrap to 3.1
Andrew Karpow [Tue, 4 Feb 2014 16:58:10 +0000 (17:58 +0100)]
add settings modal dialog
Andy [Sat, 25 Jan 2014 15:09:37 +0000 (07:09 -0800)]
Merge pull request #5 from phmongeau/fix_mpd_get_title
mpd_get_title: call basename only when using path
Philippe Mongeau [Sat, 25 Jan 2014 00:03:16 +0000 (19:03 -0500)]
mpd_get_title: call basename only when using path
Otherwise, traks like "Morning Bell/Amnesiac" get trimmed to "Amnesiac"
Andy [Wed, 22 Jan 2014 12:48:43 +0000 (04:48 -0800)]
Merge pull request #4 from phmongeau/systemd_service
Add systemd service file
Philippe Mongeau [Tue, 21 Jan 2014 21:01:24 +0000 (16:01 -0500)]
add systemd service file
Andrew Karpow [Tue, 21 Jan 2014 14:48:26 +0000 (15:48 +0100)]
remove installation of debian-specific init.d script
Andrew Karpow [Tue, 21 Jan 2014 00:06:05 +0000 (01:06 +0100)]
Merge branch 'mgax-patch-1'
Alex Morega [Mon, 20 Jan 2014 21:19:34 +0000 (23:19 +0200)]
fix SCRIPTNAME value
Andrew Karpow [Mon, 20 Jan 2014 23:34:31 +0000 (00:34 +0100)]
add libwebsockets include directory to global include path
Alex Morega [Mon, 20 Jan 2014 21:19:34 +0000 (23:19 +0200)]
fix SCRIPTNAME value
Andrew Karpow [Sun, 19 Jan 2014 01:11:37 +0000 (02:11 +0100)]
removed debug stuff, unused variable
Andrew Karpow [Sun, 19 Jan 2014 01:08:56 +0000 (02:08 +0100)]
responsive buttons
Andrew Karpow [Fri, 17 Jan 2014 19:03:08 +0000 (20:03 +0100)]
add readme for github
Andrew Karpow [Fri, 17 Jan 2014 18:42:35 +0000 (19:42 +0100)]
changed Version to 1.0.0
Andrew Karpow [Fri, 17 Jan 2014 18:41:41 +0000 (19:41 +0100)]
add BSD-2 License, release is immenent
Andrew Karpow [Fri, 17 Jan 2014 18:41:19 +0000 (19:41 +0100)]
fixed man page install path