Commit Graph

877 Commits

Author SHA1 Message Date
Jordan Bancino b85e443907 Move header.txt to LICENSE.txt 2022-09-22 17:54:56 -04:00
Jordan Bancino c9963d36b1 Move Rationale and Project Goals to man page. 2022-09-22 17:29:03 -04:00
Jordan Bancino bbf8f26889 Write man page for configuration file. 2022-09-22 09:47:52 -04:00
Jordan Bancino a0dbe31d42 Start cleaning up the website 2022-09-21 21:17:00 -04:00
Jordan Bancino f250e66c79 Begin work on converting most of the site to man pages.
I want to do this so that even the documentation can be viewed on a base
install, without having to install a browser or converter.
2022-09-21 20:12:21 -04:00
Jordan Bancino 1eca0579bc Delete .orig files with clean 2022-09-21 20:11:11 -04:00
Jordan Bancino 8bd7e27de1 Fix bug in QueuePop() 2022-09-17 15:59:47 -04:00
Jordan Bancino 6782d01a89 Update project goals. 2022-09-17 12:55:02 -04:00
Jordan Bancino 21894489cb Rename MatrixCreateError() to MatrixErrorCreate() 2022-09-16 11:49:48 -04:00
Jordan Bancino d7a1f7411d Send M_UNKNOWN on all requests for now. 2022-09-16 11:49:21 -04:00
Jordan Bancino d0fb926f2a Add error generation logic. 2022-09-16 11:27:34 -04:00
Jordan Bancino 13763eb77b Format code 2022-09-14 17:15:39 -04:00
Jordan Bancino 18825a1f46 Make phase descriptions more detailed 2022-09-14 17:15:18 -04:00
Jordan Bancino 184866532a Spec: Implement CORS 2022-09-14 17:15:05 -04:00
Jordan Bancino 1d0c48ce32 Add constants 2022-09-14 16:57:19 -04:00
Jordan Bancino 62f3a2087b Start filling in Phase 3 tasks 2022-09-09 13:34:20 -04:00
Jordan Bancino 685b7c016d Start work on param parsing. 2022-09-08 21:09:47 -04:00
Jordan Bancino 485941e8a8 Fix bug in JsonEncodeString() where characters get printed to stdout.
Thanks @costava:matrix.org for pointing this one out.
2022-09-06 20:53:30 -04:00
Jordan Bancino c607ba05a9 Implement URL encoding and decoding. 2022-09-06 20:48:27 -04:00
Jordan Bancino 2ba2656e4a The variable is CVS_RSH, not SSH_RSH 2022-09-06 20:07:22 -04:00
Jordan Bancino cb31db2ec6 Fix checkout instructions to include use of CVS_RSH 2022-09-06 20:06:43 -04:00
Jordan Bancino 6721255512 Update references to POSIX 2022-09-06 12:36:12 -04:00
Jordan Bancino a8796e1bc6 Don't be so harsh with other homeserver implementations! 2022-09-06 12:02:10 -04:00
Jordan Bancino 1523794077 More weird site things. 2022-09-06 11:56:53 -04:00
Jordan Bancino 8b68bb089c Clean up some weird parts of the site. 2022-09-06 11:53:38 -04:00
Jordan Bancino c0474982a6 Fix compile warnings and errors on Linux 2022-08-28 16:05:11 -04:00
Jordan Bancino 7cc08e67fc Begin Matrix-specific work. 2022-08-28 15:55:48 -04:00
Jordan Bancino 47338fd001 Initialize the server response code 2022-08-28 15:48:58 -04:00
Jordan Bancino f12eaaaba8 Update to-dos 2022-08-28 15:48:38 -04:00
Jordan Bancino 4cd24a6e97 Finally getting into Matrix territory 2022-08-28 15:45:24 -04:00
Jordan Bancino 8ec6d6afb3 Add to-do items 2022-08-28 15:45:13 -04:00
Jordan Bancino d7d960b77d Parse HTTP requests and invoke the request handler. 2022-08-28 14:30:15 -04:00
Jordan Bancino d3e8886b69 Add some functions. 2022-08-26 21:02:53 -04:00
Jordan Bancino 43c46fd45c Fix compile and runtime errors 2022-08-26 20:15:27 -04:00
Jordan Bancino 1dc4261f6f Add Http.c 2022-08-26 11:11:15 -04:00
Jordan Bancino 275d06c127 Begin prototyping the HttpServer API 2022-08-26 11:07:54 -04:00
Jordan Bancino 2b72dd0dba Add a DCO 2022-08-25 07:16:07 -04:00
Jordan Bancino d8a89c4750 Free server when we're done with it.
This frees up a lot of memory, and closes the server socket so that the
operating system doesn't have to do it, because the operating system may
take a while to actually close the socket.
2022-08-24 19:36:29 -04:00
Jordan Bancino 9378a4d369 Implement basic thread pool with dummy 500 messages. 2022-08-24 19:31:28 -04:00
Jordan Bancino f950233dbc Add UtilSleepMillis() function. 2022-08-24 19:30:20 -04:00
Jordan Bancino 8657008e94 Format code. 2022-08-24 16:29:00 -04:00
Jordan Bancino de00c3cb37 Fix fdopen() file mode. 2022-08-24 16:28:50 -04:00
Jordan Bancino 640e127ce5 Fix chroot() logic on non-OpenBSD platforms. 2022-08-24 16:10:34 -04:00
Jordan Bancino 55a49e418f Fix logic error relating to the initial call to QueuePush() 2022-08-24 14:41:42 -04:00
Jordan Bancino 665da9d33e Fix port binding error. 2022-08-24 14:37:32 -04:00
Jordan Bancino 8801afaeb2 Properly initialize and destroy the mutex 2022-08-24 11:25:16 -04:00
Jordan Bancino 935f9db626 Remove the redundant -ansi flag.
It's identical to -std=c89, and not all compilers support it.
2022-08-24 11:22:56 -04:00
Jordan Bancino be001fb17a Make HttpServer utilize Queue. 2022-08-24 10:06:14 -04:00
Jordan Bancino ab4afe1587 Add basic Queue implementation. 2022-08-24 09:06:27 -04:00
Jordan Bancino b632411b61 Apply #30 2022-08-21 12:37:26 -04:00