Commit graph

61 commits

Author SHA1 Message Date
Morgan McMillian 84f3882466 replace access_token url parameter with authorization header
issue #66
2023-07-04 09:33:24 -07:00
Morgan McMillian 1a5c9d84b0 fix username parameter for /register endpoint
resolves #65
2023-07-04 09:31:18 -07:00
Morgan McMillian a26759bb7b Add versioned appservice paths to existing routes
Synapse v1.81 changed to attempt using version paths when calling
an appservice before falling back to the legacy paths. However the
appservice was generating a 404 and the server wouldn't fallback
so this adds the versioned paths to the existing routes.

Resolves #64
2023-05-01 14:18:53 -07:00
Morgan McMillian 782c3d070b whitespace trim 2023-02-15 18:08:51 -08:00
Morgan McMillian ee6baaa579 ignore malformed sticker messages
resolves issue #60
2022-08-13 08:16:59 -07:00
Morgan McMillian 05893172f8 sticker support
closes issue #43
2022-07-01 14:58:32 -07:00
Morgan McMillian c75b7517ca use correct pnut acl attribute for public
When creating of the matrix room is triggered, the pnut attribute
channel.acl.read.public flag should be used to determine if the matrix
room preset should be set to public or private. Issue #58
2022-06-30 12:47:31 -07:00
Morgan McMillian 937ad8cea1 attempt to generate the pnut matrix user on event 2022-06-11 21:55:06 -07:00
Morgan McMillian e06a3fbf12 initial private channel support
issue #11
2021-03-20 13:26:33 +00:00
Morgan McMillian b65b040a15 ignore incomplete thumbnail info 2020-12-17 20:38:27 -08:00
Morgan McMillian 25ac47d049 include crosspost detail in messages to pnut
resolves issue #52
2020-05-09 21:55:45 -07:00
Morgan McMillian dbfc1b5082 support longposts for messages sent to global
resovles issue #50
2020-05-09 14:25:08 -07:00
Morgan McMillian 40b54076e0 split out public base url from client connection
resolves issue #51
2020-05-08 07:50:43 -07:00
Morgan McMillian d4c4cde685 fix hardcoded url in profile lookup, issue #49 2020-03-26 07:43:58 -07:00
Morgan McMillian 9dc5e3eda9 added direct chat support with bridge removing the need for seperate bot, issue #35 2020-03-24 22:41:36 -07:00
Morgan McMillian 8f0d383e20 handle missing thumbnail info, issue #46 2020-03-22 22:06:38 -07:00
Morgan McMillian 264dee0176 properly handle unlinking rooms, issue #47 2020-03-22 22:00:53 -07:00
Morgan McMillian 83c409481d avoid delete when user may not be authorized
issue #42
2019-02-02 15:20:30 -08:00
Morgan McMillian 55eb6177fe - assume defaults for image that does not contain height or width
issue #41
2019-02-02 15:14:24 -08:00
Morgan McMillian c9be0256e4 remove vertical tab insert in mentions issue #36 2019-01-08 22:01:00 -08:00
Morgan McMillian 03587588c4 1.0.0 2019-01-04 03:49:38 +00:00
Morgan McMillian 632b69f75b attempt to handle lack of image info in event #32 2018-05-10 07:30:14 -07:00
Morgan McMillian f4855adce8 remove broken invite code issue #31 2018-05-08 17:58:43 -07:00
Morgan McMillian 52a4914d6e Ignore non-message event for now #30 and disable the broken bot code #31 2018-04-20 12:36:51 -07:00
Morgan McMillian 5b4b5102a7 bi-directional message delete resolves #2
track channel by stream marker resolves #26
2018-03-25 11:34:43 -07:00
Morgan McMillian d103a31df3 remove client lib from bot and keep to the api resolves #27 2018-03-24 18:49:16 -07:00
Morgan McMillian 8f660d990f exclude incompatible monkeybot code 2018-03-22 17:30:20 -07:00
Morgan McMillian 97800146d8 Compensate when the image metadata isn't included in the event. Issue #24 2018-01-27 12:30:15 -08:00
Morgan McMillian 91ede1edc7 handle invite for direct chat through the bot
resolves issue #16
2018-01-09 20:30:22 -08:00
Morgan McMillian b4923409be Merge branch 'master' of code.monkeystew.net:thrrgilag/pnut-matrix 2018-01-09 17:28:10 -08:00
Morgan McMillian 27fc81d700 replace pnutlib with pnutpy in appservice
issue #17
2018-01-09 17:22:35 -08:00
Morgan McMillian 077eea1f97 fix syntax error in message redaction event 2017-10-04 08:37:03 -07:00
Morgan McMillian b9ad6ea08a work on bot service 2017-08-30 13:43:43 -07:00
Morgan McMillian 309fc7e3c5 add broadcast support using a ## suffix issue #15 2017-07-28 16:16:36 -07:00
Morgan McMillian 76e1c15b69 fix keyerror when thumbnail isn't available 2017-06-02 06:55:14 -07:00
Morgan McMillian 9e8a6bd123 duplicate matrixroom table with new constraint 2017-05-25 12:04:02 -07:00
Morgan McMillian 50dff7a634 tweaking wording on notice of restricted room 2017-05-25 08:53:11 -07:00
Morgan McMillian 69ff15d22f fix bug on leave event 2017-05-25 07:01:22 -07:00
Morgan McMillian 0ee1ca2e9b add error condition when matrix bot isn't permitted to write 2017-05-25 06:59:55 -07:00
Morgan McMillian c4707b08d0 setup for polling with matrixbot user and join pnut-bridge when invited 2017-05-24 17:04:27 -07:00
Morgan McMillian 69e0470437 complete user registration process, closes issue #5 2017-05-04 21:35:05 -07:00
Morgan McMillian b2a5eef43c initial bot setup 2017-05-04 20:23:02 -07:00
Morgan McMillian 804af96194 adjust leave action to match up with admin room rather than state_key 2017-05-04 17:17:45 -07:00
Morgan McMillian dfccd44b1d only pay attention to memeber events if they involve the AS user id.
Should resolve issue #8
2017-05-04 16:40:32 -07:00
Morgan McMillian e129be8c86 handle invite and leave notices 2017-05-03 23:01:51 -07:00
Morgan McMillian f94b5cf2fa minor re-order to avoid un-nessesary code when appropriate 2017-05-03 20:02:11 -07:00
Morgan McMillian 8949029923 adjust logging to filter out some of the noise 2017-05-03 17:55:55 -07:00
Morgan McMillian bcae50b385 simplify the body text to just the url 2017-05-03 07:36:38 -07:00
Morgan McMillian f3ca3a1201 fix thumbnail url 2017-05-03 07:27:39 -07:00
Morgan McMillian 543e186dc8 add oembed to channel post 2017-05-03 07:23:56 -07:00