Skip to content
Snippets Groups Projects
  1. May 29, 2017
    • Shamil K Muhammed's avatar
      Update documentation · 2c36ac91
      Shamil K Muhammed authored
      2c36ac91
    • Shamil K Muhammed's avatar
      Support MySQL database · e42cc814
      Shamil K Muhammed authored
      A new engine variable is added to support switching of the
      database engine. Currently supports postgresql and mysql databases.
      
      This should be enough as mysql and postgres are the only 2 database
      engines supported by diaspora*.
      
      Closes #1
      e42cc814
  2. May 18, 2017
  3. Apr 21, 2017
  4. Apr 19, 2017
    • Shamil K Muhammed's avatar
      Add exception handler · 983f147e
      Shamil K Muhammed authored
      Catches all `psycopg2` errors for now. And returns False
      if a error is caught. Not a permanent solution, but works for now.
      983f147e
  5. Apr 18, 2017
    • Shamil K Muhammed's avatar
      Add Instructions · a3a62f96
      Shamil K Muhammed authored
      a3a62f96
    • Shamil K Muhammed's avatar
      make it a submittable package · 13805f98
      Shamil K Muhammed authored
      Haven't pushed to pypi yet. Will push after reviews.
      13805f98
    • Shamil K Muhammed's avatar
      Fix user logging in with any password · 32e3c5c1
      Shamil K Muhammed authored
      `bcrypt.hashpw` returns the password hashed with the same salt,
      not if the password matches the hash. So to check if the
      password is correct, the hash thus obtained should then be
      compared, and then verified.
      
      Also, diaspora just doesn't hash the password using bcrypt, it
      appends a "pepper" to the password and then hashes it. So, when
      checking the password, the pepper should be appended.
      32e3c5c1
  6. Apr 17, 2017
  7. Apr 16, 2017