Commit Graph

13784 Commits

Author SHA1 Message Date
luccioman
9f8e1994a4 Added missing CSS width units to some HostBrowser.html styling 2018-10-26 09:11:23 +02:00
luccioman
0b1d2cb0dd Fixed "TypeError: table.tBodies[0] is undefined" host browser JS error
Traced in browser console when a host details table is empty.
2018-10-26 08:55:25 +02:00
luccioman
fcf6b16db4 Added new crawler attribute for finer control over Media Type detection
New "Media Type detection" section in the advanced crawl start page
allow to choose between :
- not loading URLs with unknown or unsupported file extension without
checking the actual Media Type (relying Content-Type header for now).
This was the old default behavior, faster, but not really accurate.
- always cross check URL file extension against the actual Media Type.
This lets properly parse URLs ending with an apparently odd file
extension, but which have actually a supported Media Type such as
text/html.

Sample URLs with misleading file extensions added as documentation in
the crawl start page.

fixes issue #244
2018-10-25 10:42:12 +02:00
luccioman
88d0ed676c Render http status instead of null responses on snapshot api errors 2018-10-19 10:12:10 +02:00
luccioman
a83a56473e Added suport for PDF snapshots generation when running on MS Windows 2018-10-18 12:41:57 +02:00
luccioman
18d07538ad Upgraded Apache Ant from 1.10.1 to 1.10.5 in Docker alpine image flavor 2018-10-17 10:04:48 +02:00
luccioman
053df1f312 Added support for snapshots generation to Docker images 2018-10-17 08:42:31 +02:00
luccioman
92e10d7d1c Added a crawl start hint message on availability or not of wkhtmltopdf
As this tool is required to produce pdf snapshots
2018-10-16 08:02:43 +02:00
luccioman
8852c97cee Added basic styling for cleaner rendering of missing image snapshots
For the output of the Solr snapshots writer
2018-10-15 18:19:57 +02:00
luccioman
746e0e788d Render a relevant HTTP status code on snapshot image rendering error
Instead of a null response body which is not very helpful.
2018-10-14 10:30:30 +02:00
luccioman
50b6edfcf5 Updated Solr snapshots writer for a cleaner html head 2018-10-13 10:36:39 +02:00
luccioman
f366f43d6b Made snapshots size customizable in Solr snapshots response writer 2018-10-13 10:22:47 +02:00
luccioman
7a62fc0e66 Fixed concurrency issue in custom classloader used for template classes
As reported in issue #241, the problem is only critical (random but
complete crash of the JVM) when upgrading to JDK11.
2018-10-11 18:34:39 +02:00
luccioman
0eb52f8c72 Added documentation hint about JVM option useful to debug JVM crashes 2018-10-11 18:28:08 +02:00
luccioman
753bda1409 Fixed remaining blacklist entries improper decoding of '+' character
In the blacklist cleaner and import/export administration pages.
2018-10-08 16:50:02 +02:00
luccioman
61c337f29a Decode blacklist entries for easier edition of non ascii chars
Not using the JDK URLDecoder.decode() function, as it strips '+'
characters when they occur after '?' (both characters having regular
expression semantics when used in blacklist path patterns)
2018-10-04 09:33:58 +02:00
luccioman
ed93221fa1 Improved normalization of blacklist path patterns having non ascii chars
Normalize blacklist path patterns using percent-encoding, at pattern
edition in web interface and at loading from configuration files.

Fixes issue #237
2018-10-02 14:36:13 +02:00
luccioman
d42f079c2d Additional modifications for typo fix in Bookmarks.html from PR #240 2018-10-02 07:32:36 +02:00
luccioman
d23578efc3
Merge pull request #240 from ivanhercaz/fixEnglishBookmarksPage
Fix English Bookmarks.html
2018-10-02 07:27:47 +02:00
ivanhercaz
1dafc85d33 typo fix in Bookmarks.html 2018-09-30 01:00:43 +01:00
luccioman
3d14fb51c5 Removed now unused Java import in addition to modification from PR #239 2018-09-26 08:47:13 +02:00
luccioman
d5ec706604
Merge pull request #239 from otteresk/master
Display correct time in Rejected URLs overview
2018-09-26 08:43:48 +02:00
otter
8820d8d7c7 replace current date by FailDate 2018-09-25 20:43:58 +02:00
Andreas
3c65a158e1
Merge pull request #4 from yacy/master
Fork update #4
2018-09-25 10:22:50 +02:00
luccioman
6c3e140083 Upgraded Solr and Lucene dependencies from 6.6.3 to 6.6.5 2018-09-22 14:40:18 +02:00
luccioman
982179a7eb Upgraded BouncyCastle dependencies from jdk15:1.46 to jdk15on:1.60 2018-09-21 12:07:57 +02:00
luccioman
c409ec089c Hide password values from visible HTML in the Advanced Config page
Fixes issue #228
2018-09-21 09:59:32 +02:00
luccioman
75b9cd53cc Use accessible labels in the Server Access Settings page 2018-09-19 09:32:59 +02:00
luccioman
4ed055bcdf Enforced access controls to System settings pages 2018-09-19 09:18:36 +02:00
luccioman
de6820d257 Updated html input field type for seed upload with file method
- To meet current browsers security rules, which prevent selecting a
full file path with an html input field of type 'file'
 - As it does not make sense to select a local file path when a the
administered YaCy server is remote (not on the same computer as the
browser)
2018-09-17 08:07:27 +02:00
luccioman
2a73b63d9e Use a constant default target file name for seed SCP upload method
To make seed upload (in /Settings_p.html?page=seed page) with SCP easier
when the user specify a remote target directory path.

See report by @vikulin in issue #227
2018-09-16 10:37:47 +02:00
luccioman
51f4be1807 Upgraded Jetty dependencies from 9.4.11.v20180605 to 9.4.12.v20180830 2018-09-14 14:03:44 +02:00
luccioman
b5eabb626f Removed some dead code 2018-09-14 14:02:32 +02:00
luccioman
db7ad76366 Improved support for Java logs file pattern options
- support of "%h" and "%t" pattern components
- more proper initialization of file handler when the data folder is not
the default one, notably to prevent a non blocking but ugly error stack
trace reported by the log manager at startup with that kind of setup
2018-09-13 12:17:02 +02:00
luccioman
7adbd1f87d Fixed raw IPV6 addresses snapshots read/write on FAT32 and NTFS fs
Fixes issue #225
2018-09-12 17:34:40 +02:00
luccioman
10548229af Fixed rendering of the YMarks.html page
Also to clarify which pages still depends on old JQuery and JQuery UI
dependencies.
2018-09-12 07:29:25 +02:00
luccioman
16a5c579bd
Merge pull request #218 from edom/master
Add contributor guidelines; closes #214
2018-09-11 11:28:59 +02:00
luccioman
636e752633
Merge pull request #226 from luccioman/master
Snapcraft packaging adjustements
2018-09-11 11:28:31 +02:00
luccioman
2feec354a5 Added an icon matching Snapcraft packaging icon size requirements 2018-09-10 22:14:34 +02:00
luccioman
a3361d5ee8 Renamed Snap with a name detected as available on the Snap store 2018-08-31 10:14:27 +02:00
luccioman
9b1c87033b Fixed logs folder checking and creation
Previously, if YaCy log folder was for example at
`/home/user/yacy/DATA/LOG`, because of improper truncation of log path,
an unnecessary directory creation was atempted at `/home/us`.
2018-08-31 08:34:28 +02:00
luccioman
3f9abec3c5 Added a first version of Snapcraft configuration file for Snap packaging 2018-08-30 18:21:14 +02:00
luccioman
c29588dd6a Made possible to provide an absolute data root path for start script
Previously, only a path relative to the user home folder could be
provided
2018-08-30 18:16:22 +02:00
luccioman
bdd6ec3fff Fetch result pages one by one when scrolling in portal search widget
To prevent unnecessary load and items retrival errors on backend
2018-08-28 15:49:30 +02:00
luccioman
b46dc4fc94 Fixed portal search widget results favicon url 2018-08-28 15:00:18 +02:00
luccioman
fa96637a84 Configured local peer as default portal search widget backend
Rather than relying on a peer eventually deployed on search.yacy.net
2018-08-28 14:59:25 +02:00
luccioman
44efb2f868 Removed implicit global JavaScript variables from portal search widget 2018-08-28 14:40:57 +02:00
luccioman
79643c40bf Limit search API calls rate when typing in the search portal widget 2018-08-28 11:39:16 +02:00
luccioman
39dd29a484 Replaced RWI ranking JQuery sliders with standard HTML range inputs
Considering that the sliders usage on that page is very basic, using
standard HTML5 inputs of type "range" has here the following advantages
:
 - better keyboard accessibility
 - remove not very necessary additional jquery dependencies

Today browsers suport for range inputs is good, and even on old
unsupporting browsers such as IE < 10 they nicely fall back to text
inputs.
2018-08-28 08:34:23 +02:00
luccioman
a8078c22e4
Merge pull request #220 from pnhofmann/master
Improve Dockerfile
2018-08-25 10:43:38 +02:00