Commit Graph

  • cc97f01656 Merge pull request #123 from kris-sigur/HostsReport Noah Levitt 2016-01-15 10:33:07 -08:00
  • 70c688a4f5 Merge pull request #135 from vonrosen/ARI-4562 Noah Levitt 2016-01-15 10:15:23 -08:00
  • e92e5f2bb3 Merge branch 'master' into form-login-extra-inputs Noah Levitt 2016-01-15 09:39:24 -08:00
  • 02e3a554f0 Merge pull request #142 from nlevitt/form-login-multipart Hunter 2016-01-15 08:19:23 -08:00
  • c1abbfa5bd handle login forms with <input type="text"> fields in addition to username (for this to work there must be exactly one input field whose name contains the string "username") Noah Levitt 2016-01-14 18:02:54 -08:00
  • 368d586eb1 fix NullPointerException when using old HtmlFormCredential login Noah Levitt 2016-01-14 16:00:08 -08:00
  • 3b12a751e1 to make this branch only about multipart/form-data, undo the changes to handle more complicated forms with extra input fields; add unit test; store CrawlURI submit data in http-library agnostic way and remove httpcomponents-specific code from HTMLForm, refactor creation of post data accordingly Noah Levitt 2016-01-14 12:17:19 -08:00
  • 309847cc40 Be sure to return at least one of the candidates Hunter Stern 2016-01-11 16:40:28 -08:00
  • 704ec62487 Remove unneeded constant Hunter Stern 2016-01-07 15:08:02 -08:00
  • a2a39fe052 Make sure to check form encoding type when addign form to curi data Hunter Stern 2016-01-07 15:03:25 -08:00
  • 93bca3d55c More changes for https://webarchive.jira.com/browse/ARI-4656 Hunter Stern 2016-01-07 14:52:00 -08:00
  • 4997014b34 More changes Hunter Stern 2015-12-28 10:06:53 -08:00
  • ad329ceea8 Save enctype of form in submission curi Hunter Stern 2015-12-17 10:40:57 -08:00
  • 34cffd512a Add ability to submit forms with enctype="multipart/form-data" Hunter Stern 2015-12-17 09:46:32 -08:00
  • afa4f6535b If multiple username inputs in login form, favor the one with the word 'login' in it. Hunter Stern 2015-12-07 16:36:49 -08:00
  • 5f630e4268 Make regex more inclusive for parsing out youtube videoId and add youtube watch page as relative to base Hunter Stern 2016-01-14 09:03:42 -08:00
  • 7bcdf03a78 Merge branch 'master' of github.com:internetarchive/heritrix3 into ARI-4562 Hunter Stern 2016-01-14 08:48:39 -08:00
  • eeeea6f0c4 Merge pull request #122 from nlevitt/form-login-checked-boxes Hunter 2016-01-14 08:00:49 -08:00
  • bf2a887688 Merge pull request #138 from nlevitt/novel-quotas Adam Miller 2016-01-13 16:25:24 -08:00
  • 9e4c7f0024 Merge branch 'master' into novel-quotas Noah Levitt 2016-01-13 13:44:54 -08:00
  • b82896927a Merge pull request #132 from nlevitt/amqp-url-receiver-changes Adam Miller 2016-01-13 13:35:43 -08:00
  • df5748d1f1 Merge pull request #136 from ukwa/amqp-declare-recieved-seeds Noah Levitt 2016-01-13 13:27:43 -08:00
  • 22336fb71b fix stats in unusual case of "failed" fetch with response > 0 (only case where this can happen currently is if basic auth is configured for a url, but fails and url returns "401 Unauthorized") Noah Levitt 2016-01-12 17:34:27 -08:00
  • 73be17af06 Disable SNI for a request if that request failed due to an SNI error 'javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name' Hunter Stern 2016-01-12 16:58:48 -08:00
  • 3dbf754d56 Merge pull request #137 from nlevitt/seed-limits Adam Miller 2016-01-12 16:39:17 -08:00
  • 65a1077425 license header Noah Levitt 2016-01-12 14:59:45 -08:00
  • 32dd07375d Merge pull request #139 from nlevitt/robots-sep-sections Neil Minton 2016-01-11 18:39:25 -06:00
  • 8918ce99c6 check that sourceTag of CrawlURI actually matches configured sourceTag Noah Levitt 2015-12-15 11:24:53 -08:00
  • 7a8a614804 avoid exception in case applyToSubdomains is enabled and configured host is an ip address Noah Levitt 2015-12-15 11:06:33 -08:00
  • a95519543d avoid exception in case applyToSubdomains is enabled and CrawlURI host is a nonstandard host like "dns:" in HostQuotaEnforcer Noah Levitt 2015-12-15 11:02:38 -08:00
  • e3e6bfeb11 new HostQuotaEnforcer option applyToSubdomains, to additionally apply the quotas (separately) to each subdomain of the configured host Noah Levitt 2015-12-14 18:17:44 -08:00
  • 2f82d43110 remove already-outdated stuff from javadoc Noah Levitt 2015-12-14 15:24:08 -08:00
  • 6f9c235fd0 fix javadoc Noah Levitt 2015-12-14 15:23:16 -08:00
  • 013029d9ad fix annotation copy-paste-o Noah Levitt 2015-12-14 15:22:51 -08:00
  • 99c5af0cf2 comment out currently failing test (needs webarchive-commons pull request merged) Noah Levitt 2015-12-14 10:46:50 -08:00
  • 2a56886c01 add license header Noah Levitt 2015-12-14 10:46:14 -08:00
  • 8deead15ec new class to enforce quotas on a host Noah Levitt 2015-12-11 17:02:32 -08:00
  • f1173789f7 fix test now that ContentDigestHistoryTest.shouldProcess() is smarter Noah Levitt 2015-12-11 16:13:17 -08:00
  • c05678e296 CrawlLimitEnforcer support for maxWarcNovelBytes and maxWarcNovelUrls, with tests Noah Levitt 2015-12-11 16:08:47 -08:00
  • 38931f152a handle multiple clauses for same user agent in robots.txt Noah Levitt 2015-12-11 15:42:16 -08:00
  • dfc1dd940e tally warc novel content bytes and warc novel urls in CrawledBytesHistotable, with tests Noah Levitt 2015-12-11 12:49:02 -08:00
  • c20a06ec27 Merge branch 'seed-limits' into novel-quotas -- so I can add tests to StatisticsSelfTest.java in this branch Noah Levitt 2015-12-11 11:35:11 -08:00
  • 87f70c3e6a WARCLimitEnforcer to enforce limits (by stopping the crawl job) on any of the stats kept by WARCWriterProcessor Noah Levitt 2015-12-11 11:26:11 -08:00
  • 294cfa3524 limited test of warc writer stats Noah Levitt 2015-12-11 11:22:03 -08:00
  • 9ce12d2dbe add warc stats to CrawlURI.getData() dynamic attributes list after writing records; new method WARCWriterProcessor.getStats() to expose cumulative stats Noah Levitt 2015-12-11 11:21:05 -08:00
  • 35a7954882 refactor FetchStats to be a subclass of CrawledBytesHistotable, to remove redundant code Noah Levitt 2015-12-11 11:05:44 -08:00
  • 566c1a600d remove warning which can be misleading if crawl is configured to write only certain urls to warcs Noah Levitt 2015-12-11 11:01:26 -08:00
  • cce07084e5 CrawlLimitEnforcer support for maxNovelBytes and maxNovelUrls, with tests Noah Levitt 2015-12-09 17:15:34 -08:00
  • 501efe4a7b QuotaEnforcer support for quotas on novelBytes and novelUrls, with tests Noah Levitt 2015-12-09 15:54:36 -08:00
  • ce31cada5f change class originally known as SeedLimitsEnforcer to SourceQuotaEnforcer; make it a Processor instead of a DecideRule (because checking quota at link scoping time doesn't work, since many urls which would go over quota can be added to the frontier); support quotas on any of the fields tracked by CrawledBytesHistotable Noah Levitt 2015-12-08 13:45:25 -08:00
  • 7929e16d6a fix checkpointing problems with new statsBySource Noah Levitt 2015-12-04 21:33:40 -08:00
  • de22096dde SeedLimitsEnforcer (contrib) DecideRule that rejects CrawlURI if source seed byte or document limit has been reached Noah Levitt 2015-12-03 17:50:46 -08:00
  • 5559a5353d SourceSeedDecideRule applies the configured decision for any URI with discovered from one of a set of seeds Noah Levitt 2015-12-03 17:43:26 -08:00
  • ce4a865764 add support to StatisticsTracker to keep a CrawledBytesHistotable per source tag when trackSources is enabled; integration test for this functionality Noah Levitt 2015-12-03 16:13:34 -08:00
  • 0f6d385b24 Hook in submitted seeds properly. Andrew Jackson 2015-11-27 20:51:35 +00:00
  • 89cd085e76 Merge pull request #133 from vonrosen/ARI-4565 Noah Levitt 2015-11-10 17:00:23 -08:00
  • d3070cef54 Allow KnowledgableExtractorJS to parse out youtube watch from youtube javascript embed Hunter Stern 2015-11-06 11:39:41 -08:00
  • 17f58f4bf8 Remove uneeded logger Hunter Stern 2015-11-06 10:42:55 -08:00
  • 580391e0a7 Move most of addCookie functionality into AbstractCookieStore Hunter Stern 2015-11-06 10:40:01 -08:00
  • 3142bbd485 Revise based on feedback in pull request from nlevitt Hunter Stern 2015-11-02 13:07:11 -08:00
  • 44ac1030f2 Make sure to synchronize in addCookie now that domain count limits are imposed and modify unit test to also take into account domain limits Hunter Stern 2015-10-16 17:12:42 -07:00
  • d9684e913b Restrict number of cookies per domain to 50 Hunter Stern 2015-10-16 14:05:56 -07:00
  • 5ec6c738a6 Revert "Possible fix that probably isn't needed" Hunter Stern 2015-10-13 17:21:28 -07:00
  • c6f019a095 Possible fix that probably isn't needed Hunter Stern 2015-10-13 14:18:06 -07:00
  • e37b2b42cb avoid spurious logging Noah Levitt 2015-10-08 18:11:09 -07:00
  • e4acb6c512 try very hard to start url consumer, and therefore bind the queue to the routing key, so that no messages are dropped, before crawling starts (should always work unless rabbitmq is down); some other tweaks for clarity and stability Noah Levitt 2015-10-08 17:22:44 -07:00
  • 79ebb0e03c Merge pull request #129 from nlevitt/java8keytool Hunter 2015-10-06 16:09:43 -07:00
  • a9c4cb42c9 Merge pull request #130 from nlevitt/stay-alive-statistics-tracker Hunter 2015-10-06 16:09:11 -07:00
  • 98d41051b8 Merge pull request #131 from nlevitt/amqp-url-receiver-changes Hunter 2015-10-06 15:52:05 -07:00
  • af5c6c3dde set isRunning=true so that stop() gets called to avoid leaking connections when crawls finish Noah Levitt 2015-10-06 15:50:47 -07:00
  • 11d4bab1ac catch exceptions and log error in StatisticsTracker.run(), to make sure statistics events don't stop happening Noah Levitt 2015-10-05 11:46:35 -07:00
  • 41dac25cb6 Merge pull request #128 from ukwa/amqp-url-receiver-changes Noah Levitt 2015-09-24 16:52:04 -07:00
  • b7afc627ed fix typo Noah Levitt 2015-09-24 15:31:12 -07:00
  • 88c7f3c3d4 Merge pull request #124 from vonrosen/ari-4371 Noah Levitt 2015-09-24 10:26:49 -07:00
  • e883977de6 Downgrade Throwable to Exception. Andrew Jackson 2015-09-23 23:14:11 +01:00
  • 9aabcb3272 add license header to new class Noah Levitt 2015-09-23 12:07:38 -07:00
  • 12dde2b693 load keytool utility main class dynamically, trying both the old and new (java 8) class names Noah Levitt 2015-09-23 12:06:11 -07:00
  • d1ea01c75d Updated with additional optional fields and separated isConsuming from isRunning. Andrew Jackson 2015-09-19 21:39:19 +01:00
  • cd3fb8d717 Configurable and 3.3 compatible AMQP receiver for #1 Andrew Jackson 2015-09-18 15:48:09 +01:00
  • 490a257cfe Merge pull request #126 from caofangkun/her-001 Noah Levitt 2015-08-25 10:40:59 -07:00
  • 6cf0d4a0c5 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing caofangkun 2015-08-24 17:56:56 +08:00
  • f097939a1c Don't call setRealm so other realms that can be used. Hunter Stern 2015-08-14 13:01:54 -07:00
  • f5a4ecbb03 Merge pull request #125 from ldko/AMQP-declarations-fix Noah Levitt 2015-08-03 14:26:38 -07:00
  • c94f515956 Sets the default clientId to the same as on Receiver side Lauren Ko 2015-07-31 15:45:49 -05:00
  • 592c70fa3d declare AMQP exchange in AMQPUrlReceiver to prevent exception when exchange not yet created Lauren Ko 2015-07-30 17:34:48 -05:00
  • 3495851029 JavaDoc typo Kristinn Sigurðsson 2015-07-13 15:10:44 +00:00
  • b15fbbd13e Enable suppression of empty hosts in report. Until now hosts that have never been crawled are included in the hosts report. This can be a very large number of hosts and is infrequently of interest. This makes it possible to exclude the empty hosts from the report. Default behavior remains to include them. The option is highlighted by including it in the relevant, commented-out section of the default profile. Kristinn Sigurðsson 2015-07-13 15:08:03 +00:00
  • 0cf009eb4c Use default value in sample profile. Kristinn Sigurðsson 2015-07-13 14:58:23 +00:00
  • 96b927d9fa Make sorting of host report configurable. Can now set a maximum size for sorted reports. Longer reports are unsorted. Default behavior is still to sort all reports. Default profile updated to reflect this new option in a commented-out section. Kristinn Sigurðsson 2015-07-13 14:55:26 +00:00
  • bf638939b0 Remove unused "top" hosts tracking. This used to be used for an overview report that was available in the H1 UI. Had become vestigial code that served no purpose. Kristinn Sigurðsson 2015-07-13 14:32:34 +00:00
  • 4e22f1f809 Allow realm to be set by server for basic auth. Hunter Stern 2015-07-07 13:06:29 -07:00
  • 3c4d09f6c0 only submit checkbox and radio button form fields if they are on by default ("checked" attribute is present) Noah Levitt 2015-06-15 17:27:59 -07:00
  • 7afe03540a Merge pull request #120 from nlevitt/extractorjs-twodots Hunter 2015-05-04 15:45:16 -07:00
  • eb78de6963 Merge pull request #121 from nlevitt/knowledgable-extractorjs Hunter 2015-05-04 15:41:21 -07:00
  • fea49f0e30 expand stubbed javadoc comment Noah Levitt 2015-05-04 15:16:11 -07:00
  • 0f43a3dae6 add license header Noah Levitt 2015-05-04 15:08:52 -07:00
  • e9fcb34508 new contrib module KnowledgableExtractorJS, a subclass of ExtractorJS that has some customized behavior for specific kinds of web pages; initially, the one special behavior it has is for drupal generated pages Noah Levitt 2015-04-21 01:19:33 -07:00
  • 1027f854ec for ARI-4267 accept possible uris with two dots in the filename part if they end with a known good extension (e.g. "foo.min.js") Noah Levitt 2015-04-20 17:08:47 -07:00
  • 0923a7ca18 Merge pull request #119 from adam-miller/HER-2082 Noah Levitt 2015-03-26 16:30:49 -07:00
  • 458cbb51b0 Fix for HER-2082 https://webarchive.jira.com/browse/HER-2082 WARCWriterProcessor.java Add last hop character and link context to outlinks in metadata records Adam Miller 2015-03-26 16:19:09 -07:00