Branch: refs/heads/unstable
  Home:   https://github.com/PathwayCommons/factoid
  Commit: 715ede09df6219cec28ba2f54961d86a2a32bac1
      
https://github.com/PathwayCommons/factoid/commit/715ede09df6219cec28ba2f54961d86a2a32bac1
  Author: Max Franz <[email protected]>
  Date:   2020-10-28 (Wed, 28 Oct 2020)

  Changed paths:
    M src/config.js
    M src/model/document/document.js
    M src/server/routes/api/document/index.js
    M src/util/email.js

  Log Message:
  -----------
  Related papers notification

Details:

- This is currently a prototype.
- A new email template type is defined as `relatedPaperNotification`.
- The emails are triggered whenever the related papers are updated for a 
document.
- A new metadata field is available on a document.  
`doc.relatedPapersNotified()` can be used to set or get whether the 
notifications have been sent.  This prevents duplicates.
- Novel interactions are an optional enhancement in the emails:  An author can 
receive an email whether or not the originating factoid has a novel 
interaction.  However, if there is a novel interaction, this should be 
mentioned in the email.
- Currently, only notifications are sent to the terminal.  The emails are 
disabled until the template is set up.
- Action items are marked by `// TODO RPM`

Action items:

- [ ] Add a template to Mailjet (@jvwong), based on our email document on 
Google Docs.
- [ ] Reuse our Indra querying code to determine whether there is a novel 
interaction -- i.e. an interaction that has zero results in Indra 
(@metincansiper).
- [ ] Verify that our emails send correctly on unstable.  We'll temporary set 
unstable to send these notifications to Max and Jeff (@maxkfranz @jvwong).
- [ ] Finalise the email template text (@maxkfranz).
- [ ] Research the feasibility of the bonus 'factoidable' nudge:  Can we 
determine using AI whether a paper is a good candidate for Biofactoid?

Ref. : Novel interaction notification #858


  Commit: 1d1a5ed21f6f86ee31b7b32ab9dc315b4f5d2cae
      
https://github.com/PathwayCommons/factoid/commit/1d1a5ed21f6f86ee31b7b32ab9dc315b4f5d2cae
  Author: Jeffrey Wong <[email protected]>
  Date:   2020-11-06 (Fri, 06 Nov 2020)

  Changed paths:
    M src/model/document/document.js

  Log Message:
  -----------
  Attribute for stashing references for the article


  Commit: 6dd39ccd92fb39f1c2aabf2af56c2571d4f7b73c
      
https://github.com/PathwayCommons/factoid/commit/6dd39ccd92fb39f1c2aabf2af56c2571d4f7b73c
  Author: Jeffrey Wong <[email protected]>
  Date:   2020-11-06 (Fri, 06 Nov 2020)

  Changed paths:
    M src/server/routes/api/document/pubmed/linkPubmed.js

  Log Message:
  -----------
  - Expose helper function elink2UidList (renamed from data2UidList)
- Accept an optional filter for linknames


  Commit: ddfb05c40f3b770abea9ccacd417552def08a892
      
https://github.com/PathwayCommons/factoid/commit/ddfb05c40f3b770abea9ccacd417552def08a892
  Author: Jeffrey Wong <[email protected]>
  Date:   2020-11-06 (Fri, 06 Nov 2020)

  Changed paths:
    M src/server/routes/api/document/index.js

  Log Message:
  -----------
  Add a capability for setting the subset of referenced papers inside the 
'getRelPprsForDoc'


  Commit: dd4b45a2b15dc8ef8754b1cb5b1e78fea9c7a0e2
      
https://github.com/PathwayCommons/factoid/commit/dd4b45a2b15dc8ef8754b1cb5b1e78fea9c7a0e2
  Author: Jeffrey Wong <[email protected]>
  Date:   2020-11-06 (Fri, 06 Nov 2020)

  Changed paths:
    M src/server/routes/api/document/index.js

  Log Message:
  -----------
  Use the new set of referenced papers.


  Commit: fa2050ac8213e66ee38d664742dc6b7bd3563b15
      
https://github.com/PathwayCommons/factoid/commit/fa2050ac8213e66ee38d664742dc6b7bd3563b15
  Author: Jeffrey Wong <[email protected]>
  Date:   2020-11-09 (Mon, 09 Nov 2020)

  Changed paths:
    M src/config.js
    M src/server/routes/api/document/index.js

  Log Message:
  -----------
  Add an admin email, use in the relatedPapers emailer.


  Commit: 062ee8cd52de38679d4db68c72614f30c761ee3e
      
https://github.com/PathwayCommons/factoid/commit/062ee8cd52de38679d4db68c72614f30c761ee3e
  Author: Jeffrey Wong <[email protected]>
  Date:   2020-11-09 (Mon, 09 Nov 2020)

  Changed paths:
    M src/config.js
    M src/server/routes/api/document/index.js

  Log Message:
  -----------
  - emailRelatedPaperAuthors bundled with code for document status being 
switched to 'public', following submission
- EMAIL_RELPPRS_CONTACT config that flags whether the relatedPapersEmails 
should be sent to contacts (default true)


  Commit: d67ad38f17f94cbaaf713bdba36ea696fae9737d
      
https://github.com/PathwayCommons/factoid/commit/d67ad38f17f94cbaaf713bdba36ea696fae9737d
  Author: metincansiper <[email protected]>
  Date:   2020-11-09 (Mon, 09 Nov 2020)

  Changed paths:
    M src/model/element/interaction.js
    M src/server/routes/api/document/index.js

  Log Message:
  -----------
  Mark novel interactios.


  Commit: fc92759ac2af1a68a654639d0eb5e01b3e8dc297
      
https://github.com/PathwayCommons/factoid/commit/fc92759ac2af1a68a654639d0eb5e01b3e8dc297
  Author: metincansiper <[email protected]>
  Date:   2020-11-09 (Mon, 09 Nov 2020)

  Changed paths:
    M src/model/element/interaction.js

  Log Message:
  -----------
  remove a console statement


  Commit: 827d70be7be7086dafefa7644def4f0e9af76711
      
https://github.com/PathwayCommons/factoid/commit/827d70be7be7086dafefa7644def4f0e9af76711
  Author: Jeffrey Wong <[email protected]>
  Date:   2020-11-09 (Mon, 09 Nov 2020)

  Changed paths:
    M src/server/routes/api/document/index.js

  Log Message:
  -----------
  Tie the relatedPapers contact emailing to the admin refresh


  Commit: b6623cf93e3b0bdf1b798efc4d93c5b246bc2eec
      
https://github.com/PathwayCommons/factoid/commit/b6623cf93e3b0bdf1b798efc4d93c5b246bc2eec
  Author: Max Franz <[email protected]>
  Date:   2020-11-10 (Tue, 10 Nov 2020)

  Changed paths:
    M src/util/email.js

  Log Message:
  -----------
  Use `logger` to remove linting warning in preparation for merging


  Commit: fbbef392e87797f9b89f7bcf3137af0ea2b4dea1
      
https://github.com/PathwayCommons/factoid/commit/fbbef392e87797f9b89f7bcf3137af0ea2b4dea1
  Author: Max Franz <[email protected]>
  Date:   2020-11-10 (Tue, 10 Nov 2020)

  Changed paths:
    M src/server/routes/api/document/index.js

  Log Message:
  -----------
  Set `doc.relatedPapersNotified()` flag


  Commit: bf0f241733ea2bcdfecb1524128a28bea5507d8d
      
https://github.com/PathwayCommons/factoid/commit/bf0f241733ea2bcdfecb1524128a28bea5507d8d
  Author: Max Franz <[email protected]>
  Date:   2020-11-10 (Tue, 10 Nov 2020)

  Changed paths:
    M src/config.js
    M src/util/email.js

  Log Message:
  -----------
  Set template ID


  Commit: 41b4bfe066fa22338b40993d8c5e5d9f5ebbae2e
      
https://github.com/PathwayCommons/factoid/commit/41b4bfe066fa22338b40993d8c5e5d9f5ebbae2e
  Author: metincansiper <[email protected]>
  Date:   2020-11-10 (Tue, 10 Nov 2020)

  Changed paths:
    M src/model/element/interaction.js

  Log Message:
  -----------
  Set the default novel value of interactions as false.


  Commit: 88fab26f744599b994472e5cc3037fb01ec7089e
      
https://github.com/PathwayCommons/factoid/commit/88fab26f744599b994472e5cc3037fb01ec7089e
  Author: metincansiper <[email protected]>
  Date:   2020-11-10 (Tue, 10 Nov 2020)

  Changed paths:
    M src/model/element/interaction.js
    M src/server/routes/api/document/index.js

  Log Message:
  -----------
  Merge branch 'novel_intn' into email-rel-pprs


  Commit: 5526dd7d789c0540c3d690a21e57de524f3a002c
      
https://github.com/PathwayCommons/factoid/commit/5526dd7d789c0540c3d690a21e57de524f3a002c
  Author: Max Franz <[email protected]>
  Date:   2020-11-10 (Tue, 10 Nov 2020)

  Changed paths:
    M src/server/routes/api/document/index.js

  Log Message:
  -----------
  Add interactions filter based on `isNovel()` and add guard within 
`emailRelatedPaperAuthors()` re. `doc.relatedPapersNotified()`


  Commit: bee0cd55849a5b4471cce73c90dfbd00fa67293f
      
https://github.com/PathwayCommons/factoid/commit/bee0cd55849a5b4471cce73c90dfbd00fa67293f
  Author: Max Franz <[email protected]>
  Date:   2020-11-10 (Tue, 10 Nov 2020)

  Changed paths:
    M src/config.js
    M src/model/document/document.js
    M src/model/element/interaction.js
    M src/server/routes/api/document/index.js
    M src/server/routes/api/document/pubmed/linkPubmed.js
    M src/util/email.js

  Log Message:
  -----------
  Merge pull request #886 from PathwayCommons/email-rel-pprs

Related papers notification


Compare: 
https://github.com/PathwayCommons/factoid/compare/194043930023...bee0cd55849a

-- 
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/unstable/194043-bee0cd%40github.com.

Reply via email to