DAV MOVE method wasn't documented. Documented it.
authorArt Cancro <ajc@citadel.org>
Fri, 7 Jul 2023 17:52:40 +0000 (08:52 -0900)
committerArt Cancro <ajc@citadel.org>
Fri, 7 Jul 2023 17:52:40 +0000 (08:52 -0900)
webcit-ng/api.txt
webcit-ng/server/caldav_reports.c
webcit-ng/server/ctdl_commands.c
webcit-ng/server/ctdlfunctions.c
webcit-ng/server/floor_functions.c
webcit-ng/server/html2html.c
webcit-ng/server/messages.c
webcit-ng/server/tcp_sockets.c
webcit-ng/server/text2html.c

index cbab2b92c02a2c0362e0013bb8e8047cc5bc84fe..67e13b4a2893255f54d0cdce4f4993ecdf451295 100644 (file)
@@ -14,6 +14,7 @@ GET             /ctdl/r/ROOMNAME/stat           JSON dictionary of the server ST
 GET             /ctdl/r/ROOMNAME/MSGNUM         Retrieve the content of an individual message
 GET             /ctdl/r/ROOMNAME/MSGNUM/json    Retrieve an individual message in a room, encapsulated in JSON
 DELETE          /ctdl/r/ROOMNAME/MSGNUM         Deletes a message from a room
+MOVE            /ctdl/r/ROOMNAME/MSGNUM         Moves a message to another room (requires Destination)
 
 PUT             /ctdl/r/ROOMNAME/xxx            DAV operation to insert a new message into a room
                 Accepted parameters:
index 9bcca613fd9873c9f4a69e28f35d41dbb0138d61..ff60dfedcb8fca8c50b48deeb5a426f5651b1493 100644 (file)
@@ -1,4 +1,3 @@
-//
 // This file contains functions which handle all of the CalDAV "REPORT" queries
 // specified in RFC4791 section 7.
 //
@@ -130,7 +129,7 @@ StrBuf *fetch_ical(struct ctdlsession * c, long msgnum) {
 // webcit[13039]: room=0000000001.Calendar
 // webcit[13039]: node=uncnsrd
 // webcit[13039]: hnod=Uncensored
-// webcit[13039]: exti=040000008200E00074C5B7101A82E0080000000080C728F83E84C801000000000000000010000000E857E0DC57F53947ADF0BB91EE3A502F
+// webcit[13039]: exti=040000E00074C5B7101A82E0080000000080C728F83E84C801000000000000000010000000E857E0DC57F53947ADF0BB91EE3A502F
 // webcit[13039]: subj==?UTF-8?B?V2VzbGV5J3MgYmlydGhkYXkgcGFydHk=
 // webcit[13039]: ?=
 // webcit[13039]: part=||1||text/calendar|1127||
index 6420a875036afb857f147387ed24011c5b893643..2637d9e25471348da8dadea3452ac27cee5eb110 100644 (file)
@@ -1,4 +1,3 @@
-//
 // Copyright (c) 1996-2022 by the citadel.org team
 //
 // This program is open source software.  Use, duplication, or
index ba25fd637c7b6ceecdf700362c4a33b56c2b581d..371dbc828cbf0ff47da2b663a25c5a9e4e4ca043 100644 (file)
@@ -1,4 +1,3 @@
-//
 // These utility functions loosely make up a Citadel protocol client library.
 //
 // Copyright (c) 2016-2022 by the citadel.org team
index ccb632668b5164151ae1ab8ce0730e71ae28b7ac..7dff4dbece5c9710982928e21569242faa82f89c 100644 (file)
@@ -1,4 +1,3 @@
-//
 // Floor functions
 //
 // Copyright (c) 1996-2022 by the citadel.org team
index ab37b7b0896a097a4405e9937f6c048e9360af6a..02e5ed79104bf4c203d3510e1a72875cc4cd9477 100644 (file)
@@ -1,4 +1,3 @@
-//
 // Output an HTML message, modifying it slightly to make sure it plays nice
 // with the rest of our web framework.
 //
index c5dda5bbc7b492d3cfbace619eefa1fa53cb55ef..81896c7b594edf88505143f7e060e1de4383ac93 100644 (file)
@@ -1,4 +1,3 @@
-//
 // Message base functions
 //
 // Copyright (c) 1996-2022 by the citadel.org team
@@ -113,7 +112,7 @@ void dav_get_message(struct http_transaction *h, struct ctdlsession *c, long msg
                        if (v) {
                                *v = 0;
                                ++v;
-                               string_trim(v); // we now have a key (k) and a value (v)
+                               string_trim(v);                         // we now have a key (k) and a value (v)
                                if ((!strcasecmp(k, "content-type"))    // fields which can be passed from RFC822 to HTTP as-is
                                    || (!strcasecmp(k, "date"))
                                ) {
index 5de373ac948c3cc763bae24301fcb85fe739c12d..5d4fbc2546e7e7cc45824e70a2bbaaf738df4384 100644 (file)
@@ -1,4 +1,3 @@
-//
 // TCP sockets layer
 //
 // Copyright (c) 1987-2022 by the citadel.org team
index 1a1bf1420a4021d1bb14c3d8abe4a582d686d733..b6def65acdc55ad2a69ffc9aca688ab476b66714 100644 (file)
@@ -1,4 +1,3 @@
-//
 // Convert text/plain to text/html
 //
 // Copyright (c) 2017-2022 by the citadel.org team