Commit Graph

178 Commits (f0de822ce7fdac27e5d9ca29c92952cb0d03afe8)

Author SHA1 Message Date
Jonathan Rehm a4f81dd812 Do not include empty strings in list of bookmarks 7 years ago
OzzieIsaacs c9f36a4d1a Merge remote-tracking branch 'adv/bookmarks' 7 years ago
Louis Jencka b3217496d1 Add progress bar to upload form 7 years ago
Jonathan Rehm 282837c7c5 Use ES5 syntax 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 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
7 years ago
OzzieIsaacs a1538e12e8 Bugfix typeahead on advanced serach page 7 years ago
Jonathan Rehm 8171943b8e Update to ES5 standards
Also fix ESLint issues
7 years ago
OzzieIsaacs 626e2e393e Merge remote-tracking branch 'adv/edit-publish-date' 7 years ago
Jonathan Rehm 0afc8f94da Use TinyMCE's API to update the description's content 7 years ago
Jonathan Rehm dd124ab356 Make change requested by Codacy 7 years ago
Jonathan Rehm 59afc7eb9f Make changes requested by Codacy 7 years ago
Jonathan Rehm 3258f4fb79 Make changes requested by Codacy 7 years ago
Jonathan Rehm 61e0405f75 Move TinyMCE into edit_books.js 7 years ago
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)
7 years ago
Jonathan Rehm 36c2b35588 Use bootstrap-datepicker to add datepicking UI for browsers that do not have one built-in 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
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.
7 years ago
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.
7 years ago
Jonathan Rehm e1a88aa0ab Make change requested by Codacy 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
Ozzie Isaacs 2e8a268dfa Fix #241 No1 7 years ago
OzzieIsaacs 5985342b79 Bugfix for typeahead in search function and on edit books page 7 years ago
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.
7 years ago
OzzieIsaacs 470aea6106 Fix #214
Update epub.js lib
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 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 15531324ea Add translation of rich text editor 7 years ago
Jonathan Rehm 7853cb2602 Add TinyMCE to provide rich-text editing for descriptions 8 years ago
OzzieIsaacs 2b50dea304 Updated pdf.js to 1.7.225 (Fix #193) 8 years ago
Ozzie Isaacs ede8ae6742 Fix #182, #176 8 years ago
OzzieIsaacs 699bd036e8 Code cosmetics 8 years ago
OzzieIsaacs dc45b53b24 code cosmetics 8 years ago
OzzieIsaacs 8c7a8a954a Code cosmetics 8 years ago
OzzieIsaacs d59be5faf4 Code cosmetics
Bugfix upload
8 years ago
OzzieIsaacs 7c6d527a55 Code cosmetics 8 years ago
OzzieIsaacs 79d5bab4ba Code cosmetics 8 years ago
OzzieIsaacs 5044b78b08 Code cosmetics 8 years ago
OzzieIsaacs 986f40b80a Code cosmetics 8 years ago
OzzieIsaacs 78067b87bc Code cosmetics 8 years ago
Jack Darlington 7d31abf920 added jquery.form.js to project locally 8 years ago
OzzieIsaacs 38c782fcf1 Merge remote-tracking branch 'Douban/prod'
# Conflicts:
#	cps/templates/book_edit.html
8 years ago
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)
8 years ago
idalin bdf28e1475 fix bug for metadata searching result. 8 years ago
idalin a6b2977286 add i18n message for getmeta feature. 8 years ago
idalin 338ca61cf9 fixed douban api not working in some cases 8 years ago
idalin 54bc299e88 get metadata from douban and google while editing. 8 years ago
idalin e100702345 get metadata from douban and google while editing. 8 years ago
OzzieIsaacs 1a83ad713c Additional version info for sqlite database 8 years ago
Ozzie Isaacs b876505f22 Delete doubtable.js 8 years ago
idalin 4a2b5b46a3 merge 8 years ago
idalin 2f1fdab9de delete douban_meta.js in master.(This is for Chinese user only) 8 years ago
idalin d6dd28e703 limit search results to 20 8 years ago
OzzieIsaacs 41a20fe3e1 Added version info of dependencys in about section 8 years ago
idalin 80e6311b93 fetch metadata from douban while editing metadata 8 years ago
OzzieIsaacs 709fa88c62 Navbar reduced to icons on smaller screens
Feedback updater improved (#81)
8 years ago
OzzieIsaacs ba8e107402 Move vendored css/js to libs folders to fix language stats 8 years ago
OzzieIsaacs ea305ff578 Merge remote-tracking branch 'origin/move-js-libs' 8 years ago
OzzieIsaacs 98ed740e73 Fixed missing js files for sorting shelfs 8 years ago
janeczku 13919a1d23 Move vendored css/js to libs folders to fix language stats 8 years ago
OzzieIsaacs 18a06e4a25 Fixed typeahead with reverse proxy
fixed marking of tags in advanced search
seperated js and html
8 years ago
OzzieIsaacs 4eee58c21c Started migration of config to app database 8 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
8 years ago
OzzieIsaacs fb59647b82 Code cleanup in js and css folders 8 years ago
OzzieIsaacs ea2e8205e3 Added code for rearranging shelfs #73 8 years ago
OzzieIsaacs a8f7fde333 Bugfix PDF Reader with reverse proxy (#86)
Bugfix Txt Reader
Bugfix for loading covers with reverse proxy
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 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 a6b6700a73 Removed non working search from epub viewer 8 years ago
wuqi 9a8d795eff Update epub reader and pdf reader
Update epub reader and use pdf.js tu view pdf files
9 years ago
janeczku 91eb7129ac Update epub.js 9 years ago
Cervinko Cera 88b134151d show 'better author and tags editing; partly copied from https://bitbucket.org/SpeedProg/calibreserver 9 years ago
Cervinko Cera 826159c432 show 'better author and tags editing; partly copied from https://bitbucket.org/SpeedProg/calibreserver 9 years ago
Cervinko Cera cd0aeb2857 Add Typeahead for Author input 9 years ago
Jan Broer 34cd613e29 Fixes broken send-to-kindle 9 years ago
Jan Broer 64a9cbce2d Initial Fork from https://bitbucket.org/raphaelmutschler/calibreserver/ 9 years ago