Commit graph

444 commits

Author SHA1 Message Date
Las Zenow
e72de38725 [WIP] migration to psql
TODO:
[ ] stats
[ ] indexes
2017-05-21 10:44:43 +00:00
Las Zenow
e1bd235785 Implement Read Only mode 2017-05-21 10:16:51 +00:00
Las Zenow
6464d92dd4 Check if there is any author before using the first
- Closes: #26
2017-02-05 14:14:22 +00:00
Las Zenow
ffbca5e162 Return to the previous location when saving/deleting books 2017-02-05 01:51:00 +00:00
Las Zenow
7f7cafd1c1 List of tags in the editor
* Closes: #21
2017-02-05 01:27:32 +00:00
Las Zenow
1cae0821ba Support lattest gorilla router patterns 2017-02-05 00:59:56 +00:00
Las Zenow
3592c7fc0d Add the query to next and prev pages 2017-02-05 00:59:29 +00:00
Las Zenow
bcbabce401 Use jmhodges fork of gocld2 2017-02-04 12:46:21 +00:00
Las Zenow
8e82ee3702 Add search terms to the moderation page
* Closes: #22
2017-02-04 12:45:42 +00:00
Las Zenow
fcf9b1eb8d Add ISBN to the metadata editor 2017-01-31 10:45:28 +00:00
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