Skip to content
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
wants to merge 68 commits into from
Closed

V0.49 devel #93

wants to merge 68 commits into from

Conversation

duckhawk
Copy link

No description provided.

shizzz and others added 30 commits March 24, 2017 04:36
Добавил возможность чтения книг в веб. Пока это является простым
преобразованием FB2, отображается сразу вся страница и книга не
сохраняется в кеш.
Пока не понятно, нужно это делать, или нет... В любом случае загрузку
книг нужно перекладывать на 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
# Conflicts:
#	opds_catalog/management/commands/sopds_telebot.py
@duckhawk duckhawk closed this Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants