Commit Graph

  • 0d14d149d3 更新 'package.json' master zhongjin 2023-02-13 16:10:06 +0800
  • bde0bc7e53 更新 'src/matrix-send-message.js' zhongjin 2023-02-13 15:56:39 +0800
  • 1f37650763 更新 'src/matrix-send-message.js' zhongjin 2023-02-13 11:24:41 +0800
  • 0166620ef0 更新 'README.md' zhongjin 2023-02-13 11:23:31 +0800
  • 6dcadeb8d2 更新 'package.json' zhongjin 2023-02-13 11:23:16 +0800
  • 1a08750828 更新 'package.json' zhongjin 2023-02-13 11:21:58 +0800
  • 8e601a88e1 更新 'README.md' zhongjin 2023-02-13 11:20:59 +0800
  • e0e45c6b18 更新 'src/matrix-send-message.js' zhongjin 2023-02-13 11:01:20 +0800
  • a336ce1beb 更新 'src/matrix-send-message.js' zhongjin 2023-02-13 10:47:34 +0800
  • 978a039498 更新 'package.json' zhongjin 2023-02-13 10:13:47 +0800
  • f10fdbfab2 更新 'src/matrix-send-message.js' zhongjin 2023-02-13 09:51:01 +0800
  • ddfa90bd77 更新 'src/matrix-send-message.html' zhongjin 2023-02-13 09:27:17 +0800
  • 78f8ab7abb
    Merge pull request #74 from Skylar-Tech/dev 0.7.0 Skylar Sadlier 2022-12-06 22:15:49 -0700
  • ce8be4a30f Update readme dev Skylar Sadlier 2022-12-06 22:10:26 -0700
  • 3e808cabec - Set version to 0.7.0 Skylar Sadlier 2022-12-06 21:53:30 -0700
  • 2fdc7482ce - Add back in persistent storage - Receive node now accepts video files Skylar Sadlier 2022-12-06 21:49:05 -0700
  • c7f9d56df2 - Updated code for new authedRequest argument format - matrix-js-sdk updated to 22.0.0 - fs-extra updated to 11.1.0 - minimum version set to 14.14 Skylar Sadlier 2022-12-06 18:47:41 -0700
  • 3c042ae47d - rename "Invite Room" node to "Invite to Room" to distinguish from new node - new node "Invite Room" for receiving room invites - new node "Leave Room" for leaving a room - updated examples with new nodes Skylar Sadlier 2022-12-05 23:40:05 -0700
  • 0a34870fa3
    Merge pull request #71 from jacotec/master Skylar Sadlier 2022-12-05 21:20:11 -0700
  • 768a1c8ce0
    Merge pull request #73 from WesleyE/master Skylar Sadlier 2022-12-05 21:19:03 -0700
  • 22dd9b4ca3 - matrix-js-sdk updated to v21.2.0 - added node-fetch polyfill for older nodejs versions - added abort-controller polyfill for older nodejs versions Skylar Sadlier 2022-12-05 21:18:16 -0700
  • 462f9670c2 - matrix-js-sdk updated to v20.0.0 - olm updated to v3.2.13 https://gitlab.matrix.org/matrix-org/olm/-/packages/136 - console messages now only appear if Node-RED's settings.js logging.console.level is info, debug, or trace Skylar Sadlier 2022-12-05 19:49:55 -0700
  • e4b01c40c2
    Verify login on the relative matrix-chat/login URI Wesley Elfring 2022-11-30 13:11:33 +0100
  • 908d60835d Pass invites to the receive object Marco Jakobs 2022-11-25 20:56:06 +0100
  • 4c17a21008
    Merge pull request #63 from Skylar-Tech/dev 0.6.1 Skylar Sadlier 2022-04-19 13:03:47 -0600
  • bd4f6ea486 Update version to 0.6.1 - Fix: Error thrown in folder migration if new and old path are same Skylar Sadlier 2022-04-19 13:01:00 -0600
  • 5ef0b6a11f Fix: Error thrown in folder migration if new and old path are same Skylar Sadlier 2022-04-19 12:58:52 -0600
  • 97f27e61c6
    Merge pull request #62 from Skylar-Tech/61-audio-messages Skylar Sadlier 2022-03-28 00:45:22 -0600
  • 7bdadc0fe9 Closes #209 - Can now receive audio files - Can now receive locations - Readme updated Skylar Sadlier 2022-03-28 00:39:48 -0600
  • 5f129560aa Couple of little changes: - Fix matrix-receive message types displaying in uppercase when it should be lowercase - Readme updated with some extra things that are now possible since last release - Link to matrix.org project in our README.md Skylar Sadlier 2022-03-24 13:56:42 -0600
  • 00bc14e1c7
    Merge pull request #59 from Skylar-Tech/dev 0.5.8 Skylar Sadlier 2022-03-18 13:50:28 -0600
  • 9f41b67174 Version 0.5.8 Skylar Sadlier 2022-03-18 13:49:38 -0600
  • 4e93b7253e Revert examples Skylar Sadlier 2022-03-18 13:37:24 -0600
  • ecb4427217 - Revert device verification/e2ee stuff. It's not ready. Skylar Sadlier 2022-03-18 13:34:46 -0600
  • 5bec5fb4ee - Splitting device verification out of the new release, e2ee-wip Skylar Sadlier 2022-03-18 13:30:28 -0600
  • 3e70369cae WIP Skylar Sadlier 2022-03-18 00:23:28 -0600
  • 2ce80e2906 Update version to 0.5.5 - fs-extra and got dependencies updates Skylar Sadlier 2022-03-17 21:06:15 -0600
  • 0c657caf5f Update version to 0.5.0 Skylar Sadlier 2022-03-17 20:05:06 -0600
  • 848fd0ec9d
    Merge pull request #58 from Skylar-Tech/48-key-sharing Skylar Sadlier 2022-03-17 20:03:56 -0600
  • fef40f4ea9 - Update matrix-device-verification node description with super basic info on how to use it Skylar Sadlier 2022-03-17 20:03:48 -0600
  • 595fbca3df - Update main readme with new verification notes Skylar Sadlier 2022-03-17 19:58:25 -0600
  • 487f17a439 Update examples to move function example above verification ones. Skylar Sadlier 2022-03-17 19:54:13 -0600
  • 68cb5a026e Update examples to include one for receiving and requesting device verification Skylar Sadlier 2022-03-17 19:51:14 -0600
  • d01733c647 closes #48 - Device verification can now be requested or received Skylar Sadlier 2022-03-17 19:38:29 -0600
  • ed146e98d8 Closes #56 Closes #50 - can now specify message in node's configuration for matrix-send-message - can now specify reaction in node's configuration for matrix-react - reason can now be configured on both matrix-room-kick and matrix-room-ban - icons updated for various nodes - fix tag for name configuration field for various nodes - roomId input is now validated to ensure it starts with ! and if not shows an error Skylar Sadlier 2022-03-17 17:21:44 -0600
  • 3dc6363a88 Closes #56 - can now specify message in node's configuration for matrix-send-message - can now specify reaction in node's configuration for matrix-react - reason can now be configured on both matrix-room-kick and matrix-room-ban - icons updated for various nodes Skylar Sadlier 2022-03-17 16:01:27 -0600
  • 380e548425 Closes #54 - New option for matrix-send-message node that allows replacing existing message if enabled and msg.eventId is passed in. Skylar Sadlier 2022-03-17 15:37:10 -0600
  • 27dd4d81a2 name should default to null Skylar Sadlier 2022-03-17 14:47:01 -0600
  • de3c58044f Add example for delete-event node Skylar Sadlier 2022-03-17 14:40:53 -0600
  • db1901ed1e Closes #29 - msg.isDM is now returned on received messages to help determine if it originated from a direct message room Skylar Sadlier 2022-03-17 14:30:10 -0600
  • ac68060825 - matrix-crypt-file documentation updated (it cannot encrypt, only decrypts) - matrix-js-sdk update from 15.5.0 to 16.0.0 - Fixed matrix-js-sdk breaking changes - @matrix-org_olm-3.2.8.tgz added to package since there is no npm release for this. It fixes some errors so we need it. Skylar Sadlier 2022-03-17 14:23:22 -0600
  • d304cb95f6
    Merge pull request #55 from Skylar-Tech/51-device_id-fix Skylar Sadlier 2022-03-17 13:29:48 -0600
  • 85764c08d3
    Merge pull request #52 from aikitori/feature/delete-message Skylar Sadlier 2022-03-17 12:26:40 -0600
  • 050be29d64 rename node aikitori 2022-03-13 10:58:17 +0100
  • 33823dea25 - We now use /whoami to validate the auth token since it gives us the user_id and device_id for the given auth_token (device_id is only available on Synapse 1.40 onwards) - Error is now thrown if device_id cannot be automatically detected - Do not store null into my_device_id and ignore if it has already been set. Fixes #51 51-device_id-fix Skylar Sadlier 2022-03-12 16:23:43 -0700
  • d826c58b51 Add Delete Message Node aikitori 2022-03-12 16:48:52 +0100
  • 5119bc42d4 - WIP e2ee-key-sharing Skylar Sadlier 2022-02-03 09:34:05 -0700
  • 2993dea974 - WIP Skylar Sadlier 2022-01-28 10:18:10 -0700
  • 678702e9c6 WIP on secret storage node Skylar Sadlier 2021-08-31 19:21:05 -0600
  • 36c8208b01 - WIP on getting device validation to work Skylar Sadlier 2021-08-30 09:49:23 -0600
  • d0ba671452 - Fix force-join-room example links 0.4.6 Skylar Sadlier 2022-02-09 12:58:32 -0700
  • 282c8ffc80 - Bump version to 0.4.6 - Added example for force joining a room - Deactivate a user example was missing json file contents Skylar Sadlier 2022-02-09 12:48:52 -0700
  • 6dd2ec75f0 - Move client storage to the Node-RED user directory. - Remove mention of Device ID being required for encryption (since it can now auto generate if not provided this could make people think they have to set it when that isn't the case) - matrix-js-sdk updated from ^v15.3.0 to ^v15.5.0 - got updated from ^11.8.2 to ^12.0.1 (this also required us to change how we import this library in code) - Node-RED version requirement added for >=v1.3.0 - NodeJS version requirement added for >=v14.0.0 - removed process dependency - send-image node fixed so error doesn't get thrown (matrix-js-sdk updated causing some errors) - updated send-image node docs to explain that msg.contentType is necessary for some clients to render the image (otherwise it could display as a blank message in the room). - If a matrix server configuration node was missing it's User ID it would throw a TypeError instead of telling the user the actual issue. - Updated user list example: it now paginates all users on the server (if you had a lot of users the message would fail to send because it was too large) - Added example for creating a room and inviting a user - Added example for joining a mentioned room - Added example for listing out a user's or server's rooms - Added example for getting session data from a user via whois info - Added example for getting a room's user list - Added example for downloading & storing received files/images - Added example for kicking/banning user from a room. - Added example for deactivating a user - Removed message in the room-users config stating it only works if you are an admin - Receive node now outputs msg.filename for files and images Skylar Sadlier 2022-02-09 12:13:27 -0700
  • ae386b90a6 Fix olm library reference. 0.4.1 Skylar Sadlier 2022-02-03 11:33:12 -0700
  • 4d1ec9e65c - Make it clear that manually generating a Device ID is bad behavior - Make DeviceID no longer required for matrix-server-config 0.4.0 Skylar Sadlier 2022-02-03 10:36:09 -0700
  • 2fcd463eb6 - Update release to 0.4.0 Skylar Sadlier 2022-02-03 10:16:19 -0700
  • b44629c84e - When checking authentication we should retry startup if the error we receive isn't related to invalid auth token (M_UNKNOWN_TOKEN) Skylar Sadlier 2022-02-03 10:15:52 -0700
  • 9f0a962991 - Fixed: Reactions weren't working because sendCompleteEvent is a private method. Skylar Sadlier 2022-02-03 09:40:32 -0700
  • f3df8c6f97 This comment is no longer necessary since we implemented it. Skylar Sadlier 2022-01-28 11:17:23 -0700
  • d6ab098063 Fixed example readme linking to wrong json file Closes #38 Skylar Sadlier 2022-01-28 10:57:35 -0700
  • 614920c40c Fixed: matrix-join-room was requiring userId when it didn't need it Closes #39 Skylar Sadlier 2022-01-28 10:55:38 -0700
  • 58d7d23b2f - Device ID is now stored inside the matrix-client-storage directory within Node-RED's config folder. This way if you leave the Device ID blank it will automatically generate one and save it. Previously if you didn't set a Device ID it would automatically generate one every time the client started which would break encryption (since device_id is tied to your encryption keys). - You can now generate an Access Token and Device ID from just a username and password (use the Update Access Token button when configuring a client). - Updated the look of the matrix-server-config node (icons and reorganization) - Invalid auth token will no longer crash Node-RED on deployment/start. We do an authorized request before starting the client to see if the auth token is valid. If it is not the client will not start and all nodes for this client will show disconnected and an error will display in the debug toolbar. - Updated matrix olm library from 3.2.1 to 3.2.8 - Setting a Device Label from the server-config node will now update your device's label. If you view the sessions for the client you will see it gets updated after deployment. Skylar Sadlier 2022-01-28 10:53:10 -0700
  • 25c92b787a - Messages used to get ignored if they were over 1 second old. This caused issues with messages being ignored on servers that took longer than a second to respond (*cough* matrix.org *cough*). Now it accepts all new messages. Moving forward any messages that are sent before Node-RED starts or gets deployed will be ignored (so that old messages don't pop up since the cache clears every deploy/node-red restart so old messages look like new ones). - When the matrix-server node would shut down (from a deployment) it wasn't properly shutting the old instance of the client down. This would cause messages to start duplicating X times (X being however many times you deployed since you last started Node-RED). This is now fixed. - Upgraded to matrix-js-sdk 15.3.0 - Message processing is now done on the matrix-server node. Before if you had multiple matrix-receive nodes it would output one line per matrix-receive node into the log. Now it only outputs from the matrix-server node. Note that all messages get logged that are sent to rooms the bot is in whereas before it would only log message in rooms the matrix-receive node was in. - Fixed Shared secret registration failing if user_type was defined. 0.3.0 Skylar Sadlier 2022-01-14 12:56:14 -0700
  • 0b9c59a7be Fix eventId not being returned from matrix-send-file and matrix-send-message nodes 0.2.7 Skylar Sadlier 2021-12-19 00:34:51 -0700
  • 9c836c9262 Set version 0.2.6 0.2.6 Skylar Sadlier 2021-11-25 00:04:09 -0700
  • 9c62a73b15
    Merge pull request #35 from Skylar-Tech/dev Skylar Sadlier 2021-11-25 00:02:01 -0700
  • 447b18835c Closes #34 - Fix connection state logic Skylar Sadlier 2021-11-25 00:00:31 -0700
  • 2341cbef10 Closes #32 - fixed leaking unencrypted messages during startup Skylar Sadlier 2021-11-24 23:57:56 -0700
  • 73d802ff0d
    Merge pull request #27 from Skylar-Tech/dev 0.2.4 Skylar Sadlier 2021-09-20 09:27:16 -0600
  • cf1bd78ee1 Version 0.2.4 - Can now configure a room on the invite-room node (instead of having to pass it in on the msg) - Changed how the connection event was handled by nodes - matrix-synapse-join-room node was broken (was trying to access a variable that was never defined). - olm library updated to 3.2.1 to hopefully fix "account.generate_fallback_key is not a function" Fixes #26 - Added description to the server configuration node that describes how to create a user for use with this module - Update link to create room api for matrix-create-room.html Skylar Sadlier 2021-09-20 09:24:40 -0600
  • a10667a0e8
    Update README.md Skylar Sadlier 2021-09-03 12:07:17 -0600
  • aaecaaec39 Formatted html message wasn't converting to a string. Skylar Sadlier 2021-09-03 11:19:19 -0600
  • be5416a68e guests query param for synapse user list request needs to be a string but our docs say it is a bool. Lets auto convert it so we don't cause a BC problem. Skylar Sadlier 2021-09-03 10:16:49 -0600
  • f8c5344a4e Update version to 0.2.1 0.2.1 Skylar Sadlier 2021-09-03 08:56:43 -0600
  • 3c99bf21a9
    Merge pull request #23 from Skylar-Tech/dev Skylar Sadlier 2021-09-03 08:56:02 -0600
  • 63728d86a5
    Merge pull request #22 from Skylar-Tech/21-global-client Skylar Sadlier 2021-09-03 08:51:32 -0600
  • ff66222687 Fix global variable for matrix client online status not setting to false when connection fails Skylar Sadlier 2021-09-03 08:43:13 -0600
  • fa92f79304 Move installing section of readme above usage Skylar Sadlier 2021-09-03 08:28:27 -0600
  • f70d73b011 - Fix typo in example json file name Skylar Sadlier 2021-09-03 08:26:46 -0600
  • 6a310de708 Closes #21 - Can now access the matrix client globally so it can be used in function nodes (this way you are not limited by only the nodes we have published) - Added example for using the Matrix Client in a function to redact messages. This should be a great example to show people what is possible. Skylar Sadlier 2021-09-03 08:24:02 -0600
  • d5519a6828
    Merge pull request #19 from Skylar-Tech/dev 0.2.0 Skylar Sadlier 2021-09-02 19:32:49 -0600
  • 2cf8ba1e67 - Update readme so it references new storage location Skylar Sadlier 2021-09-02 11:09:48 -0600
  • 9d080b6c1a Set version to 0.2.0 Skylar Sadlier 2021-09-02 11:00:19 -0600
  • 755e18da50
    Merge pull request #18 from Skylar-Tech/9-fix-node-docs Skylar Sadlier 2021-09-02 10:53:24 -0600
  • 4bd2dce434 - Docs for various nodes updated (closes #9) - Fixed some nodes not matching how their docs describe how they function (such as node configuration should always take precedence over inputs) Skylar Sadlier 2021-09-02 10:51:47 -0600
  • b698389491 - matrix-create-room had wrong input information listed and wrong API reference URL (fixes #14) - fixed docs & node for matrix-receive Skylar Sadlier 2021-09-01 07:26:21 -0600
  • 14badaeeb5 - fs-extra added as a dependency to handle config folder upgrading - config folder now upgrades automatically to the new structure - fixed error preventing matrix client from connecting to servers (just stays disconnected) Skylar Sadlier 2021-09-01 20:48:39 -0600
  • ae7e766a98
    Merge pull request #17 from Skylar-Tech/15-fix-storage Skylar Sadlier 2021-09-01 13:38:32 -0600
  • daafe33e86 Fix clients using the same directory for local storage instead of being unique Skylar Sadlier 2021-09-01 11:09:50 -0600
  • f894fab85e Quickfix for e2ee not enabling 0.1.8 Skylar Sadlier 2021-08-31 19:27:12 -0600