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.
2017-07-22 11:11:14 -07:00
Jonathan Rehm
d799b859ea
Make changes suggested by codacy
2017-07-08 09:15:40 -07: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
93dfb96174
Added Translation of title for read/unread books
2017-07-08 16:47:07 +02:00
OzzieIsaacs
f446e29276
Updater now uses correct "gid" instead of "uid" for change ownership of files (Fix for #213 ) -> update should now working if user id differs from groupid
2017-07-08 14:57:39 +02:00
OzzieIsaacs
2929d95b26
Display all authors names in shelf, like on all other pages ( #202 )
2017-07-08 13:50:21 +02:00
OzzieIsaacs
aed626b91b
Merge remote-tracking branch 'button_padding/read-unread-counts'
2017-07-08 11:26:07 +02: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
15531324ea
Add translation of rich text editor
2017-07-08 11:19:36 +02:00
OzzieIsaacs
77c4da0f07
Merge remote-tracking branch 'button_padding/tinymce'
2017-07-08 11:03:21 +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
OzzieIsaacs
6b71e77436
Merge remote-tracking branch 'Download/feature/download-icon-20170410'
2017-07-08 09:35:09 +02:00
Jonathan Rehm
b138c9edd5
Show read/unread counts
2017-07-06 22:33:57 -07:00
OzzieIsaacs
5276bda153
Merge remote-tracking branch 'button_padding/pad-buttons'
2017-07-06 20:31:25 +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
Jonathan Rehm
d25300a7fb
Add padding to bottom of buttons on shelf page
...
This adds some space between the buttons when viewing them on a mobile device.
2017-07-06 07:44:28 -07:00
OzzieIsaacs
752b813119
Added copyright for language names translations
2017-06-24 13:08:57 +02:00
OzzieIsaacs
0e8d5f158c
Dutch translation included ( #207 )
2017-06-24 13:04:09 +02:00
Jonathan Rehm
7853cb2602
Add TinyMCE to provide rich-text editing for descriptions
2017-06-22 08:59:28 -07:00
OzzieIsaacs
4ea9df753e
For failed logins the source ip-adress is logged now ( #201 )
2017-06-07 18:08:15 +02:00
OzzieIsaacs
e6c6c26fd1
No error 500 if kindlegen is not excecutable
2017-05-25 09:30:20 +02:00
OzzieIsaacs
0a08a07193
Fixed Deleting user
2017-05-25 09:09:35 +02:00
OzzieIsaacs
7ab8a5877b
read PDF/TXT without temporary files ( #197 )
2017-05-25 08:46:33 +02:00
OzzieIsaacs
1366b36c32
Added integer-field to supported custom colums
2017-05-25 08:20:19 +02:00
nanu-c
3acf80c42b
remove debuggingtool
2017-05-22 23:06:55 +02:00
nanu-c
26f314d371
support int custom fields
2017-05-22 22:54:53 +02:00
OzzieIsaacs
5f4d839895
Better output messages for failed kindlegen conversions ( fix #191 )
2017-05-19 21:30:39 +02:00
OzzieIsaacs
38fa9ce206
At deleting a book, the book is also deleted from all Shelfs, Download list and read list ( #192 )
2017-05-19 20:36:58 +02:00
OzzieIsaacs
2b50dea304
Updated pdf.js to 1.7.225 (Fix #193 )
2017-05-13 14:01:52 +02:00
OzzieIsaacs
a73372d71a
Make kindlegen work again
2017-05-05 21:05:52 +02:00
OzzieIsaacs
6d597f96e5
Integrate Iso639 language name translations to russian translation
2017-05-01 16:24:20 +02:00
Pavel Korovin
a305b65299
Added Russian translation
2017-04-30 22:54:16 +03:00
Murat L
b6fccbd486
Added Google Books and Kobo links ( #189 )
...
* Added Google Books and Kobo links
* International link to google
2017-04-27 14:32:30 +01:00
Ozzie Isaacs
4259aa69df
Get rid of shel=true again
2017-04-26 19:39:45 +01:00
Ozzie Isaacs
2d918bfb72
Fix for invalid db path
2017-04-26 19:21:40 +01:00
林檎
95f22aa4b5
add drop shadow to distinct the fixed area
2017-04-26 17:14:18 +08:00
林檎
f6076bc337
media tweak for better download placement
2017-04-26 17:14:18 +08:00
林檎
720c07b9ee
remove empty style
2017-04-26 17:14:18 +08:00
林檎
45eeb6588a
Change Download Style.
2017-04-26 17:14:18 +08:00
Ozzie Isaacs
b8fa748c49
Fix #187 on linux
2017-04-25 22:04:08 +01:00
Ozzie Isaacs
651961ac5e
Fix #187
2017-04-25 20:07:54 +01:00
Matt Hazinski
6f7a240ce2
Ensure file paths in uploads are non-empty, fix #183 ( #184 )
...
* Ensure file paths in uploads are non-empty, fix #183
* Fix AttributeError in process(), handle strings of spaces
2017-04-23 07:22:10 +01:00
Ozzie Isaacs
ede8ae6742
Fix #182 , #176
2017-04-21 20:44:17 +02:00
OzzieIsaacs
c80e517c28
Delete books prepared for deleting on doogle drive
2017-04-15 18:24:48 +02:00
OzzieIsaacs
195e581aef
Missing file for deletion of books
2017-04-15 18:18:33 +02:00
OzzieIsaacs
7667da6e12
Books now really deleted from hard disk ( #119 )
2017-04-15 18:18:08 +02:00
OzzieIsaacs
2b8c29c535
Further fix delete books ( #119 )
2017-04-15 18:07:53 +02:00
OzzieIsaacs
9c679c8908
Delete books should now work ( #119 )
2017-04-15 11:35:05 +02:00