Commit Graph

75 Commits (aae9e285a83e7f1a829431966a283adfbb31e2f6)

Author SHA1 Message Date
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 8 years ago
OzzieIsaacs 9c679c8908 Delete books should now work (#119) 8 years ago
OzzieIsaacs cd0d450829 Allow deleting books (fixes #119) 8 years ago
OzzieIsaacs ab534b21c1 Code cosmetics 8 years ago
OzzieIsaacs 7dd70db837 Code cosmetics 8 years ago
OzzieIsaacs 7c6d527a55 Code cosmetics 8 years ago
OzzieIsaacs 66181daf6d Merge remote-tracking branch 'custom-dbpath' 8 years ago
OzzieIsaacs 986f40b80a Code cosmetics 8 years ago
OzzieIsaacs 78067b87bc Code cosmetics 8 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)
8 years ago
OzzieIsaacs cbc807f3ff Fix #138 8 years ago
OzzieIsaacs 0e0e72fb71 Fixes for gevent/gdrive 8 years ago
Jack Darlington b352bbfd14 Fix for gevent as optional 8 years ago
Jack Darlington 21b1a45023 Merge branch 'develop' into personal
# Conflicts:
#	cps/web.py
8 years ago
Jack Darlington cf1ca21bbc Merge branch 'master' into develop
# Conflicts:
#	cps/db.py
#	cps/ub.py
#	cps/web.py
#	readme.md
#	requirements.txt
8 years ago
OzzieIsaacs c725afc3a8 Merge remote-tracking branch 'JackED42/feature/ignorable_columns' 8 years ago
林檎 6e3d4877ed Change exception from legacy code.
Change all except: clause to except Exception as e:  for further revise.
8 years ago
林檎 1da3b57f5a no need future module for python2
fix missing StringIO
8 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
8 years ago
Jack Darlington c702b14340 Fixes for READ/UNREAD 8 years ago
Jack Darlington 27cbab6cb7 Fixes for READ/UNREAD 8 years ago
Jack Darlington 015d82ae2b Revert "Merging ignorable columns"
This reverts commit 8745d65ff6.
8 years ago
Jack Darlington 8745d65ff6 Merging ignorable columns 8 years ago
Jack Darlington 141eb7901c Add ignorable columns 8 years ago
Jack Darlington d9c48a6203 Merge branch 'master' into develop
# Conflicts:
#	cps/db.py
#	cps/web.py
8 years ago
OzzieIsaacs 1a83ad713c Additional version info for sqlite database 8 years ago
Jack Darlington 7b709c15c2 GitIgnore update + fixes for initial setup 8 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
8 years ago
Jack Darlington d29d079d15 Now shows read in website, and can be toggled by clicking, two extra options in sidebar (read/unread books) 8 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
8 years ago
OzzieIsaacs 1692044d46 Merge remote-tracking branch 'default_user_settings/master' (#105) 8 years ago
idalin bff86f02ca settings for default role of new register user 8 years ago
OzzieIsaacs 7957827b2d Merge branch 'env-port' 8 years ago
janeczku 0e883f0b46 Allow overriding default port with environment variable 8 years ago
janeczku 8d9ed56864 Fix typo; raise exception when creating database 8 years ago