]> source.dussan.org Git - rspamd.git/log
rspamd.git
3 years ago[Minor] Html: Fix one more corner case
Vsevolod Stakhov [Wed, 14 Jul 2021 16:33:48 +0000 (17:33 +0100)]
[Minor] Html: Fix one more corner case

3 years ago[Minor] Remove expensive debugging from expressions processing on compile time
Vsevolod Stakhov [Wed, 14 Jul 2021 12:12:02 +0000 (13:12 +0100)]
[Minor] Remove expensive debugging from expressions processing on compile time

3 years ago[Minor] Change order of the tests
Vsevolod Stakhov [Wed, 14 Jul 2021 12:11:51 +0000 (13:11 +0100)]
[Minor] Change order of the tests

3 years agoMerge pull request #3810 from piquan/master
Vsevolod Stakhov [Wed, 14 Jul 2021 11:44:09 +0000 (12:44 +0100)]
Merge pull request #3810 from piquan/master

Switch PGP keyserver to hkps://keys.openpgp.org

3 years ago[Minor] Ignore bogus head tags inside body
Vsevolod Stakhov [Tue, 13 Jul 2021 15:52:09 +0000 (16:52 +0100)]
[Minor] Ignore bogus head tags inside body

3 years ago[Minor] Switch from head state on meaningful tags
Vsevolod Stakhov [Tue, 13 Jul 2021 15:45:46 +0000 (16:45 +0100)]
[Minor] Switch from head state on meaningful tags

3 years ago[Project] Html: Implement rawtext state machine
Vsevolod Stakhov [Tue, 13 Jul 2021 13:57:07 +0000 (14:57 +0100)]
[Project] Html: Implement rawtext state machine

3 years ago[Minor] Further fixes for tag state machine
Vsevolod Stakhov [Tue, 13 Jul 2021 13:12:58 +0000 (14:12 +0100)]
[Minor] Further fixes for tag state machine

3 years ago[Test] Add tests for urls extraction
Vsevolod Stakhov [Tue, 13 Jul 2021 12:57:13 +0000 (13:57 +0100)]
[Test] Add tests for urls extraction

3 years ago[Minor] Move tests to a separate unit to avoid main logic pollution
Vsevolod Stakhov [Tue, 13 Jul 2021 12:41:48 +0000 (13:41 +0100)]
[Minor] Move tests to a separate unit to avoid main logic pollution

3 years agoMerge pull request #3815 from jendis/changedoc
Vsevolod Stakhov [Mon, 12 Jul 2021 19:09:25 +0000 (20:09 +0100)]
Merge pull request #3815 from jendis/changedoc

[Minor] rewrite doc of text_part:get_fuzzy_hashes method

3 years ago[Minor] Fix confusion
Vsevolod Stakhov [Mon, 12 Jul 2021 16:59:27 +0000 (17:59 +0100)]
[Minor] Fix confusion

3 years ago[Minor] Fix tests to *really* test \0 character
Vsevolod Stakhov [Mon, 12 Jul 2021 16:23:18 +0000 (17:23 +0100)]
[Minor] Fix tests to *really* test \0 character

3 years ago[Project] Html: Replace \0 in html content
Vsevolod Stakhov [Mon, 12 Jul 2021 15:50:07 +0000 (16:50 +0100)]
[Project] Html: Replace \0 in html content

3 years ago[Minor] Some rework for old html tags flags
Vsevolod Stakhov [Mon, 12 Jul 2021 15:20:27 +0000 (16:20 +0100)]
[Minor] Some rework for old html tags flags

3 years ago[Minor] Disable broken test
Vsevolod Stakhov [Mon, 12 Jul 2021 13:54:28 +0000 (14:54 +0100)]
[Minor] Disable broken test

3 years ago[Minor] Some more fixes in state machine
Vsevolod Stakhov [Mon, 12 Jul 2021 13:24:03 +0000 (14:24 +0100)]
[Minor] Some more fixes in state machine

3 years agoMerge pull request #3817 from jpbede/fix/asn-dns-error
Vsevolod Stakhov [Sun, 11 Jul 2021 20:47:05 +0000 (21:47 +0100)]
Merge pull request #3817 from jpbede/fix/asn-dns-error

[Fix]: Lua ASN - CB func should also return in case of an error

3 years ago[FIX]: ASN: register symbol & minor change suggested by vstakhov 3817/head
Jan-Philipp Benecke [Sun, 11 Jul 2021 19:06:21 +0000 (21:06 +0200)]
[FIX]: ASN: register symbol & minor change suggested by vstakhov

3 years ago[Fix]: ASN: dns cb func should also return in case of an error
Jan-Philipp Benecke [Sun, 11 Jul 2021 18:23:16 +0000 (20:23 +0200)]
[Fix]: ASN: dns cb func should also return in case of an error

3 years ago[Minor] Fix rubbish stuff
Vsevolod Stakhov [Sun, 11 Jul 2021 11:24:02 +0000 (12:24 +0100)]
[Minor] Fix rubbish stuff

3 years ago[Minor] Fix states processing
Vsevolod Stakhov [Sun, 11 Jul 2021 11:20:41 +0000 (12:20 +0100)]
[Minor] Fix states processing

3 years ago[Test] Oops, fix test expectation
Vsevolod Stakhov [Sun, 11 Jul 2021 11:14:34 +0000 (12:14 +0100)]
[Test] Oops, fix test expectation

3 years ago[Minor] Fix support of attributes with no values
Vsevolod Stakhov [Sun, 11 Jul 2021 09:38:38 +0000 (10:38 +0100)]
[Minor] Fix support of attributes with no values

3 years ago[Project] Html: Support 'hidden' attribute
Vsevolod Stakhov [Sun, 11 Jul 2021 09:38:23 +0000 (10:38 +0100)]
[Project] Html: Support 'hidden' attribute

3 years ago[Test] Fix test
Vsevolod Stakhov [Sat, 10 Jul 2021 20:05:27 +0000 (21:05 +0100)]
[Test] Fix test

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] rewrite doc of text_part:get_fuzzy_hashes method 3815/head
Jan Smutny [Fri, 9 Jul 2021 12:28:42 +0000 (14:28 +0200)]
[Minor] rewrite doc of text_part:get_fuzzy_hashes method

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 agoSwitch PGP keyserver to hkps://keys.openpgp.org 3810/head
Joel Ray Holveck [Wed, 30 Jun 2021 08:51:00 +0000 (01:51 -0700)]
Switch PGP keyserver to hkps://keys.openpgp.org

The SKS keyserver infrastructure has been under attack for some time, and at the moment is unreachable.  The keys.openpgp.org keyserver has the rspamd key, and is resistant to the sort of attack that is hurting the SKS keyservers.  This change switches to that keyserver.

gpg won't load new keys from keys.openpgp.org unless the owner consented to publish the uids (see https://keys.openpgp.org/about/faq#older-gnupg).  This means you need the key imported first with the uid attached.  Here, we include the essential part of the key (the master key, uid, and its self-signature) in the Dockerfile.  We still poll keys.openpgp.org for updates, such as expiration extensions and revocations.

See https://gist.github.com/rjhansen/67ab921ffb4084c865b3618d6955275f for background.

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