Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Replace the /chat attach button SVG with the corresponding Unicode 6.0 glyph. Not sure why we didn't do that in the first place, as all of the other buttons use emoji icons. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | fts5-chat-search |
| Files: | files | file ages | folders |
| SHA3-256: |
74479fb5930b8448e9c1696ba065cd26 |
| User & Date: | stephan 2024-07-01 11:31:07.316 |
Context
|
2024-07-01
| ||
| 15:22 | Use temporary triggers, instead of normal schema triggers, to populate the fts index. Fossil disables schema triggers to prevent malicious uses. ... (check-in: 21d9ea4ade user: dan tags: fts5-chat-search) | |
| 11:31 | Replace the /chat attach button SVG with the corresponding Unicode 6.0 glyph. Not sure why we didn't do that in the first place, as all of the other buttons use emoji icons. ... (check-in: 74479fb593 user: stephan tags: fts5-chat-search) | |
| 11:24 | Increase the size of the /chat attach button image and fix it to be rescaled in non-dark themes. ... (check-in: ae0940db82 user: stephan tags: fts5-chat-search) | |
Changes
Changes to src/chat.c.
| ︙ | ︙ | |||
154 155 156 157 158 159 160 |
** Other /chat-OP pages are used by XHR requests from this page to
** send new chat message, delete older messages, or poll for changes.
*/
void chat_webpage(void){
char *zAlert;
char *zProjectName;
char * zInputPlaceholder0; /* Common text input placeholder value */
| < < < < < < < < < < < < < < < < < | 154 155 156 157 158 159 160 161 162 163 164 165 166 167 |
** Other /chat-OP pages are used by XHR requests from this page to
** send new chat message, delete older messages, or poll for changes.
*/
void chat_webpage(void){
char *zAlert;
char *zProjectName;
char * zInputPlaceholder0; /* Common text input placeholder value */
login_check_credentials();
if( !g.perm.Chat ){
login_needed(g.anon.Chat);
return;
}
zAlert = mprintf("%s/builtin/%s", g.zBaseURL,
|
| ︙ | ︙ | |||
204 205 206 207 208 209 210 | @ class="chat-input-field hidden"></div> @ <div id='chat-buttons-wrapper'> @ <span class='cbutton' id="chat-button-preview" \ @ title="Preview message (Shift-Enter)">👁</span> @ <span class='cbutton' id="chat-button-search" \ @ title="Search chat history">🔍</span> @ <span class='cbutton' id="chat-button-attach" \ | | | 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 | @ class="chat-input-field hidden"></div> @ <div id='chat-buttons-wrapper'> @ <span class='cbutton' id="chat-button-preview" \ @ title="Preview message (Shift-Enter)">👁</span> @ <span class='cbutton' id="chat-button-search" \ @ title="Search chat history">🔍</span> @ <span class='cbutton' id="chat-button-attach" \ @ title="Attach file to message">📎</span> @ <span class='cbutton' id="chat-button-settings" \ @ title="Configure chat">⚙</span> @ <span class='cbutton' id="chat-button-submit" \ @ title="Send message (Ctrl-Enter)">📤</span> @ </div> @ </div> @ <div id='chat-input-file-area'> |
| ︙ | ︙ |
Changes to src/style.chat.css.
| ︙ | ︙ | |||
611 612 613 614 615 616 617 |
display: none;
}
body.chat #chat-user-list .chat-user.selected {
font-weight: bold;
text-decoration: underline;
}
| < < < < < < < < < | 611 612 613 614 615 616 617 618 619 620 621 622 623 624 |
display: none;
}
body.chat #chat-user-list .chat-user.selected {
font-weight: bold;
text-decoration: underline;
}
body.cpage-chat-search .searchForm {
margin-top: 1em;
}
body.cpage-chat-search .spacer-widget button {
margin-left: 1ex;
margin-right: 1ex;
display: block;
|
| ︙ | ︙ |