Commit graph

29 commits

Author SHA1 Message Date
Adam Porter
fcbf1a55e8 Release: 0.1 2022-09-02 07:44:17 -05:00
Adam Porter
d1fceb149e Tidy: Docstrings, comment 2022-09-01 23:10:28 -05:00
Adam Porter
018591e1a2 Change: (ement-api) Add :queue 2022-07-15 15:13:59 -05:00
Adam Porter
84739451af Tidy: Disable expansion of debug forms by default 2022-05-05 13:57:48 -05:00
Adam Porter
30dcb1ec25 Change: (ement-api) Allow version to be specified
Apparently the endpoints in the spec can have different versions.
2022-04-09 17:19:58 -05:00
Adam Porter
6ae5065bf1 Change/Fix: Sync timeouts
This requires the latest commit of plz.el, which adds the :timeout
argument.
2021-08-06 03:22:33 -05:00
Adam Porter
d4a8a5479a Tidy: (ement-api-error) Remove redundant string 2021-08-04 02:18:49 -05:00
Adam Porter
1f530d4ab3 Change: (ement-api) Signature
Take SESSION instead of SERVER and TOKEN, and make THEN a keyword
arg.  This is much better.
2021-08-03 23:08:12 -05:00
Adam Porter
7df47f39af Fix: (ement-api-error) Error message string
Need to mention Ement in it, otherwise users won't know where it came
from.
2021-08-03 04:47:10 -05:00
Adam Porter
40fdd9ce09 Comment: Add TODO 2021-08-03 04:47:10 -05:00
Adam Porter
2607ec3145 Change: (ement-connect) Refactor, use plist args, add uri-prefix arg
This should, e.g. make it possible for Pantalaimon users to do
something like:

  (ement-connect :user-id "@USERNAME:SERVER" :password "PASSWORD"
                 :uri-prefix "http://localhost:8080")

Fixes #10.  Fixes #12.
2021-08-03 02:25:52 -05:00
Adam Porter
41997bb32e Tidy: Untabify
I guess this is what I get for occasionally using other Emacs configs
to edit.
2021-08-02 21:22:45 -05:00
Adam Porter
5883b243c1 Change: (ement-api-error) Improve error messages 2021-08-01 06:20:05 -05:00
Adam Porter
f70b6661b1 Add: (ement-api) Endpoint "category"
There doesn't seem to be an official term for what comes after
"/_matrix/" in the endpoint path.
2021-07-29 18:45:57 -05:00
Adam Porter
591e486598 Add/Change: Error handling, force resync with prefix
In case a sync process gets stuck, "C-u g" in a room buffer will
delete the old sync process and start a new one.

Also, define ement-api-error type.  Still not sure this is all
idiomatic, but it seems to work now.
2021-07-29 03:07:54 -05:00
Adam Porter
6f2a2f2e45 Tidy: Headers for package-lint
Even though these aren't packages, the way we call package-lint on
each file causes warnings for missing keywords.
2021-07-27 21:50:05 -05:00
Adam Porter
387e55d39b Comment: Remove obsolete FIXMEs 2021-07-17 10:18:34 -05:00
Adam Porter
ae759fb041 Change/Fix: (ement-api) Use :noquery for plz requests
This requires a just-pushed change to plz.el.
2021-07-17 09:50:29 -05:00
Adam Porter
e5c25307b2 Add/Change: Use .well-known server URI when available
Fixes #2.  Thanks to Daniel Pérez (@0xSteeW) for reporting.
2021-07-17 08:19:12 -05:00
Adam Porter
ac3d854b6a Tidy, rename debug-warn macro 2020-12-01 16:45:40 -06:00
Adam Porter
b8a15847d4 Improvements 2020-12-01 05:16:39 -06:00
Adam Porter
9b49bd82a2 Login seems to work 2020-12-01 03:32:54 -06:00
Adam Porter
13d6af1bf9 Fixes 2020-11-30 19:36:04 -06:00
Adam Porter
aeb96f482a Send messages! 2020-11-30 18:19:23 -06:00
Adam Porter
5469240493 Fixes 2020-11-30 15:08:12 -06:00
Adam Porter
e2d3e47eee WIP 2020-11-30 11:51:12 -06:00
Adam Porter
ab89b114dd More 2020-11-28 14:39:04 -06:00
Adam Porter
5779caecbe Initial sync progress 2020-11-28 07:41:13 -06:00
Adam Porter
795bdf18b4 More 2020-11-28 05:33:16 -06:00