Commit graph

103 commits

Author SHA1 Message Date
Las Zenow
9d1f1ad5c0 Move all the code to a lib folder 2016-05-02 21:41:40 -04:00
Las Zenow
6c08f284b9 Use diferent titles per page
* Related: #7
2016-01-28 18:13:26 -05:00
Las Zenow
fb43f2b83a Put the full public key in the about page 2015-11-16 07:32:34 -05:00
Las Zenow
bf09d3c0be Add cache header
For now we only add it to images/js/css and not for html/json/xml
generated pages.
2015-11-15 08:49:35 -05:00
Las Zenow
08ccdaf27d Move to gitlab 2015-04-21 21:32:01 -04:00
Las Zenow
b0a0b68561 Basic OPDS support 2015-01-17 09:58:21 -06:00
Las Zenow
fe74245dad Add description.json following the ahmia proposal
http://msydqstlz2kzerdg.onion/documentation/descriptionProposal/
2014-09-14 00:54:52 -05:00
Las Zenow
deece4f5d0 One flag per user 2014-09-07 21:13:52 -05:00
Las Zenow
f5363e17bc Add bad quality flag 2014-09-07 20:25:11 -05:00
Las Zenow
45efecbfc8 Add robots.txt 2014-09-07 02:49:39 -05:00
Las Zenow
562bc157ee Normalize includes 2014-08-30 13:17:50 -05:00
Las Zenow
c132c0fdf6 Refactor templates to make take care of fmt 2014-08-30 01:25:16 -05:00
Las Zenow
f4690b2bba Move files to a local folder 2014-08-21 19:57:38 -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
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
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
b3707fcb57 Merge branch 'master' into user
Conflicts:
	trantor.go
2014-02-11 20:36:00 +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
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
8e3b929dfe Merge branch 'master' into user
Conflicts:
	admin.go
	template.go
	trantor.go
2013-09-24 10:54:17 +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
c6117f1c2f Add user creation 2013-09-03 14:15:30 +02:00
Las Zenow
7f1b99364c Back the login to html if no javascript 2013-09-03 14:02:54 +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
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
a6c8355a50 Add help page 2013-06-01 04:56:35 +02:00
Las Zenow
cb856b002f Merge branch 'master' into stats 2013-05-31 01:12:23 +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
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
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
58447a19cb Split the reader handlers 2013-04-16 03:28:38 +02:00
Las Zenow
d8bfcb2ef2 Split post and get handlers for upload 2013-04-16 02:34:15 +02:00