Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Corrected the order of the N- and P-cards on edits made to technotes. See [forum:/forumpost/74fd8dac3a|/forumpost/74fd8dac3a] for details. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
1cd6c545ca3a9c628a056df5f30c8a48 |
| User & Date: | stephan 2021-02-10 21:21:42.287 |
References
|
2021-02-10
| ||
| 23:18 | • Closed ticket [5e67a7f404]: Editing technote result in invalid control artifact: mis-ordered P/N cards plus 5 other changes artifact: e9a20be003 user: stephan | |
| 23:16 | • New ticket [15d04de574] Manifest parsing does not validate sort order. artifact: d4e2c1f343 user: stephan | |
| 23:13 | • New ticket [5e67a7f404] Editing technote result in invalid control artifact: mis-ordered P/N cards. artifact: 44161725d4 user: stephan | |
Context
|
2021-02-10
| ||
| 23:53 | Do a better job of detecting misformatted structural artifacts and reporting the error. Ticket [15d04de574383d61]. check-in: 023fddeec4 user: drh tags: trunk | |
| 22:13 | This seems to fix the missing is-sorted check in manifest_parse(), but (A) it needs more testing and (B) could use a better error message than the one it ends up generating. Edit: WARNING: fixing this will cause control artifacts which previously passed (but should not have) to fail. check-in: 2e7a0aacdb user: stephan tags: manifest-sort-check | |
| 21:21 | Corrected the order of the N- and P-cards on edits made to technotes. See [forum:/forumpost/74fd8dac3a|/forumpost/74fd8dac3a] for details. check-in: 1cd6c545ca user: stephan tags: trunk | |
| 14:25 | Added 'L' pseudo-capability character to indicate is-logged-in, for use with th1 capexpr. Removed hard-coded addition of login/logout menu entries in skin headers, delegating them to the mainmenu setting, and added Login/Logout entries to the default mainmenu value. check-in: e5240c9749 user: stephan tags: trunk | |
Changes
Changes to src/event.c.
| ︙ | ︙ | |||
269 270 271 272 273 274 275 276 277 278 279 280 |
zDate = date_in_standard_format("now");
blob_appendf(&event, "D %s\n", zDate);
free(zDate);
zETime[10] = 'T';
blob_appendf(&event, "E %s %s\n", zETime, zId);
zETime[10] = ' ';
if( rid ){
char *zUuid = db_text(0, "SELECT uuid FROM blob WHERE rid=%d", rid);
blob_appendf(&event, "P %s\n", zUuid);
free(zUuid);
}
| > > > < < < | 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 |
zDate = date_in_standard_format("now");
blob_appendf(&event, "D %s\n", zDate);
free(zDate);
zETime[10] = 'T';
blob_appendf(&event, "E %s %s\n", zETime, zId);
zETime[10] = ' ';
if( zMimetype && zMimetype[0] ){
blob_appendf(&event, "N %s\n", zMimetype);
}
if( rid ){
char *zUuid = db_text(0, "SELECT uuid FROM blob WHERE rid=%d", rid);
blob_appendf(&event, "P %s\n", zUuid);
free(zUuid);
}
if( zClr && zClr[0] ){
blob_appendf(&event, "T +bgcolor * %F\n", zClr);
}
if( zTags && zTags[0] ){
Blob tags, one;
int i, j;
Stmt q;
|
| ︙ | ︙ |