Commit Graph

897 Commits

Author SHA1 Message Date
lda ff85b72899 Fix IPv6 issue in parser (#52)
Compile Telodendria / Compile Telodendria (x86, alpine-v3.19) (push) Has been cancelled Details
Compile Telodendria / Compile Telodendria (x86, debian-v12.4) (push) Has been cancelled Details
Compile Telodendria / Compile Telodendria (x86, freebsd-v14.0) (push) Has been cancelled Details
Compile Telodendria / Compile Telodendria (x86, netbsd-v9.3) (push) Has been cancelled Details
Compile Telodendria / Compile Telodendria (x86_64, alpine-v3.19) (push) Has been cancelled Details
Compile Telodendria / Compile Telodendria (x86_64, debian-v12.4) (push) Has been cancelled Details
Compile Telodendria / Compile Telodendria (x86_64, freebsd-v14.0) (push) Has been cancelled Details
Compile Telodendria / Compile Telodendria (x86_64, netbsd-v9.3) (push) Has been cancelled Details
Compile Telodendria / Compile Telodendria (x86_64, openbsd-v7.4) (push) Has been cancelled Details
Fixes compilation issue in the parser (and checks IPv6 slightly more).
---

Please review the developer certificate of origin:

1. The contribution was created in whole or in part by me, and I have
the right to submit it under the open source licenses of the
Telodendria project; or
1. The contribution is based upon a previous work that, to the best of
my knowledge, is covered under an appropriate open source license and
I have the right under that license to submit that work with
modifications, whether created in whole or in part by me, under the
Telodendria project license; or
1. The contribution was provided directly to me by some other person
who certified (1), (2), or (3), and I have not modified it.
1. I understand and agree that this project and the contribution are
made public and that a record of the contribution—including all
personal information I submit with it—is maintained indefinitely
and may be redistributed consistent with this project or the open
source licenses involved.

- [x] I have read the Telodendria Project development certificate of
origin, and I certify that I have permission to submit this patch
under the conditions specified in it.

Co-authored-by: Jordan Bancino <jordan@bancino.net>
Reviewed-on: #52
Co-authored-by: lda <lda@freetards.xyz>
Co-committed-by: lda <lda@freetards.xyz>
2024-03-29 11:48:25 -05:00
lda bccbb3bcac Fix other double-free issue with router. (#53)
Compile Telodendria / Compile Telodendria (x86, alpine-v3.19) (push) Waiting to run Details
Compile Telodendria / Compile Telodendria (x86, debian-v12.4) (push) Waiting to run Details
Compile Telodendria / Compile Telodendria (x86, freebsd-v14.0) (push) Waiting to run Details
Compile Telodendria / Compile Telodendria (x86, netbsd-v9.3) (push) Waiting to run Details
Compile Telodendria / Compile Telodendria (x86_64, alpine-v3.19) (push) Waiting to run Details
Compile Telodendria / Compile Telodendria (x86_64, debian-v12.4) (push) Waiting to run Details
Compile Telodendria / Compile Telodendria (x86_64, freebsd-v14.0) (push) Waiting to run Details
Compile Telodendria / Compile Telodendria (x86_64, netbsd-v9.3) (push) Waiting to run Details
Compile Telodendria / Compile Telodendria (x86_64, openbsd-v7.4) (push) Waiting to run Details
Similar issue to #33.
---

Please review the developer certificate of origin:

1. The contribution was created in whole or in part by me, and I have
the right to submit it under the open source licenses of the
Telodendria project; or
1. The contribution is based upon a previous work that, to the best of
my knowledge, is covered under an appropriate open source license and
I have the right under that license to submit that work with
modifications, whether created in whole or in part by me, under the
Telodendria project license; or
1. The contribution was provided directly to me by some other person
who certified (1), (2), or (3), and I have not modified it.
1. I understand and agree that this project and the contribution are
made public and that a record of the contribution&mdash;including all
personal information I submit with it&mdash;is maintained indefinitely
and may be redistributed consistent with this project or the open
source licenses involved.

- [x] I have read the Telodendria Project development certificate of
origin, and I certify that I have permission to submit this patch
under the conditions specified in it.

Co-authored-by: Jordan Bancino <jordan@bancino.net>
Reviewed-on: #53
Co-authored-by: lda <lda@freetards.xyz>
Co-committed-by: lda <lda@freetards.xyz>
2024-03-29 11:48:04 -05:00
Jordan Bancino dede82ad33 Update docs/dev/hosting.md
Compile Telodendria / Compile Telodendria (x86_64, alpine-v3.19) (push) Successful in 19s Details
Compile Telodendria / Compile Telodendria (x86, alpine-v3.19) (push) Successful in 24s Details
Compile Telodendria / Compile Telodendria (x86_64, freebsd-v14.0) (push) Failing after 24s Details
Compile Telodendria / Compile Telodendria (x86, debian-v12.4) (push) Successful in 31s Details
Compile Telodendria / Compile Telodendria (x86_64, debian-v12.4) (push) Successful in 30s Details
Compile Telodendria / Compile Telodendria (x86, netbsd-v9.3) (push) Successful in 42s Details
Compile Telodendria / Compile Telodendria (x86, freebsd-v14.0) (push) Failing after 42s Details
Compile Telodendria / Compile Telodendria (x86_64, netbsd-v9.3) (push) Successful in 50s Details
Compile Telodendria / Compile Telodendria (x86_64, openbsd-v7.4) (push) Successful in 1m38s Details
2024-01-14 14:13:53 -05:00
Jordan Bancino fde2b26857 Update docs/dev/hosting.md
Compile Telodendria / Compile Telodendria (x86_64, alpine-v3.19) (push) Successful in 14s Details
Compile Telodendria / Compile Telodendria (x86, alpine-v3.19) (push) Successful in 15s Details
Compile Telodendria / Compile Telodendria (x86, debian-v12.4) (push) Successful in 30s Details
Compile Telodendria / Compile Telodendria (x86_64, debian-v12.4) (push) Successful in 26s Details
Compile Telodendria / Compile Telodendria (x86, freebsd-v14.0) (push) Failing after 26s Details
Compile Telodendria / Compile Telodendria (x86_64, freebsd-v14.0) (push) Failing after 23s Details
Compile Telodendria / Compile Telodendria (x86, netbsd-v9.3) (push) Successful in 27s Details
Compile Telodendria / Compile Telodendria (x86_64, netbsd-v9.3) (push) Successful in 33s Details
Compile Telodendria / Compile Telodendria (x86_64, openbsd-v7.4) (push) Successful in 42s Details
2024-01-14 09:43:47 -05:00
Jordan Bancino 6305f5d76e Update docs/dev/hosting.md
Compile Telodendria / Compile Telodendria (x86, debian-v12.4) (push) Waiting to run Details
Compile Telodendria / Compile Telodendria (x86, freebsd-v14.0) (push) Waiting to run Details
Compile Telodendria / Compile Telodendria (x86, netbsd-v9.3) (push) Waiting to run Details
Compile Telodendria / Compile Telodendria (x86_64, debian-v12.4) (push) Waiting to run Details
Compile Telodendria / Compile Telodendria (x86_64, freebsd-v14.0) (push) Waiting to run Details
Compile Telodendria / Compile Telodendria (x86_64, netbsd-v9.3) (push) Waiting to run Details
Compile Telodendria / Compile Telodendria (x86_64, openbsd-v7.4) (push) Waiting to run Details
Compile Telodendria / Compile Telodendria (x86, alpine-v3.19) (push) Successful in 25s Details
Compile Telodendria / Compile Telodendria (x86_64, alpine-v3.19) (push) Successful in 23s Details
2024-01-14 09:36:57 -05:00
Jordan Bancino 95a5f6f087 Fix compile warnings on 32-bit systems.
Compile Telodendria / Compile Telodendria (x86_64, freebsd-v14.0) (push) Failing after 14s Details
Compile Telodendria / Compile Telodendria (x86, freebsd-v14.0) (push) Failing after 17s Details
Compile Telodendria / Compile Telodendria (x86_64, alpine-v3.19) (push) Successful in 21s Details
Compile Telodendria / Compile Telodendria (x86, debian-v12.4) (push) Successful in 25s Details
Compile Telodendria / Compile Telodendria (x86, alpine-v3.19) (push) Successful in 24s Details
Compile Telodendria / Compile Telodendria (x86_64, debian-v12.4) (push) Successful in 26s Details
Compile Telodendria / Compile Telodendria (x86, netbsd-v9.3) (push) Successful in 26s Details
Compile Telodendria / Compile Telodendria (x86_64, netbsd-v9.3) (push) Successful in 30s Details
Compile Telodendria / Compile Telodendria (x86_64, openbsd-v7.4) (push) Successful in 37s Details
2024-01-13 20:41:29 -05:00
Jordan Bancino 129802fe94 Fix ordering of LDFLAGS.
Compile Telodendria / Compile Telodendria (x86_64, freebsd-v14.0) (push) Failing after 13s Details
Compile Telodendria / Compile Telodendria (x86, freebsd-v14.0) (push) Failing after 18s Details
Compile Telodendria / Compile Telodendria (x86_64, alpine-v3.19) (push) Successful in 20s Details
Compile Telodendria / Compile Telodendria (x86, alpine-v3.19) (push) Failing after 25s Details
Compile Telodendria / Compile Telodendria (x86, debian-v12.4) (push) Failing after 26s Details
Compile Telodendria / Compile Telodendria (x86_64, debian-v12.4) (push) Successful in 27s Details
Compile Telodendria / Compile Telodendria (x86, netbsd-v9.3) (push) Failing after 27s Details
Compile Telodendria / Compile Telodendria (x86_64, netbsd-v9.3) (push) Successful in 30s Details
Compile Telodendria / Compile Telodendria (x86_64, openbsd-v7.4) (push) Successful in 39s Details
2024-01-13 20:31:49 -05:00
Jordan Bancino c7d44866c3 Put -L before -l in LDFLAGS.
Compile Telodendria / Compile Telodendria (x86_64, freebsd-v14.0) (push) Failing after 12s Details
Compile Telodendria / Compile Telodendria (x86, freebsd-v14.0) (push) Failing after 17s Details
Compile Telodendria / Compile Telodendria (x86_64, alpine-v3.19) (push) Failing after 19s Details
Compile Telodendria / Compile Telodendria (x86, debian-v12.4) (push) Failing after 23s Details
Compile Telodendria / Compile Telodendria (x86, alpine-v3.19) (push) Failing after 22s Details
Compile Telodendria / Compile Telodendria (x86, netbsd-v9.3) (push) Failing after 23s Details
Compile Telodendria / Compile Telodendria (x86_64, debian-v12.4) (push) Failing after 26s Details
Compile Telodendria / Compile Telodendria (x86_64, netbsd-v9.3) (push) Failing after 28s Details
Compile Telodendria / Compile Telodendria (x86_64, openbsd-v7.4) (push) Failing after 35s Details
2024-01-13 20:26:46 -05:00
Jordan Bancino 85672985eb Fix compiler warnings on 32-bit platforms in json.c.
Compile Telodendria / Compile Telodendria (x86_64, freebsd-v14.0) (push) Failing after 14s Details
Compile Telodendria / Compile Telodendria (x86, freebsd-v14.0) (push) Failing after 16s Details
Compile Telodendria / Compile Telodendria (x86, debian-v12.4) (push) Failing after 23s Details
Compile Telodendria / Compile Telodendria (x86_64, alpine-v3.19) (push) Failing after 19s Details
Compile Telodendria / Compile Telodendria (x86, alpine-v3.19) (push) Failing after 22s Details
Compile Telodendria / Compile Telodendria (x86, netbsd-v9.3) (push) Failing after 24s Details
Compile Telodendria / Compile Telodendria (x86_64, debian-v12.4) (push) Failing after 24s Details
Compile Telodendria / Compile Telodendria (x86_64, netbsd-v9.3) (push) Failing after 28s Details
Compile Telodendria / Compile Telodendria (x86_64, openbsd-v7.4) (push) Failing after 36s Details
2024-01-13 20:25:16 -05:00
Jordan Bancino 19443a1c24 Fix unused argument error on Clang. 2024-01-13 20:25:03 -05:00
Jordan Bancino 15fb6d8c2a Make sure CI checks out submodules.
Compile Telodendria / Compile Telodendria (x86_64, freebsd-v14.0) (push) Failing after 13s Details
Compile Telodendria / Compile Telodendria (x86, freebsd-v14.0) (push) Failing after 18s Details
Compile Telodendria / Compile Telodendria (x86, netbsd-v9.3) (push) Failing after 24s Details
Compile Telodendria / Compile Telodendria (x86_64, alpine-v3.19) (push) Successful in 21s Details
Compile Telodendria / Compile Telodendria (x86, alpine-v3.19) (push) Failing after 24s Details
Compile Telodendria / Compile Telodendria (x86, debian-v12.4) (push) Failing after 27s Details
Compile Telodendria / Compile Telodendria (x86_64, debian-v12.4) (push) Successful in 28s Details
Compile Telodendria / Compile Telodendria (x86_64, netbsd-v9.3) (push) Successful in 29s Details
Compile Telodendria / Compile Telodendria (x86_64, openbsd-v7.4) (push) Failing after 31s Details
2024-01-13 20:14:42 -05:00
Jordan Bancino cd22aea772 Require Cytoplasm to be compiled separately.
Compile Telodendria / Compile Telodendria (x86_64, alpine-v3.19) (push) Failing after 5s Details
Compile Telodendria / Compile Telodendria (x86_64, freebsd-v14.0) (push) Failing after 6s Details
Compile Telodendria / Compile Telodendria (x86, alpine-v3.19) (push) Failing after 5s Details
Compile Telodendria / Compile Telodendria (x86, debian-v12.4) (push) Failing after 8s Details
Compile Telodendria / Compile Telodendria (x86_64, debian-v12.4) (push) Failing after 10s Details
Compile Telodendria / Compile Telodendria (x86, netbsd-v9.3) (push) Failing after 10s Details
Compile Telodendria / Compile Telodendria (x86, freebsd-v14.0) (push) Failing after 8s Details
Compile Telodendria / Compile Telodendria (x86_64, netbsd-v9.3) (push) Failing after 12s Details
Compile Telodendria / Compile Telodendria (x86_64, openbsd-v7.4) (push) Failing after 14s Details
Also add the Gitea CI runner jobs.
2024-01-13 20:11:58 -05:00
Jordan Bancino ae0724f01c Support building a local copy of Cytoplasm.
Previously, one would have to install Cytoplasm globally to compile
Telodendria. Now, Telodendria builds and links against its own copy
unless --cytoplasm is set to nothing.
2024-01-13 20:02:57 -05:00
Jordan Bancino e62389aa14 Make Telodendria compatible with latest Cytoplasm.
This also brings Telodendria to C99 compliance.
2024-01-13 20:02:07 -05:00
Jordan Bancino f2a4a64b27 Add Cytoplasm as a submodule of Telodendria. 2024-01-13 18:05:00 -05:00
Jordan Bancino 258f509413 Update docs/dev/hosting.md 2024-01-13 10:09:39 -05:00
Jordan Bancino 2e92daeb00 Update docs/dev/hosting.md 2024-01-13 10:06:06 -05:00
Jordan Bancino ac7ea4dec1 Add docs/dev/hosting.md 2024-01-13 09:51:14 -05:00
Jordan Bancino 54420f0036 Improvements to #44: Implement #22 and #9 (#51)
This pull request makes a very small commit on top of #44.

Closes #44.
Closes #9.
Closes #22.

Co-authored-by: LoaD Accumulator <lda@freetards.xyz>
Co-authored-by: lda <lda@freetards.xyz>
Co-authored-by: lda <lda@noreply.git.telodendria.io>
Reviewed-on: #51
2024-01-11 19:33:50 -05:00
lda 243de4f1a0 Add new entry to CONTRIBUTORS.txt (#50)
Reviewed-on: #50
Co-authored-by: lda <lda@freetards.xyz>
Co-committed-by: lda <lda@freetards.xyz>
2024-01-06 10:02:53 -05:00
Jordan Bancino 35b9ef51f9 PID File: Properly initialize variables in Main(). 2024-01-05 21:02:45 -05:00
Jordan Bancino 83eb69f2cd Use j2s for the Config API. (#49)
Closes #7.
Closes #46.
Closes #47.

This pull request makes some minor on top of #46.

Co-authored-by: LoaD Accumulator <lda@freetards.xyz>
Co-authored-by: LoaD Accumulator <lda@noreply.git.telodendria.io>
Co-authored-by: lda <lda@freetards.xyz>
Co-authored-by: lda <lda@noreply.git.telodendria.io>
Reviewed-on: #49
2024-01-05 21:00:27 -05:00
Jordan Bancino 22d0e88dde Update copyright year in code. 2024-01-05 20:23:27 -05:00
Jordan Bancino f83be63d53 Add CONTRIBUTORS.txt and make a note of it in the LICENSE.txt and documentation. 2024-01-05 18:57:19 -05:00
lda af4fd5dceb Update licensing text for 2024 (#48)
Co-authored-by: Jordan Bancino <jordan@bancino.net>
Reviewed-on: #48
Co-authored-by: lda <lda@freetards.xyz>
Co-committed-by: lda <lda@freetards.xyz>
2024-01-04 19:32:03 -05:00
lda 2c6d5194d2 Set an error message with MatrixErrorCreate whenever applicable (#45)
Closes #6.

Co-authored-by: Jordan Bancino <jordan@bancino.net>
Reviewed-on: #45
Co-authored-by: lda <lda@freetards.xyz>
Co-committed-by: lda <lda@freetards.xyz>
2023-12-02 10:24:08 -05:00
Jordan Bancino 0a91a0c40b Remove site files & update README with current site.
The website is now managed in Grav.
2023-11-21 09:16:50 -05:00
Jordan Bancino d3dcf334f0 Update change log. 2023-11-21 09:14:03 -05:00
lda 3dae19e82d Refactor code to comply with #8 (#39)
Reviewed-on: #39
Co-authored-by: lda <lda@freetards.xyz>
Co-committed-by: lda <lda@freetards.xyz>
2023-11-21 09:11:45 -05:00
Jordan Bancino 2d30719be4 Implement Registration Token Administrator API (#43)
This pull request fully implements and documents all of the registration token administrator API endpoints.

**NOTE:** There is a memory leak when listing all of the registration tokens. Debug this before merging.
 
~~Closes~~ Supersedes #37.

Closes #26.

This pull request is based off of #37, which addresses #26. This pull makes a number of improvements to the logic, organization, and behavior of the API endpoints.

Co-authored-by: hatkid <daichi93100@gmail.com>
Co-authored-by: LoaD Accumulator <lda@freetards.xyz>
Co-authored-by: LoaD Accumulator <lda@noreply.git.telodendria.io>
Co-authored-by: lda <lda@freetards.xyz>
Co-authored-by: Load Accumulator <lda@freetards.xyz>
Reviewed-on: #43
2023-11-10 09:30:53 -05:00
Jordan Bancino 503bfb6104 Suppress warnings of unused variables.
I will use them eventually when I implement all these functions.

I'm probably going to start CI work here soon, so I don't want warnings showing up in the logs unless they're important.
2023-11-08 15:17:27 -05:00
Jordan Bancino 77800e4117 Housekeeping tasks with documentation and versioning. 2023-11-08 14:30:45 -05:00
Jordan Bancino db4ae0408c Fix admin endpoint names in documentation 2023-11-08 11:21:20 -05:00
Jordan Bancino edee1288d8 Remove unused global variables. 2023-11-08 09:45:49 -05:00
Jordan Bancino 4b90800a2b Fix leak in RouteConfig, update documentation.
Closes #15.
2023-11-07 01:26:26 -05:00
Jordan Bancino 6e7f170768 Start working on #15. 2023-11-06 20:42:39 -05:00
Jordan Bancino 1f02f3c2a2 Allow customization of compiler in configure. 2023-11-04 15:56:57 -04:00
Jordan Bancino 582c79b608 Schema are now generated out-of-tree.
Closes #40.
2023-11-04 15:28:20 -04:00
Jordan Bancino 42a901b7f5 Update docs/dev/rationale.md 2023-11-01 20:35:48 -04:00
Jordan Bancino 1fee47a628 Use `Makefile`s instead of a custom script (#38)
This pull request also requires the use of the external [Cytoplasm](/Telodendria/Cytoplasm) repository by removing the in-tree copy of Cytoplasm. The increased modularity requires a little more complex build process, but is overall better. Closes #19

The appropriate documentation has been updated. Closes #18

---

Please review the developer certificate of origin:

1. The contribution was created in whole or in part by me, and I have
the right to submit it under the open source licenses of the
Telodendria project; or
1. The contribution is based upon a previous work that, to the best of
my knowledge, is covered under an appropriate open source license and
I have the right under that license to submit that work with
modifications, whether created in whole or in part by me, under the
Telodendria project license; or
1. The contribution was provided directly to me by some other person
who certified (1), (2), or (3), and I have not modified it.
1. I understand and agree that this project and the contribution are
made public and that a record of the contribution&mdash;including all
personal information I submit with it&mdash;is maintained indefinitely
and may be redistributed consistent with this project or the open
source licenses involved.

- [x] I have read the Telodendria Project development certificate of
origin, and I certify that I have permission to submit this patch
under the conditions specified in it.

Reviewed-on: #38
2023-11-01 12:27:45 -04:00
Jordan Bancino 6377689a83 Update docs/CHANGELOG.md 2023-11-01 12:16:03 -04:00
Jordan Bancino 23237f97b5 Format source code and apply license. 2023-09-28 19:16:45 -04:00
Jordan Bancino 82ae2d4e41 Update 'docs/CHANGELOG.md' 2023-09-25 16:18:35 -04:00
Jordan Bancino 7d3d84d969 Move Admin routes to /_telodendria/admin/v1 (with version number)
Closes #16.
2023-09-25 16:10:44 -04:00
Jordan Bancino bf1ce839d0 If HOST_NAME_MAX is undefined, use _POSIX_HOST_NAME_MAX.
Probably good enough. Closes #2
2023-09-25 16:02:09 -04:00
Jordan Bancino f8d3e54fec Use int instead of char in EvalExpr.
Closes #5
2023-09-25 15:58:43 -04:00
lda cb41716bf3 Implement #27 (#36)
Implements #27.

Co-authored-by: LoaD Accumulator <lda@freetards.xyz>
Co-authored-by: Jordan Bancino <jordan@bancino.net>
Reviewed-on: Telodendria/telodendria#36
Co-authored-by: LoaD Accumulator <lda@noreply.git.telodendria.io>
Co-committed-by: LoaD Accumulator <lda@noreply.git.telodendria.io>
2023-09-25 09:39:21 -04:00
Jordan Bancino 6247085df1 Add change log entry for #35. 2023-09-11 11:01:50 -04:00
lda 0172fa083b Fixes issue #33 related to a memory issue, and format some code. (#35)
Fixes #33.

Co-authored-by: LoaD Accumulator <lda@freetards.xyz>
Reviewed-on: Telodendria/telodendria#35
Co-authored-by: LoaD Accumulator <lda@noreply.git.telodendria.io>
Co-committed-by: LoaD Accumulator <lda@noreply.git.telodendria.io>
2023-09-11 10:57:16 -04:00
Jordan Bancino 0b820b80f7 Convert configuration documentation. 2023-09-09 17:43:43 -04:00