Commit Graph

41 Commits

Author SHA1 Message Date
Lucas Verney 4d4ce6c14e Basic webplayer
Now able to play a single file, in a format supported by your browser.

* Playlists not yet supported.
* Volume is a simple on/off switch.
* Repeat / Random not yet supported.
2016-08-07 01:38:49 +02:00
Lucas Verney 4cef2c2014 Missing import on LogoutPage 2016-08-06 17:25:56 +02:00
Lucas Verney 9d73eeba15 Handle session expiration. Closes #11 2016-08-06 17:20:02 +02:00
Lucas Verney bb02473b11 Nicer alerts when an API error occurs, see #6 2016-08-06 16:59:22 +02:00
Lucas Verney 9d1ef1b0bf Fix some aria warnings and use immutable everywhere 2016-08-06 15:32:03 +02:00
Lucas Verney 34713cdcde Add some note about Ampache required version in README 2016-08-05 13:31:57 +02:00
Lucas Verney 2318889246 Forgot react-router-scroll dep in packages.json 2016-08-05 00:11:55 +02:00
Lucas Verney b73b4ba200 Finish API refactor, use normalizr + immutable 2016-08-05 00:04:23 +02:00
Lucas Verney 288039e732 More reliable build, spinning loading wheel and beginning of webplayer
* Build everything in `public/` folder, to serve only this and avoid
issues with `publicPath` in webpack.
* Moved some icons to FontAwesome and use spinning wheels from
FontAwesome to indicate loading.
* (Very) beginning of a webplayer.
2016-08-04 15:28:07 +02:00
Lucas Verney 6e6588f01e Scroll back to top on page change 2016-08-03 22:34:12 +02:00
Lucas Verney c9013950d7 Fix caret and border-bottom alignement on Discover page 2016-08-03 20:28:26 +02:00
Lucas Verney 9717bdc47b Store invalidation on logout
Invalidate the store at logout, emptying cached items such as artists,
albums and songs and then preventing them from quickly reappearing when
reconnecting with the same or a different account.

Closes #5.
2016-08-03 15:55:42 +02:00
Lucas Verney df9dca3a11 Beginning of Discover page and remove dead code 2016-08-03 15:46:51 +02:00
Lucas Verney b450365af0 Set document lang on localization 2016-08-02 13:59:26 +02:00
Lucas Verney d5da4e4818 Fix grid + begin play buttons 2016-08-02 13:23:53 +02:00
Lucas Verney 2b3207ec44 Better responsive sidebar
Also fix a i18n missing string and add some `role` attributes for
accessibility.
2016-08-01 12:04:59 +02:00
Lucas Verney 40f6223bd0 Use Immutable, enhance i18n, pagination in the store
* Keep track of pagination in the store
* Use Immutable in reducers
* Finish i18n, every available strings are now translated in English and French
* Add a loading indicator
* Premises of API error handling
* Better locale negotiation
2016-08-01 00:30:44 +02:00
Lucas Verney 5a9f540cc0 Use Bootstrap variables in styles 2016-07-31 12:18:46 +02:00
Lucas Verney b7ff2bbd85 l10n of login info messages 2016-07-31 01:05:08 +02:00
Lucas Verney 1ec6af4833 Get rid of lodash in Grid 2016-07-30 22:54:19 +02:00
Lucas Verney 1add19319d Add Travis-CI build + restore stylelint 2016-07-30 19:50:04 +02:00
Lucas Verney 42662200aa Beginning of a more responsive sidebar 2016-07-30 16:01:42 +02:00
Lucas Verney d8a44cdc3c Use table-condensed on small screens 2016-07-30 01:05:25 +02:00
Lucas Verney 85ebfa0c55 Update hook to rebuild (S)CSS as well 2016-07-30 00:50:45 +02:00
Lucas Verney 27e3dc9b14 Fix issue #3, focus issue on navbar 2016-07-30 00:44:32 +02:00
Lucas Verney 2d9747482b Move to CSS modules
Also includes misc fixes

* Use CSS modules for all the CSS.
* Fix a bug in the filterbar which was not filtering anything.
* Fix a l10n issue in songs view.
* Update hook to clean build repo before running, preventing to push
dev built code.
* Update webpack build code.
2016-07-30 00:19:05 +02:00
Lucas Verney 921028c073 Finish translation 2016-07-29 00:50:08 +02:00
Lucas Verney 157382c3b8 Fix mixed content blocked when browsing the UI on HTTPS
When not setting an endpoint protocol scheme at login, "http" was
assumed. Changing this to the same protocol as current one, to avoid
mixed blocked content.

Also prevent multiple submissions of LoginForm.
2016-07-29 00:03:28 +02:00
Lucas Verney 945b218504 Translations improved
* Translation system in place
* French translations available
2016-07-28 23:20:11 +02:00
Lucas Verney e6b9c3bf07 Beginning of translation using react-intl 2016-07-28 01:22:48 +02:00
Lucas Verney a13f87b5c0 Remove horizontal scrolling on xs screen on login form 2016-07-27 14:10:01 +02:00
Lucas Verney 25844836cb Better responsiveness 2016-07-27 13:51:30 +02:00
Lucas Verney 28bff9cece Fix a bug with error handling in API middleware 2016-07-27 13:51:09 +02:00
Lucas Verney 942d123791 Limit maximum width of arts 2016-07-26 21:06:41 +02:00
Lucas Verney b54734b5dc Improve sidebar 2016-07-26 21:01:27 +02:00
Lucas Verney 414f05df44 Hot reloading with webpack 2016-07-26 15:59:18 +02:00
Lucas Verney ef4dfd1176 Accessibility stuff 2016-07-26 13:21:37 +02:00
Lucas Verney 136fb59ed5 Better webpack config 2016-07-25 23:22:44 +02:00
Lucas Verney 767fd0f7d1 Manage CSS with webpack as well, reduce number of final scripts 2016-07-25 01:04:09 +02:00
Lucas Verney 2ccabdbd7f Disable redux logging middleware when in production build 2016-07-24 23:52:56 +02:00
Lucas Verney 2e1381acc6 Initial commit 2016-07-24 23:46:27 +02:00