Las Zenow
|
fe36b1d23c
|
Add dev flag to indicate development runs
Used to reload the templates on each page view.
|
2020-12-03 12:58:37 +00:00 |
|
Las Zenow
|
1536d97d8d
|
Update to use pg/v10
|
2020-11-30 19:03:31 +00:00 |
|
Las Zenow
|
94c75b1d2a
|
Add the authors to the download filename
|
2020-11-18 12:00:19 +00:00 |
|
Las Zenow
|
c82fd09e0d
|
Optimize submission deletion
The nested select was producing a sequential lookup into the books
table, that took hours to resolv.
|
2020-11-18 11:52:26 +00:00 |
|
alcortezfsoc
|
ccb9e6660d
|
Update upload.html
|
2020-07-20 20:24:16 +00:00 |
|
Las Zenow
|
fa41544f14
|
State clearly that is an antifa space
|
2020-06-24 11:08:20 +00:00 |
|
Las Zenow
|
3399d0ef1b
|
Do the count stimated
The DB is being overloaded by the qaueries
|
2020-06-24 11:07:54 +00:00 |
|
Las Zenow
|
b54745028a
|
Add checksum to the json
- Closes: #54
|
2020-06-24 11:07:04 +00:00 |
|
Las Zenow
|
a1ee320eba
|
Add hashes for each book
Check if the uploaded book is already in the library
|
2020-05-03 10:14:50 +00:00 |
|
Las Zenow
|
154867c50c
|
Add authors to the rss feed
|
2020-04-23 10:54:59 +00:00 |
|
Las Zenow
|
497a020f9a
|
Fix tag url in opds
|
2020-04-11 17:58:03 +00:00 |
|
Las Zenow
|
0637cb7602
|
Use xml marshaling to create the rss feed
|
2020-04-11 16:54:32 +00:00 |
|
Las Zenow
|
04c452853a
|
Trim the tags
|
2020-04-11 16:54:03 +00:00 |
|
Las Zenow
|
6684e1b96a
|
Add a mirror notice in the footer
|
2020-03-23 19:13:58 +00:00 |
|
Las Zenow
|
383214ee19
|
Add search by date
|
2020-03-23 11:35:10 +00:00 |
|
Las Zenow
|
3bb3cf9489
|
Take the hostname from the request
|
2020-02-20 23:56:21 +00:00 |
|
Las Zenow
|
3e3ba1bd7e
|
Merge remote-tracking branch 'mr/7'
|
2019-12-23 19:11:03 +00:00 |
|
Las Zenow
|
25bed10456
|
Merge remote-tracking branch 'mr/8'
|
2019-12-23 19:09:13 +00:00 |
|
endangered
|
8ffec7510a
|
Fix getVisitedBooks and getDownloadedBooks queries, preventing persistent error every five minutes when front page data is updated
|
2019-11-30 10:55:26 +09:30 |
|
endangered
|
f836f40f89
|
Provide command line variables for initializing an admin user. Previously to get admin access on a fresh install I had to create a user in the web interface (to make sure the password hash/salt is properly setup) then manually change the role in the database to 'admin' using a postgresql client. This was a pain in the ass, and I think there really needs to be an easy way to create the admin user on the initial deployment. This solution fixes this, and adds documentation to the README file on how to use those variables.
|
2019-11-25 06:58:44 +09:30 |
|
endangered
|
9ea77c095f
|
Submission uploads (lib.uploadRequest.processFile) generate an error: null value in column active violates not-null constraint. This sets a default value on this column of false and columns in the visits table to zero which also have not-null constraints, ensuring errors like these are prevented
|
2019-11-25 06:15:28 +09:30 |
|
Las Zenow
|
defaa2ae0b
|
Update to pg v9
|
2019-11-06 06:53:41 +00:00 |
|
Las Zenow
|
91beca9a55
|
fixup! Use Go Modules
|
2019-11-06 06:18:06 +00:00 |
|
Las Zenow
|
665ca3aa94
|
For stats don't pass around the request
|
2019-11-06 02:50:18 +00:00 |
|
Las Zenow
|
b2e3a93e7d
|
Use Go Modules
|
2019-11-06 02:50:02 +00:00 |
|
Las Zenow
|
4efaaadbd2
|
Refactor new books into moderate submissions
|
2019-06-06 15:05:07 +00:00 |
|
Las Zenow
|
897071e85d
|
Add the description as title for the book list links
|
2019-06-06 10:14:16 +00:00 |
|
Las Zenow
|
a484a01504
|
Use open folder as icon for submission list
|
2019-06-05 18:14:56 +00:00 |
|
Las Zenow
|
e94938eba1
|
Add Content-Length and Last-Modified headers to downloads
- Closes: #47
|
2019-06-05 11:12:23 +00:00 |
|
Las Zenow
|
a8ac449458
|
Remove the '-' from the language name
|
2019-06-05 10:58:11 +00:00 |
|
Las Zenow
|
0f18a0e91d
|
Don't continue working with an invalid epub
It produces a seg fault
|
2019-05-30 01:09:28 +00:00 |
|
Las Zenow
|
cea8d21105
|
Clean up old submissions
|
2019-03-05 21:07:34 +00:00 |
|
Las Zenow
|
60379ba1ef
|
Be able to list users submisions
- Closes: #45
|
2019-03-05 21:07:34 +00:00 |
|
Kittenoncatnip
|
4903f722b5
|
Update index.html
|
2019-03-02 23:47:24 +00:00 |
|
Kittenoncatnip
|
968dd9f845
|
Update index.html
|
2019-03-02 23:31:17 +00:00 |
|
Las Zenow
|
b8ecea8944
|
Merge remote-tracking branch 'mr/4'
|
2019-01-16 23:38:56 +00:00 |
|
Kittenoncatnip
|
fb604ca929
|
Update read.html
|
2019-01-16 23:34:13 +00:00 |
|
Las Zenow
|
71fb70860c
|
Update gpg key and robots to disallow /download/
|
2019-01-16 18:02:13 +00:00 |
|
Kittenoncatnip
|
52a79d05e7
|
Update read.html
|
2019-01-16 10:42:27 +00:00 |
|
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
|
fb399ac973
|
Update key expiration date
|
2018-11-19 02:47:46 +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
|
e1af0c2a7e
|
Add 'publisher:' to the help
|
2018-07-01 14:35:22 +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 |
|