Exemple #1
0
  def get(self):
    actionable = Document.get_actionable()
    for d in actionable:
      ret = d.blockchain_certify()

      subject = "Document certified: %s %s" % (ret['success'], d.digest)
      body = subject + "\n\nmesage: %s" % (ret['message'])
Exemple #2
0
 def get(self):
     actionable = Document.get_actionable()
     for d in actionable:
         ret = d.blockchain_certify()
         sender_address = "*****@*****.**"
         subject = "Document certified: %s %s" % (ret['success'], d.digest)
         body = subject + "\n\nmesage: %s" % (ret['message'])
         mail.send_mail(sender_address, ADMIN_EMAIL, subject, body)
 def get(self):
   actionable = Document.get_actionable()
   for d in actionable:
     ret = d.blockchain_certify()
     sender_address = "*****@*****.**"
     subject = "Document certified: %s %s" % (ret['success'], d.digest)
     body = subject + "\n\nmesage: %s" % (ret['message'])
     mail.send_mail(sender_address, ADMIN_EMAIL, subject, body)
Exemple #4
0
 def get(self):
   actionable = Document.get_actionable()
   url = SECRET_ADMIN_PATH + '/autopay'
   for d in actionable:
     self.response.write('<a href="%s?d=%s">%s</a><br /><br />' % (url, d.digest, d.digest))
Exemple #5
0
 def get(self):
     actionable = Document.get_actionable()
     url = SECRET_ADMIN_PATH + '/autopay'
     for d in actionable:
         self.response.write('<a href="%s?d=%s">%s</a><br /><br />' %
                             (url, d.digest, d.digest))