Commit Graph

350 Commits

Author SHA1 Message Date
luccioman
09e72eb0a4 Set Config Portal as a private administration page.
Consistently with its required action from submission credentials, and
because external unauthenticated users do not need to access these
settings.
2017-04-03 11:34:49 +02:00
reger
ba339a2a45 Add servlet to import warc file from filesystem IndexImportWarc_p.html.
Apply Importer interface to WarcImporter
2017-04-02 03:32:21 +02: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
cdcd923375 Privacy enhancement : added settings to control referrer policy.
HTTP "Referer" header sent by the browser when using YaCy can now be
controlled either with the referrer meta tag as a global policy, or only
for search result links by adding the attribute rel="noreferrer".

To improve privacy with the less possible regressions, the default is
set as meta tag with value "origin-when-cross-origin" : internal YaCy
links behavior is not affected, but when visiting external websites
referrer url is not empty but stripped from query parameters and path.

Older browsers, Safari, MS IE and Edge do not support the referrer meta
tag, so the standard but less flexible noreferrer link type can also be
enabled as an alternative.

User-friendly settings page to be implemented.
2017-02-28 18:11:54 +01:00
reger
a011a97de9 make ConfigParser a protected page, for consistent behavior of locked
menu items.
2017-02-14 02:04:42 +01:00
reger
e61ee180a7 Group all proxy settings on System Administration by adding settings of
UrlProxyAccss page (moved from deleted AugmentedBrowsing_p), adjust
submenu (remove Augmented Browsing) and translation files.
2017-01-22 23:58:46 +01:00
reger
c702eb6786 del dead menu link to /repository
(directory not created in current distribution -> old)
2016-12-17 02:38:52 +01:00
luccioman
437e535e5c Fixed admin navbar rendering at various screen sizes.
Fix mantis 443 (http://mantis.tokeek.de/view.php?id=443).

Tested on :
 - Debian jessie : Firefox ESR 45.5.1
 - MS Windows 10 : Firefox 50.1.0, Chrome 55 and Edge
 - Emulated devices/adaptative views embedded in the previously
mentionned browsers
2016-12-14 12:49:41 +01:00
luccioman
f37a86e1c6 Fixed yacy search navabar header overlapping at various screen sizes.
- using a icon-only admin button at small and medium screen size
- using a icon-only "Search Interfaces" button at small screen size
- hiding the YaCy brand at extra-small screen size

Fixes the header part of mantis 708
(http://mantis.tokeek.de/view.php?id=708).

Navigator button overlapping is still to fix.
2016-12-09 11:25:09 +01:00
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
2016-11-17 14:17:08 +01:00
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
2016-11-09 02:40:33 +01:00
reger
3cc2af8f92 reduce the mix of absolute and relative internal html page links
(prefer relative for same pg or neighbors) to ease proxied access
e.g. http://mantis.tokeek.de/view.php?id=701
2016-10-25 03:02:31 +02:00
reger
407563b9f0 add lock symbol to messages UI Trans menu item 2016-10-14 02:36:35 +02:00
luccioman
94924e288f Added some accessibility improvements to the main interface.
Tested with NVDA screen reader.
2016-10-07 10:44:45 +02:00
luccioman
abe489a0b5 Removed unnecessary ARIA "form" role on native HTML form elements.
This fixes warnings reported by W3C Nu Html Checker
(https://validator.w3.org/nu/).
2016-09-29 13:42:07 +02:00
luccioman
cca4186044 Fixed HTML validation error : "Stray end tag div" 2016-09-29 11:42:59 +02:00
luccioman
4aba491156 Fixed HTML validation errors : duplicate ids. 2016-09-22 16:25:47 +02:00
luccioman
1c139d70d4 Fixed W3C validation error : percent encode '[' and ']' chars in hrefs. 2016-09-22 16:20:13 +02:00
luccioman
b3b75b0498 Accessibility : add a customizable alternative text to YaCy log
Applied W3C recommendations :
https://www.w3.org/TR/html51/semantics-embedded-content.html#a-link-or-button-containing-nothing-but-an-image
and
https://www.w3.org/TR/html51/semantics-embedded-content.html#logos-insignia-flags-or-emblems
2016-09-22 16:08:33 +02:00
luccioman
de5c873e38 Removed unused JavaScript file docs.min.js
This file is used by Bootstrap documentation website
(http://getbootstrap.com/) but is not part of the Bootstrap distribution
and has not be included in a Bootstrap based application.
2016-09-20 00:17:42 +02:00
reger
a2777903d6 include translation news service in status submenue
+ display translation proposal news only for current language (in TransNews servlet)
2016-09-04 02:29:04 +02:00
Orbiter
50c5ddf1a1 Merge pull request #56 from luccioman/LibreJS
LibreJS compliance : YaCy JavaScript license information
2016-07-04 21:07:11 +02:00
luccioman
c2ade2f209 Fixed rendering for many mobile devices. 2016-06-15 09:07:54 +02:00
luccioman
a73c9327a5 JavaScript License fixes for LibreJS compatibility 2016-06-08 23:16:10 +02:00
luccioman
8b95e5c91f Aplied GNU licensing recommendations. 2016-06-08 09:56:16 +02:00
luccioman
02ecb8de29 Added JavaScript license information
First pass applied for YaCy index and administration first page, checked
with LibreJS 6.0.13.
2016-06-03 22:07:45 +02:00
reger
a57226caa6 put settings_p servlet (back) as start page for System Administration
to display the options available (as tables_p only used for indepth edit)
see http://mantis.tokeek.de/view.php?id=460
2016-03-12 01:15:05 +01:00
Ryszard Goń
7a7a1277bd Add autocrawl settings page 2016-01-14 02:40:46 +01:00
Michael Peter Christen
fe308f47d5 added greeting line to interactive search and harmonized display
position with 'Administration' line in all administration pages
2015-12-28 23:20:37 +01:00
reger
7478338a40 remove augmented parsing activation from frontend
experimental implementation not used and based on error prone experimental rdfaparser
2015-06-05 00:51:00 +02:00
Michael Peter Christen
5e2d23b7a0 removed the new index export method from the IndexControlURLs_p.html
servlet and moved it to a new /IndexExport_p.html servlet. This servlet
is now more prominent linked in the main menu under Production -> Index
Export/Import
2015-06-04 23:03:46 +02:00
Michael Peter Christen
5b59477415 update to bootstrap.css 3.3.4 2015-04-23 06:36:57 +02:00
Marc Nause
efadb710a4 Updated Git links from Gitorious to Github. 2015-03-23 11:12:39 +01:00
Michael Peter Christen
41d00350e4 moved network configuration to Use Case submenu; this is necessary
because the definiton of portal peers within the YaCy freeworld network
is otherwise splitted into two different main menus.
2014-12-01 01:12:51 +01:00
Michael Peter Christen
c0f9f6ac66 added option to change the navbar-default, i.e. usable for dark skins 2014-11-26 18:01:35 +01:00
Michael Peter Christen
528f583d72 ipv6 fixes 2014-10-01 15:32:10 +02:00
Michael Peter Christen
abde89438b fix for favicon 2014-09-15 13:03:08 +02:00
Michael Peter Christen
ffc259c944 changed link to new tutorial repository (yes, Youtube..). The link does
not point to youtube directly to prevent that the referer to the peer
address is given to youtube. Instead, a forwarder address at yacy.net is
used to redirect to the tutorial repository (and can be changed later).
2014-09-13 02:15:36 +02:00
reger
9962b9e548 use configured search items per page if not specified in post
- remove verify=cacheonly from admin screen search box to use the configured values
  (otherwise definition overwrites configured behavior and is used for following searches what might give unexpected/confusing different results compared to using /yacysearch )
2014-09-10 00:52:37 +02:00
Michael Peter Christen
62f48a28d6 moved index administration up ahead of system administration to put more
importance on it. People should not feel that it is more important to
tweak any settings (which may break things) than to look into the index.
2014-09-02 12:06:56 +02:00
Michael Peter Christen
77b4c6dc5b moved Table administration and Busy Queues Config out of mini-submenu of
advanced settings to a top-menu entry. Moved the advanced setting to a
less prominent place of the submenu. Removed the table administration
from target analysis submenu because it appeared double, the table
administration is now the default in the system administration.
Sorry for inconvenience if i constantly move menues around, but this
makes just more sense and YaCy is still not finished :)
2014-09-02 12:04:44 +02:00
Michael Peter Christen
c90ae191ab moved cookie monitoring to the network monitoring submenu 2014-09-02 11:53:22 +02:00
orbiter
0947bea882 fixed wrong submenu title 2014-09-01 11:08:35 +02:00
orbiter
3ba47823cb switched position of API steering and content semantic 2014-09-01 11:04:24 +02:00
orbiter
60f97faec6 added hint to the search api examples to remind the user that these
interfaces are examples and not actual variants of the current search
2014-08-27 18:44:20 +02:00
orbiter
5611d45b65 renamed Host Browser to Index Browser (gives a better hint what it
actually does)
2014-08-26 18:52:49 +02:00
orbiter
b4f2a1db6e added a unlock icon for all protected pages that are unlocked because
the administrator is logged in.
2014-08-19 19:58:31 +02:00
reger
7267c76881 set default "Search Interfaces"."Solr RSS/Opensearch" query to show latest 10 addition to index 2014-08-18 02:53:03 +02:00
orbiter
cf9e7fdbb8 reverted template from latest cherry-picked commit 2014-08-15 00:06:22 +02:00
Alex
f6c7467a90 updated some french translations 2014-08-15 00:04:10 +02:00