rainny.git
9 months agoStop showing notification from invite/left rooms (#2267)
Ajay Bura [Wed, 12 Mar 2025 11:50:23 +0000 (22:50 +1100)]
Stop showing notification from invite/left rooms (#2267)

9 months agoadd option to download audio/video file (#2253)
Ajay Bura [Thu, 6 Mar 2025 03:29:23 +0000 (14:29 +1100)]
add option to download audio/video file (#2253)

* add option to download audio file

* add button to download video

9 months agoBump docker/setup-buildx-action from 3.9.0 to 3.10.0 (#2242)
dependabot[bot] [Thu, 6 Mar 2025 01:58:37 +0000 (12:58 +1100)]
Bump docker/setup-buildx-action from 3.9.0 to 3.10.0 (#2242)

Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.9.0 to 3.10.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v3.9.0...v3.10.0)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months agoBump docker/metadata-action from 5.6.1 to 5.7.0 (#2240)
dependabot[bot] [Thu, 6 Mar 2025 01:58:18 +0000 (12:58 +1100)]
Bump docker/metadata-action from 5.6.1 to 5.7.0 (#2240)

Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 5.6.1 to 5.7.0.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v5.6.1...v5.7.0)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months agoBump actions/upload-artifact from 4.6.0 to 4.6.1 (#2241)
dependabot[bot] [Thu, 6 Mar 2025 01:57:06 +0000 (12:57 +1100)]
Bump actions/upload-artifact from 4.6.0 to 4.6.1 (#2241)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.6.0...v4.6.1)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months agoBump docker/build-push-action from 6.13.0 to 6.15.0 (#2243)
dependabot[bot] [Thu, 6 Mar 2025 01:56:33 +0000 (12:56 +1100)]
Bump docker/build-push-action from 6.13.0 to 6.15.0 (#2243)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.13.0 to 6.15.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v6.13.0...v6.15.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months agoBump docker/setup-qemu-action from 3.4.0 to 3.6.0 (#2244)
dependabot[bot] [Thu, 6 Mar 2025 01:56:11 +0000 (12:56 +1100)]
Bump docker/setup-qemu-action from 3.4.0 to 3.6.0 (#2244)

Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 3.4.0 to 3.6.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v3.4.0...v3.6.0)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months agoRelease v4.5.1 (#2251) v4.5.1
Krishan [Wed, 5 Mar 2025 02:33:18 +0000 (13:33 +1100)]
Release v4.5.1 (#2251)

9 months agofix crash on emoji selection from emojiboard (#2249)
Ajay Bura [Wed, 5 Mar 2025 02:23:28 +0000 (13:23 +1100)]
fix crash on emoji selection from emojiboard (#2249)

* fix crash on emoji select

* fix crash in message editor on emoji select

9 months agoRelease v4.5.0 (#2247) v4.5.0
Krishan [Tue, 4 Mar 2025 06:47:28 +0000 (17:47 +1100)]
Release v4.5.0 (#2247)

9 months agofix backslash inserted in links upon edit (#2246)
Ajay Bura [Tue, 4 Mar 2025 06:32:13 +0000 (17:32 +1100)]
fix backslash inserted in links upon edit (#2246)

* fix backslash appear in url with inline markdown sequences

* fix markdown chars not escaping on edit

9 months agoHide deleted events by default (#2237)
Ajay Bura [Sat, 1 Mar 2025 07:48:11 +0000 (18:48 +1100)]
Hide deleted events by default (#2237)

9 months agoHide existing messages from ignored users (#2236)
Ajay Bura [Fri, 28 Feb 2025 07:47:23 +0000 (18:47 +1100)]
Hide existing messages from ignored users (#2236)

* add ignored users hook

* remove messages from timeline for ignored users

9 months agomake readme easier to read (#2228)
sophie [Fri, 28 Feb 2025 07:39:10 +0000 (07:39 +0000)]
make readme easier to read (#2228)

9 months agoadd example caddyfile (#2227)
sophie [Fri, 28 Feb 2025 07:31:54 +0000 (07:31 +0000)]
add example caddyfile (#2227)

9 months agoopen account data in same window instead of popup (#2234)
Ajay Bura [Thu, 27 Feb 2025 08:34:55 +0000 (19:34 +1100)]
open account data in same window instead of popup (#2234)

* refactor TextViewer Content component

* open account data inside setting window

* close account data edit window on cancel when adding new

9 months agoHidden Typing & Read Receipts (#2230)
Ajay Bura [Wed, 26 Feb 2025 10:44:53 +0000 (21:44 +1100)]
Hidden Typing & Read Receipts (#2230)

* add hide activity toggle

* stop sending/receiving typing status

* send private read receipt when setting toggle is activated

* prevent showing read-receipt when feature toggle in on

9 months agoShow image preview in upload window (#2231)
Ajay Bura [Wed, 26 Feb 2025 10:43:43 +0000 (21:43 +1100)]
Show image preview in upload window (#2231)

* memoize metadata callback properly

* add image preview on upload

* show spoiler image button inside image preview

9 months agoFix editor focus after autocomplete (#2233)
Ajay Bura [Wed, 26 Feb 2025 10:42:42 +0000 (21:42 +1100)]
Fix editor focus after autocomplete (#2233)

* upgrade slatejs

* collapse autocomplete on escape

* make FN_KEYS_REGEX const in module scope

9 months agoMigrate config .github/renovate.json (#2232)
renovate[bot] [Wed, 26 Feb 2025 01:40:29 +0000 (12:40 +1100)]
Migrate config .github/renovate.json (#2232)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
9 months agoRelease v4.4.0 (#2225) v4.4.0
Krishan [Sun, 23 Feb 2025 11:27:50 +0000 (22:27 +1100)]
Release v4.4.0 (#2225)

9 months agoRemove fallback replies & implement intentional mentions (#2138)
nexy7574 [Sun, 23 Feb 2025 11:08:08 +0000 (11:08 +0000)]
Remove fallback replies & implement intentional mentions (#2138)

* Remove reply fallbacks & add m.mentions

(WIP) the typing on line 301 and 303 needs fixing but apart from that this is mint

* Less jank typing

* Mention the reply author in m.mentions

* Improve typing

* Fix typing in m.mentions finder

* Correctly iterate through editor children, properly handle @room, ...

..., don't mention the reply author when the reply author is ourself, don't add own user IDs when mentioning intentionally

* Formatting

* Add intentional mentions to edited messages

* refactor reusable code and fix todo

* parse mentions from all nodes

---------

Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
9 months agoAdd support for spoilers on images (MSC4193) (#2212)
Ginger [Sat, 22 Feb 2025 08:55:13 +0000 (03:55 -0500)]
Add support for spoilers on images (MSC4193) (#2212)

* Add support for MSC4193: Spoilers on Media

* Clarify variable names and wording

* Restore list atom

* Improve spoilered image UX with autoload off

* Use `aria-pressed` to indicate attachment spoiler state

* Improve spoiler button tooltip wording, keep reveal button from conflicting with load errors

9 months agoFix unknown rooms in space lobby (#2224)
Ajay Bura [Sat, 22 Feb 2025 08:24:33 +0000 (19:24 +1100)]
Fix unknown rooms in space lobby (#2224)

* add hook to fetch one level of space hierarchy

* add enable param to level hierarchy hook

* improve HierarchyItem types

* fix type errors in lobby

* load space hierarachy per level

* fix menu item visibility

* fix unknown spaces over federation

* show inaccessible rooms only to admins

* fix unknown room renders loading content twice

* fix unknown room visible to normal user if space all room are unknown

* show no rooms card if space does not have any room

9 months agofix space/tab inconsistency (#2180)
Lain Iwakura [Fri, 21 Feb 2025 08:22:48 +0000 (05:22 -0300)]
fix space/tab inconsistency (#2180)

9 months agoEscape markdown sequences (#2208)
Ajay Bura [Fri, 21 Feb 2025 08:19:24 +0000 (19:19 +1100)]
Escape markdown sequences (#2208)

* escape inline markdown character

* fix typo

* improve document around custom markdown plugin and add escape sequence utils

* recover inline escape sequences on edit

* remove escape sequences from plain text body

* use `s` for strike-through instead of del

* escape block markdown sequences

* fix remove escape sequence was not removing all slashes from plain text

* recover block sequences on edit

9 months agoscroll to bottom in unfocused window but stop sending read receipt (#2214)
Ajay Bura [Fri, 21 Feb 2025 08:18:02 +0000 (19:18 +1100)]
scroll to bottom in unfocused window but stop sending read receipt (#2214)

* scroll to bottom in unfocused window but stop sending read receipt

* send read-receipt when new message are in view after regaining focus

9 months agoAdd email notification toggle (#2223)
Ajay Bura [Fri, 21 Feb 2025 08:15:47 +0000 (19:15 +1100)]
Add email notification toggle (#2223)

* refactor system notification to dedicated file

* add hook for email notification status

* add toogle for email notifications in settings

9 months agoImprove search result counts (#2221)
Ajay Bura [Fri, 21 Feb 2025 08:14:38 +0000 (19:14 +1100)]
Improve search result counts (#2221)

* remove limit from emoji autocomplete

* remove search limit from user mention

* remove limit from room mention autocomplete

* increase user search limit to 1000

* better search string selection for emoticons

9 months agofix autocomplete menu flickering issue (#2220)
Ajay Bura [Thu, 20 Feb 2025 07:32:44 +0000 (18:32 +1100)]
fix autocomplete menu flickering issue (#2220)

9 months agosanitize string before used in regex to prevent crash (#2219)
Ajay Bura [Thu, 20 Feb 2025 07:30:54 +0000 (18:30 +1100)]
sanitize string before used in regex to prevent crash (#2219)

9 months agoadd button to select all room pack as global pack (#2218)
Ajay Bura [Wed, 19 Feb 2025 11:13:29 +0000 (22:13 +1100)]
add button to select all room pack as global pack (#2218)

9 months agofix room activity indicator appearing on self typing (#2217)
Ajay Bura [Wed, 19 Feb 2025 11:08:58 +0000 (22:08 +1100)]
fix room activity indicator appearing on self typing (#2217)

9 months agoFix link visible inside spoiler (#2215)
Ajay Bura [Wed, 19 Feb 2025 11:07:33 +0000 (22:07 +1100)]
Fix link visible inside spoiler (#2215)

* hide links in spoiler

* prevent link click inside spoiler

9 months agoadd order algorithm in search result
Ajay Bura [Wed, 19 Feb 2025 05:53:32 +0000 (11:23 +0530)]
add order algorithm in search result

9 months agoRelease v4.3.2 (#2213) v4.3.2
Krishan [Mon, 17 Feb 2025 01:07:07 +0000 (12:07 +1100)]
Release v4.3.2 (#2213)

10 months agoBump dawidd6/action-download-artifact from 7 to 8 (#2184)
dependabot[bot] [Sat, 15 Feb 2025 08:16:06 +0000 (19:16 +1100)]
Bump dawidd6/action-download-artifact from 7 to 8 (#2184)

Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 7 to 8.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/80620a5d27ce0ae443b965134db88467fc607b43...20319c5641d495c8a52e688b7dc5fada6c3a9fbc)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months agoBump docker/setup-buildx-action from 3.6.1 to 3.9.0 (#2196)
dependabot[bot] [Sat, 15 Feb 2025 08:14:08 +0000 (19:14 +1100)]
Bump docker/setup-buildx-action from 3.6.1 to 3.9.0 (#2196)

Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.6.1 to 3.9.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v3.6.1...v3.9.0)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months agoBump nginx from 1.27.0-alpine to 1.27.4-alpine (#2198)
dependabot[bot] [Sat, 15 Feb 2025 08:13:11 +0000 (19:13 +1100)]
Bump nginx from 1.27.0-alpine to 1.27.4-alpine (#2198)

Bumps nginx from 1.27.0-alpine to 1.27.4-alpine.

---
updated-dependencies:
- dependency-name: nginx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months agoBump docker/setup-qemu-action from 3.3.0 to 3.4.0 (#2197)
dependabot[bot] [Sat, 15 Feb 2025 08:10:00 +0000 (19:10 +1100)]
Bump docker/setup-qemu-action from 3.3.0 to 3.4.0 (#2197)

Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v3.3.0...v3.4.0)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months agoBump actions/setup-node from 4.0.4 to 4.2.0 (#2185)
dependabot[bot] [Sat, 15 Feb 2025 08:03:27 +0000 (19:03 +1100)]
Bump actions/setup-node from 4.0.4 to 4.2.0 (#2185)

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.4 to 4.2.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4.0.4...v4.2.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months agoBump docker/build-push-action from 6.12.0 to 6.13.0 (#2183)
dependabot[bot] [Sat, 15 Feb 2025 08:01:01 +0000 (19:01 +1100)]
Bump docker/build-push-action from 6.12.0 to 6.13.0 (#2183)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.12.0 to 6.13.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v6.12.0...v6.13.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months agoUpgrade twemoji font to support twemoji v15.1.0 (#2202)
Krishan [Sat, 15 Feb 2025 07:59:40 +0000 (18:59 +1100)]
Upgrade twemoji font to support twemoji v15.1.0 (#2202)

* Upgrade twemoji font to support twemoji v15.1.0

* bump emojibase deps to v15

10 months agofix message does not appear after decryption complete (#2209)
Ajay Bura [Sat, 15 Feb 2025 07:58:57 +0000 (18:58 +1100)]
fix message does not appear after decryption complete (#2209)

* fix message does not appear after decryption complete

* update when event get decrypted before subscribing

10 months agofix editor exit button appears on room switch (#2207)
Ajay Bura [Sat, 15 Feb 2025 07:58:02 +0000 (18:58 +1100)]
fix editor exit button appears on room switch (#2207)

10 months agoRelease v4.3.0 (#2199) v4.3.0
Krishan [Tue, 11 Feb 2025 06:02:21 +0000 (17:02 +1100)]
Release v4.3.0 (#2199)

10 months agofix media autoload button function as per it's label (#2195)
Array in a Matrix [Tue, 11 Feb 2025 05:28:46 +0000 (21:28 -0800)]
fix media autoload button function as per it's label (#2195)

* Corrected button title

Media would load automatically if the option is checked not the other way around.

* Update src/app/features/settings/general/General.tsx

* Update General.tsx

* Update General.tsx

---------

Co-authored-by: Krishan <33421343+kfiven@users.noreply.github.com>
10 months agofix edits does not reflect in pinned messages (#2107)
Ajay Bura [Mon, 10 Feb 2025 10:16:01 +0000 (21:16 +1100)]
fix edits does not reflect in pinned messages (#2107)

* fix pinned message edits does not reflect in pinned messages

* fix all pinned message show edited

* remove console log

10 months agofix notification crash on ios (#2192)
Ajay Bura [Mon, 10 Feb 2025 10:02:33 +0000 (21:02 +1100)]
fix notification crash on ios (#2192)

* fix notification crash for ios

* access notification from window variable

* fix Notification check

* catch notification variable error

* fix missing check for Notification

10 months agofix reply placeholder overflow (#2193)
Ajay Bura [Mon, 10 Feb 2025 09:47:21 +0000 (20:47 +1100)]
fix reply placeholder overflow (#2193)

10 months agofix left/banned member showing in autocomplete (#2194)
Ajay Bura [Mon, 10 Feb 2025 09:36:49 +0000 (20:36 +1100)]
fix left/banned member showing in autocomplete (#2194)

10 months agoredesigned app settings and switch to rust crypto (#1988)
Ajay Bura [Mon, 10 Feb 2025 05:49:47 +0000 (16:49 +1100)]
redesigned app settings and switch to rust crypto (#1988)

* rework general settings

* account settings - WIP

* add missing key prop

* add object url hook

* extract wide modal styles

* profile settings and image editor - WIP

* add outline style to upload card

* remove file param from bind upload atom hook

* add compact variant to upload card

* add  compact upload card renderer

* add option to update profile avatar

* add option to change profile displayname

* allow displayname change based on capabilities check

* rearrange settings components into folders

* add system notification settings

* add initial page param in settings

* convert account data hook to typescript

* add push rule hook

* add notification mode hook

* add notification mode switcher component

* add all messages notification settings options

* add special messages notification settings

* add keyword notifications

* add ignored users section

* improve ignore user list strings

* add about settings

* add access token option in about settings

* add developer tools settings

* add expand button to account data dev tool option

* update folds

* fix editable active element textarea check

* do not close dialog when editable element in focus

* add text area plugins

* add text area intent handler hook

* add newline intent mod in text area

* add next line hotkey in text area intent hook

* add syntax error position dom utility function

* add account data editor

* add button to send new account data in dev tools

* improve custom emoji plugin

* add more custom emojis hooks

* add text util css

* add word break in setting tile title and description

* emojis and sticker user settings - WIP

* view image packs from settings

* emoji pack editing - WIP

* add option to edit pack meta

* change saved changes message

* add image edit and delete controls

* add option to upload pack images and apply changes

* fix state event type when updating image pack

* lazy load pack image tile img

* hide upload image button when user can not edit pack

* add option to add or remove global image packs

* upgrade to rust crypto (#2168)

* update matrix js sdk

* remove dead code

* use rust crypto

* update setPowerLevel usage

* fix types

* fix deprecated isRoomEncrypted method uses

* fix deprecated room.currentState uses

* fix deprecated import/export room keys func

* fix merge issues in image pack file

* fix remaining issues in image pack file

* start indexedDBStore

* update package lock and vite-plugin-top-level-await

* user session settings - WIP

* add useAsync hook

* add password stage uia

* add uia flow matrix error hook

* add UIA action component

* add options to delete sessions

* add sso uia stage

* fix SSO stage complete error

* encryption - WIP

* update user settings encryption terminology

* add default variant to password input

* use password input in uia password stage

* add options for local backup in user settings

* remove typo in import local backup password input label

* online backup - WIP

* fix uia sso action

* move access token settings from about to developer tools

* merge encryption tab into sessions and rename it to devices

* add device placeholder tile

* add logout dialog

* add logout button for current device

* move other devices in component

* render unverified device verification tile

* add learn more section for current device verification

* add device verification status badge

* add info card component

* add index file for password input component

* add types for secret storage

* add component to access secret storage key

* manual verification - WIP

* update matrix-js-sdk to v35

* add manual verification

* use react query for device list

* show unverified tab on sidebar

* fix device list updates

* add session key details to current device

* render restore encryption backup

* fix loading state of restore backup

* fix unverified tab settings closes after verification

* key backup tile - WIP

* fix unverified tab badge

* rename session key to device key in device tile

* improve backup restore functionality

* fix restore button enabled after layout reload during restoring backup

* update backup info on status change

* add backup disconnection failures

* add device verification using sas

* restore backup after verification

* show option to logout on startup error screen

* fix key backup hook update on decryption key cached

* add option to enable device verification

* add device verification reset dialog

* add logout button in settings drawer

* add encrypted message lost on logout

* fix backup restore never finish with 0 keys

* fix setup dialog hides when enabling device verification

* show backup details in menu

* update setup device verification body copy

* replace deprecated method

* fix displayname appear as mxid in settings

* remove old refactored codes

* fix types

10 months agofix threaded reply not working in encrypted rooms (#2172)
Ajay Bura [Sun, 26 Jan 2025 11:56:33 +0000 (22:56 +1100)]
fix threaded reply not working in encrypted rooms (#2172)

10 months agofix word overflow in text file viewer (#2179)
Ajay Bura [Sun, 26 Jan 2025 11:55:09 +0000 (22:55 +1100)]
fix word overflow in text file viewer (#2179)

10 months agofix crash on membership change with invalid data (#2182)
Ajay Bura [Sun, 26 Jan 2025 11:53:16 +0000 (22:53 +1100)]
fix crash on membership change with invalid data (#2182)

* fix membership change with  invalid data crash

* add more checks around membership change

* fix displayname condition

10 months agofix style issue of reply placeholder (#2181)
Ajay Bura [Sun, 26 Jan 2025 11:52:10 +0000 (22:52 +1100)]
fix style issue of reply placeholder (#2181)

10 months agoBump softprops/action-gh-release from 2.0.8 to 2.2.1 (#2164)
dependabot[bot] [Sat, 18 Jan 2025 04:52:42 +0000 (15:52 +1100)]
Bump softprops/action-gh-release from 2.0.8 to 2.2.1 (#2164)

Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.0.8 to 2.2.1.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/c062e08bd532815e2082a85e87e3ef29c3e6d191...c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months agoBump actions/upload-artifact from 4.5.0 to 4.6.0 (#2163)
dependabot[bot] [Sat, 18 Jan 2025 04:48:02 +0000 (15:48 +1100)]
Bump actions/upload-artifact from 4.5.0 to 4.6.0 (#2163)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.5.0...v4.6.0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months agoBump docker/setup-qemu-action from 3.2.0 to 3.3.0 (#2165)
dependabot[bot] [Sat, 18 Jan 2025 04:47:34 +0000 (15:47 +1100)]
Bump docker/setup-qemu-action from 3.2.0 to 3.3.0 (#2165)

Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months agoBump docker/build-push-action from 6.10.0 to 6.12.0 (#2169)
dependabot[bot] [Sat, 18 Jan 2025 04:46:58 +0000 (15:46 +1100)]
Bump docker/build-push-action from 6.10.0 to 6.12.0 (#2169)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.10.0 to 6.12.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v6.10.0...v6.12.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months agoFix typo
Krishan [Sat, 18 Jan 2025 04:35:39 +0000 (15:35 +1100)]
Fix typo

10 months agoEnable actions and docker dependabot updates (#2167)
Krishan [Fri, 17 Jan 2025 08:53:49 +0000 (19:53 +1100)]
Enable actions and docker dependabot updates (#2167)

11 months agoBump dawidd6/action-download-artifact from 6 to 7 (#2114)
dependabot[bot] [Fri, 10 Jan 2025 09:48:25 +0000 (20:48 +1100)]
Bump dawidd6/action-download-artifact from 6 to 7 (#2114)

Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 6 to 7.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/bf251b5aa9c2f7eeb574a96ee720e24f801b7c11...80620a5d27ce0ae443b965134db88467fc607b43)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
11 months agoCenter image in URL preview card (#1556)
Jan Jurzitza [Fri, 10 Jan 2025 09:42:05 +0000 (10:42 +0100)]
Center image in URL preview card (#1556)

center is more likely to have relevant content than top left

11 months agoDisable dependabot (#2140)
Ajay Bura [Wed, 8 Jan 2025 11:35:46 +0000 (22:35 +1100)]
Disable dependabot (#2140)

11 months agoRender captions to m.file, m.image, m.video, and m.audio (#2059)
nexy7574 [Mon, 6 Jan 2025 01:44:22 +0000 (01:44 +0000)]
Render captions to m.file, m.image, m.video, and m.audio (#2059)

* Add rendering image captions

* Handle sending captions for images

* Fix caption rendering on m.video and m.audio too

* Remove unused renderBody() parameter

* Fix m.file rendering body instead of filename where possible

* Add caption rendering for generic files

+ Fix video and audio not properly sending captions

* Use m.text for captions & render on demand

* Allow custom HTML in sending captions

* Don't *send* captions

* mvoe content const into renderCaption()

---------

Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
11 months agoBump docker/metadata-action from 5.5.1 to 5.6.1 (#2113)
dependabot[bot] [Mon, 30 Dec 2024 09:02:34 +0000 (20:02 +1100)]
Bump docker/metadata-action from 5.5.1 to 5.6.1 (#2113)

Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 5.5.1 to 5.6.1.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v5.5.1...v5.6.1)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
11 months agoBump docker/build-push-action from 6.9.0 to 6.10.0 (#2112)
dependabot[bot] [Mon, 30 Dec 2024 08:59:42 +0000 (19:59 +1100)]
Bump docker/build-push-action from 6.9.0 to 6.10.0 (#2112)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.9.0 to 6.10.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v6.9.0...v6.10.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
11 months agoBump actions/upload-artifact from 4.3.6 to 4.5.0 (#2111)
dependabot[bot] [Mon, 30 Dec 2024 08:54:19 +0000 (19:54 +1100)]
Bump actions/upload-artifact from 4.3.6 to 4.5.0 (#2111)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.6 to 4.5.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.3.6...v4.5.0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
11 months agoEmoji ordering in emoji board (#2057)
Marek Vospel [Sun, 22 Dec 2024 10:41:02 +0000 (11:41 +0100)]
Emoji ordering in emoji board (#2057)

* feat: sort emojis inside emoji picker

* feat: sort autocomplete emojis

Fixes #1632

* fix: sort function after concat

* fix: sort result instead of searchList

12 months agoPinned Messages (#2081)
Ajay Bura [Mon, 16 Dec 2024 10:55:15 +0000 (21:55 +1100)]
Pinned Messages (#2081)

* add pinned room events hook

* room pinned message - WIP

* add room event hook

* fetch pinned messages before displaying

* use react-query in room event hook

* disable staleTime and gc to 1 hour in room event hook

* use room event hook in reply component

* render pinned messages

* add option to pin/unpin messages

* remove message base from message placeholders and add variant

* display message placeholder while loading pinned messages

* render pinned event error

* show no pinned message placeholder

* fix message placeholder flickering

12 months agoadd tableflip and unflip commands (#2075)
Rein Fernhout [Fri, 13 Dec 2024 04:32:25 +0000 (05:32 +0100)]
add tableflip and unflip commands (#2075)

13 months agoRelease v4.2.3 (#2052) v4.2.3
Krishan [Tue, 12 Nov 2024 09:45:34 +0000 (20:45 +1100)]
Release v4.2.3 (#2052)

13 months agofix(deps): update dependency matrix-js-sdk to v34.11.1 (#2053)
renovate[bot] [Tue, 12 Nov 2024 09:43:50 +0000 (20:43 +1100)]
fix(deps): update dependency matrix-js-sdk to v34.11.1 (#2053)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
14 months agoRelease v4.2.2 (#2012) v4.2.2
Krishan [Wed, 16 Oct 2024 10:29:30 +0000 (21:29 +1100)]
Release v4.2.2 (#2012)

14 months agofix: register service worker immediately and cache media requests (#1977)
夜坂雅 [Wed, 16 Oct 2024 10:26:03 +0000 (18:26 +0800)]
fix: register service worker immediately and cache media requests (#1977)

* Allow service worker to immediately claim pages
* Allow media requests to be cached by browser

14 months agofix(deps): update dependency matrix-js-sdk to v34.8.0 (#2011)
renovate[bot] [Wed, 16 Oct 2024 10:22:06 +0000 (21:22 +1100)]
fix(deps): update dependency matrix-js-sdk to v34.8.0 (#2011)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
14 months agoBump actions/setup-node from 4.0.3 to 4.0.4 (#1969)
dependabot[bot] [Thu, 3 Oct 2024 07:03:33 +0000 (17:03 +1000)]
Bump actions/setup-node from 4.0.3 to 4.0.4 (#1969)

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4.0.3...v4.0.4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
14 months agoBump actions/checkout from 4.1.7 to 4.2.0 (#1985)
dependabot[bot] [Thu, 3 Oct 2024 07:00:32 +0000 (17:00 +1000)]
Bump actions/checkout from 4.1.7 to 4.2.0 (#1985)

Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.7 to 4.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.7...v4.2.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
14 months agoBump docker/build-push-action from 6.7.0 to 6.9.0 (#1986)
dependabot[bot] [Thu, 3 Oct 2024 06:59:55 +0000 (16:59 +1000)]
Bump docker/build-push-action from 6.7.0 to 6.9.0 (#1986)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.7.0 to 6.9.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v6.7.0...v6.9.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
14 months agoBump cla-assistant/github-action from 2.5.1 to 2.6.1 (#1987)
dependabot[bot] [Thu, 3 Oct 2024 06:59:12 +0000 (16:59 +1000)]
Bump cla-assistant/github-action from 2.5.1 to 2.6.1 (#1987)

Bumps [cla-assistant/github-action](https://github.com/cla-assistant/github-action) from 2.5.1 to 2.6.1.
- [Release notes](https://github.com/cla-assistant/github-action/releases)
- [Commits](https://github.com/cla-assistant/github-action/compare/v2.5.1...v2.6.1)

---
updated-dependencies:
- dependency-name: cla-assistant/github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
14 months agofix font-weight in dark theme with unsupported fonts (#1964)
Ajay Bura [Sun, 22 Sep 2024 12:31:32 +0000 (22:31 +1000)]
fix font-weight in dark theme with unsupported fonts (#1964)

14 months agoFix matrix.to links opening in webview in cinny desktop (#1963)
Krishan [Sun, 22 Sep 2024 04:38:55 +0000 (14:38 +1000)]
Fix matrix.to links opening in webview in cinny desktop (#1963)

15 months agoRelease v4.2.1 (#1953) v4.2.1
Krishan [Sat, 14 Sep 2024 13:24:34 +0000 (23:24 +1000)]
Release v4.2.1 (#1953)

15 months agoFix auth media check for dendrite (#1952)
Krishan [Sat, 14 Sep 2024 13:24:06 +0000 (23:24 +1000)]
Fix auth media check for dendrite (#1952)

15 months agoRelease v4.2.0 (#1949) v4.2.0
Krishan [Wed, 11 Sep 2024 13:56:08 +0000 (23:56 +1000)]
Release v4.2.0 (#1949)

15 months agoUpdate dependency matrix-js-sdk to v34.5.0 (#1945)
renovate[bot] [Wed, 11 Sep 2024 07:08:38 +0000 (17:08 +1000)]
Update dependency matrix-js-sdk to v34.5.0 (#1945)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
15 months agoFix authenticated media download (#1947)
Ajay Bura [Wed, 11 Sep 2024 07:07:02 +0000 (17:07 +1000)]
Fix authenticated media download (#1947)

* remove dead function

* fix media download in room timeline

* authenticate remaining media endpoints

15 months agofix: Fix video and audio loading with authenicated media (#1946)
夜坂雅 [Wed, 11 Sep 2024 05:13:15 +0000 (13:13 +0800)]
fix: Fix video and audio loading with authenicated media (#1946)

Appeareantly Firefox (and maybe Chrome) won't let service workers take over requests from <video> and <audio> tags, so we just fetch the URL ourselves.

15 months agorender matrix room and event link content (#1938)
Ajay Bura [Mon, 9 Sep 2024 10:51:52 +0000 (20:51 +1000)]
render matrix room and event link content (#1938)

15 months agoImprove-auth-media (#1933)
Ajay Bura [Mon, 9 Sep 2024 08:45:20 +0000 (18:45 +1000)]
Improve-auth-media (#1933)

* fix set power level broken after sdk update

* add media authentication hook

* fix service worker types

* fix service worker not working in dev mode

* fix env mode check when registering sw

15 months agofix mention url is encoded wrong (#1936)
Ajay Bura [Sun, 8 Sep 2024 12:53:59 +0000 (22:53 +1000)]
fix mention url is encoded wrong (#1936)

15 months agofix escape to mark as read (#1935)
Ajay Bura [Sun, 8 Sep 2024 12:53:17 +0000 (22:53 +1000)]
fix escape to mark as read (#1935)

15 months agofix sso login without identity providers (#1934)
Ajay Bura [Sun, 8 Sep 2024 12:51:43 +0000 (22:51 +1000)]
fix sso login without identity providers (#1934)

15 months agoAdd authenticated media support (#1930)
夜坂雅 [Sat, 7 Sep 2024 13:45:55 +0000 (21:45 +0800)]
Add authenticated media support (#1930)

* chore: Bump matrix-js-sdk to 34.4.0

* feat: Authenticated media support

* chore: Use Vite PWA for service worker support

* fix: Fix Vite PWA SW entry point

Forget this. :P

* fix: Also add Nginx rewrite for sw.js

* fix: Correct Nginx rewrite

* fix: Add Netlify redirect for sw.js

Otherwise the generic SPA rewrite to index.html would take effect, breaking Service Worker.

* fix: Account for subpath when regisering service worker

* chore: Correct types

15 months agopressing up to edit should take you to end of line (#1928)
Dylan Hackworth [Sat, 7 Sep 2024 13:08:16 +0000 (08:08 -0500)]
pressing up to edit should take you to end of line (#1928)

15 months agoFix IPv6 support for the Docker container (#1884)
utf [Fri, 23 Aug 2024 10:56:03 +0000 (12:56 +0200)]
Fix IPv6 support for the Docker container  (#1884)

* Fix `docker-nginx.conf` indentation

* Listen on IPv4 and IPv6 inside Docker

15 months agoCreate Code of Conduct (#1908)
Krishan [Wed, 21 Aug 2024 10:13:40 +0000 (20:13 +1000)]
Create Code of Conduct (#1908)

15 months agoBump cla-assistant/github-action from 2.4.0 to 2.5.1 (#1905)
dependabot[bot] [Tue, 20 Aug 2024 14:22:26 +0000 (00:22 +1000)]
Bump cla-assistant/github-action from 2.4.0 to 2.5.1 (#1905)

Bumps [cla-assistant/github-action](https://github.com/cla-assistant/github-action) from 2.4.0 to 2.5.1.
- [Release notes](https://github.com/cla-assistant/github-action/releases)
- [Commits](https://github.com/cla-assistant/github-action/compare/v2.4.0...v2.5.1)

---
updated-dependencies:
- dependency-name: cla-assistant/github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
15 months agoBump docker/build-push-action from 6.6.1 to 6.7.0 (#1906)
dependabot[bot] [Tue, 20 Aug 2024 14:21:25 +0000 (00:21 +1000)]
Bump docker/build-push-action from 6.6.1 to 6.7.0 (#1906)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.6.1 to 6.7.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v6.6.1...v6.7.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>