Commit graph

13 commits

Author SHA1 Message Date
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
64375b6de5 Store the ISBN 2013-04-08 01:41:46 +02: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
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
88b4809e99 Use Ids for address no titles 2012-08-21 21:22:56 +02:00
Las Zenow
5d9093700d Read books on moderation 2012-08-21 20:54:57 +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