Commit Graph

95 Commits (4c1eab8ae8f5d786a9943d83ac91201657f3d2d1)

Author SHA1 Message Date
eric 4c1eab8ae8 copy to list before iterating 2019-07-31 14:48:49 -04:00
eshellman 30e49ff9f6
Merge pull request #24 from gutenbergtools/fix-_
fix mobile, too
2019-07-31 14:07:27 -04:00
eric 05874ab040 fix mobile, too 2019-07-31 14:06:52 -04:00
eshellman 62b30d2bac
Merge pull request #23 from gutenbergtools/fix-_
add import
2019-07-31 13:48:02 -04:00
eric 57fa986b7e add import 2019-07-31 13:47:38 -04:00
eshellman d37fb1f095
Merge pull request #22 from gutenbergtools/diagnostics
Add Diagnostics
2019-07-29 18:30:10 -04:00
eric b699f5ddfb set correct content-type header 2019-07-29 17:52:17 -04:00
eric 41aedb6010 also check size of session cache 2019-07-29 17:45:12 -04:00
eric 878865a430 Merge branch 'master' into diagnostics 2019-07-29 14:31:50 -04:00
eric f8c1099cab add diagnostics page 2019-07-29 14:31:45 -04:00
eshellman b6749d2058
Merge pull request #21 from gutenbergtools/ugettext-cleanup
still need an import
2019-07-26 14:22:47 -04:00
eric bb4a416d14 still need an import 2019-07-26 14:22:09 -04:00
eshellman b3987959c4
Merge pull request #19 from gutenbergtools/ugettext-cleanup
stop using builtins as global
2019-07-26 14:17:40 -04:00
eshellman af43e79005
Merge pull request #20 from gutenbergtools/Updated-limit-of-open-files,-to-try-to-address-periodic-"too-many-open-files"-problem
revert pull #18
2019-07-26 12:39:11 -04:00
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