]> source.dussan.org Git - rspamd.git/log
rspamd.git
3 years ago[Feature] Pyzor calculate score dynamically 3816/head
defkev [Sat, 10 Jul 2021 23:51:42 +0000 (01:51 +0200)]
[Feature] Pyzor calculate score dynamically
Count - WL-Count of default_score in percent

3 years ago[Feature] Re-add pyzor support
defkev [Sat, 10 Jul 2021 01:29:08 +0000 (03:29 +0200)]
[Feature] Re-add pyzor support

3 years ago[Project] Html: Further rework of the html parsing stuff
Vsevolod Stakhov [Fri, 9 Jul 2021 16:18:53 +0000 (17:18 +0100)]
[Project] Html: Further rework of the html parsing stuff

3 years ago[Rework] Rework tags parsing machine
Vsevolod Stakhov [Fri, 9 Jul 2021 13:27:06 +0000 (14:27 +0100)]
[Rework] Rework tags parsing machine

3 years ago[Minor] Add helper to decode entities in an std::string
Vsevolod Stakhov [Fri, 9 Jul 2021 13:26:44 +0000 (14:26 +0100)]
[Minor] Add helper to decode entities in an std::string

3 years ago[Minor] Do copy as this value will be modified
Vsevolod Stakhov [Fri, 9 Jul 2021 09:41:41 +0000 (10:41 +0100)]
[Minor] Do copy as this value will be modified

3 years ago[Minor] Fix misprint
Vsevolod Stakhov [Thu, 8 Jul 2021 18:24:06 +0000 (19:24 +0100)]
[Minor] Fix misprint

3 years ago[Minor] Fix hex colors parsing
Vsevolod Stakhov [Thu, 8 Jul 2021 15:10:10 +0000 (16:10 +0100)]
[Minor] Fix hex colors parsing

3 years ago[Minor] Add safety guards
Vsevolod Stakhov [Thu, 8 Jul 2021 14:45:06 +0000 (15:45 +0100)]
[Minor] Add safety guards

3 years ago[Minor] Use float
Vsevolod Stakhov [Thu, 8 Jul 2021 09:03:56 +0000 (10:03 +0100)]
[Minor] Use float

3 years ago[Minor] Skip useless abs as we use squares
Vsevolod Stakhov [Thu, 8 Jul 2021 08:19:55 +0000 (09:19 +0100)]
[Minor] Skip useless abs as we use squares

Suggested by: trave11er

3 years ago[Minor] Fix dom save point logic
Vsevolod Stakhov [Wed, 7 Jul 2021 20:46:13 +0000 (21:46 +0100)]
[Minor] Fix dom save point logic

3 years ago[Minor] Fix entities with space decoding
Vsevolod Stakhov [Wed, 7 Jul 2021 20:46:03 +0000 (21:46 +0100)]
[Minor] Fix entities with space decoding

3 years ago[Minor] Fix off-by-one read
Vsevolod Stakhov [Wed, 7 Jul 2021 16:38:04 +0000 (17:38 +0100)]
[Minor] Fix off-by-one read

3 years ago[Minor] Moar fixes for spaces stuff in html
Vsevolod Stakhov [Wed, 7 Jul 2021 16:33:42 +0000 (17:33 +0100)]
[Minor] Moar fixes for spaces stuff in html

3 years ago[Minor] Css: Fix colors parsing
Vsevolod Stakhov [Wed, 7 Jul 2021 13:30:22 +0000 (14:30 +0100)]
[Minor] Css: Fix colors parsing

3 years ago[Minor] Limit whitespace trimming
Vsevolod Stakhov [Wed, 7 Jul 2021 12:09:38 +0000 (13:09 +0100)]
[Minor] Limit whitespace trimming

3 years ago[Minor] Do not try to modify constant memory
Vsevolod Stakhov [Wed, 7 Jul 2021 09:37:32 +0000 (10:37 +0100)]
[Minor] Do not try to modify constant memory

3 years ago[Minor] Oops, fix check
Vsevolod Stakhov [Tue, 6 Jul 2021 20:22:33 +0000 (21:22 +0100)]
[Minor] Oops, fix check

3 years ago[Minor] Html: Fix unbalanced tags hanging issue
Vsevolod Stakhov [Tue, 6 Jul 2021 20:16:24 +0000 (21:16 +0100)]
[Minor] Html: Fix unbalanced tags hanging issue

3 years ago[Project] Html: Fix parent propagation
Vsevolod Stakhov [Tue, 6 Jul 2021 15:36:46 +0000 (16:36 +0100)]
[Project] Html: Fix parent propagation

3 years ago[Project] Html: Rework transparency logic
Vsevolod Stakhov [Tue, 6 Jul 2021 13:43:18 +0000 (14:43 +0100)]
[Project] Html: Rework transparency logic

Transparent stuff is now displayed as spaces (like browsers do).

3 years ago[Fix] Fix visibility calculations
Vsevolod Stakhov [Tue, 6 Jul 2021 12:55:34 +0000 (13:55 +0100)]
[Fix] Fix visibility calculations

3 years ago[Minor] Fix span flags
Vsevolod Stakhov [Tue, 6 Jul 2021 12:55:18 +0000 (13:55 +0100)]
[Minor] Fix span flags

3 years ago[Minor] Use a more generic lc method
Vsevolod Stakhov [Tue, 6 Jul 2021 12:54:55 +0000 (13:54 +0100)]
[Minor] Use a more generic lc method

3 years ago[Minor] Fix images cid storing
Vsevolod Stakhov [Tue, 6 Jul 2021 11:05:41 +0000 (12:05 +0100)]
[Minor] Fix images cid storing

3 years ago[Minor] Fix tags offset once conent part is done
Vsevolod Stakhov [Mon, 5 Jul 2021 16:54:24 +0000 (17:54 +0100)]
[Minor] Fix tags offset once conent part is done

3 years ago[Project] Another whitespace hack
Vsevolod Stakhov [Mon, 5 Jul 2021 16:41:16 +0000 (17:41 +0100)]
[Project] Another whitespace hack

3 years ago[Project] Html: Try to deal with bad unknown tags properly
Vsevolod Stakhov [Mon, 5 Jul 2021 16:40:59 +0000 (17:40 +0100)]
[Project] Html: Try to deal with bad unknown tags properly

3 years ago[Test] Fix test case
Vsevolod Stakhov [Mon, 5 Jul 2021 15:39:14 +0000 (16:39 +0100)]
[Test] Fix test case

3 years ago[Minor] Html: Fix another corner case
Vsevolod Stakhov [Mon, 5 Jul 2021 15:04:38 +0000 (16:04 +0100)]
[Minor] Html: Fix another corner case

3 years ago[Minor] Lemove legacy
Vsevolod Stakhov [Sun, 4 Jul 2021 20:29:58 +0000 (21:29 +0100)]
[Minor] Lemove legacy

3 years ago[Minor] Fix weird logic
Vsevolod Stakhov [Fri, 2 Jul 2021 17:45:41 +0000 (18:45 +0100)]
[Minor] Fix weird logic

3 years ago[Minor] Fix base tag processing
Vsevolod Stakhov [Fri, 2 Jul 2021 13:02:28 +0000 (14:02 +0100)]
[Minor] Fix base tag processing

3 years ago[Minor] Fix pushing lua_url structure
Vsevolod Stakhov [Fri, 2 Jul 2021 13:02:16 +0000 (14:02 +0100)]
[Minor] Fix pushing lua_url structure

3 years ago[Minor] Use the original address in authentication results
Vsevolod Stakhov [Fri, 2 Jul 2021 11:28:39 +0000 (12:28 +0100)]
[Minor] Use the original address in authentication results

3 years ago[Test] Fix broken tests as it is confirmed by browser \m/
Vsevolod Stakhov [Fri, 2 Jul 2021 10:35:15 +0000 (11:35 +0100)]
[Test] Fix broken tests as it is confirmed by browser \m/

3 years ago[Minor] Html: Fix some more mess with bad closing tags
Vsevolod Stakhov [Fri, 2 Jul 2021 10:33:52 +0000 (11:33 +0100)]
[Minor] Html: Fix some more mess with bad closing tags

3 years ago[Project] More fixes for closed tags
Vsevolod Stakhov [Thu, 1 Jul 2021 16:58:59 +0000 (17:58 +0100)]
[Project] More fixes for closed tags

3 years ago[Project] Html: Add rows display type support
Vsevolod Stakhov [Thu, 1 Jul 2021 16:46:31 +0000 (17:46 +0100)]
[Project] Html: Add rows display type support

3 years ago[Minor] Fix the final tag processing + sgml/xml tags fixes
Vsevolod Stakhov [Thu, 1 Jul 2021 14:25:37 +0000 (15:25 +0100)]
[Minor] Fix the final tag processing + sgml/xml tags fixes

3 years ago[Minor] Ignore virtual tags
Vsevolod Stakhov [Thu, 1 Jul 2021 13:06:50 +0000 (14:06 +0100)]
[Minor] Ignore virtual tags

3 years ago[Project] Html: Another try to fix unbalanced cases
Vsevolod Stakhov [Thu, 1 Jul 2021 12:28:41 +0000 (13:28 +0100)]
[Project] Html: Another try to fix unbalanced cases

3 years ago[Project] More fixes to calculations
Vsevolod Stakhov [Thu, 1 Jul 2021 11:53:24 +0000 (12:53 +0100)]
[Project] More fixes to calculations

3 years ago[Project] Html: More fixes
Vsevolod Stakhov [Wed, 30 Jun 2021 20:22:43 +0000 (21:22 +0100)]
[Project] Html: More fixes

3 years ago[Project] Html: More fixes
Vsevolod Stakhov [Wed, 30 Jun 2021 17:54:05 +0000 (18:54 +0100)]
[Project] Html: More fixes

3 years ago[Minor] Fix some crashes
Vsevolod Stakhov [Wed, 30 Jun 2021 12:14:10 +0000 (13:14 +0100)]
[Minor] Fix some crashes

3 years ago[Project] Html: Another rework of the tags structure
Vsevolod Stakhov [Wed, 30 Jun 2021 11:50:43 +0000 (12:50 +0100)]
[Project] Html: Another rework of the tags structure

3 years ago[Minor] Use static buffer for tags names normalisation
Vsevolod Stakhov [Tue, 29 Jun 2021 13:14:57 +0000 (14:14 +0100)]
[Minor] Use static buffer for tags names normalisation

3 years ago[Rework] Remove tag name string
Vsevolod Stakhov [Tue, 29 Jun 2021 12:21:47 +0000 (13:21 +0100)]
[Rework] Remove tag name string

3 years ago[Test] Some fixes to html unit tests
Vsevolod Stakhov [Mon, 28 Jun 2021 13:01:25 +0000 (14:01 +0100)]
[Test] Some fixes to html unit tests

3 years ago[Minor] Fix xml tags and comments processing
Vsevolod Stakhov [Mon, 28 Jun 2021 10:51:31 +0000 (11:51 +0100)]
[Minor] Fix xml tags and comments processing

3 years agoMerge pull request #3808 from moisseev/codejar
Vsevolod Stakhov [Sun, 27 Jun 2021 20:35:57 +0000 (21:35 +0100)]
Merge pull request #3808 from moisseev/codejar

[WebUI] Update editor

3 years ago[WebUI] Editor: Set thin scrollbars 3808/head
moisseev [Sat, 26 Jun 2021 15:28:59 +0000 (18:28 +0300)]
[WebUI] Editor: Set thin scrollbars

to fix line wrapping

3 years ago[WebUI] Update editor
moisseev [Sat, 26 Jun 2021 15:10:27 +0000 (18:10 +0300)]
[WebUI] Update editor

  CodeJar 3.2.2 -> 3.5.0
  Prism 1.22.0 -> 1.23.0

3 years ago[Minor] Fix entities unit tests
Vsevolod Stakhov [Sat, 26 Jun 2021 13:46:39 +0000 (14:46 +0100)]
[Minor] Fix entities unit tests

3 years ago[Project] Html: Implement logic for tags pairing
Vsevolod Stakhov [Sat, 26 Jun 2021 13:30:19 +0000 (14:30 +0100)]
[Project] Html: Implement logic for tags pairing

3 years agoMerge pull request #3804 from fatalbanana/bitcoin_pcre
Vsevolod Stakhov [Fri, 25 Jun 2021 11:26:35 +0000 (12:26 +0100)]
Merge pull request #3804 from fatalbanana/bitcoin_pcre

[Fix] Fix an edge case in BITCOIN_ADDR rule

3 years ago[Project] Html: More spaces logic fixes
Vsevolod Stakhov [Thu, 24 Jun 2021 16:38:20 +0000 (17:38 +0100)]
[Project] Html: More spaces logic fixes

3 years ago[Project] Fix xml/sgml tags processing
Vsevolod Stakhov [Thu, 24 Jun 2021 16:30:20 +0000 (17:30 +0100)]
[Project] Fix xml/sgml tags processing

3 years ago[Minor] Another try to fix long compile time
Vsevolod Stakhov [Thu, 24 Jun 2021 13:11:51 +0000 (14:11 +0100)]
[Minor] Another try to fix long compile time

3 years agoMerge pull request #3805 from moisseev/popover
Vsevolod Stakhov [Thu, 24 Jun 2021 09:13:11 +0000 (10:13 +0100)]
Merge pull request #3805 from moisseev/popover

[Minor] Dismiss popover by clicking outside

3 years ago[Minor] Another try to reduce compile time using broken toolset
Vsevolod Stakhov [Wed, 23 Jun 2021 18:53:37 +0000 (19:53 +0100)]
[Minor] Another try to reduce compile time using broken toolset

3 years ago[Minor] Reduce template overload by switching to vector
Vsevolod Stakhov [Wed, 23 Jun 2021 17:10:06 +0000 (18:10 +0100)]
[Minor] Reduce template overload by switching to vector

3 years ago[Test] Remove obsoleted test
Vsevolod Stakhov [Wed, 23 Jun 2021 15:21:03 +0000 (16:21 +0100)]
[Test] Remove obsoleted test

3 years ago[Test] Add visibility test case for html parsing
Vsevolod Stakhov [Wed, 23 Jun 2021 13:02:04 +0000 (14:02 +0100)]
[Test] Add visibility test case for html parsing

3 years ago[Minor] Fix FreeBSD release build with lld/libc++
Vsevolod Stakhov [Wed, 23 Jun 2021 13:01:36 +0000 (14:01 +0100)]
[Minor] Fix FreeBSD release build with lld/libc++

Issue: #3778

3 years ago[Minor] Sigh, fix crash
Vsevolod Stakhov [Wed, 23 Jun 2021 12:25:37 +0000 (13:25 +0100)]
[Minor] Sigh, fix crash

3 years ago[Minor] Ignore urls in head tag
Vsevolod Stakhov [Wed, 23 Jun 2021 12:20:16 +0000 (13:20 +0100)]
[Minor] Ignore urls in head tag

3 years ago[Minor] Fix styles processing
Vsevolod Stakhov [Wed, 23 Jun 2021 12:14:26 +0000 (13:14 +0100)]
[Minor] Fix styles processing

3 years ago[Minor] Head tags are default invisible
Vsevolod Stakhov [Wed, 23 Jun 2021 11:26:15 +0000 (12:26 +0100)]
[Minor] Head tags are default invisible

3 years ago[Minor] Some more fixes to spaces normalisation
Vsevolod Stakhov [Wed, 23 Jun 2021 11:19:22 +0000 (12:19 +0100)]
[Minor] Some more fixes to spaces normalisation

3 years ago[Minor] Workaround for old libicu (docs in libicu are still wrong)
Vsevolod Stakhov [Wed, 23 Jun 2021 11:06:56 +0000 (12:06 +0100)]
[Minor] Workaround for old libicu (docs in libicu are still wrong)

3 years ago[Minor] Another set of fixes in the spaces normalisation
Vsevolod Stakhov [Wed, 23 Jun 2021 11:04:05 +0000 (12:04 +0100)]
[Minor] Another set of fixes in the spaces normalisation

3 years ago[Minor] Fix base tag processing
Vsevolod Stakhov [Wed, 23 Jun 2021 10:09:42 +0000 (11:09 +0100)]
[Minor] Fix base tag processing

3 years ago[Fix] Fix an edge case in BITCOIN_ADDR rule 3804/head
Andrew Lewis [Wed, 23 Jun 2021 09:26:40 +0000 (11:26 +0200)]
[Fix] Fix an edge case in BITCOIN_ADDR rule

 - when using PCRE
 - and different address types are present

3 years ago[Minor] Dismiss popover by clicking outside 3805/head
moisseev [Wed, 23 Jun 2021 08:45:13 +0000 (11:45 +0300)]
[Minor] Dismiss popover by clicking outside

3 years ago[Minor] Add spaces trimming
Vsevolod Stakhov [Tue, 22 Jun 2021 23:26:56 +0000 (00:26 +0100)]
[Minor] Add spaces trimming

3 years ago[Project] Html: Rework img/a tags handling
Vsevolod Stakhov [Tue, 22 Jun 2021 23:11:13 +0000 (00:11 +0100)]
[Project] Html: Rework img/a tags handling

3 years agoMerge pull request #3803 from moisseev/tooltips-1
Vsevolod Stakhov [Tue, 22 Jun 2021 18:23:55 +0000 (19:23 +0100)]
Merge pull request #3803 from moisseev/tooltips-1

[WebUI] Disable bootstrap tooltips

3 years ago[WebUI] Disable bootstrap tooltips 3803/head
moisseev [Tue, 22 Jun 2021 17:53:44 +0000 (20:53 +0300)]
[WebUI] Disable bootstrap tooltips

that are too difficult to handle properly for dynamic HTML content.

3 years ago[Project] Html: Fix crossing spans
Vsevolod Stakhov [Tue, 22 Jun 2021 16:13:59 +0000 (17:13 +0100)]
[Project] Html: Fix crossing spans

3 years ago[Project] Html: One more attempt to write text content
Vsevolod Stakhov [Tue, 22 Jun 2021 15:10:52 +0000 (16:10 +0100)]
[Project] Html: One more attempt to write text content

3 years ago[Project] Html: Try another approach to append tags content
Vsevolod Stakhov [Tue, 22 Jun 2021 13:53:17 +0000 (14:53 +0100)]
[Project] Html: Try another approach to append tags content

3 years ago[Project] Html: Insert closing tags as well :(
Vsevolod Stakhov [Tue, 22 Jun 2021 10:10:54 +0000 (11:10 +0100)]
[Project] Html: Insert closing tags as well :(

3 years ago[Rework] Html: Further rework of the tags content extraction
Vsevolod Stakhov [Mon, 21 Jun 2021 23:21:24 +0000 (00:21 +0100)]
[Rework] Html: Further rework of the tags content extraction

3 years ago[Project] Html: Rework tags placement
Vsevolod Stakhov [Mon, 21 Jun 2021 22:46:26 +0000 (23:46 +0100)]
[Project] Html: Rework tags placement

3 years ago[Test] Use --help from doctest and not glib
Vsevolod Stakhov [Mon, 21 Jun 2021 19:27:46 +0000 (20:27 +0100)]
[Test] Use --help from doctest and not glib

3 years ago[Rework] Html: Start html text extraction rework
Vsevolod Stakhov [Mon, 21 Jun 2021 18:59:35 +0000 (19:59 +0100)]
[Rework] Html: Start html text extraction rework

3 years ago[Minor] Fix for old libicu
Vsevolod Stakhov [Mon, 21 Jun 2021 12:39:26 +0000 (13:39 +0100)]
[Minor] Fix for old libicu

3 years ago[Test] Rework some tests to subcases
Vsevolod Stakhov [Sun, 20 Jun 2021 11:24:45 +0000 (12:24 +0100)]
[Test] Rework some tests to subcases

3 years ago[Minor] Use separate htb for heuristical elements in entities
Vsevolod Stakhov [Sat, 19 Jun 2021 16:34:47 +0000 (17:34 +0100)]
[Minor] Use separate htb for heuristical elements in entities

3 years ago[Minor] Html entities seem like a big anecdote, enable bug-to-bug compat with WebKit
Vsevolod Stakhov [Sat, 19 Jun 2021 10:41:17 +0000 (11:41 +0100)]
[Minor] Html entities seem like a big anecdote, enable bug-to-bug compat with WebKit

3 years ago[Project] Html: Add more tests cases and fix some more corner issues
Vsevolod Stakhov [Sat, 19 Jun 2021 10:18:33 +0000 (11:18 +0100)]
[Project] Html: Add more tests cases and fix some more corner issues

3 years ago[Fix] Finally rework parsing entities logic
Vsevolod Stakhov [Fri, 18 Jun 2021 23:43:39 +0000 (00:43 +0100)]
[Fix] Finally rework parsing entities logic

3 years ago[Test] Slightly reorganize tests
Vsevolod Stakhov [Fri, 18 Jun 2021 19:35:05 +0000 (20:35 +0100)]
[Test] Slightly reorganize tests

3 years ago[Project] Html: Allow decode entities function to normalise spaces
Vsevolod Stakhov [Fri, 18 Jun 2021 19:34:31 +0000 (20:34 +0100)]
[Project] Html: Allow decode entities function to normalise spaces
+ unit tests

3 years ago[Minor] Fix some visibility classes
Vsevolod Stakhov [Fri, 18 Jun 2021 19:16:01 +0000 (20:16 +0100)]
[Minor] Fix some visibility classes

3 years ago[Minor] Distinguish inline/block/invisible display
Vsevolod Stakhov [Fri, 18 Jun 2021 15:29:14 +0000 (16:29 +0100)]
[Minor] Distinguish inline/block/invisible display

3 years ago[Minor] Add one more case
Vsevolod Stakhov [Fri, 18 Jun 2021 15:22:04 +0000 (16:22 +0100)]
[Minor] Add one more case