Commit graph

476 commits

Author SHA1 Message Date
Las Zenow
cc12981a50 Add submission page for uploads
* Closes: #13
2017-09-21 12:09:04 +00:00
Las Zenow
26894f1438 Add support for quotes in search strings
* Closes: #33
2017-09-20 19:55:37 +00:00
Las Zenow
b338cb3393 Add cache control header to static content 2017-07-06 08:13:15 +00:00
Las Zenow
ab9c5281a5 Instrument with less labels and more focused metrics 2017-06-07 23:15:41 +00:00
Las Zenow
455fb65e77 Reorganize instrument code 2017-06-07 22:00:17 +00:00
Las Zenow
8446c116a8 Remove unused Chart.js 2017-06-07 21:59:46 +00:00
Las Zenow
c6354c46c8 Let's instrument the search string with the duration 2017-06-06 14:40:59 +00:00
Las Zenow
5eca3843cc Let's instrument the response time before writting the template 2017-06-06 14:31:32 +00:00
Las Zenow
5517da6a69 Refactor template loading around the handler 2017-06-06 14:18:47 +00:00
Las Zenow
d40dc21627 Cache front page results 2017-06-05 23:03:24 +00:00
Las Zenow
f4ca9e2dbc Add instrumentation with prometheus 2017-06-05 16:17:14 +00:00
Las Zenow
2a72154308 Center bitcoin qrcode 2017-06-05 08:46:41 +00:00
Las Zenow
2562f4c2c8 Fix metadata editor
Convert slices to postgres arrays.
2017-05-30 23:28:42 +00:00
Las Zenow
71d975c2f7 Keep count of downladed/viewed books 2017-05-30 22:10:21 +00:00
Las Zenow
68ffe6cf5b Use all langs for the tsquery
Close: #28
2017-05-29 12:38:35 +00:00
Las Zenow
58ed66d426 Serve static files separately
It was serving all static files returning the same last one.
2017-05-29 09:45:38 +00:00
Las Zenow
825bad4540 Fix capitalization of getDocumentById 2017-05-27 09:52:44 +00:00
Las Zenow
83ab1b461d Expose AddRaw[User|News] for scripting 2017-05-21 22:48:43 +00:00
Las Zenow
d0670c0b62 Cache the full book counter 2017-05-21 11:07:13 +00:00
Las Zenow
0c3385200e Fix tag indexing 2017-05-21 11:05:39 +00:00
Las Zenow
e0854aa001 Using master pg library 2017-05-21 11:05:37 +00:00
Las Zenow
d9a95a997c Normalize probperly the lang 2017-05-21 11:02:43 +00:00
Las Zenow
42ccf52718 trigram indexes 2017-05-21 11:02:35 +00:00
Las Zenow
b62b303995 Helper functions for the migration scripts 2017-05-21 10:59:31 +00:00
Las Zenow
fd0b9cf53d Use the right date type for news 2017-05-21 10:58:34 +00:00
Las Zenow
15e1802a00 Fix tags updater and query parser 2017-05-21 10:56:52 +00:00
Las Zenow
b7c1d74e83 Fix parse subject 2017-05-21 10:55:56 +00:00
Las Zenow
18baa2938b Remove statistics and add frequent tags in memory 2017-05-21 10:55:53 +00:00
Las Zenow
284b649b69 Update expiration date of the gpg key 2017-05-21 10:51:02 +00:00
Las Zenow
52b9882be9 Convert Id to ID 2017-05-21 10:50:59 +00:00
Las Zenow
f12114c296 Deprecate bad quality flag 2017-05-21 10:47:02 +00:00
Las Zenow
7f9c172853 Rename author to authors and subject to tags 2017-05-21 10:47:00 +00:00
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