12 Commits

Author SHA1 Message Date
InfiniteStash
688a52abfd Add ability to amend edits (#365) 2022-05-10 17:47:46 +02:00
InfiniteStash
2eb35f8b2e Update go and libraries (#348) 2022-04-10 12:13:53 +02:00
InfiniteStash
2a10c80a85 Add UUID graphql scalar (#199) 2021-11-30 21:23:03 +01:00
InfiniteStash
669bef8d48 Add additional linters (#179) 2021-11-26 09:12:29 +01:00
peolic
44fc45130a Misc backend changes (#106)
* split out enum functions to utils

* split out ApplyEdit to a function

* fix InsertJoinsWithConflictHandling comment

* getRepoFactory once

Co-authored-by: Infinite <infinitekittens@protonmail.com>
2021-07-20 23:55:04 +02:00
InfiniteStash
6d4f43ee41 Add linting and additional error checkers (#84) 2021-05-24 18:46:22 +02:00
InfiniteStash
a28da0a89b Add dataloaders (#25) 2020-08-23 11:22:26 +10:00
InfiniteStash
206f49c741 Add editing support for tags (#21)
* Schema/api changes for edit
* Add StrSliceCompare
* Edit Tag mutation
* Tag edit creation
* ApplyEdit for tags
* Add migration
* Edit comments
* Add edits to tag resolver
* QueryEdit filters
* Add frontend tag editing support
* Upgrade apollo-client to version 3
* Upgrade react-router to 5.2.0
* Upgrade react-hook-form and yup
* Update various libraries
* Search fixes
* Show tag description and aliases
* Update libraries
* Move scene_tags in tag migrations
* Add edits menu item and tweak graphql schema
* Show merge edits for tags that have been merged

Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
2020-08-20 15:31:03 +10:00
InfiniteStash
0d9f46c6f1 Omnibus stashdb changes (#19)
* Add fuzzy performer/scene search
* Add frontend support for users
* Add support for tags and fingerprints
* Fingerprint duration and UI updates
* Add image entity for performers/scenes/studios
* Switch frontend to create-react-app and typescript 3.9
* Remove image fields from URL type
* Remove image fields from studio
* Fix bugs, and update frontend config/readme
* Add pg_trgm info
* Fix integration tests
* Create image url resolver and remove unused image fields
* Don't open browser by default
* Fix development auth cookie issues

Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
2020-06-25 13:40:09 +10:00
WithoutPants
09392a009e Add User management (#13)
* Add user
* Generate root user
* Add create/update validation
* Disallow removing root user
* Fix packr deprecation message
* Change authorisation to user apikey
* Return error message when apikey fails
* Add integration tests for unauthorised calls
* Ignore .vscode
* Add gitattributes to fix UI eol lint issue
* Misc changes
* Prevent caching of integration test results
* Disallow changing root name or roles
* Remove old api key config
* Ensure api key matches stored key
* Add session management
* Fix empty key detection code
* Allow users to query users, hiding some info
* Add regenerate api key and change password
2020-01-23 07:22:30 +11:00
InfiniteStash
84d42c619f Change type of IDs from int64 to uuid (#7)
* Change type of IDs from int64 to uuid
* Rename insertJoins -> insertObjects
2019-12-08 08:57:48 +11:00
WithoutPants
0f29cf0c84 Initial performer prototype (#1)
* Initial performer prototype

* Drop file: from migration url to fix panic

* Remove vendor requirement
2019-11-18 21:13:05 +11:00