Commit Graph
90 Commits
Author SHA1 Message Date
hazre 45eeacb99d Merge remote-tracking branch 'sable/dev' into feat/add-knip 2026-03-02 19:27:07 +01:00
Rosy.iso 61f392c6c9 strip quotes for al mxc urls converted to http 2026-03-02 10:55:36 +01:00
hazre 019b713377 Merge remote-tracking branch 'sable/dev' into feat/add-knip 2026-03-02 09:21:56 +01:00
hazre fa4777b1a6 refactor: move shared utils into app utils 2026-03-01 18:06:03 +01:00
hazre 1eb477b4b4 fix: address eslint no-console and no-void issues 2026-03-01 16:46:19 +01:00
hazre b5e9dcb07e chore(lint): eslint autofix 2026-03-01 13:46:40 +01:00
hazre b7fc54669e Merge remote-tracking branch 'sable/dev' into feat/add-knip 2026-03-01 13:42:07 +01:00
hazre 12d1076f68 Revert "chore(lint): drop obsolete React imports"
This reverts commit 5770ca1c14.
2026-03-01 13:17:06 +01:00
7w1 e05ba70439 fix #37 add support for ---, -#, and swap - to unordered 2026-02-28 17:37:37 -06:00
7w1 e811e20f4a add title to time component showing hh:mm:ss cinnyapp#2699 2026-02-27 13:58:48 -06:00
hazre 5770ca1c14 chore(lint): drop obsolete React imports 2026-02-27 10:53:19 +01:00
hazre 44fbfa0d0e chore: tighten knip/eslint config and remove dead code 2026-02-27 10:39:00 +01:00
hazre b8a998cab7 Merge remote-tracking branch 'sable/dev' into chore/cleanup-codebase-1 2026-02-26 19:04:09 +01:00
7w1 76a29c41fc performance improvements that may or may not work 2026-02-25 01:13:33 -06:00
TastelessVoid 58dc71b049 Add nickname support for user display names across components 2026-02-21 20:50:23 +01:00
TastelessVoid d5027236ce Added account switcher with multi-account notifications 2026-02-21 18:32:51 +01:00
hazre 881da5cb5d refactor: unify join rule icon mapping and update call/space icons
- bump folds from 2.5.0 to 2.6.0
- replace separate room/space join-rule icon hooks with useJoinRuleIcons(roomType)
- route join-rule icons through getRoomIconSrc for consistent room type handling
- simplify getRoomIconSrc by removing the locked override path
- use VolumeHighGlobe for public call rooms and VolumeHighLock for private call rooms
2026-02-19 22:45:35 +01:00
hazre c037af4c52 Merge remote-tracking branch 'upstream/dev' into feat/element-call 2026-02-16 16:15:27 +01:00
hazre 72226fc1d4 revert(router): drop tryDecodeURIComponent helper usage
This reverts commit bfd792e8fa.
2026-02-16 11:25:59 +01:00
hazre b41b1e727c Merge remote-tracking branch 'upstream/dev' into chore/cleanup-codebase 2026-02-16 11:21:18 +01:00
Rin 0f220f50d6 fix: add noreferrer to sanitized links for improved privacy consistency (#2628)
Enhance privacy by adding noreferrer to sanitized links
2026-02-16 19:54:05 +11:00
Krishan 4ba7b9162d Revert "fix: set m.fully_read marker when marking rooms as read" (#2629)
Revert "Set m.fully_read marker when marking rooms as read (#2587)"

This reverts commit 9d49418a1f.
2026-02-16 06:03:37 +11:00
hazre 67aa8959ab chore: modernize dependencies and linting stack 2026-02-14 22:08:26 +01:00
hazre 795b8be0d7 chore(deps): upgrade Vite stack and patch audited dependencies 2026-02-14 20:48:00 +01:00
hazre 346a32c7d0 fix(types): align account-data and message edit payload typing
Adopt matrix event-map augmentation and Element-style typed boundaries for account data, and build message edit content with explicit replacement event types. Also make read receipt and fully_read marker sends independent with explicit failure handling.
2026-02-14 17:24:46 +01:00
hazre 71425f8644 refactor: route matrix-sdk imports through $types boundary
Centralize Matrix SDK imports behind a local compatibility module, migrate matrix subpath imports to the boundary, and switch to the $types alias. Upgrade TypeScript to latest so matrix-js-sdk typings resolve correctly before the next cleanup phase.
2026-02-14 17:24:46 +01:00
hazre 9bc157aff2 Merge remote-tracking branch 'upstream/dev' into feat/element-call 2026-02-14 14:11:28 +01:00
Andrew Murphy 9d49418a1f Set m.fully_read marker when marking rooms as read (#2587)
Previously markAsRead() only sent m.read receipts via sendReadReceipt().
This meant the read position was not persisted across page refreshes,
especially noticeable in bridged rooms.

Now uses setRoomReadMarkers() which sets both:
- m.fully_read marker (persistent read position)
- m.read receipt

Fixes issue where rooms would still show as unread after refresh.
2026-02-14 17:32:10 +11:00
James efb3e115db fix: permissions and room icon resolution (#2)
* Initialize call state upon room creation for call rooms, remove subsequent useless permission

* handle case of missing call permissions

* use call icon for room item summary when room is call room

* replace previous icon src resolution function with a more robust approach

* replace usages of previous icon resolution function with new implementation

* fix room name not updating for a while when changed

* set up framework for room power level overrides upon room creation

* override join call permission to all members upon room creation

* fix broken usages of RoomIcon

* remove unneeded import

* remove unnecessary logic

* format with prettier
2026-02-13 01:03:46 +01:00
haz 9554b31c7d Merge branch 'dev' into feat/element-call 2026-02-12 13:38:00 +01:00
Andrew Murphy fd37dfe3f9 Fix muted rooms showing unread badges (#2581)
fix: detect muted rooms with empty actions array

The mute detection was checking for `actions[0] === "dont_notify"` but
Cinny sets `actions: []` (empty array) when muting a room, which is
the correct behavior per Matrix spec where empty actions means no
notification.

This caused muted rooms to still show unread badges and contribute to
space badge counts.

Fixes the isMutedRule check to handle both:
- Empty actions array (current Matrix spec)
- "dont_notify" string (deprecated but may exist in older rules)
2026-02-12 21:45:37 +11:00
hazre e01009fd07 Merge remote-tracking branch 'upstream/dev' into feat/element-call 2026-02-11 14:26:40 +01:00
Ajay Bura 90ca8ca2c5 Remove unused javascript (#2470) 2025-08-29 19:34:52 +10:00
Ajay Bura b4266c26b0 New create chat screen (#2463)
* fix dm invite appears in home

* use migrated function for convert to dm/room commands

* add new create chat screen
2025-08-24 22:40:44 +10:00
Ajay Bura 09b88d164f Fix message button opens left dm room (#2453) 2025-08-19 22:38:46 +10:00
Ajay Bura 789da641c1 Fix incorrectly parsed mxid (#2452) 2025-08-19 22:36:57 +10:00
Ajay Bura 367397fdd4 Fix type error when accessing FileList (#2441) 2025-08-16 21:35:34 +10:00
Ajay Bura 63fa60e7f4 Open user profile at around mouse anchor (#2440) 2025-08-16 21:34:46 +10:00
Ajay Bura 1ad7fe8deb Fix missing creators support using via (#2431)
* add additional_creators in IRoomCreateContent type

* use creators in getViaServers

* consider creators in guessing perfect parent
2025-08-16 21:30:02 +10:00
Ajay Bura f82cfead46 Support room version 12 (#2399)
* WIP - support room version 12

* add room creators hook

* revert changes from powerlevels

* improve use room creators hook

* add hook to get dm users

* add options to add creators in create room/space

* add member item component in member drawer

* remove unused import

* extract member drawer header component

* get room creators as set only if room version support them

* add room permissions hook

* support room v12 creators power

* make predecessor event id optional

* add info about founders in permissions

* allow to create infinite powers to room creators

* allow everyone with permission to create infinite power

* handle additional creators in room upgrade

* add option to follow space tombstone
2025-08-13 00:12:30 +10:00
Ajay Bura faa952295f Redesign space/room creation panel (#2408)
* add new create room

* rename create room modal file

* default restrict access for space children in room create modal

* move create room kind selector to components

* add radii variant to sequence card component

* more more reusable create room logic to components

* add create space

* update address input description

* add new space modal

* fix add room button visible on left room in space lobby
2025-08-05 23:07:07 +10:00
Gimle Larpes 9183fd66b2 Add settings to enable 24-hour time format and customizable date format (#2347)
* Add setting to enable 24-hour time format

* added hour24Clock to TimeProps

* Add incomplete dateFormatString setting

* Move 24-hour  toggle to Appearance

* Add "Date & Time" subheading, cleanup after merge

* Add setting for date formatting

* Fix minor formatting and naming issues

* Document functions

* adress most comments

* add hint for date formatting

* add support for 24hr time to TimePicker

* prevent overflow on small displays
2025-07-27 22:13:00 +10:00
Ajay Bura 67b05eeb09 Render room avatar as fallback for dm group chat (#2398)
* render room avatar for dm group chat

* remove extra conditions
2025-07-23 21:00:02 +05:30
Ajay Bura 50cc78788f Jump to time option in room timeline (#2377)
* add time and date picker components

* add time utils

* add jump to time in room timeline

* fix typo causing crash in safari
2025-07-15 22:41:33 +10:00
Ajay Bura c30c142653 Stop parsing servername from roomId (#2391) 2025-07-15 22:33:45 +10:00
Ajay Bura fbd7e0a14b improve parent selection when opening a room (#2388)
when a room has more than one orphan parent, we will select parent which has highest number of special users who have special powers in selected room.
2025-07-11 21:03:55 +10:00
Ajay Bura 6b81401e2d fix room not opening when two rooms has same alias (#2387) 2025-07-11 21:00:30 +10:00
Jaggar 78dcdfda95 Merge branch 'dev' into dev 2025-05-27 04:12:48 +00:00
Ajay Bura a23279e633 Fix rate limit when reordering in space lobby (#2254)
* move can drop lobby item logic to hook

* add comment

* resolve rate limit when reordering space children
2025-05-26 14:21:27 +05:30
Jaggar f842356438 Merge branch 'dev' into dev 2025-05-25 00:39:38 +00:00