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
luccioman
3444d947ac
Used relative URLs in ConfigPortal preview frames.
...
This is more reliable when YaCy is behind a reverse proxy.
Also updated integration examples to keep the current protocol part
(http or https) in the example address.
8 years ago
luccioman
2da5f339f8
Fixed /News.html and /Wiki.html pages in Search Portal mode (issue #87 ).
...
Also fixes theses pages rendering when the peer is not online.
Re-factored code in common with /opensearchdescription.xml and
ConfigPortal.html.
8 years ago
reger
8fe28a83f2
harmonize used lastmodified date for rwi and fulltext in storeDocument
8 years ago
reger
da0f4ee599
include navigator-plugin output data in json and rss/xml output
...
fix encoding of url for rss
fix unresolved-pattern of url in json & xml for domain navigator
8 years ago
reger
3d1d297308
refactor namespace navigator as part of navigatorplugin map, this allows
...
the navigator to include counts all matches (rwi+fulltext).
Fixing also unresolved_pattern in navigators title (of the counter)
The use of inurl: query modifier as filter has not been changed keeping
it as soft (unsharp) filter facet.
Upd StringNavigator to prevent empty string form multivalued solr fields,
removed date value conversion (better handled elsewhere, not need here).
8 years ago