Commit Graph

1823 Commits (a14192b7e0a65dcde6d5600de979358edb1f2653)

Author SHA1 Message Date
Virgil Grigoras 6e2dbb7cd6 move current commit hash to its own file
Virgil Grigoras f477d48c7c More robust handling while checking for new updates
OzzieIsaacs bb7d2c6273 Update Language translation table (now including the locale language)
Fix 
Fix for 
OzzieIsaacs 79ee07ea54 Fix for python3 and pickle
OzzieIsaacs ce6cde545b Update french language
OzzieIsaacs 919de60e8d Final fix
OzzieIsaacs a5d15a19de Update Translation "->'
Ozzie Isaacs 2de41a5c86 improvement for
OzzieIsaacs 9d0f583d4f Updated french and chinese language. Thanks to @idalin and Olivier
Fixed bug some translations are not shown
OzzieIsaacs 2f1fe60cd6 Merge remote-tracking branch 'chinese_translation/master'
OzzieIsaacs 0091006aad Fix
Fix for 
OzzieIsaacs b48de7dc77 Fix for
idalin b103ecdb5c update simplified Chinese
OzzieIsaacs 0bcb20f674 Fix
Added missing translation for "select option"
Virgil Grigoras db9561db89
Show add to shelf button only when there is a result
OzzieIsaacs 0e1711631c Fix for
publisher-info  is shown on edit page ()
OzzieIsaacs 3f2d0ea7bb Fix
Removed trailing comma on edit page
OzzieIsaacs 66824ff4e4 Fix
OzzieIsaacs 06ffa5e66d Fix displaying random books with no author entry
Code cosmentics for opds feed
Narrowed exceptions on language not found
Fix password changing
OzzieIsaacs a4190f39de Fix
OzzieIsaacs 4dd6c55c38 Fix for (Better handling of errors in sending email)
OzzieIsaacs c3b0492834 Refactored make_mobi and convert_ebook functions
OzzieIsaacs 4a95404e17 Merge remote-tracking branch 'Convert_all/ebookconvert-any'
# Conflicts:
#	cps/web.py
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
OzzieIsaacs 9c889d1681 Fix
Updated language files
bodybybuddha 22ecdfd2bc Refactor edit_books.js for unused code; re-add glyphicon to convert button; Add form validation for convert button
bodybybuddha 4b006fba99 Re-commit: & Convert any book format to another format
bodybybuddha fc78d1ee07 Added exception catching for file format check
bodybybuddha 4f386c8a00 Updated GUI buttons for ebook-convert feature
bodybybuddha 3ec000ad85 Merge branch 'master' of https://github.com/janeczku/calibre-web into ebookconvert-any
OzzieIsaacs a7a91ae54c Added posibility to upload cover from local drive ()
Updated language files
OzzieIsaacs 3a37183e25 Included khmer language
Further unified naming
OzzieIsaacs 2453786174 Limit registering domains
bodybybuddha e160efbdac Add GUI functions for ebookconvert any format feature
OzzieIsaacs cedc183987 Fix , .
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
OzzieIsaacs f6ab724020 Fix generating links on tasks pafge
OzzieIsaacs 72fff2a297 Update for running calibre-convert in docker
OzzieIsaacs 7917347508 Revert accidently commited change in admin.html ()
OzzieIsaacs 5889535355 Bugfix gdrive download Books
Bugfix pagination
Fix Error messages massadd of books to shelf
OzzieIsaacs d414bf3263 Massadd of books to shelfs (, ) from advanced search
Code cosmetics
bugfix error message on failed emails
refactored language name generation
Ozzie Isaacs 34abf95fb2 Fix for empty filename during edit
OzzieIsaacs 7dac87fa5d Code cosmetics unrar
OzzieIsaacs d2ea10e90e Improved OPDS compability ()
Bootstrap-table loads locally and no longer from CDN
Localized commit date on admin page
OzzieIsaacs 9ace4d3372 Updated german translation
Bugfix additional format upload without extension
Bugfix additional format upload to gdrive
pathes assembled by os.path.join
OzzieIsaacs 273b1c3fa8 Fix calibre-converter/kindlegen handling on windows and python3
OzzieIsaacs cdb1b52652 Bugfix Get gdrive instances (, )
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 ()
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 ()
Accordion panels in config are now usable on touch devices like iPad ()
Gdrive authenticate button only visible after logged in ()
Fixed misstyping in german translation
OzzieIsaacs f8132f4d02 Fix for
OzzieIsaacs bb5d7d7bc0 Fix for
OzzieIsaacs c38f331b6f Fix for
Fix no pydrive dependency installed
Fix sending email on python3
OzzieIsaacs fac0921acf Fix in exception of emailing
OzzieIsaacs 5ef70890d9 Search for custom columns implemented
Search for ratings related to 
Search description 
code cosmetics
OzzieIsaacs 791f4a8078 Fix
Ozzie Isaacs 7be328c535 Converting ebooks in background
additional sorting of tasklist according to date and runtime
codecosmetics
OzzieIsaacs 11b798a01c Fix
OzzieIsaacs 1e5cb29fc9 (temporary fix)
OzzieIsaacs 5ec9051f2e Add charset to opds feed for read books
Unknown fdabb804cf Call print as a function
Ozzie Isaacs 3db682cd15 Merge remote-tracking branch 'del_books/delete-book-formats'
# Conflicts:
#	cps/helper.py

Implemented delete on gdrive
Ozzie Isaacs f81fbaf542 Fix (encoding problem in fb2 upload)
Ozzie Isaacs 82fe282e9b Converting books from gdrive implemented
Ozzie Isaacs ff1b479188 Added name of book emailed to task list
Implemented emailing of books from gdrive (converting not implemented yet)
OzzieIsaacs dbf55d6f41 Fix
Ozzie Isaacs 7a38c05f12 Stop e-mail-thread on quit or restart
OzzieIsaacs b0cbd0a37a Added feature to send emails in a background-task
Ozzie Isaacs 4d6299f0d5 Improved gdrive error messages ()
Ozzie Isaacs 6a76dce870 Fix change user (in case of reboot required)
Fix no existing database
Update required version for sqlalchemy
OzzieIsaacs 9d161129d9 Fix for
OzzieIsaacs f8c9777668 Merge remote-tracking branch 'show_url/url-links'
OzzieIsaacs ab63d08d71 Fix for linux subprocess calibre-convert
Ben Bennett b271b5f686 Changed the args to subprocess.Popen to pass args to the command
Before the command was not working correctly to check the calibre version since it seemed to be treating the entire string as the command.  So when ' --version' was added it was breaking.  I changed the format to pass the command and args as a list and it seems to work correctly.
PJ Eby 83db0f9ad5 Render 'url:' ID type as a link
Calibre allows 'url:' as a kind of book identifier
and shows it in the UI as a link; this change
makes calibre-web do the same.
OzzieIsaacs 2449b4049b Code cleaning Stats page
Enable calibre's ebook-convert as converter for mobi files (, )
OzzieIsaacs ae0c5d7ec2 Fix for
OzzieIsaacs 3a9a59b751 Fix
OzzieIsaacs a53b7908f3 Fix
OzzieIsaacs aaa706069c Implemented
OzzieIsaacs 8896b3c5d2 Requests from
OzzieIsaacs 6f36eef51d Fix (missed some config options)
Added lxml to stats sceen
OzzieIsaacs f0459d577b Bugfix
OzzieIsaacs 0e83546d40 - Updated translation (it's now always Google Drive)
- Integrated feature  (linking read status from calibre)
OzzieIsaacs 694620790c
Deleting of non exisiting folders gives no internal error anymore
re-inserting title sort function during upload earlier
OzzieIsaacs 8d406117ce Fix added more checks for deleting books
OzzieIsaacs eb65647774 Fix
Update Translations
OzzieIsaacs 31b703db62 Delete on gdrive working
Moving author on gdrive working
bugfix delete on normal folders
OzzieIsaacs a8040ad3fa :
-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
OzzieIsaacs 413b10c58e Bugfix gdrive
Still open: gdrive.db entries aren't cleared upon change, gdrive.db is only working after restart if just enabled
OzzieIsaacs 404b29b979 Refactored WSGIServer handling
Restart of gevent server now working
OzzieIsaacs a298470479 Fix . Books are now initially stored according to their id.
OzzieIsaacs 4f1754c1e4 Improved errorhandling during editing of books
OzzieIsaacs fbe2f5384b Prevent error on windows during upload and during rename of metadata.db in combinstion with gdrive
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 (, )
OzzieIsaacs 420f685fd9 Added logging information for errors
OzzieIsaacs 30d9991daf Merge remote-tracking branch 'Goodread_fix/patch-test'
OzzieIsaacs 9ca454730c Bugfix finding settings.yaml and dgrive_credentials file
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
OzzieIsaacs c66bb54478 Fix
Ozzie Isaacs a06748e348
Update settings.yaml file
SiphonSquirrel 30799996c9 Merge remote-tracking branch 'remotes/origin/goodreads-fix' into patch-test
SiphonSquirrel 274d2d9d21 Improve rename logic for directory name collisions.
Ozzie Isaacs 7d5302b47f
Fix accidentially deleted gevent ds
OzzieIsaacs bf44774f22 Tags in detail view are sorted now
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
Charles 7142836622 Adding exception handling to GoodreadsClient if site is down
OzzieIsaacs 43a391d1bd Redownloaded glyphicon font files
Eric Le Lay 513355e2e5 fix OPDS updated date format invalid per Atom specification
replace space separating date from time with 'T'
Ozzie Isaacs 9867959916
Changed calibre to calibre-web
OzzieIsaacs 1f9527f0e1 Fix
Andriy Zasypkin b2ba8bceb2
tags in detail view are sorted
OzzieIsaacs 66c1966b44 Update french translation
OzzieIsaacs c27805b4e7 Bugfix Updater python3
Bugfix Updater in case of error
OzzieIsaacs 7a20c14dea Integrated caliblur css
OzzieIsaacs 671bf5cf8d Integrated (css is loaded remote)
OzzieIsaacs e24f837007 missing file from last commit
OzzieIsaacs 62f7674761 fixed advanced search for publishing date
fixed misstyping in italian language
removed next to "me" after login
OzzieIsaacs 6a2449ffaf Fix for SSL/NonSSL and gevent
OzzieIsaacs 691a4a88e6 Added support for svg in comics (not working in IE11)
OzzieIsaacs 8bfd3c7e4f Fix
OzzieIsaacs 97adb36f1b Bugfix Upload Message
Improved errorhandling at import imagemagick
OzzieIsaacs af5a897d1d Added SSL Options ()
OzzieIsaacs d01d7b91a8 Added error messages in log and UI if cover url can't downloaded, changed label for cover URL to clarify function
OzzieIsaacs f6ece5fe72 Fix for
OzzieIsaacs ea6a957c05 Changed mulitple books upload to single button
OzzieIsaacs ee5677f376 Merge remote-tracking branch 'multiload/master'
Mingyue Gao c6f568534f fix(template): download book with capital ext by kindle's browser
OzzieIsaacs f019d58b4d Fix for unicode search ()
Faisal Alghamdi 0afa7cbafd duplicate code removed
Faisal Alghamdi 78caf3379d remove unused code
Faisal Alghamdi 43eb3b6f9c button names fixed
Faisal Alghamdi ff9ee82451 adding multiple files upload feature
OzzieIsaacs ff2d53b998 Integrated japapanese translation.
Updated german translation
OzzieIsaacs 0b92a718ba Merge remote-tracking branch 'Translation/master'
SpaceWhite 51fbb07124 Add japanese translation
OzzieIsaacs 21c2ee4d63 Fix for
OzzieIsaacs 7371803184 Fix for
OzzieIsaacs 4346e947e3 Fix for
OzzieIsaacs 199b1c4820 Changed gdrive base uri handling ()
Andriy Zasypkin 6b4d7674b5
use isinstance instead of type
OzzieIsaacs e99e93db1f , Added "apple-touch-icon" for apple devices
OzzieIsaacs 8716054dcf Fix
Andriy Zasypkin fb41aa8b57
removed debug statement from production
Andriy Zasypkin 28dac34119
auto select format if only one
OzzieIsaacs 2850a84bbc Fix for deleting books if book path contains no path ()
OzzieIsaacs 07d6ba094b Fix for deleting books in shelfs ()
OzzieIsaacs 0329306031 Favicon replaced () with hiher resolution
Andriy Zasypkin e66068d699
should fix testing error
Andriy Zasypkin 6b6a457a9d
comic reader updated extentions
Andriy Zasypkin 9249390043
comic book read file order fixed
OzzieIsaacs 03e2a1e73b Restored click on progressbar
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
OzzieIsaacs 4c05b3db67 Present dates for updater in local date format
OzzieIsaacs 319077aea9 Import covers from comic files during upload
OzzieIsaacs 5809acfa9e anonymous user now have always the right to read books (as any other user, too)
(Fix  )
OzzieIsaacs b74a075aa6 Added posibility to change settings db via command line for multiple instances ()
OzzieIsaacs 152f7857c9 Fix
OzzieIsaacs 4e11272023 Working on IE11
OzzieIsaacs cbb236ba7b Added visiblilty of shelfs to opds catalog ()
OzzieIsaacs aee5ca0e06 implemented
OzzieIsaacs f1fac28203 Improved error handling for renaming authors and titles (changes related to filesystem and not only to database)
OzzieIsaacs f890fc1553 New progress bar
OzzieIsaacs b4aede78bc Fix for the piping problem ()
OzzieIsaacs 03ab03f06e Code cosmetics
OzzieIsaacs 0943d50876 Code cosmetics
Bugfix click on progressbar
OzzieIsaacs aae9e285a8 Code cosmetics
OzzieIsaacs d76f812310 Fixed empty return on getcomic
Python 3 compability (the easy way)
OzzieIsaacs e7b6963afd Small improvements for comic reader calls
Andriy Zasypkin 6ab4ff9a3b
Merge branch 'comic_server' into comic_server
OzzieIsaacs 5756785073 Error handling rarfiles
Andriy Zasypkin ec12181803
added python3 compatibility for comic reader
OzzieIsaacs 9f8cbe8c1f Merge enhanced UI from ytilis repro
OzzieIsaacs 8c573ff6d8 Unrar/tar and unzip on server side
OzzieIsaacs 6e714f3f16 Fix
OzzieIsaacs 211c3b16dd Fix fror
OzzieIsaacs f045c16c4e Fix
OzzieIsaacs 01d0083fe6 Fix for
OzzieIsaacs b8d45b664a Typeahead working again
Fix for replacing characters in filenames
OzzieIsaacs ad16194798 Error on deleting non existing book fixed ()
OzzieIsaacs 09f86ee8d4 Fix
OzzieIsaacs 8388df202f Merge remote-tracking branch 'dutch/dutchupdate'
OzzieIsaacs 798cbc7505 Merge remote-tracking branch 'opds/master'
OzzieIsaacs 78744b19d8 Fix
OzzieIsaacs ba54b9a357 Fix
OzzieIsaacs fd39cbaa6f Fix
Thijs van Ulden 5b13171060 Updated Dutch translation
OzzieIsaacs af8d908bba Fix ,
OzzieIsaacs ae1e7c57d5 Update french translation
Yamakuni f5e1b38e63 French translation correction
unknown b4bd7507b6 Merge branch 'master' of git://github.com/janeczku/calibre-web
unknown 674baad49e lowercasing the input
unknown 4a04ec898e case-insensitive search for non-ASCII - improved
unknown d2ea3a6c19 case-insensitive search for non-ASCII
OzzieIsaacs 9182d89128 # Fix 361
Cory Sitko 5e4c8c6c65 fixed is_authenticated check
Cory Sitko 8fd67fb1fc UserBase methods should be properties not classmethods
Cory Sitko cc758517e7 updated login_required_if_no_ano to correct switch anonymous on/off when changed in admin
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
OzzieIsaacs 366bf9739b Fix for and guest accounts
OzzieIsaacs 1eb10be253 Code cosmetics comic reader
OzzieIsaacs 90729de87f Fix
Fix 
Fix 
Fix 
Fix 
unknown 6855deceef added corresponding content-type for a downloaded book, otherwise default text/html is used
unknown 0f0c6dde09 changed application/xml to application/atom+xml
unknown 1ada1704b0 excluded read/unread when exposing the catalog to an anonymous user
unknown 3c9f8b151d added check for anonymous session in read_books, otherwise current_user.id is not defined
unknown d336f9faa6 fixed OPDS templates
unknown 7ddfa1881b added FB2 mime type
unknown 70d093b193 unicode gave an NameError with python3
Jonathan Rehm 56c71dd4bf Disable bookmarking when anonymous users are reading
OzzieIsaacs 0512e5a940 Fix
OzzieIsaacs c56a02bab6 Fix
OzzieIsaacs 031a175474 Fix Comic reader
Andriy Zasypkin 442fb23b18
python3 compatibility
OzzieIsaacs 2302db4e06 Merge remote-tracking branch 'adv/fix-douban-rating'
OzzieIsaacs 299cf82921 Merge remote-tracking branch 'translation/master'
# Conflicts:
#	cps/translations/fr/LC_MESSAGES/messages.mo
#	cps/translations/fr/LC_MESSAGES/messages.po
Yamakuni 85ec9cba1f New correction of translation
OzzieIsaacs a6dfcedfdb Code cosmetics
OzzieIsaacs 0405cec4ac Code cosmetics
Bugfix "Error load settings"
OzzieIsaacs 378a0ca662 Merge remote-tracking branch 'adv/bookmarks'
OzzieIsaacs 2a78a02e0b Code cosmetics
OzzieIsaacs 34e9ef35f5 Code cosmetics
OzzieIsaacs a159bb0b97 Code Csmetics kthoom integration
OzzieIsaacs 5b9b36f997 Code cosmetics
OzzieIsaacs 85068d75bf Update comic reader
OzzieIsaacs fe4d11fea8 Basi comic reader implementation for cbr, cbz, cbt files based on kthoom (, )
OzzieIsaacs 4582aebec1 Bugfix gdriveutils
OzzieIsaacs b6b73d39c2 Fix
Code cosmetics
OzzieIsaacs b6f06658a2 Merge remote-tracking branch 'ipv6/ipv4only'
OzzieIsaacs dfd3b40865 Fix
OzzieIsaacs bde92113d4 Bugfix Datepicker
OzzieIsaacs f87800d11c Merge remote-tracking branch 'meta/upload_new_format_of_existing_book'
OzzieIsaacs 7acf4d40a4 Merge remote-tracking branch 'adv/escape-filename'
OzzieIsaacs 2ef6dc30bd Added italian translation
OzzieIsaacs abadaa3f1d Merge remote-tracking branch 'l/master'
OzzieIsaacs b30a73c505 Merge remote-tracking branch 'adv/def-variables'
OzzieIsaacs af0cefa4ac Update translations
OzzieIsaacs e26c8a1e46 Merge remote-tracking branch 'd/patch-1'
OzzieIsaacs 5e370fb4b3 Merge remote-tracking branch 'y/master'
Yamakuni f147c072c6 French translation
Add and correct
Wouter Dijk c048a96e07 Updated Dutch translations
I've added some missing translations and edit some faulty ones. Not finished yet, will continue later on! ;-)
Ainsley Pereira 993c56d021 Fix syntax error
Ainsley Pereira 1ce6893fa8 Exception isn't thrown until we call serve_forever, so that must be in the try block
Ainsley Pereira b8b88183c3 Use IPv4-only WSGI start up as a fallback only when the IPv6/IPv4 one didn't work
Ainsley Pereira a75c393922 Merge remote-tracking branch 'upstream/master'
Jonathan Rehm 29f21b148b Translate 10-based rating to 5-based
Jonathan Rehm e806494b54 Ensure variables exist before they're used
kyos 8937599ba7 Fixed codacy code control
kyos cbf2bb450d Fixed issue calculating filesize of the uploaded book
kyos be15f3781f Fixed issue reported by Jkrehm to prevent filesize to fail
kyos 3366aae6c7 Merge remote-tracking branch 'origin/upload_new_format_of_existing_book' into upload_new_format_of_existing_book
# Conflicts:
#	cps/static/css/style.css
kyos e5b4bed01c Fixed codacy requirements
kyos 9086f4e0e7 Added option to upload a new format to a given book
Jonathan Rehm a4f81dd812 Do not include empty strings in list of bookmarks
OzzieIsaacs c9f36a4d1a Merge remote-tracking branch 'adv/bookmarks'
Torben Mohrfeldt 94f8cc247c Reflect title in the logo
OzzieIsaacs b6b5313f2d Fix for
teflontoni 4527693fe3 Move "Show mature content" Checkbox
In order to make the option safe and sane we move the corresponding checkbox to the settings that need administrator privileges.
Louis Jencka b3217496d1 Add progress bar to upload form
OzzieIsaacs 81219663fe Update translation
OzzieIsaacs c959a1ccc6 Merge remote-tracking branch 'iss/typo'
OzzieIsaacs f860694487 Merge remote-tracking branch 'adv/goodreads-more-by'
OzzieIsaacs 429f4a11a9 Merge remote-tracking branch 'adv/es5-syntax'
OzzieIsaacs 5ee1950828 Merge remote-tracking branch 'adv/sqlalchemy-bool'
Jonathan Rehm 58abc1d024 Fuzzy match book titles to eliminate duplicates
Titles with a Levenshtein ratio of 70% or greater are considered duplicates.
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.
Jonathan Rehm 6b8de017ab Use SQLAlchemy boolean
Seems to make a difference sometimes.

Ref 
Jonathan Rehm 282837c7c5 Use ES5 syntax
Jonathan Rehm 8e1cfa1cbf Re-apply `db_filter`
Accidentally removed when the language and content filters were moved to `common_filters`.
Ivan Smirnov 12c98157d5 fix typo:: diffrent -> different
OzzieIsaacs a8b53ab38a Merge remote-tracking branch 'adv/common-filters'
OzzieIsaacs 62f6bb4e64 Remove In author marker on authors page
OzzieIsaacs d5e1dba0fe Merge remote-tracking branch 'adv/goodreads-more-by'
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.
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.
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.
OzzieIsaacs 193605df4a Fix for
OzzieIsaacs cf5e2f7cd1 search button is displayed in moon reader (), search result is not displayed
OzzieIsaacs f6425a6569 Merge remote-tracking branch 'adv/cache-buster'
Jonathan Rehm cda733f4a4 Escape special characters in file names
Follows Calibre's convention of using underscores as replacements
Jonathan Rehm 8cbd6a8431 Do not append query string if file_hash is not found
Jonathan Rehm 13c2a53c0f Fix issues with Windows path separators
OzzieIsaacs 6b1f3aa531 Merge remote-tracking branch 'adv/cache-buster'
marblepebble 97f573c41a Set ipv4 address explicitly for docker usage
OzzieIsaacs bd02c92162 Merge remote-tracking branch 'adv/get-meta-data'
OzzieIsaacs e3d416db4c Merge remote-tracking branch 'adv/cover-upload'
Jonathan Rehm 866f7944eb Meta data improvements
* Add buttons to show/hide results from Douban & Google
* Trigger search with "Enter" key
* Use Underscore.js template instead of build HTML strings in JavaScript
* Keep click event handler in JavaScript instead of using HTML's `onclick`
* Normalize Douban & Google results
* Update cover image & add cover URL to the form input
OzzieIsaacs a1538e12e8 Bugfix typeahead on advanced serach page
OzzieIsaacs de112b0b05 Merge remote-tracking branch 'adv/eslint'
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.
Jonathan Rehm 08d0404e9c Add mature_content property to Anonymous class
Jonathan Rehm 8171943b8e Update to ES5 standards
Also fix ESLint issues
OzzieIsaacs 91cdb5f60f Merge remote-tracking branch 'Upper_case/master'
OzzieIsaacs 2f7177742d Update chinese translation
OzzieIsaacs dd6c928e2c Merge remote-tracking branch 'translation/master'
OzzieIsaacs fb8ce693f3 Bugfix mature content
Update german translation
OzzieIsaacs b596734c36 Merge remote-tracking branch 'adv/mature-content'
idalin 274d0f6577 update Chinese translations
idalin 2b27d6570f Merge branch 'janeczku-master'
idalin b5cca553b3 update Chinese translations
kyos 9a17a09cc7 Fixed codacy requirements
Ruben Herold 68e3867af3 fix books with uppercase extension
kyos aa4a5dc3ef Added option to upload a new format to a given book
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.
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
Carlos Clavero 8f5bc2a484 Merge pull request from Kyosfonica/add_css_separation_for_tags_in_advance_search
Added a 5px separation for all input labels in advanced search
kyos e948844ea4 Added a 5px separation for all input labels in advanced search to improve readability
Carlos Clavero 1500e0f54f Merge pull request from Kyosfonica/add_css_separation_for_tags_in_advance_search
Added a 5px separation for all input labels in advanced search
kyos b6f097f673 Added a 5px separation for all input labels in advanced search to improve readability
Carlos Clavero 5f78ec4e83 Merge pull request from Kyosfonica/add_css_separation_for_tags_in_advance_search
Added a 5px separation for all input labels in advanced search
kyos 6048bf3c79 Added a 5px separation for all input labels in advanced search to improve readability
Carlos Clavero 80c021939e Merge pull request from Kyosfonica/master
Update dev with latests changes from master
kyos 51bc0e82a4 Added series and series_index metadata handler
kyos 4bba3558b7 Added tags metadata handler for epubs
OzzieIsaacs fe52de6b4b Merge remote-tracking branch 'adv/lighthouse-audit'
OzzieIsaacs cd2e27d7ad Merge remote-tracking branch 'adv/previous-pagination'
OzzieIsaacs 82165a67a1 Merge remote-tracking branch 'mail/master'
OzzieIsaacs 626e2e393e Merge remote-tracking branch 'adv/edit-publish-date'
Mikhail Akushsky 4313910ba0 Fix hmac creation in send_test_email function
Jonathan Rehm ec118c2254 Move scripts to bottom of body to prevent execution from delaying DOM rendering
Jonathan Rehm dde4f6afe2 Add missing label
Jonathan Rehm 0b47958fad Add lang attribute to html tag
Jonathan Rehm c86fa268c2 Fix/remove duplicate id's
Jonathan Rehm 5162e2eed7 Add img alt attributes
Jonathan Rehm 5465b8e8b7 Add "Previous" pagination button
I imagine these buttons are still in use when JavaScript is disabled or not loading.
Jonathan Rehm 0afc8f94da Use TinyMCE's API to update the description's content
Jonathan Rehm dd124ab356 Make change requested by Codacy
Jonathan Rehm 59afc7eb9f Make changes requested by Codacy
Jonathan Rehm 3258f4fb79 Make changes requested by Codacy
Jonathan Rehm 61e0405f75 Move TinyMCE into edit_books.js
Jonathan Rehm 5715d27c97 Show localized date over top of date input
Also move datepicker logic into edit_books.js and edit_books.js below the datepicker file declaration(s)
Jonathan Rehm 36c2b35588 Use bootstrap-datepicker to add datepicking UI for browsers that do not have one built-in
Jonathan Rehm cc916a4eb4 Add timestamp to default publishing date
Jonathan Rehm a07798b0db Standardize indentation
Jonathan Rehm 04b04e200f Add ability to edit publish date
If a date is not set, default to “0101-01-01”
Jonathan Rehm cf7196ae5e Refactor to remove nested if-statements
Jonathan Rehm a95e6aab6b Do not attempt to create the YAML file when Google Drive is disabled ()
OzzieIsaacs cb5f196f4b Merge remote-tracking branch 'adv/modal-details'
# Conflicts:
#	cps/static/js/main.js
#	cps/templates/detail.html
OzzieIsaacs 1e2edcf753 Merge remote-tracking branch 'adv/author-info'
OzzieIsaacs df1b503c2d Update Translation
OzzieIsaacs c403fdfa2e Merge remote-tracking branch 'adv/sorting'
OzzieIsaacs 97d577ef2e Merge remote-tracking branch 'adv/add-to-shelf-ajax'
OzzieIsaacs 4311091d7d Merge remote-tracking branch 'adv/python3-fix'
Jonathan Rehm 693c26c2b3 Attach events to button toolbar
Since this is closer to the elements, we can be more sure that we won't have events fire when we don't want them to. For example, if we're viewing the page in a modal, we don't want the event handler living longer than the content itself.
Jonathan Rehm d85e0b96dc Prevent jQuery from cache busting static assets
If the HTML that's returned from the `$.get` request contains a `<script src="..."/>` tag it loads the JavaScript file via ajax, and by default it attaches a timestamp to it to bust cache. That means the file loads every time the modal is opened, and the browser treats it as a new file each time. The result is that code fires multiple times and events listeners are added multiple times.
Jonathan Rehm e1a88aa0ab Make change requested by Codacy
Jonathan Rehm 5c3a5b6c39 Use ajax to add/remove books from shelves
Gracefully fall back to standard requests if JavaScript is disabled
Ozzie Isaacs 2e8a268dfa Fix No1
OzzieIsaacs 6a9d8efc93 Fixes for (detection of permission errors)
Jonathan Rehm 85ce06850c Fix for Python 3
Jonathan Rehm 91ba0f0362 Resolve issues with unicode characters in author's name
I've been unable to reproduce the issue on macOS with Python 2.7/3.6 and Fedora with Python 2.7, but if it happens for others, then it's worth the change.
Jonathan Rehm 51bd2f89df Use dot notation
Jonathan Rehm c9c6529567 Use SECRET_KEY from environment variable ()
OzzieIsaacs 5985342b79 Bugfix for typeahead in search function and on edit books page
OzzieIsaacs a8aa1e7623 Merge remote-tracking branch 'button_padding/limit-typeahead-requests'
OzzieIsaacs cfa69ff4f2 Merge remote-tracking branch 'button_padding/smtp-from'
Jonathan Rehm 9683d50f36 Send mail from the FROM address instead of the login
When SMTP is configured to use a service that doesn't use an email address to log in – e.g. AWS SES or Postmark – the sendmail request fails saying the FROM address is invalid.
Ozzie Isaacs f79fb420ba Removed whitespaces
Jonathan Rehm 802eb628c8 Split event listener and selector string
Event and selectors appear to have been accidentally combined. The result is that typing in any input triggers a call to the `/get_matching_tags` route. We can probably limit the selector farther to only fire when `#tags` is typed into.
Jonathan Rehm 66231c8737 Associate label with correct input ()
Ozzie Isaacs 92f634b6a6 Bugfix link admin section
OzzieIsaacs 74e93e1cdf Code cosmetics
OzzieIsaacs 1fdb7dc497 Epub Viewer Bugfix Retenia Ipad devices
OzzieIsaacs 16ce7799a2 Improvement of margins in epub reader (fix )
OzzieIsaacs 470aea6106 Fix
Update epub.js lib
OzzieIsaacs 979bcdffd4 Bugfix non working download links
Bugfix missing divider in detail page
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
OzzieIsaacs 31e0025099 Update Translation
OzzieIsaacs 5a6ad970d8 Merge remote-tracking branch 'button_padding/magic-link'
Jonathan Rehm d799b859ea Make changes suggested by codacy
Jonathan Rehm 649579eccd Move jquery.form to layout.html
This prevents it from getting loaded each time the details are viewed in a modal dialog.
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.
OzzieIsaacs 93dfb96174 Added Translation of title for read/unread books
OzzieIsaacs f446e29276 Updater now uses correct "gid" instead of "uid" for change ownership of files (Fix for ) -> update should now working if user id differs from groupid
OzzieIsaacs 2929d95b26 Display all authors names in shelf, like on all other pages ()
OzzieIsaacs aed626b91b Merge remote-tracking branch 'button_padding/read-unread-counts'
OzzieIsaacs 254e1f5262 Merge remote-tracking branch 'button_padding/simplify-read-code'
# Conflicts:
#	cps/static/css/style.css
OzzieIsaacs 15531324ea Add translation of rich text editor
OzzieIsaacs 77c4da0f07 Merge remote-tracking branch 'button_padding/tinymce'
OzzieIsaacs 4f08608d75 Move download button to top of detail page ()
OzzieIsaacs b876a03f26 - Changed link color on download button to white
- removed file icons on download button
- removed shadow style on download button
OzzieIsaacs 6b71e77436 Merge remote-tracking branch 'Download/feature/download-icon-20170410'
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.
Jonathan Rehm b138c9edd5 Show read/unread counts
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.
OzzieIsaacs 5276bda153 Merge remote-tracking branch 'button_padding/pad-buttons'
Jonathan Rehm 4fe1536b7e Simplify the read functionality's code
* Use block label to toggle the checkbox
* Submit form when checkbox's value changes (regardless of whether mouse is used or not)
* Remove unused code
Jonathan Rehm d25300a7fb Add padding to bottom of buttons on shelf page
This adds some space between the buttons when viewing them on a mobile device.
OzzieIsaacs 752b813119 Added copyright for language names translations
OzzieIsaacs 0e8d5f158c Dutch translation included ()
Jonathan Rehm 7853cb2602 Add TinyMCE to provide rich-text editing for descriptions
OzzieIsaacs 4ea9df753e For failed logins the source ip-adress is logged now ( )
OzzieIsaacs e6c6c26fd1 No error 500 if kindlegen is not excecutable
OzzieIsaacs 0a08a07193 Fixed Deleting user
OzzieIsaacs 7ab8a5877b read PDF/TXT without temporary files ()
OzzieIsaacs 1366b36c32 Added integer-field to supported custom colums
nanu-c 3acf80c42b remove debuggingtool
nanu-c 26f314d371 support int custom fields
OzzieIsaacs 5f4d839895 Better output messages for failed kindlegen conversions (fix )
OzzieIsaacs 38fa9ce206 At deleting a book, the book is also deleted from all Shelfs, Download list and read list ()
OzzieIsaacs 2b50dea304 Updated pdf.js to 1.7.225 (Fix )
OzzieIsaacs a73372d71a Make kindlegen work again
OzzieIsaacs 6d597f96e5 Integrate Iso639 language name translations to russian translation
Pavel Korovin a305b65299 Added Russian translation
Murat L b6fccbd486 Added Google Books and Kobo links ()
* Added Google Books and Kobo links

* International link to google
Ozzie Isaacs 4259aa69df Get rid of shel=true again
Ozzie Isaacs 2d918bfb72 Fix for invalid db path
林檎 95f22aa4b5 add drop shadow to distinct the fixed area
林檎 f6076bc337 media tweak for better download placement
林檎 720c07b9ee remove empty style
林檎 45eeb6588a Change Download Style.
Ozzie Isaacs b8fa748c49 Fix on linux
Ozzie Isaacs 651961ac5e Fix
Matt Hazinski 6f7a240ce2 Ensure file paths in uploads are non-empty, fix ()
* Ensure file paths in uploads are non-empty, fix 

* Fix AttributeError in process(), handle strings of spaces
Ozzie Isaacs ede8ae6742 Fix ,
OzzieIsaacs c80e517c28 Delete books prepared for deleting on doogle drive
OzzieIsaacs 195e581aef Missing file for deletion of books
OzzieIsaacs 7667da6e12 Books now really deleted from hard disk ()
OzzieIsaacs 2b8c29c535 Further fix delete books ()
OzzieIsaacs 9c679c8908 Delete books should now work ()
OzzieIsaacs cd0d450829 Allow deleting books (fixes )
OzzieIsaacs daaee5b67e remove unused variables
林檎 b51afe3ead Code Fix
Fix pagination logic.

_ is gettext , use __ as dummy variable instead of _

Need more test.

Test on following
http://localhost:8083/opds/new
http://localhost:8083/opds/new?offset=60
http://localhost:8083/opds/new?offset=120
OzzieIsaacs 7a07edaff4 Update polish translation
Radosław Kierznowski 3c3720aa0f Update polish translation (POT: 2017-04-11 22:51)
Radosław Kierznowski ccf563023b Merge remote-tracking branch 'refs/remotes/janeczku/master'
林檎 622b1435f1 Fix
OzzieIsaacs fb43110f1c Merge remote-tracking branch 'spanish_translation/master'
OzzieIsaacs 699bd036e8 Code cosmetics
Gonzalo Cao Cabeza de Vaca 286196fa1d Updated spanish translations
OzzieIsaacs dc45b53b24 code cosmetics
OzzieIsaacs 8c7a8a954a Code cosmetics
OzzieIsaacs d59be5faf4 Code cosmetics
Bugfix upload
OzzieIsaacs ab534b21c1 Code cosmetics
OzzieIsaacs 7dd70db837 Code cosmetics
OzzieIsaacs 7c6d527a55 Code cosmetics
OzzieIsaacs 66181daf6d Merge remote-tracking branch 'custom-dbpath'
OzzieIsaacs 79d5bab4ba Code cosmetics
OzzieIsaacs 5044b78b08 Code cosmetics
OzzieIsaacs 00462237fe Merge remote-tracking branch 'chinese_translation/master'
OzzieIsaacs 986f40b80a Code cosmetics
OzzieIsaacs 78067b87bc Code cosmetics
OzzieIsaacs 395c6679b7 Fix
林檎 ebb3acecca Fix Download Bug.
Ivan Smirnov 2c173f9848 Read dbpath from $CALIBRE_DBPATH if present
This is an exploration in potentially enabling multiple libraries to run using the same engine. 

Since app config is all in the db, we should get no port conflicts and be able to run multiple instances of this app with no issues.

Using os.getenv instead of os.environ.get allows us to provide CALIBRE_DBPATH inline with the invocation of the file (`CALIBRE_DBPATH=/foo/bar/` python cps.py)
idalin 4d8b43bd54 update Simplified Chinese translation
Radosław Kierznowski 55ee323ca1 Merge remote-tracking branch 'refs/remotes/janeczku/master'
# Conflicts:
#	cps/translations/pl/LC_MESSAGES/messages.mo
#	cps/translations/pl/LC_MESSAGES/messages.po
OzzieIsaacs cbc807f3ff Fix
OzzieIsaacs 60f3fefaec Added Read/Unread to feed
Prevent books from getting multiple times added to shelf
Updated German Translation
OzzieIsaacs 33427d7610 Bugfix opds feed for lists
OzzieIsaacs 0e0e72fb71 Fixes for gevent/gdrive
Radosław Kierznowski 9c5fe444e6 POT: 2017-03-12 19:10
Jack Darlington 3916205a95 Gdrive optional
Jack Darlington b352bbfd14 Fix for gevent as optional
Jack Darlington 06a4af44cc Merge branch 'master' into develop
# Conflicts:
#	cps/web.py
OzzieIsaacs a87fab8774 - Smaller cover picturees on small devices
- filename for download with underscore
Jack Darlington ff89d9c20d Merge branch 'master' into develop
Kennyl 59bf568f7e Merge branch 'master' into fix/python3-patch-20170308
Jack Darlington 29462e2278 Fix for updater
Jack Darlington 7d31abf920 added jquery.form.js to project locally
Jack Darlington 537977e497 Changed “have read” to checkbox
Jack Darlington 8f2088a3ea Updated use google drive checkbox
Jack Darlington 5a2e77baaf fix for form input ID
OzzieIsaacs 74a3e6842a Merge remote-tracking branch 'kennyl/travis'
# Conflicts:
#	cps/web.py
OzzieIsaacs b081bc8672 Fix
OzzieIsaacs 16cac6ac4f Merge remote-tracking branch 'polish_update/master'
# Conflicts:
#	cps/translations/pl/LC_MESSAGES/messages.mo
#	cps/translations/pl/LC_MESSAGES/messages.po

Fix for 
Jack Darlington 2ffa847803 Merge branch 'master' into develop
Jack Darlington dad251d02c Fix for revoking already expired channel (drive)
Radosław Kierznowski 89fa9eb02f Update polish translation
Calibre Web - polski (POT: 2017-03-11 09:09)
OzzieIsaacs dbf07cb593 Updated translations
林檎 2ef4933f7a Merge branch 'feature/download-suffix-20170309' into travis
# Conflicts:
#	cps/templates/detail.html
林檎 045419e880 Fix
For WebUI only
OPDS remains previous behaviour
林檎 a766784ef1 Merge branch 'feature/download-suffix-20170308' into travis
林檎 d7d29827f4 fix behind
林檎 7bae79d826 fix conflict
林檎 a7d361a0ff merge conflict
林檎 dcc0958c39 Merge branch 'master' into travis
# Conflicts:
#	cps/epub.py
#	cps/web.py
#	readme.md
林檎 8c625dfb93 Fix
For WebUI only
OPDS remains previous behaviour
林檎 d7afbdc349 use quote instead of urllib.quote
林檎 108302ff9b remove dependency on future function
no need six or future if there is only one function.
Jack Darlington e3a2bd348c Merge branch 'develop' into personal
Jack Darlington 6ab8d0330a Fix for editing book cover with drive + fixed found bug that has_cover not set
Jack Darlington 21b1a45023 Merge branch 'develop' into personal
# Conflicts:
#	cps/web.py
Jack Darlington cf1ca21bbc Merge branch 'master' into develop
# Conflicts:
#	cps/db.py
#	cps/ub.py
#	cps/web.py
#	readme.md
#	requirements.txt
OzzieIsaacs a752e62963 Fix Import problem on python2
OzzieIsaacs c725afc3a8 Merge remote-tracking branch 'JackED42/feature/ignorable_columns'
OzzieIsaacs 38c782fcf1 Merge remote-tracking branch 'Douban/prod'
# Conflicts:
#	cps/templates/book_edit.html
OzzieIsaacs 80f1276624 Merge remote-tracking branch 'gitignore/fix/syntax-python3-20170305'
# Conflicts:
#	cps/db.py
#	cps/web.py
#	requirements.txt
OzzieIsaacs acac0570e5 Merge remote-tracking branch 'use_pip/use-pip'
# Conflicts:
#	cps.py
#	readme.md
#	vendor/wand/api.py
#	vendor/wand/drawing.py
#	vendor/wand/exceptions.py
#	vendor/wand/image.py
#	vendor/wand/version.py
OzzieIsaacs 72ec9a9f17 Merge remote-tracking branch 'gitignore/fix/patch-issue-20170307'
OzzieIsaacs edadf84710 Added editing star rating graphically
Added ability to reload database connection (refresh problem)
Bugfix display hot books (no hot books, hot books are deleted books, no longer result in error 500)
林檎 53cc84ec18 #fix 148
Kennyl fc10f55bd4 Merge branch 'master' into fix/syntax-python3-20170305
林檎 7a14101d6f Merge branch 'master' into travis
# Conflicts:
#	cps/helper.py
#	cps/web.py
idalin bdf28e1475 fix bug for metadata searching result.
idalin a6b2977286 add i18n message for getmeta feature.
idalin f8e4bed8bf Merge branch 'janeczku-master'
Jack Darlington a1cb349fda Merge branch 'develop' into personal
Jack Darlington e4a27be1a9 Made stream download for normal download as well as odds
Jack Darlington e3e26d418d Finished code to chunk successfully.
Jack Darlington 10b129cb07 add timestamps
Jack Darlington 76e8117b0c initial version
Jack Darlington 3ba76526ee Merge branch 'master' into feature/ignorable_columns
Jack Darlington 475daaec75 Merge branch 'develop' into personal
Jack Darlington fabfcb2036 Merge branch 'master' into develop
# Conflicts:
#	.gitignore
#	cps/web.py
OzzieIsaacs 789a1af68f Merge remote-tracking branch 'gitignore/refactor/patch-bookmeta-20170304'
OzzieIsaacs e0c35b7420 Merge remote-tracking branch 'polish_translation/master'
# Conflicts:
#	cps/translations/pl/LC_MESSAGES/messages.mo
#	cps/translations/pl/LC_MESSAGES/messages.po
OzzieIsaacs 26438f97ab Bugfix Filename without unidecode dependency
林檎 07ad73caca Merge branch 'fix/syntax-python3-20170305' into travis
林檎 297a08cd5f xrange fix
range to xrange
林檎 dc985e76df python3 fix
林檎 3421db2096 Merge branch 'fix/attachment-patch-20170305' into travis
林檎 0c9eacb024 fix opds
林檎 376eb8752e wrong conflict merge
林檎 3369972073 Merge branch 'fix/syntax-python3-20170305' into travis
# Conflicts:
#	cps/epub.py
#	cps/web.py
林檎 4dfa157161 use condition rather than try/catch
林檎 6e3d4877ed Change exception from legacy code.
Change all except: clause to except Exception as e:  for further revise.
林檎 0bc4f52783 Fix except clause
except: will catch specific error.
林檎 80bcf131ee add requirement.txt
林檎 1da3b57f5a no need future module for python2
fix missing StringIO
林檎 bf8688fee1 missing urllib migration
林檎 da8d0c2a9f Merge branch 'fix/syntax-python3-20170305' into travis
林檎 c3fd205b7d fix /stat
林檎 b70191ca2a Least change to adapt with python3
change some syntax
- except clause
- unicode -> bulitins.str
- sqllite uri
- fix import local path
- 01 to 1  (0 is meaningless)

add module
- future
- builtins (from future)
- imp (python3 )
- past (from future)
- sqlalchemy (update one)

refer to
http://python-future.org/compatible_idioms.html
林檎 2c32696417 Merge branch 'fix/slugify-filename-20170305' into travis
林檎 35b9e423ec Merge branch 'fix/attachment-patch-20170305' into travis
林檎 9ca88840eb “-“ is removed at helper ,
so use “_” instead
Radosław Kierznowski cbc47c754e Update polish translation
I fixed some of the phrases more understandable.
林檎 e845bdbd56 Fix attachment filename
File attachment should be url encode rather than utf-8 format
林檎 a850e64bfb Refactor cover detection
obsolate hardcode %cover_id%= ‘cover’ in <pkg:item name=%cover_id% href=%coverfile%>
now  %cover_id% retrieve from <meta name=“cover” content=%cover_id%>
林檎 29f21480ab Reuse original code logic.
iteration loop dc:*  add dc:language

removal of bookmeta[‘comments’] , reusing bootmeta[‘description’]
Jack Darlington c702b14340 Fixes for READ/UNREAD
Jack Darlington 27cbab6cb7 Fixes for READ/UNREAD
OzzieIsaacs 8c7ba2ccdf Merge remote-tracking branch 'gitignore/bookmeta-patch-20170302'
# Conflicts:
#	cps/epub.py
林檎 1a10859a57 When upload pub, add description to comment accord opf file
Jack Darlington 015d82ae2b Revert "Merging ignorable columns"
This reverts commit 8745d65ff6.
Jack Darlington b6da3c3153 Fix for read/unread for anonymous users
Jack Darlington fb6a37eec3 Update for covers download via opds + inserts permissions if needed (only available with a link)
Kennyl 19f939a46c Update epub.py
initialize covefile to None first
林檎 d5e525305d Lower case text, some epub have uppercased which is beyond iso639 standard.
林檎 13b4ae4c24 more error adaptive
林檎 879510da82 Upload support detection of language
林檎 4afb486986 add languages field for BookMeta
Jack Darlington df9124f78b Fix OPDS download
Jack b8137d2c70 Fixing error with uploading new book / metadata as file was being backed up
Jack Darlington 8e85d1b5bd Merge branch 'develop' into personal
Jack Darlington 78abf81b2f Fix for editing metadata and uploading for GDrive
OzzieIsaacs 896dc04648 Merge remote-tracking branch 'gitignore/cover-patch-20170301'
林檎 583380e71a path join bug
, instead of + because get_main_dir is not endswith os.sep
林檎 9a2877ebd5 situation when opf file content is
<meta name="cover" content="cover.jpg"/>
林檎 7972b987d4 Read img tag of cover file if cover is (x)html
for example
‘<item id="cover" href="Text/cover.xhtml" media-type="application/xhtml+xml”/>’
Jack Darlington 8745d65ff6 Merging ignorable columns
Jack Darlington 141eb7901c Add ignorable columns
Jack Darlington ee5870c6cf Merge branch 'master' into develop
idalin 338ca61cf9 fixed douban api not working in some cases
idalin f44574af67 update Chinese translation.
idalin 54bc299e88 get metadata from douban and google while editing.
idalin e100702345 get metadata from douban and google while editing.
Radosław Kierznowski 9dfd30e6f3 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	cps/translations/pl/LC_MESSAGES/messages.mo
#	cps/translations/pl/LC_MESSAGES/messages.po
Radosław Kierznowski 2f7fd1d957 Aktualizacja stanu tłumaczenia
Radosław Kierznowski 76c907484b Merge remote-tracking branch 'refs/remotes/janeczku/master'
OzzieIsaacs 90aa269e92 Merge remote-tracking branch 'polish_translation/master'
@radzio1993 : Thanks
Radosław Kierznowski 36264e7400 Update polish translation (POT: 2017-02-20 19:47)
Jack Darlington d9c48a6203 Merge branch 'master' into develop
# Conflicts:
#	cps/db.py
#	cps/web.py
Radosław Kierznowski 9ec5303fdc Update polish translation (POT: 2017-02-20 19:47)
OzzieIsaacs 679effbaef Bugfix placement of "recent downloads in "edit user section"
OzzieIsaacs 156a653c49 Make better usage of big screens in lists
OzzieIsaacs 00763d6e4c Read book is now tied to the right downlolad books for guest users (fixes )
OzzieIsaacs 1a83ad713c Additional version info for sqlite database
Ozzie Isaacs b876505f22 Delete doubtable.js
OzzieIsaacs 40c6ef3a18 More generic aproach for postion of epub coverfile ()
idalin 4a2b5b46a3 merge
idalin 2f1fdab9de delete douban_meta.js in master.(This is for Chinese user only)
idalin d6dd28e703 limit search results to 20
OzzieIsaacs 41a20fe3e1 Added version info of dependencys in about section
OzzieIsaacs 0277d08706 Merged .
Thanks @idalin.
I think this solves permanently sending to kindle issues like ()
idalin c98617a1cb Merge branch 'master' into prod
idalin 3dcfebca60 update translations
idalin b488af4c76 Merge branch 'master' into prod
idalin 9020c35819 fixed send to kindle not working problem for some smtp provider.
idalin a09a2d9ed0 Merge branch 'master' into prod
Jack Darlington 51bd888765 Fix registering watch callback
Jack Darlington 82d01c9001 Merge branch 'master' into develop
# Conflicts:
#	cps/web.py
Jack Darlington 7b709c15c2 GitIgnore update + fixes for initial setup
OzzieIsaacs 7e19e1dd9d Added Publisher and search/advanced search/opds search for publisher
Jack Darlington 6d30382ae0 Initial gdrive commit
Work on watching metadata

More efficient storing folder keys to database

Nearly completed. Need to do final touches to callback for when metadata.db updated on real server, as cannot test locally

Changed callback for file changes from being hard coded to mine

used url_for in template as apposed to hard coded links

Fix to drive template

First attempt at redownload metadata.db

Fixed incorrect call to downloadFile

Added logging

Fixed call to copy file

Added exception logging to gdriveutils + fixed string long concat

Fix file download

Fix backup metadata

Added slashes to paths

Removed threading temporarily

Fix for reloading database

Fix reinitialising of variables

Fix check to see if custom column already setup

Update to showing authenticate google drive callback + fix for reinitialising database

Fixed logic for showing authenticate with google drive
OzzieIsaacs 6ec4e0a651 Bugfix Updater
Improved logging
idalin 80e6311b93 fetch metadata from douban while editing metadata
OzzieIsaacs 709fa88c62 Navbar reduced to icons on smaller screens
Feedback updater improved ()
Jack Darlington f71fa5d935 Accidentally committed WIP google drive integration
Jack Darlington d29d079d15 Now shows read in website, and can be toggled by clicking, two extra options in sidebar (read/unread books)
OzzieIsaacs 3cadde6579 Fix for ()
OzzieIsaacs eaccc3f408 Merge branch 'master' of https://github.com/janeczku/calibre-web
OzzieIsaacs e712649612 Improvement for , higher contrast of hamburger menu
Improvement for , search is excluded from mobile view
Ozzie Isaacs 075c4c58e7 Revert os.rename to os.renames
OzzieIsaacs ad40a2b5a6 Bugfix parsing publishing date with milliseconds ()
OzzieIsaacs ed459ddb9b Bugfix display of commit date
OzzieIsaacs 93b19165cf Added polish in readme to supported UI languages
Handling of missing tags in fb import
naming of path is more imitating calibre (replacement of special characters, "pinyining" of author names if unidecode is available )
Sorting of authors (similar to calibre for jr./sr./I..IV endings)
bugfix pathseparator on windows and linux during upload
bugfix os.rename for authordir
publishing date on detailview is formated according to slected locale
filename on downloading from web ui is now correct displayed
added ids to html for testing
OzzieIsaacs 13caa54aad Merge remote-tracking branch 'Polish_translation/master'
# Conflicts:
#	cps/translations/pl/LC_MESSAGES/messages.mo
#	cps/translations/pl/LC_MESSAGES/messages.po
Radosław Kierznowski 437358d685 Updated Polish translations (170210.2017)
The update is based on the .pot file on 2017-02-10 20:17
OzzieIsaacs 1692044d46 Merge remote-tracking branch 'default_user_settings/master' ()
OzzieIsaacs 8ededba350 Merged (polish translation)
Radosław Kierznowski c49d5e22cd Upload polish version
Radosław Kierznowski b686498593 I added Polish translation calibre-web
Translation requires a small fixes.
idalin bff86f02ca settings for default role of new register user
idalin df2eb82408 Merge branch 'master' of github.com:janeczku/calibre-web into janeczku-master
OzzieIsaacs ba8e107402 Move vendored css/js to libs folders to fix language stats
OzzieIsaacs ea305ff578 Merge remote-tracking branch 'origin/move-js-libs'
OzzieIsaacs 98ed740e73 Fixed missing js files for sorting shelfs
janeczku 13919a1d23 Move vendored css/js to libs folders to fix language stats
idalin 219f36be0e Merge branch 'master' of github.com:janeczku/calibre-web into janeczku-master
OzzieIsaacs 7957827b2d Merge branch 'env-port'
janeczku 0e883f0b46 Allow overriding default port with environment variable
janeczku 8d9ed56864 Fix typo; raise exception when creating database
idalin a1cca00ba3 Merge branch 'master' of github.com:janeczku/calibre-web into janeczku-master
OzzieIsaacs 63379fe5db Fix for
OzzieIsaacs 18a06e4a25 Fixed typeahead with reverse proxy
fixed marking of tags in advanced search
seperated js and html
idalin 9ef8aa7914 Merge branch 'master' of github.com:janeczku/calibre-web into janeczku-master
OzzieIsaacs d5a64baf13 Bugfix name to id
Ethan Lin e92d78870b Merge pull request from janeczku/master
Fix for simplified chinese language
OzzieIsaacs 4e73b11735 Fix for simplified chinese language
Ethan Lin 29fd395433 Merge pull request from janeczku/master
merge from janeczku
OzzieIsaacs 241c4cef8f - added best rated section in normal view
- added most downloaded section in opds view
- imporved fb2 upload, correct handling of missing elements
- author sort is set on editing and uploading files
- Encoding stuff on uploading files
OzzieIsaacs ee91fc03ef Bugfix Id instead of names in url
idalin 23969b18f5 update translations
idalin f11b123686 merge conflicts
OzzieIsaacs 861920af88 Pubdate is now showing up ()
Bugfix links in  detailview
OzzieIsaacs e46320b12f folders now relying on ids not names (removes all encoding issues on link folders)
Language filter working in opds feed
removed redundant code
authos now paginating in opds feed
OzzieIsaacs 176c7dce70 - Fix for
- Fix migration of shelf order
- fix show random books in detail view for authors and series
OzzieIsaacs f21c65ac50 - Bugfix Migration of database for config_log_level
- Bugfix Updater deleting temporary sourcefolder
OzzieIsaacs c45968a1ed Bugfix Updater
OzzieIsaacs 296d2615fe Code cosmetics
OzzieIsaacs 9b09de12b5 Bugfix update (still not working correct)
OzzieIsaacs af0417758c Bugfix change permissions during update
OzzieIsaacs 1d3be7f4c6 Bugfix Git ident id
OzzieIsaacs b1293c84bc - Implemented autoupdater for testing
- failed logins are logged
- no of backups for log-file increased to 2
OzzieIsaacs 935b6e3143 Code cosmetics
Bugfix download opds
added changable title to opds feed
removed unused search.xml file
OzzieIsaacs e9d0bff559 - added statistics for Tags and series
- Loglevel is displayed as text instead of value
OzzieIsaacs e00a6741c7 Updated language files
OzzieIsaacs 2c615fdf05 Finalize graphical setup for calibre-web
OzzieIsaacs 75c89c28e1 Bugfix for accessing config database
Title now displaed on every page
Title can be changed from within application
OzzieIsaacs 4eee58c21c Started migration of config to app database
OzzieIsaacs a2a48515d4 Fixed language and locale preset for new users
idalin 348a7fd24c merge janeczku-master
idalin e4ac186f3c temp
idalin 04729ae8ac update translations
idalin 15d314db33 update translations
OzzieIsaacs 93b020b77c Proper handling for non existing covers in calibre database
OzzieIsaacs a40322468a Update Translation file Informations
OzzieIsaacs 689aca276c Update Translation file Informations
OzzieIsaacs fd9740f758 Updated translation
OzzieIsaacs afdfb30d80 Update email settings
OzzieIsaacs 0967b03a22 Merge branch 'master' into patch1
OzzieIsaacs 5a8dd19b4b Bugfix Authentication for opds search calibre companion
idalin 4bf5c05b8b fix wrong translations
idalin ac5d39dfd8 fix wrong translations
Ethan Lin 9303fce5fd Merge pull request from janeczku/master
Bugfix search in opds feed ( again)
idalin 9f1f678bef reset to last commit url_for without _external
OzzieIsaacs 12c80800ed Bugfix search in opds feed ( again)
Bugfix link generation for calibre-companion with reverse proxy ( again)
idalin 4a2f67bc00 fixed url_for return without port when port is not the standard port.
idalin eb22fbf9fa fixed url_for return without port when port is not the standard port.
idalin 0458ea5acb fixed wrong translations. fixed smtp with ssl has no response.
idalin 6fcd65b4ce added identifier for Douban
OzzieIsaacs e5d881edf8 Bugfix empty search for opds feed
OzzieIsaacs 4b8fdb04e6 Improvement mimetypes for downloaded files
OzzieIsaacs 99430fc98e Bugfix ().
- Fixed download with anonymous user in opds feed
- Added mor filetypes to opds feed, if unknown filetype, nothing is published instead of mobi
OzzieIsaacs 2335252b1f Merge branch 'Chinese_tanslation' ()
Thanks @idalin user language should be detected from browser, or otherwise with enabled anonymous browsing it can be selected as admin (configure language for user guest). Annymous browsing can be deactivated afterwards
OzzieIsaacs fb59647b82 Code cleanup in js and css folders
OzzieIsaacs 8759edd587 Calibre-companion now working ()
OzzieIsaacs 799d54bb24 Download with calibre-companion now working ()
OzzieIsaacs 0107c52b66 Anonymous account now can also be configured like normal user (e.g. download permissions, change visibility of sidebar) ()
Search now working for calibre-companion (), download not working yet
metadata view 80% finished
OzzieIsaacs beca61a596 Nonexisting books are deleted from downloaded list ()
OzzieIsaacs c6d1c186f0 Metadata viewing should work with calibre-companion now ()
OzzieIsaacs 6cf82dc9b9 Loading further items in calibrecompanion should now work ()
idalin 9f65eae024 add default language configuration
idalin 571bec6363 add Simplified Chinese translation
OzzieIsaacs 9927a6cc71 Covers should now be downloadable with calibre-companion ()
OzzieIsaacs c13a2a4557 OPDS Marvin (and Marvin 3) now really work ()
OPDS should now also work with reverse proxy configuration
Changed readme (reverse proxy configuration)
No progress for calibre companion
OzzieIsaacs a16321179d Improvements for OPDS on iOS with Bookari- and Chunky-Reader
OzzieIsaacs 8494cb698c Changed order of checkbox and label for SSL in SMTP Settings
OzzieIsaacs c7b35250c6 Bugfix E-Mailsettings
OzzieIsaacs 3590665614 Added goodreads link (fnally closes )
OzzieIsaacs ea2e8205e3 Added code for rearranging shelfs
OzzieIsaacs 490f8ef5f2 Shelfs of diffrent users can have the same name now
Removing ratings by giving a rating of zero is now possible (like in calibre)
OzzieIsaacs 453d04b566 Final fix for (reverse proxy error)
renamed admin_user to admin
added configuration infos inm admin panel
OzzieIsaacs 0bcdbc4a82 Bugfix Search opds feed
Improvement OPDS feed for displaying covers
OzzieIsaacs f434511db8 Fixed lout issue with redirects
fixed database migration problem which was introduced with the shelf order commit
OzzieIsaacs cf01f7ce61 Merge pull request from smartcitiescommunity/master
Add Spanish Translation
Thank you very much @juanfernandovillahernandez
OzzieIsaacs 157a2e6e4a Renamed feed to opds for better compatibility with some readers
added clickable links to feed (should hopefully solve )
updated readme
OzzieIsaacs e744ccc20e Bugfix for links with reverse proxy and shelfs
OzzieIsaacs a8f7fde333 Bugfix PDF Reader with reverse proxy ()
Bugfix Txt Reader
Bugfix for loading covers with reverse proxy
Juan Fernando Villa Hernández c187c8b9c4 Archivo mo del archivo messages.po
Archivo mo del archivo messages.po el cual esta traducido a el español
Juan Fernando Villa Hernández 5831a20d76 Traducción a el español
Archivo de traducción a el español
OzzieIsaacs c33a329f08 Add search for series and languages ()
Add database migration for shelf ordering ()
OzzieIsaacs fac83a10eb Added display and linking of IDs (Amazon, ISBN, and DIO Links are working)
OzzieIsaacs e0459eb62b Removed unused wishlist code
Added renaming of shelf name
Added sorting abilty to shelfs
jquery is loaded locally now
OzzieIsaacs ba44a15891 changes for
Code cosmetics
:
- More debug infos for kindlegen and sending e-mail.
- Button for sending test e-mail.
- timeout of 5min for sending e-mail
OzzieIsaacs c582ccf79c Fix for
OzzieIsaacs 811975f1a4 Added french translation
OzzieIsaacs b878651e4e Bugfix epub-Reader
OzzieIsaacs 0aa3ff4f6d Remove trailing spaces from username during login
Upload of books working on windows without errors
OzzieIsaacs b86864b407 Made kindlegen working on windows (including paths containing umlauts)
Added back buttons on edit mail, edit user, and edit book
OzzieIsaacs bbf6d9b026 Translation of UI (german and english)
Bugfix for feeds
    - removed categories related and up
    - load new books now working
    - category random now working
login page is free of non accessible elements
boolean custom column is vivible in UI
books with only with certain languages can be shown
book shelfs can be deleted from UI
Anonymous user view is more resticted
Added browse of series in sidebar
Dependencys in vendor folder are updated to newer versions (licencs files are now present)
Bugfix editing Authors names
Made upload on windows working
OzzieIsaacs a6b6700a73 Removed non working search from epub viewer
OzzieIsaacs 313116dca7 Uploader is working on windows
OzzieIsaacs 12db39523c Merge branch 'master' of https://github.com/wuqi/calibre-web
# Conflicts:
#	.gitignore
#	cps/static/css/colors.css
#	cps/static/css/style.css
#	cps/web.py
OzzieIsaacs 05189f78bc Fix for
OzzieIsaacs 7df88e70a3 First step fix for wrong search adress
@ jschuck, @jgillmann, could you please confirm that you can search now?
Do you still have logout/login problems? -> redirects to Hostname instead of hostname/calibre?
(got this too with apache server, where as search worked before)
OzzieIsaacs 753a0a82a1 Fix for advanced search
ouzklcn cd88af32f2 add fix for kindlegen conversation error
OzzieIsaacs 897c1648bb Add fix for remove trailing spaces
Cervinko Cera 8a9b4e7fc7 remove print
Cervinko Cera 0f8c308973 Fix for deleting kindle mail adresee
Cervinko Cera eb8b9bf166 Fix for missing metadata in pdf files
Cervinko Cera ae1ecf6542 Fix for missing metadata in pdf files
cervinko 52ba2adf73 Merge pull request from OzzieIsaacs/patch-1
Fix for  DB_ROOT not found
cervinko 79f373d4e6 Merge pull request from OzzieIsaacs/patch-2
Fix for non Ascii Characters in database paths 
cervinko df5ab3d294 Merge pull request from OzzieIsaacs/patch-3
Fix 
Cervinko Cera 8159cf6b1a Merge remote-tracking branch 'upstream/master'
merge with upstream
Cervinko Cera 2b2d485730 upload more than pdf fixes
Cervinko Cera f5773cc75f resolve conflicts with PR 30
OzzieIsaacs 59136a9cc2 Linux path problem solved (finally)
OzzieIsaacs 5a0faf9950 Now working on linux, too
OzzieIsaacs 9aac40bfc4 Fix
Series and custom composite coloums are also excluded in the view
OzzieIsaacs 3b5be5dbc4 Update db.py
OzzieIsaacs da83af092a Fix for encoding issue
OzzieIsaacs 624737d2e2 Fix for DB_ROOT not found
wuqi f2de1d4c47 change google fonts to local
wuqi 26c293308c mouse wheel
wuqi b846cc11d8 fix some error
Fix TypeError: 'bool' object is not callable
Joel Gillman a7117228aa
Update Google Font protocol to HTTPS
wuqi 3a54ff0eb4 browser icon change back
wuqi ab97ead264 merge test
wuqi 350f4e21e6 Add txt reader
add txt file reader,and add select for read the book
janeczku d051a1dbeb Fix login/logout redirect with reverse proxy
janeczku f95ac38c54 Fix redirects with reverse proxy
See 
janeczku 34e11fab79 Support reverse proxy subdirectory
Closes 
wuqi 9a8d795eff Update epub reader and pdf reader
Update epub reader and use pdf.js tu view pdf files
Pavel Yakunin 8a9c97bf69 fb2 uploading
Pavel Yakunin 8b5bd61467 fb2 uploading
janeczku 82574d2118 Support SMTP without authentication
janeczku 91eb7129ac Update epub.js
janeczku 62f9120a0f Merge branch 'zip-check'
janeczku e42f768909 Check if epub file exists before trying to extract
janeczku 374cfd866d Disable autocomplete in user edit
janeczku 46c83bbe8b Fix recursive path creation
janeczku af1691f919 Fix missing import
Pavel Yakunin 43d6077815 cleanup
Pavel Yakunin 18e341d650 epub uploading
Pavel Yakunin dc5074a865 default upload logic
Pavel Yakunin 44df873f33 logging, tmp cleanup
Pavel Yakunin 027e103ce3 refactoring to make adding new formats possible
Jan B db70e47557 Merge pull request from cervinko/feature-advanced-search
add advanced search
Cervinko Cera c26eb6aa08 add exclude tags to advanced search
Cervinko Cera 80c3c19c01 some fixes for advanced search
Cervinko Cera 7fce28790d add search_form.html
Cervinko Cera 431b6009a5 add advanced search
janeczku 1e2a6f2ffb Fix session.rollback on admin account creation
janeczku 3719b7e4eb Add ANON_BROWSE configuration option
Cervinko Cera 3833079973 assign admin all rights in create_admin_user()
Cervinko Cera 8f4c444929 add basic auth for feed sites
Cervinko Cera f66d7ce29b add permission for changing own password
Cervinko Cera bc35250f28 permission fix in user_edit.html
Cervinko Cera c7b7b3866e add user-permission management
Cervinko Cera b2146ba4b9 add support for is_multiple custom columns
Cervinko Cera 3f1a54ea59 fix typo in detail.html
Cervinko Cera b7f71e563e fix for custom column 'rating'
Cervinko Cera 931981a37a fix for custom column 'rating'
Cervinko Cera a21a9d6510 save rating as rating*2 in db and show rating/2 in interface
Cervinko Cera f57c9c5951 remove if clauses for int and float in edit_book.html
Cervinko Cera 27d5a79efb remove some commented code and debug prints
Cervinko Cera 704198655b custom columns unfinished
Cervinko Cera 202cbc26a7 custom columns unfinished
Cervinko Cera 0ee46e4b5e custom columns unfinished
Cervinko Cera 2207622bbf fix for edit page after upload
JanB 8d2a865436 Catch file permission errors when uploading PDF
JanB df480160da Handle race in database creation when running multiple WSGI instances
Cervinko Cera 88b134151d show 'better author and tags editing; partly copied from https://bitbucket.org/SpeedProg/calibreserver
Cervinko Cera 826159c432 show 'better author and tags editing; partly copied from https://bitbucket.org/SpeedProg/calibreserver
JanB 76c7cdf465 Add config option for upload feature
JanB 952d389dc5 Ship config.ini with defaults; log errors to file; fix OPDS catalog name
Cervinko Cera 1d295eb954 show 'read in browser' only for epubs
Cervinko Cera 8be85c8e5d check if wand is available, add dummy cover.jpg otherwise
Cervinko Cera 51f1453917 check if wand is available, add dummy cover.jpg otherwise
Cervinko Cera e4ffc9f2a0 set last_modified when pdf is uploaded
Cervinko Cera 4e0621479a don't show upload button for users
Cervinko Cera bda3055a19 improvements for pdf upload function
Cervinko Cera 3324669702 improvements for pdf upload function
Cervinko Cera 748dd2ad1f Merge remote-tracking branch 'upstream/master'
Cervinko Cera 3ddecc007c Adding unfinished upload function
Jan Broer 7342837aa3 Merge branch 'html-fixes'
Jan Broer 318d65bf3a Small UI fixes
* Smart truncate long titles in overview pages
* Fix responsive grid in overview
* Update favicon
Cervinko Cera cb2ac4d142 for for editing Author
Cervinko Cera a96417f2a5 fix for password edit at the admin page
Cervinko Cera a395e9f301 remove orphaned authors
Cervinko Cera c6500b7eca Merge remote-tracking branch 'upstream/master'
Jan Broer e8b2ea873c Don't send AZW formats via mail
Cervinko Cera 1a922d4552 Fix crash when 'view book after edit' is not checked
Cervinko Cera cd0aeb2857 Add Typeahead for Author input
Jan Broer 13a024a77d Add logging / Optimize CSS
Cervinko Cera d979ed89c6 Fixes for editing Authors
Jan Broer 34cd613e29 Fixes broken send-to-kindle
Jan Broer 17622c1fbf Fix download error when book title contains non-latin characters (e.g. Chinese)
Jan Broer f163ef2202 make pretty filenames for downloads; remove random books section on most pages
Jan Broer 2b846b1e6b Make shelf names required unique
Jan Broer 350285607b Add HTTP-BASIC Auth for OPDS downloads
Jan Broer 6b4ddbe946 Fix: admin functions were accessible for regular users
Jan Broer e21e974457 Add public account registration
Jan Broer ec7aafe7f0 UI: Details overhaul (buttons, language, tags)
Jan Broer 288b67d862 Show book language
Jan Broer 91c4effcec Rename "Read online" button
Jan Broer 9db94b04b1 Normal size for shelf button
Jan Broer 13f68935dd Fixes star rating CSS
Jan Broer 4fcbdfd725 Cleanup old tree
Jan Broer 79e20d13ee Changed title logo
Jan Broer af4f7396cd Fix titles and covers
Jan Broer 2e4117eac2 support for removing books from shelfs
Jan Broer 597c1ef2a8 Make cover images equal size
Jan Broer 43816c8826 Remove stale config variables
Jan Broer 6fadd175ae Add regex patterns for english sort articles
Jan Broer 3c8685c986 Don't strip html tags for book description
Fixes 
Jan Broer c92de6e539 Fix filename of book download (was pre- and suffixed with single quotes)
Jan Broer 181a35c7b5 Fix description breakline
Jan Broer a5fe21c9e0 Add APP_DB_ROOT config variable
Jan Broer 0b5b3b8424 User edit email fix
Jan Broer aef608aa10 Refactor (settings database, etc...)
Jan Broer 64a9cbce2d Initial Fork from https://bitbucket.org/raphaelmutschler/calibreserver/