Commit graph

  • 7966df0034 Merge branch 'Strubbl-master-patch-82409' into 'master' Strubbl 2021-06-10 07:18:20 +00:00
  • 8fed477ab2 Add monero address master Las Zenow 2021-06-08 09:28:43 +00:00
  • 555f1e705b Make the search list look better on small screens Las Zenow 2021-05-21 10:49:43 +00:00
  • 7748a52274 Update the expiration date of the openpgp key Las Zenow 2021-05-21 10:46:30 +00:00
  • 1bfb377174 Don't count estimate for moderation queue tst Las Zenow 2021-05-07 07:51:57 +00:00
  • 70d032e181 Add the missing & to the list edit Las Zenow 2021-05-07 07:26:58 +00:00
  • 7665eae762 Use & as author separator bootstrap5 Las Zenow 2021-05-01 11:36:07 +00:00
  • 867c19f97c De-jquery the javascript Las Zenow 2021-04-30 16:48:38 +00:00
  • 836a71b2d0 Fix the check if the book is active Las Zenow 2021-04-30 14:26:40 +00:00
  • 06a522231d Update dependencies Las Zenow 2021-04-30 14:26:17 +00:00
  • 02f711aa97 Add tokenfield tag editor Las Zenow 2021-04-30 13:47:59 +00:00
  • 6a3da59c75 Port the web to bootstrap5 Las Zenow 2017-06-08 00:44:35 +00:00
  • 8af2ad3758 Disable the number of title/author also on the template for moderation Las Zenow 2021-04-30 17:41:25 +00:00
  • 3b2688bdfc Let's not search for title/authors for moderation Las Zenow 2021-04-30 17:38:20 +00:00
  • 1e56da1c01 Reduce the number of items per page on moderation Las Zenow 2021-04-29 16:35:58 +00:00
  • 2648e8156c Don't hit the db for coverHandler Las Zenow 2021-04-26 18:16:44 +00:00
  • 7ec326c3ad Update the openpgp key Las Zenow 2021-03-15 16:36:10 +00:00
  • c625906384 Set the content-type of the epub downloads Las Zenow 2021-03-15 16:33:16 +00:00
  • 68f5d95915 We need to be able to write in /tmp inside the docker Las Zenow 2021-03-15 16:32:55 +00:00
  • 2c535dba83 Add dockerfile Las Zenow 2021-02-10 16:42:59 +00:00
  • dfc3415972 Replace gocld2 for whatlanggo docker Las Zenow 2021-02-10 15:41:20 +00:00
  • 582298ce68 Add the link to the forum into the header Las Zenow 2021-02-09 19:00:22 +00:00
  • c770a4d202 Comment out most visited/download Las Zenow 2021-02-09 18:59:07 +00:00
  • d48fffff6c Use env variables to configure Las Zenow 2021-02-09 18:38:15 +00:00
  • e7a73e0859 Put only one author on the book file name Las Zenow 2021-02-09 17:50:51 +00:00
  • a4b11142b2 Publish the size of the book before download Las Zenow 2021-02-09 17:32:13 +00:00
  • d81f1b92cd Add prettier configuration Las Zenow 2021-02-09 16:49:33 +00:00
  • ad1b36f2ee Update rss.go, fix link to book overview page Strubbl 2020-12-21 13:53:39 +00:00
  • 08caa73680 Add info about the telegram bot Las Zenow 2020-12-10 15:55:56 +00:00
  • 8671c4d220 Use http.ServeContet to be able to continue downloads Las Zenow 2020-12-10 15:43:18 +00:00
  • 32b546a212 Factor out the download url into a function Las Zenow 2020-12-10 12:44:36 +00:00
  • 138eb64e52 Set SameSite to strict on the session cookie Las Zenow 2020-12-03 16:26:30 +00:00
  • b89616a904 Set the session key from an env variable Las Zenow 2020-12-03 15:43:47 +00:00
  • fe36b1d23c Add dev flag to indicate development runs Las Zenow 2020-12-03 12:58:37 +00:00
  • 1536d97d8d Update to use pg/v10 Las Zenow 2020-11-30 19:03:31 +00:00
  • 94c75b1d2a Add the authors to the download filename Las Zenow 2020-11-18 12:00:19 +00:00
  • c82fd09e0d Optimize submission deletion Las Zenow 2020-11-18 11:52:26 +00:00
  • ccb9e6660d Update upload.html alcortezfsoc 2020-07-20 20:24:16 +00:00
  • fa41544f14 State clearly that is an antifa space Las Zenow 2020-06-24 11:08:20 +00:00
  • 3399d0ef1b Do the count stimated Las Zenow 2020-06-24 11:07:54 +00:00
  • b54745028a Add checksum to the json Las Zenow 2020-06-24 11:07:04 +00:00
  • a1ee320eba Add hashes for each book Las Zenow 2020-05-03 09:35:17 +00:00
  • 154867c50c Add authors to the rss feed Las Zenow 2020-04-23 10:54:59 +00:00
  • 497a020f9a Fix tag url in opds Las Zenow 2020-04-11 17:58:03 +00:00
  • 0637cb7602 Use xml marshaling to create the rss feed Las Zenow 2020-04-11 16:54:32 +00:00
  • 04c452853a Trim the tags Las Zenow 2020-04-11 16:54:03 +00:00
  • 6684e1b96a Add a mirror notice in the footer Las Zenow 2020-03-23 19:13:58 +00:00
  • 383214ee19 Add search by date Las Zenow 2020-03-23 11:35:10 +00:00
  • 3bb3cf9489 Take the hostname from the request Las Zenow 2020-02-20 23:52:51 +00:00
  • 3e3ba1bd7e Merge remote-tracking branch 'mr/7' Las Zenow 2019-12-23 19:11:03 +00:00
  • 25bed10456 Merge remote-tracking branch 'mr/8' Las Zenow 2019-12-23 19:09:13 +00:00
  • 8ffec7510a Fix getVisitedBooks and getDownloadedBooks queries, preventing persistent error every five minutes when front page data is updated endangered 2019-11-30 10:55:26 +09:30
  • 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. endangered 2019-11-25 06:58:44 +09:30
  • 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 endangered 2019-11-25 06:15:28 +09:30
  • defaa2ae0b Update to pg v9 Las Zenow 2019-11-06 06:53:41 +00:00
  • 91beca9a55 fixup! Use Go Modules Las Zenow 2019-11-06 06:18:06 +00:00
  • 665ca3aa94 For stats don't pass around the request Las Zenow 2019-11-06 02:50:18 +00:00
  • b2e3a93e7d Use Go Modules Las Zenow 2019-11-06 02:50:02 +00:00
  • 4efaaadbd2 Refactor new books into moderate submissions Las Zenow 2019-06-06 11:19:34 +00:00
  • 897071e85d Add the description as title for the book list links Las Zenow 2019-06-06 10:14:16 +00:00
  • a484a01504 Use open folder as icon for submission list Las Zenow 2019-06-05 18:14:56 +00:00
  • e94938eba1 Add Content-Length and Last-Modified headers to downloads Las Zenow 2019-06-05 11:12:23 +00:00
  • a8ac449458 Remove the '-' from the language name Las Zenow 2019-06-05 10:58:11 +00:00
  • 0f18a0e91d Don't continue working with an invalid epub Las Zenow 2019-05-30 01:09:28 +00:00
  • cea8d21105 Clean up old submissions Las Zenow 2019-03-05 20:52:07 +00:00
  • 60379ba1ef Be able to list users submisions Las Zenow 2019-03-05 19:54:21 +00:00
  • 4903f722b5 Update index.html Kittenoncatnip 2019-03-02 23:47:24 +00:00
  • 968dd9f845 Update index.html Kittenoncatnip 2019-03-02 23:31:17 +00:00
  • 98b87d7ea5 Update index.html Kittenoncatnip 2019-03-02 09:10:14 +00:00
  • b8ecea8944 Merge remote-tracking branch 'mr/4' Las Zenow 2019-01-16 23:38:56 +00:00
  • fb604ca929 Update read.html Kittenoncatnip 2019-01-16 23:34:13 +00:00
  • 71fb70860c Update gpg key and robots to disallow /download/ Las Zenow 2019-01-16 18:02:13 +00:00
  • 52a79d05e7 Update read.html Kittenoncatnip 2019-01-16 10:42:27 +00:00
  • 7530aa67ac Update read.html Kittenoncatnip 2019-01-16 10:17:55 +00:00
  • 00d21d8340 Treat uses as case-insensitive Las Zenow 2018-12-24 10:13:58 +00:00
  • 8b996803c8 Add download counter on each book Las Zenow 2018-11-19 03:14:26 +00:00
  • fb399ac973 Update key expiration date Las Zenow 2018-11-19 02:47:46 +00:00
  • 17b9612f94 Let's try to gather stats only if the book exist Las Zenow 2018-11-19 02:46:56 +00:00
  • 5bcb08ef37 Don't use count estimate in postgresql Las Zenow 2018-11-19 02:44:34 +00:00
  • e1c5399a95 Estimate for more than 10,000 books Las Zenow 2018-07-02 10:58:54 +00:00
  • e1af0c2a7e Add 'publisher:' to the help Las Zenow 2018-07-01 14:35:22 +00:00
  • 62076ddb2f Make genID public Las Zenow 2018-07-01 14:35:09 +00:00
  • 645c4ce217 Add the trim as well for the user creation Las Zenow 2018-04-26 11:13:08 +00:00
  • 3cd5463b4c Update user.go Kittenoncatnip 2018-04-24 22:26:21 +00:00
  • f6cf82fcb3 Update user.go Kittenoncatnip 2018-04-24 21:44:15 +00:00
  • dffd67a9fe Improve usability of the user registration Las Zenow 2018-04-09 20:52:40 +00:00
  • 0c2e35bb80 Fix the typeahead Las Zenow 2018-04-09 19:14:11 +00:00
  • a40b5ac534 Clean up a bit the add book to list interface Las Zenow 2018-04-09 19:00:06 +00:00
  • 11195e258b Enable user registration Las Zenow 2018-04-09 17:54:33 +00:00
  • 1ab2fd882c Add indexes to list entries Las Zenow 2018-04-09 10:51:20 +00:00
  • a0abab5bf0 Add book lists to dashboard Las Zenow 2018-04-09 10:49:10 +00:00
  • 3797df8783 Edit lists Las Zenow 2018-04-09 10:39:20 +00:00
  • 46762ea17b Add basic html/rss support for book lists Las Zenow 2018-04-09 09:47:44 +00:00
  • c0a70a18e1 Add book list support in the database Las Zenow 2018-04-09 00:15:58 +00:00
  • f2b393a453 Make the tests pass Las Zenow 2018-04-08 22:11:19 +00:00
  • 240a8a0430 Admin is now able to add users Las Zenow 2018-04-08 11:11:27 +00:00
  • 6f906ccae4 Add user management interface Las Zenow 2018-04-08 10:55:13 +00:00
  • 6cd5b1bc5e Register the date of the last login Las Zenow 2018-04-08 08:39:10 +00:00
  • 5315870dbd Be more strict validating user names Las Zenow 2018-04-08 08:20:18 +00:00
  • 8bcff3c826 Add comments to submissions Las Zenow 2018-04-07 23:42:41 +00:00