aboutsummaryrefslogtreecommitdiff
path: root/server/szurubooru/migrations
AgeCommit message (Collapse)Author
2021-08-07server: inject my changes into alembic revisionsHunternif
2021-08-04Merge branch 'master' into hunternifHunternif
2021-08-04Merge remote-tracking branch 'origin/master' into hunternifHunternif
# Conflicts: # client/css/post-content-control.styl # client/css/post-list-view.styl # client/html/post_edit_sidebar.tpl # client/js/controllers/post_list_controller.js # client/js/controllers/post_main_controller.js # client/js/controllers/post_upload_controller.js # client/js/controllers/tag_controller.js # client/js/controllers/user_list_controller.js # client/js/controls/expander_control.js # client/js/controls/post_content_control.js # client/js/controls/post_edit_sidebar_control.js # client/js/controls/post_readonly_sidebar_control.js # client/js/controls/tag_input_control.js # client/js/main.js # client/js/models/abstract_list.js # client/js/models/post.js # client/js/models/post_list.js # client/js/models/settings.js # client/js/models/tag.js # client/js/models/tag_list.js # client/js/tags.js # client/js/util/search.js # client/js/util/touch.js # client/js/util/uri.js # client/js/util/views.js # client/js/views/post_main_view.js # client/js/views/post_upload_view.js # client/js/views/posts_header_view.js # client/js/views/posts_page_view.js # client/js/views/settings_view.js # client/js/views/tag_view.js # client/package-lock.json # client/package.json # server/config.yaml.dist # server/szurubooru/api/__init__.py # server/szurubooru/api/post_api.py # server/szurubooru/api/tag_api.py # server/szurubooru/func/posts.py # server/szurubooru/func/tags.py # server/szurubooru/model/__init__.py # server/szurubooru/model/post.py # server/szurubooru/model/tag.py # server/szurubooru/search/configs/__init__.py # server/szurubooru/search/configs/post_search_config.py # server/szurubooru/search/executor.py # server/szurubooru/tests/api/test_post_retrieving.py # server/szurubooru/tests/api/test_post_updating.py # server/szurubooru/tests/api/test_tag_updating.py # server/szurubooru/tests/conftest.py # server/szurubooru/tests/func/test_posts.py # server/szurubooru/tests/func/test_tags.py # server/szurubooru/tests/search/configs/test_post_search_config.py
2021-01-05server/posts: store and provide MD5 checksumsShyam Sunder
2020-10-11server: enable large file support in databaseShyam Sunder
2020-09-23server+client: update tag category api + fix formattingneobooru
2020-09-19client+server: add tag category ordering featureneobooru
Fixes #209
2020-06-06client+server: implement code autoformatting using prettier and blackShyam Sunder
2020-06-05server: format code to flake8Shyam Sunder
2020-06-03fix python lint issuesShyam Sunder
2020-05-04Add pool input box in post detailsRuin0x11
2020-05-04Add list of posts to poolsRuin0x11
2020-05-03Add pool CRUD operations/pagesRuin0x11
2020-03-15server/func/tags: allow tags to have longer namesneobooru
2020-03-13server/image_search: add migrations for elasticsearch removalShyam Sunder
2020-03-13server/migrations: implement database connection timeoutShyam Sunder
2019-07-27server/posts: allow for longer source URLsShyam Sunder
Fixes #272
2019-04-20server: when updating post tags, trim metrics related to removed tags (via FK)Ilya Tetin
2019-04-16Add version to metric tablesHunternif
2019-04-16Create metric modelsHunternif
2018-09-24server: handle empty flags in migrationrr-
2018-09-24server/search: allow searching by post flagsShyam Sunder
2018-03-25server/auth: add token authenticationReAnzu
* 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
2018-03-08server/users: harden password hashesReAnzu
- 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.
2017-08-24server/posts: add non-guessable IDs to post URLsrr-
2017-04-24server: lintrr-
2017-02-05server/build: fix alembic environment scriptrr-
2017-02-05server: refactor + add type hintingrr-
- 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
2017-02-03server: make linters happierrr-
2017-02-02server/migrations: add default tag categoryrr-
2017-02-02server/migrations: fix imports for alembicrr-
`alembic revision -m 'blah blah'` rightfully complained about imports (in case of `upgrade`, that module was being populated by some other module.)
2017-01-03server: make pylint happierrr-
2016-08-28server/tags: add order to tag namesrr-
The better implementation of a224297. Fixes ability to reorder tag aliases, especially - the ability to change the tag's primary name after it was created. Until now, both of these scenarios needed sad workarounds on the user part.
2016-08-16server/snapshots: rewriterr-
2016-08-16server/db: fix upgrade (regression from 9aea55e)rr-
2016-08-16server/db: allow full DSN; use memdb in testsrr-
The earlier commit is still relevant as it allows to integrate real database when needed.
2016-08-16server/db: fix user cascade deletionsrr-
2016-08-14server/general: embrace most of PEP8rr-
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.)
2016-08-07server/general: add entity versionsrr-
2016-06-23server/tags: add description fieldrr-
2016-05-22server/tags: let mods set default categoryrr-
2016-05-09server/db: create indexesrr-
2016-05-08server/db: fix mappingsrr-
Post notes had mixed up column types. I fixed that and at the same time, I took the opportunity to convert everything into Unicode. Also, I've changed existing migrations rather than creating new ones - it's not like we're even close to alpha...
2016-05-02server/posts: add post creatingrr-
2016-04-24server/comments+posts: add ratingrr-
2016-04-24server/comments: add comment tablesrr-
2016-04-22server/posts: add post featuringrr-
2016-04-22server/db: add more post tablesrr-
2016-04-21server/snapshots: change snapshot representationrr-
2016-04-19server/db: add missing migrationsrr-

© 2015 - 2026 Jakob L. Kreuze