Commit Graph

31 Commits (master)

Author SHA1 Message Date
Wim c2b8e298d8
Add extra error checking for fileinfo (api) (#2015) 1 year ago
Asiel Díaz Benítez 0917e17383
Allow to send files in Extra via /api/message (api) (#1993) 1 year ago
Wim 89e2dbac15
Check client disconnect to exit for loop (api). Fixes #1983 (#2012)
Also update to latest melody upstream
1 year ago
NikkyAI c63f08c811
Sent loopback messages to other websockets as well (api) (#1216) 4 years ago
NikkyAI 27c02549c8
Replace gorilla with melody for websocket API (#1205) 4 years ago
haykam821 9b22f16497
Add websocket to API (#970)
Co-authored-by: Qais Patankar <qaisjp@gmail.com>
4 years ago
Qais Patankar a41accd033
Add sane RemoteNickFormat default for API (#1157) 4 years ago
Wim c81c0dd22a Update vendor, move to labstack/echo/v4 Fixes #698 5 years ago
Duco van Amstel ce21ba1545 Fix golint linter issues and enable it in CI (#593) 6 years ago
David Hill 0e2522279e Clean up various stuff (#508)
* various cleanups
6 years ago
Patrick Connolly 5666821e7b Add a health endpoint to API (#554) 6 years ago
Patrick Connolly 5132d8f097 Stop setting API ring buffer capacity if not specified. (#552) 6 years ago
NikkyAI d058be25ad Respond with message on connect (api) (#550)
fix #549
6 years ago
Liam Stanley 51327a4056 Reconnect on quit. (irc) See #431 (#445)
* potential fixes for #431
* go: fix formatting/gofmt/goreturns
6 years ago
Wim f2f1d874e1 Use viper (github.com/spf13/viper) for configuration 6 years ago
Wim 2bac867382 Refactor using factory 6 years ago
Wim 5f3b6ec007 Disable echo banner and output (api) 6 years ago
Wim d1227b5fc9 Use prefixed-formatter for better logging 6 years ago
Wim 6ea368c383 Move Sirupsen => sirupsen 6 years ago
Wim f2efc06d1f Give api access to whole config.Message (and events). Closes #374 6 years ago
Wim 265457b451 Refactor and add MediaDownloadSize to General 7 years ago
Wim f56163295c Remove unreachable code (api) 7 years ago
Wim d30ae19e2a Add (simple, one listener) long-polling support (api). Closes #307 7 years ago
Wim ed01820722 Add support for deleting messages across bridges.
Currently fully support mattermost,slack and discord.
Message deleted on the bridge or received from other bridges will be
deleted.

Partially support for Gitter.
Gitter bridge will delete messages received from other bridges.
But if you delete a message on gitter, this deletion will not be sent to
other bridges (this is a gitter API limitation, it doesn't propogate edits
or deletes via the API)
7 years ago
Wim 5a8d7b5f6d Modify Send() to return also a message id 7 years ago
Wim 28710d0bc7 Allow a webhookurl per channel (discord). #239 7 years ago
Wim 2ddc4f7ae9 Add UserID to each message. Closes #200 7 years ago
Wim 359d0f2910 Allow reuse of api in different gateways. See #189 7 years ago
Wim ad3cb0386b Add token authentication (api) 7 years ago
Wim b8a2fcbaff Post valid JSON (api). See #185 7 years ago
Wim 73f01ad8d8 Add REST API support 7 years ago