Big change to mailing list subscription/unsubscription!
authorArt Cancro <ajc@citadel.org>
Thu, 13 Jan 2022 16:48:37 +0000 (11:48 -0500)
committerArt Cancro <ajc@citadel.org>
Thu, 13 Jan 2022 16:48:37 +0000 (11:48 -0500)
commit60e1890d866f912f94b604f3af05bcd421109469
tree649f0694582c84dc2e53bc5562c10d47b25e45b7
parent6473885628e33ec5633bb05caa92391aa34cff03
Big change to mailing list subscription/unsubscription!

The old confirmation method involved generating a confirmation token
during the first opt, which was mailed to the user and saved to disk
so they could confirm it in the second opt.  In the new code, the
token can be re-generated persistently by the server using a
combination of the email address, the room name, and a host key that
is known only to the site operator (stored in the config db).  So
there is no longer a need to store the pending request, and the
confirmation links are valid forever (and reusable!).

Aside from being algorithmically nifty, this will also give us the
ability to implement "one click unsubscribe" in the near future.
citadel/configure.ac
citadel/modules/listsub/serv_listsub.c
webcit/listsub.c
webcit/static/t/listsub/display.html