Commit Graph

181 Commits (bk_debug)

Author SHA1 Message Date
eric 3215447429 revert 2019-07-26 12:30:32 -04:00
eric 2fe006388d stop using buitins as global 2019-07-26 11:54:24 -04:00
Greg Newby ef3153a819
More detail on restarting
It's still not restarting cleanly after a system boot. We'll try to dig into this. For now, I wanted to track the commands that were helpful in restarting by hand, after a system boot.
2019-07-20 10:40:26 -04:00
Greg Newby 415fb51401
Merge pull request #18 from gutenbergtools/Updated-limit-of-open-files,-to-try-to-address-periodic-"too-many-open-files"-problem
Update autocat3.service
2019-07-08 09:45:07 -04:00
Greg Newby e9c4703c48
Update autocat3.service 2019-07-08 09:44:07 -04:00
eshellman 23ebd732f2
Merge pull request #16 from gutenbergtools/fix_pdf
small nitfixes
2019-06-19 15:11:54 -04:00
eric 44065bd02a update packages 2019-06-19 15:04:13 -04:00
eric ead646b6b5 comment inexpicable import 2019-06-19 15:03:41 -04:00
eric f197d5227f always close cloudstorage sessions
1. propagate proper pdf filesize handling to GDrive and MSDrive classes
2. use the session as a context handler to assure it closes even if an exception is unhandled.
2019-06-19 15:03:16 -04:00
HelyMehta ca572a6b28
Merge pull request #15 from gutenbergtools/fix_pdf
Fix pdf gdrive upload
2019-06-07 13:37:30 -04:00
eric ee826a5148 turn off gzip encoding 2019-06-07 11:42:47 -04:00
eric d9a3c0fcfe add docstring 2019-06-07 11:42:09 -04:00
eshellman 3d91d90918
Merge pull request #14 from gutenbergtools/fix_pdf
Fix pdf cloudstorage
2019-06-06 13:13:28 -04:00
eric 50cc46edfb don't offer cloudstorage for nonstd pdf 2019-06-05 11:52:47 -04:00
eric 9da22f10c5 fix pdf pattern 2019-06-05 11:51:56 -04:00
eshellman 74310760bb
Merge pull request #13 from gutenbergtools/bugfix
Bugfixes
2019-05-20 13:49:52 -04:00
eric 0aec886407 disable log handlers before adding new ones 2019-05-17 18:30:30 -04:00
eric 38cfb534f0 don't let bad syntax through
A lot of 500 responses are just bad syntax in a query. This should not return a 500 error.
2019-05-17 17:40:49 -04:00
eric 3b32e93dae clean dropbox errors
1. set autorename feature
2. don't log an error unless there's an error!
2019-05-16 21:36:45 -04:00
eshellman 87732e31b7
Merge pull request #10 from gutenbergtools/docs
better documentation
2019-05-10 18:22:17 -04:00
eric 9b034f9b9d add note on sudo 2019-05-10 18:21:59 -04:00
eshellman 2d3c1fb63e
Merge pull request #12 from gutenbergtools/forwarded-headers
Forwarded headers
2019-05-10 18:18:51 -04:00
eric f365ad8005 https updates to outgoing links 2019-05-10 17:36:46 -04:00
eric 30684be056 stop depending on fake headers
appears to be used only in setting bibref urls and in opengraph metadata
2019-05-10 17:36:03 -04:00
eric 204c5d5492 Merge branch 'master' into docs 2019-05-06 09:23:24 -04:00
eshellman 64a1ce6e96
Merge pull request #11 from gutenbergtools/gbnewby-patch-1
Fix to logic error for wikipedia entries for authors with only one work.
2019-05-06 09:20:17 -04:00
Greg Newby ad27a07e25
Fix to logic error for wikipedia entries for authors with only one work.
(Re-applying, since this wasn't checked in the first time).

This shows Wikipedia entries when an author only has a single eBook in the catalog. The previous logic would hide Wikipedia entries, even if they existed, unless the author had > 1 eBooks.
2019-05-05 13:35:15 -04:00
eric 390c62070a add update procedure 2019-05-03 14:53:44 -04:00
eshellman 38e4d9a72f
Merge pull request #9 from gutenbergtools/logfile
fix logfile settings
2019-05-01 13:32:45 -04:00
eric 3d792ffb13 once more 2019-04-30 15:52:43 -04:00
eric a43b664c6c fix stupidity 2019-04-30 15:49:59 -04:00
eric 49e4dafdc5 rejigger logfile config 2019-04-30 15:36:46 -04:00
eric c4feaaf8ff fix service definition 2019-04-30 15:31:33 -04:00
eshellman 17ac29ec82
Merge pull request #8 from gutenbergtools/captcha
remove captcha
2019-04-29 13:33:31 -04:00
eric 08ea4a11d7 PEP 8 2019-04-29 13:29:56 -04:00
eric 1554300013 set up logging correctly 2019-04-29 13:00:26 -04:00
eric d87d3532e4 just redirect
ipsession was being created by ratelimit
2019-04-26 08:38:32 -04:00
eric ce468c48fe remove captcha 2019-04-25 21:58:13 -04:00
eric b40c433406 add code replacing captcha 2019-04-25 21:57:22 -04:00
eric b25f5f7bb4 restore behavior preserving https
OpenSearch was written to preserve the protocol of the proxied link, but was changed to always send back http. This resores the original behaviour (I think)
2019-04-25 21:13:56 -04:00
eshellman 9612157c55
Merge pull request #7 from gutenbergtools/google-oauth
fix post-cloud redirect
2019-04-25 16:01:18 -04:00
eric a54c69a7d3 regression 2019-04-25 15:59:52 -04:00
eric 794a6e94d0 fix post-cloud redirect
noticed that after cloud storage, redirects were always http.

Now the redirects respect the host_https setting.

Note that clients that do not support https cannot use cloud storage.
2019-04-25 15:55:29 -04:00
eshellman 99ab95fce9
Merge pull request #6 from gutenbergtools/google-oauth
refresh google auth cred
2019-04-25 13:59:09 -04:00
eric 815eff2322 refresh google auth cred 2019-04-25 13:58:01 -04:00
zhepu 67f7e4f489
Merge pull request #5 from gutenbergtools/ZhepuZhao-ModifyConfiguring.txt
Update configuring.txt
2019-04-24 15:29:10 -04:00
eshellman 51b48e5f6f
Merge pull request #4 from gutenbergtools/onedrive
Fix Onedrive, reorganize config
2019-04-24 15:06:00 -04:00
zhepu 8611045e2a
Update configuring.txt 2019-04-24 15:04:37 -04:00
eric 9655941824 config tweaks 2019-04-24 14:04:48 -04:00
eric 2e6fce455a get OneDrive working 2019-04-24 13:38:14 -04:00