Commit Graph

10 Commits

Author SHA1 Message Date
Lucas Verney d8a7d4f66a Rework webplayer
Full rework of webplayer. Webplayer is back to its previous working
state, and ready for further improvements.
2016-08-10 23:50:23 +02:00
Lucas Verney fffe9c4cd3 Major code review
Major code review, cleaning the code and adding a lot of comments. Also
implements a separate store to keep entities with a reference count and
garbage collection. This closes #15.

Known issues at the moment are:
* Webplayer is no longer working, it has to be refactored.
* AlbumPage is to be implemented.
2016-08-10 21:40:25 +02:00
Lucas Verney 9d73eeba15 Handle session expiration. Closes #11 2016-08-06 17:20:02 +02:00
Lucas Verney b73b4ba200 Finish API refactor, use normalizr + immutable 2016-08-05 00:04:23 +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 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 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 2e1381acc6 Initial commit 2016-07-24 23:46:27 +02:00