Commit graph

3903 commits

Author SHA1 Message Date
Mouse Reeve
8844e46259 Removes stray print statement 2021-06-26 18:40:53 -07:00
Mouse Reeve
a3badc5700 Adds preview mock to postgres tests 2021-06-26 18:36:17 -07:00
Mouse Reeve
36fe64c3ae Fixes patch import in test 2021-06-26 16:48:57 -07:00
Mouse Reeve
6470033ac9 Fixes search query syntax
mad about the lack of django docs on this, jeez
2021-06-26 16:20:18 -07:00
Mouse Reeve
789f823d5d Fixes python formatting 2021-06-26 13:20:23 -07:00
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
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
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
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
Mouse Reeve
9d81d5a78c
Merge pull request #1186 from bookwyrm-social/fixes-list-link
Fixes list link to user profile
2021-06-18 12:23:49 -07:00
Mouse Reeve
38a19f7063 Disable error that's almost always a false positive 2021-06-18 12:23:16 -07:00
Mouse Reeve
7775d943d4 Fixes list link to user profile 2021-06-18 12:11:07 -07:00
Mouse Reeve
4995b26d8c Adds dependencies to pylint 2021-06-18 12:08:15 -07:00
Mouse Reeve
2bd56c38d2 Tweaks to script 2021-06-18 11:57:11 -07:00
Mouse Reeve
5db506523d Adds pylint workflow 2021-06-18 11:36:45 -07:00
Joachim
7e26a38403 Fix summary image format 2021-06-18 19:15:36 +02:00
Joachim
5d41781e6a Fix scheme 2021-06-18 19:15:24 +02:00
Joachim
6b873e6bcd Fix newline 2021-06-18 18:29:59 +02:00