Commit graph

107 commits

Author SHA1 Message Date
Las Zenow
840fd3ed47 New database squema
The collection new is removed, now the books have a field "active" set to true
if the book was aproved.

For update the database:
db.books.update({}, {$set: {active: true}}, true, true)
2012-09-12 00:19:19 +02:00
Las Zenow
a9749e7136 Display the number of results on new page 2012-09-09 22:42:03 +02:00
Las Zenow
61d301df5b Display the thumbnails properly on the front page 2012-09-09 13:54:51 +02:00
Las Zenow
12e3edc2d0 Don't use pre, is ugly 2012-09-09 13:19:48 +02:00
Las Zenow
4fdfbc6537 Use pre for book description 2012-09-09 13:16:51 +02:00
Las Zenow
75bb911aaa The iframe should be as big as the book menu, so the covers are well align 2012-09-09 12:42:22 +02:00
Las Zenow
3d69ce8e03 Remove '?' from filenames 2012-09-09 03:18:47 +02:00
Las Zenow
4b30b5c091 If the file exists didn't work 2012-09-09 03:16:43 +02:00
Las Zenow
e7934c0483 Display the lang and editorial on search 2012-09-09 01:26:23 +02:00
Las Zenow
3146c64166 Display the images rounded 2012-09-09 01:19:06 +02:00
Las Zenow
3194ede748 Add the lang=en to the html tag 2012-09-09 01:08:14 +02:00
Las Zenow
06f8e0efb0 Use description for book data 2012-09-06 01:41:11 +02:00
Las Zenow
f167d6a12f Recalculate keywords after edit record 2012-09-04 00:05:46 +02:00
Las Zenow
ddbb5d946a Add favicon 2012-09-03 13:52:48 +02:00
Las Zenow
3337ffaf82 Fix reader for new books 2012-09-02 23:32:17 +02:00
Las Zenow
de0fd4227c Remove '/' from titles for use them on paths 2012-09-02 23:07:21 +02:00
Las Zenow
f72f06c9a3 Don't display scroll bar 2012-09-02 17:05:20 +02:00
Las Zenow
7449fbd877 Resize properly the iframe 2012-09-02 15:40:43 +02:00
Las Zenow
7a35b283b5 Don't need ':' for port configuration 2012-08-31 01:00:08 +02:00
Las Zenow
fbed1ab5ab Panic if the http server fails 2012-08-31 00:36:41 +02:00
Las Zenow
90d401e98e Make the port configurable 2012-08-31 00:35:39 +02:00
Las Zenow
ade035eb00 Create new, cover and books if don't exists 2012-08-31 00:32:00 +02:00
Las Zenow
e7adec0988 go fmt code 2012-08-31 00:24:42 +02:00
Las Zenow
def9f7bccf Upgrade to bootstrap 2.1.0 2012-08-31 00:17:58 +02:00
Las Zenow
fa6c681120 Use responsive design 2012-08-30 21:33:32 +02:00
Las Zenow
412fa08533 Use gopass for request password 2012-08-30 21:11:26 +02:00
Las Zenow
45b2d47bd5 Using iframes for reading books 2012-08-30 20:49:58 +02:00
Las Zenow
c81992de2c The pev page can be the first one 2012-08-28 16:36:54 +02:00
Las Zenow
2febea7d90 In and Out have to be arrays 2012-08-28 15:16:22 +02:00
Las Zenow
9a3e50b193 Handle the nesting properly 2012-08-28 12:24:11 +02:00
Las Zenow
de721f5ff3 Nested chapter list 2012-08-28 11:50:08 +02:00
Las Zenow
5b4e0fb02e Use the chapters for the next and prev links 2012-08-28 11:19:53 +02:00
Las Zenow
6b0c8caed3 Add chapters to book reader 2012-08-28 10:38:00 +02:00
Las Zenow
a888d1ac3a Reach the last chapter while reading 2012-08-28 10:02:44 +02:00
Las Zenow
f89416fbf6 Detect image tags for cover 2012-08-25 22:02:40 +02:00
Las Zenow
efbd3b3c09 Send the epub moderating files 2012-08-25 16:41:54 +02:00
Las Zenow
7a3f47bb97 Store books preserving the _id 2012-08-25 16:22:56 +02:00
Las Zenow
ea906a7681 Search was not scrolling fine 2012-08-24 20:18:16 +02:00
Las Zenow
4762f09df3 Remove the hardcoded height 2012-08-24 16:24:29 +02:00
Las Zenow
4351d9ec84 Redirect properly after edit 2012-08-23 10:57:23 +02:00
Las Zenow
d8b381edf8 Add some explanations to upload page 2012-08-23 01:08:42 +02:00
Las Zenow
e5d96ef7b7 Move constants to a config file 2012-08-22 19:48:02 +02:00
Las Zenow
76dead1b45 Add html doctype 2012-08-22 16:40:38 +02:00
Las Zenow
1d49e6b791 Remove covers only if exist 2012-08-22 10:42:38 +02:00
Las Zenow
710a84dcba Clean &.*; tags 2012-08-22 10:42:15 +02:00
Las Zenow
e209901fef Use arrays properly when known the lenght 2012-08-22 10:37:48 +02:00
Las Zenow
f35947c644 Upload multiple files 2012-08-22 10:33:57 +02:00
Las Zenow
1ed4de177f Check valid user on /readnew/ 2012-08-21 21:27:19 +02:00
Las Zenow
88b4809e99 Use Ids for address no titles 2012-08-21 21:22:56 +02:00
Las Zenow
a95887a996 Add download and read button to search 2012-08-21 21:10:09 +02:00