You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by gi...@git.apache.org on 2017/08/03 19:21:28 UTC

[GitHub] Antonio-Maranhao opened a new pull request #947: WIP: Refactor CORS addon

Antonio-Maranhao opened a new pull request #947: WIP: Refactor CORS addon
URL: https://github.com/apache/couchdb-fauxton/pull/947
 
 
   ## Overview
   
   Refactored CORS add-on to use Redux and remove Backbone dependencies.
   Extras:
    - (bug 1) Fixed domain validation to show error when trying to add `http://` and `https://`
    - (bug 2) Fixed issue that UI was changing even though the network call to update the config failed.
   
   ## Testing recommendations
   
   - Enable/disable CORS config
   - Switch between `All domains` / `Restrict to specific domains`
   - Add, update, remove domains
   - (bug 1) Try to add the domains `https://` and `http://` - it should display an error message
   - (bug 2) After loading the CORS config page, use Chrome's dev tools to simulate Offline mode (Network tab). Then try to make any changes (add/update/delete). It should display an error and the UI values should remain the same.
   
   **NOTE**: Tests are NOT updated yet.
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services