Commit Graph

77 Commits (07fe9c8817e176691e65168f55ad2d07c9036a8c)

Author SHA1 Message Date
kraktus 0218370535 Simplify some `modLink` calls 2021-12-11 20:02:26 +01:00
kraktus 4df390e817 Open user notes by default 2021-12-11 20:02:26 +01:00
Benedikt Werner 6e7a4ba40d
scalafmt 2021-11-11 11:49:17 +01:00
Benedikt Werner 2836a215f1
Send chat panic zulip notification to pub comms stream as well 2021-11-09 16:54:35 +01:00
Benedikt Werner 2e9ad93333
Send reminder to zulip on name close preset 2021-11-09 16:53:41 +01:00
Thibault Duplessis 5f5c40ea9b simplify logging 2021-10-13 07:57:16 +02:00
Thibault Duplessis 4ad68b852b remember disposable email attempts 2021-10-07 11:54:31 +02:00
kraktus e65dc9bc57 Make admin zulip notes doxy 2021-10-03 16:54:59 +02: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
Benedikt Werner 23ecf30443
Fix zulip chat panic link 2021-09-19 14:34:05 +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 bfaea49be6 fix streamer image zulip topic 2021-09-11 09:23:07 +02:00
Thibault Duplessis 338d4886e2 tweak zulip ublog post message 2021-09-11 08:46:33 +02:00
Thibault Duplessis fc2b5e8cbb send coach and streamer pictures to zulip 2021-09-10 16:48:40 +02:00
Thibault Duplessis bb82ab1846 send untiered new posts to zulip 2021-09-10 15:44:34 +02:00
Thibault Duplessis 98a98f72ef fix link format in zulip markdown 2021-09-05 13:12:10 +02:00
Thibault Duplessis bf4ce7f33d also send image when publishing the post 2021-09-05 12:54:54 +02:00
Thibault Duplessis 175aaf916d tweak zulip image logging 2021-09-05 12:39:40 +02:00
Thibault Duplessis 6c622a4a1c tweak image to zulip 2021-09-05 12:37:15 +02:00
Thibault Duplessis a703b7fd37 help zulip recognize images 2021-09-05 12:06:30 +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
kraktus bec995e965 Shushers and Hunters can send to Zulip
close https://github.com/lichess-org/tavern/issues/134
2021-08-06 11:35:19 +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 5b3034c43e
Merge pull request #9410 from kraktus/forum_link_mod_log
Linkify forum posts in mod log
2021-07-15 11:21:12 +02:00
kraktus 057813b238 tweak `forumPostPathRegex`, add tests 2021-07-15 10:16:40 +02:00
kraktus fc631812f7 tweak post regex
Avoiding matching url paths: /go/to/path
2021-07-14 09:42:35 +02:00
kraktus 88801da8f8 scalafmt 2021-07-14 09:34:43 +02:00
kraktus fca1cf901e Linkify forum posts in mod-log 2021-07-14 09:32:39 +02:00
Thibault Duplessis 0ba0c17994 better appeal to zulip 2021-07-14 09:04:18 +02:00
Thibault Duplessis 7014495d94 tweak inquiry to zulip 2021-07-14 08:20:12 +02:00
Thibault Duplessis 190091766e Merge branch 'master' into removeCoachApprovedField
* master:
  send inquiry to zulip
  upgrade chessground - for ornicar/chessground#196
2021-07-08 20:55:26 +02:00
Thibault Duplessis 5ea436b899 remove coach approved field - WIP 2021-07-08 20:52:06 +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 519e7fa9f6 remove slack & discord - hi zulip! 2021-07-07 07:40:21 +02:00
Thibault Duplessis 33ca381ea1 send self reports to zulip admin log 2021-07-06 18:54:40 +02:00
Thibault Duplessis b2aeaf1fbf don't wait for zulip calls to complete 2021-07-06 08:39:01 +02:00
Thibault Duplessis d290aaad09 send appeals to zulip, more zulip tweaks 2021-07-05 19:43:18 +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 69f179219d tweak zulip messages 2021-07-05 08:38:11 +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 ae99de95e0 Merge branch 'master' of github.com:ornicar/lila
* 'master' of github.com:ornicar/lila: (22 commits)
  scalafmt
  visually represent oauth button disabled state
  scalafmt
  Fix tournament scores types
  actually fix arena sheet display, sigh
  fix arena sheet, again
  fix arena sheet display - after #9282
  update chessground.min.js
  add black logo
  tweak zulip messages
  New Crowdin updates (#9292)
  also match redirectUri for legacy clients
  do not whitelist apps that would have leaked their client secret
  whitelist some custom url schemes for bc
  group legacy protocol types
  forgot to commit LegacyClientApi.scala
  add deprecation warning to legacy prompt
  add legacy oauth redirects
  add legacy oauth client collection
  start preparing legacy oauth bc
  ...
2021-06-29 16:33:18 +02:00
Thibault Duplessis 65176e5e8a fix zuilp broadcast link 2021-06-29 16:32:50 +02:00