Periodic tasks: verschil tussen versies

Uit Petities
Ga naar: navigatie, zoeken
(split up in topics)
Regel 1: Regel 1:
 
These periodic tasks need to be executed by the system. When e-mails need to go out, the text of the e-mail is linked from the index of [[e-mailmessages]].
 
These periodic tasks need to be executed by the system. When e-mails need to go out, the text of the e-mail is linked from the index of [[e-mailmessages]].
 +
 +
=signatures=
  
 
* unconfirmed signature a week ago? '''send''' a reminder to confirm, unless petition close date is two weeks away  
 
* unconfirmed signature a week ago? '''send''' a reminder to confirm, unless petition close date is two weeks away  
* unconfirmed user a week ago? '''send''' a reminder to confirm
 
 
* unconfirmed signature and petition closes next week? '''send''' a reminder to confirm, the "last call", unless reminders_sent = 3
 
* unconfirmed signature and petition closes next week? '''send''' a reminder to confirm, the "last call", unless reminders_sent = 3
 
* unconfirmed signature for a closed petition? '''delete signature''' and increase a value unconfirmed_signatures_count for the petition with one (to monitor effectiveness)
 
* unconfirmed signature for a closed petition? '''delete signature''' and increase a value unconfirmed_signatures_count for the petition with one (to monitor effectiveness)
 +
 +
=user=
 +
 +
* unconfirmed user a week ago? '''send''' a reminder to confirm
 +
 +
=petition=
 +
 
* petition reaches due date in one week and has less than 10 signatures or no signatures the last month, then '''send''' an e-mail asking to change due date or it will automatically be revoked
 
* petition reaches due date in one week and has less than 10 signatures or no signatures the last month, then '''send''' an e-mail asking to change due date or it will automatically be revoked
 
* petition reaches due date but with less than 10 signatures, then '''change status''' to withdrawn  
 
* petition reaches due date but with less than 10 signatures, then '''change status''' to withdrawn  

Versie van 7 dec 2015 om 12:12

These periodic tasks need to be executed by the system. When e-mails need to go out, the text of the e-mail is linked from the index of e-mailmessages.

signatures

  • unconfirmed signature a week ago? send a reminder to confirm, unless petition close date is two weeks away
  • unconfirmed signature and petition closes next week? send a reminder to confirm, the "last call", unless reminders_sent = 3
  • unconfirmed signature for a closed petition? delete signature and increase a value unconfirmed_signatures_count for the petition with one (to monitor effectiveness)

user

  • unconfirmed user a week ago? send a reminder to confirm

petition

  • petition reaches due date in one week and has less than 10 signatures or no signatures the last month, then send an e-mail asking to change due date or it will automatically be revoked
  • petition reaches due date but with less than 10 signatures, then change status to withdrawn
  • petition status changes to to_process at due date, send an announcement to recipient of petition with request for an answer and a reference number: reply by e-mail or log in to petition desk. Unless petitioner did not write news updates, then status = orphan
  • petition status is draft for more than a week, send a friendly reminder to finish it or ask for help. Or to get the reminder again at a certain date. Otherwise, in three weeks the petition will be deleted after the last time logged in to.

adopt a petition detour

  • petition reaches due date but without news updates from petitioner, then send e-mail to petitioner to write about the pending hand over otherwise the petition is open for adoption by other signatories
  • petition with no news updates and a week passed due date, then change status to orphan
  • petition with status is orphan then send e-mail to first signatory (with oldest confirm date) with any pledge value requesting to adopt the petition, change due date and write news update. Or answer questionaire and not adopt it.
  • petition with status orphan, send an e-mail two days after the previously asked signatory to the next with any pledge value not yet asked to adopt (see previous)
  • petition with status orphan and no signatories with any pledge value, then send the question to adopt to the next signatory without pledge value.
  • petition with status orphan and all signatories asked to adopt one week ago, then change status to withdrawn and publish results of questionaire in newsitem with show_on_petition = 1.
  • petition with status orphan and due date in the future, change status back to signable (apparently the petitioner woke up and became active)

petition hand over

  • petition with news update and announcement sent to recipient unanswered for two weeks after close date, send again an e-mail with the above request for an answer with reference to the e-mail two weeks earlier
  • petition with news update and announcement unanswered for four weeks after close date, send again the request for an answer with reference to the e-mails two and four weeks earlier
  • petition with news update and announcement unanswered for six weeks after close date, change status to not_processed
  • petition with a reference value then... work out the rest of this with the 5 extra values based on antwoord?

petition withdrawn

  • petition with status withdrawn becomes live again, then e-mail to signatories about possible change in petition wording and how to revoke support