f9e1250d47
Begin working on filtering.
2023-06-17 19:09:06 +00:00
8bda70b1fb
Refactor Sha API to return raw bytes, added Sha1() function.
2023-06-17 17:36:11 +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
2b3d0aaeaf
Prepare for v0.3.0 release.
...
Not exactly as complete as I initially imagined, but I want to get something
out because I've been spending too much time on the same issues.
2023-06-10 13:29:56 +00:00
b5b1a021d8
It appears that OpenSSL closes the socket descriptor for us.
...
When we close it again manually, we may actually be closing another thread's
file descriptor, which causes all kinds of problems.
2023-05-27 17:03:40 +00:00
34f33a1c1b
Fix SIGBUS on some platforms. Memory alignment matters!
...
This is a temporary fix; I'm not convinced it will work on all platforms,
so I will probably end up removing all of the memory boundary code
altogether.
2023-05-26 23:05:35 +00:00
d81600d944
Fix more memory leaks in json.
...
By doing a little reference tracking, we can make sure we don't miss any
JsonValues that may be floating around by the time we're done.
2023-05-26 22:11:07 +00:00
3b659ce09e
Adjust milestone requirements. I really want v0.3.0 out soon.
2023-05-26 19:21:25 +00:00
2693b89598
Add sane default memory hook to Cytoplasm, fix more leaks in json.
2023-05-23 22:43:37 +00:00
e22cf38eac
Fix leaks in json.
2023-05-23 20:34:27 +00:00
a4f369a0a9
Fix leak in HttpClient.
2023-05-21 13:55:49 +00:00
51b9e2eaed
Clean Cytoplasm when td clean is run.
2023-05-21 13:34:05 +00:00
e71ffec164
Add some basic heap memory bounds protection.
2023-05-21 13:24:00 +00:00
d38ec7cb38
Document hdoc
2023-05-21 00:21:39 +00:00
f2f972bb9d
Fix memory leaks in hdoc.
2023-05-15 22:38:52 +00:00
ff0a9f33b8
Update TODO.
2023-05-15 01:43:46 +00:00
a1e3bd7d8e
Clean up TODO
2023-05-11 12:00:44 +00:00
4d9c907b58
Attach device ID to authenticated user.
...
Now RouteWhoAmI can use UserAuthenticate just like the other endpoints.
2023-05-11 03:03:40 +00:00
609890654e
Fix handling of STATIC and broken compilation on GNU systems.
2023-05-10 03:32:56 +00:00
0b11b97022
Add StrEquals(), as equality checking is the most common use for strcmp().
...
This allows us to get rid of the hideous MATRIX_PATH_PART_EQUALS macro,
and prevents inconsistent usage of strcmp() (for example, !strcmp() vs
strcmp() == 0).
StrEquals() also has sensible behavior for dealing with NULL strings (it
doesn't just segfault like strcmp()).
2023-05-06 22:34:36 +00:00
95ceba0645
Add length calculations to JsonEncode() so we can set Content-Length.
2023-05-06 19:23:13 +00:00
bbea55be6c
Document http-debug-server, fixed typo in HttpServer docs.
2023-05-06 18:21:21 +00:00
abbbfe4d7f
Replace all usages of curl in tp, document tp and tt.
2023-04-29 23:28:33 +00:00
872fa1aa66
More documentation. It never ends!
2023-04-29 19:52:51 +00:00
e0c94d7bd2
Site now pulls built man pages.
2023-04-29 18:39:01 +00:00
2d8d5244c4
Document some new headers.
2023-04-29 15:04:16 +00:00
b70c3f0bed
Finish converting all existing documentation. Next up is writing new docs.
2023-04-29 02:54:49 +00:00
24a03ba126
Added some more header documentation.
2023-04-27 18:00:26 +00:00
2447bb63cc
Add hdoc, a simple tool for generating documentation from a C header.
...
This is a very early prototype. It works, but it is probably not efficient
or reliable. However, the documentation format it parses is stable, so I
will begin moving the documentation into the headers.
2023-04-27 01:34:49 +00:00
96ca9a725d
Finish up capabilities for now.
2023-04-25 22:11:34 +00:00
2ac08ad74d
Clean out finished TODO items.
2023-04-25 01:54:03 +00:00
05cf076ebc
Begin debugging OpenSSL.
2023-04-24 17:05:59 +00:00
313249ca88
Fixed some caching bugs in Db.
...
Note that Db has the potential to deadlock when caching is being used,
and when caching isn't being used, an inconsistent state can occur. Future
changes to Db will fix both of these issues.
2023-04-24 15:43:24 +00:00
6a5d89e14b
Work on implementing user interactive authentication fallback.
2023-04-21 02:13:06 +00:00
687b89a83a
Add some more user documentation to clarify how configuration works.
2023-04-20 01:39:09 +00:00
25b7c0d059
Begin documenting Admin API.
2023-04-19 21:45:15 +00:00
ffeb45375e
Implement /_telodendria/admin/privileges
...
Note that it's not exactly as the proposal defines it; theres a bit more
nuance that will be documented soon.
2023-04-19 18:52:05 +00:00
0cca38115a
Move configuration to database, add process control API, fix memory leaks.
2023-04-19 00:33:38 +00:00
ff4d265dcc
Registration tokens now determine what privileges a user gets.
2023-04-16 18:32:22 +00:00
768ecda41a
Break up todo items into more milestones.
2023-04-15 13:31:08 +00:00
6ca1265076
Begin working on User-Interactive authentication fallback.
2023-04-15 02:36:28 +00:00
e882693c78
Add route for requestToken endpoints.
2023-04-14 23:59:40 +00:00
b21d018daa
Move router building function into a more sensible location.
2023-04-14 21:37:00 +00:00
83971dfaff
Refactor routing system to use HttpRouter.
2023-04-14 21:20:56 +00:00
a90f7c4b9e
Apply #69
2023-04-14 17:50:14 +00:00
1f8df737da
Add HttpRouter API; still have to convert the code to use it.
2023-04-06 01:48:32 +00:00
7c865d06fd
Format code.
2023-04-01 02:46:59 +00:00
f341fd2b6e
Fix OpenSSL server accept call.
...
Apparently it can EAGAIN on non-blocking connections... I don't think
LibreSSL's TLS library does this, but something to keep in mind if it
doesn't work for somebody.
2023-03-31 23:10:52 +00:00