移至檔案
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
app Fix mixed content blocked when browsing the UI on HTTPS 2016-07-29 00:03:28 +02:00
hooks Fix mixed content blocked when browsing the UI on HTTPS 2016-07-29 00:03:28 +02:00
scripts Translations improved 2016-07-28 23:20:11 +02:00
vendor Manage CSS with webpack as well, reduce number of final scripts 2016-07-25 01:04:09 +02:00
.babelrc Fix mixed content blocked when browsing the UI on HTTPS 2016-07-29 00:03:28 +02:00
.eslintignore Initial commit 2016-07-24 23:46:27 +02:00
.eslintrc.js Hot reloading with webpack 2016-07-26 15:59:18 +02:00
.gitignore Translations improved 2016-07-28 23:20:11 +02:00
.stylelintrc Better responsiveness 2016-07-27 13:51:30 +02:00
CONTRIBUTING.md Translations improved 2016-07-28 23:20:11 +02:00
LICENSE Initial commit 2016-07-24 23:46:27 +02:00
README.md Translations improved 2016-07-28 23:20:11 +02:00
TODO Translations improved 2016-07-28 23:20:11 +02:00
favicon.ico Initial commit 2016-07-24 23:46:27 +02:00
fix.ie9.js Initial commit 2016-07-24 23:46:27 +02:00
index.all.js Translations improved 2016-07-28 23:20:11 +02:00
index.development.js Translations improved 2016-07-28 23:20:11 +02:00
index.html Hot reloading with webpack 2016-07-26 15:59:18 +02:00
index.js Accessibility stuff 2016-07-26 13:21:37 +02:00
index.production.js Translations improved 2016-07-28 23:20:11 +02:00
package.json Fix mixed content blocked when browsing the UI on HTTPS 2016-07-29 00:03:28 +02:00
webpack.config.base.js Fix mixed content blocked when browsing the UI on HTTPS 2016-07-29 00:03:28 +02:00
webpack.config.development.js Hot reloading with webpack 2016-07-26 15:59:18 +02:00
webpack.config.js Initial commit 2016-07-24 23:46:27 +02:00
webpack.config.production.js Hot reloading with webpack 2016-07-26 15:59:18 +02:00

README.md

Ampache React

This is an alternative web interface for Ampache built using Ampache XML API and React.

Trying it out

Just drop this repo in a location served by a webserver and head your browser to the correct URL :)

Support

The supported browsers should be:

  • IE >= 9 (previous versions of IE are no longer supported by Microsoft)
  • Any last three versions of major browsers (> 1% net share).
  • No support provided for Opera Mini.

If you experience any issue, please report :)

Building

Building of this app relies on webpack.

First do a npm install to install all the required dependencies.

Then, to make a development build, just run webpack in the root folder. To make a production build, just run NODE_ENV=production webpack in the root folder. All files will be generated in the app/dist folder.

Please use the Git hooks (in hooks folder) to automatically make a build before comitting, as commit should always contain an up to date production build.

Compilation cache is stored in .cache at the root of this repo. Remember to clean it in case of compilation issues.

Contributing

See CONTRIBUTING.md file for extra infos.

License

This code is distributed under an MIT license.

Feel free to contribute and reuse. For more details, see LICENSE file.