Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Add the Abbreviated Name configuration option that is used for tarball and ZIP archive name construction. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
12395456635b7bc48c3dfdb329e78b67 |
| User & Date: | drh 2013-10-08 14:43:43.592 |
Context
|
2013-10-08
| ||
| 14:50 | Bring in the latest SQLite 3.8.1 beta from upstream. ... (check-in: 4910a37809 user: drh tags: trunk) | |
| 14:43 | Add the Abbreviated Name configuration option that is used for tarball and ZIP archive name construction. ... (check-in: 1239545663 user: drh tags: trunk) | |
| 14:13 | minor help text typo. ... (check-in: eb6b14723a user: stephan tags: trunk) | |
Changes
Changes to src/configure.c.
| ︙ | ︙ | |||
96 97 98 99 100 101 102 103 104 105 106 107 108 109 |
#ifdef FOSSIL_ENABLE_TCL
{ "tcl", CONFIGSET_SKIN|CONFIGSET_TKT|CONFIGSET_XFER },
{ "tcl-setup", CONFIGSET_SKIN|CONFIGSET_TKT|CONFIGSET_XFER },
#endif
{ "project-name", CONFIGSET_PROJ },
{ "project-description", CONFIGSET_PROJ },
{ "manifest", CONFIGSET_PROJ },
{ "binary-glob", CONFIGSET_PROJ },
{ "clean-glob", CONFIGSET_PROJ },
{ "ignore-glob", CONFIGSET_PROJ },
{ "keep-glob", CONFIGSET_PROJ },
{ "crnl-glob", CONFIGSET_PROJ },
| > | 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 |
#ifdef FOSSIL_ENABLE_TCL
{ "tcl", CONFIGSET_SKIN|CONFIGSET_TKT|CONFIGSET_XFER },
{ "tcl-setup", CONFIGSET_SKIN|CONFIGSET_TKT|CONFIGSET_XFER },
#endif
{ "project-name", CONFIGSET_PROJ },
{ "short-project-name", CONFIGSET_PROJ },
{ "project-description", CONFIGSET_PROJ },
{ "manifest", CONFIGSET_PROJ },
{ "binary-glob", CONFIGSET_PROJ },
{ "clean-glob", CONFIGSET_PROJ },
{ "ignore-glob", CONFIGSET_PROJ },
{ "keep-glob", CONFIGSET_PROJ },
{ "crnl-glob", CONFIGSET_PROJ },
|
| ︙ | ︙ |
Changes to src/info.c.
| ︙ | ︙ | |||
577 578 579 580 581 582 583 |
if( zUser==0 || zUser[0]==0 ) zUser = "unknown";
@ <tr><th>Received From:</th>
@ <td>%h(zUser) @ %h(zIpAddr) on %s(zDate)</td></tr>
}
db_finalize(&q2);
}
if( g.perm.Hyperlink ){
| > | > > | 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 |
if( zUser==0 || zUser[0]==0 ) zUser = "unknown";
@ <tr><th>Received From:</th>
@ <td>%h(zUser) @ %h(zIpAddr) on %s(zDate)</td></tr>
}
db_finalize(&q2);
}
if( g.perm.Hyperlink ){
const char *zPJ = db_get("short-project-name", 0);
char *zProjName;
int jj;
if( zPJ==0 ) zPJ = db_get("project-name", "unnamed");
zProjName = mprintf("%s", zPJ);
for(jj=0; zProjName[jj]; jj++){
if( strchr("\\/:*?[]", zProjName[jj]) ) zProjName[jj] = '_';
}
@ <tr><th>Timelines:</th><td>
@ %z(href("%R/timeline?f=%S",zUuid))family</a>
if( zParent ){
@ | %z(href("%R/timeline?p=%S",zUuid))ancestors</a>
|
| ︙ | ︙ |
Changes to src/setup.c.
| ︙ | ︙ | |||
1271 1272 1273 1274 1275 1276 1277 |
style_header("WWW Configuration");
db_begin_transaction();
@ <form action="%s(g.zTop)/setup_config" method="post"><div>
login_insert_csrf_secret();
@ <hr />
entry_attribute("Project Name", 60, "project-name", "pn", "", 0);
@ <p>Give your project a name so visitors know what this site is about.
| | | < > > > > > > > > | 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 |
style_header("WWW Configuration");
db_begin_transaction();
@ <form action="%s(g.zTop)/setup_config" method="post"><div>
login_insert_csrf_secret();
@ <hr />
entry_attribute("Project Name", 60, "project-name", "pn", "", 0);
@ <p>Give your project a name so visitors know what this site is about.
@ The project name will also be used as the RSS feed title. This name is distinct
@ from the "Abbreviated Name" below.
@ </p>
@ <hr />
textarea_attribute("Project Description", 3, 80,
"project-description", "pd", "", 0);
@ <p>Describe your project. This will be used in page headers for search
@ engines as well as a short RSS description.</p>
@ <hr />
entry_attribute("Abbreviated Name", 20, "short-project-name", "spn", "", 0);
@ <p>This is a shortened version of the Project Name that is used as the name
@ prefix for generated tarballs and ZIP archives. For best results, keep the
@ name brief and avoid special characters such as "/" and "\". If no abbreviated
@ project name is supplied, then the full Project Name above is used in the
@ names for tarball and ZIP archive.
@ </p>
@ <hr />
onoff_attribute("Enable WYSIWYG Wiki Editing",
"wysiwyg-wiki", "wysiwyg-wiki", 0, 0);
@ <p>Enable what-you-see-is-what-you-get (WYSIWYG) editing of wiki pages.
@ The WYSIWYG editor generates HTML instead of markup, which makes
@ subsequent manual editing more difficult.</p>
@ <hr />
|
| ︙ | ︙ |