Commit graph

910 commits

Author SHA1 Message Date
468656eee6 Apply #72 2023-09-04 13:30:22 +00:00
b625655439 Fix memory leak in some generated code. 2023-08-17 18:09:53 +00:00
dab666c969 Update documentation on UtilServerTs(). 2023-08-17 18:09:20 +00:00
36413b4dca Ignore special case in Int64Str. This is hack but good enough for now. 2023-08-13 12:33:18 +00:00
1c32e18c74 Json now uses Int64 for integers.
This should fix all timestamp errors on 32-bit systems in Cytoplasm and
Telodendria.
2023-08-13 03:11:40 +00:00
2382638005 Make all timestamps use UInt64. 2023-08-12 23:02:06 +00:00
38a303da91 Allow forcing the emulation mode for testing purposes. 2023-08-12 21:51:51 +00:00
2f76d5b9ae Add signed 64-bit integer support. 2023-08-12 19:59:16 +00:00
93c4b6bfc4 Add 64-bit emulation for platforms that don't have a native 64-bit type. 2023-08-12 16:30:24 +00:00
d565640455 Add schema for PDUs v1 and v3, the only unique PDU formats.
All other room versions use one of these two PDU formats.
2023-08-10 00:08:33 +00:00
bc71a7ec01 Add admin privilege to manage room aliases. 2023-08-09 15:50:03 +00:00
69d28f39d1 Begin working on room aliases.
These endpoints will help me build out some functionality that will be
needed when actually implementing rooms.
2023-08-09 15:19:45 +00:00
e0af88145e Add RouteCreateRoom stub. 2023-08-08 15:11:50 +00:00
6ef965d1e0 Apply patch to make MatrixErrorCreate() take a custom message. 2023-08-05 19:26:03 +00:00
28d9e1cb3b Add RoomCreateRequest schema. 2023-08-05 15:00:52 +00:00
78302d6320 Print admin registration token to configured log, not default stdout.
If Telodendria is started as a daemon and is logging to the syslog, we
want the token to show up in the syslog.
2023-08-05 14:12:02 +00:00
6ec87b8d76 Properly exclude Schema directories from showing up in CVS. 2023-08-05 14:03:08 +00:00
5f3220372e Implement filter validation by using j2s. 2023-08-05 13:46:23 +00:00
77d71989df Don't install configuration files. 2023-08-04 21:15:49 +00:00
e9600a21e9 Add support for arrays of primitives. 2023-08-04 20:47:36 +00:00
942d2aad18 Fix memory leaks and remove logging messages. 2023-08-01 22:36:52 +00:00
aeaa8487c3 Add leaky Cytoplasm JSON -> Struct code generator.
It is basically complete, I just have to finish cleaning up some of the
memory leaks and remove the log messages.
2023-08-01 20:23:19 +00:00
ed37afe564 Add [time] to interpolate dates and times using strftime(). 2023-07-29 18:27:35 +00:00
2e193d4bcf Format code. 2023-07-29 18:27:17 +00:00
d22baf440f Update TODO. 2023-07-29 15:50:45 +00:00
c467d0913d Add tp, a simple but powerful text preprocessor.
I might rename it, and I have yet to document it in a man page, but I have
found this extremely useful so I thought I'd give it a home here.
2023-07-29 00:04:42 +00:00
68b644a4f2 Add HashMapKeys() and HashMapValues() functions for convenience. 2023-07-18 00:15:29 +00:00
b65394ab50 Add basic Graph API.
This is going to be useful with state resolution and dependency ordering,
both of which will be crutial components of Telodendria.
2023-07-16 01:12:56 +00:00
a958c4a529 Apply #71: Add ArrayUnique() function. 2023-07-15 22:27:24 +00:00
c96ac30f28 Fix Unicode handling in Json, don't sign-extend bytes in Stream. 2023-07-15 17:57:21 +00:00
a4330123b9 Add EventRedact() prototype. 2023-07-09 23:18:18 +00:00
b1c23ee53a Begin prototyping state resolution API. 2023-07-07 03:15:13 +00:00
bc8283f844 Begin prototyping room API. 2023-07-07 02:56:09 +00:00
5f34b846ee Fix stable release version scheme (more details in an upcoming newsletter) 2023-07-01 20:18:59 +00:00
3054a80906 Fix Unicode handling. 2023-06-21 02:49:58 +00:00
539fde773f Fix CanonicalJson and ArraySort. 2023-06-21 02:37:56 +00:00
1fa07d2d3c Update TODO. 2023-06-18 03:25:03 +00:00
80da024e4e Update change log. 2023-06-18 03:19:12 +00:00
e3badbd55c Format source code. 2023-06-18 02:53:52 +00:00
861d4146c0 Add Filter API to validate filters and process events. 2023-06-18 02:53:06 +00:00
f9e1250d47 Begin working on filtering. 2023-06-17 19:09:06 +00:00
4e184102cb Add Sha1 implementation. 2023-06-17 17:36:46 +00:00
8bda70b1fb Refactor Sha API to return raw bytes, added Sha1() function. 2023-06-17 17:36:11 +00:00
8f0d197480 Bump version: v0.3.0 -> v0.4.0 2023-06-16 16:01:19 +00:00
b9641e89d6 Update TODO 2023-06-13 14:06:05 +00:00
1381a31cbd Update TODO. 2023-06-13 14:05:34 +00:00
c3287c1674 Update TODO. 2023-06-12 18:00:26 +00:00
071a86114c Apply #70: Add StrLower() function. 2023-06-12 14:10:59 +00:00
1f14169284 Apply #70: Fix warnings of unused variables. 2023-06-12 14:10:08 +00:00
2f946848cb Telodendria Bot can now send messages again.
The problem here is that some Matrix homeservers reject requests that don't
have a Content-Length. http was not sending a Content-Length because it was
reading from standard input. By reading from an actual file, we can actually
easily get the size of the file to send as the Content-Length.
2023-06-12 14:01:56 +00:00