2022-12-28 15:44:21 +00:00
|
|
|
.Dd $Mdocdate: December 28 2022 $
|
2022-12-13 15:59:40 +00:00
|
|
|
.Dt TELODENDRIA-CHANGELOG 7
|
|
|
|
.Os Telodendria Project
|
|
|
|
.Sh NAME
|
|
|
|
.Nm Telodendria
|
|
|
|
.Nd The change log for the Telodendria project.
|
|
|
|
.Sh PROJECT STATUS
|
|
|
|
.Pp
|
|
|
|
.Nm
|
|
|
|
is a very ambitious project. There's a lot that needs to happen yet
|
|
|
|
before it is usable. At the moment,
|
|
|
|
.Nm
|
|
|
|
is starting to resemble a Matrix homeserver, but you can't really
|
|
|
|
call it one yet. The foundation is mostly in place; now there's the
|
|
|
|
Matrix specification to implement.
|
|
|
|
.Pp
|
|
|
|
Just because there's not much here yet doesn't mean you should go
|
|
|
|
away! I could always use help, so you are more than welcome to get
|
|
|
|
involved in the project if you want to see things move quicker.
|
|
|
|
Feel free to donate using the links on the project website, or
|
|
|
|
see the
|
|
|
|
.Xr contributing 7
|
|
|
|
page for details on how to get involved. The CVS repository has
|
|
|
|
a file called
|
|
|
|
.Pa TODO.txt ,
|
|
|
|
which contains a checklist of the items that need to be completed.
|
|
|
|
Feel free to grab an item on that list and start writing patches!
|
|
|
|
It's a good idea to join the Matrix rooms noted in
|
|
|
|
.Xr telodendria 7
|
|
|
|
as well, so you can discuss your progress and ask questions.
|
2022-12-18 20:11:32 +00:00
|
|
|
.Sh v0.2.0
|
2022-12-13 20:36:03 +00:00
|
|
|
.Pp
|
2022-12-13 20:41:01 +00:00
|
|
|
Not released yet.
|
2022-12-13 20:36:03 +00:00
|
|
|
.Pp
|
2022-12-16 20:52:55 +00:00
|
|
|
New:
|
2022-12-14 18:41:01 +00:00
|
|
|
.Bl -bullet
|
|
|
|
.It
|
2022-12-16 20:52:55 +00:00
|
|
|
Added a basic form of the user interactive authentication API,
|
|
|
|
which can be used by any endpoints that the spec says require
|
|
|
|
it. Currently, it only implements a single dummy login flow,
|
2022-12-24 23:41:50 +00:00
|
|
|
so it's more of a formality than anything else, but more login
|
2022-12-16 20:52:55 +00:00
|
|
|
flows can easily be added in the future.
|
2022-12-15 02:39:58 +00:00
|
|
|
.It
|
|
|
|
Added a way to safely delete objects from the database.
|
|
|
|
While the database is for persistent storage, there may
|
|
|
|
be some ephemeral data that lives there only for a short
|
|
|
|
while, so it will be necessary to remove that data when
|
|
|
|
necessary.
|
2022-12-15 03:41:59 +00:00
|
|
|
.It
|
|
|
|
Added a thread-safe random string generator, which will
|
|
|
|
be used extensively for generating session tokens, device
|
|
|
|
IDs, access tokens, and more. This generator is seeded by
|
|
|
|
the current timestamp and the thread ID, so it should be
|
|
|
|
fairly random.
|
2022-12-24 23:41:50 +00:00
|
|
|
.It
|
|
|
|
Added a SHA-256 hash function, which at present is used
|
|
|
|
to hash passwords.
|
|
|
|
.It
|
|
|
|
Added a basic job scheduler to execute periodic jobs, such
|
|
|
|
as expiring tokens and cleaning up temporary files.
|
2022-12-16 20:52:55 +00:00
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
Changes:
|
|
|
|
.Bl -bullet
|
|
|
|
.It
|
|
|
|
Improved HTTP request logging by removing unnecessary
|
|
|
|
log entries and making errors more specific.
|
2022-12-15 20:18:12 +00:00
|
|
|
.It
|
|
|
|
Leaked memory is now hexdump-ed out to the log if the log
|
|
|
|
level is set to debug. This greatly simplifies debugging,
|
|
|
|
because developers can now easily see exactly what the
|
|
|
|
contents of the leaked memory are. Note that in some
|
|
|
|
circumstances, this memory may contain sensitive data,
|
|
|
|
such as access tokens, usernames, or passwords. However,
|
|
|
|
.Nm
|
|
|
|
should not be leaking memory at all, so if you encounter
|
|
|
|
any leaks, please report them.
|
2022-12-14 18:41:01 +00:00
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
Bug fixes:
|
2022-12-14 15:09:19 +00:00
|
|
|
.Pp
|
|
|
|
.Bl -bullet
|
|
|
|
.It
|
|
|
|
Fixed a memory leak that would occur when parsing an invalid
|
2022-12-14 18:19:20 +00:00
|
|
|
JSON object.
|
2022-12-14 15:09:19 +00:00
|
|
|
.It
|
|
|
|
Fixed an edge case where HTTP response headers were being
|
2022-12-14 18:41:01 +00:00
|
|
|
sent before they were properly set, causing the server to
|
2022-12-14 15:09:19 +00:00
|
|
|
report a status of 200 even when that wasn't the desired
|
|
|
|
status.
|
2022-12-14 18:19:20 +00:00
|
|
|
.It
|
|
|
|
Fixed a few memory leaks in the HTTP parameter decoder that
|
|
|
|
would occur in some edge cases.
|
|
|
|
.It
|
2022-12-14 18:41:01 +00:00
|
|
|
Fixed an "off-by-one" error in the HTTP server request
|
|
|
|
parser that prevented GET parameters from being parsed.
|
2022-12-15 16:07:45 +00:00
|
|
|
.It
|
|
|
|
Fixed the database file name generator to prevent directory
|
2022-12-15 20:18:12 +00:00
|
|
|
traversal attacks by replacing special characters with
|
|
|
|
safer ones.
|
2022-12-15 20:29:19 +00:00
|
|
|
.It
|
|
|
|
Fixed a memory leak that would occur when closing a
|
|
|
|
database that contains cached objects.
|
2022-12-28 15:44:21 +00:00
|
|
|
.It
|
|
|
|
Fixed a memory leak that would occur when deleting database
|
|
|
|
objects.
|
2022-12-14 15:09:19 +00:00
|
|
|
.El
|
|
|
|
.Pp
|
2022-12-15 20:18:12 +00:00
|
|
|
Misc:
|
2022-12-13 20:36:03 +00:00
|
|
|
.Bl -bullet
|
|
|
|
.It
|
|
|
|
Fixed a bug in
|
|
|
|
.Xr td 8
|
|
|
|
that caused
|
|
|
|
.Xr cvs 1
|
2022-12-13 21:27:17 +00:00
|
|
|
to be invoked in the wrong directory when tagging a new release.
|
2022-12-14 00:54:52 +00:00
|
|
|
.It
|
|
|
|
Added support for environment variable substitution in all site
|
|
|
|
files. This makes it easier to release
|
|
|
|
.Nm
|
|
|
|
versions.
|
2022-12-14 01:00:52 +00:00
|
|
|
.It
|
|
|
|
Fix whitespace issues in various shell scripts.
|
2022-12-13 20:36:03 +00:00
|
|
|
.El
|
2022-12-13 15:59:40 +00:00
|
|
|
.Sh v0.1.0
|
|
|
|
.Pp
|
2022-12-13 19:34:17 +00:00
|
|
|
Tuesday, December 13, 2022
|
2022-12-13 15:59:40 +00:00
|
|
|
.Pp
|
|
|
|
This is the first public release of
|
|
|
|
.Nm
|
|
|
|
so there are no changes to report. Future releases will
|
|
|
|
have a complete change log entry here.
|
|
|
|
.Pp
|
|
|
|
This is a symbolic release targeted at developers, so there's nothing
|
2022-12-13 19:34:17 +00:00
|
|
|
useful to ordinary users yet. Stay tuned for future releases though!
|