Commit Graph

14229 Commits

Author SHA1 Message Date
reger24
a37352cfa7 Update link to Moby in DictionaryLoader_p.html
see issue https://github.com/yacy/yacy_search_server/issues/455
2022-02-11 03:19:30 +01:00
reger24
141e86964e Fix compile deprecation warning
warning: [removal] AccessControlException in java.security has been deprecated and marked for removal
2022-02-11 00:27:55 +01:00
reger24
417899dda2 Correction of last commit 9dace71aea
accidently commented out kaskelix
2022-02-10 05:55:47 +01:00
reger24
9dace71aea Update yacy.net release download location
to //download.yacy.net/ in network.*.unit files

@Orbiter   for the latest avail. releases (v1.924 ...tar.gz)  the *.tar.gz.sig  file is missing,
so download fails with error "Download of releas .... failed"
2022-02-10 05:51:11 +01:00
reger24
47840ef866 Optimize GitComInf
- remove depreciated repro.peel(tag)
- reduce counting loop
2022-02-10 02:14:44 +01:00
reger24
bdb9cdfa15 Commented out use of org.mini2Dx:parcl plugin
I'm bothered about the Gradle depreciation notice after each compile,
created by org.mini2Dx:parcl plugin
- which is currently not used (would only work with additional configuration)
2022-02-09 21:24:27 +01:00
reger24
a7e93d9328 Add option to add host to default blacklist from search result
- added authorized ikon/button to blacklist a host
- host is added to default blacklist
- insired by https://github.com/yacy/yacy_search_server/issues/213#issuecomment-412485190
2022-02-09 19:42:04 +01:00
reger24
05d6d0405f Move sub-menu UI Translations from public Status to secure Sys Administration
- as UI Translation (TransNews_p.html) is a secured page
- it uses for publishing internal News system but belongs not really to "Community Data"
2022-02-08 22:42:11 +01:00
reger24
8be55472d9 Optimize task storeGitComInf lifecycle detection
by having Gradle monitor .git directory changes
to speed up subsequent builds with min changes.
2022-02-07 18:22:48 +01:00
reger24
3867741a41 Optimize build.gradle task compileHtrootServlets
Situation: if you change a proceudure name  / add a procedure in java source
and at the same time use the new procedure in htroot servlet
-> build fails with ant:javac error during gradle configuration phase
-> also clean build won't help as 1. gradle action is configure
see also https://github.com/yacy/yacy_search_server/issues/454#issuecomment-1031106178

Reason: in build directory is still the old yacycore.jar without the new procedure so javac - class not found will occur in compileHtrootServlets task

Quickfix: delete build/libs/yacycore.jar or the whole build directory

applied optimization
defining inputs and outputs  for lifecycle detection in gradle task
and have the work done in a doLast  section
2022-02-07 10:23:24 +01:00
reger24
91a2ad1457 fix test xlsx file with correct anchor
as test anchor in source changed
2022-02-07 04:24:29 +01:00
reger24
027e284ef9 Enhance notability of current blacklist by diff color in header
in servlet Blacklist_p.html
bugfix for 18dddb74c9
2022-02-06 09:43:59 +01:00
reger24
18dddb74c9 Harmonize loading/reading blacklist
between init  and servlet to use the same procedures
-added BlacklistHelper.blacklistToSortedArray to simplify use in servlet
2022-02-06 00:10:55 +01:00
reger24
11c4a1b45c Blacklist import from file, exclude comment lines
starting with  # // or ;
inspired by issue https://github.com/yacy/yacy_search_server/issues/446
2022-02-05 17:38:29 +01:00
reger24
0e4c93f02a IndexBroswser chart last 100 days - see https://github.com/yacy/yacy_search_server/issues/453 2022-02-04 06:09:08 +01:00
Michael Peter Christen
0e74b01dad Merge branch 'master' of git@github.com:yacy/yacy_search_server.git 2022-02-03 13:27:15 +01:00
Michael Peter Christen
0579a9546a changed link to new forum location 2022-02-03 13:27:06 +01:00
reger24
f28d705cd0 update IndexBroser_p add to blacklist button
add feedback to user on success
2022-02-03 03:25:13 +01:00
reger24
d7d977569b Optimize IndexBroser_p - "Add to blacklist" button
to better match hosts with www.
using the default match substitution  (to match www.host.com/ and host.com/)
2022-02-01 14:22:08 +01: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
Michael Peter Christen
52fe2ed8ba Merge branch 'master' of git@github.com:yacy/yacy_search_server.git 2022-02-01 04:21:55 +01:00
Michael Peter Christen
39e7bbac13 removed deprecation warning for new Double() 2022-02-01 04:20:55 +01:00
reger24
054e3b48fc Gradle script: exclude old lib dir from normal distribution (distZip/distTar)
to make sure no duplicate file error occurs if run after packageDist (lagacy archives)
2022-01-31 02:50:33 +01:00
reger24
677316edda disable jvm mem limit in gradle script
to prevent premature outofmemory exceptions
2022-01-30 22:18:41 +01:00
reger24
6a5f0b3684 Servlet IndexBroser_p add button "Add to blacklist"
allows to add the displayed host to add to the default blacklist
2022-01-30 21:01:23 +01:00
reger24
7ca7495b19 Update sub project GitComInf
- to complete without exception if not run in a git clone (to make the root build complete without build error)
- update gradle-wrapper to same version as root project (v7.3.3)
2022-01-30 19:31:31 +01:00
reger24
3208b2a54c Remove unnecessary jar destinationDir from Gradle build script
- 1. not needed as in dev environment IDE's and from commandline  gradlew run should/is be used to run YaCy (instead of startYACY) and Gradle makes sure yacycore.jar is on classpath

- 2. creates problem on compile if in source AND htroot some code has changed
as old yacycore.jar remains in lib (not removed by clean)
2022-01-30 19:26:07 +01:00
reger24
5a65133da4 remove .settings - Eclipse specific local settings not needed in distribution
.settings is created locally by Eclipse upon import as gradle project to store Eclipse specific defaults.
No need to include in distribution.

Also
   - .project   and
   - .classpath
are Eclipse specific and created by gradle and should be deleted (as not needed and IDE specific)
- left them for now as files might be needed for building project with Ant (build.xml) which is  likely still used by some.
2022-01-29 14:07:14 +01:00
reger24
ee46c3333a remove .settings - Eclipse specific local settings not needed in distribution
.settings is created locally by Eclipse upon import as gradle project to store Eclipse specific defaults.
No need to include in distribution.

Also
   -  .project   and
   - .classpath
are Eclipse specific and created by gradle and should be deleted (as not needed and IDE specific)
- left them for now as files might be needed for building project with Ant (build.xml) which is  likely still used by some.
2022-01-29 14:02:49 +01:00
reger24
97e1b510f7 Update twelvemonkeys.imageio jar to version 3.8.1 2022-01-29 12:45:58 +01:00
reger24
f33e0ed7fd revert commit 17fd1a4616
wrong file selected
2022-01-29 12:18:07 +01:00
unknown
d990ec32db delete .idea not needed in distribution
.idea is created locally by IntelliJ IDEA upon import as gradle project to store IDEA specific settings.
No need to include in distribution
2022-01-29 10:48:44 +01:00
unknown
17fd1a4616 delete .idea not needed in distribution
.idea is created locally by IntelliJ IDEA upon import as gradle project to store IDEA specific settings.
No need to include in distribution
2022-01-29 10:45:37 +01:00
unknown
8415182e48 Updade Readme.md with hint no need for user to download Gradle
as we use gradle-wrapper (gradlew) which downloads needed archives automtically if not pesent.
2022-01-29 10:36:39 +01:00
unknown
a0f6c3be00 Update htroot compare_yacy servlet
- removed metager2.de -> is down

for me also others didn't work today (but left unchanged)
but added a html onerror event to inform if connection was refused.
2022-01-29 08:53:02 +01:00
Michael Peter Christen
96e44e11bb added more bootstrap addresses 2022-01-28 13:26:51 +01:00
Michael Christen
1d7f657620
Merge pull request #437 from lifeofguenter/feature/fix-banner-typo
Fix typo + remove dead seeds
2022-01-28 13:15:03 +01:00
Michael Christen
eec1fbb921
should not be part of this merge 2022-01-28 13:14:28 +01:00
unknown
3adab5eaae Replace hardcode 'build/...' substitution variable in Gradle build file 2022-01-28 04:04:33 +01:00
Burkhard
b943e0fb03
Merge pull request #420 from iansmirlis/IndexBrowser_p
In case of reload404, load only failed documents
2022-01-28 02:02:59 +01:00
unknown
ae178c453c simplify Gradle task copyDependenciesForDistribution
and prevent that distMacApp creates build/RELEASE/MAC directory during Gradle init withou that distMacApp was requested
2022-01-27 23:59:38 +01:00
unknown
4a55bb7515 Add distMacApp task to Gradle build script
I'm not a MAC user so I'd to do it blind !
but now it's migrated from Ant an can be fine tuned.
2022-01-27 20:30:09 +01:00
unknown
78c8ae7d05 Add Unix/Linux file permission to tar.gz distribution archives 2022-01-27 14:47:56 +01:00
unknown
5dbe071b4e Fix Test error in XZParserTest - class not found
due to missing but used dependency (org.tukaani.xz)
(declared as optional not automatically fetched by gradle)

harmonized used filterTokens
2022-01-27 01:01:24 +01:00
reger24
0e7251b445 Changed Gradle build regarding prepYaCyProperties to be more reliable
The properties contain info from the local git (the last commitDate and the number of commints since last distribution-label +9000)

currently Gradle build script must execute external jar (libbuild/GitComInf-All.jar) which creates a property file. other build targets relay on the properties - so here is a currently a timing problem.

1. nice would be we could get rid of the whole gitbuildnumber thing on work with current date etc.

Changed it now to create the property file at the end - after a build
so during init no external jar execution is required but just reading the prop file.
At least a bit more stable.

in addition I include it in the repository so that a fresh pime build has it available (even some measure included to use some fake if file is missing)
2022-01-26 14:54:18 +01:00
reger24
bec019049e Updated Readme "Compiling YaCy:" to reflect move to gradle 2022-01-26 14:42:09 +01:00
reger24
8d0f3d4208 Removed the Blacklist_p default=shared for new created blacklists issue https://github.com/yacy/yacy_search_server/issues/374
Is nice to be able to import blacklist from other peers
but shared by default is likely not intentional choosen by user
2022-01-26 14:31:52 +01:00
Michael Christen
1244aaad6e
Merge pull request #447 from WeNeedCoffee/patch-1
Typos, spelling, and grammar in README.md
2022-01-26 13:02:05 +01:00
Michael Christen
6ace9789b5
Merge pull request #448 from WeNeedCoffee/patch-2
Various javadoc fixes
2022-01-26 13:01:29 +01:00
Daleth Darko
3ced06c731 Various javadoc fixes 2022-01-26 11:22:43 +01:00