~singpolyma/cheogram

ref: 85dddc641a4bd444823c238380bc38c4b277817a cheogram/Main.hs -rw-r--r-- 113.8 KiB
Allow users to opt-in to JID discoverability

So that we can actually build out this feature and turn it on in a way that
respects users right to not want this.
Merge branch 'stats'

* stats:
  Add stats counter for cmd list fetch
  Add stats counter for adhoc-bot cmd run
  Add stats counter for adhoc-bot msg received
  Add stats counter for service start up
  Add stats counter for malformed cacheobb url
Add stats counter for cmd list fetch
Add stats counter for adhoc-bot cmd run
Add stats counter for adhoc-bot msg received
Add stats counter for service start up
Add stats counter for malformed cacheobb url
Cache OOB items for outgoing messages

Since backends may want to send these URLs on further.
Include the command payload item along with the bot prompt
Do not reflect errors

Never reply to an error with an error, instead just ignore the stanza.
Not using this msg
die on component connection error
Don't tell a number "not joined" more than once per hour

Real humans will only notice a bit and bots will loops much less.
Logs for service thread deaths and deadlock checks
Too many domains for this tag to be useful anymore
Fetch VCard4 data from multiple possible sources

If direct-message-route asks for the VCard4 node of a user, fetch possible
vcard4, nickname, and vcard-temp from the user and synthesize into one big vcard
to return to the SGX.
Don't pile up rejoins on errors
Add audio/{amr,AMR} to list of known mime types
Show verbose nickname for whisper from tel jid we don't host
Blacklist uncommon file extensions

Some MIME types are a bit ambiguous.  Do not use uncommon variants of the file
extension, which our nginx and our clients are unlikely to support.
Next