Commit graph

340 commits

Author SHA1 Message Date
Sean Owen 05abe0f7aa Minor HTML standards improvement per Chrome 2020-05-13 14:12:15 -05:00
Sean Owen 78ccf2323f Dynamic request capping system for web app plus minor optimization 2020-05-13 14:11:54 -05:00
Sean Owen c1fc401d9a Update dependencies, particularly checkstyle -> 8.29 2020-01-31 13:16:21 -06:00
Sean Owen 459c0197a7 Plugin updates; misc code simplifications and optimizations 2019-12-11 15:29:49 -06:00
Sean Owen a65631d0b6 Minor dep updates 2019-07-29 14:52:39 -05:00
Sean Owen 8f1a751ea5 [maven-release-plugin] prepare for next development iteration 2019-05-17 19:36:16 -05:00
Sean Owen 67138cedc8 [maven-release-plugin] prepare release zxing-3.4.0 2019-05-17 19:36:09 -05:00
Sean Owen f1683e1f4f Bump to 3.4.0. Require Java 8. Various code simplifications and plugin / dep updates 2019-05-13 18:44:57 -05:00
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 9617a90616 Minor updates to plugins and from code inspection 2019-01-25 21:20:56 -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 4fbcadfd37 And back out Spring framework update down to 4.x 2018-08-30 11:37:50 -05:00
Sean Owen a010db7fe2 Explicitly specify javadoc encoding, fix a few doc warnings, update plugins again 2018-08-30 11:13:55 -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 50baa8afe3 Downgrade to Spring Framework 4 for Java 7 2018-06-13 09:26:33 -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 ebb206df3a [maven-release-plugin] prepare for next development iteration 2018-05-29 10:18:14 -05:00
Sean Owen 463d1ea7ed [maven-release-plugin] prepare release zxing-3.3.3 2018-05-29 10:18:05 -05:00
Sean Owen ba91ad5b05 [maven-release-plugin] rollback the release of zxing-3.3.3 2018-05-29 10:15:31 -05:00
Sean Owen 71b4ecf914 [maven-release-plugin] prepare release zxing-3.3.3 2018-05-29 10:15:15 -05:00
Sean Owen d6d72f2aab [maven-release-plugin] rollback the release of zxing-3.3.3 2018-05-29 09:57:26 -05:00
Sean Owen dd3498a01c [maven-release-plugin] prepare for next development iteration 2018-05-29 09:49:35 -05:00
Sean Owen 8c8525d12c [maven-release-plugin] prepare release zxing-3.3.3 2018-05-29 09:49:29 -05:00
Sean Owen 7a64f483fd Various small improvements from inspection, dependency updates, preparing for 3.3.3 2018-05-29 08:26:06 -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
Sean Owen 274159117a Plugin updates, including ones that enable Java 10 build compatibility 2018-03-23 11:05:23 -05:00
Sean Owen 80fd5b1a1c [maven-release-plugin] prepare for next development iteration 2018-01-30 22:10:20 -06:00
Sean Owen 588e6ae4bd [maven-release-plugin] prepare release zxing-3.3.2 2018-01-30 22:10:15 -06:00
Sean Owen 229e5e34db Update plugins 2018-01-28 10:42:05 -06:00
Sean Owen 550afd451c [maven-release-plugin] prepare for next development iteration 2017-10-25 18:28:09 +01:00
Sean Owen 0edfaa0318 [maven-release-plugin] prepare release zxing-3.3.1 2017-10-25 18:28:02 +01:00
Sean Owen f4d5b1f785 [maven-release-plugin] rollback the release of zxing-3.3.1 2017-10-25 18:22:03 +01:00
Sean Owen cd97b100fa [maven-release-plugin] prepare for next development iteration 2017-10-25 18:12:27 +01:00
Sean Owen 06eb69b579 [maven-release-plugin] prepare release zxing-3.3.1 2017-10-25 18:12:21 +01:00
Sean Owen 67c6e4126c Minor plugin, dependency updates 2017-10-25 17:39:54 +01: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 7a5038a070 Update plugins, deps; update Guava but restore Java 7 interop by using 23.0-android and restricting to zxingorg module 2017-08-16 12:30:37 +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 45f9b07694 Optimize generating BufferedImage by allocating memory per row. Add tests. Remove old jetty plugin. 2017-04-23 15:41:14 +01:00
Sean Owen c64568c0a2 Catch a few corner case errors in web app 2017-04-15 15:31:25 +01:00
Sean Owen 5b14d23194 Update plugins/deps, fix bug in base64 decoding 2017-04-06 14:31:14 +01:00
Sean Owen b5f6d3f73c Update plugin and minor deps; catch additional Android error in app 2017-03-15 11:08:07 +00: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 63c4b21556
Minor dependency updates, including Guava 2017-01-24 12:21:37 +00:00
Sean Owen 0fe0d09602
Minor dep update 2017-01-06 13:30:11 +00:00
Sean Owen dfe4819691
Minor updates / optimization from inspection; minor plugin / dependency updates 2016-12-12 15:50:30 +00:00
Sean Owen 0dfda08078
Fix typos; avoid use of java.util.Date; other small improvements from inspection; deprecate some accidentally-public methods 2016-11-29 12:16:07 +00:00
Sean Owen 28f8bd37f3
Update deps including Guava 20; use switch in pref to chained if-else for slightly more consistent style 2016-11-11 20:20:46 +00:00
Sean Owen 9130b7907e
Minor dep updates 2016-09-30 00:22:02 -05:00
Sean Owen ec383d2411 [maven-release-plugin] prepare for next development iteration 2016-09-16 15:20:51 +01:00
Sean Owen 6b6ad7ff0b [maven-release-plugin] prepare release zxing-3.3.0 2016-09-16 15:20:45 +01:00
Sean Owen 47459f4bd7 Bump SNAPSHOT to 3.3.0 for next release 2016-09-11 22:07:04 +01:00
Sean Owen 343ddc7a98 Fix argLine for jacoco, and update to war plugin 3.0.0 2016-09-04 21:31:26 +01:00
Sean Owen 33fd85e0c2 Minor changes from inspection 2016-08-22 10:46:41 +01: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 58f748a451 Remove unneeded .gitignore, and unneeded libs copy step for Android targets. Update plugins. Fix javadoc warning / checkstyle problem. 2016-06-08 15:15:06 +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 a064c719e6 Update plugins 2016-05-08 09:32:07 +01:00
Sean Owen d5058a71c6
Test signed commit and update minor deps, plugin 2016-04-05 22:51:25 +01:00
Sean Owen 85f5d0597d Update plugins, slf4j, jetty 2016-03-01 00:32:30 +00:00
Sean Owen 308d91de1c Update plugins, dependencies, and clean up small code inspection issues 2016-01-21 14:46:48 +01:00
Sean Owen 4e3abafe30 Closes issue #518 : build assembly jar for javase to include dependencies like jcommander now. Also updates some plugins. 2015-12-09 14:25:10 +00:00
Sean Owen f8623ccb12 Target API 22 since not yet updated for new permission model; fix beep problem that surfaces in Android 6; update plugins 2015-10-23 06:28:55 -07:00
Sean Owen 6d61977c2e Update jai-imageio license; remove unneeded gwt-servlet dep; update clirr 2015-09-25 11:25:51 +01:00
Sean Owen 6f0deeeda3 Closes #467 : more efficient construction of BufferedImage from bit matrix 2015-09-23 14:49:59 +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 585667bc31 [maven-release-plugin] prepare for next development iteration 2015-08-19 13:21:05 +01:00
Sean Owen e641a9c36b [maven-release-plugin] prepare release zxing-3.2.1 2015-08-19 13:21:00 +01:00
Sean Owen 7ee719b613 Fix a few small app bugs from stack traces, and update plugins 2015-08-17 09:59:20 +01:00
Sean Owen d3c092e3f1 (Part 2 -- trying again) Make compile warnings into errors; update some plugins; use https in web based generator 2015-07-26 17:17:22 +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 867d580e66 Enable RAT check in build; enable checkstyle; fix some violations; update Jetty/Android plugin 2015-05-15 15:44:45 +01:00
Sean Owen 2e3021a510 Reintroduce basic DoS filter in web app 2015-05-13 12:16:55 +01:00