Commit Graph

23 Commits (07fe9c8817e176691e65168f55ad2d07c9036a8c)

Author SHA1 Message Date
Benedikt Werner 2e9ad93333
Send reminder to zulip on name close preset 2021-11-09 16:53:41 +01:00
kraktus 0eda25ce08 Create a zulip note whenever a mod sends to Zulip
close https://github.com/lichess-org/tavern/issues/136
2021-09-25 14:33:23 +02:00
Thibault Duplessis 63e3aa846f use OnceEvery.hashCode instead of RateLimit 2021-09-11 22:32:05 +02:00
Thibault Duplessis 6cea8d18a4 stop logging images 2021-09-11 21:17:58 +02:00
Thibault Duplessis bb82ab1846 send untiered new posts to zulip 2021-09-10 15:44:34 +02:00
Thibault Duplessis 79a3364b8a send ublog images to zulip, improve etiquette mention 2021-09-05 11:09:32 +02:00
Thibault Duplessis 655c6aaa4f rename Future.nevermind -> Future.recoverDefault 2021-08-29 21:34:38 +02:00
Thibault Duplessis e0bb2b453d simplify zulip client 2021-07-23 08:38:24 +02:00
Thibault Duplessis fb9f101537 fix string interpolation 2021-07-23 08:09:32 +02:00
kraktus 279d4e1299
Automatically create a dox note when creating a zulip appeal topic (#9446)
* Move `urlencode` to `common.String`

* Auto dox note when creating a zulip appeal topic

close https://github.com/lichess-org/tavern/issues/97

I had to hard-code the stream id of `mod-admin-appeal` in order to get a link redirecting to the messages. Other options considered:
* Include the stream id of that channel in the zulip-config.
* Fetch it from the zulip Api
* Use another form of link: `https://DOMAIN_NAME/#narrow/id/MSG_ID` or `https://DOMAIN_NAME/#narrow/near/MSG_ID` but after that you need another click to see full conversation (narrow to the stream)

Tested with a real zulip server.

* scalafmt and CamelCase

* Fix link, stream-id not needed in the end

* url-encode the stream name as well
2021-07-23 07:59:37 +02:00
Thibault Duplessis 1ce7c477b1 send inquiry to zulip 2021-07-08 20:49:21 +02:00
Thibault Duplessis 28bc921184 remove #mod-admin-monitor-all 2021-07-07 10:22:37 +02:00
Thibault Duplessis b2aeaf1fbf don't wait for zulip calls to complete 2021-07-06 08:39:01 +02:00
Thibault Duplessis 581ba7490d log zulip failures 2021-07-05 13:55:14 +02:00
Thibault Duplessis 5f03b542a8 more zulip integration tweaks 2021-07-05 09:22:54 +02:00
Thibault Duplessis fc7bdca378 monitor zulip calls 2021-07-03 07:58:37 +02:00
Thibault Duplessis 2d72794009 re-assign zulip messages 2021-07-02 10:04:05 +02:00
Thibault Duplessis c85af02c84 zulip streams WIP 2021-07-02 10:04:05 +02:00
Thibault Duplessis 8903188ea3 complete sending all HQ messages to both slack, discord and zulip 2021-06-22 22:15:30 +02:00
Thibault Duplessis 63f18fff38 zulip integration WIP 2021-06-22 20:41:46 +02:00
Thibault Duplessis dbda86990f no need to store the whole thing in the rate limiter 2021-06-22 20:41:46 +02:00
Thibault Duplessis e5f9df1ec8 send self-reports to zulip 2021-06-10 11:15:08 +02:00
Thibault Duplessis cf575e9d3c zulip POC 2021-06-10 11:03:50 +02:00