Commit graph

161 commits

Author SHA1 Message Date
Las Zenow
8ddb7a0f89 Add a '/' to the end of store and delete urls 2013-04-16 03:32:12 +02:00
Las Zenow
fb9376ab43 The download path now is '/download/id/epub' 2013-04-15 22:29:57 +02:00
Las Zenow
986f834f46 Put the covers on the database 2013-04-15 22:10:48 +02:00
Las Zenow
49f824802b Remove dependencies from new/ foder 2013-04-12 01:44:00 +02:00
Las Zenow
05b641201c Store files on GridFS 2013-04-12 01:05:40 +02:00
Las Zenow
64375b6de5 Store the ISBN 2013-04-08 01:41:46 +02:00
Las Zenow
d994d6b91f Using epubgo to handle epubs 2013-04-01 14:05:04 +02:00
Las Zenow
6dd51c2fbc Make the navbar black 2012-12-18 16:02:33 +01:00
Las Zenow
b890d46e36 Move the custom css to it's own css file 2012-12-17 21:57:08 +01:00
Las Zenow
2e092f0c99 Update bootstrap to version 2.2.2 2012-12-17 21:12:16 +01:00
Las Zenow
bbe10b76ff Add pagination on moderation page 2012-10-31 10:24:17 +01:00
Las Zenow
93bd567f8d Change the paths stored on the database
The paths in the database now are relative of the config BOOKS_PATH and COVER_PATH

For updating the database this query should be use:
for (var i = db.books.find(); i.hasNext(); ) {
        var book = i.next();
        db.books.update({_id: book["_id"]}, {$set: {path: book["path"].slice(6), cover: book["cover"].slice(7), coversmall: book["coversmall"].slice(7)}});
}
2012-10-28 20:21:46 +01:00
Las Zenow
15bebb7677 Add settings page to allow users to change their password 2012-10-28 18:47:44 +01:00
Las Zenow
d8815c002a Use user icon for loggin 2012-10-28 17:49:31 +01:00
Las Zenow
9c28f8926f Fixing bad english 2012-10-26 13:53:11 +02:00
Las Zenow
a262b66dda Fix a typographic error 2012-10-26 00:41:58 +02:00
Las Zenow
cd9b518284 Displaying most viewed and downloaded books on the front page 2012-10-24 23:22:39 +02:00
Las Zenow
f3882881ce Store or remove all the books at once 2012-09-13 00:05:21 +02:00
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
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
ddbb5d946a Add favicon 2012-09-03 13:52:48 +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
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
45b2d47bd5 Using iframes for reading books 2012-08-30 20:49:58 +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
6b0c8caed3 Add chapters to book reader 2012-08-28 10:38:00 +02:00
Las Zenow
4762f09df3 Remove the hardcoded height 2012-08-24 16:24:29 +02:00
Las Zenow
d8b381edf8 Add some explanations to upload page 2012-08-23 01:08:42 +02:00
Las Zenow
76dead1b45 Add html doctype 2012-08-22 16:40:38 +02:00
Las Zenow
f35947c644 Upload multiple files 2012-08-22 10:33:57 +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
Las Zenow
5d9093700d Read books on moderation 2012-08-21 20:54:57 +02:00
Las Zenow
9f99bf3ee3 Link back to the book description while reading 2012-08-21 20:38:35 +02:00
Las Zenow
2e6719e693 Add read it button to book page 2012-08-21 18:25:31 +02:00
Las Zenow
93003534e9 Simple epub reader 2012-08-21 18:15:21 +02:00
Las Zenow
e365103370 Add tags to front page 2012-08-20 17:19:27 +02:00
Las Zenow
678537c00c Remove the save changes button, it was not use 2012-08-20 15:24:21 +02:00
Las Zenow
ff6d44d821 Moderate incoming epubs 2012-08-20 14:25:18 +02:00