<feed xmlns='http://www.w3.org/2005/Atom'>
<title>szurubooru.git/server/szurubooru/func/auth.py, branch master</title>
<subtitle>Fork of Szurubooru with patches for running on a modern system sans Docker
</subtitle>
<id>https://git.jakob.space/szurubooru.git/atom?h=master</id>
<link rel='self' href='https://git.jakob.space/szurubooru.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.jakob.space/szurubooru.git/'/>
<updated>2021-11-29T23:39:34Z</updated>
<entry>
<title>server: fix python docstring formatting</title>
<updated>2021-11-29T23:39:34Z</updated>
<author>
<name>Shyam Sunder</name>
<email>sgsunder1@gmail.com</email>
</author>
<published>2021-11-29T23:39:34Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/szurubooru.git/commit/?id=9b3123a8150faee660b4311d9d8c2c85a83b32b5'/>
<id>urn:sha1:9b3123a8150faee660b4311d9d8c2c85a83b32b5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>client+server: implement code autoformatting using prettier and black</title>
<updated>2020-06-06T12:58:23Z</updated>
<author>
<name>Shyam Sunder</name>
<email>sgsunder1@gmail.com</email>
</author>
<published>2020-06-05T22:03:37Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/szurubooru.git/commit/?id=57193b57157b7a42896c887a2d5930493ac7b290'/>
<id>urn:sha1:57193b57157b7a42896c887a2d5930493ac7b290</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server: format code to flake8</title>
<updated>2020-06-05T14:02:18Z</updated>
<author>
<name>Shyam Sunder</name>
<email>sgsunder1@gmail.com</email>
</author>
<published>2020-06-05T14:02:18Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/szurubooru.git/commit/?id=ea623449e7c29801ab0a0ade043308937cca7506'/>
<id>urn:sha1:ea623449e7c29801ab0a0ade043308937cca7506</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server/auth: add token authentication</title>
<updated>2018-03-25T20:23:29Z</updated>
<author>
<name>ReAnzu</name>
<email>anzu@reanzu.com</email>
</author>
<published>2018-02-25T10:44:02Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/szurubooru.git/commit/?id=2a69f0193f9e5aa451e0dbcb8c89070f3e49ffa5'/>
<id>urn:sha1:2a69f0193f9e5aa451e0dbcb8c89070f3e49ffa5</id>
<content type='text'>
* Users are only authenticated against their password on login,
  and to retrieve a token
* Passwords are wiped from the GUI frontend and cookies
  after login and token retrieval
* Tokens are revoked at the end of the session/logout
* If the user chooses the "remember me" option,
  the token is stored in the cookie
* Tokens correctly delete themselves on logout
* Tokens can expire at user-specified date
* Tokens have their last usage time
* Tokens can have user defined descriptions
* Users can manage login tokens in their account settings
</content>
</entry>
<entry>
<title>server/users: harden password hashes</title>
<updated>2018-03-08T22:40:47Z</updated>
<author>
<name>ReAnzu</name>
<email>anzu@reanzu.com</email>
</author>
<published>2018-02-25T05:45:00Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/szurubooru.git/commit/?id=3f52aceca44bc52e0c8654f46c66073320109ae9'/>
<id>urn:sha1:3f52aceca44bc52e0c8654f46c66073320109ae9</id>
<content type='text'>
- Changed password setup to use libsodium and argon2id (regular SHA256
  hashing for passwords is inadequate as modern GPU's can hash generate
  billions of hashes per second).
- Added code to auto migrate old passwords to the new password_hash if
  the existing password_hash matches either of the legacy password
  generation schemes (SHA1 or SHA256).
- Added migration to support new password_hash format length
- Added column password_revision. This field will default to 0, which
  all passwords will have till they're updated. After that each password
  hash method has a revision.
</content>
</entry>
<entry>
<title>server: refactor + add type hinting</title>
<updated>2017-02-05T15:34:45Z</updated>
<author>
<name>rr-</name>
<email>rr-@sakuya.pl</email>
</author>
<published>2017-02-04T00:08:12Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/szurubooru.git/commit/?id=ad842ee8a54c57463b8e28b52970f173ea1d64ea'/>
<id>urn:sha1:ad842ee8a54c57463b8e28b52970f173ea1d64ea</id>
<content type='text'>
- Added type hinting (for now, 3.5-compatible)
- Split `db` namespace into `db` module and `model` namespace
- Changed elastic search to be created lazily for each operation
- Changed to class based approach in entity serialization to allow
  stronger typing
- Removed `required` argument from `context.get_*` family of functions;
  now it's implied if `default` argument is omitted
- Changed `unalias_dict` implementation to use less magic inputs
</content>
</entry>
<entry>
<title>server/general: embrace most of PEP8</title>
<updated>2016-08-14T14:44:03Z</updated>
<author>
<name>rr-</name>
<email>rr-@sakuya.pl</email>
</author>
<published>2016-08-14T12:22:53Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/szurubooru.git/commit/?id=9aea55e3d10188cec8d1926704610a2567ca718a'/>
<id>urn:sha1:9aea55e3d10188cec8d1926704610a2567ca718a</id>
<content type='text'>
Ignored only the rules about continuing / hanging indentation.

Also, added __init__.py to tests so that pylint discovers them. (I don't
buy pytest's BS about installing your package.)
</content>
</entry>
<entry>
<title>server/general: add assertions</title>
<updated>2016-08-14T14:43:04Z</updated>
<author>
<name>rr-</name>
<email>rr-@sakuya.pl</email>
</author>
<published>2016-08-14T08:45:00Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/szurubooru.git/commit/?id=c2bbf7b62ca58cf6360d6c3bad67fe2f4e02f40f'/>
<id>urn:sha1:c2bbf7b62ca58cf6360d6c3bad67fe2f4e02f40f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server/users: implement RANK_MAP</title>
<updated>2016-05-10T10:15:33Z</updated>
<author>
<name>rr-</name>
<email>rr-@sakuya.pl</email>
</author>
<published>2016-05-10T09:58:55Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/szurubooru.git/commit/?id=4ec842024c0bebe7012a315a24e74b2a9e1330e2'/>
<id>urn:sha1:4ec842024c0bebe7012a315a24e74b2a9e1330e2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server/users: hardcode available ranks</title>
<updated>2016-05-08T14:59:25Z</updated>
<author>
<name>rr-</name>
<email>rr-@sakuya.pl</email>
</author>
<published>2016-05-08T14:59:25Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/szurubooru.git/commit/?id=198cb0af3e18bb8b526199d309d50df764e36552'/>
<id>urn:sha1:198cb0af3e18bb8b526199d309d50df764e36552</id>
<content type='text'>
</content>
</entry>
</feed>
