Fossil

Check-in [47655d3996]
Login

Check-in [47655d3996]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Minor doc typo.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 47655d3996df381cde32aeeb22b7e55639c49bb85facb494bb1a2e825a68a2a7
User & Date: stephan 2020-12-29 16:49:12.094
Context
2020-12-29
23:24
Reworded uvlist table summary, per forum suggestion [https://fossil-scm.org/forum/forumpost/8e3c4ae3d8 | /forumpost/8e3c4ae3d8] and personal itch. ... (check-in: 5797c7e8e9 user: stephan tags: trunk)
16:49
Minor doc typo. ... (check-in: 47655d3996 user: stephan tags: trunk)
04:18
chat: send and poll can now report if the session is logged out, and client-side poll stops looping if that condition is detected. Both cases emit a message in the message area, from user 'fossil', with the CSS class 'error' and a link to the login page with a redirect back to the chat page. ... (check-in: 3c0c8954c7 user: stephan tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/chat.c.
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
     }
   }
}

/*
** Sets the current CGI response type to application/json then emits a
** JSON-format error message object. If fAsMessageList is true then
** the object is output using the list format described for chat-post,
** else it is emitted as a single object in that same format.
*/
static void chat_emit_permissions_error(int fAsMessageList){
  char * zTime = cgi_iso8601_datestamp();
  cgi_set_content_type("application/json");
  if(fAsMessageList){
    CX("{\"msgs\":[{");







|







221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
     }
   }
}

/*
** Sets the current CGI response type to application/json then emits a
** JSON-format error message object. If fAsMessageList is true then
** the object is output using the list format described for chat-poll,
** else it is emitted as a single object in that same format.
*/
static void chat_emit_permissions_error(int fAsMessageList){
  char * zTime = cgi_iso8601_datestamp();
  cgi_set_content_type("application/json");
  if(fAsMessageList){
    CX("{\"msgs\":[{");