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
|
|
|
|
from .books.edit_book import EditBook, ConfirmEditBook
|
|
|
|
from .books.editions import Editions, switch_edition
|
|
|
|
|
2021-09-28 18:23:47 +00:00
|
|
|
# misc views
|
2021-01-13 20:08:35 +00:00
|
|
|
from .author import Author, EditAuthor
|
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-01-13 21:05:16 +00:00
|
|
|
from .follow import follow, unfollow
|
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-01-12 19:28:03 +00:00
|
|
|
from .import_data import Import, ImportStatus
|
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-07 18:15:02 +00:00
|
|
|
from .landing import About, Home, Landing
|
2021-08-23 22:07:38 +00:00
|
|
|
from .list import Lists, SavedLists, List, Curate, UserLists
|
2021-09-11 01:50:31 +00:00
|
|
|
from .list import save_list, unsave_list, delete_list
|
2021-09-07 20:11:44 +00:00
|
|
|
from .login import Login, Logout
|
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-09-07 20:11:44 +00:00
|
|
|
from .register import Register, ConfirmEmail, ConfirmEmailCode, resend_link
|
2021-01-29 17:28:00 +00:00
|
|
|
from .rss_feed import RssFeed
|
2021-09-28 18:23:47 +00:00
|
|
|
from .password import PasswordResetRequest, PasswordReset
|
2021-01-13 20:08:35 +00:00
|
|
|
from .search import Search
|
2021-01-13 19:45:08 +00:00
|
|
|
from .shelf import Shelf
|
2021-03-31 17:23:20 +00:00
|
|
|
from .shelf import create_shelf, delete_shelf
|
2021-01-13 19:45:08 +00:00
|
|
|
from .shelf import shelve, unshelve
|
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 *
|