Commit graph

124 commits

Author SHA1 Message Date
Sergey Yanzin 6f96046dea Fixed error key in doPost() (#887)
doPost() works only with badimage
2017-10-12 08:20:29 +01:00
Sean Owen 5b9ce1cd74 Better web app logging and checkstyle update 2017-10-06 12:09:40 +01:00
Sean Owen 88120e298d Better: refactor rate-limiting logic and apply to destination hosts too 2017-10-03 12:39:58 +01:00
Sean Owen 65d2b163eb Revamp protection against flood of requests; minor related tweaks 2017-10-02 13:40:53 +01:00
Sean Owen b10dabfe07 Update Tomcat 8.5 example config to include HTTP/2, OpenSSL config 2017-09-04 10:27:44 +01:00
Sean Owen 649a099c68 Reject responses whose content type isn't image/* early 2017-08-20 16:34:08 +01:00
Sean Owen 0000a10272 Run full GC periodically to try to fight memory issue with ImageIO objects with large offheap allocations (?) 2017-08-16 12:31:18 +01:00
Sean Owen e2afb336e2 Minor changes from inspection 2017-07-17 12:43:00 +01:00
Sean Owen cac5b1a6fe More attempt to tune memory problem on decode server 2017-06-08 13:52:31 +01:00
Sean Owen 11f5278aa7 Add support for JPEG, GIF images from chart server; can request chart.png / chart.jpg / chart.gif now 2017-05-22 13:45:51 +01:00
Sean Owen 713c5bb001 Note support for MaxiCode 2017-05-15 09:13:56 +01:00
Sean Owen d8a681af0c Add more tests for non-core modules 2017-04-23 16:15:43 +01:00
Sean Owen c64568c0a2 Catch a few corner case errors in web app 2017-04-15 15:31:25 +01:00
Sean Owen 0a542b9e9e Stop redirecting old javadoc links; redirect web pages to HTTPS by default 2017-03-07 22:28:15 +00:00
Sean Owen 07479e38ec Apply DoS filter to /chart too, but relax limit 2017-03-07 22:27:56 +00:00
Sean Owen 0fe0d09602
Minor dep update 2017-01-06 13:30:11 +00:00
Sean Owen 608dff8522 Make background of zxing.org white to match zxing.appspot.com 2016-08-22 10:35:38 +01:00
Sean Owen 77fb240beb Increase online decoder size limits 2016-08-08 11:14:50 +01:00
Sean Owen 2f11529aa3 A bunch of inspection changes, including some dead code removal and tightening visibility, removing unnecessary casts 2016-07-24 18:29:42 +01:00
Sean Owen 78fbdc58fc Update plugins; use https:// URLs consistently for good practice 2016-07-16 12:38:19 +01:00
Sean Owen 53837950aa Skip javadoc for Android apps, always 2016-06-22 16:52:30 +01:00
Sean Owen 5927f6ef09 Redirect to https://zxing.org directly, and touch up a build warning 2016-06-20 09:13:21 +01:00
Sean Owen 6ffb40e1fd Update plugins; fix logging of uploaded file name 2016-06-12 18:10:45 +01:00
Sean Owen a57bfa44e8 Move zxing.org web resources to standard src/main/webapp 2016-06-10 14:07:21 +01:00
Sean Owen 389f69f4b2 Add minimal javadoc to all classes (and enforce with checkstyle); minor refactoring to of array sum code 2016-06-04 15:36:32 +01:00
Sean Owen ce072f02f9 Better info logging in web app, and better clearing of buffers 2016-05-18 14:57:03 +01:00
Sean Owen d5058a71c6
Test signed commit and update minor deps, plugin 2016-04-05 22:51:25 +01:00
Sean Owen de41ca715b Crush PNGs 2015-09-07 11:41:45 +01:00
Sean Owen 4e4e643bb0 Update reference server.xml for Tomcat at zxing.org 2015-09-07 11:41:45 +01:00
Sean Owen 02d3697a59 Remove spurious stack trace from singleton exception, and various minor edits 2015-06-06 10:46:18 +01:00
Sean Owen 2e3021a510 Reintroduce basic DoS filter in web app 2015-05-13 12:16:55 +01:00
Sean Owen fa1c1ededf Reintroduce basic DoS filter in web app 2015-05-13 12:14:01 +01:00
Sean Owen 7774683247 Handle IOException in multipart more cleanly 2015-05-12 16:11:43 +01:00
Sean Owen 02a6347396 Updates for Tomcat 8 on Elastic Beanstalk 2014-11-07 22:55:05 +00:00
Sean Owen 5adcb269ad Correctly identify file upload in multipart and only parse the first file upload 2014-09-12 15:35:29 +01:00
Sean Owen 53d562f7c9 Fix Tomcat rendering issues and redirect 2014-09-11 12:32:24 +01:00
Sean Owen 2d280f7b14 Improve icon, header spacing 2014-09-11 12:09:30 +01:00
Sean Owen 13be5de462 Fix/improve CSS colors and layout 2014-09-11 11:55:16 +01:00
Sean Owen 9bac0584f0 Localize error response and remove redundant JSPXs 2014-09-11 11:34:08 +01:00
Sean Owen e75788e3e0 Consolidate redirection, remove fairly redundant custom error page 2014-09-11 10:56:10 +01:00
Sean Owen fa5d7e6b0d Change HTML redirects to HTTP 2014-09-10 22:53:42 +01:00
Sean Owen 012662fa3c web.xml can also be removed now 2014-09-10 22:39:38 +01:00
Sean Owen 482e2fb3ac Move to servlet 3.0 file upload handling and annotations 2014-09-10 16:01:18 +01:00
Sean Owen 8c0e6beb43 Fix corner case for javadoc redirector 2014-06-08 11:49:45 -04:00
Sean Owen 7f300ce09a Untangle try-catch a bit in servlet, to properly catch 404 errors 2014-02-08 15:58:34 -05:00
Sean Owen dddc1c4e19 Move to use of Java 7 NIO2 APIs 2014-01-31 13:01:18 +00:00
Sean Owen e432d6cc74 Increase size of input that decoder accepts 2014-01-31 11:31:19 +00:00
Sean Owen a8772054af Custom, minimal error page 2014-01-22 21:11:55 +00:00
Sean Owen 62cf0ade90 Deal with case of no block list 2014-01-22 21:11:36 +00:00
Sean Owen 5a6982f301 Remove Google Analytics -- really not using it 2014-01-22 20:42:46 +00:00