Commit Graph

975 Commits

Author SHA1 Message Date
Adrian Petrescu
5341910ea5
Deal gracefully with invalid Accept-Languages header
At the moment, calibre-web will raise an internal 500 error if an
invalid locale identifier is passed in through the `Accept-Language`
HTTP header (for a non-logged-in user).

This breaks some crappily-built OPDS feed readers, and there's no reason
to error out so severely. This commit just gracefully falls back to `en`
if it can't parse the locale identifier.

Fixes #743 among others.
2019-01-03 11:45:15 -05:00
Ozzieisaacs
9cfe1dce20 Fix #739 2018-12-30 14:25:03 +01:00
Ozzieisaacs
cb0f3cd074 Fix #696 2018-12-29 11:16:36 +01:00
Ozzieisaacs
d0fd1a4601 Merged new caliblur theme
Fix for new users created
Fix for options to the calibre-converter
Only the first 300 chars are logged for the emailbody (spamming of logfile is prevented)
Added class to "Random" header
2018-12-27 10:53:19 +01:00
grunjol
462cf20a34 Process all custom columns on editing 2018-12-24 13:05:47 -03:00
grunjol
00ba231fbf fix adding an existing language to a book 2018-12-24 12:32:22 -03:00
Ozzieisaacs
677264950d Merge remote-tracking branch 'ru-translation/master' 2018-12-16 16:59:22 +01:00
Anton Konyshev
e6b1c8cf36 Updated Russian translation 2018-12-14 16:27:19 +03:00
Ozzieisaacs
9057a3a0d7 Merge remote-tracking branch 'dutchtranslation/master' 2018-12-10 19:37:03 +01:00
Ed Driesen
45d97d277a Update Dutch translation
Some lines where still untranslated, fixed it.
2018-12-09 15:11:31 +01:00
Ozzieisaacs
81e3afbcc4 Fix #714 (advanced search for ratings) 2018-12-02 12:48:12 +01:00
Ozzieisaacs
7526b0dcb4 Fix #623, #715 2018-11-28 18:28:55 +01:00
Ozzieisaacs
64b1b830d6 Fix #712 2018-11-25 13:29:58 +01:00
Ozzieisaacs
863b77a5d7 Fix #711
Fixing for send to kindle after uploading
codecleaning
2018-11-25 11:25:20 +01:00
Ozzieisaacs
b78130e3b1 Merge remote-tracking branch '681/681-fix' 2018-11-25 07:19:00 +01:00
Ozzieisaacs
47424e5c1a Merge remote-tracking branch 'swedish/master'
Improved server stop command
2018-11-24 20:47:11 +01:00
Jony
bc0d19f33d
Fix typo 2018-11-23 03:03:02 +01:00
Jony
cbc9169973
Update messages.po 2018-11-23 03:01:34 +01:00
haseo
e1b6fa25e9 A better solution to #681 2018-11-19 15:54:28 +08:00
Ozzieisaacs
dfa17956c9 Merge remote-tracking branch 'bbb/295---Send-AZW-to-Kindle'
Changed function for 295, azw3 is preferred format for sending to kindle
2018-11-18 17:09:13 +01:00
Ozzieisaacs
a2b612c9ab Merge remote-tracking branch 'ssl/verify-ssl-paths' 2018-11-17 16:58:05 +01:00
Ozzieisaacs
2422f782de Fix #701 2018-11-17 16:51:30 +01:00
Ozzieisaacs
c574b779fb Added swedish translation 2018-11-17 16:41:47 +01:00
Ozzieisaacs
07d7be176c Merge remote-tracking branch 'lang/master' 2018-11-17 16:32:55 +01:00
André Santos
c6a5ac7f25 Fix wrong variable usage 2018-11-17 00:28:34 +00:00
André Santos
af216e3697 Verify if certfile and keyfile are paths to actual files
This allow to try to not use ssl if the key file path or the certificate file are broken. The files might be missing because the user intentionally removed them but didn't  update the settings first. In that situation, this change won't make the app crash, the warning is logged and that way the user has the chance to update the settings.
2018-11-16 23:32:21 +00:00
dalin
947622800c Update Simplified Chinese translation. Fix #681 in the case of Simplified Chinese. 2018-11-14 18:14:11 +08:00
Ozzieisaacs
399dffba5a log file name in case of filename not found (#691) 2018-11-03 18:37:38 +01:00
Ozzieisaacs
8d6d28eb57 Merge remote-tracking branch 'titlelink/titles-links'
Fix for #694
2018-11-03 18:02:28 +01:00
Ozzieisaacs
89bddead35 Merge remote-tracking branch 'http_error/beautify-http-errors' 2018-11-03 17:38:52 +01:00
Ozzieisaacs
38c180a9ea Update translation files 2018-11-03 14:05:02 +01:00
Ozzieisaacs
c05687b896 Fix #668 2018-11-03 13:59:11 +01:00
Ozzieisaacs
c3bec48bc7 Fix #617
Additional texts translated
2018-11-03 13:43:38 +01:00
Ozzieisaacs
c582a70498 Merge remote-tracking branch 'bbb/617' 2018-11-03 10:40:00 +01:00
Ozzieisaacs
0df35dcfea Update Updater 2018-11-01 13:47:05 +01:00
Ozzieisaacs
cc7dcfb35a Update Updater
Bugfix author in opds-feed
2018-11-01 13:44:00 +01:00
Ozzieisaacs
c1818e8f36 Fix for #672 2018-10-30 22:33:19 +01:00
Ozzieisaacs
ee85492c7d Fix #662 2018-10-30 21:47:33 +01:00
Ozzieisaacs
5fc742c9c4 Fix #690 2018-10-30 19:29:33 +01:00
Ozzieisaacs
3f83be00fd Fix #687 2018-10-29 20:38:09 +01:00
Ozzieisaacs
6ec9bc9e5c Bugfix Publisher (upper/lower case, remove publisher, publisher visibility on new users)
404 messages on non existing categorys, languages, series
Updated Testresult
2018-10-28 21:33:12 +01:00
Ozzieisaacs
e080c74032 Merge remote-tracking branch 'ru-translation/patch-2' 2018-10-28 14:10:06 +01:00
OzzieIsaacs
58df19972f Merge remote-tracking branch 'hungarian/loc-hu'
Update spanish language
2018-10-15 20:33:54 +02:00
otapi
1201d4086f
Few termchanges 2018-10-11 18:14:57 +02:00
Chintogtokh Batbold
13883db5a0 Add anchor tags to titles 2018-10-09 11:52:16 +00:00
otapi
922e21438c
Minor fix 2018-10-06 21:42:03 +02:00
otapi
32366ab1ba
HU translation fixes 2018-10-06 21:32:53 +02:00
otapi
62d172f1e0
Delete dummy 2018-10-06 21:05:32 +02:00
otapi
67ecc2c088
HU translation 2018-10-06 21:04:55 +02:00
otapi
81a3b85c07
Create dummy 2018-10-06 21:02:53 +02:00
Victorhck
c09b7f39a5 spanish translation finished 2018-10-05 11:28:06 +02:00
Victorhck
b32ee84d4f update Spanish translation (WIP 2018-10-04 13:02:25 +02:00
bodybybuddha
ee686b5379 Fix for #617
Task table: Status column and task messages have been localized
	Cleaned up the use of the task fields 'typ' and 'type' to be taskType and taskMessage
2018-10-03 15:58:37 -04:00
Ozzie Isaacs
7253f583cf Fix #650
Improved testablility
Added feedback for book_edit -> stay on edit page
2018-10-03 21:18:08 +02:00
bodybybuddha
54f8680058 Merge branch 'master' of https://github.com/janeczku/calibre-web into 617 2018-10-03 11:58:25 -04:00
OzzieIsaacs
40cc25de7a Merge remote-tracking branch 'bbb/621'
Fixes after testing
2018-10-03 14:03:08 +02:00
bodybybuddha
d8107fb50f Addressed Codacy trailing space items ... again 2018-10-02 10:22:01 -04:00
bodybybuddha
46b2c9919a Fix for #295
Allow for azw and azw3 files to be "sent" to kindle - these books are actually converted to mobi first
2018-10-01 15:35:51 -04:00
bodybybuddha
1144d97bc1 Fixed updating new book format to be all caps in database
This keeps us inline with calibre's behavior.
2018-10-01 15:34:16 -04:00
bodybybuddha
5d34fd7fec Send to Kindle button precheck added
Based on existing book formats and which converter (if any) determine if button can be seen.
2018-10-01 14:19:29 -04:00
Virgil Grigoras
a798dc94a9 Satisfy "Codacy/PR Quality Review" 2018-10-01 10:45:51 +02:00
Virgil Grigoras
60e9d01d27 Beautify http errors 2018-10-01 10:35:13 +02:00
Virgil Grigoras
1ac9b3d837 Update OPDS-part to display publishers 2018-09-30 18:48:36 +02:00
Virgil Grigoras
6a007ec881 fix indentations 2018-09-30 18:42:48 +02:00
Virgil Grigoras
5129bc3601 Add entry for publishers to the left menu (+ setting for showing / hiding) + separate publisher page 2018-09-30 18:30:24 +02:00
bodybybuddha
1b363ac720 Merged master into 617 - fixed import copy conflict 2018-09-30 11:37:21 -04:00
Virgil Grigoras
016c7b4b1c Add ability to store and edit publishers 2018-09-30 14:08:55 +02:00
OzzieIsaacs
5a2ed58d06 Improved message for non configured ebook converter
Gdrive cleared interface (drive variable)
refactored web -> reverseproxy outsourced, edit_books split, removed unused md5 function
rearanged imports
added Wand and pytz Version info to stats Page
2018-09-30 09:43:20 +02:00
OzzieIsaacs
ffe3dd3de3 Show version of Werkzeug and Jinja2 in stats page 2018-09-29 19:21:04 +02:00
bodybybuddha
a7386ecb8b Merge branch 'master' of https://github.com/janeczku/calibre-web into 621 2018-09-29 13:13:58 -04:00
bodybybuddha
9b1954f2f0 Merge branch 'master' of https://github.com/janeczku/calibre-web into 617 2018-09-29 13:13:17 -04:00
Ozzie Isaacs
c36b1ed58a Added additional ids and classes for easier testing 2018-09-29 15:44:42 +02:00
Ozzie Isaacs
cd0fc917d7 Bugfix template rights at creating user
Added errormessages for shelf actions
Additional ids for better testability
2018-09-27 22:04:57 +02:00
bodybybuddha
29efcf8358 Merge branch 'master' of https://github.com/janeczku/calibre-web into 617 2018-09-23 19:53:47 -04:00
bodybybuddha
d2e74a27cd Merge branch 'master' of https://github.com/janeczku/calibre-web into 621 2018-09-23 19:51:32 -04:00
OzzieIsaacs
ba7c734657 Fixes from testing:
Certificate files are rejected if not both files are provided
Server shuts down controlled after pressing crtl+c
Logfile location is better checked
improvements for better testing (added ids and name in templates)
2018-09-23 19:15:50 +02:00
OzzieIsaacs
cab98a9165 Update translation files 2018-09-23 19:03:14 +02:00
OzzieIsaacs
aa5127cd16 Merge remote-tracking branch 'lxml/master' 2018-09-23 18:58:08 +02:00
OzzieIsaacs
b841baf714 Comment for adding publishers 2018-09-23 18:56:19 +02:00
eddriesen
522e897fee
Updated Dutch translation to current codebase
As requested,
A Dutch update
2018-09-23 15:52:11 +02:00
Fatih Ka
76e3be58e6
Delete book fixed
There was an incorrect parameter.
2018-09-19 21:38:40 +03:00
bodybybuddha
b4122e9858 Partial fix to #617. Local status messages now work. 2018-09-19 11:26:52 -04:00
trasba
3fa41d0e4a
added formats for upload and conversion
added formats for upload and conversion (html, rtf, odt)
2018-09-17 21:55:41 +02:00
bodybybuddha
be0ddf25e4 Fix for #621 - Login page always in english 2018-09-17 13:03:29 -04:00
OzzieIsaacs
80e1a6910d Fix Updater 2018-09-14 21:18:20 +02:00
OzzieIsaacs
b5ef63d327 Removed fixed update Informations 2018-09-14 21:16:09 +02:00
OzzieIsaacs
4eeeb02b1d Merge remote-tracking branch 'update_check/master' 2018-09-14 21:12:45 +02:00
OzzieIsaacs
36d26f2089 Merge remote-tracking branch '625/625'
Update russian translation
2018-09-14 20:36:45 +02:00
bodybybuddha
03dc179bc3 Fixed Codacy Issues 2018-09-14 10:35:01 -04:00
bodybybuddha
89c0904ac9 Fix to #625 - Check to see if target book format already exists before executing conversion. 2018-09-13 21:24:21 -04:00
Admiral Laser Beard
21582f097e
update translation 2018-09-14 00:06:53 +03:00
OzzieIsaacs
968cddf2b0 Fix for #620 2018-09-10 19:31:56 +02:00
Virgil Grigoras
e08eccba5a Satisfy "Codacy/PR Quality Review" 2018-09-10 18:21:44 +02:00
Virgil Grigoras
50ded1afc1 typo fix 2018-09-10 11:28:32 +02:00
Virgil Grigoras
b2b092c190 Bugfix for not displaying information when there is no update available + simplification 2018-09-10 11:20:34 +02:00
Virgil Grigoras
f7872aded0 Own function for getting the current commit hash and datetime 2018-09-10 10:42:28 +02:00
Virgil Grigoras
cb5adb3a31 Display "what's new" information for newer versions than the current one 2018-09-09 21:54:51 +02:00
OzzieIsaacs
01fb8ee681 Fix #609
Removed formats which are not possible to convert from list of convertable books
Update language files to be po-edit compatible
2018-09-09 18:17:15 +02:00
Virgil Grigoras
9616562a76 Revert change from #10478594240d17f2bd73cda597439ade665a1e5c (move general information back to configuration block) 2018-09-09 14:18:56 +02:00
Virgil Grigoras
cfae6e893a Move update relevant parts to own section 2018-09-09 14:12:12 +02:00