2021-03-08 11:49:10 -05:00
|
|
|
""" make sure all our nice views are available """
|
2021-09-28 14:23:47 -04:00
|
|
|
# site admin
|
2021-09-10 21:50:31 -04:00
|
|
|
from .admin.announcements import Announcements, Announcement, delete_announcement
|
2021-09-11 00:12:08 -04:00
|
|
|
from .admin.dashboard import Dashboard
|
2021-09-10 21:50:31 -04: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 15:59:16 -04:00
|
|
|
from .admin.ip_blocklist import IPBlocklist
|
2021-09-10 21:50:31 -04: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 14:27:16 -04:00
|
|
|
|
2021-09-28 14:23:47 -04:00
|
|
|
# user preferences
|
|
|
|
from .preferences.change_password import ChangePassword
|
|
|
|
from .preferences.edit_user import EditUser
|
|
|
|
from .preferences.delete_user import DeleteUser
|
2021-09-28 14:44:53 -04:00
|
|
|
from .preferences.block import Block, unblock
|
2021-09-28 14:27:16 -04:00
|
|
|
|
2021-09-29 16:39:12 -04: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-10-16 14:45:55 -04: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 16:08:33 -04:00
|
|
|
# shelves
|
|
|
|
from .shelf.shelf import Shelf
|
2021-10-20 16:15:43 -04:00
|
|
|
from .shelf.shelf_actions import create_shelf, delete_shelf
|
|
|
|
from .shelf.shelf_actions import shelve, unshelve
|
2021-10-20 16:08:33 -04:00
|
|
|
|
2021-11-12 18:43:15 -05:00
|
|
|
# csv import
|
2021-11-12 18:50:33 -05:00
|
|
|
from .imports.import_data import Import
|
2021-11-14 13:58:46 -05:00
|
|
|
from .imports.import_status import ImportStatus, retry_item
|
2021-11-12 19:23:56 -05:00
|
|
|
from .imports.troubleshoot import ImportTroubleshoot
|
2021-11-12 20:10:47 -05:00
|
|
|
from .imports.manually_review import (
|
|
|
|
ImportManualReview,
|
|
|
|
approve_import_item,
|
|
|
|
delete_import_item,
|
|
|
|
)
|
2021-11-12 18:43:15 -05:00
|
|
|
|
2021-09-28 14:23:47 -04:00
|
|
|
# misc views
|
2021-01-13 15:08:35 -05:00
|
|
|
from .author import Author, EditAuthor
|
2021-03-21 19:37:52 -04:00
|
|
|
from .directory import Directory
|
2021-08-07 14:15:02 -04:00
|
|
|
from .discover import Discover
|
2021-01-29 13:25:31 -05:00
|
|
|
from .feed import DirectMessage, Feed, Replies, Status
|
2021-01-13 16:05:16 -05:00
|
|
|
from .follow import follow, unfollow
|
2021-02-06 22:12:49 -05:00
|
|
|
from .follow import accept_follow_request, delete_follow_request
|
2021-03-31 17:53:00 -04:00
|
|
|
from .get_started import GetStartedBooks, GetStartedProfile, GetStartedUsers
|
2021-03-18 12:00:25 -04:00
|
|
|
from .goal import Goal, hide_goal
|
2021-10-04 06:31:28 -04:00
|
|
|
from .group import (
|
|
|
|
Group,
|
|
|
|
UserGroups,
|
|
|
|
FindUsers,
|
2021-10-16 02:35:36 -04:00
|
|
|
delete_group,
|
2021-10-04 06:31:28 -04:00
|
|
|
invite_member,
|
|
|
|
remove_member,
|
|
|
|
accept_membership,
|
|
|
|
reject_membership,
|
|
|
|
)
|
2021-02-15 19:26:48 -05:00
|
|
|
from .inbox import Inbox
|
2021-01-13 11:10:50 -05:00
|
|
|
from .interaction import Favorite, Unfavorite, Boost, Unboost
|
2021-03-13 13:58:54 -05:00
|
|
|
from .isbn import Isbn
|
2021-08-23 18:07:38 -04:00
|
|
|
from .list import Lists, SavedLists, List, Curate, UserLists
|
2021-12-04 10:07:38 -05:00
|
|
|
from .list import save_list, unsave_list, delete_list, unsafe_embed_list
|
2021-01-13 15:08:35 -05:00
|
|
|
from .notifications import Notifications
|
2021-01-13 16:36:01 -05:00
|
|
|
from .outbox import Outbox
|
2021-09-30 13:00:05 -04:00
|
|
|
from .reading import create_readthrough, delete_readthrough, delete_progressupdate
|
2021-06-09 13:36:52 -04:00
|
|
|
from .reading import ReadingStatus
|
2021-01-29 12:28:00 -05:00
|
|
|
from .rss_feed import RssFeed
|
2021-01-13 15:08:35 -05:00
|
|
|
from .search import Search
|
2021-10-14 19:30:27 -04:00
|
|
|
from .status import CreateStatus, EditStatus, DeleteStatus, update_progress
|
2021-09-30 13:00:05 -04:00
|
|
|
from .status import edit_readthrough
|
2021-03-23 15:52:38 -04:00
|
|
|
from .updates import get_notification_count, get_unread_status_count
|
2021-09-08 13:02:06 -04:00
|
|
|
from .user import User, Followers, Following, hide_suggestions
|
2021-03-29 17:36:24 -04:00
|
|
|
from .wellknown import *
|