Loading…
Reference in a new issue
No description provided.
Delete branch "lda/telodendria:implement-22-9"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements the following in #22:
RouteRoomAliases
ALIAS
privilege), but I feel like this should just be left as a TODO until proper room support.RouteAliasDirectory
Implements #9 for the user parsing
Please review the developer certificate of origin:
the right to submit it under the open source licenses of the
Telodendria project; or
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
who certified (1), (2), or (3), and I have not modified it.
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.
origin, and I certify that I have permission to submit this patch
under the conditions specified in it.
@ -32,3 +36,3 @@
{
RouteArgs *args = argp;
char *alias = ArrayGet(path, 0);
char *alias = HttpUrlDecode(ArrayGet(path, 0));
I am fairly certain that parameters should already be decoded by the time they are added to the
path
array. If they aren't, then Cytoplasm needs to do this, not each of the individual routes.Yeah, Cytoplasm doesn't seem to decode those by default it seems...
Just filed a short PR to fix that in Cytoplasm(#19).
@ -30,3 +35,3 @@
{
RouteArgs *args = argp;
char *roomId = ArrayGet(path, 0);
char *roomId = HttpUrlDecode(ArrayGet(path, 0));
Same as above. Cytoplasm should be doing this. If it isn't, then we should open an issue there.
@ -37,6 +37,7 @@ ROUTE_IMPL(RouteVersions, path, argp)
#define DECLARE_SPEC_VERSION(x) ArrayAdd(versions, JsonValueString(x))
DECLARE_SPEC_VERSION("v1.5");
Yeah. I figured this would probably be necessary at some point. Clients don't like to see only
v1.7
, they like to see all of the preceding versions as well. Maybe we should addv1.2
throughv1.6
as well, just for completeness?Yeah, just pushed some changes to declare
v1.2
-v1.7
.HttpRouter
: Decode path parts before matching. #19WIP: Implement #22 and #9to Implement #22 and #9Implement #22 and #9to WIP: Implement #22 and #9With the exception of the conflicts, is this pull request ready to be merged?
WIP: Implement #22 and #9to Implement #22 and #9It looks like the recent changes to the configuration API are causing problems here. Please merge
master
again and resolve the conflicts.3d35ed85c3
to85bef9e949
85bef9e949
to5851298957
This looks mostly good, I will pull it down shortly and play with it on my machine before merging.
Good work. Merged as #45.
Pull request closed