Commit graph

434 commits

Author SHA1 Message Date
Las Zenow
0f627dcd53 Add bitcoin QR-code 2016-12-23 02:50:11 -05:00
Las Zenow
7a0f4834a5 Reduce to 10 the books listed in the new page. 2016-10-21 14:27:26 -04:00
Las Zenow
dcc2d3b9dc Add the moderator role 2016-10-18 15:18:01 -04:00
Las Zenow
baf2b5a6a9 Use struct literal initialization 2016-05-03 10:14:26 -04:00
Las Zenow
0e8f1e7b56 Convert config.go into command line params 2016-05-03 01:03:23 -04:00
Las Zenow
9d1f1ad5c0 Move all the code to a lib folder 2016-05-02 21:41:40 -04:00
Las Zenow
e963d00014 Configure host url 2016-04-24 09:07:29 -04:00
Las Zenow
6c08f284b9 Use diferent titles per page
* Related: #7
2016-01-28 18:13:26 -05:00
Las Zenow
b0e3659956 Set a default height in the reader iframe to support non-javascript view
* Closes: #10
2016-01-28 17:43:26 -05:00
Las Zenow
97dd6934b4 Use the oficial golang.org/x/crypto lib 2016-01-28 17:14:43 -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
4ace7a687e Don't sort by text in the Iter
There is some issues with the sorting for iterators, it seems to crash
in big databases.
2015-04-28 11:29:32 -04:00
Las Zenow
b178df89b0 Check if the lang is supported by mongo
If an unsoported lang is setted in the language override the document
will fail on inserting in the database, causing it to be lost.
2015-04-27 20:54:41 -04:00
Las Zenow
804112e459 Tools are not in the repo anymore, remove them from gitignore 2015-04-27 20:33:28 -04:00
Las Zenow
4e9e0fb2a5 Add books Iter 2015-04-21 21:57:28 -04:00
Las Zenow
2f2ff3dd8f Add isbn parser 2015-04-21 21:57:28 -04:00
Las Zenow
09536bd0d8 Refactor the epub parser to it's own module 2015-04-21 21:55:18 -04:00
Las Zenow
08ccdaf27d Move to gitlab 2015-04-21 21:32:01 -04:00
Las Zenow
a1ef113ced Create the text index 2015-01-24 11:53:28 -06:00
Las Zenow
efcc9cdf8e Use cld2 for language guessing 2015-01-22 23:02:00 -06:00
Las Zenow
6993fcb9e8 Add history of modifications 2015-01-22 21:58:27 -06:00
Las Zenow
e732909773 Use io.readerAt to open the books without loading everything in memory 2015-01-22 21:16:20 -06:00
Las Zenow
965205adae Document the different ways to access the library 2015-01-18 18:48:23 -06:00
Las Zenow
b0a0b68561 Basic OPDS support 2015-01-17 09:58:21 -06:00
Las Zenow
078b210392 Use text search 2014-10-26 12:12:27 -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
3122a3158f Add sandboxing to the iframe 2014-09-07 01:39:57 -05:00
Las Zenow
9641351ac3 News index should not be unique 2014-09-06 23:58:10 -05:00
Las Zenow
deefd5a7f5 Don't try to delte empty ids 2014-09-06 23:58:10 -05:00
Las Zenow
f0ab0cc441 Create indexes on database init 2014-09-06 23:58:10 -05:00
Las Zenow
9f2ac754ac Give more info on the search json 2014-08-30 18:22:48 -05:00
Las Zenow
23e7866ba9 Don't use spaces on the json 2014-08-30 15:02:51 -05:00
Las Zenow
562bc157ee Normalize includes 2014-08-30 13:17:50 -05:00
Las Zenow
1a897cd1bd Add json fmt support 2014-08-30 03:56:36 -05:00
Las Zenow
c132c0fdf6 Refactor templates to make take care of fmt 2014-08-30 01:25:16 -05:00
Las Zenow
e81df155a2 Calculate the depth on the chapters properly 2014-08-28 23:54:15 -05:00
Las Zenow
0cbda42c58 Remove the tools folder
Everything is moved to it's own repo
2014-08-28 02:16:10 -05:00
Las Zenow
c04bbe784e Add store migration tool to extract files from the database 2014-08-23 01:55:27 -05:00
Las Zenow
f4690b2bba Move files to a local folder 2014-08-21 19:57:38 -05:00
Las Zenow
97ed9ec073 Use gopkg.in/mgo.v2 package 2014-08-18 19:27:53 -05:00
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