Hugh Rundle
d5762f1d52
Merge branch 'main' into user-migration
2023-11-13 21:17:07 +11:00
Adeodato Simó
99a9dbe5f4
Create NotificationType as class, not through API
...
This way, we need not list every value again to create the enum.
N.B.: enum values are now accessed as `models.NotificationType.FOO`,
instead of `models.Notification.FOO`.
2023-11-09 22:43:36 -03:00
Mouse Reeve
9e9e9a9f85
Uses explicit imports to avoid circular import in migrations code
2023-11-05 07:04:05 -08:00
Mouse Reeve
67822d3cb0
Merge branch 'main' into user-migration
2023-11-05 06:52:48 -08:00
Hugh Rundle
6f3b1b565f
fixes to move layout and notifs
...
- make Move notifications less complicated
- moved users cannot do anything other than unmove or log out
- refactor translations for moved users
2023-10-27 22:00:04 +11:00
Hugh Rundle
5b051631ec
Move MVP
...
* update User model to allow for moved_to and also_known_as values
* allow users to add aliases (also_known_as) in UI
* allow users to move account to another one (moved_to)
* redirect webfinger to the new account after a move
* present notification to followers inviting to follow at new account
Note: unlike Mastodon we're not running any unfollow/autofollow action here: users can decide for themselves
This makes undoing moves easier.
TODO
There is still a bug with incoming Moves, at least from Mastodon.
This seems to be something to do with Update activities (rather than Move, strictly).
2023-09-18 21:21:04 +10:00
CSDUMMI
688978369f
Implement self-contained archives to import and export entire users between instances ( #38 )
...
Co-authored-by: Daniel Burgess <developerdannymate@gmail.com>
Co-authored-by: Hugh Rundle <hugh@hughrundle.net>
Co-authored-by: dannymate <dannymate@noreply.codeberg.org>
Co-authored-by: hughrun <hughrun@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/GuildAlpha/bookwyrm/pulls/38
Co-authored-by: CSDUMMI <csdummi.misquality@simplelogin.co>
Co-committed-by: CSDUMMI <csdummi.misquality@simplelogin.co>
2023-09-07 22:37:28 +02:00
Mouse Reeve
b3a519c082
Converts report "comments" into broader "actions" table
...
This table will now track all actions taken on a report, like resolving
it, re-opening it, suspending the reported user, et cetera, in addition
to comments. When there are multiple admins, this change will make it
easier to understand what actions have been taken by whom on a report.
2023-05-16 11:00:33 -07:00
Christof Dorner
c68304a99b
Parse hashtags and store them in CreateStatus view
2023-03-07 12:55:36 +01:00
Mouse Reeve
2298a478cf
Moves annual goal to its own file
...
The user model file is just,, very long
2022-07-29 13:00:59 -07:00
Mouse Reeve
43269429ac
Use selected theme
2022-02-26 13:40:06 -08:00
Mouse Reeve
e837da37db
Adds task
2022-02-24 12:15:08 -08:00
Mouse Reeve
12f67dc0ce
Adds automod view
2022-02-24 11:18:43 -08:00
Mouse Reeve
63075a6fe9
Updates models
2022-01-09 14:21:13 -08:00
Mouse Reeve
a4859668b8
Merge branch 'main' into book-file-links
2021-12-15 10:05:29 -08:00
Mouse Reeve
cef46a1827
Adds migration
2021-10-07 17:30:42 -07:00
Hugh Rundle
52a083a907
revert name change for Group, GroupMember
...
these were named as BookwyrmGroup and BookwyrmGroupMember due to a misunderstanding about related_name and a dodgy development environment. This naming makes more sense.
2021-10-02 16:52:34 +10:00
Hugh Rundle
2f42161dda
disambiguate groups and prep for group invitations
...
- rename Group to BookwyrmGroup
- create group memberships and invitations
- adjust all model name references accordingly
2021-10-02 10:10:37 +10:00
Hugh Rundle
686198472d
update group and list models
...
- remove GroupList model
- add a group foreign key value to List model
- remove reference to lists in Group model
2021-09-26 15:50:15 +10:00
Hugh Rundle
b74cd37096
add models for groups
2021-09-24 07:49:54 +10:00
Mouse Reeve
a4ac25bfae
Move notifications to signals
2021-09-22 09:24:39 -07:00
Mouse Reeve
2a2dddf5f4
Adds IP blocklist model
2021-09-17 11:58:59 -07:00
Mouse Reeve
c705178c3b
Adds create block form
2021-09-08 15:08:22 -07:00
Mouse Reeve
d1f2d9812f
Adds model for instance admin announcements
2021-05-19 14:00:46 -07:00
Mouse Reeve
fdf5113143
Removes tag code
2021-04-08 16:02:02 -07:00
Mouse Reeve
4d07cb1eb5
Adds invite request model
2021-03-20 18:27:30 -07:00
Mouse Reeve
e59c127686
Adds models for reporting
2021-03-08 17:16:59 -08:00
Mouse Reeve
ad43e5c83a
Merge branch 'main' into review-rate
2021-03-08 09:48:25 -08:00
Mouse Reeve
70296e760b
Runs black
2021-03-08 08:49:10 -08:00
Mouse Reeve
06feef44ad
Merge branch 'main' into review-rate
2021-02-12 18:33:05 -08:00
Mouse Reeve
fe088f21fb
Model and migration for lists
2021-01-30 21:00:36 -08:00
Joel Bradshaw
a4519d55c9
Merge branch 'main' into progress_update
2021-01-17 13:05:38 -08:00
Mouse Reeve
b648012af5
Adds form and models for reading goal
2021-01-16 08:18:54 -08:00
Joel Bradshaw
48147883ce
Merge branch 'main' into progress_update
2021-01-13 19:53:26 -08:00
Mouse Reeve
385ec4d70a
Adds ReviewRating model
...
I can't just calling Rating because that would clash with the rating
field
2021-01-01 11:51:52 -08:00
Mouse Reeve
521934b4f3
Moves models that don't inherit Status to their own files
2021-01-01 10:46:15 -08:00
Mouse Reeve
c1243b5c21
Makes outbox filter-able
2020-12-30 13:14:16 -08:00
Mouse Reeve
e7e90360b3
Adds model import
2020-12-22 10:28:04 -08:00
Mouse Reeve
957f0889aa
Clean up models
...
removes unused function and sorts replies correctly
2020-12-13 11:15:42 -08:00
Mouse Reeve
a85043b351
Updates to_model to use fields
2020-12-03 12:35:57 -08:00
Mouse Reeve
8bc0a57bd4
Remove outdated user fields
2020-11-30 11:40:04 -08:00
Joel Bradshaw
7fadbeeb55
Merge branch 'main' into progress_update
2020-11-28 11:06:01 -08:00
Mouse Reeve
fd7e476c9b
refactors tag model to fit ordered collection structure
2020-11-28 11:04:54 -08:00
Mouse Reeve
624ff71a11
Makes attachment Images a serializable class
2020-11-27 17:20:01 -08:00
Joel Bradshaw
85026b837c
Merge branch 'main' into progress_update
2020-11-27 15:52:55 -08:00
Mouse Reeve
7b6035898b
Serialize activitypub authors from data in connector
2020-11-27 14:54:08 -08:00
Mouse Reeve
ad7ce6595b
Receive and save incoming images
2020-11-24 11:25:07 -08:00
Joel Bradshaw
13229ea937
Add progress updates as their own table
2020-11-16 23:29:32 -08:00
Mouse Reeve
722f44ac9f
actual fix for status deserialization
2020-11-04 14:19:06 -08:00
Mouse Reeve
4bde389d6b
Fixes matching activities to models
2020-11-04 14:13:34 -08:00