293a7d9e30
[counter] Allow counterTopList
to specify how to sort
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-07 13:37:13 +02:00
94b040ed81
[counter] Record first seen and last updated on counters
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-07 13:37:13 +02:00
30482591a7
[core] Switch to go_helpers FieldCollection
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-07 13:37:13 +02:00
f684abc29f
Lint: Update linter config, remove no longer required exeptions
...
which might be a false-negative and re-added later
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-03-28 00:15:53 +01:00
673ed1e29a
Lint: Resolve linter issues
...
occurred with new Go / golangci-lint version
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-02-18 13:42:00 +01:00
c78356f68f
Lint: Update linter config, improve code quality
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-01-01 17:52:39 +01:00
0d10b5165f
[core] Add retries for database access methods
...
to compensate for database temporarily not being available. This is not
suitable for longer database outages as 5 retries with a 1.5 multiplier
will not give much time to recover but should cover for cluster changes
and short network hickups.
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-12-04 16:19:36 +01:00
e7a493cafe
[CLI] Add database migration tooling
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-11-26 16:55:05 +01:00
ba21a372b5
[counter] Add counterRank
and counterTopList
template functions
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-10-23 20:28:58 +02:00
bcc5b4eba7
[core] Update go-irc to v4.0.0
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-09-11 19:51:38 +02:00
1585df5e90
[docs] Add auto-generated template documentation ( #50 )
2023-08-25 23:37:37 +02:00
996cc2877d
[counter] Add counterValueAdd
template function
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-12 23:48:22 +02:00
286c4d34a3
Lint: Fix linter errors
...
made visible after update of golangci-lint
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-03-24 22:32:00 +01:00
0a937a65d0
prepare release v3.0.0
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-11-02 22:54:52 +01:00
2c71f57d02
[core] Add config validation command
...
- Fix missing field validation for required fields
- Add validation of template fields
- Report all issues in configuration
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-10-31 17:47:06 +01:00
1409a4bd34
[lint] Fix v2 import path not carrying version
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-10-23 15:06:45 +02:00
c0075db1f3
Breaking: Add support for multiple database backends ( #32 )
2022-10-23 00:08:02 +02:00
a7533cbd8b
[core] Move storage to SQLite database ( #30 )
...
fixes #29
2022-09-10 13:39:07 +02:00