Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | No need for the /version page to distinguish between verbose=2 and verbose=1, just presence (or not) of "verbose" is enough. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
0ec71205708f73da0ae66379a373e506 |
| User & Date: | jan.nijtmans 2017-04-26 15:27:30.718 |
Context
|
2017-05-02
| ||
| 19:13 | Enhancements to the password prompt logic for Windows so that it works better in non-standard shells. check-in: 513dd003a5 user: drh tags: trunk | |
|
2017-04-26
| ||
| 15:27 | No need for the /version page to distinguish between verbose=2 and verbose=1, just presence (or not) of "verbose" is enough. check-in: 0ec7120570 user: jan.nijtmans tags: trunk | |
|
2017-04-23
| ||
| 13:50 | gzip.c:70:13: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] aHdr[9] = 255; ~ ^~~ check-in: fe1332ca2c user: jan.nijtmans tags: trunk | |
Changes
Changes to src/main.c.
| ︙ | ︙ | |||
1059 1060 1061 1062 1063 1064 1065 |
*/
void test_version_page(void){
Blob versionInfo;
int verboseFlag;
login_check_credentials();
if( !g.perm.Read ){ login_needed(g.anon.Read); return; }
| | | 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 |
*/
void test_version_page(void){
Blob versionInfo;
int verboseFlag;
login_check_credentials();
if( !g.perm.Read ){ login_needed(g.anon.Read); return; }
verboseFlag = PD("verbose", 0) != 0;
style_header("Version Information");
style_submenu_element("Stat", "stat");
get_version_blob(&versionInfo, verboseFlag);
@ <pre>
@ %h(blob_str(&versionInfo))
@ </pre>
style_footer();
|
| ︙ | ︙ |
Changes to src/stat.c.
| ︙ | ︙ | |||
176 177 178 179 180 181 182 |
if( p ){
@ <tr><th>Parent Project ID:</th>
@ <td>%h(p) %h(db_get("parent-project-name",""))</td></tr>
}
/* @ <tr><th>Server ID:</th><td>%h(db_get("server-code",""))</td></tr> */
@ <tr><th>Fossil Version:</th><td>
@ %h(MANIFEST_DATE) %h(MANIFEST_VERSION)
| | | | 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 |
if( p ){
@ <tr><th>Parent Project ID:</th>
@ <td>%h(p) %h(db_get("parent-project-name",""))</td></tr>
}
/* @ <tr><th>Server ID:</th><td>%h(db_get("server-code",""))</td></tr> */
@ <tr><th>Fossil Version:</th><td>
@ %h(MANIFEST_DATE) %h(MANIFEST_VERSION)
@ (%h(RELEASE_VERSION)) <a href='version?verbose'>(details)</a>
@ </td></tr>
@ <tr><th>SQLite Version:</th><td>%.19s(sqlite3_sourceid())
@ [%.10s(&sqlite3_sourceid()[20])] (%s(sqlite3_libversion()))
@ <a href='version?verbose'>(details)</a></td></tr>
if( g.eHashPolicy!=HPOLICY_AUTO ){
@ <tr><th>Schema Version:</th><td>%h(g.zAuxSchema),
@ %s(hpolicy_name())</td></tr>
}else{
@ <tr><th>Schema Version:</th><td>%h(g.zAuxSchema)</td></tr>
}
@ <tr><th>Repository Rebuilt:</th><td>
|
| ︙ | ︙ |