~singpolyma/cheogram

ref: 248f58010212fbb48b508c8d5683e7fd147e1c6e cheogram/Main.hs -rw-r--r-- 113.5 KiB
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.
Move the unregister-from-backend handling up into the from-backend handling area
Next