a6912dc0c2
Merge branch 'main' into hide-ratings
2024-08-26 12:35:47 -07:00
bd773f41c7
Uses much simpler approach to ensuring test result order
2024-08-26 11:33:01 -07:00
9f5ca7ae60
Uses workaround for test that fails ~sometimes~
2024-08-25 17:53:43 -07:00
c9155bdd78
Adds migration
2024-08-23 18:17:36 -07:00
23471f698c
Prettifies javascript
2024-08-23 17:41:02 -07:00
612098475a
Adds option to show ratings to the user settings panel
2024-08-23 17:34:52 -07:00
f53bb62b2b
Allow users to hide ratings in the UI
2024-08-23 17:32:03 -07:00
413c26bc5e
Merge pull request #3135 from hughrun/csv
...
csv import and export fixes
2024-08-23 16:29:04 -07:00
cf61279e18
Narrowed is_authenticated check in verfication_modal to only restrict report button
2024-08-12 19:56:26 -05:00
f68e33ffc6
Added additional test cases for searches with leading and trailing whitespace
2024-08-11 14:02:24 -05:00
2bb77d9bf8
Updated search view to trim leading and trailing whitespace for author, book, and list query values
2024-08-11 13:01:48 -05:00
7fc54c509c
fixes for bookwyrm csv import
...
- fix tests
- revert change to GenericImporter tests
- import the review name
- add extra properties to ImportItem
2024-08-10 16:37:30 +10:00
95c2798fc7
Merge pull request #3401 from dato/comment_progress_keep_start_date
...
Fix reading progress `start_date` bug
2024-08-09 13:07:01 -07:00
69962bb7c9
Avoid empty <title> in templates
...
Newer versions of tidylib complain about this.
2024-07-28 21:58:26 -03:00
8aba8caae9
merge migration
2024-07-28 21:08:14 +10:00
041f2fc413
edit_readthrough: set start_date/finish_date iff present in request
...
Fixes : #3164
2024-07-28 05:58:38 -03:00
812221456b
Add failing test case for comment progress clobbering start_date
2024-07-28 05:56:25 -03:00
43577f3ca0
Merge branch 'main' into csv
2024-07-27 12:26:21 -07:00
355a6071ff
Merge branch 'main' into pylint3
2024-07-27 11:48:58 -07:00
eef055159e
Merge pull request #3400 from dato/upgrade_sqlparse
...
Add an up-to-date sqlparse to requirements.txt
2024-07-27 11:48:38 -07:00
afd44e109c
Add an up-to-date sqlparse to requirements.txt
...
This is used in utils/db.py to format triggers.
A migration is needed for minor whitespace fixes between
0.4.4 and 0.5.1.
2024-07-27 15:19:43 -03:00
300eeac0e1
Merge pull request #3374 from bookwyrm-social/landing-page-books
...
Use a simpler query for books to show on the landing page
2024-07-27 08:47:02 -07:00
0b87aacfce
pylint: enable useless-suppression
lint and perform cleanup
2024-07-27 03:47:35 -03:00
1a0fbac76c
pylint: upgrade to 3.2.6
...
This only requires fixing:
E0606: Possibly using variable 'results' before assignment
E0606: Possibly using variable 'input_type' before assignment
2024-07-27 03:38:47 -03:00
1608ca6401
improve formatting
2024-07-27 13:16:34 +10:00
93c6b76dab
Merge branch 'main' into csv
2024-07-27 13:04:38 +10:00
94dfbbcc05
fix BookwyrmBooksImporter and tests
...
- change class attribute to instance attribute for mappings
- remove comment from test
- order import retry jobs in generic importer test
This last change seems innocuous but I may be missing something more fundamental - it was otherwise failing when multiple tests are run, I think because running tests in parallel led to import jobs getting out of order?
2024-07-27 12:55:15 +10:00
ab307388f4
Merge pull request #3384 from lo48576/fix/css-path-prefix-with-s3-backend
...
Fix CSS path prefix when S3 storage is used
2024-07-14 13:24:02 +02:00
06d6360082
merge latest changes and add tests
2024-06-30 18:54:59 +10:00
e5b260e3ee
Merge branch 'main' into csv
2024-06-29 16:03:15 +10:00
1a2f434514
Fix CSS path prefix when S3 storage is used
...
django-sass-processor 1.4 looks up OPTIONS using `sass_processor`
instead of `staticfiles`.
Fixes #3383 .
2024-06-13 05:03:10 +09:00
1d4119e853
LOL
...
remove Q import so pylint doesn't grumble
2024-06-09 10:59:11 +10:00
261e794c1c
possible fix for #3372 - user export timeouts
...
This definitely needs to be tested on a large DB but I believe it may fix the timeouts b.s. gets when running user exports.
Instead of a gigantic single DB query with heaps of joins, we instead just do a series of simple queries and then use union()
to pull them into a de-duped queryset.
If I understand the results from explain() correctly, this is a massive reduction in DB work:
Unique (cost=195899.15..198201.71 rows=11808 width=19220)
vs
Unique (cost=150.28..153.44 rows=16 width=19220)
2024-06-09 10:34:22 +10:00
3f08d6d8c4
Use a simpler query for books to show on the landing page
2024-06-08 08:18:54 -07:00
4d3d5d15d0
Merge pull request #3370 from Tak/add-hashtag-to-context
...
Add `as:Hashtag` to activitypub context
2024-06-01 18:48:38 -07:00
eca246fc61
Fix lint
2024-05-31 16:59:24 +02:00
61d9e0c260
Move comment to separate line
...
Co-authored-by: Adeodato Simó <73768+dato@users.noreply.github.com>
2024-05-31 16:49:34 +02:00
46544451d4
Add as:Hashtag to activitypub context
2024-05-23 09:40:25 +02:00
e6ee169c3e
Narrow down bare type: ignore
pragmas
2024-04-26 21:20:43 -03:00
29f852b57e
consolidate multiple cache.delete() calls into cache.delete_many()
2024-04-26 15:36:38 -03:00
acae063652
Fix new warnings from pylint upgrade
2024-04-26 13:59:16 +02:00
e7f95ef4c2
Modify update_fields in save() when modifying objects
...
https://docs.djangoproject.com/en/5.0/releases/4.2/#setting-update-fields-in-model-save-may-now-be-required
2024-04-25 15:53:53 +02:00
a6c2ce15dd
Early return
2024-04-25 15:51:32 +02:00
7604d0acdb
Simplify ObjectMixin broadcast kwarg
2024-04-25 10:31:24 +02:00
77832cbec7
Add merge migration
2024-04-25 10:14:07 +02:00
de67c73237
Add merge migration
2024-04-25 10:14:07 +02:00
f38622fdc9
Define CSRF_TRUSTED_ORIGINS
2024-04-25 10:14:07 +02:00
051dab77bb
Replace deprecated CICharField with custom collation for case-insensitivity
2024-04-25 10:14:07 +02:00
2896219e88
Switch from django-redis to the built-in Redis cache backend
2024-04-25 10:14:07 +02:00
03ac846b5d
Migrate from pytz to zoneinfo
2024-04-25 10:14:07 +02:00