Commit graph

4485 commits

Author SHA1 Message Date
Joel Bradshaw
b4c6587972 Fix bw-dev resetdb, some tweaks to bw-dev
The main fix here is for resetdb, it previously was failing to drop the
db for me, because `web` was up and running and using the database. This
commit spins up db by itself first so it can drop and re-create the
database successfully, then brings up web to run the migrations.

While I was in here, I also updated it so that when running `bw-dev`
without any command it will also print the helptext, rather than just
exiting silently, got rid of the double-echo of the helptext, and added
runweb/rundb commands to run arbitrary commands via bw-dev.
2021-07-05 13:20:14 -07:00
Joachim
3ea1bcb256
Merge branch 'main' into storage-s3 2021-07-05 13:06:19 +02:00
Mouse Reeve
2e9ac1bf27
Merge pull request #1208 from cincodenada/fix-import-page
Add backend parameter to Celery initializer
2021-07-03 06:42:47 -07:00
Joel Bradshaw
ecff6dd051 Make it black 2021-07-03 00:22:55 -07:00
Joel Bradshaw
28a76662fe Add backend parameter to Celery initializer
This fixed an error when viewing imports for my setup
2021-07-02 23:53:42 -07:00
Mouse Reeve
95db2ce867
Merge pull request #1206 from gra-ch/translation
Add Tranditional Chinese translation
2021-07-01 17:46:31 -07:00
gra-ch
b720740762 Add Tranditional Chinese translation 2021-06-30 13:54:56 +08:00
Mouse Reeve
088c862e90
Merge pull request #1204 from bookwyrm-social/dev-import-bug
Avoids template errors in dev when imports can't connect to redis
2021-06-28 14:26:23 -07:00
Mouse Reeve
9461784a18 Python formtting 2021-06-28 13:54:38 -07:00
Mouse Reeve
e13ddb10d0 Avoids template errors in dev when imports can't connect to redis 2021-06-28 13:50:04 -07:00
Mouse Reeve
1ae1712314
Merge pull request #1202 from bookwyrm-social/mouse-reeve-patch-1
Adds prompt to include instance in bug reports
2021-06-27 12:51:33 -07:00
Mouse Reeve
a27adf596b
Adds prompt to include instance in bug reports 2021-06-27 12:14:55 -07:00
Mouse Reeve
290192204e Fixes user json views
Fixes #1198
2021-06-27 11:47:49 -07:00
Mouse Reeve
556ffa4194
Merge pull request #1199 from bookwyrm-social/search-index
More efficient search index
2021-06-27 08:03:14 -07:00
Mouse Reeve
55aa67cc00 Fixes pytest syntax 2021-06-27 07:31:01 -07:00
Mouse Reeve
fe5f8b3f0e Test is passing locally and failing in CI
Trying out different yaml params
2021-06-27 07:04:37 -07:00
Mouse Reeve
3238be4748 Restores weights to original calculation 2021-06-26 19:07:09 -07:00
Mouse Reeve
62b6bfe1ee Annotation and filtering order 2021-06-26 18:55:09 -07:00
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
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
root
ad3dc16005 Removrd Bio from Your books 2021-06-22 13:18:23 +00: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