598 Commits
Author SHA1 Message Date
Michael Peter Christen fa8b0e5e32 Fix #815 by downgrading Dropwizard Metrics to 4.2.26 2026-08-21 00:23:08 +02:00
Michael Peter Christen b1fd3b3185 Fix Jetty 12 active request accounting
Track each HTTP request independently and always release its entry on
completion, failure, or async termination. Enforce the request limit
atomically, remove obsolete connection-close accounting, repair stale
cleanup, and persist the configured maximum correctly.

Update UI terminology, help, localization, and focused regression tests.

- Fixes #800
- Fixes #808
2026-08-16 21:53:13 +02:00
Michael Peter Christen 49d3428a45 Fix error handling for client disconnects 2026-07-30 23:41:05 +02:00
Michael Peter Christen 302b6af4df Migrated to Solr 9.10.1 and Lucene 9.12.3 2026-07-12 13:13:07 +02:00
Michael Peter Christen 554911a88f Migration to Jetty 12.1.11 2026-07-12 12:03:57 +02:00
Michael Peter Christen b2e9142ea9 towards a Jetty 9 decoupling baseline for the Jetty 12 migration 2026-07-12 00:49:49 +02:00
Michael Peter Christen bfddfe5e7e isolate Solr 9.0 Jetty client dependencies in a relocated bridge 2026-07-11 23:40:15 +02:00
Michael Peter Christen 91a9527bc4 removed org.restlet.jar as it is not needed any more
restlet was a dependency for Solr 4.8 but not for Solr 9.0 any more.
2026-07-10 23:45:51 +02:00
Michael Peter Christen dd0225bdde We migrate to JDK 17
This  is a hard requirement to be able to migrate
to a more recent jetty version, which may happen sometime soon.
2026-07-10 22:47:39 +02:00
Michael Christen 08530c252b Merge pull request #747 from Al2Klimov/patch-1
Fix typo in echo message for downloading ivy
2026-01-03 03:40:07 +01:00
Michael Peter Christen 3ecb0b459e fixed windows installer; updated download path for java installer 2026-01-01 23:58:10 +01:00
Alexander Aleksandrovič Klimov 9e143160dd Fix typo in echo message for downloading ivy 2025-12-23 13:50:30 +00:00
Henschi 7532761506 clean libt directory in ant call clean 2025-03-29 19:47:06 +01:00
henschi 7fc1995a24 remove ivy.jar in ant clean call 2025-03-27 14:53:29 +01:00
henschi 97554498ce upgrade ivy to 2.5.3 (CVE fixes) 2025-03-27 14:15:49 +01:00
Michael Peter Christen d181b9e89b added deleted files from commit https://github.com/yacy/yacy_search_server/commit/254f12d60b2d80b8bd136216c4b091d43e4a8c90 which are still needed and had been linked outside of yacy/ui 2024-07-24 15:57:51 +02:00
Michael Peter Christen 910a496c9f replaced http links with https 2024-07-21 18:02:58 +02:00
Michael Peter Christen 8b65a4d14e fixed build clean 2024-05-19 18:02:49 +02:00
Michael Peter Christen 8eb0d490aa migrated solr to 9.0
This is a major step because solr removed support for embedded solr
instances in 9.0 and we want to keep it because we want to ship
YaCy with an embedded solr. It was necessary to add parts of solr
code into YaCy to make this migration possible. Further on with
Solr 9.1 they removed even more parts which are required for embedded
operation, therefore we cannot migrate yet further without big
changes.
If you are running a YaCy instance with Solr 8.x, the migration should
be done automatically. If not you require to first migrate to a YaCy
version 1.93 with Solr 8.x to migrate to Solr 8 data.
2024-05-19 17:34:57 +02:00
Michael Peter Christen aeb4c7a660 removed warnings during normal build 2023-10-04 22:00:30 +02:00
okybaca 1de37bc60b added restartYACY.sh so it's included in release package 2023-08-28 13:17:30 +02:00
Thomas Koch ffd66bc1b4 turn compiler warnings on again
closes #561
2023-02-11 17:19:24 +02:00
Michael Christen 51cf17d252 removed warnings 2022-10-04 22:28:15 +02:00
Michael Peter Christen 60c9986a0e new release file names with date and git hash
...without reference to 9000ish SVN
2022-10-04 15:31:47 +02:00
Michael Peter Christen ede9efe50c write git revision number to yacyBuild.properties 2022-10-04 01:50:56 +02:00
Michael Christen 56aa23a3ca create release file path in ant process and explicitly make build dir 2022-10-03 12:01:23 +02:00
Michael Christen 8b37a5dc6f removed log4j properties because we don't have a log4j any more 2022-10-03 10:44:03 +02:00
Michael Christen 347b676b76 changed system to load build properties 2022-10-03 10:12:47 +02:00
Michael Peter Christen 1e1107c97c clean-up and new servlet method caching 2022-10-02 23:39:00 +02:00
Thomas Koch 04ca24d7dc rm dead stuff from build.xml 2022-07-10 12:33:32 +00:00
Thomas Koch e611305787 rm nsis ant task, call makesis command with exec
This allows to remove another jar file from the git repo and the
whole libbuild folder.
The ant task is just a wrapper to call the makensis command. So
there should not be any drawback to remove it.
2022-07-10 12:33:32 +00:00
Thomas Koch c98d09b664 rm GitRevTask
The releaseNr is now set to a static value in build.properties. We
can increment it there manually and eventually switch to another
version number scheme if we like.
2022-07-10 12:33:28 +00:00
Thomas Koch 3116713672 rm buildDate from build.xml and its usages
The https://reproducible-builds.org project invests a lot of work
to make builds reproducible. This is a security property. It allows
to compare the build of binaries from different builder machines.
If they are identical, it means that either the builds have not
been manipulated or an attacker managed to attack all builder
machines in exactly the same way.

One problem that the reproducible-builds project often sees is
that projects include the build time in their binaries. This
makes builds unreproducible for apparently no reason. The build
date should not be of interest since binaries built on different
dates but from the same source code should not be different.

Thus I decided to remove the build date instead of re-implementing
the functionality without the GitRev task. Anyways the reported
date was not the build date but the date of the last git commit
which is even less informative. The git commit ID would have
information value but should only be relevant for "nightly builds".
2022-07-10 11:32:38 +00:00
Thomas Koch 572558244a rm unused build properties PKGMANAGER, RESTARTCMD, DESTDIR
PKGMANAGER is always false, thus the java code wrapped in
if statements for this property is dead code and can also
be removed.

The Debian packaging removed in c4659f0fb0
did set the PKGMANAGER property to true. When we do distro
packages again, we can revisit this commit and redo it with
property files instead.

RESTARTCMD is only used inside those dead code.

DESTDIR is never used even in the build.xml
2022-07-10 10:14:51 +00:00
Thomas Koch b661cc56d8 remove unused branch property in build.xml
First commit of a series to get rid of the git based versioning
implemented in libbuild/ folder as Ant task. It counts commits
since the last tagged version and uses this number added with
9000 as the last part of the version number.

This is a legacy from Subversion times.
2022-07-10 10:14:46 +00:00
Thomas Koch 1c3c59de85 fix ant build failure on multiple call to resolve target
Failed build:
https://github.com/yacy/yacy_search_server/runs/6859314856

Relevant build log:

resolve:
[ivy:retrieve] ivy.instance reference an ivy:settings defined in an other classloader.  An new default one will be used in this project.
[ivy:retrieve] :: Apache Ivy non official version -  :: http://ant.apache.org/ivy/ ::
[ivy:retrieve] :: loading settings :: url = jar:file:/usr/share/java/ivy.jar!/org/apache/ivy/core/settings/ivysettings.xml
BUILD FAILED
/home/yacy/actions-runner/_work/yacy_search_server/yacy_search_server/build.xml:111:
 java.lang.ClassCastException: org.apache.ivy.core.module.descriptor.DefaultModuleDescriptor
 cannot be cast to org.apache.ivy.core.module.descriptor.ModuleDescriptor

Finding:

The second call to the resolve target in ant failed apparently due to
two instances of Ivy in the java runtime.
Without full investigation, the problem could be fixed by ensuring that
the resolve target is only called once within one ant build.
2022-06-13 14:27:53 +03:00
Thomas Koch 9eb4570df6 download ivy on non-Debian platforms 2022-04-09 14:50:34 +00:00
Thomas Koch 8fbd6386fd use ivy to manage jars 2022-04-08 18:33:20 +00:00
Thomas Koch 4c0ae2ca36 rename langdetect.jar to name in maven repo
The maven jar contains the language profiles that yacy also ships
in the langdetect/ folder.
2022-04-08 18:33:00 +00:00
Thomas Koch 474898da26 rename chardet.jar to name from maven
The class files in the yacy jar differs from the one downloaded
from maven. But the file tree is equal.
2022-04-08 18:32:47 +00:00
Thomas Koch 5309ca3a5a rename jars to correspond to maven repos 2022-04-08 18:32:23 +00:00
reger24 6c5b282919 Some Gradle build script cleanup
- added multiproject in libbuild to compile and install all needed jars (reproduceing old maven build)
- adjusted GitComInf (use a project version, build script with less hardcoded strings)
- adjusted J7Zip-modified
	- include common version number for output jar
	- add task installJarToRoot to copy output jar to yacycore /lib
- adjust main build with updated jar names

as files are the same - updated also old build.xml

And the Eclipse specific .classpath (with shall be deleted until complete move to gradle)
2022-02-01 14:04:38 +01:00
reger24 4df29edd03 Implement the Ant javac task to compile htroot direct in Gradle
- import of the build.xml not longer needed and removed
2022-01-21 07:42:47 +01:00
reger24 e39bb5fbab Modified GitRevNr Ant-Plugin to work in Gradle
- new support library GitComInf to generate a property file for use in Gradle
- adjusted build.gradle to make use of it to create the yacyBuildProperties.java
   - including additon of properties ext.filterTokens as store for Gradle
- added gradle-compile-htroot (w/o depends) to old build.xml as target until complete migration
  as it is imho important

imho: much to complicated to get a running number - should be supplied by repo or simplified
2022-01-20 09:59:34 +01:00
reger24 3e34f7c596 Import Ant build.xml into Gradle and use old compile of servlets in Gradle
to be able to use/reuse Ant targets where task has not been implemented in Gradle build.
- use the import to include the compile of htroot as first important task

  ! it is possible that first build fails an compile of GitRevTask.jar !
  ! solution/workaround -> use "ant all" once to compile GitRevTask.jar !

- adjusted build.xml a little
   - split compile-core into compile-core and compile-htroot to have a target for htroot comp. only
   - set build-path to reuse Gradles build directory
   - (fix javadoc failure)

- changed the filtered-copy of yacyBuildProperties.java to ! the build path :-(
  as current (copy,delete,exclude) is complicated and not migration worthy,
  used simple/straigt forward approach (using a yacyBuildProperties.java.template file as copy source)
2022-01-18 20:00:55 +01:00
Michael Peter Christen 3dc6613096 updating slf4j 1.7.25 -> 1.7.32 2021-12-13 12:26:49 +01:00
admin fbf8ddd32d upgrade of jsoup 1.12.1 -> 1.14.2 2021-08-24 12:23:57 +02:00
Michael Peter Christen 4c889b7ff9 fixed build paths 2021-08-18 19:05:44 +02:00
Michael Peter Christen 8a2adb2b15 upgraded commons-compress lib
cause: alert in
https://github.com/yacy/yacy_search_server/security/dependabot/pom.xml/org.apache.commons:commons-compress/open
2021-08-07 18:21:54 +02:00
Michael Peter Christen c4659f0fb0 removed Debian and Red Hat build process
as announced in
https://twitter.com/yacy_search/status/1414608643241152516
because of lack of community support for these kind of
distributions. We will still support
tarball, Windows, Mac and Docker releases.
2021-07-19 20:33:52 +02:00