Commit Graph

284 Commits (master)

Author SHA1 Message Date
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 c66bb54478 Fix #534 6 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
6 years ago
OzzieIsaacs 671bf5cf8d Integrated #454 (css is loaded remote) 6 years ago
OzzieIsaacs af5a897d1d Added SSL Options (#416) 6 years ago
OzzieIsaacs f6ece5fe72 Fix for #448 6 years ago
OzzieIsaacs b74a075aa6 Added posibility to change settings db via command line for multiple instances (#247) 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 8c573ff6d8 Unrar/tar and unzip on server side 7 years ago
OzzieIsaacs ba54b9a357 Fix #365 7 years ago
OzzieIsaacs af8d908bba Fix #371, #372 7 years ago
Cory Sitko 8fd67fb1fc UserBase methods should be properties not classmethods 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
unknown 70d093b193 unicode gave an NameError with python3 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 08d0404e9c Add mature_content property to Anonymous class 7 years ago
OzzieIsaacs fb8ce693f3 Bugfix mature content
Update german translation
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
OzzieIsaacs 1e2edcf753 Merge remote-tracking branch 'adv/author-info' 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
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
OzzieIsaacs 6d597f96e5 Integrate Iso639 language name translations to russian translation 7 years ago
OzzieIsaacs 9c679c8908 Delete books should now work (#119) 7 years ago
OzzieIsaacs cd0d450829 Allow deleting books (fixes #119) 7 years ago
OzzieIsaacs ab534b21c1 Code cosmetics 7 years ago
OzzieIsaacs 7dd70db837 Code cosmetics 7 years ago
OzzieIsaacs 7c6d527a55 Code cosmetics 7 years ago
OzzieIsaacs 66181daf6d Merge remote-tracking branch 'custom-dbpath' 7 years ago
OzzieIsaacs 986f40b80a Code cosmetics 7 years ago
OzzieIsaacs 78067b87bc Code cosmetics 7 years ago
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)
7 years ago
OzzieIsaacs cbc807f3ff Fix #138 7 years ago
OzzieIsaacs 0e0e72fb71 Fixes for gevent/gdrive 7 years ago
Jack Darlington b352bbfd14 Fix for gevent as optional 7 years ago
Jack Darlington 21b1a45023 Merge branch 'develop' into personal
# Conflicts:
#	cps/web.py
7 years ago
Jack Darlington cf1ca21bbc Merge branch 'master' into develop
# Conflicts:
#	cps/db.py
#	cps/ub.py
#	cps/web.py
#	readme.md
#	requirements.txt
7 years ago
OzzieIsaacs c725afc3a8 Merge remote-tracking branch 'JackED42/feature/ignorable_columns' 7 years ago
林檎 6e3d4877ed Change exception from legacy code.
Change all except: clause to except Exception as e:  for further revise.
7 years ago
林檎 1da3b57f5a no need future module for python2
fix missing StringIO
7 years ago
林檎 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
7 years ago
Jack Darlington c702b14340 Fixes for READ/UNREAD 7 years ago
Jack Darlington 27cbab6cb7 Fixes for READ/UNREAD 7 years ago
Jack Darlington 015d82ae2b Revert "Merging ignorable columns"
This reverts commit 8745d65ff6.
7 years ago
Jack Darlington 8745d65ff6 Merging ignorable columns 7 years ago
Jack Darlington 141eb7901c Add ignorable columns 7 years ago
Jack Darlington d9c48a6203 Merge branch 'master' into develop
# Conflicts:
#	cps/db.py
#	cps/web.py
7 years ago
OzzieIsaacs 1a83ad713c Additional version info for sqlite database 7 years ago
Jack Darlington 7b709c15c2 GitIgnore update + fixes for initial setup 7 years ago
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
7 years ago
Jack Darlington d29d079d15 Now shows read in website, and can be toggled by clicking, two extra options in sidebar (read/unread books) 7 years ago
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
7 years ago
OzzieIsaacs 1692044d46 Merge remote-tracking branch 'default_user_settings/master' (#105) 7 years ago
idalin bff86f02ca settings for default role of new register user 7 years ago
OzzieIsaacs 7957827b2d Merge branch 'env-port' 7 years ago
janeczku 0e883f0b46 Allow overriding default port with environment variable 7 years ago
janeczku 8d9ed56864 Fix typo; raise exception when creating database 7 years ago
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
7 years ago
OzzieIsaacs 176c7dce70 - Fix for #100
- Fix migration of shelf order
- fix show random books in detail view for authors and series
7 years ago
OzzieIsaacs f21c65ac50 - Bugfix Migration of database for config_log_level
- Bugfix Updater deleting temporary sourcefolder
7 years ago
OzzieIsaacs e9d0bff559 - added statistics for Tags and series
- Loglevel is displayed as text instead of value
7 years ago
OzzieIsaacs 2c615fdf05 Finalize graphical setup for calibre-web 7 years ago
OzzieIsaacs 75c89c28e1 Bugfix for accessing config database
Title now displaed on every page
Title can be changed from within application
7 years ago
OzzieIsaacs 4eee58c21c Started migration of config to app database 7 years ago
OzzieIsaacs 2335252b1f Merge branch 'Chinese_tanslation' (#90)
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
7 years ago
OzzieIsaacs 0107c52b66 Anonymous account now can also be configured like normal user (e.g. download permissions, change visibility of sidebar) (#35)
Search now working for calibre-companion (#79), download not working yet
metadata view 80% finished
7 years ago
OzzieIsaacs f434511db8 Fixed lout issue with redirects
fixed database migration problem which was introduced with the shelf order commit
8 years ago
OzzieIsaacs c33a329f08 Add search for series and languages (#56)
Add database migration for shelf ordering (#73)
8 years ago
OzzieIsaacs e0459eb62b Removed unused wishlist code
Added renaming of shelf name
Added sorting abilty to shelfs
jquery is loaded locally now
8 years ago
OzzieIsaacs ba44a15891 changes for #77
Code cosmetics
#75:
- More debug infos for kindlegen and sending e-mail.
- Button for sending test e-mail.
- timeout of 5min for sending e-mail
8 years ago
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
8 years ago
OzzieIsaacs 59136a9cc2 Linux path problem solved (finally) 8 years ago
janeczku 1e2a6f2ffb Fix session.rollback on admin account creation 8 years ago
Cervinko Cera 3833079973 assign admin all rights in create_admin_user() 8 years ago
Cervinko Cera f66d7ce29b add permission for changing own password 8 years ago
Cervinko Cera c7b7b3866e add user-permission management 8 years ago
JanB df480160da Handle race in database creation when running multiple WSGI instances 8 years ago
Jan Broer 34cd613e29 Fixes broken send-to-kindle 8 years ago
Jan Broer a5fe21c9e0 Add APP_DB_ROOT config variable 9 years ago
Jan Broer 0b5b3b8424 User edit email fix 9 years ago
Jan Broer aef608aa10 Refactor (settings database, etc...) 9 years ago
Jan Broer 64a9cbce2d Initial Fork from https://bitbucket.org/raphaelmutschler/calibreserver/ 9 years ago