Commit Graph

114 Commits

Author SHA1 Message Date
Mingyue Gao
c6f568534f fix(template): download book with capital ext by kindle's browser 2018-03-23 22:39:31 +01:00
OzzieIsaacs
21c2ee4d63 Fix for #443 2018-02-04 08:05:08 +01:00
OzzieIsaacs
5809acfa9e anonymous user now have always the right to read books (as any other user, too)
(Fix  #287)
2017-12-02 14:25:18 +01:00
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 2017-10-10 10:18:28 -04:00
OzzieIsaacs
0512e5a940 Fix #342 2017-09-30 16:25:29 +02:00
OzzieIsaacs
c56a02bab6 Fix #339 2017-09-30 15:24:18 +02:00
Jonathan Rehm
8171943b8e Update to ES5 standards
Also fix ESLint issues
2017-08-12 22:46:27 -07:00
Jonathan Rehm
c86fa268c2 Fix/remove duplicate id's 2017-07-28 20:02:53 -07:00
Jonathan Rehm
5162e2eed7 Add img alt attributes 2017-07-28 20:01:31 -07:00
OzzieIsaacs
cb5f196f4b Merge remote-tracking branch 'adv/modal-details'
# Conflicts:
#	cps/static/js/main.js
#	cps/templates/detail.html
2017-07-23 14:03:02 +02:00
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.
2017-07-22 11:24:47 -07:00
Jonathan Rehm
5c3a5b6c39 Use ajax to add/remove books from shelves
Gracefully fall back to standard requests if JavaScript is disabled
2017-07-21 21:15:03 -07:00
OzzieIsaacs
979bcdffd4 Bugfix non working download links
Bugfix missing divider in detail page
2017-07-09 12:41:09 +02:00
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.
2017-07-08 09:15:40 -07:00
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.
2017-07-08 09:15:40 -07:00
OzzieIsaacs
254e1f5262 Merge remote-tracking branch 'button_padding/simplify-read-code'
# Conflicts:
#	cps/static/css/style.css
2017-07-08 11:25:20 +02:00
OzzieIsaacs
4f08608d75 Move download button to top of detail page (#174) 2017-07-08 11:01:40 +02:00
OzzieIsaacs
b876a03f26 - Changed link color on download button to white
- removed file icons on download button
- removed shadow style on download button
2017-07-08 10:57:40 +02:00
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
2017-07-06 10:33:47 -07:00
林檎
45eeb6588a Change Download Style. 2017-04-26 17:14:18 +08:00
OzzieIsaacs
7c6d527a55 Code cosmetics 2017-04-02 10:05:07 +02:00
Jack Darlington
06a4af44cc Merge branch 'master' into develop
# Conflicts:
#	cps/web.py
2017-03-16 21:02:11 +00:00
OzzieIsaacs
a87fab8774 - Smaller cover picturees on small devices
- filename for download with underscore
2017-03-14 19:48:17 +01:00
Jack Darlington
ff89d9c20d Merge branch 'master' into develop 2017-03-13 14:56:51 +00:00
Jack Darlington
7d31abf920 added jquery.form.js to project locally 2017-03-12 21:20:09 +00:00
Jack Darlington
537977e497 Changed “have read” to checkbox 2017-03-12 21:13:14 +00:00
林檎
045419e880 Fix #146
For WebUI only
OPDS remains previous behaviour
2017-03-09 12:32:10 +08:00
Jack Darlington
b6da3c3153 Fix for read/unread for anonymous users 2017-03-02 23:56:07 +00:00
Jack Darlington
d9c48a6203 Merge branch 'master' into develop
# Conflicts:
#	cps/db.py
#	cps/web.py
2017-02-26 19:49:49 +00:00
OzzieIsaacs
00763d6e4c Read book is now tied to the right downlolad books for guest users (fixes #110) 2017-02-25 11:14:45 +01:00
Jack Darlington
82d01c9001 Merge branch 'master' into develop
# Conflicts:
#	cps/web.py
2017-02-22 22:45:19 +00:00
OzzieIsaacs
7e19e1dd9d Added Publisher and search/advanced search/opds search for publisher 2017-02-22 20:59:48 +01:00
Jack Darlington
d29d079d15 Now shows read in website, and can be toggled by clicking, two extra options in sidebar (read/unread books) 2017-02-19 20:08:22 +00:00
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
2017-02-15 18:09:17 +01:00
OzzieIsaacs
861920af88 Pubdate is now showing up (#95)
Bugfix links in  detailview
2017-02-03 13:44:13 +01:00
OzzieIsaacs
176c7dce70 - Fix for #100
- Fix migration of shelf order
- fix show random books in detail view for authors and series
2017-02-02 19:36:31 +01:00
OzzieIsaacs
4eee58c21c Started migration of config to app database 2017-01-22 16:44:37 +01:00
OzzieIsaacs
93b020b77c Proper handling for non existing covers in calibre database 2017-01-21 17:04:36 +01:00
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
2017-01-12 20:43:36 +01:00
OzzieIsaacs
a8f7fde333 Bugfix PDF Reader with reverse proxy (#86)
Bugfix Txt Reader
Bugfix for loading covers with reverse proxy
2016-12-28 11:43:36 +01:00
OzzieIsaacs
fac83a10eb Added display and linking of IDs (Amazon, ISBN, and DIO Links are working) 2016-12-27 10:36:06 +01:00
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
2016-11-09 19:24:33 +01:00
OzzieIsaacs
313116dca7 Uploader is working on windows 2016-10-30 11:44:02 +01:00
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
2016-10-24 19:04:16 +02:00
wuqi
b846cc11d8 fix some error
Fix TypeError: 'bool' object is not callable
2016-07-19 10:59:46 +08:00
wuqi
3a54ff0eb4 browser icon change back 2016-07-16 17:26:40 +08:00
wuqi
350f4e21e6 Add txt reader
add txt file reader,and add select for read the book
2016-07-16 16:44:47 +08:00
wuqi
9a8d795eff Update epub reader and pdf reader
Update epub reader and use pdf.js tu view pdf files
2016-07-09 16:54:13 +08:00
Cervinko Cera
c7b7b3866e add user-permission management 2016-04-27 10:35:23 +02:00
Cervinko Cera
3f1a54ea59 fix typo in detail.html 2016-04-21 14:46:19 +02:00
Cervinko Cera
b7f71e563e fix for custom column 'rating' 2016-04-21 12:59:49 +02:00
Cervinko Cera
202cbc26a7 custom columns unfinished 2016-04-20 19:25:47 +02:00
Cervinko Cera
826159c432 show 'better author and tags editing; partly copied from https://bitbucket.org/SpeedProg/calibreserver 2016-04-15 23:51:26 +02:00
Cervinko Cera
1d295eb954 show 'read in browser' only for epubs 2016-04-13 00:09:17 +02:00
Jan Broer
318d65bf3a Small UI fixes
* Smart truncate long titles in overview pages
* Fix responsive grid in overview
* Update favicon
2016-04-03 23:33:29 +02:00
Jan Broer
13a024a77d Add logging / Optimize CSS 2016-03-28 21:14:16 +02:00
Jan Broer
34cd613e29 Fixes broken send-to-kindle 2016-03-27 23:41:55 +02:00
Jan Broer
ec7aafe7f0 UI: Details overhaul (buttons, language, tags) 2015-10-13 01:21:46 +02:00
Jan Broer
91c4effcec Rename "Read online" button 2015-10-12 17:45:45 +02:00
Jan Broer
9db94b04b1 Normal size for shelf button 2015-10-12 17:38:05 +02:00
Jan Broer
2e4117eac2 support for removing books from shelfs 2015-10-12 03:09:56 +02:00
Jan Broer
3c8685c986 Don't strip html tags for book description
Fixes #2
2015-10-11 21:34:04 +02:00
Jan Broer
181a35c7b5 Fix description breakline 2015-08-04 04:44:51 +02:00
Jan Broer
64a9cbce2d Initial Fork from https://bitbucket.org/raphaelmutschler/calibreserver/ 2015-08-02 20:59:11 +02:00