1. 27 Jan, 2010 1 commit
    • Brion Vibber's avatar
      Add scripts/sendemail.php to send email to a user's address. Updated... · 06cd3358
      Brion Vibber authored
      Add scripts/sendemail.php to send email to a user's address. Updated setup_status_network.sh to create a user with the site's nick, accept site tags, and send a mail to the user (if a template is set)
      Email and tag params added to the end:
      setup_status_net.sh mysite 'My Site' 'owner@example.com' '1user'
      (If multiple tags are needed, separate them with a pipe "|". Be sure to quote properly!)
      New parameters for setup.cfg need to be set:
      export PHPBASE=/var/www/statusnet
      export WILDCARD=example.net
      export MAILTEMPLATE=/etc/statusnet/newsite-mail.txt
      export MAILSUBJECT="Your new StatusNet site"
      $PHPBASE is the base dir for a callable StatusNet install, used to run command-line scripts for user setup.
      $WILDCARD is the wildcard domain, needed to build a full server name to pass into command-line scripts.
      $MAILTEMPLATE points to a file containing an e-mail message template. '$nickname', '$sitename', and '$userpass' can be used in the template for substitution.
      $MAILSUBJECT is the subject line for said email.
      To skip sending an email on creation, leave $MAILTEMPLATE blank or point to a non-existing file.
  2. 13 Jan, 2010 1 commit
  3. 17 Dec, 2009 2 commits
    • Brion Vibber's avatar
      Make useremail.php executable · dd96558b
      Brion Vibber authored
    • Christopher Vollick's avatar
      Added UserEmail script. · cc2b2a82
      Christopher Vollick authored
      Used to query user's emails.
      Mostly used for administration, to see if a user requesting something is who they say.
      Also, some people assume that the admin knows this data, and says things like:
      "If you could do _____ with the account connected to this email".
      It'd be nice if we could do that without raw SQL.
  4. 16 Nov, 2009 1 commit
  5. 08 Nov, 2009 2 commits
  6. 08 Oct, 2009 1 commit
    • Evan Prodromou's avatar
      Revert "Open tags should have closing tags" · a6d4adc3
      Evan Prodromou authored
      This reverts commit aeca8807.
      We specifically DON'T have closing tags so we don't get errors with
      whitespace after the closing tag.
      I realize this is less of an issue with scripts, but we should still
      not use closing tags.
  7. 05 Oct, 2009 1 commit
  8. 02 Oct, 2009 2 commits