Michael Peter Christen
83f5e3d715
added+disabled a federate search experiment
8 years ago
reger
4eeb448eb3
use DigestURL in UrlProxyServlet as parameter to pass requested url to
...
handler.
UrlProxyServlet splits url in parts to pass it on as parameter and
HeaderFramework constructs a url from param parts. This is obsolete if
already created url is used (makes HeaderFramework.getRequestURL obsolete
= removed)
8 years ago
reger
3630fcc458
adjust messages_p servlet to standard header.getPathInfo, too
...
(replacing non standard http header)
8 years ago
reger
bad8f87998
remove old/obsolete clear text "adminAccount" credential entry from init
...
and setConfig (.,empty) from servlets/code
8 years ago
reger
811cf637f8
fix Jetty9YaCySecurityHandler, length check of Basic credential,
...
add comment to SwitchboardConstants.AdminAccount const
8 years ago
reger
fdcf33f08f
fix Domain.stripToHostName for some IPv6 cases
...
add unit test for it
8 years ago
reger
ac6e198bd1
add unit test for Domains.stripToPort,
...
simplify ipv6 check
8 years ago
reger
f27531f5ec
fix Domains.stripToPort, make ipv6 save
8 years ago
reger
67744a8038
fix HeaderFramework.getRequestURL on host with port considering ipv6 host
8 years ago
reger
66cc0dd173
refactor: move GSA specific date formatter to GSAservlet
...
adjust return type to String for HeaderFrameWork.getSingle
8 years ago
reger
d525967999
refactor: move convertHeaderFromJetty to ProxHandler (only used with active proxy
...
not needed for standard servlets)
8 years ago
reger
20c9b0138e
let User servlet detect static admin with (newer) md5 encoded pwd
...
(complete a old todo)
8 years ago
reger
60ba5c117c
fix legacy getHeaderCookies to work with cookies from original
...
HttpServletRequest, by moving to RequestHeader.
8 years ago
reger
30f8d1e2d7
let RequestHeader.logout succeed w/o throwing exception by default
8 years ago
reger
b449b0b660
remove login request directly after logout,
...
and add logout from servlet container
make logout button red
8 years ago
reger
28afd3a2f8
fix UserDB.proxyAuth from header string
...
(take care of prefix "Basic" in header entry)
8 years ago
luccioman
fd22d8c08b
Upgraded Bootstrap to 3.3.7 and upgraded its related js dependencies.
...
Upgraded the following JavaScript libraries dependencies :
- bootstrap-switch to 3.3.2
- html5shiv to 3.7.3 and switched to minified version
- typeahead to 0.10.5
- jQuery to 1.12.4
Removed unused bootstratp-rtl.css and bootstrap-rtl.min.css.
Tested non regressions on the following systems :
- Debian Jessie :
- Firefox 45.4.0
- MS Windows 10 :
- Chrome 54.0.2840.99
- Firefox 50.0
- Edge
- Emulated IE 11, 10 and 9
8 years ago
luccioman
0806de8fdc
Ensure file input stream are closed in both normal and error cases.
8 years ago
luccioman
a0dfbaca6a
FileUtils : added some JavaDocs and unit test cases
8 years ago
reger
59448461d3
make use of userInRole for quick login verification
8 years ago
reger
2a4d826d9e
adjust servlet RequestHeader.getLocale
...
init jvm defaultLocale matching UI language
8 years ago
luccioman
200e7a7292
upd to jsoup-1.10.1 : fixed to Eclipse classpath and Ant configuration.
8 years ago
reger
c55172f629
upd to jsoup-1.10.1.jar
8 years ago
reger
9db68acb4f
remove obsolete X_YACY... header declarations
...
not in use (no writes, only remove and try to read).
Obsolete parameter setupHttpClient
8 years ago
luccioman
f72c99474e
Network Access servlet : render pure relative HTML links.
...
For better YaCy integration behind reverse proxy with subfolder.
Tested on Debian Jessie with an apache2 reverse proxy.
See related mantis issues http://mantis.tokeek.de/view.php?id=106 and
http://mantis.tokeek.de/view.php?id=701
8 years ago
reger
8e9aece786
more use of RequestHeader constant referer, authorization
...
in Jetty9YaCySecurityHandler
8 years ago
reger
d631fbc019
make more use of the new ServletRequest interface methodes
...
getScheme, getServerPort (in QuickCrawlLink_p & YaCyDefaultServlet)
8 years ago
reger
395f2e8946
Make ServletRequest implement the standardized HttpServletRequest interface,
...
to make all readily available information from the original ServletRequest
available to YaCy servlets (without converting data to internal structures).
The implementation of the common interface allows easier integration of
YaCy servlets with the servlet standard (e.g. shared login service with
the servlet container etc.)
8 years ago
luccioman
62f75417ef
Updated Pattern JavaDoc links to current minimum (1.7) JDK version.
8 years ago
luccioman
ca4c38a5ba
Updated links to external Java and Solr docs to currently used versions.
8 years ago
reger
f45945cada
increase use of header const for custom "EXT" header
8 years ago
luccioman
6a0b218ae5
Absolute URLs in yacysearch.* : ensure no downgrade from https to http
...
Also removed unnecessary use of deprecated Seed.getIP().
8 years ago
reger
17fc09036e
fix cutoff text in button and adjust formatting
8 years ago
luccioman
812abfc868
Converted one more set of URLs to pure relative ones.
...
Easier YaCy peer configuration behind a reverse proxy subfolder : no
need for the reverse proxy to rewrite HTML links or URLs in css files.
Tested on Debian Jessie with an apache2 reverse proxy.
See related mantis issues http://mantis.tokeek.de/view.php?id=106 and
http://mantis.tokeek.de/view.php?id=701
8 years ago
luccioman
74fec066f4
Converted more URLs to pure relative ones.
...
Easier YaCy peer configuration behind a reverse proxy subfolder : no
need for the reverse proxy to rewrite HTML links or URLs in css files.
Tested on Debian Jessie with an apache2 reverse proxy.
See related mantis issues http://mantis.tokeek.de/view.php?id=106 and
http://mantis.tokeek.de/view.php?id=701
8 years ago
reger
95a60d177e
bring back/fix: search results and logo without external icon
8 years ago
luccioman
0f0393e5e3
Merge branch 'master' of https://github.com/yacy/yacy_search_server.git
8 years ago
luccioman
7296e3884f
Switched even more URLs to pure relative ones.
...
Thus a YaCy peer can run behind a reverse proxy subfolder without need
for the reverse proxy to rewrite HTML links (a CPU costly operation).
Tested on Debian Jessie with an apache2 reverse proxy.
See related mantis issues http://mantis.tokeek.de/view.php?id=106 and
http://mantis.tokeek.de/view.php?id=701
8 years ago
reger
49eae79c01
fix Tables.hasIndex check for tablename = key
...
apply same functionality to hasHeap (to not create new table on call hasHeap)
8 years ago
reger
042c2868df
del abandoned indexcleaner.html, servlet deleted with commit
...
3bcd9d622b
crawler servlet log warning line on failure in one of multiple urls (instead of exception msg)
indexcontrolrwi skip not needed type conversion on ranking
8 years ago
luccioman
024b811a7b
Switched openstreetmap favicon URL to HTTPS.
...
This avoids mixed content browser error/warning when YaCy is browsed
using HTTPS.
8 years ago
luccioman
84b81c1af0
Switched more URLs to relative ones when possible.
...
This permits an easier and more flexible reverse proxy configuration.
Some related mantis issues : http://mantis.tokeek.de/view.php?id=106 and
http://mantis.tokeek.de/view.php?id=701
8 years ago
luccioman
731684105a
Improved absolute URLs rendering in OpenSearch desc and RSS feeds.
...
When the peer is behind a reverse proxy providing SSL/TLS encryption,
the rendered absolute URLs should start with https when the user browser
requested https : added limited support to the X-Forwarded-Proto HTTP
header notably provided on Heroku platform.
Also added some unit tests.
8 years ago
luccioman
75802dcf00
Removed a use of the deprecated Seed.getIP()
8 years ago
reger
669f60223e
upd Column.toString to output encoder "{bytes}"
...
used for String and binary Column types
8 years ago
reger
c9e81d2fa0
fix Column parsing from celldefinition string, without cellwidth def.
...
(outofbound exception)
8 years ago
reger
e0816ef2e5
use human readable date format in CrawlStacker error message
...
"double in: local index, oldDate = "
8 years ago
luccioman
7cea57008b
Use https URLs to load external js scripts in yacysearch_location.html.
...
Otherwise when https is enabled on the peer, the browser block active
mixed content from these external sites.
8 years ago
luccioman
734340c128
Fixed errors for Search portal mode or when peer is not reachable.
...
Same case as reported on issue #87 .
8 years ago
luccioman
54d879a9b3
Generate HTML relative (to each peer) links from hosted WikiCode.
...
When WikiCode inserted in a peer hosted Blog, Wiki, Messages or Profile
contains relative links (images or any content, hosted in DATA/HTDOCS),
it is more reliable to keep these links relative, especially when the
peer is behind any kind of reverse Proxy.
8 years ago