Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fix a harmless compiler warning. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
b4862238ec50899e50c7440499b7107a |
| User & Date: | drh 2020-12-24 15:58:34.453 |
Context
|
2020-12-24
| ||
| 17:10 | Disable CSP for /chat with a ping= query parameter. This is a drastic measure to get the feature working. We can work on providing a better solution later. ... (check-in: 02961b8078 user: drh tags: trunk) | |
| 15:58 | Fix a harmless compiler warning. ... (check-in: b4862238ec user: drh tags: trunk) | |
| 15:57 | Add the "fossil chat" command that attempts to bring up a chat window in the default web browser and provide alerts through the TTY. ... (check-in: f62805ed85 user: drh tags: trunk) | |
Changes
Changes to src/chat.c.
| ︙ | ︙ | |||
566 567 568 569 570 571 572 |
** Bring up a window to the chatroom feature of the Fossil repository
** at URL. Or if URL is not specified, use the default remote repository.
** Event notifications on this session cause the U+0007 character to
** be sent to the TTY on which the "fossil chat" command is run, thus
** causing an auditory notification.
*/
void chat_command(void){
| | | 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 |
** Bring up a window to the chatroom feature of the Fossil repository
** at URL. Or if URL is not specified, use the default remote repository.
** Event notifications on this session cause the U+0007 character to
** be sent to the TTY on which the "fossil chat" command is run, thus
** causing an auditory notification.
*/
void chat_command(void){
const char *zUrl = 0;
char *azArgv[5];
db_find_and_open_repository(0,0);
if( g.argc==3 ){
zUrl = g.argv[2];
}else if( g.argc!=2 ){
usage("?URL?");
}else{
|
| ︙ | ︙ |