Commit Graph
2598 Commits
Author SHA1 Message Date
Alex Osborne ec7b03446c Bump commons-cli from 1.1 to 1.9.0 2024-11-29 17:12:43 +09:00
Alex Osborne add3ef58f7 Bump commons-io from 2.14.0 to 2.18.0 2024-11-29 17:12:43 +09:00
Alex Osborne faf26adbb5 Bump jsch from 0.1.54 (jcraft) to 0.2.21 (mwiede fork)
The original project has been unmaintained since 2018 and doesn't
support the algorithms to connect to current versions of openssh.
2024-11-29 17:12:43 +09:00
Alex Osborne 9a4e3c37e8 Remove redundant pdfbox dependency declaration from heritrix-contrib
It's already pulled in via heritrix-modules, so we don't need to
declare it again here.
2024-11-29 17:12:43 +09:00
Alex Osborne 4391f039a2 Bump httpcomponents from 4.5.13 to 4.5.14 2024-11-29 17:12:43 +09:00
Alex Osborne 3ac2cedc8e Bump junit from 4.13.1 to 4.13.2 2024-11-29 17:12:43 +09:00
Alex Osborne 631620c92b Bump groovy from 4.0.21 to 4.0.24 2024-11-29 17:12:43 +09:00
Alex Osborne fdab1d7e05 Bump dnsjava from 3.6.0 to 3.6.2 2024-11-29 17:12:43 +09:00
Alex Osborne d5fbb5ab89 Bump commons-codec from 1.6 to 1.17.1 2024-11-29 17:12:43 +09:00
Alex Osborne da67120347 Bump commons-net from 3.9.0 to 3.11.1 2024-11-29 17:12:43 +09:00
Alex Osborne 4fde0945e4 Bump kryo from 5.6.0 to 5.6.2 2024-11-29 17:12:43 +09:00
Alex Osborne a93761d0d5 Bump pdfbox from 3.0.1 to 3.0.3 2024-11-29 13:40:27 +09:00
Alex Osborne d11d38a56c Merge pull request #628 from internetarchive/slf4j-2.0.16
Bump slf4j from 1.6.6 to 2.0.16 and include adapter to fix startup warning
2024-11-29 11:24:12 +09:00
Alex Osborne d836fa7024 Merge pull request #627 from internetarchive/freemarker-2.3.33
Bump freemarker from 2.3.19 to 2.3.33
2024-11-29 11:23:57 +09:00
Alex Osborne 533d762db5 Include slf4j-jdk14 in heritrix-engine as a compile dependency
This eliminates the slf4j warning message on startup and should fix
logging for dependencies (such as crawlercommons) that use it.
2024-11-28 21:05:12 +09:00
Alex Osborne b736bd6a24 Bump slf4j from 1.6.6 to 2.0.16 2024-11-28 21:05:12 +09:00
Alex Osborne e23254ffe2 Bump freemarker from 2.3.19 to 2.3.33 2024-11-28 20:17:00 +09:00
Alex Osborne 4093871de1 Merge pull request #626 from internetarchive/checkpoint-on-shutdown
Add checkpoint on shutdown and --checkpoint CLI option
2024-11-28 16:43:45 +09:00
Alex Osborne 8ec614224e Merge pull request #625 from internetarchive/spring-6.1
Upgrade to Spring 6.1 (and Java 17 minimum)
2024-11-28 16:43:30 +09:00
Alex Osborne a02a339830 Fix StackOverflowError and map exceptions in Browse Beans 2024-11-24 20:30:16 +09:00
Alex Osborne 6de204c53c AutoKryo: Replace SerializingInstantiatorStrategy with StdInstantiatorStrategy
SerializingInstantiatorStrategy when compiled for Java 17 fails when running without `--add-opens java.base/java.io=ALL-UNNAMED`. StdInstantiatorStrategy seems to work OK though.
2024-11-24 19:51:56 +09:00
Alex Osborne dbed84740b Enable the -parameters compiler option
This is needed for Spring 6.1 to be able to reflect on parameter names. We have some autowiring that relies on parameter names such as `AbstractFrontier.setScope(DecideRule scope)`. Without this Spring doesn't know whether to inject the `scope` or `acceptSurts` beans as they both subclass DecideRule. Apparently older versions of Spring used to discover method names by parsing bytecode but this was mechanism removed in 6.1.
2024-11-24 18:38:14 +09:00
Alex Osborne ec689dbce3 Document checkpointOnShutdown and --checkpoint options in the operating guide 2024-11-24 14:35:52 +09:00
Alex Osborne 585fed8575 Add --checkpoint command-line option
This makes it possible to select a checkpoint from the command-line when using the --run-job option.
2024-11-24 13:40:33 +09:00
Alex Osborne 18c69def9a CheckpointService: Add checkpointOnShutdown option
This enables a checkpoint to be automatically created during a graceful termination. This makes it easier to stop and restart Heritrix without having to manually checkpoint each running job.
2024-11-24 13:08:11 +09:00
Alex Osborne 13075ec444 Merge pull request #624 from kris-sigur/strict-if-url-matching
Force strict if URL matching regex.
2024-11-20 17:12:08 +09:00
Alex Osborne 29cc045c22 Merge pull request #623 from kris-sigur/manfest-links
Treat manifest hops same as navlink hops
2024-11-20 17:11:55 +09:00
Alex Osborne 205cd2a64b Bump spring.version from 5.3.39 to 6.1.15 2024-11-20 16:57:48 +09:00
Alex Osborne dd210c8e70 Replace Spring's removed @Required annotation with our own
Spring 6 removed @Required and they suggest using constructor injection instead. If we switched our beans to that we'd break existing Heritrix crawl configs. So this change implements our own basic version so we still get errors when a @Required property is null.
2024-11-20 16:30:15 +09:00
Alex Osborne 055f4f9f22 Require Java 17 minimum 2024-11-20 15:31:36 +09:00
Kristinn Sigurðsson 4a49557b8b Force strict if URL matching regex.
Adds a list of regular expressions that URLs being processed by the
ConfigurableExtractorJS are evaluted against. If they match the
extraction is performed in strict mode, even if strict mode is not set.

This requires a minor modification to ExtractorJS so that the CrawlURI
is passed to the shouldAddUri method that ConfigurableExtractorJS
overrides.
2024-10-30 08:53:08 +00:00
Kristinn Sigurðsson 5ed6147c3e Treat manifest hops same as navlink hops
Links from manifests (e.g. sitemaps) should not receive the preferential
treatment sometimes accorded to "transitive" hops. Most commonly this is
about giving priority to discovered (probable) embeds.

Manifests should be regarded as more analogous with a directory page.
2024-10-29 08:53:15 +00:00
Alex Osborne 25c73da7e3 [maven-release-plugin] prepare for next development iteration 2024-10-29 15:18:54 +09:00
Alex Osborne 0aec63b70f [maven-release-plugin] prepare release 3.5.0 3.5.0 2024-10-29 15:01:16 +09:00
Alex Osborne 24abe0c766 Update CHANGELOG for 3.5.0 2024-10-29 14:56:24 +09:00
Alex Osborne d42e8091a5 Remove repository.cloudera.com
No longer needed now that we've dropped hbase.
2024-10-25 17:04:43 +09:00
Alex Osborne cd0266014a Update CHANGELOG.md 2024-10-25 16:23:34 +09:00
Alex Osborne 3889bfc847 Merge pull request #621 from nla/remove-hbase
Remove HBase from contrib
2024-10-25 15:01:27 +09:00
Alex Osborne 345e927d32 Remove HBase from contrib
The transitive dependencies pulled in via hbase are causing many security alerts for unpatched vulnerabilities in Dependabot, Maven Central and other tools. The newest version of hbase-client these modules seem to compile against still has many vulnerable transitive dependencies and the latest version of HBase appears to have many breaking API changes.

These can be re-added if someone volunteers to take over maintaining this code and updates it so that it doesn't pull in vulnerable dependencies.
2024-10-25 14:33:26 +09:00
Alex Osborne ff84c8d32f Bump jetty from 9.4.55.v20240627 to 9.4.56.v20240826 2024-10-18 22:17:25 +09:00
Alex Osborne 3c649614ba Avoid old versions of commons-io and commons-collections from hbase 2024-10-18 22:14:51 +09:00
Alex Osborne c25e57a4a1 Bump version to 3.4.1-SNAPSHOT 2024-10-18 20:54:12 +09:00
Alex Osborne b0fad42e25 Merge pull request #619 from internetarchive/jdk23
JDK 23 support
2024-10-18 20:51:08 +09:00
Alex Osborne 070063ce0a Merge pull request #618 from internetarchive/ftpserver-core-1.2.0
Bump ftpserver-core from 1.1.1 to 1.2.0
2024-10-18 20:45:33 +09:00
Alex Osborne 5cfa5f02df Update CI tests from JDK 22 to 23 2024-10-18 20:45:11 +09:00
Alex Osborne 7a3d29ad4d Bump ftpserver-core from 1.1.1 to 1.2.0 2024-10-18 20:38:49 +09:00
Alex Osborne 6157645545 Merge pull request #612 from internetarchive/config-extractor-js-default-strict
Set default value for ConfigurableExtractorJS strict property
2024-10-18 20:32:58 +09:00
Alex Osborne 33f009516f Merge pull request #616 from internetarchive/webarchive-commons-1.1.10
Remove log4j from main Heritrix distribution
2024-10-18 20:32:42 +09:00
Alex Osborne d8aa0902e4 Merge pull request #617 from internetarchive/kafka-3.8.0
Bump kafka from 0.9.0.0 to kafka-clients 3.8.0
2024-10-18 20:30:38 +09:00
Alex Osborne 80b174f1fd Bump kafka from 0.9.0.0 to kafka-clients 3.8.0 2024-10-18 20:06:23 +09:00