Commit Graph

686 Commits (bc89b0658add7886d445931b133f9a25959ce8d3)

Author SHA1 Message Date
Ozzieisaacs 7086c8d1bf Merge remote-tracking branch 'language_edit/master' 6 years ago
Ozzieisaacs 013f7bf53e Merge remote-tracking branch 'lang/patch-1' 6 years ago
Adrian Petrescu 5341910ea5
Deal gracefully with invalid Accept-Languages header
At the moment, calibre-web will raise an internal 500 error if an
invalid locale identifier is passed in through the `Accept-Language`
HTTP header (for a non-logged-in user).

This breaks some crappily-built OPDS feed readers, and there's no reason
to error out so severely. This commit just gracefully falls back to `en`
if it can't parse the locale identifier.

Fixes #743 among others.
6 years ago
Ozzieisaacs 9cfe1dce20 Fix #739 6 years ago
Ozzieisaacs d0fd1a4601 Merged new caliblur theme
Fix for new users created
Fix for options to the calibre-converter
Only the first 300 chars are logged for the emailbody (spamming of logfile is prevented)
Added class to "Random" header
6 years ago
grunjol 462cf20a34 Process all custom columns on editing 6 years ago
grunjol 00ba231fbf fix adding an existing language to a book 6 years ago
Ozzieisaacs 81e3afbcc4 Fix #714 (advanced search for ratings) 6 years ago
Ozzieisaacs 7526b0dcb4 Fix #623, #715 6 years ago
Ozzieisaacs 863b77a5d7 Fix #711
Fixing for send to kindle after uploading
codecleaning
6 years ago
Ozzieisaacs b78130e3b1 Merge remote-tracking branch '681/681-fix' 6 years ago
haseo e1b6fa25e9 A better solution to #681 6 years ago
Ozzieisaacs dfa17956c9 Merge remote-tracking branch 'bbb/295---Send-AZW-to-Kindle'
Changed function for 295, azw3 is preferred format for sending to kindle
6 years ago
Ozzieisaacs 2422f782de Fix #701 6 years ago
Ozzieisaacs 07d7be176c Merge remote-tracking branch 'lang/master' 6 years ago
dalin 947622800c Update Simplified Chinese translation. Fix #681 in the case of Simplified Chinese. 6 years ago
Ozzieisaacs 399dffba5a log file name in case of filename not found (#691) 6 years ago
Ozzieisaacs 89bddead35 Merge remote-tracking branch 'http_error/beautify-http-errors' 6 years ago
Ozzieisaacs c3bec48bc7 Fix #617
Additional texts translated
6 years ago
Ozzieisaacs c582a70498 Merge remote-tracking branch 'bbb/617' 6 years ago
Ozzieisaacs 0df35dcfea Update Updater 6 years ago
Ozzieisaacs cc7dcfb35a Update Updater
Bugfix author in opds-feed
6 years ago
Ozzieisaacs ee85492c7d Fix #662 6 years ago
Ozzieisaacs 3f83be00fd Fix #687 6 years ago
Ozzieisaacs 6ec9bc9e5c Bugfix Publisher (upper/lower case, remove publisher, publisher visibility on new users)
404 messages on non existing categorys, languages, series
Updated Testresult
6 years ago
Jim Ma 4b76b8400d Add OAuth link&unlink in user profile 6 years ago
Jim Ma 1abbcfa3c6 Add OAuth support: GitHub & Google 6 years ago
otapi c6d3613e57
Add UI link button to shelves 6 years ago
otapi e0229c917c
Download only shelf
Show only titles and download button for specific shelf. Currently only direct link works, e.g: calibre-web/shelfdown/6
6 years ago
bodybybuddha ee686b5379 Fix for #617
Task table: Status column and task messages have been localized
	Cleaned up the use of the task fields 'typ' and 'type' to be taskType and taskMessage
6 years ago
Ozzie Isaacs 7253f583cf Fix #650
Improved testablility
Added feedback for book_edit -> stay on edit page
6 years ago
bodybybuddha 54f8680058 Merge branch 'master' of https://github.com/janeczku/calibre-web into 617 6 years ago
OzzieIsaacs 40cc25de7a Merge remote-tracking branch 'bbb/621'
Fixes after testing
6 years ago
bodybybuddha 5d34fd7fec Send to Kindle button precheck added
Based on existing book formats and which converter (if any) determine if button can be seen.
6 years ago
Virgil Grigoras a798dc94a9 Satisfy "Codacy/PR Quality Review" 6 years ago
Virgil Grigoras 60e9d01d27 Beautify http errors 6 years ago
Virgil Grigoras 1ac9b3d837 Update OPDS-part to display publishers 6 years ago
Virgil Grigoras 5129bc3601 Add entry for publishers to the left menu (+ setting for showing / hiding) + separate publisher page 6 years ago
bodybybuddha 1b363ac720 Merged master into 617 - fixed import copy conflict 6 years ago
Virgil Grigoras 016c7b4b1c Add ability to store and edit publishers 6 years ago
OzzieIsaacs 5a2ed58d06 Improved message for non configured ebook converter
Gdrive cleared interface (drive variable)
refactored web -> reverseproxy outsourced, edit_books split, removed unused md5 function
rearanged imports
added Wand and pytz Version info to stats Page
6 years ago
OzzieIsaacs ffe3dd3de3 Show version of Werkzeug and Jinja2 in stats page 6 years ago
bodybybuddha a7386ecb8b Merge branch 'master' of https://github.com/janeczku/calibre-web into 621 6 years ago
bodybybuddha 9b1954f2f0 Merge branch 'master' of https://github.com/janeczku/calibre-web into 617 6 years ago
Ozzie Isaacs cd0fc917d7 Bugfix template rights at creating user
Added errormessages for shelf actions
Additional ids for better testability
6 years ago
bodybybuddha 29efcf8358 Merge branch 'master' of https://github.com/janeczku/calibre-web into 617 6 years ago
bodybybuddha d2e74a27cd Merge branch 'master' of https://github.com/janeczku/calibre-web into 621 6 years ago
OzzieIsaacs ba7c734657 Fixes from testing:
Certificate files are rejected if not both files are provided
Server shuts down controlled after pressing crtl+c
Logfile location is better checked
improvements for better testing (added ids and name in templates)
6 years ago
OzzieIsaacs aa5127cd16 Merge remote-tracking branch 'lxml/master' 6 years ago
OzzieIsaacs b841baf714 Comment for adding publishers 6 years ago
Fatih Ka 76e3be58e6
Delete book fixed
There was an incorrect parameter.
6 years ago
bodybybuddha b4122e9858 Partial fix to #617. Local status messages now work. 6 years ago
trasba 3fa41d0e4a
added formats for upload and conversion
added formats for upload and conversion (html, rtf, odt)
6 years ago
bodybybuddha be0ddf25e4 Fix for #621 - Login page always in english 6 years ago
OzzieIsaacs 4eeeb02b1d Merge remote-tracking branch 'update_check/master' 6 years ago
OzzieIsaacs 968cddf2b0 Fix for #620 6 years ago
Virgil Grigoras e08eccba5a Satisfy "Codacy/PR Quality Review" 6 years ago
Virgil Grigoras 50ded1afc1 typo fix 6 years ago
Virgil Grigoras b2b092c190 Bugfix for not displaying information when there is no update available + simplification 6 years ago
Virgil Grigoras f7872aded0 Own function for getting the current commit hash and datetime 6 years ago
Virgil Grigoras cb5adb3a31 Display "what's new" information for newer versions than the current one 6 years ago
OzzieIsaacs 01fb8ee681 Fix #609
Removed formats which are not possible to convert from list of convertable books
Update language files to be po-edit compatible
6 years ago
Virgil Grigoras 6e2dbb7cd6 move current commit hash to its own file 6 years ago
Virgil Grigoras f477d48c7c More robust handling while checking for new updates 6 years ago
OzzieIsaacs bb7d2c6273 Update Language translation table (now including the locale language)
Fix #602
Fix for #593
6 years ago
OzzieIsaacs 79ee07ea54 Fix for python3 and pickle 6 years ago
OzzieIsaacs ce6cde545b Update french language 6 years ago
OzzieIsaacs 919de60e8d Final fix #615 6 years ago
OzzieIsaacs a5d15a19de Update Translation "->' 6 years ago
Ozzie Isaacs 2de41a5c86 improvement for #615 6 years ago
OzzieIsaacs 9d0f583d4f Updated french and chinese language. Thanks to @idalin and Olivier
Fixed bug some translations are not shown
6 years ago
OzzieIsaacs 0091006aad Fix #611
Fix for #615
6 years ago
OzzieIsaacs 0bcb20f674 Fix #604
Added missing translation for "select option"
6 years ago
OzzieIsaacs 0e1711631c Fix for #600
publisher-info  is shown on edit page (#599)
6 years ago
OzzieIsaacs 66824ff4e4 Fix #576 6 years ago
OzzieIsaacs 06ffa5e66d Fix displaying random books with no author entry
Code cosmentics for opds feed
Narrowed exceptions on language not found
Fix password changing
6 years ago
OzzieIsaacs 4a95404e17 Merge remote-tracking branch 'Convert_all/ebookconvert-any'
# Conflicts:
#	cps/web.py
6 years ago
OzzieIsaacs 3f35200a0b Merge remote-tracking branch 'Comic/comic_server'
# Conflicts:
#	cps/helper.py
#	cps/static/js/archive.js
#	cps/static/js/io.js
#	cps/static/js/kthoom.js
#	cps/static/js/unrar.js
#	cps/static/js/untar.js
#	cps/static/js/unzip.js
#	cps/templates/config_edit.html
#	cps/templates/detail.html
#	cps/templates/readcbr.html
#	cps/templates/stats.html
#	cps/ub.py
#	cps/web.py
#	optional-requirements.txt
6 years ago
OzzieIsaacs 9c889d1681 Fix #597
Updated language files
6 years ago
bodybybuddha 22ecdfd2bc Refactor edit_books.js for unused code; re-add glyphicon to convert button; Add form validation for convert button 6 years ago
bodybybuddha 4b006fba99 Re-commit: #584 & #587 Convert any book format to another format 6 years ago
bodybybuddha fc78d1ee07 Added exception catching for file format check 6 years ago
bodybybuddha 4f386c8a00 Updated GUI buttons for ebook-convert feature 6 years ago
bodybybuddha 3ec000ad85 Merge branch 'master' of https://github.com/janeczku/calibre-web into ebookconvert-any 6 years ago
OzzieIsaacs a7a91ae54c Added posibility to upload cover from local drive (#439)
Updated language files
6 years ago
OzzieIsaacs 3a37183e25 Included khmer language
Further unified naming
6 years ago
OzzieIsaacs 2453786174 Limit registering domains 6 years ago
bodybybuddha e160efbdac Add GUI functions for ebookconvert any format feature 6 years ago
OzzieIsaacs cedc183987 Fix #590, #589.
Unified wording Calibre-Web
Replaced one table on admin page, deleted password column
Removed spaces on layout page
Removed uesless commit calls during db migration
Implementation of registering by email
6 years ago
OzzieIsaacs 5889535355 Bugfix gdrive download Books
Bugfix pagination
Fix Error messages massadd of books to shelf
6 years ago
OzzieIsaacs d414bf3263 Massadd of books to shelfs (#203, #404) from advanced search
Code cosmetics
bugfix error message on failed emails
refactored language name generation
6 years ago
Ozzie Isaacs 34abf95fb2 Fix for empty filename during edit 6 years ago
OzzieIsaacs d2ea10e90e Improved OPDS compability (#579)
Bootstrap-table loads locally and no longer from CDN
Localized commit date on admin page
6 years ago
OzzieIsaacs 9ace4d3372 Updated german translation
Bugfix additional format upload without extension
Bugfix additional format upload to gdrive
pathes assembled by os.path.join
6 years ago
OzzieIsaacs cdb1b52652 Bugfix Get gdrive instances (#554, #525)
Metadata.db download works again
removed DEVELOPMENT constant
removed db logging in debug mode (too, noisy, to less information)
code refactoring url_for_other_page
feed languge set to en-EN
update status shos local time instead of UTC
Error handling (back to index page) in case of gdrive authenticate aborted
Mistyping page register fixed
Mistyping bokk fixed
Added uploaded books to tasklist (#442)
Error handling for failed file update added
Code refactoring worker thread
Tasks now never show any decimal values
Converter function unified
removed shell from subprocess call
preparation for limiting domain for registering emails
Book series can now increased in 0.1 steps (#562)
Accordion panels in config are now usable on touch devices like iPad (#545)
Gdrive authenticate button only visible after logged in (#525)
Fixed misstyping in german translation
6 years ago
OzzieIsaacs c38f331b6f Fix for #575
Fix no pydrive dependency installed
Fix sending email on python3
6 years ago
OzzieIsaacs 5ef70890d9 Search for custom columns implemented #494
Search for ratings related to #559
Search description #572
code cosmetics
6 years ago
OzzieIsaacs 791f4a8078 Fix #455 6 years ago
Ozzie Isaacs 7be328c535 Converting ebooks in background
additional sorting of tasklist according to date and runtime
codecosmetics
6 years ago
OzzieIsaacs 5ec9051f2e Add charset to opds feed for read books 6 years ago
Ozzie Isaacs 3db682cd15 Merge remote-tracking branch 'del_books/delete-book-formats'
# Conflicts:
#	cps/helper.py

Implemented delete on gdrive
6 years ago
Ozzie Isaacs f81fbaf542 Fix #568 (encoding problem in fb2 upload) 6 years ago
Ozzie Isaacs ff1b479188 Added name of book emailed to task list
Implemented emailing of books from gdrive (converting not implemented yet)
6 years ago
OzzieIsaacs b0cbd0a37a Added feature to send emails in a background-task 6 years ago
Ozzie Isaacs 4d6299f0d5 Improved gdrive error messages (#554) 6 years ago
Ozzie Isaacs 6a76dce870 Fix change user (in case of reboot required)
Fix no existing database
Update required version for sqlalchemy
6 years ago
OzzieIsaacs 9d161129d9 Fix for #554 6 years ago
OzzieIsaacs 2449b4049b Code cleaning Stats page
Enable calibre's ebook-convert as converter for mobi files (#411, #533)
6 years ago
OzzieIsaacs 3a9a59b751 Fix #497 6 years ago
OzzieIsaacs a53b7908f3 Fix #417 6 years ago
OzzieIsaacs aaa706069c Implemented #417 6 years ago
OzzieIsaacs 8896b3c5d2 Requests from #454 6 years ago
OzzieIsaacs 6f36eef51d Fix #544 (missed some config options)
Added lxml to stats sceen
6 years ago
OzzieIsaacs f0459d577b Bugfix #409 6 years ago
OzzieIsaacs 0e83546d40 - Updated translation (it's now always Google Drive)
- Integrated feature #409 (linking read status from calibre)
6 years ago
OzzieIsaacs 694620790c #543
Deleting of non exisiting folders gives no internal error anymore
re-inserting title sort function during upload earlier
6 years ago
OzzieIsaacs 31b703db62 Delete on gdrive working
Moving author on gdrive working
bugfix delete on normal folders
6 years ago
OzzieIsaacs a8040ad3fa #538:
-Refactoring gdrive and file handling
-Improved error handling for gdrive
-bugfix "gdrive stopping after a while"
- Renaming book title working
- Still Bugs in upload file to gdrive and renaming author
6 years ago
OzzieIsaacs 413b10c58e Bugfix gdrive
Still open: gdrive.db entries aren't cleared upon change, gdrive.db is only working after restart if just enabled
6 years ago
OzzieIsaacs 404b29b979 Refactored WSGIServer handling
Restart of gevent server now working
6 years ago
OzzieIsaacs a298470479 Fix #526. Books are now initially stored according to their id. 6 years ago
OzzieIsaacs 4f1754c1e4 Improved errorhandling during editing of books 6 years ago
OzzieIsaacs fbe2f5384b Prevent error on windows during upload and during rename of metadata.db in combinstion with gdrive 6 years ago
OzzieIsaacs 76d8cbdf57 Logging of details for gdrive integration only on debug level
fix generic cover path
browser reading for cbx and epub files no longer creates temp files on server
browser reading for cbx and epub files working (#502, #520)
6 years ago
OzzieIsaacs 420f685fd9 Added logging information for errors 6 years ago
OzzieIsaacs 30d9991daf Merge remote-tracking branch 'Goodread_fix/patch-test' 6 years ago
OzzieIsaacs 7d3fadb685 Improved compability for gevent (version 1.3.x & Windows)
Bugfix gdrive naming of client_secrets.json
Bugfix handling of gdrive with working folder not cps root folder
6 years ago
OzzieIsaacs c66bb54478 Fix #534 6 years ago
Ozzie Isaacs a06748e348
Update settings.yaml file 7 years ago
Ozzie Isaacs 7d5302b47f
Fix accidentially deleted gevent ds 7 years ago
OzzieIsaacs 204cd504a9 - Completly new setup of GDrive (every data is taken from client_secret.json file)
- If cover on Google Drive is missing, the generic cover will be used
- Better error handling during configuration of google drive (missing hook callback verification, missing files)
- less errors on console during use of Gdrive, more log file output in case of error
- removed standalone flask development mode
- removed gdrive template file and vendor setup script
7 years ago
Charles 7142836622 Adding exception handling to GoodreadsClient if site is down 7 years ago
Andriy Zasypkin b2ba8bceb2
tags in detail view are sorted 7 years ago
OzzieIsaacs 671bf5cf8d Integrated #454 (css is loaded remote) 7 years ago
OzzieIsaacs e24f837007 missing file from last commit 7 years ago
OzzieIsaacs 6a2449ffaf Fix for SSL/NonSSL and gevent 7 years ago
OzzieIsaacs af5a897d1d Added SSL Options (#416) 7 years ago
OzzieIsaacs d01d7b91a8 Added error messages in log and UI if cover url can't downloaded, changed label for cover URL to clarify function #449 7 years ago
OzzieIsaacs f6ece5fe72 Fix for #448 7 years ago
OzzieIsaacs ee5677f376 Merge remote-tracking branch 'multiload/master' 7 years ago
OzzieIsaacs f019d58b4d Fix for unicode search (#426) 7 years ago
Faisal Alghamdi 0afa7cbafd duplicate code removed 7 years ago
Faisal Alghamdi 78caf3379d remove unused code 7 years ago
Faisal Alghamdi ff9ee82451 adding multiple files upload feature 7 years ago
OzzieIsaacs 199b1c4820 Changed gdrive base uri handling (#431) 7 years ago
Andriy Zasypkin 6b4d7674b5
use isinstance instead of type 7 years ago
Andriy Zasypkin 28dac34119
auto select format if only one 7 years ago
OzzieIsaacs 07d6ba094b Fix for deleting books in shelfs (#419) 7 years ago
Andriy Zasypkin e66068d699
should fix testing error 7 years ago
Andriy Zasypkin 6b6a457a9d
comic reader updated extentions 7 years ago
Andriy Zasypkin 9249390043
comic book read file order fixed 7 years ago
Yury Tilis 2fe03961bb -Added a more subtle progress bar which only shows the page number on hover
-Added Current page indicator to the thumbnail list, as well as a hover state
-Thumbnail list now scrolls to the current page on open or page change
-Added @andy29485's request for controlling page with space/shift+space
-Added the book title to the top of the page -Fixed IE11 failing on imagecallback
7 years ago
OzzieIsaacs 4c05b3db67 Present dates for updater in local date format 7 years ago
OzzieIsaacs b74a075aa6 Added posibility to change settings db via command line for multiple instances (#247) 7 years ago
OzzieIsaacs 152f7857c9 Fix #397 7 years ago
OzzieIsaacs cbb236ba7b Added visiblilty of shelfs to opds catalog (#267) 7 years ago
OzzieIsaacs aee5ca0e06 #396 implemented 7 years ago
OzzieIsaacs f1fac28203 Improved error handling for renaming authors and titles (changes related to filesystem and not only to database) 7 years ago
OzzieIsaacs f890fc1553 New progress bar 7 years ago
OzzieIsaacs b4aede78bc Fix for the piping problem (#395) 7 years ago
OzzieIsaacs 03ab03f06e Code cosmetics 7 years ago
OzzieIsaacs d76f812310 Fixed empty return on getcomic
Python 3 compability (the easy way)
7 years ago
OzzieIsaacs e7b6963afd Small improvements for comic reader calls 7 years ago
Andriy Zasypkin 6ab4ff9a3b
Merge branch 'comic_server' into comic_server 7 years ago
OzzieIsaacs 5756785073 Error handling rarfiles 7 years ago
Andriy Zasypkin ec12181803
added python3 compatibility for comic reader 7 years ago
OzzieIsaacs 8c573ff6d8 Unrar/tar and unzip on server side 7 years ago
OzzieIsaacs 6e714f3f16 Fix #391 7 years ago
OzzieIsaacs 211c3b16dd Fix fror #388 7 years ago
OzzieIsaacs f045c16c4e Fix #386 7 years ago
OzzieIsaacs 01d0083fe6 Fix for #376 7 years ago
OzzieIsaacs ad16194798 Error on deleting non existing book fixed (#382) 7 years ago
OzzieIsaacs 798cbc7505 Merge remote-tracking branch 'opds/master' 7 years ago
OzzieIsaacs 78744b19d8 Fix #377 7 years ago
OzzieIsaacs ba54b9a357 Fix #365 7 years ago
OzzieIsaacs af8d908bba Fix #371, #372 7 years ago
unknown b4bd7507b6 Merge branch 'master' of git://github.com/janeczku/calibre-web 7 years ago
unknown 674baad49e lowercasing the input 7 years ago
unknown 4a04ec898e case-insensitive search for non-ASCII - improved 7 years ago
unknown d2ea3a6c19 case-insensitive search for non-ASCII 7 years ago
Cory Sitko cc758517e7 updated login_required_if_no_ano to correct switch anonymous on/off when changed in admin 7 years ago
Cory Sitko 7ade2ecd35 make is_active, is_authenticated, and is_anonymous properties on the Anonymous class so that the login_required decorator will work correctly and disable anonymous browsing 7 years ago
OzzieIsaacs 366bf9739b Fix for #360 and guest accounts 7 years ago
OzzieIsaacs 90729de87f Fix #354
Fix #355
Fix #353
Fix #352
Fix #351
7 years ago
unknown 6855deceef added corresponding content-type for a downloaded book, otherwise default text/html is used 7 years ago
unknown 0f0c6dde09 changed application/xml to application/atom+xml 7 years ago
unknown 3c9f8b151d added check for anonymous session in read_books, otherwise current_user.id is not defined 7 years ago
unknown 7ddfa1881b added FB2 mime type 7 years ago
Jonathan Rehm 56c71dd4bf Disable bookmarking when anonymous users are reading 7 years ago
OzzieIsaacs c56a02bab6 Fix #339 7 years ago
OzzieIsaacs 34e9ef35f5 Code cosmetics 7 years ago
OzzieIsaacs fe4d11fea8 Basi comic reader implementation for cbr, cbz, cbt files based on kthoom (#63, #126) 7 years ago
OzzieIsaacs b6b73d39c2 Fix #329
Code cosmetics
7 years ago
OzzieIsaacs b6f06658a2 Merge remote-tracking branch 'ipv6/ipv4only' 7 years ago
OzzieIsaacs f87800d11c Merge remote-tracking branch 'meta/upload_new_format_of_existing_book' 7 years ago
OzzieIsaacs b30a73c505 Merge remote-tracking branch 'adv/def-variables' 7 years ago
Ainsley Pereira 993c56d021 Fix syntax error 7 years ago
Ainsley Pereira 1ce6893fa8 Exception isn't thrown until we call serve_forever, so that must be in the try block 7 years ago
Ainsley Pereira b8b88183c3 Use IPv4-only WSGI start up as a fallback only when the IPv6/IPv4 one didn't work 7 years ago
Ainsley Pereira a75c393922 Merge remote-tracking branch 'upstream/master' 7 years ago
Jonathan Rehm e806494b54 Ensure variables exist before they're used 7 years ago
kyos cbf2bb450d Fixed issue calculating filesize of the uploaded book 7 years ago
kyos be15f3781f Fixed issue reported by Jkrehm to prevent filesize to fail 7 years ago
kyos 9086f4e0e7 Added option to upload a new format to a given book 7 years ago
OzzieIsaacs c9f36a4d1a Merge remote-tracking branch 'adv/bookmarks' 7 years ago
OzzieIsaacs b6b5313f2d Fix for #315 7 years ago
OzzieIsaacs f860694487 Merge remote-tracking branch 'adv/goodreads-more-by' 7 years ago
OzzieIsaacs 5ee1950828 Merge remote-tracking branch 'adv/sqlalchemy-bool' 7 years ago
Jonathan Rehm 58abc1d024 Fuzzy match book titles to eliminate duplicates
Titles with a Levenshtein ratio of 70% or greater are considered duplicates.
7 years ago
Jonathan Rehm 53c687251e Show "More by" on author page
Uses Goodread's list of author's books, filtering out the books that are already in the user's library.

Requires the Goodreads dependency and API information.
7 years ago
Jonathan Rehm 6b8de017ab Use SQLAlchemy boolean
Seems to make a difference sometimes.

Ref #300
7 years ago
Jonathan Rehm 8e1cfa1cbf Re-apply `db_filter`
Accidentally removed when the language and content filters were moved to `common_filters`.
7 years ago
OzzieIsaacs a8b53ab38a Merge remote-tracking branch 'adv/common-filters' 7 years ago
OzzieIsaacs d5e1dba0fe Merge remote-tracking branch 'adv/goodreads-more-by' 7 years ago
Jonathan Rehm 3213bf50b3 Move common filters into function
Instead of duplicating functionality across lots of functions, combine it into one common function. It makes reading and modifying it much easier.
7 years ago
Jonathan Rehm 374b5f4c6e Save ePub bookmarks to database
Save ePub bookmark to database. Also use library's built-in restore feature to restore all information from localStorage.
7 years ago
Jonathan Rehm a682c95ec1 Show "More by" on author page
Uses Goodread's list of author's books, filtering out the books that are already in the user's library.

Requires the Goodreads dependency and API information.
7 years ago
OzzieIsaacs 193605df4a Fix for #286 7 years ago
OzzieIsaacs 6b1f3aa531 Merge remote-tracking branch 'adv/cache-buster' 7 years ago
marblepebble 97f573c41a Set ipv4 address explicitly for docker usage 7 years ago
OzzieIsaacs e3d416db4c Merge remote-tracking branch 'adv/cover-upload' 7 years ago
Jonathan Rehm a27848b351 Add static asset cache busting
Calculates MD5 hash of static assets on server start. These are appended to the file name's when url_for is used, telling browsers to download the latest version of the files, e.g. style.css?q=81cf0ee.

Inspired by https://github.com/ChrisTM/Flask-CacheBust but uses query strings instead of rewriting the path because fonts inside CSS files break when the path is rewritten.
7 years ago
OzzieIsaacs 91cdb5f60f Merge remote-tracking branch 'Upper_case/master' 7 years ago
OzzieIsaacs fb8ce693f3 Bugfix mature content
Update german translation
7 years ago
OzzieIsaacs b596734c36 Merge remote-tracking branch 'adv/mature-content' 7 years ago
Ruben Herold 68e3867af3 fix books with uppercase extension 7 years ago
Jonathan Rehm 6f797ba478 Check if JPEG via response content-type header instead of URL extension
That way we can use dynamic URLs, such as those returned by the "Get Metadata" request.
7 years ago
Jonathan Rehm aee8aad976 Add option to hide mature content from some users
Uses a configurable list of tags to denote what is mature and hides those books from the user
7 years ago
kyos 51bc0e82a4 Added series and series_index metadata handler 7 years ago
kyos 4bba3558b7 Added tags metadata handler for epubs 7 years ago
OzzieIsaacs 626e2e393e Merge remote-tracking branch 'adv/edit-publish-date' 7 years ago
Jonathan Rehm 04b04e200f Add ability to edit publish date
If a date is not set, default to “0101-01-01”
7 years ago
Jonathan Rehm cf7196ae5e Refactor to remove nested if-statements 7 years ago
Jonathan Rehm a95e6aab6b Do not attempt to create the YAML file when Google Drive is disabled (#246) 7 years ago
OzzieIsaacs cb5f196f4b Merge remote-tracking branch 'adv/modal-details'
# Conflicts:
#	cps/static/js/main.js
#	cps/templates/detail.html
7 years ago
OzzieIsaacs 1e2edcf753 Merge remote-tracking branch 'adv/author-info' 7 years ago
OzzieIsaacs c403fdfa2e Merge remote-tracking branch 'adv/sorting' 7 years ago
Jonathan Rehm 5c3a5b6c39 Use ajax to add/remove books from shelves
Gracefully fall back to standard requests if JavaScript is disabled
7 years ago
Jonathan Rehm c9c6529567 Use SECRET_KEY from environment variable (#232) 7 years ago
OzzieIsaacs 74e93e1cdf Code cosmetics 7 years ago
Jonathan Rehm fe68c8a7f8 Add support for displaying author information from Goodreads
Requires the "goodread" module (added to optional-requirements.txt) and an API key

Retrieves Goodreads author information and displays their photo and "about" text
7 years ago
OzzieIsaacs 31e0025099 Update Translation 7 years ago
OzzieIsaacs 5a6ad970d8 Merge remote-tracking branch 'button_padding/magic-link' 7 years ago
Jonathan Rehm d799b859ea Make changes suggested by codacy 7 years ago
Jonathan Rehm 675e8dd5cd Show book details in modal dialog
With them shown in a modal, you don't lose your place in the pagination. If the request comes via Ajax, the minimal layout is used. If via a normal request, the full layout is used. That lets you open the details in a new tab and have the full experience, but if you're clicking through the results of a search, you can view many without losing your place.
7 years ago
OzzieIsaacs 93dfb96174 Added Translation of title for read/unread books 7 years ago
OzzieIsaacs 2929d95b26 Display all authors names in shelf, like on all other pages (#202) 7 years ago
Jonathan Rehm 623f5c8ef0 Add "magic link" functionality
When using a device that is bothersome to log in on (e.g. a Kindle) you can use a magic link to log in via another device.

Configuration was added and is disabled by default.
7 years ago
Jonathan Rehm b138c9edd5 Show read/unread counts 7 years ago
Jonathan Rehm 7631eea32e Add sort options when viewing books
Default view still shows the most recently added books, but adds ability to sort by newest/oldest books and books sorted alphabetically (ascending & descending).

I did not include translations for the next text, but they are split up for easy translating and are otherwise ready for translating.
7 years ago