Commit graph

4399 commits

Author SHA1 Message Date
Mouse Reeve
d1cefb6900
Merge pull request #1220 from bookwyrm-social/edit-book-link
Fixes link to edit book
2021-07-14 17:51:53 -06:00
Joel Bradshaw
f867b1c81d Update tests for shelved_date
Also make dates while we're at it
2021-07-13 22:08:15 -07:00
Joel Bradshaw
eadf5cf410 Use shelved date for display
I'm not sure if there's a better way to access this field, accessing via
book.shelfbook__shelved_date in the template didn't seem to work
2021-07-13 21:26:38 -07:00
Joel Bradshaw
a16d759766 Add shelved_date field and populate it on import 2021-07-13 21:04:11 -07:00
Mouse Reeve
3f15e4410e Fixes link to edit book 2021-07-12 16:17:20 -07:00
Mouse Reeve
6ffd8a7822
Merge pull request #1217 from bookwyrm-social/activitypub-pagination
Fixes pagination for ordered collections
2021-07-07 12:30:45 -06:00
Mouse Reeve
88c23117ff Fixes outbox pagination 2021-07-07 10:56:19 -07:00
Mouse Reeve
1d90ccdcaa
Merge pull request #1215 from bookwyrm-social/user-status-counts
Hide deleted status counts from book page
2021-07-07 11:55:18 -06:00
Mouse Reeve
b41d9440fd Adds tests for ordered collection page generator 2021-07-07 10:53:25 -07:00
Mouse Reeve
b1022cf245
Merge pull request #1216 from bookwyrm-social/link-formatting
Fixes detection of links with certain characters
2021-07-07 11:20:15 -06:00
Mouse Reeve
23631c3c4f Fixes failing links 2021-07-07 09:49:22 -07:00
Mouse Reeve
b3cd9483d3 Adds test for misinterpreted links 2021-07-07 09:47:07 -07:00
Mouse Reeve
fede777e9b Hide deleted status counts from book page 2021-07-07 09:37:21 -07:00
Mouse Reeve
52713ec8d5
Merge pull request #1211 from cincodenada/fix-resetdb
Fix bw-dev resetdb, some tweaks to bw-dev
2021-07-06 16:02:46 -06:00
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