Commit Graph

30 Commits

Author SHA1 Message Date
luccioman
c32ac9c4c7 Updated log path in informative message of stop script.
As highlighted by @Lew-Rockwell-Fan in issue #140, the two log paths
mentioned by the stopYACY.sh script were inconsistent.
2017-11-14 09:17:43 +01:00
luccioman
cde237b687 Enforced access controls on some administrative actions.
- ensure use of HTTP POST method : HTTP GET should only be used for
information retrieval and not to perform server side effect operations
(see HTTP standard https://tools.ietf.org/html/rfc7231#section-4.2.1)
 - a transaction token is now required for these administrative form
submissions to ensure the request can not be included in an external
site and performed silently/by mistake by the user browser
2017-03-26 11:48:00 +02:00
luccioman
29e5110627 Updated shell scripts to be compatible with HTTP Digest authentication
Because curl and wget do not let use a hashed password as parameter,
YaCy shell scripts which require authentication are now interactive by
default when HTTP Digest is the only available authentication method.
Batch mode can still be available trough the use of an environment
variable : YACY_ADMIN_PASSWORD.  

Other improvements :
 - added backward compatibility for Basic Authentication
 - fixed curl/wget presence detection 
 - do not return with exit code 0 when an API call failed, and print an
error message when the case occurs
 - documented available authentication options for API calls
2017-03-21 17:15:01 +01:00
Marc Nause
8d1b66accc Fix for http://mantis.tokeek.de/view.php?id=432
*) replaced all shebangs with more universal versions
2014-08-25 22:47:33 +02:00
Michael Peter Christen
b5192e03d7 fixed bad output in stopYACY.sh 2012-09-25 23:20:09 +02:00
Michael Christen
3e5ac15c71 add a check script that waits for stopYACY.sh to terminate. That makes
it easier to write control scripts around it. If you want that the
script terminates directly as before, call it concurrently or wrap it
with 'timeout' like:
timeout 10s ./stopYACY.sh
to stop after 10 seconds
2011-12-28 02:46:29 +01:00
low012
c55787d07c *) revert of r7667
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7720 6c8d7289-2bf4-0310-a012-ef5d649a1542
2011-05-14 09:03:18 +00:00
low012
bc84d2bc9d *) fixed typo in stop script
*) added <u> </u> tags for underlined text in Wiki Code
*) minor code changes

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7671 6c8d7289-2bf4-0310-a012-ef5d649a1542
2011-04-20 22:54:29 +00:00
low012
7c149e0f9d *) ./stopYACY:sh -f kills YaCy in case regular shutdown does not work
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7667 6c8d7289-2bf4-0310-a012-ef5d649a1542
2011-04-18 19:09:54 +00:00
orbiter
35d0057cb0 stopYACY.sh can now use curl
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6741 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-03-11 00:12:53 +00:00
orbiter
b68deb407a - moved test data from /bin to /test/words
- refactoring of stopYACY.sh by introduction of /bin/apicall which is able to call any api file with attached authorization

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6691 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-02-22 20:14:16 +00:00
orbiter
a8ce192f63 - shifted main classes to new package net.yacy
- fixed some bugs in last commit

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6427 6c8d7289-2bf4-0310-a012-ef5d649a1542
2009-10-18 01:38:07 +00:00
orbiter
7150b463ff changed handling of default values and database paths:
- the default files yacy.init and for the network definition is now moved to the path defaults
- the httpProxy.conf is renamed to yacy.conf
- the DATA/INDEX/PUBLIC is renamed to the actual network nickname, which should be freeworld or sciencenet
more menu entries
- added apfelmaennchens alternative search page to the menu
- added the new thread dump page to the server log menu point as submenu
modifications
- modified the thread dump page: sorting by thread type

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4575 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-03-16 22:31:54 +00:00
rramthun
63a7b61f52 setting correct port
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1559 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-02-06 16:33:58 +00:00
allo
da59e15f28 timeout on hanging httpd
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1558 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-02-06 16:18:28 +00:00
allo
512b3f9b94 retrylimit for wget and better errormessage when neither wget nor java could be found.
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1542 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-02-05 13:13:51 +00:00
rramthun
883f03c399 I will never change the Linux scripts...
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1536 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-02-04 19:38:44 +00:00
rramthun
1eab543254 Updated German language
Updated stopYACY.sh

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1535 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-02-04 19:31:12 +00:00
allo
7bc393c7e9 Nothing in Errolog, if libx is not used
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1519 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-02-02 17:36:33 +00:00
rramthun
1e5feedf0e Fix for http://www.yacy-forum.de/viewtopic.php?p=15547#15547
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1388 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-01-21 11:20:26 +00:00
orbiter
0625a4f81b changed test on wget
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@786 6c8d7289-2bf4-0310-a012-ef5d649a1542
2005-09-23 23:35:46 +00:00
allo
ba145efb46 check for wget
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@766 6c8d7289-2bf4-0310-a012-ef5d649a1542
2005-09-21 20:42:57 +00:00
allo
211a72ec6b using wget instead of java for shutdown
-better performance
-more native


git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@765 6c8d7289-2bf4-0310-a012-ef5d649a1542
2005-09-21 20:08:40 +00:00
theli
7a7254713d *) Moving Logging directory per default to DATA/LOG
See: http://www.yacy-forum.de/viewtopic.php?t=940#7656

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@627 6c8d7289-2bf4-0310-a012-ef5d649a1542
2005-09-01 08:56:35 +00:00
orbiter
5cb00889d9 enhancements to dht selection, search and search presentation
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@540 6c8d7289-2bf4-0310-a012-ef5d649a1542
2005-08-15 01:12:25 +00:00
theli
9e4bcc828d *) solving problems with wrong classpath
see: http://www.yacy-forum.de/viewtopic.php?p=4045

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@264 6c8d7289-2bf4-0310-a012-ef5d649a1542
2005-06-10 06:18:55 +00:00
theli
351c86d5d9 *) Migration of optional Content Parser integration
- each additional parser must be in a subpackage 
  of plasma.parser
- each parser must have its own ant build file (which will 
  be called automatically from the main build file)
- Calling the main build file results in building a separate 
  zip file for each optional parser. This zip file includes:
  + sources of the Parser.java
  + compiled classes of the Parser.java
  + needed additional libs (libx)
- To install an additional parser the user simply needs to
  extract the zip file listed above into his/her yacy directory.
- The configuration (enabling/disabling) of a parser can be done
  via the webinterface (currently the settings dialoge) and is
  done "on-the-fly". The installation can not be done "on-the-fly"
  at the moment because of classpath issues.
- The classpath of the linux startup/stop scripts is generated 
  automatically now (including all libraries from lib and libx).

*) Bugfix: File Extension was not calculated correctly by the crawler
   e.g.: file extension was accidentally: .php?param=value
   Corrected.

*) Adding additional parser for parsing of rss/atom feeds
- added needed libs to do this.

TODO:
- automatic building classpath for windows startup scripts


git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@78 6c8d7289-2bf4-0310-a012-ef5d649a1542
2005-05-03 09:47:56 +00:00
orbiter
2d9fc71af1 adopted makerelease and start/stop-scripts fro new libs
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@52 6c8d7289-2bf4-0310-a012-ef5d649a1542
2005-04-25 11:35:50 +00:00
(no author)
e2a884031c *) added new lib dir to classpath.
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@29 6c8d7289-2bf4-0310-a012-ef5d649a1542
2005-04-19 08:17:16 +00:00
orbiter
248077d3f0 initial load with yacy 0.36
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1 6c8d7289-2bf4-0310-a012-ef5d649a1542
2005-04-07 19:19:42 +00:00