Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Require the 'read' permission to view the 'test-version' web page. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
83b2acb7047866e43721313b7356176d |
User & Date: | mistachkin 2016-01-29 21:06:52.202 |
Context
2016-01-30
| ||
01:28 | Make configure more robust when using the in-tree zlib and OpenSSL. ... (check-in: b41f4284 user: mistachkin tags: trunk) | |
2016-01-29
| ||
22:36 | Make configure more robust when using the in-tree zlib and OpenSSL. ... (check-in: 0e342184 user: mistachkin tags: configInTree) | |
21:06 | Require the 'read' permission to view the 'test-version' web page. ... (check-in: 83b2acb7 user: mistachkin tags: trunk) | |
21:03 | Add test-version web page. Refactor command line 'version' command code into a function to help facilitate that. ... (check-in: f7cd247b user: mistachkin tags: trunk) | |
Changes
Changes to src/main.c.
︙ | ︙ | |||
1124 1125 1126 1127 1128 1129 1130 | ** ** Query parameters: ** ** verbose Show all available details. */ void test_version_page(void){ Blob versionInfo; | | > > > | 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 | ** ** Query parameters: ** ** verbose Show all available details. */ void test_version_page(void){ Blob versionInfo; int verboseFlag; login_check_credentials(); if( !g.perm.Read ){ login_needed(g.anon.Read); return; } verboseFlag = P("verbose")!=0; style_header("Version Information"); get_version_blob(&versionInfo, verboseFlag); @ <blockquote><pre> @ %h(blob_str(&versionInfo)) @ </pre></blockquote> style_footer(); } |
︙ | ︙ |