Commit graph

69 commits

Author SHA1 Message Date
Las Zenow
00d21d8340 Treat uses as case-insensitive 2018-12-24 10:13:58 +00:00
Las Zenow
8b996803c8 Add download counter on each book
* Closes: #40
2018-11-19 03:14:26 +00:00
Las Zenow
17b9612f94 Let's try to gather stats only if the book exist
* Closes: #42
2018-11-19 02:46:56 +00:00
Las Zenow
5bcb08ef37 Don't use count estimate in postgresql
It produces random numbers that misslead the code.
2018-11-19 02:44:34 +00:00
Las Zenow
e1c5399a95 Estimate for more than 10,000 books 2018-07-02 10:58:54 +00:00
Las Zenow
62076ddb2f Make genID public 2018-07-01 14:35:09 +00:00
Las Zenow
645c4ce217 Add the trim as well for the user creation 2018-04-26 11:13:08 +00:00
Kittenoncatnip
f6cf82fcb3 Update user.go 2018-04-24 21:44:15 +00:00
Las Zenow
dffd67a9fe Improve usability of the user registration 2018-04-09 20:52:40 +00:00
Las Zenow
0c2e35bb80 Fix the typeahead 2018-04-09 19:14:11 +00:00
Las Zenow
a40b5ac534 Clean up a bit the add book to list interface 2018-04-09 19:00:06 +00:00
Las Zenow
1ab2fd882c Add indexes to list entries 2018-04-09 10:51:20 +00:00
Las Zenow
a0abab5bf0 Add book lists to dashboard 2018-04-09 10:49:10 +00:00
Las Zenow
3797df8783 Edit lists 2018-04-09 10:39:37 +00:00
Las Zenow
46762ea17b Add basic html/rss support for book lists 2018-04-09 09:49:30 +00:00
Las Zenow
c0a70a18e1 Add book list support in the database 2018-04-09 00:15:58 +00:00
Las Zenow
f2b393a453 Make the tests pass 2018-04-08 22:11:19 +00:00
Las Zenow
240a8a0430 Admin is now able to add users 2018-04-08 11:11:27 +00:00
Las Zenow
6f906ccae4 Add user management interface 2018-04-08 10:55:30 +00:00
Las Zenow
6cd5b1bc5e Register the date of the last login 2018-04-08 08:39:10 +00:00
Las Zenow
5315870dbd Be more strict validating user names 2018-04-08 08:20:18 +00:00
Las Zenow
8bcff3c826 Add comments to submissions 2018-04-07 23:50:01 +00:00
Las Zenow
8d126fbe7a Add the avility to edit metadata and delete books after submission 2018-04-07 22:58:59 +00:00
Las Zenow
de58f0251e Fix setting password
We were not acting on the error returning, and the sql sintax was wrong.
2018-02-22 09:57:37 +00:00
Las Zenow
548bcd3b70 Improve memory footprint on upload books 2017-09-26 23:46:03 +00:00
Las Zenow
c9b967a2ef Create tables, indexes, functions and triggers programatically 2017-09-21 21:05:06 +00:00
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
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
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
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