Commit graph

651 commits

Author SHA1 Message Date
b589e4137d
[ci] Add automated Wiki publishing
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-10-07 20:06:26 +02:00
61cc2d64b3
[core] Add rule-subscription feature
- Add remote url to rules
- Add cron to update remote URLs hourly
- Add frontend display for shared rules
- Add frontend feature to subscribe rules

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-10-07 19:23:51 +02:00
50e8336a50
[ci] Switch to Github Workflow for lint / test / release
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-10-03 18:12:41 +02:00
618b241140
[ci] Prepare changelog for 3.x release
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-10-03 02:04:20 +02:00
af38aaa5e4
[templating] Add sprig functions, replace some built-ins
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-10-02 17:12:52 +02:00
20356abe23
[core] Allow to pass ID to channel modification
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-10-01 15:06:32 +02:00
499313fbe6
[templating] Add jsonAPI template function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-09-26 23:32:48 +02:00
5922c29e93
[core] Fix: Read refresh token from database
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-09-10 20:36:55 +02:00
a7533cbd8b
[core] Move storage to SQLite database (#30)
fixes #29
2022-09-10 13:39:07 +02:00
c1a7221b06
prepare release v2.7.1 2022-09-06 00:52:23 +02:00
6210646351
Lint / SEC: Add mitigation for slowloris DoS attack vector
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-09-06 00:35:40 +02:00
e259ca209c
Lint: Fix broken / missing nosec / nolint comments
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-09-06 00:35:20 +02:00
7fa2c2e4b6
Lint: Replace deprecated io/ioutil package
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-09-06 00:34:30 +02:00
a396cab2a7
Lint: Remove deprecated linters
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-09-06 00:11:52 +02:00
997dee0bc7
CI: Fix missing tooling in CI image
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-09-06 00:06:41 +02:00
9d83021c27
prepare release v2.7.0 2022-09-03 14:54:43 +02:00
07a83e2fdb
Add randomString template function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-08-16 17:55:23 +02:00
c0545d1d87
[core] Make number of subscribed months available for subgift
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-07-31 14:06:43 +02:00
9e2628c6e3
[msgformatter] Fix: Trim leading / trailing spaces
in order to support templating resulting in `/me` message

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-07-16 21:45:14 +02:00
847e119e5d
[wiki] Add documentation for mod function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-07-15 21:06:32 +02:00
39a17560a0
prepare release v2.6.0 2022-07-15 19:31:08 +02:00
bf9ec094bf
Add "mod" function for modulo in templating
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-07-15 19:25:05 +02:00
b0d9b5782f
[template] Add inList function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-06-20 21:55:24 +02:00
beb491f015
[editor] Add explanatory hint for exceptions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-06-20 19:02:00 +02:00
ee6670212b
[editor] Fix: Token badges had no spacing
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-06-18 23:18:46 +02:00
4818a3105f
Expose user_id in events
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-06-17 22:13:47 +02:00
40b2e9b21c
[#18] Add editor for disable_on_match_messages
resolves #18

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-06-17 18:32:32 +02:00
6e10143969
prepare release v2.5.0 2022-06-06 14:20:27 +02:00
91bb3cf0fe
[core] Add multi_month parameter parsing for subs
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-05-20 23:35:52 +02:00
236698590b
prepare release v2.4.0 2022-05-07 16:44:40 +02:00
417759eb4e
[editor] [#28] Fix: Allow saving with empty optional duration
resolves #28

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-05-05 22:55:02 +02:00
40fb93962c
[core] Fix: Notify event handlers before rules to prevent delays
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-05-02 00:12:57 +02:00
967e301390
[editor] Fix: Allow empty description in sorting / filter
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-25 22:47:55 +02:00
86144f8783
[editor] [#25] Allow searching in / sort rules
resolves #25

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-23 17:56:13 +02:00
41a7e6bf17
[editor] Fix: Remove asymmetric margin from buttons
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-23 17:55:41 +02:00
05064b08b3
[editor] [#23] Add confirmation for delete buttons
resolves #23

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-23 17:35:11 +02:00
e1a947494b
[core] Fix: Channel modification has StatusNoContent
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-23 17:25:06 +02:00
5a9e589ff5
[#26] Fix: Modify channel module not working for editor-bots (#27) 2022-04-23 17:24:49 +02:00
8894d35fa7
prepare release v2.3.0 2022-04-22 01:25:18 +02:00
b5932ff534
[core] add total_gifted field for gifts, use numeric values for some fields
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-19 13:54:26 +02:00
6eebc41705
[wiki] Update actor docs
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-17 16:54:56 +02:00
6dd52e5320
[customevent] Add actor to create events within rules
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-17 16:54:12 +02:00
5fe727d7dc
[core] Lint: Move duplicate value extraction to central position
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-17 14:56:51 +02:00
585161930d
[core] Use empty resub message when none given
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-17 13:44:47 +02:00
f674735689
[core] Provide message in announcement, bits and resub events
for overlays to react on them

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-15 20:20:09 +02:00
c51a0751f0
[overlays] Move replay into own HTTP request
as replaying through the socket takes ages for longer time ranges

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-03 15:58:39 +02:00
91846e300f
[core] Add support for "annoumcement" event type
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-01 02:02:14 +02:00
4c5fcc9e91
[customevent] Enforce channel to be set in event
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-03-31 13:26:13 +02:00
47a4390a83
[core] Make custom event known
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-03-31 13:20:02 +02:00
2b0b5e3dc0
[customevent] Fix: Make the response code match the docs
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-03-31 00:31:25 +02:00