Commit graph

136 commits

Author SHA1 Message Date
Sean Owen 8a53ade692 More sophisticated load protection, plus tests 2019-03-12 13:25:15 -05:00
Sean Owen bc645c50bb Small fixes, dep updates, removed warning about Android app, made web app params into annotations 2019-03-09 17:18:31 -06:00
Sean Owen e9b9fa23fd Make DoS test case possibly less flaky 2018-09-22 11:49:46 -05:00
Sean Owen 36f38c5beb Many more changes from recent IJ inspections 2018-09-03 15:18:54 -05:00
Sean Owen 431ae9e06e Catch more exceptions in web app and update site skin 2018-08-30 16:47:18 -05:00
Sean Owen ab4ebad305 Make sure to stop processing after all error conditions (errorResponse calls) 2018-08-30 15:12:06 -05:00
Sean Owen 0b9b39a74f Issue #1051: to avoid letting user input into logs, sanitize input and/or just remove unimportant log statements in Android, web app 2018-08-07 19:28:06 -05:00
Sean Owen 9065c4daee Improve DoS test case to be more robust to timing 2018-07-24 08:20:41 -05:00
Sean Owen d907537c05 Fix bug in decoding data URIs; Add tests in javase/, zxingorg/ 2018-07-23 21:14:47 -05:00
Sean Owen 087f8a727c Shorten error response for floods of requests; experiment with testing web components 2018-06-13 09:11:31 -05:00
Sean Owen a372dfe175 Apply checkstyle to test code too, and fix violations; minor updates from code inspections 2018-05-18 09:21:21 -05:00
Sean Owen 553b5e97a3 Update JAI ImageIO for JDK 9; other trivial inspection and plugin updates 2018-04-24 11:31:57 -05:00
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