Commit Graph

114 Commits

Author SHA1 Message Date
ppom
50e214c403 Merge branch 'make-deb' into 'main'
📦 — Add a make target for Debian packaging

See merge request ppom/reaction!2
2023-12-20 17:18:39 +00:00
Luc Didry
9d847657d1
📦 — Add a make target for Debian packaging 2023-12-20 15:56:39 +01:00
ppom
7afe7e9b6f update IP regex
see https://framagit.org/ppom/reaction-wiki/-/issues/13
2023-12-20 12:00:00 +01:00
ppom
55d098c69c update releases link 2023-12-05 12:00:00 +01:00
ppom
3921292a9b Add link to the wiki in --help 2023-12-04 12:00:00 +01:00
ppom
0746be69ae update: english article, wiki link 2023-11-30 12:00:00 +01:00
ppom
a132c3052a fix example
fix #49
2023-11-29 12:00:00 +01:00
ppom
4927460af7 Merge branch 'main' of framagit.org:ppom/reaction 2023-11-27 12:00:00 +01:00
ppom
2e15087858 Merge branch 'zatalyz-main-patch-05879' into 'main'
Update server.jsonnet : typo with an extra space, creating a launch error

See merge request ppom/reaction!1
2023-11-27 13:31:00 +00:00
ppom
7503e57063 fix example 2023-11-27 12:00:00 +01:00
Zatalyz
69119d1193 Update server.jsonnet : typo with an extra space, creating a launch error 2023-11-26 10:02:41 +00:00
ppom
f1b7d4b4c7 Add go version in README 2023-11-24 12:00:00 +01:00
ppom
418af00152 comment suggestion for people that don't read the full file 2023-11-24 12:00:00 +01:00
ppom
1bb24b443c Exit 0 when all is fine
Fix #45
2023-11-23 12:00:00 +01:00
ppom
831f3d0247 Fix min go version 2023-11-21 12:00:00 +01:00
ppom
05d50c74c4 fix not installable systemd file 2023-11-11 12:00:00 +01:00
ppom
1f48964086 build as a static binary for perfect compatibility 2023-11-05 12:00:00 +01:00
ppom
52dc67ed34 more ssh regexes 2023-11-05 12:00:00 +01:00
ppom
50ce32d256 build with bullseye (debian 11) for better compatibility 2023-11-05 12:00:00 +01:00
ppom
6ee78f45f2 fix confs iptables 2023-11-05 12:00:00 +01:00
ppom
611fa80385 add blog link 2023-10-30 12:00:00 +01:00
ppom
2c73a8af03 update confs 2023-10-28 12:00:00 +02:00
ppom
5db4c67ddb add section title 2023-10-28 12:00:00 +02:00
ppom
5866859c90 add /usr/local/bin 2023-10-28 12:00:00 +02:00
ppom
1012577b9c Add link to binaries 2023-10-28 12:00:00 +02:00
ppom
8c50f8412a new doc, new examples, support -help 2023-10-22 12:00:00 +02:00
ppom
b7eeb51e82 several fixes
- wait for start/stop commands to finish running
- better logs
2023-10-22 12:00:00 +02:00
ppom
ac2621911f reaction show: implement --pattern: pattern filtering with regex
fix #30
2023-10-22 12:00:00 +02:00
ppom
4053a83629 reaction show: implement --limit: stream/filter filtering
fix #28
2023-10-21 12:00:00 +02:00
ppom
d5d73f3e6f Reduce database size
...and it's still not a breaking change!
fix #42

Benchmark: using config/heavy-load.yml
From 8.1MB to 4.8MB → 40% of size reduction!

75% of size reduction if we cumulate both optimizations, waow!
2023-10-21 12:00:00 +02:00
ppom
b56ccffd3b Fix persistence bug 2023-10-20 12:00:00 +02:00
ppom
ed3cd4384c Reduce database size
...and it's not a breaking change!
fix #36

Benchmark: using config/heavy-load.yml
From 14MB to 8MB → 40% of size reduction!
2023-10-20 12:00:00 +02:00
ppom
345dd94b17 Implement start/stop commands
fix #41
update README and configuration files accordingly
2023-10-18 12:00:00 +02:00
ppom
d35167b878 Remove stderr reading (caused bug) 2023-10-18 12:00:00 +02:00
ppom
3822e854b6 Implement --loglevel option ; Use logger instead of log everywhere 2023-10-18 12:00:00 +02:00
ppom
22ac3764e4 remove last "retry-period" occurences 2023-10-18 12:00:00 +02:00
ppom
a70f1ac424 logger package! yay
fix #38
2023-10-12 12:00:00 +02:00
ppom
9d44c05a17 Configs refactor. New WIP config for activity watch like reaction server 2023-10-12 12:00:00 +02:00
ppom
92e07f5fe6 ip46tables
wrote `ip46tables` C minimal program to handle both ipv4 and ipv6 at the same time.
fix #22
2023-10-05 12:00:00 +02:00
ppom
e56b851d15 support json, jsonnet, yaml formats
- jsonnet, json and yaml support for configuration
- json and yaml support for output formats

fix #40
fix #27
2023-10-05 12:00:00 +02:00
ppom
3767fc6cf8 More complete reponse for flush 2023-10-04 12:00:00 +02:00
ppom
32f6aca1b5 update help message to be accurate 2023-10-04 12:00:00 +02:00
ppom
8343278bc3 explain how persistence works
fix #35
2023-10-01 12:00:00 +02:00
ppom
b7ac94cbf8 Action-Réaction explanation 2023-10-01 12:00:00 +02:00
ppom
480aeb7f15 Reimplement flushes
fix #33
fix #39
2023-10-01 12:00:00 +02:00
ppom
83e760ed72 Rename global channels 2023-09-25 21:12:11 +02:00
ppom
f29b5ec87f Fix bug "expired matches are still present" for "show"
Now matches are deleted at the exact time they expire, not when
accepting a new similar match
2023-09-24 17:28:37 +02:00
ppom
d26c7f24f2 better data structures for matches & actions maps 2023-09-24 17:08:21 +02:00
ppom
b6d7e5a946 server-client "show" reimplemented
Bug → expired matches are still present
2023-09-24 16:43:18 +02:00
ppom
a30a6644dc Fix: dont die if trying to delete unexistant DB
It can happen if reaction-flushes.db has never existed
but reaction-matches does, on first run-time database rotation
2023-09-24 16:00:54 +02:00