Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Back out check-in [fc23960258211b5bc]. This will close ticket [a534227710d3e5] but re-open ticket [3b1533a090eebd09d]. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
f7ec914037f76c94968af7072d107d6e |
| User & Date: | drh 2010-04-22 15:18:42.000 |
Context
|
2010-04-22
| ||
| 15:48 | Infrastructure changes that will allow the client-side sync to be run from a web interface - the status messages now go to CGI output if the sync is run from a web page. This is a partial implementation of the "SyncNow" button. The button itself has not yet been added. ... (check-in: c56af61e5e user: drh tags: trunk) | |
| 15:18 | Back out check-in [fc23960258211b5bc]. This will close ticket [a534227710d3e5] but re-open ticket [3b1533a090eebd09d]. ... (check-in: f7ec914037 user: drh tags: trunk) | |
| 12:44 | Improved detection of invalid home directories and better error messages when invalid home directories are detected. Ticket [c3971eac71a1bd0] ... (check-in: 822133a763 user: drh tags: trunk) | |
|
2010-01-26
| ||
| 14:38 | Added --admin-user|-A USERNAME to the new command which will set the default admin user name. If not supplied, the existing mechanism is used to determine the default user name. This implements [9195b1e5f3]. ... (check-in: b8d812efb9 user: jeremy_c tags: trunk) | |
Changes
Changes to src/setup.c.
| ︙ | ︙ | |||
84 85 86 87 88 89 90 |
"Change the logo image for the server");
setup_menu_entry("Shunned", "shun",
"Show artifacts that are shunned by this repository");
setup_menu_entry("Log", "rcvfromlist",
"A record of received artifacts and their sources");
setup_menu_entry("Stats", "stat",
"Display repository statistics");
| < < | 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
"Change the logo image for the server");
setup_menu_entry("Shunned", "shun",
"Show artifacts that are shunned by this repository");
setup_menu_entry("Log", "rcvfromlist",
"A record of received artifacts and their sources");
setup_menu_entry("Stats", "stat",
"Display repository statistics");
@ </table>
style_footer();
}
/*
** WEBPAGE: setup_ulist
|
| ︙ | ︙ | |||
181 182 183 184 185 186 187 |
@ <tr><td valign="top"><b>r</b></td>
@ <td><i>Read-Tkt:</i> View tickets</td></tr>
@ <tr><td valign="top"><b>s</b></td>
@ <td><i>Setup/Super-user:</i> Setup and configure this website</td></tr>
@ <tr><td valign="top"><b>t</b></td>
@ <td><i>Tkt-Report:</i> Create new bug summary reports</td></tr>
@ <tr><td valign="top"><b>u</b></td>
| | | | 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 |
@ <tr><td valign="top"><b>r</b></td>
@ <td><i>Read-Tkt:</i> View tickets</td></tr>
@ <tr><td valign="top"><b>s</b></td>
@ <td><i>Setup/Super-user:</i> Setup and configure this website</td></tr>
@ <tr><td valign="top"><b>t</b></td>
@ <td><i>Tkt-Report:</i> Create new bug summary reports</td></tr>
@ <tr><td valign="top"><b>u</b></td>
@ <td><i>Reader:</i> Inherit privileges of
@ user <tt>reader</tt></td></tr>
@ <tr><td valign="top"><b>v</b></td>
@ <td><i>Developer:</i> Inherit privileges of
@ user <tt>developer</tt></td></tr>
@ <tr><td valign="top"><b>w</b></td>
@ <td><i>Write-Tkt:</i> Edit tickets</td></tr>
@ <tr><td valign="top"><b>z</b></td>
@ <td><i>Zip download:</i> Download a baseline via the
@ <tt>/zip</tt> URL even without check<b>o</b>ut
@ and <b>h</b>istory permissions</td></tr>
|
| ︙ | ︙ | |||
598 599 600 601 602 603 604 | @ @ <li><p> @ Login is prohibited if the password is an empty string. @ </p></li> @ </ul> @ @ <h2>Special Logins</h2> | | | 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 | @ @ <li><p> @ Login is prohibited if the password is an empty string. @ </p></li> @ </ul> @ @ <h2>Special Logins</h2> @ @ <ul> @ <li><p> @ No login is required for user "<b>nobody</b>". The capabilities @ of the <b>nobody</b> user are inherited by all users, regardless of @ whether or not they are logged in. To disable universal access @ to the repository, make sure no user named "<b>nobody</b>" exists or @ that the <b>nobody</b> user has no capabilities enabled. |
| ︙ | ︙ | |||
755 756 757 758 759 760 761 |
@ <hr>
entry_attribute("Download packet limit", 10, "max-download", "mxdwn",
"5000000");
@ <p>Fossil tries to limit out-bound sync, clone, and pull packets
@ to this many bytes, uncompressed. If the client requires more data
@ than this, then the client will issue multiple HTTP requests.
| | | 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 |
@ <hr>
entry_attribute("Download packet limit", 10, "max-download", "mxdwn",
"5000000");
@ <p>Fossil tries to limit out-bound sync, clone, and pull packets
@ to this many bytes, uncompressed. If the client requires more data
@ than this, then the client will issue multiple HTTP requests.
@ Values below 1 million are not recommended. 5 million is a
@ reasonable number.</p>
@ <hr>
onoff_attribute("Show javascript button to fill in CAPTCHA",
"auto-captcha", "autocaptcha", 0);
@ <p>When enabled, a button appears on the login screen for user
@ "anonymous" that will automatically fill in the CAPTCHA password.
|
| ︙ | ︙ | |||
809 810 811 812 813 814 815 |
"show-version-diffs", "vdiff", 0);
@ <p>On the version-information pages linked from the timeline can either
@ show complete diffs of all file changes, or can just list the names of
@ the files that have changed. Users can get to either page by
@ clicking. This setting selects the default.</p>
@ <hr>
| | | 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 |
"show-version-diffs", "vdiff", 0);
@ <p>On the version-information pages linked from the timeline can either
@ show complete diffs of all file changes, or can just list the names of
@ the files that have changed. Users can get to either page by
@ clicking. This setting selects the default.</p>
@ <hr>
entry_attribute("Max timeline comment length", 6,
"timeline-max-comment", "tmc", "0");
@ <p>The maximum length of a comment to be displayed in a timeline.
@ "0" there is no length limit.</p>
@ <hr>
@ <p><input type="submit" name="submit" value="Apply Changes"></p>
@ </form>
|
| ︙ | ︙ | |||
854 855 856 857 858 859 860 |
@ anonymous users.</p>
@ <hr>
onoff_attribute("Sign all commits with GPG",
"clearsign", "clearsign", 0);
@ <p>When enabled (the default), fossil will attempt to
@ sign all commits with GPG. When disabled, commits will
| | | | | | | | | | | | | | | | | | | | | | | | | | | 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 |
@ anonymous users.</p>
@ <hr>
onoff_attribute("Sign all commits with GPG",
"clearsign", "clearsign", 0);
@ <p>When enabled (the default), fossil will attempt to
@ sign all commits with GPG. When disabled, commits will
@ be unsigned.</p>
@ <hr>
onoff_attribute("Require local authentication",
"localauth", "localauth", 0);
@ <p>If enabled, require that HTTP connections from
@ 127.0.0.1 be authenticated by password. If
@ false, all HTTP requests from localhost have
@ unrestricted access to the repository.</p>
@ <hr>
onoff_attribute("Modification times used to detect changes",
"mtime-changes", "mtime-changes", 0);
@ <p>Use file modification times (mtimes) to detect when files have been modified.</p>
@ <hr>
entry_attribute("File Ignore Glob", 40,
"ignore-glob", "ignore-glob", "");
@ <p>Cause the 'extra' command to ignore files matching the glob. Example:
@ '*.o,*.a,*.bck,*~'</p>
@ <hr>
entry_attribute("Diff Command", 16,
"diff-command", "diff-command", "diff");
@ <p>External command used to generate a textual diff</p>
@ <hr>
entry_attribute("Gdiff Command", 16,
"gdiff-command", "gdiff-command", "gdiff");
@ <p>External command to run when performing a graphical diff. If undefined, text diff will be used.</p>
@ <hr>
entry_attribute("Editor", 16,
"editor", "editor", "");
@ <p>Text editor command used for check-in comments.</p>
@ <hr>
entry_attribute("HTTP port", 16,
"http-port", "http-port", "8080");
@ <p>The TCP/IP port number to use by the "server" and "ui" commands. Default: 8080</p>
@ <hr>
entry_attribute("PGP Command", 32,
"pgp-command", "pgp-command", "gpg --clearsign -o ");
@ <p>Command used to clear-sign manifests at check-in.The default is "gpg --clearsign -o ".</p>
@ <hr>
entry_attribute("Proxy", 32,
"proxy", "proxy", "off");
@ <p>URL of the HTTP proxy.</p>
@ <hr>
entry_attribute("Web browser", 32,
"web-browser", "web-browser", "");
@ <p>Default web browser for "fossil ui".</p>
@ <hr>
@ <p><input type="submit" name="submit" value="Apply Changes"></p>
@ </form>
db_end_transaction(0);
style_footer();
}
|
| ︙ | ︙ | |||
1010 1011 1012 1013 1014 1015 1016 | @ <input type="submit" name="clear" value="Revert To Default"> @ </form> @ <p><b>Note:</b> Press your browser Reload button after modifying the @ CSS in order to pull in the modified CSS file.</p> @ <hr> @ The default CSS is shown below for reference. Other examples @ of CSS files can be seen on the <a href="setup_skin">skins page</a>. | | | 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 | @ <input type="submit" name="clear" value="Revert To Default"> @ </form> @ <p><b>Note:</b> Press your browser Reload button after modifying the @ CSS in order to pull in the modified CSS file.</p> @ <hr> @ The default CSS is shown below for reference. Other examples @ of CSS files can be seen on the <a href="setup_skin">skins page</a>. @ See also the <a href="setup_header">header</a> and @ <a href="setup_footer">footer</a> editing screens. @ <blockquote><pre> @ %h(zDefaultCSS) @ </pre></blockquote> style_footer(); db_end_transaction(0); } |
| ︙ | ︙ | |||
1113 1114 1115 1116 1117 1118 1119 |
login_needed();
}
db_begin_transaction();
if( P("set")!=0 && zMime && zMime[0] && szImg>0 ){
Blob img;
Stmt ins;
blob_init(&img, aImg, szImg);
| | | 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 |
login_needed();
}
db_begin_transaction();
if( P("set")!=0 && zMime && zMime[0] && szImg>0 ){
Blob img;
Stmt ins;
blob_init(&img, aImg, szImg);
db_prepare(&ins,
"REPLACE INTO config(name, value)"
" VALUES('logo-image',:bytes)"
);
db_bind_blob(&ins, ":bytes", &img);
db_step(&ins);
db_finalize(&ins);
db_multi_exec(
|
| ︙ | ︙ | |||
1137 1138 1139 1140 1141 1142 1143 |
db_end_transaction(0);
cgi_redirect("setup_logo");
}
style_header("Edit Project Logo");
@ <p>The current project logo has a MIME-Type of <b>%h(zMime)</b> and looks
@ like this:</p>
@ <blockquote><img src="%s(g.zTop)/logo" alt="logo"></blockquote>
| | | 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 |
db_end_transaction(0);
cgi_redirect("setup_logo");
}
style_header("Edit Project Logo");
@ <p>The current project logo has a MIME-Type of <b>%h(zMime)</b> and looks
@ like this:</p>
@ <blockquote><img src="%s(g.zTop)/logo" alt="logo"></blockquote>
@
@ <p>The logo is accessible to all users at this URL:
@ <a href="%s(g.zBaseURL)/logo">%s(g.zBaseURL)/logo</a>.
@ The logo may or may not appear on each
@ page depending on the <a href="setup_editcss">CSS</a> and
@ <a href="setup_header">header setup</a>.</p>
@
@ <form action="%s(g.zBaseURL)/setup_logo" method="POST"
|
| ︙ | ︙ | |||
1162 1163 1164 1165 1166 1167 1168 | @ <p><b>Note:</b> Your browser has probably cached the logo image, so @ you will probably need to press the Reload button on your browser after @ changing the logo to provoke your browser to reload the new logo image. @ </p> style_footer(); db_end_transaction(0); } | < < < < < < < < < < | 1160 1161 1162 1163 1164 1165 1166 | @ <p><b>Note:</b> Your browser has probably cached the logo image, so @ you will probably need to press the Reload button on your browser after @ changing the logo to provoke your browser to reload the new logo image. @ </p> style_footer(); db_end_transaction(0); } |