Mouse Reeve
63163ca0ff
Python formatting
2021-10-16 11:23:45 -07:00
Mouse Reeve
851a8f6958
More registration tests
2021-10-16 11:15:57 -07:00
Mouse Reeve
ad26e65109
Fixes clashing identifier and attr with no quotes
2021-10-16 11:15:38 -07:00
Mouse Reeve
3118cdfbb6
Adds another register test
2021-10-16 10:56:22 -07:00
Mouse Reeve
7ec573bf50
Fixes duplicate form ids in login form
2021-10-16 10:55:51 -07:00
Mouse Reeve
5e9cc5eec5
Validate remaining templates
2021-10-16 10:46:05 -07:00
Mouse Reeve
ea268449fa
Python formatting
2021-10-16 10:38:45 -07:00
Mouse Reeve
68cbea60a9
Updates registration tests with html validation
2021-10-16 10:34:41 -07:00
Mouse Reeve
dce0c85602
Fixes clashing input ids on reset password form
2021-10-16 10:28:38 -07:00
Mouse Reeve
bec56180f0
Fixes label on layout login form
2021-10-16 10:20:06 -07:00
Mouse Reeve
974c05dedb
Adds more password view tests
2021-10-16 10:14:53 -07:00
Mouse Reeve
b56147d70c
Use validate html in landing views tests
2021-10-16 10:09:25 -07:00
Mouse Reeve
8cb91acb93
Move logged out templates into a directory
2021-10-16 10:00:31 -07:00
Mouse Reeve
5558216917
Merge pull request #1542 from bookwyrm-social/cancel-button
...
A cancel button that leads nowhere
2021-10-16 07:21:39 -07:00
Mouse Reeve
17eebfb916
Merge pull request #1537 from bookwyrm-social/locale-improvements
...
Locale improvements
2021-10-16 07:13:56 -07:00
Mouse Reeve
94bce7fd83
Use javascript back button on create book page
2021-10-16 07:11:12 -07:00
Mouse Reeve
584e0a54af
Adds test to catch invalid link
2021-10-16 07:06:49 -07:00
Hugh Rundle
8192d6ad10
code indenting fix
2021-10-16 18:00:55 +11:00
Hugh Rundle
0cd8ece474
code formatting
2021-10-16 17:45:39 +11:00
Hugh Rundle
a476b52f86
database migrations for groups
2021-10-16 17:45:21 +11:00
Hugh Rundle
2a31bf2f0c
delete groups
...
Whoops, forgot to add this functionality earlier.
- allow owner to delete a group
- change all group lists to closed curation with group=False when group deleted
2021-10-16 17:35:36 +11:00
Hugh Rundle
85784f07d2
groups templates improvements
...
- require confirmation before removing a member
- require confirmation before removing self
- make button text less verbose
- use more standardised formatting for group editing form
- improve button colours
- add missing trans tags
- reload group page when removing member
2021-10-16 16:43:09 +11:00
Hugh Rundle
1736419538
(hopefully) fix group tests
2021-10-16 16:42:08 +11:00
Hugh Rundle
91534aff82
group view fixes
...
- fix form details not appearing in group member search view
- fix query term appearing in main search box when searching for new members
- direct request user back to the group rather than the user when adding a user to a group
2021-10-16 16:39:50 +11:00
Hugh Rundle
afd00cc67a
improve group removal flow
...
Use .save() twice, but with broadcast=False on the second update. This is more efficient than doing a query and update() and avoids the duplicate AP broadcast.
2021-10-16 16:38:02 +11:00
Hugh Rundle
6f13c0d808
formatting fix
2021-10-16 16:09:03 +11:00
Mouse Reeve
fe00032da5
Merge branch 'main' into locale-improvements
2021-10-15 15:02:44 -07:00
Mouse Reeve
53e49baa20
Merge pull request #1538 from bookwyrm-social/author-page
...
Author page validation
2021-10-15 15:02:22 -07:00
Mouse Reeve
0e30d1f856
Show status header on edit page
2021-10-15 14:45:26 -07:00
Mouse Reeve
896885bffd
Don't show progress field on status update comments
...
Also retitle the view
2021-10-15 14:43:02 -07:00
Mouse Reeve
a9daa4670e
Retain reading status on comments
2021-10-15 14:41:14 -07:00
Mouse Reeve
1e7b56cdb0
Don't show last edited by link if it's not set
2021-10-15 14:26:16 -07:00
Mouse Reeve
931f78d7c2
Validate author page html
2021-10-15 14:26:07 -07:00
Hugh Rundle
e261bfdb6a
fix local filter for suggested users
2021-10-16 08:20:12 +11:00
Hugh Rundle
864d8cea2b
clean up templates
2021-10-16 08:18:55 +11:00
Hugh Rundle
97ea61dd7e
efficiency improvement to remove_from_group
2021-10-16 08:17:42 +11:00
Mouse Reeve
4178d1f7f6
Adds context to translation strings on discover page
2021-10-15 14:10:34 -07:00
Mouse Reeve
3621224074
Properly localize book format
2021-10-15 13:59:07 -07:00
Mouse Reeve
dede101d17
Capitalize html and markdown
2021-10-15 13:58:59 -07:00
Mouse Reeve
032dedabb4
Goodreads capitalization standardization
2021-10-15 13:50:05 -07:00
Mouse Reeve
7f75cd329a
Use instance name instead of the word "instance" where possible
...
trying to use less jargon
2021-10-15 13:42:32 -07:00
Mouse Reeve
eac1ed3484
Merge pull request #1534 from bookwyrm-social/followers-display
...
Fixes privacy filters for followers-only replies
2021-10-15 13:38:42 -07:00
Mouse Reeve
145a31045a
Use "like" consistently (instead of mixing in "favorite")
2021-10-15 13:36:48 -07:00
Mouse Reeve
c6caa5a3f4
Fixes privacy display
2021-10-15 13:26:02 -07:00
Mouse Reeve
66a2b4c7c7
Tests for status raise_visible_to_user function
2021-10-15 13:25:47 -07:00
Hugh Rundle
2f38af4faa
Revert "clean up List db queries"
...
This reverts commit 41f27a4a66
.
I forgot that update() can only be done on a query result, not on an object, so we will need to go back to querying in order to update rather than saving.
2021-10-16 06:59:07 +11:00
Mouse Reeve
1072381b7d
Fixes followers filter for non-status objs
2021-10-15 11:09:46 -07:00
Mouse Reeve
bd0e4abd56
Uses correct model field for raw values
2021-10-15 10:36:46 -07:00
Mouse Reeve
61a0b50b91
Test raw version is saved
2021-10-15 10:10:38 -07:00
Mouse Reeve
e8f5678867
More test names
2021-10-15 10:10:25 -07:00
Mouse Reeve
60b910172d
Update migration
2021-10-15 10:09:34 -07:00
Mouse Reeve
b9e6824360
Imrpove test names
2021-10-15 10:07:29 -07:00
Mouse Reeve
117e6a08b2
Merge branch 'main' into markdown
2021-10-15 10:06:34 -07:00
Mouse Reeve
1e41458a44
Merge pull request #1535 from bookwyrm-social/edit-posts
...
Edit posts
2021-10-15 10:04:17 -07:00
Mouse Reeve
9ac5384d68
Fixes test and css linter
2021-10-15 09:54:14 -07:00
Mouse Reeve
b84152d84b
tick version number
2021-10-15 09:42:21 -07:00
Mouse Reeve
2f40394c0a
Updates edited display
2021-10-15 09:41:29 -07:00
Mouse Reeve
1b1e557800
Updates app to use date instead of boolean
2021-10-15 09:08:10 -07:00
Mouse Reeve
b11b810ec9
Use edit date to track is status has been updated
2021-10-15 08:56:07 -07:00
Mouse Reeve
20cca69f06
Test update status via inbox
2021-10-15 08:52:32 -07:00
Mouse Reeve
4002df04fc
Send update activity on edit
2021-10-15 08:15:48 -07:00
Hugh Rundle
1634c8774e
remove useless field in Notifications model
2021-10-15 17:59:39 +11:00
Hugh Rundle
41f27a4a66
clean up List db queries
...
- don't unnecessarily query DB in List views
- use more efficient query in remove_from_group List class method
2021-10-15 17:56:23 +11:00
Mouse Reeve
50db0bd012
Hide reply panel in no interact mode
2021-10-14 20:29:45 -07:00
Mouse Reeve
0dba071126
Fixes editing replies
2021-10-14 19:14:47 -07:00
Mouse Reeve
e43cade6cc
Test edit view
2021-10-14 19:13:02 -07:00
Mouse Reeve
af567ba05e
Edit posts in original markdown syntax
2021-10-14 18:34:26 -07:00
Mouse Reeve
01911d3b23
Update and indicate edit status
2021-10-14 17:33:45 -07:00
Mouse Reeve
175df2181c
Adds edited field to status model
2021-10-14 17:33:04 -07:00
Mouse Reeve
2d1052766d
Fixes undefined variable error
2021-10-14 17:32:38 -07:00
Mouse Reeve
f5e52d6a11
Save updated statuses
2021-10-14 17:23:54 -07:00
Mouse Reeve
066f14ca84
Save edited statuses
2021-10-14 17:13:54 -07:00
Mouse Reeve
8a08d789cb
Removes delete and redraft tests
2021-10-14 17:13:15 -07:00
Mouse Reeve
92535a5481
Python formatting
2021-10-14 16:57:58 -07:00
Mouse Reeve
df27614937
Don't use localstorage cache for edits
2021-10-14 16:53:46 -07:00
Mouse Reeve
e149a14e73
Use href instead of POST form to edit status
2021-10-14 16:53:42 -07:00
Mouse Reeve
7488f8da96
Creates edit status endpoint
2021-10-14 16:30:27 -07:00
Mouse Reeve
cc650e235b
Fixes privacy filters for followers-only replies
2021-10-14 16:26:28 -07:00
Mouse Reeve
b9251b4dc7
Fixes book identifiers not displaying
2021-10-14 16:11:33 -07:00
Mouse Reeve
1f6f543847
Use url templatetag to load posting urls
2021-10-14 15:56:34 -07:00
Mouse Reeve
d5b247b905
Merge branch 'main' into edit-posts
2021-10-14 15:49:08 -07:00
Mouse Reeve
c1287f800e
Merge pull request #1529 from scientia-ac-labore/add_sort_books
...
Add sorting to shelf. Use table-sort-header
2021-10-14 15:46:08 -07:00
Faiazov Dmitrii
1abbc67483
Make requested changes.
...
Signed-off-by: Faiazov Dmitrii <jjsolutions0110@gmail.com>
2021-10-14 13:39:15 +03:00
Mouse Reeve
803ad3c911
Removes delete and redraft view
2021-10-13 13:12:56 -07:00
Faiazov Dmitrii
ce16f36fe8
Add sorting to shelf. Use table-sort-header
...
existing template.
Signed-off-by: Faiazov Dmitrii <jjsolutions0110@gmail.com>
2021-10-13 21:25:40 +03:00
Mouse Reeve
4384098292
Updates Spanish locale
2021-10-11 12:17:39 -07:00
Mouse Reeve
58ba1ddf87
Typo fix
2021-10-11 10:07:02 -07:00
Mouse Reeve
48b84afbde
Python formatting
2021-10-11 09:37:25 -07:00
Mouse Reeve
69110497ae
Adds Brazilian Portuguese locale
2021-10-11 09:23:28 -07:00
Hugh Rundle
5d7f77021b
dammit eslint
2021-10-10 14:02:55 +11:00
Hugh Rundle
3d74b10c5f
eslinting
2021-10-10 13:55:18 +11:00
Hugh Rundle
726217577f
linting
2021-10-10 13:18:16 +11:00
Hugh Rundle
14d3158871
add database migrations for Groups
2021-10-10 12:33:51 +11:00
Hugh Rundle
2a78c1221c
style cleanup
...
Even tests must be formatted to please Black...
2021-10-10 12:33:11 +11:00
Hugh Rundle
8ae20928bb
add tests for groups
2021-10-10 12:06:54 +11:00
Hugh Rundle
18735bdd42
use update() to remove orphaned groups on list edit
...
Using add() broadcasts the database change, which is unnecessary potentially broadcast AP messages twice.
2021-10-10 12:04:03 +11:00
Hugh Rundle
d6a5794ac3
do not load list edit form if viewer not authenticated
2021-10-10 12:02:27 +11:00
Hugh Rundle
83f46b6cda
remove print() statement
...
Whoops accidentally left this behind from manual troubleshooting
2021-10-10 12:01:21 +11:00
Hugh Rundle
252ff0d689
emblacken files
...
Wouldn't it be great if I just remembered to run Black before every commit?
2021-10-09 22:15:24 +11:00
Hugh Rundle
b3cc9e5b75
remove user and their lists from group when group.user blocks them
...
Lists are changed to closed curation with no group.
2021-10-09 22:13:12 +11:00