Commit Graph

65 Commits (bugfix)

Author SHA1 Message Date
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
eric b81bf41015 facilitate testing on localhost for CloudStorage 2019-04-24 13:35:56 -04:00
eric 5fd93237c5 only want index.html served from static 2019-04-22 18:07:39 -04:00
eric 6487d1852d Merge branch 'master' into onedrive 2019-04-22 17:34:13 -04:00
eshellman 3fd77b4e5f
Merge pull request #3 from gutenbergtools/cleanup
Cleanup
2019-04-22 12:19:54 -04:00
eric 65bdd044d3 restore search icon on mobile 2019-04-21 15:28:37 -04:00
eric 6f30b17f93 help email on recaptcha 2019-04-21 15:21:23 -04:00
eric 0162735f32 use https where specified 2019-04-21 15:16:25 -04:00
eric a42faaac92 restore top left site logo
The call to the ratelimiter was inexpicably planted in the empty span element that turns into a site logo.
2019-04-21 15:04:52 -04:00
eric 50361e9cc9 separate keys and
host specific info into separate config files
2019-04-20 14:34:53 -04:00
eric ce088ebd90 errata 2019-04-20 14:34:09 -04:00
eric 3bc21605f3 even test app credentials
should not be in git!
2019-04-20 14:32:58 -04:00
eric 62588e436f Merge branch 'master' into onedrive 2019-04-19 12:23:19 -04:00
eshellman 7a6f5bdaa3
Merge pull request #2 from gutenbergtools/remove-ratelimit
Changes to make this work in a fresh production environment
2019-04-19 12:22:21 -04:00
eric 2e4b58e83a final tweaks for production
will now merge into master
2019-04-19 12:10:51 -04:00
eric 918f355415 update for guten2 2019-04-16 16:18:48 -04:00
eric 06e7b30ed3 Create configuring.txt 2019-04-16 16:02:09 -04:00