Commit graph

215 commits

Author SHA1 Message Date
Las Zenow
6130ffe7b7 Detect <svg:image as cover image 2013-07-18 20:28:35 +02:00
Las Zenow
d1d9970427 Fix the date format 2013-07-18 11:54:51 +02:00
Las Zenow
54763b04df Print out the news in the front page 2013-07-18 11:42:46 +02:00
Las Zenow
9a98cfd793 Make the news look better 2013-07-17 15:33:09 +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
bf0480868d Fix upload problems 2013-07-16 22:56:48 +02:00
Las Zenow
61764d51b3 Update about page with status, bitcoin and pgp 2013-07-16 01:24:39 +02:00
Las Zenow
d51b7f935c Use the new API of epubgo 2013-06-04 21:30:37 +02:00
Las Zenow
a1c029345b Ignore ctags 2013-06-03 10:21:28 +02:00
Las Zenow
e72fd6e4d4 Pass the session to the 404 page 2013-06-01 20:51:21 +02:00
Las Zenow
3da8cae762 Get the visited and downloaded books from the stadistics 2013-06-01 05:48:15 +02:00
Las Zenow
dedaa4fe7b Use timmings that won't collide for refreshing 2013-06-01 05:14:42 +02:00
Las Zenow
a6c8355a50 Add help page 2013-06-01 04:56:35 +02:00
Las Zenow
4e703e03ce Add the statistics on the menu 2013-06-01 04:30:52 +02:00
Las Zenow
73f2f1f452 Get the hourly stats for two days 2013-06-01 04:23:46 +02:00
Las Zenow
392078aae0 Get the visits for unique users 2013-06-01 04:17: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
cb856b002f Merge branch 'master' into stats 2013-05-31 01:12:23 +02:00
Las Zenow
e1f17423cd Tool to import ISBN and description to the database 2013-05-31 00:36:38 +02:00
Las Zenow
424a0fad8e Allow multiline descriptions 2013-05-31 00:34:11 +02:00
Las Zenow
68254d359c Merge branch 'master' into stats 2013-05-28 01:44:56 +02:00
Las Zenow
155144d86e Produce prev link only if it's not empty 2013-05-28 01:22:22 +02:00
Las Zenow
41258ee863 Check if the ObjectIds are valid. 2013-05-09 09:42:58 +02:00
Las Zenow
d0f6b83423 Add a 404 page 2013-05-09 09:42:03 +02:00
Las Zenow
0c0fc5d797 Simple stats page 2013-05-05 01:39:28 +02:00
Las Zenow
137357cd12 Upload files on a separate goroutine 2013-05-03 00:43:26 +02:00
Las Zenow
a2c8097dc7 Skip the empty ids on the stats gatherer 2013-05-02 23:45:52 +02:00
Las Zenow
9234c71bd5 Include the common image formats 2013-04-25 14:33:50 +02:00
Las Zenow
df1d568752 Refactor code 2013-04-23 22:27:59 +02:00
Las Zenow
2f0a473a04 Add togridfs to gitignore 2013-04-23 21:08:52 +02:00
Las Zenow
afac6ded21 Don't segfault while get filenames if there is no files on the form 2013-04-23 20:33:21 +02:00
Las Zenow
71c8a8946a Dirty migration tool for gridfs 2013-04-23 11:13:55 +02:00
Las Zenow
d33a28a2bd Store correctly the img names 2013-04-23 01:04:47 +02:00
Las Zenow
67c90e8096 Add the epub extension 2013-04-23 01:04:06 +02:00
Las Zenow
206775fa6a Store statistics on mongodb 2013-04-22 23:28:00 +02:00
Las Zenow
c4373c8773 Separate router initialization into it's own function 2013-04-16 13:39:22 +02:00
Las Zenow
8ddb7a0f89 Add a '/' to the end of store and delete urls 2013-04-16 03:32:12 +02:00
Las Zenow
58447a19cb Split the reader handlers 2013-04-16 03:28:38 +02:00
Las Zenow
5794a1fe1b Reset the reader to store it on gridfs 2013-04-16 03:28:05 +02:00
Las Zenow
d8bfcb2ef2 Split post and get handlers for upload 2013-04-16 02:34:15 +02:00
Las Zenow
fc50ba5fd6 Use title as filename on gridfs 2013-04-16 02:33:40 +02:00
Las Zenow
5d2f72c229 Search pattern was boggus 2013-04-15 23:53:10 +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
402dbabdbd Use gorilla/mux patterns 2013-04-15 00:59:19 +02:00
Las Zenow
3a99f86f32 Use gorilla/mux 2013-04-15 00:37:49 +02:00
Las Zenow
98d5074eff error variable don't need to be defined 2013-04-13 21:46:40 +02:00