Mouse Reeve
16994908d8
Lets users opt in to directory
2021-03-21 14:45:11 -07:00
Mouse Reeve
b29be11862
Updates reset password view test
2021-03-21 12:33:19 -07:00
Mouse Reeve
a0b106f6bb
Adds emailing tests
2021-03-21 12:31:05 -07:00
Mouse Reeve
da2d146f0b
runs black for python formatting
2021-03-21 12:07:58 -07:00
Mouse Reeve
c76ad0a312
Celery can't render tempaltes
2021-03-21 12:06:20 -07:00
Mouse Reeve
d8a20175b6
Adds email template layout and formatting
2021-03-21 12:06:12 -07:00
Mouse Reeve
33b5639af0
Fixes tests
2021-03-21 09:20:37 -07:00
Mouse Reeve
1644c421e5
Send invites
2021-03-21 09:13:21 -07:00
Mouse Reeve
685da1f5b8
Adds email templating
2021-03-21 08:54:57 -07:00
Mouse Reeve
5b8bd9ad44
Adds tests
2021-03-21 08:24:59 -07:00
Mouse Reeve
5297b9d796
Ignore request flow
2021-03-21 08:18:04 -07:00
Mouse Reeve
81ab73f309
Black formatting
2021-03-20 20:19:27 -07:00
Mouse Reeve
5e24b438ff
Placeholders for send/ignore request flows
2021-03-20 20:16:13 -07:00
Mouse Reeve
f91a8144f4
Admin UI for managing invite requests
2021-03-20 19:39:39 -07:00
Mouse Reeve
d15396eb26
Request invite flow
2021-03-20 19:14:41 -07:00
Mouse Reeve
4d07cb1eb5
Adds invite request model
2021-03-20 18:27:30 -07:00
Mouse Reeve
396a43136d
Black formatting
2021-03-20 18:04:10 -07:00
Mouse Reeve
d3a4282f11
Show progress on status
2021-03-20 18:03:20 -07:00
Mouse Reeve
17489f002f
html linter fixes
2021-03-20 17:43:51 -07:00
Mouse Reeve
2a612f7278
Formatting
2021-03-20 17:39:05 -07:00
Mouse Reeve
dd15e87073
Merge branch 'main' into progress-update-ui
2021-03-20 17:38:22 -07:00
Mouse Reeve
daa0268eb3
Update progress with comments
2021-03-20 17:35:10 -07:00
Mouse Reeve
942c4a6664
Move progress updates into modal
2021-03-20 17:18:18 -07:00
Fabien Basmaison
fa79070b59
[lint] Update editorconfig linting:
...
- Add settings for comments.
- Remove custom settings that don’t work.
- Fix vendor JS file:
2021-03-20 16:33:18 +01:00
Fabien Basmaison
3ff336b104
Use the file on mouse-reeve/bookwyrm, verbatim.
2021-03-20 16:08:47 +01:00
Fabien Basmaison
4a7c0cd184
Fix indentation in bookwyrm/tests/data/ol_isbn_search.json.
2021-03-20 15:36:25 +01:00
Fabien Basmaison
b9a61162d7
Merge branch 'main' into ci
2021-03-20 15:26:51 +01:00
Mouse Reeve
c31bf1f0c8
Fixes loading javascript listeners
2021-03-19 15:59:28 -07:00
Mouse Reeve
1b5c71c7b1
formatting
2021-03-19 12:44:30 -07:00
Mouse Reeve
5a0723cde7
Migrations for django 3.1 upgrade
2021-03-19 12:43:36 -07:00
Mouse Reeve
08327b3a0a
Merge pull request #766 from mouse-reeve/decimal-ratings
...
Make rating a decimal field
2021-03-19 12:42:07 -07:00
Mouse Reeve
5ed3320c9b
Formatting
2021-03-19 12:16:44 -07:00
Mouse Reeve
266c6fe777
Make rating a decimal field
2021-03-19 12:14:59 -07:00
Mouse Reeve
90cfff67d6
Updaates locale files
2021-03-19 11:58:27 -07:00
Mouse Reeve
5f1bed3d78
Merge pull request #764 from mouse-reeve/modular-javascript
...
Move javascript into separate files and only include where needed
2021-03-19 11:01:20 -07:00
Mouse Reeve
5ad645c225
Move check all js into separate file
2021-03-19 10:51:45 -07:00
Mouse Reeve
443daab128
Move tabs javascript into separate file
2021-03-19 10:47:32 -07:00
Mouse Reeve
e92a506e61
Upload cover via url form edit book view
2021-03-19 10:29:34 -07:00
Mouse Reeve
a8545e2701
Adds tests for upload cover view
...
bonus test for user view
2021-03-19 09:20:48 -07:00
Mouse Reeve
9470b2831f
Add cover via url
2021-03-18 10:04:33 -07:00
Mouse Reeve
ae6d8529af
Moves add cover into modal
2021-03-18 09:44:59 -07:00
Mouse Reeve
4e55018e41
Moves book templates into dir
2021-03-18 09:37:16 -07:00
Mouse Reeve
1ad7d88cc8
Merge pull request #760 from mouse-reeve/reveal-cws
...
Remove a step when unfurling statuses with content warnings
2021-03-18 09:21:42 -07:00
Mouse Reeve
c2386bd3a1
Remove a step when unfurling statuses with content warnings
2021-03-18 09:15:47 -07:00
Mouse Reeve
77f11572f3
Remove invalid aria tag
...
thank you, bot
2021-03-18 09:08:19 -07:00
Mouse Reeve
48a5232ebb
Formatting
2021-03-18 09:06:00 -07:00
Mouse Reeve
91aaf704f5
Adds set reading goal display control in user settings
2021-03-18 09:05:18 -07:00
Mouse Reeve
baee0796cd
Moves localstorage handlers into its own file
2021-03-18 09:02:07 -07:00
Mouse Reeve
9a20b5dbd5
Hide goal using database field instead of localstorage
2021-03-18 09:00:25 -07:00
Mouse Reeve
ba09377041
Use None instead of empty dict for endpoint default value
2021-03-17 13:59:16 -07:00
Mouse Reeve
0d8e1f0ae2
Makes endponts a default field
2021-03-17 09:34:20 -07:00
Mouse Reeve
db426d71ee
Fixes failed serialization of empty avatar field
2021-03-17 09:22:45 -07:00
Mouse Reeve
d50689e63f
Merge pull request #754 from mouse-reeve/ui-fixes
...
misc UI fixes
2021-03-16 14:20:11 -07:00
Mouse Reeve
f0711ad40e
Fixes margins on lists
2021-03-16 14:13:42 -07:00
Mouse Reeve
bb1e8edc00
Shifts alignment on oclc number with line wrap
2021-03-16 14:09:21 -07:00
Mouse Reeve
64eb6e8b07
Fixes large covers overlapping on book page
2021-03-16 14:04:51 -07:00
Mouse Reeve
8e1e4572f6
Merge pull request #747 from mouse-reeve/edit-book-fields
...
Adds publishers to edit book form
2021-03-16 14:03:49 -07:00
Mouse Reeve
46906f7e41
Fixes whitespace jump when switching from trimmed to full
2021-03-16 14:03:25 -07:00
Mouse Reeve
9251883d77
Checks if publisher fields is present (it isn't on works)
2021-03-16 13:54:15 -07:00
Mouse Reeve
6755137bad
Fixes displaying publisehrs when none are set
2021-03-16 13:46:02 -07:00
Mouse Reeve
6370fbf2c6
Formatting
2021-03-16 13:39:33 -07:00
Mouse Reeve
b285fb2fc0
Set shelf user by default
2021-03-16 13:37:22 -07:00
Mouse Reeve
b816c322b5
Merge pull request #751 from mouse-reeve/report-notifications
...
Notify admins when a report is filed
2021-03-16 13:04:15 -07:00
Mouse Reeve
550eba1f68
Black formatting
2021-03-16 12:59:25 -07:00
Mouse Reeve
e5750de3dd
Notify admins when a report is filed
2021-03-16 12:57:23 -07:00
Mouse Reeve
08edba4891
Ignore activities that expect dict args but get strs
...
Some Undo activities are coming from Pleroma with just the id
of the activity, rather than the serialized object. There isn't
an obvious way to know what is being undone, so for now this
just ignores those
2021-03-16 12:00:21 -07:00
Mouse Reeve
c50ca9f951
Still trying to catch connection error
...
I guess I was catching the wrong TYPE of connection error? annoying.
2021-03-15 16:23:35 -07:00
Mouse Reeve
0550918e5c
Merge pull request #744 from mouse-reeve/images
...
Fixes image attachments
2021-03-15 16:02:29 -07:00
Mouse Reeve
bb8ce74f52
Updates base activity tests for updated Image type
2021-03-15 15:57:00 -07:00
Mouse Reeve
e6e1af9ec1
Merge pull request #745 from mouse-reeve/list-add
...
Add books to lists from the book page
2021-03-15 15:51:31 -07:00
Mouse Reeve
5a24c97cb5
Updates image type in fields tests
2021-03-15 15:45:18 -07:00
Mouse Reeve
20bcbb1a3c
Updates image type to Document in status model tests
2021-03-15 15:44:26 -07:00
Mouse Reeve
def834a0ac
Merge pull request #736 from mouse-reeve/rating-template
...
Render rating status from template
2021-03-15 15:42:36 -07:00
Mouse Reeve
0037a22cb6
Updates list tests
2021-03-15 15:41:11 -07:00
Mouse Reeve
d947632b69
Adds publisher to book cover alt text
2021-03-15 15:39:16 -07:00
Mouse Reeve
b1335d2811
Formatting
2021-03-15 15:33:05 -07:00
Mouse Reeve
b3951a77d9
Adds publishers to edit book form
2021-03-15 15:28:50 -07:00
Mouse Reeve
f79bb60d81
Adds ability to reset default edition based on computer ranks
2021-03-15 15:08:20 -07:00
Mouse Reeve
f0a936f15e
Add books to lists from the book page
2021-03-15 14:44:03 -07:00
Mouse Reeve
6bd0f94269
Adds plural version for rating text
2021-03-15 14:09:04 -07:00
Mouse Reeve
220f2c1eb4
Fixes image attachments
2021-03-15 13:55:48 -07:00
Mouse Reeve
99ba39413e
Fixes upload and display of logos in admin panel
2021-03-15 10:05:08 -07:00
Mouse Reeve
aa2950daf3
Render rating status from template
2021-03-13 18:24:46 -08:00
Mouse Reeve
8e71186067
Fixes adding mutiple authors
2021-03-13 18:09:09 -08:00
Mouse Reeve
23cca85ee3
Fixes busted author path in confirmation step
2021-03-13 17:31:06 -08:00
Mouse Reeve
d802f4b85e
Fixes layout showing wrong user in header on user page
2021-03-13 15:57:54 -08:00
Mouse Reeve
54682d6f5c
Formatting
2021-03-13 15:36:00 -08:00
Mouse Reeve
6490a55274
Handle incoming follow request cancellations
2021-03-13 15:32:56 -08:00
Mouse Reeve
e2d394d894
Checks activity type in view test
2021-03-13 15:04:23 -08:00
Mouse Reeve
4d7364d045
Undo follow request view
2021-03-13 14:55:09 -08:00
Mouse Reeve
e9575cae6c
Buttons for undoing follow requests
2021-03-13 14:48:15 -08:00
Mouse Reeve
546579c231
Merge pull request #732 from mouse-reeve/search-info
...
Search info
2021-03-13 14:34:47 -08:00
Mouse Reeve
ad8257f8bd
Formats changes
2021-03-13 14:04:41 -08:00
Mouse Reeve
05fcfbc66f
Show more data about books in search
2021-03-13 13:55:20 -08:00
Mouse Reeve
611e7870e7
Show publisher on book data page
2021-03-13 12:36:53 -08:00
Mouse Reeve
091ad53061
JS linting and whitespace fixes
2021-03-13 12:14:34 -08:00
Mouse Reeve
6e5f2f411f
Merge pull request #728 from mouse-reeve/wellknown-view
...
Moves federation info endpoints into views module
2021-03-13 11:11:28 -08:00
Mouse Reeve
1f2da18655
Adds test for updates endpoint
2021-03-13 11:11:06 -08:00
Mouse Reeve
139416d9c3
Moves federation info endpoints into views module
2021-03-13 11:00:55 -08:00
Mouse Reeve
78df37a861
Merge pull request #727 from mouse-reeve/connector-tests
...
Connector tests
2021-03-13 10:24:40 -08:00
Mouse Reeve
76f1643269
Tests ignore edition openlibrary connector code
...
also removes print statements oops
2021-03-13 10:11:13 -08:00
Mouse Reeve
414dd6bd20
Adds isbn search test to connector manager
2021-03-13 10:01:17 -08:00
Mouse Reeve
6b22de2075
More tests for bookwyrm connector
2021-03-13 09:43:15 -08:00
Mouse Reeve
382170d662
Adds get_or_create_author abstract connector test
2021-03-13 09:28:48 -08:00
Mouse Reeve
393ea625a2
Merge pull request #726 from mouse-reeve/search-tests
...
Search tests
2021-03-13 09:27:46 -08:00
Mouse Reeve
d3b1941eaa
Uses get_data helper in isbn search (plus test)
2021-03-13 09:07:19 -08:00
Mouse Reeve
a1d95d5010
Merge pull request #725 from mouse-reeve/incoming-unshelve
...
Fixes handling incoming unshelve activities
2021-03-13 08:53:37 -08:00
Mouse Reeve
e459c440de
tests formulating search queries with min_confidence field
2021-03-13 08:52:48 -08:00
Mouse Reeve
2ab913018d
Use get_data helper when executing searches
2021-03-13 08:52:36 -08:00
Mouse Reeve
e1a8c4d260
Fixes handling incoming unshelve activities
2021-03-13 08:43:36 -08:00
Mouse Reeve
3edfcb7631
Trying to fix broadcast connectionerror exceptions
2021-03-13 08:15:58 -08:00
Mouse Reeve
919b166241
Catch error in serializing unknown boosts
2021-03-13 08:13:20 -08:00
Mouse Reeve
1f4b3e9586
Adds tests for status recipients property
2021-03-13 07:38:19 -08:00
Mouse Reeve
2548ba926a
Fixes error when receiving Undo for unknown boost
2021-03-13 07:15:30 -08:00
Mouse Reeve
848edd2972
Adds missing migration for reports model
2021-03-12 16:32:11 -08:00
Mouse Reeve
b64fb3e0aa
Merge pull request #715 from mouse-reeve/reporting
...
Reporting
2021-03-12 16:28:15 -08:00
Mouse Reeve
1617cfaac7
Clarifies report headers in moderation panel
2021-03-12 16:20:10 -08:00
Mouse Reeve
7323f63803
Adds test for report comments
2021-03-12 16:02:23 -08:00
Mouse Reeve
9245b9d9ca
Comments on reports
2021-03-12 15:56:54 -08:00
Mouse Reeve
46581e37e2
Mocks boradcast for moderation test
2021-03-12 15:24:57 -08:00
Mouse Reeve
8c74beb78c
Allow moderators to delete reported statuses
2021-03-12 11:25:56 -08:00
Mouse Reeve
677a49fee3
Option to deactivate reported users
2021-03-12 11:13:53 -08:00
Mouse Reeve
422cd2da73
Direct message report action
2021-03-12 10:37:52 -08:00
Mouse Reeve
8bd12f0e06
Remove unused method
2021-03-12 10:27:08 -08:00
Mouse Reeve
f220290a2b
Merge pull request #692 from mouse-reeve/create-book
...
Create book
2021-03-12 10:26:15 -08:00
Mouse Reeve
bedc9e0a88
Resolve and re-open reports
2021-03-12 10:22:03 -08:00
Mouse Reeve
b42c761b0b
Safer author add logic
2021-03-12 09:46:28 -08:00
Mouse Reeve
4583662f51
Whitespace for so accesslint can clap at me every time I commit
2021-03-11 17:45:41 -08:00
Mouse Reeve
33b8537a3d
Let user supply a note for report
2021-03-11 17:38:21 -08:00
Mouse Reeve
28db3e2733
Formatting
2021-03-11 16:40:35 -08:00
Mouse Reeve
c1976dbd62
Add multiple authors
2021-03-11 16:33:49 -08:00
Mouse Reeve
965d84f86f
Fixes creating news works
2021-03-11 15:41:12 -08:00
Mouse Reeve
7f45206693
Moves moderation templates to their own directory
2021-03-10 12:38:49 -08:00
Mouse Reeve
0d2c641d01
Reformats report model
2021-03-09 12:57:38 -08:00
Mouse Reeve
999bff4bba
Basic reports admin templates
2021-03-09 12:35:07 -08:00
Mouse Reeve
ff624e33fa
fixes display of report items on admin page
2021-03-09 10:08:02 -08:00
Mouse Reeve
21f199c548
Make reports
2021-03-08 18:36:50 -08:00
Mouse Reeve
e59c127686
Adds models for reporting
2021-03-08 17:16:59 -08:00
Mouse Reeve
7337a357fa
Adds tests file
2021-03-08 16:02:16 -08:00
Mouse Reeve
ab57b5b906
First pass at views for reporting
2021-03-08 15:55:48 -08:00
Mouse Reeve
a29d6a5f16
Hide secondary save button in confirm mode
2021-03-08 14:11:08 -08:00
Mouse Reeve
500394fc52
Make sure creating books doesn't broadcast in tests
2021-03-08 11:54:26 -08:00
Mouse Reeve
bf255bd51d
Merge pull request #460 from mouse-reeve/review-rate
...
Review rate
2021-03-08 11:50:42 -08:00
Mouse Reeve
37e29cc735
Adds tests of creating book with author
2021-03-08 11:11:05 -08:00
Mouse Reeve
58b48faff8
Tests create books flow
2021-03-08 10:50:01 -08:00
erion
031235009f
Fix albel for the OCLC number field.
2021-03-08 19:20:55 +01:00
Mouse Reeve
acbebbe947
Formats code changes
2021-03-08 10:10:30 -08:00
Mouse Reeve
01a2a77cbb
Merge branch 'main' into create-book
2021-03-08 10:07:02 -08:00
Mouse Reeve
5fe989e20f
Formats migrationwq
2021-03-08 09:58:07 -08:00
Mouse Reeve
84534a2991
Adds merge migration
2021-03-08 09:54:53 -08:00
Mouse Reeve
3bdfc341e4
Runs black
2021-03-08 09:54:02 -08:00
Mouse Reeve
ad43e5c83a
Merge branch 'main' into review-rate
2021-03-08 09:48:25 -08:00
Mouse Reeve
a5baa1f5c6
Create new books
2021-03-08 09:28:22 -08:00
Mouse Reeve
d3162e12db
Adds broadcast mock to edit book tests
2021-03-08 08:51:54 -08:00
Mouse Reeve
70296e760b
Runs black
2021-03-08 08:49:10 -08:00
Mouse Reeve
6d9c024e0e
Merge branch 'main' into create-book
2021-03-07 15:49:00 -08:00
Mouse Reeve
cb2011488c
Merge pull request #709 from mouse-reeve/fixes-support-link
...
Fixes support link display i18n
2021-03-07 15:48:25 -08:00
Mouse Reeve
642a2f26d7
Fixes support link display i18n
2021-03-07 15:42:49 -08:00
Mouse Reeve
7d55629823
typo fix
2021-03-07 15:20:09 -08:00
Mouse Reeve
0146cebb1a
Fixes incorrect user displayed for boosts
...
Fixes #706
2021-03-07 15:17:51 -08:00
Mouse Reeve
1eac2b9386
Test for deleting authors
2021-03-07 15:14:57 -08:00
Mouse Reeve
79d9c493f7
Remove author flow
2021-03-07 14:19:22 -08:00
Mouse Reeve
f1b699d810
Tests adding author to book
2021-03-07 13:59:27 -08:00
Mouse Reeve
1f8e9bc668
Merge pull request #705 from mouse-reeve/federation-errors
...
Federation errors
2021-03-07 13:21:03 -08:00
Mouse Reeve
bbd3ac7242
Removes ID field from hideen form value
2021-03-07 13:17:11 -08:00
Mouse Reeve
410e0b04bb
Fixes fav logic and base activity test
2021-03-07 13:13:16 -08:00
Mouse Reeve
0bd27928e4
Removes username snippet
2021-03-07 10:24:46 -08:00
Mouse Reeve
47cf77145d
Updates tests for inbox tweaks
2021-03-07 09:48:39 -08:00
Mouse Reeve
09b77e567f
Check for invalid json before verifying signature
2021-03-07 09:44:42 -08:00
Mouse Reeve
71bbea83f9
Adds discard check to favs
2021-03-07 09:42:31 -08:00
Mouse Reeve
c0ccb7065c
Safer federation of book data changes
...
Only broadcast to other BW instances, plus bonus error handling
2021-03-07 09:22:35 -08:00
Mouse Reeve
a63471c56f
Merge pull request #704 from mouse-reeve/notification-preview
...
Clearer notification preview for generated notes
2021-03-07 08:59:18 -08:00
Mouse Reeve
f48a6399a4
Merge pull request #703 from mouse-reeve/list-display-fixes
...
List page display fixes
2021-03-07 08:53:33 -08:00
Mouse Reeve
ec92aff793
Clearer notification preview for generated notes
2021-03-07 08:50:07 -08:00
Mouse Reeve
283bfe8d6a
Merge pull request #702 from mouse-reeve/book-page-display
...
Book page display
2021-03-07 08:43:47 -08:00
Mouse Reeve
a70264c12c
Fixes showing link to user lists
2021-03-07 08:42:30 -08:00
Mouse Reeve
5ddb3b810e
Don't show books lists when item isn't approved
2021-03-07 08:37:39 -08:00
Mouse Reeve
336a3769b6
Hide empty body on delete readthrough modal
2021-03-07 08:03:28 -08:00
Mouse Reeve
dfecdca6f9
Fixes display of ratings
2021-03-07 07:56:33 -08:00
Mouse Reeve
b895059f03
Uses same alt text generation for books with no cover
2021-03-07 07:42:02 -08:00
Mouse Reeve
e5bdb4b9d1
Make empty cover value null
2021-03-07 07:35:50 -08:00
Mouse Reeve
9c94be8804
Fixes typo in subject places block
2021-03-07 07:35:38 -08:00
Mouse Reeve
4eefe33d9b
Merge pull request #701 from Flameborn/ScreenReaderImprovements
...
Screen reader improvements
2021-03-07 07:13:47 -08:00
Mouse Reeve
9082eefd8f
Sets specific proportions for book page columns
2021-03-07 07:08:19 -08:00
erion
ae8d39995d
Hide avatar image to screen readers on the status pages, since there is a link present for a user already.
2021-03-07 14:39:18 +01:00
erion
cb8ec01ccf
Indicate which page is the current.
2021-03-07 13:55:50 +01:00
erion
09c5275ec4
Fix typo.
2021-03-07 13:18:10 +01:00
Mouse Reeve
e4fa85c2fb
Merge pull request #699 from mouse-reeve/display-name-title
...
Fixes display name showing up on user page
2021-03-06 13:34:42 -08:00
Mouse Reeve
13531f107d
Merge pull request #697 from mmai/feature/isbnSearch
...
ISBN search
2021-03-06 13:32:31 -08:00
Mouse Reeve
9ed18a2b1d
Fixes display name showing up on user page
2021-03-06 13:11:44 -08:00
Mouse Reeve
5c9a3a5667
Merge pull request #696 from arkhi/fix-js
...
Fix toggling all checkboxes of failed imports
2021-03-06 13:05:07 -08:00
Fabien Basmaison
a52fee4ccf
Remove (potentially useful) unused CSS.
2021-03-06 21:18:39 +01:00
Henri Bourcereau
703ff60271
isbn search
2021-03-06 18:09:15 +01:00
Fabien Basmaison
99e5e3e414
[import] Show skip link to all when there is more than 10 failed imports.
2021-03-05 22:09:56 +01:00
Mouse Reeve
91a14d3a13
Updates alt text in status model tests
2021-03-05 07:50:23 -08:00
Mouse Reeve
b70e728ffb
Removes the word "cover" from cover alt text
...
Fixes #694
2021-03-05 06:58:22 -08:00
Fabien Basmaison
097b8e5811
Fix toggling all checkboxes of failed imports:
...
- Rename classes and function to something more descriptive.
- Listen to the element checked status instead of a click on a non‑focusable element.
- Use specific DOM targets instead of relying on the DOM ancestor tree.
- Add a skip‑link to the end of the list and avoid tabbing through all failed items.
- Update related i18n strings in French.
- Avoid having the label on the whole width to prevent accidental click.
- Move `fieldset` out of `ul`.
2021-03-05 15:41:21 +01:00
Mouse Reeve
5c089db086
Full add author flow
2021-03-04 17:10:33 -08:00
Mouse Reeve
b2d1384bc5
UI for adding and removing authors
2021-03-04 15:10:55 -08:00
Mouse Reeve
e2622d0594
Catches a couple translations, hides profile box when empty
2021-03-04 14:27:49 -08:00
Mouse Reeve
577f5db37b
Merge pull request #680 from arkhi/main
...
[profile] Fix HTML errors
2021-03-04 14:01:22 -08:00
Mouse Reeve
74ab3505fe
Merge pull request #686 from mouse-reeve/french-fuzzy
...
Removes "fuzzy" flag from translated French strings
2021-03-04 11:47:53 -08:00
Fabien Basmaison
dab6592c12
Testing moving a comment to see what accesslint says.
2021-03-04 20:38:28 +01:00
Fabien Basmaison
16ea657b5b
[a11y] Add aria-modal
:
...
- Addresses https://github.com/mouse-reeve/bookwyrm/pull/680#issuecomment-790603940
2021-03-04 20:14:38 +01:00
Fabien Basmaison
c370cad7f9
[lint] Fix white spaces in HTML.
2021-03-04 19:42:23 +01:00
Fabien Basmaison
1cb84b0f62
[lint] Fix indentation in JS files.
2021-03-04 19:36:17 +01:00
Fabien Basmaison
420a33d79f
[lint] fix indentation in CSS files.
2021-03-04 19:27:03 +01:00
Fabien Basmaison
fc16211125
[lint] Ignore newline in svg files within fonts/.
2021-03-04 19:24:11 +01:00
Fabien Basmaison
1266a740e5
[lint] Fix indentation in .py files.
2021-03-04 19:06:12 +01:00
Mouse Reeve
7b2a8e90ff
Merge pull request #670 from mouse-reeve/editor-default
...
Give new users editor permissions by default
2021-03-04 09:19:21 -08:00
Mouse Reeve
2542b72f3a
Try to get github to re-run checks
2021-03-04 08:51:10 -08:00
Mouse Reeve
6caf45ac4f
fixes error catching
2021-03-04 08:45:03 -08:00
Mouse Reeve
9842e63cb4
Ignore group not found error creating user
2021-03-04 08:35:13 -08:00
Mouse Reeve
4c71c5fb73
Removes "fuzzy" flag from translated French strings
2021-03-04 08:04:55 -08:00
Mouse Reeve
4a06cc7a66
Revert "Un-fuzzies French translation strings"
...
This reverts commit a5d2cf4677
.
2021-03-04 08:04:00 -08:00
Mouse Reeve
a5d2cf4677
Un-fuzzies French translation strings
2021-03-04 08:02:57 -08:00
Mouse Reeve
208a38a34d
Adds spanish locale to settings and rebuilds messages
2021-03-03 20:14:42 -08:00
Mouse Reeve
e5662b1752
Merge pull request #682 from reesporte/main
...
Spanish translation and one (1) typo fix
2021-03-03 20:10:52 -08:00
reese
5fe8b67ba7
fix typo :)
2021-03-03 20:08:42 -06:00
Fabien Basmaison
8c26d8a514
[profile] Updates for PR:
...
- Fix duplicated IDs between modals for the same status.
- Remove redundant button (https://github.com/mouse-reeve/bookwyrm/pull/680#discussion_r586743844 ).
- Remove redundant `role="navigation"` on `<nav>`.
- Add `dir="auto"` back for titles (https://github.com/mouse-reeve/bookwyrm/pull/680#discussion_r586715693 ).
- Use `exists` instead of `all` for conditional statement (https://github.com/mouse-reeve/bookwyrm/pull/680#discussion_r586716299 ).
- Fix missing spacing between avatar and username (https://github.com/mouse-reeve/bookwyrm/pull/680#discussion_r586740902 ).
2021-03-03 22:58:01 +01:00
Fabien Basmaison
a05b14c338
[profile] Various HTML fixes:
...
- Wrap block level elements within block level elements, not inline.
- Avoid empty blocks.
- Change `<hr>` in lists into allowed type of children.
- Fix duplicated ID (some change that was not propagated across the template?).
- Make the anchor optional in the navbar (interactive elements (`a`, `input`, `button`…) should not appear into other interactive elements).
- Remove redundant `role` on main navigation.
- Make the modal a modal with `role="dialog".
- Use `button` instead of form-less `label`.
2021-03-03 20:10:09 +01:00
Mouse Reeve
327f14a150
Merge branch 'main' into create-book
2021-03-03 08:55:40 -08:00
Fabien Basmaison
0d8eb959ea
[profile] Use unique IDs on statuses.
2021-03-03 15:48:04 +01:00
Mouse Reeve
51cf580813
Revert "Fixes boost notification"
...
This reverts commit 3ee12345ec
.
2021-03-02 20:24:51 -08:00
Mouse Reeve
3ee12345ec
Fixes boost notification
2021-03-02 20:19:50 -08:00
Mouse Reeve
be3c7ac90e
Fixes boost display
2021-03-02 20:17:32 -08:00
Mouse Reeve
caed268227
Adds german language to settings
2021-03-02 13:36:30 -08:00
Mouse Reeve
549d8768a6
Combine a couple very similar translation strings
...
plus a whitespace fix
2021-03-02 10:46:08 -08:00
Mouse Reeve
2c37893790
Adds default shelf names translations
2021-03-02 10:32:46 -08:00
Mouse Reeve
27914d07b9
Missing translation strings on book and list pages
2021-03-02 10:23:11 -08:00
Mouse Reeve
5938c438e2
Translate table titles in header
2021-03-02 09:59:15 -08:00
Mouse Reeve
8bb7d5bba0
Translates invite form values
2021-03-02 09:55:28 -08:00
Mouse Reeve
bb6a82fdff
Adds simplified chinese language code to settings
2021-03-02 09:26:21 -08:00
Mouse Reeve
01df4ad321
Small fixes for translation
2021-03-02 09:25:45 -08:00
Mouse Reeve
2faf5cea2a
modifies edit book code to allow creation as well
2021-03-02 09:01:31 -08:00
Mouse Reeve
99288e9183
Merge branch 'main' into edit-book-fields
2021-03-01 11:53:02 -08:00
Mouse Reeve
2c2d7c4694
Merge pull request #669 from mouse-reeve/edit-book-field
...
Track last edited by on partial edits
2021-03-01 11:43:17 -08:00
Mouse Reeve
d16e4dc808
Enumerates notification options for translation
2021-03-01 09:32:03 -08:00
Mouse Reeve
b9bf65ad2a
Adds missing i18n imports
2021-02-28 17:52:48 -08:00
Mouse Reeve
bd44bf0980
Merge branch 'main' into i18n-second-pass
2021-02-28 17:22:25 -08:00
Mouse Reeve
6a18803417
Catches more template translation moments
2021-02-28 17:10:30 -08:00
Mouse Reeve
b2779cc6bf
Merge pull request #664 from mouse-reeve/login-csrf
...
Fixes csrf failure logging on from multiple tabs
2021-02-28 16:16:00 -08:00
Mouse Reeve
10130f01d4
Merge pull request #662 from mouse-reeve/titles
...
Puts titles in templates instead of views
2021-02-28 16:15:39 -08:00
Mouse Reeve
54687b7b35
Make users editors by default
2021-02-28 13:45:49 -08:00
Mouse Reeve
3ecdc8f93e
Track last edited by on partial edits
2021-02-28 13:40:57 -08:00
Mouse Reeve
5e0a1749f3
Fixes csrf failure logging on from multiple tabs
2021-02-28 11:47:30 -08:00
Mouse Reeve
310d4a1f59
Merge pull request #653 from greatislander/tab-keyboard-accessibility
...
feature: keyboard accessibility for tabbed UIs (fixes #526 )
2021-02-28 11:11:54 -08:00
Mouse Reeve
72c50b3f58
Fixes typo in admn layout page
2021-02-28 10:45:21 -08:00
Mouse Reeve
0cf2baccac
Adds merge migration
2021-02-28 10:40:10 -08:00
Mouse Reeve
5bc4456d4e
Merge branch 'main' into review-rate
2021-02-28 10:35:20 -08:00
Mouse Reeve
3e9ee0973b
cleans up i18n titles
2021-02-28 10:09:56 -08:00
Ned Zimmerman
263b13f157
Adapt tab handler to vanilla JS, fix focus jump, improve accessible naming of tabs/panels
2021-02-28 14:04:04 -04:00
Mouse Reeve
c483768544
Moves titles into templates and adds i18n support
2021-02-28 10:00:36 -08:00
Mouse Reeve
c4116c93b7
Merge branch 'main' into titles
2021-02-28 09:02:21 -08:00
Mouse Reeve
4df62a8ebd
Simplifies translation strings
2021-02-28 08:42:25 -08:00
Ned Zimmerman
b324e668ca
Merge branch 'upstream' into tab-keyboard-accessibility
2021-02-28 12:39:56 -04:00
Mouse Reeve
d3676ff984
Removes non-existant german language support
2021-02-28 08:13:49 -08:00
Mouse Reeve
4f76d21b85
Snags more strings for i18n
2021-02-27 18:48:10 -08:00
Mouse Reeve
27316678d5
Adds test german translations
...
with apologies to actual german speakers
2021-02-27 16:44:58 -08:00
Mouse Reeve
2d79a52133
Translations working in templates
2021-02-27 16:18:56 -08:00
Mouse Reeve
b2e431daed
Adds test localization file
2021-02-27 15:00:19 -08:00
Mouse Reeve
8e5e3a84d6
Quick first pass at tagging strings for localization
2021-02-27 14:22:39 -08:00
Mouse Reeve
791968ece5
updating language file defaults
2021-02-27 13:51:03 -08:00
Mouse Reeve
ad2a87d317
First pass at internationalization and localization
2021-02-27 13:43:55 -08:00
Mouse Reeve
04ed5d62dd
Merge pull request #649 from mmai/feature/importLibrarything
...
librarything import
2021-02-27 12:17:41 -08:00
Mouse Reeve
7622bef35d
Adds separate privacy policy section
2021-02-27 11:53:36 -08:00
Mouse Reeve
9ed5226b58
Switches layout to use in-template html header titles
2021-02-27 11:07:16 -08:00
Ned Zimmerman
bc7f830b2b
Merge branch 'upstream' into tab-keyboard-accessibility
2021-02-27 11:53:27 -04:00
Ned Zimmerman
9580bec154
feat: modify tabbed interfaces to support keyboard accessibility ( fixes #526 )
2021-02-27 11:47:03 -04:00
Joel Bradshaw
717cbe3034
Use very fancy SQL nonsense
...
This should be more efficient than running the queries one by one
2021-02-26 23:12:39 -08:00
Joel Bradshaw
ee7388052c
Use SQL parameters, and make unconvert work
...
DBAs don't want you to know about this One Simple Trick
2021-02-26 22:57:26 -08:00
Henri Bourcereau
bfedb300ca
librarything import : fix parsing & select box
2021-02-26 13:32:17 +01:00
Mouse Reeve
3ba6479e79
hide linter error on override funtion
2021-02-25 15:16:16 -08:00
Mouse Reeve
4a10c99026
Fixes handling of ratings in status views and urls
2021-02-25 15:05:51 -08:00
Mouse Reeve
2e36cfbcf6
Creates new semi-functional migration
2021-02-25 14:58:09 -08:00
Mouse Reeve
ffd57dfef4
Use modern string formatting syntax in status model
2021-02-25 10:34:28 -08:00
Mouse Reeve
ed7c13531f
Merge branch 'main' into review-rate
2021-02-25 10:17:52 -08:00
Mouse Reeve
6d7e063b81
Makes rating field mandatory on ratings
2021-02-25 10:17:24 -08:00
Mouse Reeve
0ecfff0f16
Merge pull request #625 from mouse-reeve/inbox-refactor
...
Inbox refactor
2021-02-24 13:34:59 -08:00
Mouse Reeve
bb7c41ee5f
Tweaks where serialize is called
2021-02-24 13:13:29 -08:00
Mouse Reeve
bb5838782d
Merge pull request #650 from mouse-reeve/privacy-display
...
Privacy display
2021-02-24 12:54:00 -08:00
Mouse Reeve
c7d8548614
Select subclasses in rss feed
2021-02-24 12:35:43 -08:00
Mouse Reeve
a5ee535ab6
fixes book reviews queryset aggregators
2021-02-24 12:29:50 -08:00
Mouse Reeve
779581c6f4
Only show dms in dm page
2021-02-24 12:06:00 -08:00
Mouse Reeve
2a5d4b83d8
Show dms in the right places
2021-02-24 11:59:21 -08:00
Mouse Reeve
bcdf2ee142
Improves privacy-related display
2021-02-24 11:35:19 -08:00
Henri Bourcereau
b85fed3595
librarything import
2021-02-24 20:20:14 +01:00
Mouse Reeve
94e95dc39d
Adds test for delete activity
2021-02-24 10:07:03 -08:00
Mouse Reeve
cad19ee878
Merge branch 'main' into inbox-refactor
2021-02-24 09:51:34 -08:00
Mouse Reeve
9465455af2
Catch ssl errors in broadcast
2021-02-24 08:27:16 -08:00
Mouse Reeve
6426282db1
fixes goal page and test for goal page
2021-02-23 22:07:13 -08:00
Mouse Reeve
fcc0e0ccb6
Cleans up formatting on about page
2021-02-23 19:58:04 -08:00
Mouse Reeve
b4d9cdbe98
Merge pull request #643 from mouse-reeve/pressed-button-color
...
Makes comment and fav/boost buttons the same color when selected
2021-02-23 17:35:13 -08:00
Mouse Reeve
744de313c8
Makes comment and fav/boost buttons the same color when selected
2021-02-23 17:23:11 -08:00
Mouse Reeve
fba53c72e0
default safe mode for activity serialization
2021-02-23 17:19:47 -08:00
Mouse Reeve
4d0e52bf51
Test tag and list add
2021-02-23 17:18:25 -08:00
Mouse Reeve
0d68d22f73
Merge pull request #642 from mouse-reeve/invite-pagination
...
Invite pagination
2021-02-23 17:03:38 -08:00
Mouse Reeve
6e6bcb2f48
gotta simplify the add activity
2021-02-23 15:51:02 -08:00
Mouse Reeve
23fb5f62a2
Keep invite settings in form after save
2021-02-23 15:25:26 -08:00
Mouse Reeve
384187a263
Moves create invite form to top of invite page
2021-02-23 15:21:37 -08:00
Mouse Reeve
e042805f38
Merge pull request #632 from mouse-reeve/remote-server-set
...
Safer set remote server
2021-02-23 15:13:32 -08:00
Mouse Reeve
baed291889
Don't broadcast after saving remote server
2021-02-23 14:45:39 -08:00
Mouse Reeve
d3381d7a79
Paginates invite page
...
I sure have sent out a lot of invites
2021-02-23 14:41:33 -08:00
Mouse Reeve
3de8a20d39
Fixes boolean for is bookwyrm user in test
2021-02-23 14:36:24 -08:00
Mouse Reeve
5472281f29
Merge pull request #640 from mouse-reeve/rate-color
...
Makes the interactive rating element a different color
2021-02-23 14:19:32 -08:00
Mouse Reeve
2546aaedd6
Merge pull request #641 from mouse-reeve/discover-links
...
Makes covers clickable on discover page
2021-02-23 14:19:26 -08:00
Mouse Reeve
1db711b397
Merge pull request #639 from mouse-reeve/status-markup
...
Status markup
2021-02-23 14:19:19 -08:00
Mouse Reeve
1eaff91513
Makes the interactive rating element a different color
2021-02-23 14:08:52 -08:00
Mouse Reeve
31c9c07e38
Makes covers clickable on discover page
2021-02-23 14:06:08 -08:00
Mouse Reeve
d0c46060e8
Adds stars to book preview in status
2021-02-23 14:00:19 -08:00
Mouse Reeve
f9dd0b0246
Groups in book preview only used by status templates
2021-02-23 13:42:20 -08:00
Mouse Reeve
fdbd3688f4
Merge pull request #636 from mouse-reeve/follow-block-button
...
Cleans up display of follow/block/unfollow/unblock buttons
2021-02-23 13:38:02 -08:00
Mouse Reeve
a0b57837a7
Moves status templates into dir
2021-02-23 13:37:16 -08:00
Mouse Reeve
9ac332f6cc
Adds request user for rss test
2021-02-23 13:26:44 -08:00
Mouse Reeve
152107a9af
Merge pull request #637 from mouse-reeve/mobile-header-buttons
...
Fixes header wrap on mobile headers
2021-02-23 13:25:17 -08:00
Mouse Reeve
a71171249d
Merge pull request #638 from mouse-reeve/list-mobile-display
...
List mobile display
2021-02-23 13:25:12 -08:00
Mouse Reeve
ffe5ce7251
User friendly-er add cover form
...
bulma has failed me. Fixes #628
2021-02-23 13:23:41 -08:00
Mouse Reeve
b9f06edc1b
Fixes a few missed calls to get_user_from_username
2021-02-23 13:12:50 -08:00
Mouse Reeve
be9198fc4f
Another place where get reviews is called in tests
2021-02-23 13:09:39 -08:00
Mouse Reeve
e6b4212e6b
Typo fix
2021-02-23 13:05:43 -08:00
Mouse Reeve
8a3d1a0bf2
Fixes header wrap on mobile headers
2021-02-23 13:04:24 -08:00
Mouse Reeve
d1a21b851a
Maintain list columns in mobile
2021-02-23 12:46:41 -08:00
Mouse Reeve
b1268b7db8
Small covers too small on mobile
2021-02-23 12:44:25 -08:00
Mouse Reeve
364b053d9a
Better user block privacy
2021-02-23 12:41:37 -08:00
Mouse Reeve
a617302006
Cleans up display of follow/block/unfollow/unblock buttons
2021-02-23 12:10:54 -08:00
Mouse Reeve
c6a61abf79
Don't try to fetch reviews for remote user in test
2021-02-23 11:58:01 -08:00
Mouse Reeve
6e09d485c4
Outbox sensitive to user agent strings
2021-02-23 11:34:15 -08:00
Mouse Reeve
cbccdea468
fixes ordered collection serializations
2021-02-23 11:13:20 -08:00
Mouse Reeve
726a8739a3
way too much logging coming from http errors
2021-02-22 11:42:45 -08:00
Mouse Reeve
ef9acaf878
Adds tests for setting remote server
2021-02-22 11:38:11 -08:00
Mouse Reeve
6b74f56381
Safer set remote server
2021-02-22 10:01:19 -08:00
Mouse Reeve
bff75cedf5
Boolean error in user save causing infinite recursion
2021-02-22 09:41:52 -08:00
Mouse Reeve
f654444aab
Fixes bug in saving remote server
2021-02-22 08:53:01 -08:00
Mouse Reeve
dbe9431d5a
Fixes pure serializer
2021-02-20 11:24:41 -08:00
Mouse Reeve
fb98ef4b38
Remove redundant activitypub dataclass
2021-02-19 11:16:01 -08:00
Mouse Reeve
42ca32a985
Merge branch 'main' into review-rate
2021-02-18 13:12:04 -08:00
Mouse Reeve
e707374888
Don't broadcast from inbox tests
2021-02-17 14:37:20 -08:00
Mouse Reeve
3f02b5f6f2
Fixes view tests
2021-02-17 13:34:36 -08:00
Mouse Reeve
79875271f7
Makes next/prev page links optional
2021-02-17 13:33:48 -08:00
Mouse Reeve
e8e4ed773c
Fixes deletion for boosts
2021-02-17 13:07:19 -08:00
Mouse Reeve
7b21a0a208
Fix things, unfix things, refix things, break things, fix things
2021-02-17 12:23:55 -08:00
Mouse Reeve
08dc5b4d86
Fixes unfollow
2021-02-17 11:45:21 -08:00
Mouse Reeve
d022fef625
broadcast accepts correctly
2021-02-17 11:28:54 -08:00
Mouse Reeve
d5ca77362b
Fixes boost activity type in status model test
2021-02-17 10:38:09 -08:00
Mouse Reeve
92e40e1cec
Pass model instances into activities instead of json
2021-02-17 10:36:05 -08:00
Mouse Reeve
9225043b5d
Fixes relationship model test
2021-02-17 10:16:17 -08:00
Mouse Reeve
b18dac5814
Don't use generic ActivityObject as serializer
2021-02-17 10:15:22 -08:00
Mouse Reeve
8bb20730fc
Fixes bug in serializing dataclasses in place
2021-02-17 09:33:33 -08:00
Mouse Reeve
cbf5479253
Test fixes
2021-02-17 08:35:17 -08:00
Mouse Reeve
7b27f98e20
Fixes recursive serializer
2021-02-17 08:34:21 -08:00
Mouse Reeve
29df2e0fac
fixes typo in person test
2021-02-16 20:26:51 -08:00
Mouse Reeve
77781d57c3
Fixes base activity tests
2021-02-16 20:24:37 -08:00
Mouse Reeve
a9ca3a4290
Fixes calls to to_model, init with activitypub partially serialized
2021-02-16 20:17:38 -08:00
Mouse Reeve
3f61675a0a
Updates usage of resolve_remote_id
2021-02-16 19:35:43 -08:00
Mouse Reeve
e2f921b7f5
better checking for empty values
2021-02-16 19:28:23 -08:00
Mouse Reeve
91908eb1b6
Smarter way of inferring serializers (which are explicitly present)
2021-02-16 18:59:50 -08:00
Mouse Reeve
a3b7063e4b
makes inbox csrf exempt
2021-02-16 18:07:57 -08:00
Mouse Reeve
714202986d
Fixes person/author confusion and public keys
2021-02-16 17:47:53 -08:00
Mouse Reeve
d81bfb6573
Fixes unfollow
2021-02-16 16:35:28 -08:00
Mouse Reeve
b57a86d4e2
Fixes approving follow requests automatically
2021-02-16 12:58:29 -08:00
Mouse Reeve
f5a022184f
Fixes discarding boosts
2021-02-16 12:31:27 -08:00
Mouse Reeve
3f1b62eb98
Fixes Add activity
...
still janky
2021-02-16 11:04:13 -08:00
Mouse Reeve
b393df8cab
Fixes deletion
2021-02-16 09:35:00 -08:00
Mouse Reeve
08c1553e71
Fixes Favs
2021-02-15 21:41:08 -08:00
Mouse Reeve
606d89d3bd
Fixes boost, recursive to_model calls
2021-02-15 21:20:00 -08:00
Mouse Reeve
a16b81a6eb
Adds actions for all verbs
2021-02-15 20:49:23 -08:00
Mouse Reeve
12a3aa9667
incoming Create flow with tests
2021-02-15 19:41:22 -08:00
Mouse Reeve
81e2021f92
Move handlers to activitypub classes
2021-02-15 18:47:08 -08:00
Mouse Reeve
e810c2bee0
Recursively parse activities
2021-02-15 17:23:17 -08:00
Mouse Reeve
fd19b55961
Basic checks for inbox
2021-02-15 16:27:25 -08:00
Mouse Reeve
f974b9b895
Better blocking checks
2021-02-15 12:51:34 -08:00
Mouse Reeve
8cf7da4b19
Merge branch 'main' into user-creation
2021-02-15 12:26:15 -08:00
Mouse Reeve
65f81bd5f0
Moves blocking to save function
...
I just like these better than signals??
2021-02-15 12:21:48 -08:00
Mouse Reeve
8cb345886b
Show lists on book page
2021-02-15 11:30:22 -08:00
Mouse Reeve
06feef44ad
Merge branch 'main' into review-rate
2021-02-12 18:33:05 -08:00
Mouse Reeve
4a58cd42a6
More thorough check to prevent following blocked users
2021-02-12 18:14:51 -08:00
Mouse Reeve
d250127062
Merge pull request #621 from mouse-reeve/fixes-follows
...
Fixes follows
2021-02-12 16:22:05 -08:00
Mouse Reeve
363609e7be
Fixes follows
...
Yikes
2021-02-12 16:16:22 -08:00
Mouse Reeve
2297fe133d
Uses template for generating goal status
2021-02-12 11:52:05 -08:00
Mouse Reeve
0df7be6cfc
Merge pull request #618 from mouse-reeve/template-fixes
...
Template fixes
2021-02-12 10:10:42 -08:00
Mouse Reeve
03dddaa064
Fixes list display
2021-02-12 09:58:57 -08:00
Mouse Reeve
403cc712c5
Fixes review pluralization
2021-02-12 09:55:25 -08:00
Mouse Reeve
927cb15abd
fixes edit user test
2021-02-11 12:42:54 -08:00
Mouse Reeve
47f371b604
Merge branch 'main' into user-view-test
2021-02-11 08:39:48 -08:00
Mouse Reeve
18a86cbe2a
More edit user tests
2021-02-11 08:38:45 -08:00
Mouse Reeve
89c0ecdca9
comma in number
2021-02-11 08:24:20 -08:00
Mouse Reeve
c7e7c56a89
Merge pull request #616 from mouse-reeve/list-federation
...
Fixes bugs in how lists/shelves federate Adds
2021-02-10 19:39:56 -08:00
Mouse Reeve
9b61538f0c
Merge pull request #615 from mouse-reeve/update-list-activity
...
Update list activity
2021-02-10 19:39:31 -08:00
Mouse Reeve
3497a5c7e4
Merge pull request #614 from mouse-reeve/expand-data-error
...
Catch expand book data load error
2021-02-10 19:19:14 -08:00
Mouse Reeve
5f7466e92d
Fixes bugs in how lists/shelves federate Adds
2021-02-10 19:17:16 -08:00
Mouse Reeve
2a65aa7cc7
More tests
2021-02-10 18:24:09 -08:00
Mouse Reeve
b898f263b7
Another test case for the user view
2021-02-10 18:01:11 -08:00
Mouse Reeve
2a069adc8a
Fixes updating lists
2021-02-10 18:00:56 -08:00
Mouse Reeve
41cef9bdfd
Catch expand book data load error
2021-02-10 17:54:49 -08:00
Mouse Reeve
3aa7f8afe0
Safer migration runpython function
2021-02-10 17:30:26 -08:00
Mouse Reeve
e918ddf526
Merge pull request #611 from mouse-reeve/default-edition
...
Don't set default edition if it's already set
2021-02-10 17:23:56 -08:00
Mouse Reeve
107a804230
Merge pull request #610 from mouse-reeve/cover-links
...
Makes covers clickable in places they aren't
2021-02-10 16:58:04 -08:00
Mouse Reeve
4c2ec43fce
Don't set default edition if it's already set
2021-02-10 16:53:51 -08:00
Mouse Reeve
11504e9cef
Makes covers clickable in places they aren't
...
Fixes #598
2021-02-10 16:45:53 -08:00
Mouse Reeve
5e2555dc0e
Merge pull request #609 from mouse-reeve/model-notifications
...
Refactors generating notifications
2021-02-10 16:45:02 -08:00
Mouse Reeve
848454c50f
Fixes templatetag test
2021-02-10 16:31:41 -08:00
Mouse Reeve
b774e946f3
fixes avoiding mention and reply notification
2021-02-10 16:28:50 -08:00
Mouse Reeve
e6b9985f95
Don't need a helper function for creating notifications anymore
2021-02-10 16:23:49 -08:00
Mouse Reeve
e0cfb009e4
Deduplicate notifications in notification model
2021-02-10 16:21:29 -08:00
Mouse Reeve
d9e65aa363
Notifications for follow requests
2021-02-10 16:06:50 -08:00
Mouse Reeve
ac57db5375
Boost notifications
2021-02-10 16:00:02 -08:00
Mouse Reeve
6f748a6a24
Fixes status notifications
2021-02-10 15:18:20 -08:00
Mouse Reeve
74d39c3e24
Move fav notifications to model
2021-02-10 14:31:39 -08:00
Mouse Reeve
106d442a0b
Moves import complete notification to model
2021-02-10 14:18:55 -08:00
Mouse Reeve
ca08bfa6f5
Remove duplicate notification generation code in incoming
2021-02-10 14:14:33 -08:00
Mouse Reeve
13d8ccb016
Moves status notifications into model
2021-02-10 14:13:36 -08:00
Mouse Reeve
ed56398667
Merge pull request #607 from mouse-reeve/notifications
...
Notifications for list additions
2021-02-10 14:08:46 -08:00
Mouse Reeve
b22e56333f
Gracefully handle list duplicate additions
2021-02-10 13:50:20 -08:00
Mouse Reeve
8842db3c1b
Create notification when adding or suggesting a book to a list
2021-02-10 13:46:56 -08:00
Mouse Reeve
2bf4b17113
Adds notification type referencing lists
2021-02-10 13:15:12 -08:00
Mouse Reeve
88b2504402
Fixes broadcasting on generated notes
2021-02-10 13:09:04 -08:00
Mouse Reeve
222dc118af
Merge pull request #604 from mouse-reeve/link-format-bug
...
Link format bug
2021-02-10 12:45:04 -08:00
Mouse Reeve
930d9429ef
User save() override instead of signal to set user fields
...
this gets gnarly because of transaction.atomic, so it bears further
testing
2021-02-10 12:43:53 -08:00
Mouse Reeve
475d0cbb26
Merge pull request #603 from mouse-reeve/rss-link
...
Adds link to rss feed from user page
2021-02-10 12:29:23 -08:00
Mouse Reeve
2f42ec5e37
Fixes execution order for formatting content body for statuses
2021-02-10 12:27:09 -08:00
Mouse Reeve
a61c06c4cc
Merge pull request #601 from mouse-reeve/user-tabs
...
Only show tabs on user page as appropriate
2021-02-10 12:16:23 -08:00
Mouse Reeve
f75acc385d
Adds link to rss feed from user page
2021-02-10 12:13:07 -08:00
Mouse Reeve
5565523d85
Tests bug in link formatting
2021-02-10 12:07:50 -08:00
Mouse Reeve
f46a708f7e
Handle connector exceptions with sketchy book data from OL
2021-02-10 12:00:16 -08:00
Mouse Reeve
9a564a846a
Better error handling and loggin in get_data
2021-02-10 11:56:08 -08:00
Mouse Reeve
d29257e1ff
Only show tabs on user page as appropriate
2021-02-10 11:48:49 -08:00
Mouse Reeve
759a384852
Merge pull request #592 from mouse-reeve/local-paths
...
Fixes local paths with remote users
2021-02-10 11:38:54 -08:00
Mouse Reeve
7c5b9f563f
Fixes double slash in path
2021-02-10 11:11:55 -08:00
Mouse Reeve
96921e4be6
Merge pull request #574 from mouse-reeve/shelve-buttons
...
Shelve buttons
2021-02-10 09:01:33 -08:00
Mouse Reeve
486b660351
Merge pull request #594 from mouse-reeve/broadcast-fixes
...
Refactors broadcasting
2021-02-10 08:52:15 -08:00
Mouse Reeve
9c3bec23b8
More mocks in tests
2021-02-09 17:26:27 -08:00
Mouse Reeve
485de039cf
Merge branch 'main' into shelve-buttons
2021-02-09 13:28:00 -08:00
Mouse Reeve
104e4d7cf7
Patch setup in status tests
2021-02-09 13:06:59 -08:00
Mouse Reeve
1d7cea2789
fixes tests with broadcast kwarg
2021-02-09 12:48:46 -08:00
Mouse Reeve
25e8b3ddeb
Send activitypub pure mode activities when possible
2021-02-09 12:23:59 -08:00
Mouse Reeve
0682117a06
delete and re-add shelf books in switch edition
2021-02-09 12:07:45 -08:00
Mouse Reeve
8fb08e09fd
Filter pending books from list display
2021-02-09 11:40:35 -08:00
Mouse Reeve
9561bb2294
Adds reverse runpython for migration
2021-02-09 11:21:43 -08:00
Mouse Reeve
e998ac28da
Fixes broadcasting created status that needs second save
2021-02-09 11:13:02 -08:00
Mouse Reeve
0a554b002d
Fixes test for handling direct recipients
2021-02-09 10:43:40 -08:00
Mouse Reeve
76491e4e35
Back off notification polling
2021-02-09 10:38:43 -08:00
Mouse Reeve
4ad51e62c6
Use recipients model attribute in broadcast
2021-02-09 10:26:04 -08:00
Mouse Reeve
0fd2885e7e
Tests broadcasting from list views more thoroughly
2021-02-09 09:41:48 -08:00
Mouse Reeve
76e90cb3f6
Fixes remaining test patches
2021-02-08 09:38:28 -08:00
Mouse Reeve
80241e59a7
adds mocks to templatetags tests
2021-02-07 19:17:28 -08:00
Mouse Reeve
2fcfebd4e5
fixes broadcasting for incoming activities
2021-02-07 16:23:20 -08:00
Mouse Reeve
bf6aca5122
fixes mocks on tests
2021-02-07 11:29:24 -08:00
Mouse Reeve
ad7a045582
Makes shelbook user required
2021-02-07 11:29:13 -08:00
Mouse Reeve
ee2b656b08
fixes change password view
2021-02-06 22:37:40 -08:00
Mouse Reeve
6b10e487b6
adding mocks for views tests
2021-02-06 22:37:19 -08:00
Mouse Reeve
272685f27d
sketchy fix for boost broadcasting
2021-02-06 21:30:43 -08:00
Mouse Reeve
63fe9777e2
Fixes shelf model tests
2021-02-06 21:02:58 -08:00
Mouse Reeve
b02a2c1aa4
broadcasting for follow, accept, and reject
2021-02-06 19:18:02 -08:00
Mouse Reeve
ffd0759f6f
Fixes field and lists tests
2021-02-06 16:13:59 -08:00
Mouse Reeve
f917079c0b
Adds update tests for objectmixin
2021-02-06 13:48:02 -08:00
Mouse Reeve
d477b6d3f3
tests create and delete activity for objectmixin
2021-02-06 13:43:09 -08:00
Mouse Reeve
3b17c0ed44
Fixes broadcast recipients with software constraint
2021-02-06 12:41:35 -08:00
Mouse Reeve
ff721896c0
Fixes call to mention_users
2021-02-06 12:06:45 -08:00
Mouse Reeve
c7c975d695
Use save method override instead of a signal
...
and gets the new test file working
2021-02-06 12:00:47 -08:00
Mouse Reeve
2ef777f87e
Use activity type mixin
2021-02-04 14:36:57 -08:00
Mouse Reeve
7381536ad6
circular import issues and added_by migration
2021-02-04 14:27:26 -08:00
Mouse Reeve
5a3a6151a6
separate mixins for AP types
2021-02-04 13:22:27 -08:00
Mouse Reeve
42d80ce238
Remove explicit broadcast calls
2021-02-04 13:21:55 -08:00
Mouse Reeve
44996917c7
Activitypub model code in more files
2021-02-04 12:36:39 -08:00
Mouse Reeve
feb8190d8f
Created mixin for ordered collection items
2021-02-04 12:25:07 -08:00
Mouse Reeve
b015d6c9a1
Fixes hiding import book option in search for anonymous users
2021-02-04 11:46:42 -08:00
Mouse Reeve
12e0e6a1f0
Broadcast implicitly from model save
2021-02-04 11:44:31 -08:00
Mouse Reeve
d633826a20
full path in user-based remote id
2021-02-04 10:48:56 -08:00
Mouse Reeve
dfb5c396b0
Moves activitypub mixin to its own file
2021-02-04 10:47:18 -08:00
Mouse Reeve
582ebc0fe3
Fixes local paths with remote users
...
Fixes #590
2021-02-04 10:31:08 -08:00
Mouse Reeve
ae0034e678
Fixes mismatched html tags
2021-02-03 18:09:07 -08:00
Mouse Reeve
736f28e254
Fixes user tabs linking to logged in user
2021-02-03 17:02:04 -08:00
Mouse Reeve
c03dcaf842
Distinct lists
2021-02-03 16:49:42 -08:00
Mouse Reeve
3f2f27bcac
Fixes logged out list view
2021-02-03 16:40:29 -08:00
Mouse Reeve
39d31060e1
Sort list preview by most recently added
2021-02-03 16:11:42 -08:00
Mouse Reeve
476d65552e
Hide other people's empty lists from lists page
2021-02-03 16:01:49 -08:00
Mouse Reeve
7af1f6c19d
Merge pull request #585 from mouse-reeve/inline-form
...
Inline form
2021-02-03 12:56:08 -08:00
Mouse Reeve
1dc02cd5fa
Merge pull request #576 from mouse-reeve/remove-editions
...
Clear unused editions with poor metadata
2021-02-03 12:55:27 -08:00
Mouse Reeve
7faf639758
Fixes openlibrary connector test
2021-02-03 12:52:13 -08:00
Mouse Reeve
502e235e59
Edit shelf form using component
2021-02-03 12:45:01 -08:00
Mouse Reeve
bcbcdd5b3b
Uses component for create shelf form
2021-02-03 12:36:20 -08:00
Mouse Reeve
6ce4be7406
Adds inline form component
2021-02-03 12:25:33 -08:00
Mouse Reeve
0ba7c60e83
Merge pull request #577 from mouse-reeve/lists
...
Lists
2021-02-03 10:57:19 -08:00
Mouse Reeve
65f3333edb
line length fix
2021-02-03 10:42:02 -08:00
Mouse Reeve
1b6dd666d9
Handling incoming list Creates and Updates
2021-02-03 10:34:27 -08:00
Mouse Reeve
627b2ae90a
Set header when opening forms
2021-02-02 15:46:58 -08:00
Mouse Reeve
7aa9204cd2
Fixes missing privacy field for to-read statuses
2021-02-02 15:25:34 -08:00
Mouse Reeve
18ef041a25
Fixes broadcast task patch on shelves tests
2021-02-02 15:19:44 -08:00
Mouse Reeve
b8dc307a6b
Fixes mocking broadcast task in lists tests
2021-02-02 15:14:33 -08:00
Mouse Reeve
bbc05578fb
Fixes tests
2021-02-02 14:59:40 -08:00
Mouse Reeve
6b07911a01
Patches broadcasts in list and shelf tests
2021-02-02 12:17:21 -08:00
Mouse Reeve
3f9bb97693
Merge pull request #583 from mouse-reeve/level
...
adds icons to discover page
2021-02-02 12:10:59 -08:00
Mouse Reeve
f42a5444e5
User ordered collection subtype for shelves
2021-02-02 11:17:31 -08:00
Mouse Reeve
e61d8b7638
Serialize lists as custom activitypub object
2021-02-02 11:13:15 -08:00
Mouse Reeve
d37f8f68d8
Adds user lists template
2021-02-02 10:13:59 -08:00
Mouse Reeve
05c00b9eca
Adds cute lil icons to discover page
2021-02-02 10:13:35 -08:00
Mouse Reeve
d2fc3febb0
Show reading activity panel when no readthroughs exist
2021-02-02 09:44:29 -08:00
Mouse Reeve
23ce639e5c
migration to change privacy field type
2021-02-02 09:41:24 -08:00
Mouse Reeve
e53b4e57fa
Federating lists and shelves
2021-02-02 09:37:46 -08:00
Mouse Reeve
c7914d1394
Fixes search tests
2021-02-01 13:06:06 -08:00
Mouse Reeve
3e3b21c46a
Fixes ap serialization of list lists
2021-02-01 12:03:11 -08:00
Mouse Reeve
e865530142
Search lists
2021-02-01 11:50:47 -08:00
Mouse Reeve
ec7a9f68c2
Adds tabs to user profile page
2021-02-01 11:34:08 -08:00
Mouse Reeve
d7c32cc314
Paginates lists view
2021-01-31 17:34:06 -08:00
Mouse Reeve
6e0d258c97
Cards on list page
2021-01-31 14:03:51 -08:00
Mouse Reeve
fd9b98d443
Fixes logged out list view
2021-01-31 13:38:26 -08:00
Mouse Reeve
5939a72c81
More list models tests
2021-01-31 13:31:49 -08:00
Mouse Reeve
b9b5694165
Fixes bug in removing list item
2021-01-31 13:14:52 -08:00
Mouse Reeve
19b56c26f7
list views tests
2021-01-31 13:12:56 -08:00
Mouse Reeve
944503dde5
Use close button instead of cancel button on edit form
2021-01-31 12:36:53 -08:00
Mouse Reeve
697bcb0edb
sidebar css class
2021-01-31 12:31:39 -08:00
Mouse Reeve
6824bdd5ed
Fixes shelve menu display
2021-01-31 12:30:33 -08:00
Mouse Reeve
b17761cfc3
remove items from list
2021-01-31 12:15:38 -08:00
Mouse Reeve
47097c6b32
updates user rating tag
2021-01-31 12:10:10 -08:00
Mouse Reeve
13b38d40bb
Curation view
2021-01-31 12:07:54 -08:00
Mouse Reeve
a6c5341ad1
curation ui
2021-01-31 11:45:16 -08:00
Mouse Reeve
846489e88e
Only show approved list items
2021-01-31 11:21:50 -08:00
Mouse Reeve
a2e69d783d
suggest button wording
2021-01-31 11:13:50 -08:00
Mouse Reeve
f15626b2cb
Null state for search results
2021-01-31 11:13:05 -08:00
Mouse Reeve
6a68fe9475
Search for books to add to lists
2021-01-31 11:11:26 -08:00
Mouse Reeve
1e9189d43c
Suggest recently edited books if we're out of user books
2021-01-31 10:56:40 -08:00
Mouse Reeve
1a4c53da2c
Only show delete button to appropriate users
2021-01-31 10:44:46 -08:00
Mouse Reeve
acd922970a
Add to and edit lists
2021-01-31 10:34:25 -08:00
Mouse Reeve
4883231347
Fixes model test
2021-01-31 09:08:06 -08:00
Mouse Reeve
d73a1b4ec1
handles list privacy in display
2021-01-31 08:41:11 -08:00
Mouse Reeve
69c2b192a4
Adds list creation form
2021-01-31 08:08:52 -08:00
Mouse Reeve
91483b56f5
Adds views tests
2021-01-31 07:09:03 -08:00
Mouse Reeve
8ef959ba73
Adds little icons, so cute
2021-01-31 06:52:18 -08:00
Mouse Reeve
0815b36ec9
Adds basic view and template files
2021-01-30 21:42:47 -08:00
Mouse Reeve
af65509527
stub test for list model
2021-01-30 21:03:50 -08:00
Mouse Reeve
fe088f21fb
Model and migration for lists
2021-01-30 21:00:36 -08:00
Mouse Reeve
45ac13a7ff
Clear unused editions with poor metadata
2021-01-30 18:30:07 -08:00
Mouse Reeve
a36de9026b
Merge pull request #575 from mouse-reeve/openlibrary-editions
...
Ignore openlibrary editions with little to no metadata
2021-01-30 17:49:54 -08:00
Mouse Reeve
9833f5a03d
Tests creating editions
2021-01-30 17:44:42 -08:00
Mouse Reeve
661d49d9cc
Ignore openlibrary editions with little to no metadata
...
Also fixes the isbn problem
2021-01-30 17:19:01 -08:00
Mouse Reeve
645e85050c
Group modals with shelve button
2021-01-30 16:08:29 -08:00
Mouse Reeve
6ff70d0d2c
directory for shelve button templates
2021-01-30 15:59:50 -08:00
Mouse Reeve
765a6a1878
uncomment error handling for bad shelf id
2021-01-30 15:56:22 -08:00
Mouse Reeve
74d37c84be
Don't show the main button in the dropdown
2021-01-30 15:49:43 -08:00
Mouse Reeve
0c723eb550
Fixes shelf page template path bug
2021-01-30 15:49:43 -08:00
Mouse Reeve
7afab352b1
Fixes incorrect tempalte path in threaded status page
2021-01-30 15:49:43 -08:00
Mouse Reeve
9b326f7321
Give user control over "want to read" posts
2021-01-30 15:18:38 -08:00
Mouse Reeve
e5fd14b206
Confirmation modal for to-read shelve action
2021-01-30 13:11:43 -08:00
Mouse Reeve
b3bd6822b2
Make sure templates render rather than checking template paths
2021-01-30 12:30:03 -08:00
Mouse Reeve
ac4a178e83
Fixes shelf page template path bug
2021-01-30 12:03:50 -08:00
Mouse Reeve
37710144fa
Adds options tempalte
2021-01-30 11:52:31 -08:00
Mouse Reeve
cd65ac7290
Fixes incorrect tempalte path in threaded status page
2021-01-30 11:46:15 -08:00
Mouse Reeve
e5746d6117
Menu list for shelf button options
2021-01-30 11:43:40 -08:00
Mouse Reeve
8add05d7fd
Fixes incorrect display of reading progress
2021-01-29 18:06:17 -08:00
Mouse Reeve
9d3f48a1a9
Settings views tests
2021-01-29 17:06:10 -08:00