Differences From Artifact [92403763ed]:
- File src/cache.c — part of check-in [2f50d427a9] at 2015-02-14 12:24:12 on branch login-enhancements — When the user is "nobody", make the g.anon permission vector for "anonymous" available in addition to g.perm. Hyperlinks to pages that would be available to anonymous are shown rather than suppressed. When permission is denied and control jumps to login_needed() a new flag shows whether or not logging in as "anonymous" would help. Work in progress. (user: drh size: 11372) [more...]
To Artifact [e609e5951a]:
- File src/cache.c — part of check-in [a6e2ceb454] at 2015-03-18 14:17:44 on branch trunk — Add the --create option to "fossil server", which causes a new repository to be created for the server if one does not already exist. The intended use case is Docker. (user: drh size: 11534) [more...]
| ︙ | |||
224 225 226 227 228 229 230 231 232 233 234 235 236 237 | 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 | + + + + + + + + |
}
sqlite3_finalize(pStmt);
cache_read_done:
sqlite3_exec(db, "COMMIT", 0, 0, 0);
sqlite3_close(db);
return rc;
}
/*
** Create a cache database for the current repository if no such
** database already exists.
*/
void cache_initialize(void){
sqlite3_close(cacheOpen(1));
}
/*
** COMMAND: cache*
** Usage: %fossil cache SUBCOMMAND
**
** Manage the cache used for potentially expensive web pages such as
** /zip and /tarball. SUBCOMMAND an be:
|
| ︙ |