Commit Graph

107 Commits (fix_ramsession)

Author SHA1 Message Date
eric a9bff4a70e fix sessions.py 2019-08-19 22:26:18 -04:00
eric fdb64ca0e0 add import for log 2019-08-16 13:36:50 -04:00
eric 213b0264cc improved ramsession patch
Ref: https://github.com/cherrypy/cherrypy/pull/1804
2019-08-16 13:18:02 -04:00
eric 7c175a63bd add patch explanation 2019-08-15 13:07:03 -04:00
eric 01bfd42fed added exception handling to clean_up method
will submit a pull request to CherryPy project so we can remove this code when it gets merged
2019-08-15 13:03:51 -04:00
eshellman 82e7230eca
Merge pull request #27 from gutenbergtools/diagnostics
add thread report
2019-08-05 12:28:41 -04:00
eric a20ca93d04 https ! 2019-08-05 12:17:01 -04:00
eshellman eccd3b5a18
Merge pull request #26 from gutenbergtools/errors
404 error page, don't create sessions for 404's
2019-08-02 12:01:09 -04:00
eric 75c1f6262f javascript needed for help popup 2019-08-02 10:45:50 -04:00
eric 6943b60c0a don't save sessions for 404's 2019-08-01 19:40:23 -04:00
eric 9e116d4b20 add error page 2019-08-01 16:20:18 -04:00
eshellman 58c99d7f57
Merge pull request #25 from gutenbergtools/fix-_
copy to list before iterating
2019-07-31 14:51:32 -04:00
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