add /.well-known/matrix/server and /_matrix/federation/v1/version #61

Merged
jordan merged 3 commits from doesnm/Telodendria:master into master 2025-09-05 16:32:55 +00:00
Contributor

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
  2. 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
  3. The contribution was provided directly to me by some other person
    who certified (1), (2), or (3), and I have not modified it.
  4. 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.
  • 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.
--- 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.
add /.well-known/matrix/server and /_matrix/federation/v1/version
Some checks failed
Compile Telodendria / Compile Telodendria (aarch64, alpine) (pull_request) Has been cancelled
352e34c6d7
add documentation
Some checks failed
Compile Telodendria / Compile Telodendria (aarch64, alpine) (pull_request) Has been cancelled
96d341903e
jordan left a comment
Owner

Overall this looks pretty good, good work! Just a few small things to clean up and then this one will be an easy merge.

Overall this looks pretty good, good work! Just a few small things to clean up and then this one will be an easy merge.
@ -82,2 +82,3 @@
"federation": { "type": "boolean", "required": true },
"registration": { "type": "boolean", "required": true }
"registration": { "type": "boolean", "required": true },
"wellKnownServer": { "type": "string", "required": true }
Owner

Should this be optional? The identityServer is not required; if it is not provided, it defaults to a sensible value. Is it possible to do the same here?

Should this be optional? The `identityServer` is not required; if it is not provided, it defaults to a sensible value. Is it possible to do the same here?
doesnm marked this conversation as resolved
src/Config.c Outdated
@ -125,3 +125,3 @@
size_t len;
size_t swk_len;
Owner

Cytoplasm and Telodendria use lowerCamelCase, not snake_case. See the Code Style section of the contributing document.

Please refactor this variable accordingly.

Cytoplasm and Telodendria use lowerCamelCase, not snake_case. See the [Code Style](https://git.telodendria.io/Telodendria/Telodendria/src/branch/master/docs/CONTRIBUTING.md#code-style) section of the contributing document. Please refactor this variable accordingly.
doesnm marked this conversation as resolved
@ -363,0 +381,4 @@
HashMap *server;
response = HashMapCreate();
server = HashMapCreate();
HashMapSet(server,"name",JsonValueString("Telodendria"));
Owner

Looks like there's some odd formatting here, you might want to check your editor's whitespace settings if this was not intentional. These likes should all be flush with each other.

Looks like there's some odd formatting here, you might want to check your editor's whitespace settings if this was not intentional. These likes should all be flush with each other.
doesnm marked this conversation as resolved
fixes after review
Some checks failed
Compile Telodendria / Compile Telodendria (aarch64, alpine) (pull_request) Has been cancelled
1a73cc3c39
Author
Contributor

I'm tried to fixes all cases which you said
Through i can't use indent because it throw error for me

~/Telodendria $ indent
.indent.pro: unknown option "-ei"
I'm tried to fixes all cases which you said Through i can't use indent because it throw error for me ``` ~/Telodendria $ indent .indent.pro: unknown option "-ei" ```
Owner

Ah, yeah, Telodendria assumes you're using OpenBSD's indent. It is on my list to fix that, since I no longer use OpenBSD very regularly. Don't worry about the formatting, I can take care of that when I merge this.

Ah, yeah, Telodendria assumes you're using OpenBSD's `indent`. It is on my list to fix that, since I no longer use OpenBSD very regularly. Don't worry about the formatting, I can take care of that when I merge this.
jordan merged commit aa84648e0e into master 2025-09-05 16:32:55 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Telodendria/Telodendria#61
No description provided.