Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Do not try to run backoffice if not connected to a valid repository. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
3f5b25493212ff39f848879233b23a66 |
User & Date: | drh 2018-08-23 16:02:02.519 |
Context
2018-08-25
| ||
16:06 |
Added new CSS class forumPosts to the containing the list of posts
on the /forum page so that skins can target elements of this list
differently than others. One immediate use for this is styling read
threads differently via a:visited styling. Currently, only one of the
stock skins ships with an unconditional a:visited change, so that all
links show in the same color regardless of their state. That's fine in
most areas of the UI, but in the forum, a skin developer may want
something special, so we need a way to mark them differently. This
...
(check-in: 77782490 user: wyoung tags: trunk)
was already using the broadly-used "fileage" style, but we don't
want changes to a:visited and such to affect all other users of fileage,
so we need a unique style to this page. | |
2018-08-24
| ||
08:29 | Merge trunk. Undo unintended changes in previous commit ... (check-in: 5583448c user: jan.nijtmans tags: openssl-1.1) | |
2018-08-23
| ||
16:02 | Do not try to run backoffice if not connected to a valid repository. ... (check-in: 3f5b2549 user: drh tags: trunk) | |
15:07 | Add the meta-viewport header to the repository list page. ... (check-in: bb7c2d91 user: drh tags: trunk) | |
Changes
Changes to src/backoffice.c.
︙ | ︙ | |||
379 380 381 382 383 384 385 386 387 388 389 390 391 392 | void backoffice_check_if_needed(void){ Lease x; sqlite3_uint64 tmNow; if( backofficeDb ) return; if( g.zRepositoryName==0 ) return; if( g.db==0 ) return; tmNow = time(0); backofficeReadLease(&x); if( x.tmNext>=tmNow && backofficeProcessExists(x.idNext) ){ /* Another backoffice process is already queued up to run. This ** process does not need to do any backoffice work. */ return; }else{ | > | 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 | void backoffice_check_if_needed(void){ Lease x; sqlite3_uint64 tmNow; if( backofficeDb ) return; if( g.zRepositoryName==0 ) return; if( g.db==0 ) return; if( !db_table_exists("repository","config") ) return; tmNow = time(0); backofficeReadLease(&x); if( x.tmNext>=tmNow && backofficeProcessExists(x.idNext) ){ /* Another backoffice process is already queued up to run. This ** process does not need to do any backoffice work. */ return; }else{ |
︙ | ︙ |