Commit graph

39 commits

Author SHA1 Message Date
Las Zenow
275c7f745f Log the panic messages 2014-02-11 11:29:15 +01:00
Las Zenow
4130e43689 Update the mapreduce collections in background 2014-02-09 23:22:45 +01:00
Las Zenow
a23264ec8d Add a downloads collumn to the statistics 2013-09-24 14:22:53 +02:00
Las Zenow
41b376992a Database stops being a global variable
With it now every handler creates it's own copy of the session.
2013-09-23 16:27:31 +02:00
Las Zenow
cef68a8f6e Don't keep the collections open 2013-09-23 13:42:39 +02:00
Las Zenow
9e4b92772c Add filesize to the books collection 2013-09-18 23:56:49 +02:00
Las Zenow
5d522da0d2 Merge branch 'master' into user
Conflicts:
	database.go
2013-07-19 00:24:26 +02:00
Las Zenow
54763b04df Print out the news in the front page 2013-07-18 11:42:46 +02:00
Las Zenow
5f612a36ad Simple news implementation
Is missing some proper design and to show up the news on the front page.
2013-07-17 01:08:44 +02:00
Las Zenow
cfdd4817e2 Add user roles 2013-06-01 20:54:39 +02:00
Las Zenow
3da8cae762 Get the visited and downloaded books from the stadistics 2013-06-01 05:48:15 +02:00
Las Zenow
5693b3e58f Create hourly and monthly statistics 2013-06-01 03:40:06 +02:00
Las Zenow
a4ccd41d05 Use an strcut for mapreduce stuff 2013-06-01 02:34:11 +02:00
Las Zenow
d8e46419b1 Make the javascript code more redeable 2013-06-01 00:16:04 +02:00
Las Zenow
ca0b25a274 Get daily visits 2013-05-31 23:59:01 +02:00
Las Zenow
0c0fc5d797 Simple stats page 2013-05-05 01:39:28 +02:00
Las Zenow
206775fa6a Store statistics on mongodb 2013-04-22 23:28:00 +02:00
Las Zenow
986f834f46 Put the covers on the database 2013-04-15 22:10:48 +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
a574a38ccc Cache the tags on the database 2013-03-20 00:54:40 +01:00
Las Zenow
c306e00867 Use intermediate variables 2013-03-19 20:29:26 +01:00
Las Zenow
2797ba97f1 Use the tags of the active books only 2013-03-08 16:17:38 +01:00
Las Zenow
bbe10b76ff Add pagination on moderation page 2012-10-31 10:24:17 +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
cd9b518284 Displaying most viewed and downloaded books on the front page 2012-10-24 23:22:39 +02:00
Las Zenow
11d24f2f20 go fmt 2012-09-14 00:34:13 +02:00
Las Zenow
b96215b7ff Generate stats from visits and downloads 2012-09-13 01:03:07 +02:00
Las Zenow
de89cbc931 Do the redirections properly 2012-09-12 21:47:43 +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
ea906a7681 Search was not scrolling fine 2012-08-24 20:18:16 +02:00
Las Zenow
921cea3efb Reorganize code for the taglist 2012-08-21 11:35:06 +02:00
Las Zenow
5d19d3c72f Optimice the partial queries 2012-08-21 11:25:02 +02:00
Las Zenow
e68f41445e Add notifications 2012-08-19 02:29:34 +02:00
Las Zenow
c513344169 Sessions with gorilla 2012-08-18 02:06:43 +02:00
Las Zenow
9f1204db35 Run go fmt 2012-08-15 15:12:59 +02:00
Las Zenow
c64226ffb9 Basic search and display working 2012-07-30 23:23:38 +02:00
Las Zenow
17cb7765c1 Load metadata into mongoDB 2012-07-27 16:03:09 +02:00