Commit graph

6458 commits

Author SHA1 Message Date
Mouse Reeve
3e48adad52 Get user by any username for status page 2020-03-10 11:28:11 -07:00
Mouse Reeve
7cf87be35c Status isn't just for local users 2020-03-10 11:26:45 -07:00
Mouse Reeve
67661274a6 Fixes bug in remote user absolute_id generator 2020-03-10 11:23:23 -07:00
Mouse Reeve
787aa4691d Fixes data display on shelf 2020-03-09 17:55:15 -07:00
Mouse Reeve
6546c0d8be Fixes logic in username display_full 2020-03-09 17:53:05 -07:00
Mouse Reeve
62d0d1318d Don't link out to other instances on user page 2020-03-09 17:48:48 -07:00
Mouse Reeve
3e0956d95a
Merge pull request #79 from cthulahoops/approval
Approval
2020-03-09 17:37:27 -07:00
Mouse Reeve
99a060311b Fix feed display 2020-03-09 17:27:54 -07:00
Mouse Reeve
78fa9a3a20 Don't create notification when you interact with yourself 2020-03-09 17:05:57 -07:00
Mouse Reeve
2215e0a894 Threaded-view on status pages
It's hideous though, sorry
2020-03-09 17:04:28 -07:00
Adam Kelly
43500ec478 Putting login_required on user_page breaks federation.
The inbox can't verify the signature because it can't fetch the
profile.
2020-03-09 21:27:45 +00:00
Adam Kelly
e1fa7a73cc Don't automatically accept follows if the user doesn't want to. 2020-03-09 21:16:46 +00:00
Adam Kelly
971186ef3a Add field manually_approves_followers to db. 2020-03-09 20:29:11 +00:00
Mouse Reeve
a0f1880f37
Merge pull request #76 from cthulahoops/user_profile_form
Fix user profile page & rebuilddb.
2020-03-08 13:55:04 -07:00
Adam Kelly
c038888f63 Change url for edit_profile_page.
Fixes inaccessible edit form. /user/edit/ resolved to a user called edit
first. Also prevents a user accessing another user's edit form.
2020-03-08 16:42:06 +00:00
Adam Kelly
8618f20893 Add default author aliases as empty list.
Fixes null constraint trying to rebuilddb.
2020-03-08 16:26:42 +00:00
Mouse Reeve
f714b961f2 Adds status page
Works on #18
2020-03-07 15:28:11 -08:00
Mouse Reeve
f4008eb8c8 Adds notifications
Fixes #70
2020-03-07 14:51:04 -08:00
Mouse Reeve
95c8dc1d67 Urlencode tag names as identifiers
Fixes #37
2020-03-07 13:29:57 -08:00
Mouse Reeve
c07aa387fa Don't show duplicate reviews on book page 2020-03-07 13:21:46 -08:00
Mouse Reeve
c72bd98957 Fixes book uid helper function 2020-03-07 13:17:48 -08:00
Mouse Reeve
73df951ac0
Update README.md 2020-03-07 12:41:22 -08:00
Mouse Reeve
143c496272
Merge pull request #74 from mouse-reeve/book-data-overhaul
Store book data
2020-03-07 12:30:05 -08:00
Mouse Reeve
6f765bd6f4 Adds generalized book data connectors 2020-03-07 12:22:28 -08:00
Mouse Reeve
d501e707ee Store book data 2020-03-06 22:58:51 -08:00
Mouse Reeve
e45b04f22e Adds published date separate from created date 2020-03-06 16:35:56 -08:00
Mouse Reeve
984c04a374
Merge pull request #65 from cthulahoops/following
Following
2020-03-06 16:15:42 -08:00
Mouse Reeve
0825f17a41
Merge pull request #66 from MaxDesiatov/patch-1
Fix typo in README.md
2020-02-26 13:28:46 -08:00
Max Desiatov
91c24b623d
Fix typo in README.md 2020-02-26 10:04:20 +00:00
Adam Kelly
0d922dfa86 Fix user profile error if not logged in. 2020-02-24 16:38:01 +00:00
Adam Kelly
c1cf211d00 Create initial example db from a separate python file. 2020-02-24 16:25:47 +00:00
Adam Kelly
592c2b7dfd Reverse user_subject & user_object.
In the relationships table:

user_subject should be the user doing the following.
user_object should be the user who is followed.

This fixes a bug where unfollowing a user deletes the relationship in
both directions.
2020-02-24 16:10:09 +00:00
Adam Kelly
d6e48f9a21 Displaying following as well as followers on user profile. 2020-02-24 15:23:14 +00:00
Adam Kelly
8cbca4229f Add following as a related_name for followers. 2020-02-24 15:10:03 +00:00
Mouse Reeve
fc1ed99efa Move your review into your column 2020-02-23 14:57:31 -08:00
Mouse Reeve
a46193a37b Differentiate friends/local/federated reviews 2020-02-23 14:26:03 -08:00
Mouse Reeve
20522cbd11 Minor formatting changes 2020-02-23 13:24:23 -08:00
Mouse Reeve
e398acf45f
Merge pull request #64 from cthulahoops/duplicate_following
Duplicate following
2020-02-23 12:11:22 -08:00
Adam Kelly
25e49d8ba2 Handle and ignore duplicate follower error. 2020-02-23 09:37:21 +00:00
Adam Kelly
e0266cb754 Add unique constraint to followers relationship. #47 2020-02-23 09:08:11 +00:00
Adam Kelly
38ec3c554b Capture parameter from username_regex. 2020-02-23 09:07:17 +00:00
Mouse Reeve
d2e51f05e8 Fixes bug in follow from user page 2020-02-22 14:27:31 -08:00
Mouse Reeve
76d2e20742 cleans up urls and views 2020-02-22 14:02:03 -08:00
Mouse Reeve
808ca0bd60 Follow button snippet 2020-02-22 12:57:13 -08:00
Mouse Reeve
5b13959850
Merge pull request #62 from cthulahoops/follow
Always pass follow/unfollow parameter using POST.
2020-02-22 12:42:22 -08:00
Adam Kelly
730c49a2b6 Always pass follow/unfollow parameter using POST.
Fixes buttons in followers list.
2020-02-22 18:00:43 +00:00
Mouse Reeve
c889fab6d1 Display correct username on shelf page 2020-02-21 16:40:49 -08:00
Mouse Reeve
78336531c9 Shelve books from anywhere you see a book 2020-02-21 16:26:52 -08:00
Mouse Reeve
6c629be667 Adds shelf page
Works on #25
2020-02-21 16:03:05 -08:00
Mouse Reeve
3eb91980e0 Cleans up feed page
Fixes #53
2020-02-21 15:39:59 -08:00