Vsevolod Stakhov
2e6a269af6
[Minor] Eugen -> eigen
3 anni fa
Vsevolod Stakhov
8a2cad1818
[Minor] Lua_tensor: Fix newindex row assignment
3 anni fa
Vsevolod Stakhov
f5a453a97f
[Minor] Lua_tensor: Add transpose and mean methods
3 anni fa
Vsevolod Stakhov
c9cd7aa051
[Minor] Lua_tensor: Add eugen method
3 anni fa
Vsevolod Stakhov
bdb91fe0c6
[Minor] Lua_tensor: Add __len method
3 anni fa
Vsevolod Stakhov
12519216c1
[Fix] Fix types check and types usage in lua_cryptobox
3 anni fa
Vsevolod Stakhov
f40d6f8502
[Minor] Fix keyed blake2b creation
3 anni fa
Vsevolod Stakhov
5bcf0964e9
[Fix] Allow to adjust neurons in the hidden layer
3 anni fa
Vsevolod Stakhov
cde1808617
[Minor] Allow empty string lists in config
3 anni fa
Vsevolod Stakhov
39f1caa7b5
[Minor] Fix copy&paste error
3 anni fa
Vsevolod Stakhov
4c2e8ff25d
[Minor] Improve logging on map retries
3 anni fa
Vsevolod Stakhov
1b6b3012ea
[Minor] Add hack to reuse rspamd_inet_address_to_string*
3 anni fa
Vsevolod Stakhov
3f0f843468
[Feature] Implement address retry on connection failure
3 anni fa
Vsevolod Stakhov
28193d7f3f
[Minor] Always try to check IPv4 address first when checking HTTP maps
3 anni fa
Vsevolod Stakhov
dc91755181
[Minor] Add ptr array shuffle routine
3 anni fa
Vsevolod Stakhov
d1cab3edee
[Fix] Fix storing of the original smtp from
3 anni fa
Vsevolod Stakhov
71e58489aa
[Minor] Allow to use lua_tensor in kann apply
3 anni fa
Pragadeesh C
2c873e1d61
[Fix] Change neural plugin's loss function
Modified the neural network to use ceb_neg loss function.
3 anni fa
Vsevolod Stakhov
b95a54eb68
[Minor] Fix extensions calculations
3 anni fa
Vsevolod Stakhov
50a60a54fd
[Minor] Fix tensor projections multiplication
3 anni fa
Vsevolod Stakhov
68aef8e708
[Minor] Lua_tensor: Add __newindex feature
3 anni fa
Vsevolod Stakhov
723294cbaa
[Minor] Fix tensor multiplication for the vectors case
3 anni fa
Vsevolod Stakhov
ad97a143fd
[Minor] Lua_tensor: Implement non-owning tensors (slices)
3 anni fa
Anton Yuzhaninov
11cf19b02c
[Minor] Save into ClickHouse unnamed attaches
Most MUA allow to save attachments (parts with Content-Disposition: attachment)
even if don't have a name. Keep name field empty and save other
information about such attachments to ClickHouse: Content-Type, size,
digest.
Modify attachments selector as well to return hashes of unnamed
attachments.
3 anni fa
Anton Yuzhaninov
5098f10c3d
[Minor] Do not use built-in Lua function as variable name
3 anni fa
Vsevolod Stakhov
3c461d3ef5
[Minor] Add some fail-safety
3 anni fa
Anton Yuzhaninov
72f0f0ddd3
[Doc] Improve task:get_message_id() description
3 anni fa
Vsevolod Stakhov
749baf462a
[Minor] Spamassassin: Remove ffi call
3 anni fa
Vsevolod Stakhov
e63b226f0e
[Minor] Dkim/ARC: allow to sign merely for specific settings id
3 anni fa
Vsevolod Stakhov
0d49f9163e
[Fix] Store reference of upstream list in upstreams objects
3 anni fa
Vsevolod Stakhov
e2abe3362a
[Minor] Add null safety to rspamd_regexp_new
3 anni fa
Vsevolod Stakhov
0a737203c9
[Minor] Lua_text: Add __lt metamethod
3 anni fa
Vsevolod Stakhov
ea826b7149
[Minor] Improve error message when learning with passthrough result
Issue: #3339
3 anni fa
Anton Yuzhaninov
f98037d70f
[Minor] Fix off-by-one error in log message
3 anni fa
Anton Yuzhaninov
da820c8885
[Minor] Improve debug logs in check_generic_list_headers
And small style improvements.
3 anni fa
Anton Yuzhaninov
8c34ee461c
[Minor] Improve mailman mailing list detection
3 anni fa
Anton Yuzhaninov
2a7b9b37d5
[Minor] Update headers used by subscribe.ru
Notably Precedence header no longer used and web links use https.
While here improve style.
3 anni fa
Vsevolod Stakhov
6a1692499f
[Minor] Lua_tensor: Add deserialisation
3 anni fa
Vsevolod Stakhov
1ac9efbac6
[Minor] Lua_tensor: Implement serialisation
3 anni fa
Vsevolod Stakhov
ba66d6a5bb
[Fix] Fix lua_next invocation
3 anni fa
Vsevolod Stakhov
b8216839b2
[Project] Add tensors index method
3 anni fa
Vsevolod Stakhov
09fc651620
[Minor] Allow to have __index in rspamd "classes"
3 anni fa
Vsevolod Stakhov
414c7b4ff7
[Minor] Add printing and fix multiplication
3 anni fa
Vsevolod Stakhov
568fd73ab8
[Project] Add a simple matrix Lua library
3 anni fa
moisseev
cff0a94678
[Minor] Extend /stat response
3 anni fa
Vsevolod Stakhov
024a4e2fbc
[Fix] Another try to fix email names parsing
Related to: 772964f83b82f6d597e22c8b4d08220ab7df3f43#diff-677ba97322f6447774f021d51913b00b
3 anni fa
Anton Yuzhaninov
a7f6a6ed07
[Minor] Use descriptive variable name
PARTITION and PARTITION ID in ClickHouse are different:
https://clickhouse.tech/docs/en/sql-reference/statements/alter/partition/#alter-how-to-specify-part-expr
and we use PARTITION clause here.
3 anni fa
Anton Yuzhaninov
628ec9d29b
[Minor] Fix query used to find old partitions
In ClickHouse a partition includes one or more parts. Typically
a partition has at least a few parts. For each part there is a row in
system.parts table and max_date can be different for different parts.
For example if we have following parts:
┌─partition──┬─table──┬───max_date─┐
│ 2020-06-01 │ rspamd │ 2020-06-07 │
│ 2020-06-08 │ rspamd │ 2020-06-10 │
│ 2020-06-08 │ rspamd │ 2020-06-14 │
│ 2020-06-15 │ rspamd │ 2020-06-21 │
└────────────┴────────┴────────────┘
and want to delete parts which don't contain data written
before 2020-06-12.
Old query will return partition which contain a part with
max_date=2020-06-14:
┌─partition──┬─table──┐
│ 2020-06-01 │ rspamd │
│ 2020-06-08 │ rspamd │
└────────────┴────────┘
and new query will return
┌─partition──┬─table──┐
│ 2020-06-01 │ rspamd │
└────────────┴────────┘
While here change <= to < so we will store at least given number of full
months.
3 anni fa
Vsevolod Stakhov
5cad32bd8e
[Minor] Dmarc: Fix reporting logger invocations
3 anni fa
Vsevolod Stakhov
8d68b5d3ae
[Minor] Fix utf8 multipatterns without hyperscan
3 anni fa