Commit graph

5290 commits

Author SHA1 Message Date
Mouse Reeve
1cc0c14f86 Deleted date should be null-able
Fixes #240
2020-10-20 18:50:39 -07:00
Mouse Reeve
1de3f34224
Merge pull request #238 from mouse-reeve/incoming-update-user
Handle incoming update user activities
2020-10-19 08:05:44 -07:00
Mouse Reeve
8cf7e4405d minor style fixes 2020-10-16 19:13:18 -07:00
Mouse Reeve
d1d339225c Merge migrations 2020-10-16 17:11:17 -07:00
Mouse Reeve
1672c699e5
Merge pull request #239 from mouse-reeve/deletion
Deletion
2020-10-16 17:03:34 -07:00
Mouse Reeve
7f579ffefa Read incoming deletion activities 2020-10-16 17:00:10 -07:00
Mouse Reeve
c0f51fa6aa Handle incomign update user activities 2020-10-16 16:06:45 -07:00
Mouse Reeve
4f07a567bd Shelving tests 2020-10-16 15:07:41 -07:00
Mouse Reeve
75c695b3c6 Updates and tests outgoing reject 2020-10-16 14:28:25 -07:00
Mouse Reeve
a567bd4e61 Simplifies outgoing follow logic 2020-10-16 14:14:07 -07:00
Mouse Reeve
694de44f3f reorganize incoming/outgoing tests 2020-10-16 14:04:06 -07:00
Mouse Reeve
b32fce25d9 tweaks follow handling 2020-10-16 12:24:29 -07:00
Mouse Reeve
43c6b9880a
Merge pull request #236 from mouse-reeve/relationship-activitypub
Uses activitypub mixin in relationship models
2020-10-16 11:04:14 -07:00
Mouse Reeve
2a0af0138d Uses activitypub mixin in relationship models
plus tests
2020-10-16 10:37:33 -07:00
Mouse Reeve
7a153e185a User activitypub tests 2020-10-16 09:45:14 -07:00
Mouse Reeve
7a01d284c6 Incoming follow accept test 2020-10-16 09:23:14 -07:00
Mouse Reeve
2d2863d4a8 Adds more incoming follow test cases 2020-10-15 17:46:23 -07:00
Mouse Reeve
db18014325 Adds test for incoming follow request 2020-10-15 17:32:53 -07:00
Mouse Reeve
e8ef8f7101 Fixes data encoding for signing tests 2020-10-15 10:55:04 -07:00
Mouse Reeve
cedc79a962 Tweaks handle_follow behavior for unknown users 2020-10-14 17:29:43 -07:00
Mouse Reeve
2ce3cae193 Keep user page at local domain 2020-10-14 10:26:41 -07:00
Mouse Reeve
122418deb8 wrong variable in byte check 2020-10-14 10:24:05 -07:00
Mouse Reeve
cdf23fce31
Merge pull request #233 from mouse-reeve/search-results-page
Search results page
2020-10-14 10:06:36 -07:00
Mouse Reeve
7a9d6099fc Use triagram similarity for user search 2020-10-14 10:04:03 -07:00
Mouse Reeve
aa2e4da6f0 Search local users as well as webfinger 2020-10-14 09:54:07 -07:00
Mouse Reeve
fe03e95049 better bytes checking
but this still seems like the wrong thing
2020-10-14 09:26:46 -07:00
Mouse Reeve
b36b306934 differentiate local user search and webfinger lookup 2020-10-14 09:21:53 -07:00
Mouse Reeve
22410e3f47 Adds deleted database fields to Status 2020-10-14 09:20:36 -07:00
Mouse Reeve
4ba9b7a119 Revamps search page
still needs to expand user search to do database lookups
2020-10-14 09:19:23 -07:00
Mouse Reeve
d689b6e7c4 Adds Delete verb 2020-10-14 08:38:51 -07:00
Mouse Reeve
a6d436d05d Fixes avatar in top bar on user page 2020-10-13 16:20:04 -07:00
Mouse Reeve
10a0a6ac37 hide deleted statuses from threads 2020-10-08 12:40:47 -07:00
Mouse Reeve
0d614c7ebb Don't show deleted statuses 2020-10-08 12:38:06 -07:00
Mouse Reeve
48df06aea7 Filter out deleted statuses in feed 2020-10-08 12:35:27 -07:00
Mouse Reeve
704e1092c4 Delete statuses 2020-10-08 12:32:45 -07:00
Mouse Reeve
1705a550d4
Merge pull request #230 from mouse-reeve/bytes
Received bytes, expecting a string
2020-10-06 12:36:33 -07:00
Mouse Reeve
d424a38396
Merge pull request #229 from mouse-reeve/nonunique-email
Email should *not* be unique
2020-10-06 12:36:15 -07:00
Mouse Reeve
74a1bbf624
Merge pull request #228 from mouse-reeve/site-name
Uses fixed string as site name
2020-10-06 12:35:56 -07:00
Mouse Reeve
94fc365a52 Allow logo upload 2020-10-05 16:07:53 -07:00
Mouse Reeve
51e9977d55 Received bytes, expecting a string
This doesn't seem like a *good* solution, but I'm not sure why
sometimes this receives strings and sometimes bytes (maybe it's
based on how the data is served).
2020-10-05 15:23:39 -07:00
Mouse Reeve
d8800b09c4 use remote id for followers links
this should be stored in the db
2020-10-05 14:58:57 -07:00
Mouse Reeve
0a9809e6b3 Email should *not* be unique
turns out this is jank-city when you try to federate
2020-10-05 14:48:26 -07:00
Mouse Reeve
93738bb48c Uses fixed string as site name
The domain is *better* but it was causing the makemigrations to trigger
whenever the domain name in .env changes, which is a real hassle with
a free version of ngrok
2020-10-05 14:42:15 -07:00
Mouse Reeve
c77cb38c83 Icon url serialization needs schema 2020-10-05 14:34:16 -07:00
Mouse Reeve
9b45c2d4d1 favicon clear background tweaks
plus collectstatic with --no-input
2020-10-05 14:23:04 -07:00
Mouse Reeve
8d9474275e Adds back home/local/federated tabs
I don't think this is how I want the UI to work in the long run,
but for now it's better than not having it.
Fixes #210
2020-10-05 13:34:43 -07:00
Mouse Reeve
9c83d68a80 Adds favicon
Fixes #22
2020-10-05 10:00:30 -07:00
Mouse Reeve
19d000aec7 Show errors in edit user form and remove email
email was triggering the form to reject becuase of uniqueness
2020-10-04 16:00:50 -07:00
Mouse Reeve
33f486e7eb Shows errors for login/register forms 2020-10-04 15:10:34 -07:00
Mouse Reeve
e67feb9296 More room for the "about" section on login page 2020-10-04 14:32:15 -07:00
Mouse Reeve
827badac7c
Merge pull request #216 from mouse-reeve/change-password
Change password for logged in users
2020-10-02 15:50:48 -07:00
Mouse Reeve
01aa0a86d6
Merge pull request #217 from mouse-reeve/unique-emails
Make user email addresses unique
2020-10-02 15:50:31 -07:00
Mouse Reeve
f242ca0168
Merge pull request #219 from mouse-reeve/admin
Basic Django admin
2020-10-02 15:42:23 -07:00
Mouse Reeve
1f8ac546fa Adds site settings and users to django admin 2020-10-02 15:34:03 -07:00
Mouse Reeve
9627be3fa7 Basic null states (still needs expanding) 2020-10-02 15:06:42 -07:00
Mouse Reeve
c8348606da Fixes login flow 2020-10-02 15:01:22 -07:00
Mouse Reeve
8433d8bf41 Make user email addresses unique 2020-10-02 14:56:37 -07:00
Mouse Reeve
b331978964 email sender 2020-10-02 14:55:28 -07:00
Mouse Reeve
2b681286f4 Change password for logged in users 2020-10-02 14:42:42 -07:00
Mouse Reeve
9bc6d7d6b6
Merge pull request #214 from mouse-reeve/user-permissions
Adds user permissions and groups
2020-10-02 13:55:59 -07:00
Mouse Reeve
d4b18678bd Forgot password flow 2020-10-02 13:32:19 -07:00
Mouse Reeve
36f7ab36c9 Adds better logo 2020-10-01 13:53:52 -07:00
Mouse Reeve
7138cd4811
Merge pull request #213 from mouse-reeve/invite-only
Invite only
2020-10-01 13:46:54 -07:00
Mouse Reeve
c396489dff Adds permissions to templates 2020-10-01 13:09:37 -07:00
Mouse Reeve
9209039761 Permission decorators for views 2020-10-01 12:59:38 -07:00
Mouse Reeve
6b5246f06a
Merge pull request #209 from mouse-reeve/connector-errors
Raise errors when connectors fail
2020-10-01 08:29:39 -07:00
Mouse Reeve
2fd192d6cc Updates ui and redirects for invites 2020-09-30 20:47:26 -07:00
Mouse Reeve
9e2ab147fb Hide registration form when registration is closed 2020-09-30 20:31:44 -07:00
Mouse Reeve
94d5986ff2 More error handling in connector/books manager 2020-09-30 20:09:25 -07:00
Mouse Reeve
fe83f5d442 small style fixes and typo 2020-09-30 19:57:25 -07:00
Mouse Reeve
0b8f8e3659 Fixes celery media path 2020-09-30 19:43:42 -07:00
Mouse Reeve
4fda5c8e22
Merge pull request #206 from mouse-reeve/ui-overhaul
Ui overhaul
2020-09-30 17:15:22 -07:00
Mouse Reeve
58d617e438 Removed unused views code 2020-09-30 17:14:05 -07:00
Mouse Reeve
c3092c4979 Removes discover books page 2020-09-30 16:30:50 -07:00
Mouse Reeve
6e1c116329 Author page 2020-09-30 16:20:50 -07:00
Mouse Reeve
7582540fe9 Remove test print statement 2020-09-30 16:02:27 -07:00
Mouse Reeve
0ab07c41ef Separate ratings out from reviews on book page 2020-09-30 16:00:41 -07:00
Mouse Reeve
5c7f44dc2d Fixes bug in create status forms 2020-09-30 15:24:44 -07:00
Mouse Reeve
f22d773cc4 Removes unused view logic for books page 2020-09-30 15:18:44 -07:00
Mouse Reeve
982f734ce7 Use bulma screen-reader-only class 2020-09-30 15:10:37 -07:00
Mouse Reeve
ada6a79b1c Error and 404 pages 2020-09-30 15:04:57 -07:00
Mouse Reeve
9994bdc81e select suggested books for statuses 2020-09-30 15:00:46 -07:00
Mouse Reeve
f196787c16 More books in suggestions
and show the shelve button
2020-09-30 12:19:23 -07:00
Mouse Reeve
f6d754f0c4 styles for import status page 2020-09-30 12:11:53 -07:00
Mouse Reeve
92ef3a574c Fix notification count styling 2020-09-30 12:02:00 -07:00
Mouse Reeve
ada09639b7 Remove unnecessary icon-related css 2020-09-30 12:01:17 -07:00
Mouse Reeve
7612bcf096 Use "tag" for notifications 2020-09-30 11:56:02 -07:00
Mouse Reeve
49807d069f format multiple book references in a status 2020-09-30 11:49:41 -07:00
Mouse Reeve
3e65d53305 Remove unused templatetags 2020-09-30 11:47:52 -07:00
Mouse Reeve
2b710c44e4 Handle user search 404s 2020-09-30 11:33:15 -07:00
Mouse Reeve
8dba4ccf47 Error hanlding for user search 2020-09-30 11:23:23 -07:00
Mouse Reeve
f72d59955e Raise errors when connectors fail 2020-09-30 10:37:29 -07:00
Mouse Reeve
9efe1a3990 Small ui fixes 2020-09-30 09:00:33 -07:00
Mouse Reeve
e7368b8228
Merge pull request #203 from mouse-reeve/emailing
Adds email config
2020-09-29 22:03:01 -07:00
Mouse Reeve
1d5d7f8965 Invites page 2020-09-29 21:45:59 -07:00
Mouse Reeve
8260dcf804 Fixes broadcasting 2020-09-29 21:08:04 -07:00
Mouse Reeve
56ebd6e7c0 Fixes bug in setting author text on books 2020-09-29 20:54:49 -07:00
Mouse Reeve
acba5cfc75 Creates snippet for book cover tiles layout 2020-09-29 20:44:33 -07:00
Mouse Reeve
2d89d4abf8 Book editing 2020-09-29 20:36:43 -07:00
Mouse Reeve
24d9839d07 Feed page cleanup 2020-09-29 20:01:57 -07:00
Mouse Reeve
c236be4303 Adds breadcrumbs to shelf page
weird that they aren't used anywhere else tho
2020-09-29 19:48:10 -07:00
Mouse Reeve
cc58d0321d Adds shelf preview to user page 2020-09-29 19:44:00 -07:00
Mouse Reeve
e1a6df54c1 Removes unused snippets 2020-09-29 19:19:37 -07:00
Mouse Reeve
7d0c437371 Disambiguate form ids 2020-09-29 19:14:22 -07:00
Mouse Reeve
67411824eb Page to feed for mobile 2020-09-29 17:51:57 -07:00
Mouse Reeve
50f2f4788e Adds review box to main page layout 2020-09-29 17:43:30 -07:00
Mouse Reeve
b762d2c226 Tweaks status page 2020-09-29 15:05:50 -07:00
Mouse Reeve
767190e012 Notifications 2020-09-29 14:45:04 -07:00
Mouse Reeve
0bea615b82 Tags and tables 2020-09-29 14:11:55 -07:00
Mouse Reeve
37a0ec0ba3 User profile page styles 2020-09-29 13:39:44 -07:00
Mouse Reeve
c6464633f7 Fixes user update broadcast 2020-09-29 13:23:49 -07:00
Mouse Reeve
69ef967050 Include custom serializers on all relationships 2020-09-29 13:19:57 -07:00
Mouse Reeve
c7520b5279 User profile page 2020-09-29 13:17:29 -07:00
Mouse Reeve
3dc43aa81c Book and editions page styles 2020-09-29 13:11:52 -07:00
Mouse Reeve
8b972a577e Fixes article serialization mappings in review 2020-09-29 12:00:10 -07:00
Mouse Reeve
7b32a122e4 Switches column attrs 2020-09-29 11:54:53 -07:00
Mouse Reeve
dbc6fb1d18 Status form in book page 2020-09-29 11:48:03 -07:00
Mouse Reeve
61fa15a0c2 Book page and review form 2020-09-29 11:00:54 -07:00
Mouse Reeve
32f305e285 Re-formats login and register pages 2020-09-29 10:21:10 -07:00
Mouse Reeve
24c28876af Cleans up status display 2020-09-28 21:08:42 -07:00
Mouse Reeve
3486219dce Uses minified bulma library 2020-09-28 18:30:12 -07:00
Mouse Reeve
3eeeb78bd7 Fixes UI for statuses 2020-09-28 18:25:58 -07:00
Mouse Reeve
8dbfa506b8 Cleans up status and shelve button 2020-09-28 18:25:58 -07:00
Mouse Reeve
a4d1985f86 Fixes star rating displays 2020-09-28 18:25:58 -07:00
Mouse Reeve
49e94f8e8e Switches to Bulma for layout 2020-09-28 18:25:58 -07:00
Mouse Reeve
a2b3a79181 Adds missing migrations 2020-09-28 18:25:35 -07:00
Mouse Reeve
ac9c071388 More consistent naming for generated note activity 2020-09-28 17:27:37 -07:00
Mouse Reeve
39931e2e69 Adds status type for app-generated statuses 2020-09-28 17:26:15 -07:00
Mouse Reeve
10d18cc633 Fixes bug in outgoing shelve serialization 2020-09-28 14:52:25 -07:00
Mouse Reeve
74de2b5cd3 Adds email config 2020-09-23 15:44:47 -07:00
Mouse Reeve
71d5c790b8
Merge pull request #200 from mouse-reeve/books-managers-tests
Books managers tests
2020-09-23 07:38:06 -07:00
Mouse Reeve
80cb1c3de2 Adds more tests for books_manager
from 47% to 77%
2020-09-21 11:14:56 -07:00
Mouse Reeve
2d4dab00cc Uncomments admin app 2020-09-21 10:33:23 -07:00
Mouse Reeve
425da16fd6 Fixes linter issues 2020-09-21 10:25:26 -07:00
Mouse Reeve
585c66b64f Fixes capitalization syntax in new migration 2020-09-21 08:37:49 -07:00
Mouse Reeve
91d7f3ede8 Renames project in .wellknown info 2020-09-21 08:35:22 -07:00
Mouse Reeve
13a8bb45af Corrects references in tests 2020-09-21 08:22:58 -07:00
Mouse Reeve
3aa9c3accf Renames bookwyrm base model 2020-09-21 08:16:34 -07:00
Mouse Reeve
c7883cd615 Updates migrations
To get the app working again I ran resetdb, let it crash in initdb,
then ran the migration, then re-ran initdb
2020-09-21 08:10:37 -07:00
Mouse Reeve
f77c156733 rename main code directory 2020-09-17 13:30:54 -07:00