Fossil SCM

Minor /chat-internal doc tweaks.

stephan 2021-06-14 10:48 trunk
Commit 994bec3637acb12a5a851f309149a3da390a4146bcb61267584b2f7abf28d174
1 file changed +10 -10
+10 -10
--- src/chat.c
+++ src/chat.c
@@ -213,18 +213,18 @@
213213
/* Definition of repository tables used by chat
214214
*/
215215
static const char zChatSchema1[] =
216216
@ CREATE TABLE repository.chat(
217217
@ msgid INTEGER PRIMARY KEY AUTOINCREMENT,
218
-@ mtime JULIANDAY, -- Time for this entry - Julianday Zulu
219
-@ lmtime TEXT, -- Localtime when message originally sent
220
-@ xfrom TEXT, -- Login of the sender
221
-@ xmsg TEXT, -- Raw, unformatted text of the message
222
-@ fname TEXT, -- Filename of the uploaded file, or NULL
223
-@ fmime TEXT, -- MIMEType of the upload file, or NULL
224
-@ mdel INT, -- msgid of another message to delete
225
-@ file BLOB -- Text of the uploaded file, or NULL
218
+@ mtime JULIANDAY, -- Time for this entry - Julianday Zulu
219
+@ lmtime TEXT, -- Client YYYY-MM-DDZHH:MM:SS when message originally sent
220
+@ xfrom TEXT, -- Login of the sender
221
+@ xmsg TEXT, -- Raw, unformatted text of the message
222
+@ fname TEXT, -- Filename of the uploaded file, or NULL
223
+@ fmime TEXT, -- MIMEType of the upload file, or NULL
224
+@ mdel INT, -- msgid of another message to delete
225
+@ file BLOB -- Text of the uploaded file, or NULL
226226
@ );
227227
;
228228
229229
230230
/*
@@ -483,12 +483,12 @@
483483
**
484484
** | {
485485
** | "msgs":[
486486
** | {
487487
** | "msgid": integer // message id
488
-** | "mtime": text // When sent: YYYY-MM-DD HH:MM:SS UTC
489
-** | "lmtime: text // Localtime where the message was sent from
488
+** | "mtime": text // When sent: YYYY-MM-DDTHH:MM:SSZ
489
+** | "lmtime: text // Sender's client-side YYYY-MM-DDTHH:MM:SS
490490
** | "xfrom": text // Login name of sender
491491
** | "uclr": text // Color string associated with the user
492492
** | "xmsg": text // HTML text of the message
493493
** | "fsize": integer // file attachment size in bytes
494494
** | "fname": text // Name of file attachment
495495
--- src/chat.c
+++ src/chat.c
@@ -213,18 +213,18 @@
213 /* Definition of repository tables used by chat
214 */
215 static const char zChatSchema1[] =
216 @ CREATE TABLE repository.chat(
217 @ msgid INTEGER PRIMARY KEY AUTOINCREMENT,
218 @ mtime JULIANDAY, -- Time for this entry - Julianday Zulu
219 @ lmtime TEXT, -- Localtime when message originally sent
220 @ xfrom TEXT, -- Login of the sender
221 @ xmsg TEXT, -- Raw, unformatted text of the message
222 @ fname TEXT, -- Filename of the uploaded file, or NULL
223 @ fmime TEXT, -- MIMEType of the upload file, or NULL
224 @ mdel INT, -- msgid of another message to delete
225 @ file BLOB -- Text of the uploaded file, or NULL
226 @ );
227 ;
228
229
230 /*
@@ -483,12 +483,12 @@
483 **
484 ** | {
485 ** | "msgs":[
486 ** | {
487 ** | "msgid": integer // message id
488 ** | "mtime": text // When sent: YYYY-MM-DD HH:MM:SS UTC
489 ** | "lmtime: text // Localtime where the message was sent from
490 ** | "xfrom": text // Login name of sender
491 ** | "uclr": text // Color string associated with the user
492 ** | "xmsg": text // HTML text of the message
493 ** | "fsize": integer // file attachment size in bytes
494 ** | "fname": text // Name of file attachment
495
--- src/chat.c
+++ src/chat.c
@@ -213,18 +213,18 @@
213 /* Definition of repository tables used by chat
214 */
215 static const char zChatSchema1[] =
216 @ CREATE TABLE repository.chat(
217 @ msgid INTEGER PRIMARY KEY AUTOINCREMENT,
218 @ mtime JULIANDAY, -- Time for this entry - Julianday Zulu
219 @ lmtime TEXT, -- Client YYYY-MM-DDZHH:MM:SS when message originally sent
220 @ xfrom TEXT, -- Login of the sender
221 @ xmsg TEXT, -- Raw, unformatted text of the message
222 @ fname TEXT, -- Filename of the uploaded file, or NULL
223 @ fmime TEXT, -- MIMEType of the upload file, or NULL
224 @ mdel INT, -- msgid of another message to delete
225 @ file BLOB -- Text of the uploaded file, or NULL
226 @ );
227 ;
228
229
230 /*
@@ -483,12 +483,12 @@
483 **
484 ** | {
485 ** | "msgs":[
486 ** | {
487 ** | "msgid": integer // message id
488 ** | "mtime": text // When sent: YYYY-MM-DDTHH:MM:SSZ
489 ** | "lmtime: text // Sender's client-side YYYY-MM-DDTHH:MM:SS
490 ** | "xfrom": text // Login name of sender
491 ** | "uclr": text // Color string associated with the user
492 ** | "xmsg": text // HTML text of the message
493 ** | "fsize": integer // file attachment size in bytes
494 ** | "fname": text // Name of file attachment
495

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button