2021-03-08 16:49:10 +00:00
|
|
|
""" make sure all our nice views are available """
|
2021-09-28 18:23:47 +00:00
|
|
|
# site admin
|
2021-09-11 01:50:31 +00:00
|
|
|
from .admin.announcements import Announcements, Announcement, delete_announcement
|
2021-09-11 04:12:08 +00:00
|
|
|
from .admin.dashboard import Dashboard
|
2021-09-11 01:50:31 +00:00
|
|
|
from .admin.federation import Federation, FederatedServer
|
|
|
|
from .admin.federation import AddFederatedServer, ImportServerBlocklist
|
|
|
|
from .admin.federation import block_server, unblock_server
|
|
|
|
from .admin.email_blocklist import EmailBlocklist
|
2021-09-17 19:59:16 +00:00
|
|
|
from .admin.ip_blocklist import IPBlocklist
|
2021-09-11 01:50:31 +00:00
|
|
|
from .admin.invite import ManageInvites, Invite, InviteRequest
|
|
|
|
from .admin.invite import ManageInviteRequests, ignore_invite_request
|
|
|
|
from .admin.reports import (
|
|
|
|
Report,
|
|
|
|
Reports,
|
|
|
|
make_report,
|
|
|
|
resolve_report,
|
|
|
|
suspend_user,
|
|
|
|
unsuspend_user,
|
|
|
|
moderator_delete_user,
|
|
|
|
)
|
|
|
|
from .admin.site import Site
|
|
|
|
from .admin.user_admin import UserAdmin, UserAdminList
|
2021-09-28 18:27:16 +00:00
|
|
|
|
2021-09-28 18:23:47 +00:00
|
|
|
# user preferences
|
|
|
|
from .preferences.change_password import ChangePassword
|
|
|
|
from .preferences.edit_user import EditUser
|
|
|
|
from .preferences.delete_user import DeleteUser
|
2021-09-28 18:44:53 +00:00
|
|
|
from .preferences.block import Block, unblock
|
2021-09-28 18:27:16 +00:00
|
|
|
|
2021-09-29 20:39:12 +00:00
|
|
|
# books
|
|
|
|
from .books.books import Book, upload_cover, add_description, resolve_book
|
2021-12-05 21:02:42 +00:00
|
|
|
from .books.books import update_book_from_remote
|
2021-09-29 20:39:12 +00:00
|
|
|
from .books.edit_book import EditBook, ConfirmEditBook
|
|
|
|
from .books.editions import Editions, switch_edition
|
|
|
|
|
2021-10-16 18:45:55 +00:00
|
|
|
# landing
|
|
|
|
from .landing.landing import About, Home, Landing
|
|
|
|
from .landing.login import Login, Logout
|
|
|
|
from .landing.register import Register, ConfirmEmail, ConfirmEmailCode, resend_link
|
|
|
|
from .landing.password import PasswordResetRequest, PasswordReset
|
|
|
|
|
2021-10-20 20:08:33 +00:00
|
|
|
# shelves
|
|
|
|
from .shelf.shelf import Shelf
|
2021-10-20 20:15:43 +00:00
|
|
|
from .shelf.shelf_actions import create_shelf, delete_shelf
|
|
|
|
from .shelf.shelf_actions import shelve, unshelve
|
2021-10-20 20:08:33 +00:00
|
|
|
|
2021-11-12 23:43:15 +00:00
|
|
|
# csv import
|
2021-11-12 23:50:33 +00:00
|
|
|
from .imports.import_data import Import
|
2021-11-14 18:58:46 +00:00
|
|
|
from .imports.import_status import ImportStatus, retry_item
|
2021-11-13 00:23:56 +00:00
|
|
|
from .imports.troubleshoot import ImportTroubleshoot
|
2021-11-13 01:10:47 +00:00
|
|
|
from .imports.manually_review import (
|
|
|
|
ImportManualReview,
|
|
|
|
approve_import_item,
|
|
|
|
delete_import_item,
|
|
|
|
)
|
2021-11-12 23:43:15 +00:00
|
|
|
|
2021-09-28 18:23:47 +00:00
|
|
|
# misc views
|
2021-12-05 21:24:40 +00:00
|
|
|
from .author import Author, EditAuthor, update_author_from_remote
|
2021-03-21 23:37:52 +00:00
|
|
|
from .directory import Directory
|
2021-08-07 18:15:02 +00:00
|
|
|
from .discover import Discover
|
2021-01-29 18:25:31 +00:00
|
|
|
from .feed import DirectMessage, Feed, Replies, Status
|
2021-11-28 10:38:28 +00:00
|
|
|
from .follow import (
|
|
|
|
follow,
|
|
|
|
unfollow,
|
|
|
|
ostatus_follow_request,
|
|
|
|
ostatus_follow_success,
|
|
|
|
remote_follow,
|
|
|
|
remote_follow_page,
|
|
|
|
)
|
2021-02-07 03:12:49 +00:00
|
|
|
from .follow import accept_follow_request, delete_follow_request
|
2021-03-31 21:53:00 +00:00
|
|
|
from .get_started import GetStartedBooks, GetStartedProfile, GetStartedUsers
|
2021-03-18 16:00:25 +00:00
|
|
|
from .goal import Goal, hide_goal
|
2021-10-04 10:31:28 +00:00
|
|
|
from .group import (
|
|
|
|
Group,
|
|
|
|
UserGroups,
|
|
|
|
FindUsers,
|
2021-10-16 06:35:36 +00:00
|
|
|
delete_group,
|
2021-10-04 10:31:28 +00:00
|
|
|
invite_member,
|
|
|
|
remove_member,
|
|
|
|
accept_membership,
|
|
|
|
reject_membership,
|
|
|
|
)
|
2021-02-16 00:26:48 +00:00
|
|
|
from .inbox import Inbox
|
2021-01-13 16:10:50 +00:00
|
|
|
from .interaction import Favorite, Unfavorite, Boost, Unboost
|
2021-03-13 18:58:54 +00:00
|
|
|
from .isbn import Isbn
|
2021-08-23 22:07:38 +00:00
|
|
|
from .list import Lists, SavedLists, List, Curate, UserLists
|
2021-12-04 15:07:38 +00:00
|
|
|
from .list import save_list, unsave_list, delete_list, unsafe_embed_list
|
2021-01-13 20:08:35 +00:00
|
|
|
from .notifications import Notifications
|
2021-01-13 21:36:01 +00:00
|
|
|
from .outbox import Outbox
|
2021-09-30 17:00:05 +00:00
|
|
|
from .reading import create_readthrough, delete_readthrough, delete_progressupdate
|
2021-06-09 17:36:52 +00:00
|
|
|
from .reading import ReadingStatus
|
2021-01-29 17:28:00 +00:00
|
|
|
from .rss_feed import RssFeed
|
2021-01-13 20:08:35 +00:00
|
|
|
from .search import Search
|
2021-10-14 23:30:27 +00:00
|
|
|
from .status import CreateStatus, EditStatus, DeleteStatus, update_progress
|
2021-09-30 17:00:05 +00:00
|
|
|
from .status import edit_readthrough
|
2021-03-23 19:52:38 +00:00
|
|
|
from .updates import get_notification_count, get_unread_status_count
|
2021-09-08 17:02:06 +00:00
|
|
|
from .user import User, Followers, Following, hide_suggestions
|
2021-03-29 21:36:24 +00:00
|
|
|
from .wellknown import *
|
2021-12-20 22:37:45 +00:00
|
|
|
from .annual_summary import AnnualSummary
|