157 Commits

Author SHA1 Message Date
InfiniteStash
c69ab88efb Deprecate fuzzy date types (#378) 2022-05-20 11:21:12 +02:00
InfiniteStash
f3212e3a96 Deprecate measurements type (#381) 2022-05-20 11:06:42 +02:00
InfiniteStash
a9a029d910 Update closed_at/updated_at values in edit updating migration (#374) 2022-05-18 08:20:01 +02:00
InfiniteStash
2ebecb324b Fix addition of duplicate tags from drafts in some cases (#376) 2022-05-18 08:19:09 +02:00
InfiniteStash
6835007eeb Add support for updating entities from drafts (#368) 2022-05-15 21:28:06 +02:00
InfiniteStash
9a20325ae0 Refactor time/date types (#370)
* Rename SQLiteDate -> SQLDate

* Switch from SQLiteTimestamp to time.Time
2022-05-12 08:01:42 +02:00
InfiniteStash
e41ff4902b Add index for studio favorite subquery (#371) 2022-05-12 07:59:08 +02:00
InfiniteStash
e60d927ccf Update go libs (#366) 2022-05-10 19:52:00 +02:00
InfiniteStash
d4850d86ca Add findScenesBySceneFingerprints query that matches results to query (#357) 2022-05-10 18:51:39 +02:00
InfiniteStash
27dbcc77ce Fix png image resizing (#351) 2022-05-10 18:49:45 +02:00
InfiniteStash
688a52abfd Add ability to amend edits (#365) 2022-05-10 17:47:46 +02:00
peolic
e9f3ef51fa Partial scene date (#314) 2022-04-14 23:12:47 +02:00
peolic
2553a22cb1 Link performer drafts to edit (#356) 2022-04-14 14:55:23 +02:00
InfiniteStash
2eb35f8b2e Update go and libraries (#348) 2022-04-10 12:13:53 +02:00
peolic
9b1092797b Fix offset when perPage is over max (#330) 2022-02-22 19:41:30 +01:00
InfiniteStash
da091d5d5b Switch gzip compression to klauspost/compress (#331) 2022-02-22 18:03:28 +01:00
InfiniteStash
81fa75e1ea Add config options for postgres connection params (#326) 2022-02-18 21:08:04 +01:00
peolic
7261b9ff2c Match scene draft URL site using regex (#323) 2022-02-18 21:06:31 +01:00
peolic
1173e7e5f8 Fix version link & default scene sort (#321)
* Fix version link

* Fix default value for `SceneQueryInput.sort`
2022-02-18 20:59:48 +01:00
peolic
943470dc24 Ensure trending scenes order across pagination (#309) 2022-02-14 09:53:48 +01:00
peolic
8a447c9191 Fix edit comment order (#307) 2022-02-13 23:00:48 +01:00
InfiniteStash
c8d6b8f900 Hide deleted sub-studios (#296) 2022-02-07 00:24:01 +01:00
InfiniteStash
b5f0b56519 Add scene code field (#295) 2022-02-06 21:40:23 +01:00
InfiniteStash
d38241ba37 Refactor graphql query inputs (#292) 2022-02-06 21:28:50 +01:00
InfiniteStash
08bdaa5fd5 Fix edit failing when pg transaction is aborted (#294) 2022-02-06 21:23:53 +01:00
peolic
f5a66c19bc Trim names/aliases/descriptions (#288) 2022-02-06 21:19:07 +01:00
InfiniteStash
6bea8d523e Add optional profiler (#290) 2022-02-06 20:12:35 +01:00
InfiniteStash
f613b8f3c7 Allow null images in edits to account for deleted images (#285) 2022-02-06 19:52:48 +01:00
peolic
3d3fecdd38 Fix tag.FindByNameOrAlias arguments (#278) 2022-01-29 08:47:28 +01:00
InfiniteStash
0fda37733d Fix null error when deleting a draft that no longer exists (#274) 2022-01-29 00:31:15 +01:00
peolic
a643f6bb59 Performer form/merge updates (#271)
* Update performer rename help message

* Add help string to performer merging aliases

* Set merge checkbox to false if all source names match

* Check update aliases by default on performer rename

* Consider performer renames as destructive

Co-authored-by: Infinite <infinitekittens@protonmail.com>
2022-01-29 00:24:01 +01:00
peolic
6acc9f7998 Fix editValidator value translation (#270) 2022-01-28 23:45:23 +01:00
peolic
3d55d0c7af Resolve tag redirects when submitting drafts (#268) 2022-01-28 23:37:38 +01:00
peolic
d110fbdcaa Fix WithTxn rollback (#273) 2022-01-28 23:29:22 +01:00
InfiniteStash
2d7cb2b4b5 Change image resizing algorithm and encoding quality (#265) 2022-01-25 00:02:16 +01:00
peolic
60f4974c2f Various fixes (#264)
* Set UpdatedAt when edit is applied

* Add missing timestamp fields

* Limit scene images to 1

* Fix missing draft ID for draft-created performers
2022-01-24 23:57:31 +01:00
InfiniteStash
6d1db1d068 Resolve studio/performer redirects when submitting drafts (#259) 2022-01-24 15:17:05 +01:00
InfiniteStash
76b26ed7c7 Make tag matching for scene drafts case insensitive 2022-01-22 12:38:11 +00:00
InfiniteStash
8aa12c94cc Fix dupe scenes when using scene fingerprint filter 2022-01-21 19:46:53 +00:00
InfiniteStash
11281408a4 Resolve tags in scene drafts (#254) 2022-01-21 12:46:17 +01:00
InfiniteStash
d594de9602 Add scene/performer draft submissions (#240) 2022-01-18 23:26:31 +01:00
InfiniteStash
c6ec6a80ad Favorite studios and performers (#242) 2022-01-18 15:15:45 +01:00
InfiniteStash
8bc21dca51 Update go libraries (#243) 2022-01-18 12:33:46 +01:00
peolic
58ec5f8cd2 Fix Markdown footnotes (#244) 2022-01-18 12:26:06 +01:00
peolic
be57d94ab6 Improve performer search (#241) 2022-01-17 14:12:04 +01:00
peolic
fa3230fe07 Assorted UI changes (#238)
* Update react imports

(doesn't affect bundle size)

* fix join table name

* import routes into Login.tsx

* add EditCard class

* CI: Make sure generate does not need to be run

* replace legacy markdown plugin

https://github.com/remarkjs/remark-external-links

* Refactor edit card header

* Add padding to page bottom

* Fix EditHeader styles (merge, destroy)

* Make create edit diffs full width

* Remove unnecessary padding

Co-authored-by: peolic <66393006+peolic@users.noreply.github.com>

Co-authored-by: Infinite <infinitekittens@protonmail.com>
2022-01-16 11:39:23 +01:00
peolic
ecdf22ac2b Replace all IMMEDIATE_REJECTED with CANCELED (#227) 2021-12-30 17:27:48 +01:00
InfiniteStash
1ff83e7cf3 Merge branch 'master' into develop 2021-12-30 11:13:21 +00:00
peolic
3d263ff7be [Hotfix] admin edit cancellation (#229) 2021-12-30 10:19:17 +01:00
peolic
ddc9f25a2a Refactor SearchField to use Promises (#225) 2021-12-29 00:52:43 +01:00