Commit graph

672 commits

Author SHA1 Message Date
Adam Porter
8a889aa7f6 Change/Fix: (ement-complete-room, ement-view-room) Suggesting room
Don't suggest the current room when switching between room buffers, as
that requires the user to clear the input before completing another
room.
2022-03-25 23:35:25 -05:00
Adam Porter
713efc0d59 Fix: (ement-room-mark-read)
Fixes #59.  Thanks to @fleimgruber for reporting.
2022-03-25 23:33:02 -05:00
Adam Porter
7246d03d24 Add: (ement-send-direct-message) 2022-03-25 23:04:01 -05:00
Adam Porter
44e64a0ac8 Fix: (ement--direct-room-for-user)
This seems more complicated than it ought to be.
2022-03-25 23:01:29 -05:00
Adam Porter
8c7030a95d Change: Remove debug message
This shouldn't be needed anymore, and it can interfere with feedback
from the new send-direct-message command.
2022-03-25 22:59:19 -05:00
Adam Porter
d5bca9e00d Fix: (ement-put-account-data) PUT request
Silly mistake.
2022-03-25 22:13:12 -05:00
Adam Porter
b9ee9ce948 Fix: (ement-put-account-data) Save echoed-back event 2022-03-25 22:01:18 -05:00
Adam Porter
cab45dd912 Tidy: Docstrings, unused variable 2022-03-25 21:34:24 -05:00
Adam Porter
7eac2306d5 Add: Indicate edited messages 2022-03-25 21:30:09 -05:00
Adam Porter
44580a8a25 Fix: (ement-room--format-m.image) Handle missing URLs
Not sure why this can happen, but occasionally it does (maybe only
while debugging or when other bugs cause incomplete event insertion).
2022-03-25 21:10:20 -05:00
Adam Porter
9d1baf6670 Add: Replace edited events with new content
Previously, edited events were shown as new events.
2022-03-25 20:36:22 -05:00
Adam Porter
62a5d4a2d1 Add: (ement-forget-room) 2022-03-24 17:24:06 -05:00
Adam Porter
4815852067 Add: Handle left rooms 2022-03-24 17:21:53 -05:00
Adam Porter
cd8ce41bfe Fix: (ement-complete-room) 2022-03-24 17:20:49 -05:00
Adam Porter
faea87f7ab Comment: Add TODO 2022-03-24 15:59:12 -05:00
Adam Porter
f20d420b70 Change: (ement-complete-session) Suggest current buffer's room 2022-03-22 18:15:33 -05:00
Adam Porter
b09e8ca95e Add: (ement-invite, ement-create-room, ement-put-account-data) 2022-03-22 18:15:33 -05:00
Adam Porter
5bbc9acdd8 Add: (ement-complete-user-id) 2022-03-22 18:10:26 -05:00
Adam Porter
137a76fe18 Add: (ement--direct-room-for-user) 2022-03-22 18:10:19 -05:00
Adam Porter
325c679844 Docs: Recommend enabling print-circle 2022-03-20 17:33:28 -05:00
Adam Porter
ce8ee9b5b4 Fix: (defface ement-room-list-direct) Normal weight 2022-03-17 07:33:03 -05:00
Adam Porter
c951737dc8 Fix: (ement-room--format-member-event) displayname for kick events 2021-10-07 11:07:06 -05:00
Adam Porter
ccf00fbda3 Change: Rename -default-rooms to -auto-view-rooms
A more descriptive name.
2021-10-06 05:06:26 -05:00
Adam Porter
1f499bed6b Change/Fix: Include timestamp in transaction IDs
Fixes #36.
2021-10-05 08:55:30 -05:00
Adam Porter
89b3ec6913 Add: ement-default-rooms, ement-view-initial-rooms 2021-10-04 14:14:19 -05:00
Adam Porter
951f17a3cd Fix: (ement-room-list--set-entries) Use 0 if room has no latest ts 2021-09-30 06:26:53 -05:00
Adam Porter
291048be93 Change: (ement-room-list) Right-align timestamps 2021-09-30 04:28:54 -05:00
Adam Porter
d04c894bf9 Change: (ement-room-list--set-entries) Pre-sort by latest event 2021-09-29 05:38:42 -05:00
Adam Porter
4751455be8 Tidy: Comment 2021-09-28 02:43:16 -05:00
Adam Porter
2763bd6837 Add: (ement--initial-transaction-id)
See <https://github.com/alphapapa/ement.el/issues/36>.
2021-09-28 07:41:59 +00:00
Adam Porter
7dccb0b1a0 Tidy: Indentation 2021-09-28 07:21:18 +00:00
Adam Porter
3c14f6c4c1 Change/Fix: (ement-room-goto-prev/next) 2021-09-24 10:51:52 +00:00
Adam Porter
df72824790 Docs: Mention Matrix spec 2021-09-24 10:24:23 +00:00
Adam Porter
7853fc0b70 Docs: Mention FSF CA 2021-09-24 10:24:23 +00:00
Adam Porter
3d1ba813e1 Add: (ement-room-mode) Warn in mode line when not syncing 2021-09-24 10:24:23 +00:00
Adam Porter
03ccbed817 Add: (ement-room-list-simplify-timestamps) 2021-09-24 10:24:23 +00:00
Adam Porter
1c187e9361 Add: (ement-initial-sync-timeout)
cc: @gergelypolonkai :)
2021-09-22 04:37:59 +00:00
Adam Porter
72dd3e5556 Tidy: ement-room.el 2021-09-20 05:13:50 +00:00
Adam Porter
5e5a37fa29 Tidy: ement-room.el 2021-09-20 04:42:02 +00:00
Adam Porter
8fab93a0f3 Meta: fill-column = 90 2021-09-20 04:38:08 +00:00
Adam Porter
6d772ec704 Merge: Fill timeline gaps
Up to 1,000 events. Beyond that, a gap will remain, but maybe we can
improve that later.
2021-09-18 17:19:10 -05:00
Adam Porter
f8473134de Comment: FIXMEs 2021-09-18 17:18:52 -05:00
Adam Porter
c07e914f07 Meta: Add .dir-locals.el 2021-09-16 12:02:06 -05:00
Adam Porter
5561c5659f Add: (ement-room-join) Verify room ID/alias format 2021-09-16 14:18:53 +00:00
Adam Porter
870e3fbbfa Docs: Update readme 2021-09-16 00:28:32 +00:00
Adam Porter
f97728e8ab WIP: Compare chunk size against batch-size
This seems like the most reliable way to determine whether we are
finished filling (if the chunk is smaller than the batch-size, there
must be no more events).  It seems like comparing the tokens ought to
work, but it doesn't seem to (maybe something in the spec I don't
grok).
2021-09-14 17:09:54 +00:00
Adam Porter
976b6198c2 WIP: Don't treat :json-false as non-nil 2021-09-14 16:12:14 +00:00
Adam Porter
d7e33f9bc1 WIP: Only fill gaps after initial sync 2021-09-14 15:10:43 +00:00
Adam Porter
ad8766ef10 WIP: Fill timeline gaps 2021-09-14 14:59:41 +00:00
Adam Porter
b3ea51ad24 Comment: Add TODO 2021-09-14 14:55:32 +00:00