-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V0.49 devel #93
Closed
Closed
V0.49 devel #93
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Пока не понятно, нужно это делать, или нет... В любом случае загрузку книг нужно перекладывать на JS, чтобы можно было разбивать книгу на страницы и запоминать место чтения.
Добавил гифку, которая крутится в момента загрузки книги. Книга после загрузки сжимается и сохраняется в localStorage. Если место заканчивается, из хранилища удаляется книга загруженная раньше всех. Сохраняется место чтения в БД. Для этого была добавлена колока. Соответственно для обновления нужно приминять миграции. Немного исправил шаблон для FB2 файла.
Немного поправил запоминание места чтения. Теперь запоминается ID строки после скролла, а при открытии книги выполняется ее поиск.
[*] Fix the "RegexHandler is deprecated. See https://git.io/fxJuV for more info" in Telebot. [*] Change order of handlers to cats the regexp (download command) before the common text (book search) in Telebot. modified: management/commands/sopds_telebot.py
[*] Fix extension of downloaded files in mobi and epub format: will be some_name.epub instead some_name.fb2.epub, and some_name.mobi instead some_name.fb2.mobi. modified: opds_catalog/management/commands/sopds_telebot.py
…e in book list, due to duplicates consolidation
…if configured. It will authomatically put downloaded books on bookshelfs for authenticated users
Added fixes by PeterVoronov
# Conflicts: # opds_catalog/management/commands/sopds_telebot.py
settings gets values from environment if exists (need for docker)
V0.43 devel reader
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.