1. 24 Jun, 2020 3 commits
  2. 29 Apr, 2018 4 commits
  3. 05 Jan, 2018 1 commit
  4. 01 Nov, 2017 1 commit
  5. 10 Jul, 2017 1 commit
    • Shamil K Muhammed's avatar
      Use the `with` statement on the connection object · 3957ea7d
      Shamil K Muhammed authored
      Before, v.0.0.3, the connection was reinitialized everytime a new
      auth request was sent to the module. But after that version, things
      changed and a single connection was used.
      This caused #2. It was because the transactions weren't commited
      before querying again. Which stops the auth provider from getting
      new data. So, the context manager is also used on the connection
      everytime a query is sent to ensure the transactions are committed.
      So, hopefully this commit fixes #2
  6. 29 May, 2017 2 commits
    • Shamil K Muhammed's avatar
      Update documentation · 2c36ac91
      Shamil K Muhammed authored
    • 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
  7. 18 May, 2017 1 commit
  8. 21 Apr, 2017 1 commit
  9. 19 Apr, 2017 1 commit
    • 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.
  10. 18 Apr, 2017 3 commits
    • Shamil K Muhammed's avatar
      Add Instructions · a3a62f96
      Shamil K Muhammed authored
    • 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.
    • 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.
  11. 17 Apr, 2017 3 commits
  12. 16 Apr, 2017 1 commit