Commit graph

4035 commits

Author SHA1 Message Date
Mouse Reeve
62b5a00102 Adds test mocks from psql tests 2021-06-26 13:13:12 -07:00
Mouse Reeve
e168720420 Adds test for stop word null state 2021-06-26 12:42:36 -07:00
Mouse Reeve
68fc5f2b5a Trigger search vector update when author is edited 2021-06-26 12:34:05 -07:00
Mouse Reeve
2fa5fabb7b Fixes default edition ranking test 2021-06-26 09:57:56 -07:00
Mouse Reeve
61785cee66 Set defualt min confidence to 0 2021-06-26 09:12:23 -07:00
Mouse Reeve
3998aa5f2a Fixes edit author form 2021-06-26 09:05:00 -07:00
Mouse Reeve
b4b2105527 Fixes edit book form 2021-06-26 08:54:52 -07:00
Mouse Reeve
0634777042
Merge pull request #1200 from GuDzpoz/main
Updated zh_Hans translations
2021-06-26 07:26:53 -07:00
GuDzpoz
a006e9b4bc Updated zh_Hans translations 2021-06-26 13:44:47 +08:00
Mouse Reeve
deb1b9943a Uses simple dictionary as backup for english dictionary
Creates search vectors with stop words if the english version is empty,
and uses a SearchQuery OR with simple and english on the view side.
2021-06-24 10:56:27 -07:00
Mouse Reeve
04c51a6598 Uses simple dictionary for names 2021-06-24 10:01:07 -07:00
Mouse Reeve
adb0253abf Remove default minimum search confidence 2021-06-23 17:41:29 -07:00
Mouse Reeve
6a6de44ebe Attempt at getting tests running by pumbing psql version 2021-06-23 17:10:35 -07:00
Mouse Reeve
7c15fbbb0b More efficient search index
Co-authored-by: asmr-hex <0.0@asmr.software>
2021-06-23 16:54:59 -07:00
Mouse Reeve
ae1d0343ba
Merge pull request #1191 from bookwyrm-social/getdata-fix
Catch all exceptions from requests when loading remote data
2021-06-20 12:09:14 -07:00
Mouse Reeve
2f279bbbd4
Merge pull request #1193 from bookwyrm-social/cover-images
Safer cover image naming
2021-06-20 12:08:35 -07:00
Mouse Reeve
4a5e4e8ca2 Safer cover image naming 2021-06-20 09:38:01 -07:00
Mouse Reeve
fcc38f8627
Merge pull request #1190 from joachimesque/instance-description-add-image-width
Specify width (250px) for Instance Description image
2021-06-20 09:28:41 -07:00
Mouse Reeve
7a44a9b516 Use catch-all requests exception 2021-06-20 09:23:57 -07:00
Mouse Reeve
95a19a44f8 Don't error out when invalid urls are entered 2021-06-20 09:13:57 -07:00
Joachim
7818a4347f Specify width (250px) on Instance Description image 2021-06-20 15:57:08 +02:00
Joachim
0c83882a11 Fix lint 2021-06-19 19:44:14 +02:00
Joachim
e251b687dc Merge remote-tracking branch 'upstream/main' into images-django-imagekit 2021-06-19 19:32:56 +02:00
Joachim
2fbbf522ce Update preview_images.py 2021-06-19 17:46:18 +02:00
Joachim
a1189b40b6 Fix bw-dev multiline output 2021-06-19 17:18:13 +02:00
Joachim
42b1aecb94 Merge remote-tracking branch 'upstream/main' into storage-s3 2021-06-19 17:12:07 +02:00
Joachim
bcb6e1c40a Fix storage media removal 2021-06-19 17:10:25 +02:00
Joachim
dee63d8825 Rename MEDIA_PATH to MEDIA_FULL_URL and handle protocol 2021-06-19 17:09:53 +02:00
Mouse Reeve
e03b8ef2cd
Merge pull request #1187 from joachimesque/fix-bw-helper
Fix command name in bw-dev error message
2021-06-19 06:45:35 -07:00
Joachim
582c2d4f25 Fix Python formating 2021-06-19 12:04:30 +02:00
Joachim
c9c7a673d7 Fix template dependency 2021-06-19 12:02:48 +02:00
Joachim
8af13e5f7d Fix for pylint 2021-06-19 12:01:41 +02:00
Joachim
6607c8b185 Better handling of absolute URLs with domain + scheme 2021-06-19 11:54:19 +02:00
Joachim
d862be0564 Merge remote-tracking branch 'upstream/main' into storage-s3 2021-06-19 11:53:05 +02:00
Joachim
e309bb104f Fix command name in bw-dev error message 2021-06-19 11:18:03 +02:00
Mouse Reeve
4d9ced6973
Merge pull request #1184 from bookwyrm-social/pylint
Adds pylint workflow
2021-06-18 16:44:33 -07:00
Mouse Reeve
8e7c43baa7 Fixes preview tests 2021-06-18 15:58:21 -07:00
Mouse Reeve
491d68353d Fixes typo in black command 2021-06-18 15:29:34 -07:00
Mouse Reeve
60626eaca1 Catches straggler preview_image signal 2021-06-18 15:28:43 -07:00
Mouse Reeve
59938e2d46 Linter fixes for models 2021-06-18 15:24:10 -07:00
Mouse Reeve
d8d6f57373 Linting fixes for preview image code 2021-06-18 15:08:36 -07:00
Mouse Reeve
a20c4d583c Merge branch 'main' into pylint 2021-06-18 14:48:31 -07:00
Mouse Reeve
ea556bd83b
Merge pull request #1142 from joachimesque/opengraph-image-generation
Generate OpenGraph images for books, users, and site.
2021-06-18 14:47:54 -07:00
Mouse Reeve
c7d14cb957 Fixes regex import in urls file 2021-06-18 14:40:28 -07:00
Mouse Reeve
0a44578987 Disables similarity comparison 2021-06-18 14:35:26 -07:00
Mouse Reeve
9e5c7053e9 More pylint fixes 2021-06-18 14:29:24 -07:00
Mouse Reeve
381d160105 Fixes init file 2021-06-18 14:17:05 -07:00
Mouse Reeve
4479864008 Updates code for linter 2021-06-18 14:12:56 -07:00
Mouse Reeve
20f74ba02b More disables 2021-06-18 13:23:06 -07:00
Mouse Reeve
633f5e6dc7 Fixes R/C disable flag 2021-06-18 12:25:11 -07:00