GemsTracker / gemstracker-library

GEneric Medical Survey Tracker, main library
http://gemstracker.org
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

2.x subscribe #786

Closed rvm-peercode closed 1 year ago

rvm-peercode commented 1 year ago

Work in progess

Based on my 2.x-contact branch because of conflicts in Menu and Route classes. I'd appreciate some feedback on this work so far. Issues with the current code are:

  1. When subscribing, the value of gr2o_mailable is set to 0 (Never mail)
  2. After subscribing/unsubscribing, we don't go the the -thanks route
  3. The SubscriptionThrottleValidator is not yet added
  4. For some reason, the <h1> tag is printed after the snippets, in subscribeAction() and unsubscribeAction().
  5. Not yet possible to unsubscribe when not logged in
  6. Maybe more..