summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2020-12-22fixed apicall call method parametersMichael Peter Christen
and verification in transaction manager which did not have and exception for localhost/basic authentication
2020-12-09Going back to basic authentication for console/shell commandsMichael Peter Christen
This does not affect security because: - it is going to localhost only - only users who have already access to the pw hash can do this - no clear text pw is transmitted because that is not stored anywhere The switch to basic is required because these commands are required in the context of hosting on root servers and docker containers where a password change must be done. But the password shell command was not working without password which made the concept unusable. This deficit made it virtually impossible for root server operators to use YaCy because they had been unable to set up a proper password.
2018-12-10Updated the down.sh script, fixing the same kind of issue as in PR #260luccioman
2018-12-10Updated up.sh to support passing the target peer address as a parameterluccioman
2018-12-10Fixed broken searchall shell scriptsluccioman
2018-12-08Merge pull request #261 from agnelvishal/patch-3luccioman
Update searchall1.sh This should have been done ealrier after removal of up1.sh script in commit 3d9ce9cd04014fa798f6b2514cf89029675651f0.
2018-12-06Update searchall1.shAgnel Vishal
The up1.sh does not exist. up.sh does the work
2018-12-06Update up.shAgnel Vishal
IP addresses are not selected if "&ip=" is present
2018-12-01Removed shell temporary debug echo messageluccioman
2018-11-28Let setting admin password with script when YaCy server is not runningluccioman
Still using the ConfigAccounts_p API when the server is running.
2018-11-27Improvements to passwd.sh scriptluccioman
- Use the configured administrator user name instead of always defaulting to "admin" - Do not echo the password in clear text - Check the password minimum size as will be applied in ConfigAccounts_p - Let user type a password when not provided as a parameter
2018-11-27Also check yacy.conf file existence in shell scripts where relevantluccioman
2018-11-26Added support for custom DATA path in shell scriptsluccioman
When the YACY_DATA_PATH environment variable is set, shell scripts will now use the given path instead of relative ../DATA which remains the default when the variable is not set. Necessary in the context of Snap package (see issue #254) as YaCy is started with startYACY.sh and an absolute DATA parent path in parameter.
2017-04-14Extended Mediawiki dump import to remote URLs.luccioman
When using a public HTTP URL in /IndexImportMediawiki_p.html, the remote file now is directly streamed and processed, allowing import of several GB dumps even with a low memory remote peer, and without need to manually download the dump file first.
2017-03-26Enforced access controls on some administrative actions.luccioman
- 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-26Updated dump/restore shell scripts : the API is now IndexExport_p.htmlluccioman
2017-03-21Updated shell scripts to be compatible with HTTP Digest authenticationluccioman
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
2015-02-23Changes to improve compatibility with OpenBSD. (seeMarc Nause
http://forum.yacy-websuche.de/viewtopic.php?f=8&t=5503)
2014-09-13added a script which retrieves the public ip of the local peer andMichael Peter Christen
prints it out to the terminal using the new servlet /yacy/seedlist.xml. just call: bin/myip.sh
2014-08-25Fix for http://mantis.tokeek.de/view.php?id=432Marc Nause
*) replaced all shebangs with more universal versions
2014-04-06different algorithm to test checkalive as it depends less on theMichael Peter Christen
existence of wget (or curl) on the OS.
2014-01-10added checkindex, solr index checkMichael Peter Christen
2014-01-07added a script which can check the solr index for inconsistencies whileMichael Peter Christen
the peer is down. This shall be used in emergency cases where a check or fix for a broken solr index is needed.
2014-01-07using the adminAccountUserName from yacy.conf within apicall.shMichael Peter Christen
2014-01-05modified log-in detail to enable admin-login from localhost with storedMichael Peter Christen
hash even if localhost access is disabled. This is urgently needed for the apicall.sh script since that is used for high-availability set-up (checkalive and indexdump for index mirroring)
2013-03-10- added more selection criteria for network seed listMichael Peter Christen
- enhanced up script
2012-12-27update to search tests (use yacy interface and a bugfix)Michael Peter Christen
2012-12-10more search command toolsorbiter
2012-12-10you can now search for '*' to get just ALL entries in the search indexorbiter
as result list. This makes sense if you intend to search just by using the navigation tools to cut the data set into navigation 'slices'.
2012-10-17added a shell script which can be used to delete the api action steeringMichael Peter Christen
table. This may be necessary if the api is called by remote command and the recordings are not used. Then they can be deleted frequently by calling this clear command using a cron job
2012-10-17added a shell script which can be used to add a rss feed to the index.Michael Peter Christen
All pages linked in the rss feed are added. The process is not repeated automatically. If you want to repeat this, add the command to a cron job.
2012-10-11fixed clear scriptsMichael Peter Christen
2012-09-25added the indexrestore.sh script which must be called with the path ofMichael Peter Christen
the index dump. This is the reverse of indexdump.sh which takes the output of indexdump.sh as input to restore an index. Now it should be possible to transfer a complete YaCy Solr index from one peer yacy1 to another peer yacy2 with the following command: yacy2/bin/indexrestore.sh ´yacy1/bin/indexdump.sh´
2012-09-25- added xml output in IndexControlURLs to get the storage page of indexMichael Peter Christen
dump commands - adjusted the apicall.sh script to get the downloaded text as output to stdout which is necessary to parse the content out of it - added indexdump.sh script which creates a solr dump and prints out the storage path for the index dump - added synchronization to the Fulltext class to prevent that data is stored to a non-existing solr index while this index is disabled during the storage of the dump
2012-07-10- removed cleaning of blacklist cache on startupRoland 'Quix0r' Haeder
- added cleaning of blacklist cache if cache is modified in interface - extended cache saving to all cache types - moved cache location to DATA/LISTS - fixed static file path which was relative to the application path but should be relative to data path - which is different in debian and mac implementations
2012-06-24root, not yacyMichael Peter Christen
2012-06-24changed recommended line in /etc/crontab for high-availabilityMichael Peter Christen
2012-05-29fixes for wrong port number in shell scriptsMichael Peter Christen
2012-05-24changed log-in text for all servlets with authentication:Michael Peter Christen
- added hint how to set the password using a shell script - added a shell script to change the password
2012-04-30removed superfluous filesMichael Peter Christen
2012-03-12checkalive.sh: try to fetch only once (default: 20)Lotus
2012-01-31added shell script to get a servlet. this is the same as apicall.sh but it ↵Michael Peter Christen
prints the result to stdout
2012-01-02added checkalive script that can be called frequently to restart crashedMichael Christen
peers automatically
2011-09-28added dump check scriptorbiter
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7978 6c8d7289-2bf4-0310-a012-ef5d649a1542
2011-09-21added script that can be used to delete a single url from the indexorbiter
call: bin/deleteurl.sh <url> git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7969 6c8d7289-2bf4-0310-a012-ef5d649a1542
2011-09-08fix for clear commandsorbiter
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7939 6c8d7289-2bf4-0310-a012-ef5d649a1542
2011-08-28*) Replaced occurrences of "Wikimedia" with "MediaWiki" where applicable. ↵low012
(Thanks to the folks of 0x20.be for pointing this out.) *) Added description of where to place MediaWiki dump for import. git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7905 6c8d7289-2bf4-0310-a012-ef5d649a1542
2011-06-01added a deploy script that can be used to deploy yacy releases into the ↵orbiter
current release for testing git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7768 6c8d7289-2bf4-0310-a012-ef5d649a1542
2011-06-01removed pause in search testorbiter
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7767 6c8d7289-2bf4-0310-a012-ef5d649a1542
2011-05-27- localsearch test script does also a snippet-fetchorbiter
- killYACY.sh does not need a sleep between kill -3 and kill -9 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7750 6c8d7289-2bf4-0310-a012-ef5d649a1542