Branch: refs/heads/demo-and-secrets
  Home:   https://github.com/PathwayCommons/factoid
  Commit: 3f040d3fdd23f9686e75f92e58e9239ea1262ea6
      
https://github.com/PathwayCommons/factoid/commit/3f040d3fdd23f9686e75f92e58e9239ea1262ea6
  Author: Max Franz <[email protected]>
  Date:   2019-10-29 (Tue, 29 Oct 2019)

  Changed paths:
    M src/client/components/editor/index.js
    M src/client/router.js
    M src/config.js
    M src/model/syncher.js
    M src/server/index.js
    M src/server/routes/api/document/index.js

  Log Message:
  -----------
  Add support for a demo route & enforce secret existence on create()

- Add a /demo route that always resolves to an editor view that has a document 
ID of 'demo' and secret of 'demo'.  If the document does not exist, it will be 
created by accessing this URL.
- Enforce secret existence prior to client `syncher.create()` requests.  This 
makes it impossible for a client to create synched objects, unless the provided 
secret already exists within the 'secret' table.  An entry is added to the 
secret table
- The demo document is excluded from POST /document listings.
- You can DELETE /demo to remove all data that uses the demo secret.  This 
removes the demo document and secrets.  This requires the API key.


-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/cytoscape-cvs/PathwayCommons/factoid/push/refs/heads/demo-and-secrets/000000-3f040d%40github.com.

Reply via email to