27 Commits

Author SHA1 Message Date
InfiniteStash
da091d5d5b Switch gzip compression to klauspost/compress (#331) 2022-02-22 18:03:28 +01:00
InfiniteStash
6bea8d523e Add optional profiler (#290) 2022-02-06 20:12:35 +01:00
InfiniteStash
8bc21dca51 Update go libraries (#243) 2022-01-18 12:33:46 +01:00
InfiniteStash
2b9f69df30 Add gql directives for modify/vote/edit/read (#200) 2021-12-06 22:49:49 +01:00
peolic
055efd0739 Add option to regenerate API key (#215) 2021-12-04 20:56:34 +01:00
InfiniteStash
913e500c79 User permission remediation (#185) 2021-11-26 09:09:12 +01:00
InfiniteStash
cc1839a272 Add version page (#190) 2021-11-26 08:53:02 +01:00
InfiniteStash
92c6c0c4d3 Update build versioning and release publishing (#188) 2021-11-24 23:33:41 +01:00
InfiniteStash
98db3dad7a Add page and instance titles (#155) 2021-10-31 19:56:59 +01:00
WithoutPants
913c10bbe3 Refactor user fingerprints (#115) 2021-10-31 08:29:47 +01:00
InfiniteStash
ddca0309ca Replace packr with go:embed (#118) 2021-08-19 20:19:56 +02:00
WithoutPants
2f60f8afbb Major refactor (#98) 2021-06-15 19:26:02 +10:00
InfiniteStash
6d4f43ee41 Add linting and additional error checkers (#84) 2021-05-24 18:46:22 +02:00
peolic
c1dca001e3 Fix missing GQL introspection extension (#87) 2021-05-24 17:41:43 +02:00
InfiniteStash
d2e00f00a0 Upgrade gqlgen to 0.13 (#86) 2021-05-24 00:22:48 +02:00
peolic
6bd0b9fa07 implement version resolver (#83) 2021-05-23 19:49:31 +02:00
peolic
4f8e1e640f Fix CORS errors in development mode (#71) 2021-05-19 07:35:43 +02:00
InfiniteStash
b1bf1fea1a Rename namespace to stash-box and update linux compiles to be static (#41) 2021-01-29 13:25:26 +01:00
WithoutPants
ef73f2ee8b Image local storage and editing (#33) 2021-01-12 18:31:52 +01:00
WithoutPants
5102bd8073 User registration (#31)
* Add configuration keys
* Move user stuff to separate package
* Add grant/repeal token implementation
* Invite key generation
* Initial new user implementation
* Send activation email
* Add new user activation implementation
* Allow resending activation email
* Return activation key if verification not required
* Implement reset password
* Add generate-ui make target
* Invite token and code management
* Restore original generated ts files
* Don't format generated files
* Add register page
* Add activate new user page
* Add reset password UI
* Add config documentation
2020-11-12 10:48:56 +11:00
InfiniteStash
a28da0a89b Add dataloaders (#25) 2020-08-23 11:22:26 +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
388dc71d1f Align backend and frontend (#10)
* Update URLs
2019-12-21 20:35:18 +11:00
WithoutPants
132ca6a511 Add support for postgres database (#4)
* Generalise database
* Add postgres migration
* Add optional support for postgres database
* Add postgres documentation to README
2019-11-29 11:16:59 +11:00
WithoutPants
856ebd6c94 Add studio, tags, scene (#3)
* Add tags
* Add studio
* Add scenes support
* Add integration test
* Add gitattributes. Add test targets
* Add DB interface and refactor
* Add performer image
* Replace checksums with fingerprints
* Update dependencies
* Make performers unique on name/disambiguation
* Add first draft of README
2019-11-27 13:17:46 +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