Commit graph

440 commits

Author SHA1 Message Date
Las Zenow
94acf36994 Fix tests 2014-07-09 23:25:11 -05:00
Las Zenow
40800c6527 Remove the dependency of bson to interact with the books database 2014-07-02 21:09:41 -05:00
Las Zenow
93d31b53fe Move the query parsing to the database
This implies to move the tokeinzation as well.
2014-07-02 20:58:00 -05:00
Las Zenow
44d3a191f6 Add DB.GetBookId 2014-07-02 20:40:24 -05:00
Las Zenow
07a133e49a Use scrypt to store passwords 2014-06-30 23:06:55 -05:00
Las Zenow
fdb7544999 Disable account creation 2014-06-30 19:20:09 -05:00
Las Zenow
82ecb433df Add keywords updater tool 2014-06-30 18:51:48 -05:00
Las Zenow
30af19cd62 Tockenize converting to ascii 2014-06-30 18:33:35 -05:00
Las Zenow
59eaa4e2aa Refactor database 2014-06-29 19:41:29 -05:00
Las Zenow
533f8241c2 Add dashboard 2014-02-19 15:43:46 +01:00
Las Zenow
4695977bd8 Merge branch 'master' into user 2014-02-19 01:23:12 +01:00
Las Zenow
e67e23c050 Clean up visit updater 2014-02-19 01:20:10 +01:00
Las Zenow
cdc25f1094 Clean up db stats visits 2014-02-19 00:59:55 +01:00
Las Zenow
8927a8cd6d Clean up code 2014-02-18 22:16:38 +01:00
Las Zenow
e4726661b8 Use aggregation for most visited books 2014-02-18 21:50:44 +01:00
Las Zenow
706fc88a61 Use aggregations to calculate tags 2014-02-18 21:35:26 +01:00
Las Zenow
b3fd8aabe2 Update dependencies 2014-02-18 19:05:48 +01:00
Las Zenow
42de6bbf64 Convert stats mapreduce to aggregations 2014-02-18 19:05:27 +01:00
Las Zenow
f2c728191c Remove unused function isOutdated 2014-02-18 00:47:58 +01:00
Las Zenow
4f4c82f7e0 For download statistics select the section on the query 2014-02-18 00:20:27 +01:00
Las Zenow
a6421d0dd3 Most visited/downloaded books are calculated only for the last 30 days 2014-02-17 23:58:00 +01:00
Las Zenow
6ae0d1b0ac Fix field name on import 2014-02-14 19:32:08 +01:00
Las Zenow
b3707fcb57 Merge branch 'master' into user
Conflicts:
	trantor.go
2014-02-11 20:36:00 +01:00
Las Zenow
dc21299e19 Add importer tool to import books directly from harddisk 2014-02-11 17:51:59 +01:00
Las Zenow
025314f8f8 Add logging of queries 2014-02-11 14:41:50 +01:00
Las Zenow
80cc996fd6 Add log at startup 2014-02-11 14:17:59 +01:00
Las Zenow
f3ef9b6675 Add spaces to log messages 2014-02-11 13:13:43 +01:00
Las Zenow
12b787e31f Add logger config 2014-02-11 12:59:58 +01:00
Las Zenow
275c7f745f Log the panic messages 2014-02-11 11:29:15 +01:00
Las Zenow
bbbd35e928 Use seelog instead of the default log pkg 2014-02-11 11:20:38 +01:00
Las Zenow
725b1d8951 Set different times for update stadistics of visits and downloads 2014-02-11 11:12:36 +01:00
Las Zenow
b196750fa5 Clean up tasker code 2014-02-11 11:02:22 +01:00
Las Zenow
4130e43689 Update the mapreduce collections in background 2014-02-09 23:22:45 +01:00
Las Zenow
9af72ea1b4 Rename setUpRouter to initRouter 2014-02-09 18:38:43 +01:00
Las Zenow
2d30b6a370 Merge branch 'master' into user 2014-02-03 23:35:05 +01:00
Las Zenow
aebea27517 Fixing index style 2013-11-17 19:39:16 +01:00
Las Zenow
48ea2efc8d Fix the mapreduce of the download statistics 2013-09-25 23:25:17 +02:00
Las Zenow
c710b917a7 Merge branch 'master' into user 2013-09-25 23:09:53 +02:00
Las Zenow
e52e4f0c39 The downloads don't depends on the session 2013-09-25 23:07:11 +02:00
Las Zenow
05f04b5e21 Merge branch 'master' into user 2013-09-24 14:32:39 +02:00
Las Zenow
a23264ec8d Add a downloads collumn to the statistics 2013-09-24 14:22:53 +02:00
Las Zenow
8e3b929dfe Merge branch 'master' into user
Conflicts:
	admin.go
	template.go
	trantor.go
2013-09-24 10:54:17 +02:00
Las Zenow
173ee04592 Add a copyright statement 2013-09-24 10:04:48 +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
f5ae093e02 Script to add the size of the file to the book metadata 2013-09-19 00:49:48 +02:00
Las Zenow
43856dcd9b Add enclosure to the rss feed 2013-09-18 23:58:05 +02:00
Las Zenow
9e4b92772c Add filesize to the books collection 2013-09-18 23:56:49 +02:00
Las Zenow
37a1d08b8d Check change of password by javascript 2013-09-03 14:49:33 +02:00
Las Zenow
73f53ce878 Remove autofocus from the user creation form 2013-09-03 14:33:19 +02:00