Fossil SCM

Added the new ignore-glob setting to the Behavior area of the Admin UI

jeremy_c 2010-03-16 14:25 trunk
Commit 557e8389db91eba005d8bb0f9ab749114d44977a
1 file changed +39 -33
+39 -33
--- src/setup.c
+++ src/setup.c
@@ -181,14 +181,14 @@
181181
@ <tr><td valign="top"><b>s</b></td>
182182
@ <td><i>Setup/Super-user:</i> Setup and configure this website</td></tr>
183183
@ <tr><td valign="top"><b>t</b></td>
184184
@ <td><i>Tkt-Report:</i> Create new bug summary reports</td></tr>
185185
@ <tr><td valign="top"><b>u</b></td>
186
- @ <td><i>Reader:</i> Inherit privileges of
186
+ @ <td><i>Reader:</i> Inherit privileges of
187187
@ user <tt>reader</tt></td></tr>
188188
@ <tr><td valign="top"><b>v</b></td>
189
- @ <td><i>Developer:</i> Inherit privileges of
189
+ @ <td><i>Developer:</i> Inherit privileges of
190190
@ user <tt>developer</tt></td></tr>
191191
@ <tr><td valign="top"><b>w</b></td>
192192
@ <td><i>Write-Tkt:</i> Edit tickets</td></tr>
193193
@ <tr><td valign="top"><b>z</b></td>
194194
@ <td><i>Zip download:</i> Download a baseline via the
@@ -589,11 +589,11 @@
589589
@ Login is prohibited if the password is an empty string.
590590
@ </p></li>
591591
@ </ul>
592592
@
593593
@ <h2>Special Logins</h2>
594
- @
594
+ @
595595
@ <ul>
596596
@ <li><p>
597597
@ No login is required for user "<b>nobody</b>". The capabilities
598598
@ of the <b>nobody</b> user are inherited by all users, regardless of
599599
@ whether or not they are logged in. To disable universal access
@@ -747,11 +747,11 @@
747747
entry_attribute("Download packet limit", 10, "max-download", "mxdwn",
748748
"5000000");
749749
@ <p>Fossil tries to limit out-bound sync, clone, and pull packets
750750
@ to this many bytes, uncompressed. If the client requires more data
751751
@ than this, then the client will issue multiple HTTP requests.
752
- @ Values below 1 million are not recommended. 5 million is a
752
+ @ Values below 1 million are not recommended. 5 million is a
753753
@ reasonable number.</p>
754754
755755
@ <hr>
756756
@ <p><input type="submit" name="submit" value="Apply Changes"></p>
757757
@ </form>
@@ -792,11 +792,11 @@
792792
@ show complete diffs of all file changes, or can just list the names of
793793
@ the files that have changed. Users can get to either page by
794794
@ clicking. This setting selects the default.</p>
795795
796796
@ <hr>
797
- entry_attribute("Max timeline comment length", 6,
797
+ entry_attribute("Max timeline comment length", 6,
798798
"timeline-max-comment", "tmc", "0");
799799
@ <p>The maximum length of a comment to be displayed in a timeline.
800800
@ "0" there is no length limit.</p>
801801
802802
@ <hr>
@@ -837,59 +837,65 @@
837837
@ <hr>
838838
onoff_attribute("Sign all commits with GPG",
839839
"clearsign", "clearsign", 0);
840840
@ <p>When enabled (the default), fossil will attempt to
841841
@ sign all commits with GPG. When disabled, commits will
842
- @ be unsigned.</p>
843
-
842
+ @ be unsigned.</p>
843
+
844844
@ <hr>
845845
onoff_attribute("Require local authentication",
846846
"localauth", "localauth", 0);
847847
@ <p>If enabled, require that HTTP connections from
848848
@ 127.0.0.1 be authenticated by password. If
849849
@ false, all HTTP requests from localhost have
850
- @ unrestricted access to the repository.</p>
851
-
850
+ @ unrestricted access to the repository.</p>
851
+
852852
@ <hr>
853853
onoff_attribute("Modification times used to detect changes",
854854
"mtime-changes", "mtime-changes", 0);
855
- @ <p>Use file modification times (mtimes) to detect when files have been modified.</p>
856
-
855
+ @ <p>Use file modification times (mtimes) to detect when files have been modified.</p>
856
+
857
+ @ <hr>
858
+ entry_attribute("File Ignore Glob", 16,
859
+ "ignore-glob", "ignore-glob", "");
860
+ @ <p>Cause the 'extra' command to ignore files matching the glob. Example:
861
+ @ '*.o,*.a,*.bck,*~'</p>
862
+
857863
@ <hr>
858
- entry_attribute("Diff Command", 16,
864
+ entry_attribute("Diff Command", 16,
859865
"diff-command", "diff-command", "diff");
860
- @ <p>External command used to generate a textual diff</p>
861
-
866
+ @ <p>External command used to generate a textual diff</p>
867
+
862868
@ <hr>
863
- entry_attribute("Gdiff Command", 16,
869
+ entry_attribute("Gdiff Command", 16,
864870
"gdiff-command", "gdiff-command", "gdiff");
865
- @ <p>External command to run when performing a graphical diff. If undefined, text diff will be used.</p>
866
-
871
+ @ <p>External command to run when performing a graphical diff. If undefined, text diff will be used.</p>
872
+
867873
@ <hr>
868
- entry_attribute("Editor", 16,
874
+ entry_attribute("Editor", 16,
869875
"editor", "editor", "");
870
- @ <p>Text editor command used for check-in comments.</p>
871
-
876
+ @ <p>Text editor command used for check-in comments.</p>
877
+
872878
@ <hr>
873
- entry_attribute("HTTP port", 16,
879
+ entry_attribute("HTTP port", 16,
874880
"http-port", "http-port", "8080");
875
- @ <p>The TCP/IP port number to use by the "server" and "ui" commands. Default: 8080</p>
881
+ @ <p>The TCP/IP port number to use by the "server" and "ui" commands. Default: 8080</p>
876882
877883
@ <hr>
878
- entry_attribute("PGP Command", 32,
884
+ entry_attribute("PGP Command", 32,
879885
"pgp-command", "pgp-command", "gpg --clearsign -o ");
880
- @ <p>Command used to clear-sign manifests at check-in.The default is "gpg --clearsign -o ".</p>
881
-
886
+ @ <p>Command used to clear-sign manifests at check-in.The default is "gpg --clearsign -o ".</p>
887
+
882888
@ <hr>
883
- entry_attribute("Proxy", 32,
889
+ entry_attribute("Proxy", 32,
884890
"proxy", "proxy", "off");
885
- @ <p>URL of the HTTP proxy.</p>
886
-
891
+ @ <p>URL of the HTTP proxy.</p>
892
+
887893
@ <hr>
888
- entry_attribute("Web browser", 32,
894
+ entry_attribute("Web browser", 32,
889895
"web-browser", "web-browser", "");
890
- @ <p>Default web browser for "fossil ui".</p>
896
+ @ <p>Default web browser for "fossil ui".</p>
891897
892898
@ <hr>
893899
@ <p><input type="submit" name="submit" value="Apply Changes"></p>
894900
@ </form>
895901
db_end_transaction(0);
@@ -987,11 +993,11 @@
987993
@ <p><b>Note:</b> Press your browser Reload button after modifying the
988994
@ CSS in order to pull in the modified CSS file.</p>
989995
@ <hr>
990996
@ The default CSS is shown below for reference. Other examples
991997
@ of CSS files can be seen on the <a href="setup_skin">skins page</a>.
992
- @ See also the <a href="setup_header">header</a> and
998
+ @ See also the <a href="setup_header">header</a> and
993999
@ <a href="setup_footer">footer</a> editing screens.
9941000
@ <blockquote><pre>
9951001
@ %h(zDefaultCSS)
9961002
@ </pre></blockquote>
9971003
style_footer();
@@ -1090,11 +1096,11 @@
10901096
db_begin_transaction();
10911097
if( P("set")!=0 && zMime && zMime[0] && szImg>0 ){
10921098
Blob img;
10931099
Stmt ins;
10941100
blob_init(&img, aImg, szImg);
1095
- db_prepare(&ins,
1101
+ db_prepare(&ins,
10961102
"REPLACE INTO config(name, value)"
10971103
" VALUES('logo-image',:bytes)"
10981104
);
10991105
db_bind_blob(&ins, ":bytes", &img);
11001106
db_step(&ins);
@@ -1114,11 +1120,11 @@
11141120
}
11151121
style_header("Edit Project Logo");
11161122
@ <p>The current project logo has a MIME-Type of <b>%h(zMime)</b> and looks
11171123
@ like this:</p>
11181124
@ <blockquote><img src="%s(g.zTop)/logo" alt="logo"></blockquote>
1119
- @
1125
+ @
11201126
@ <p>The logo is accessible to all users at this URL:
11211127
@ <a href="%s(g.zBaseURL)/logo">%s(g.zBaseURL)/logo</a>.
11221128
@ The logo may or may not appear on each
11231129
@ page depending on the <a href="setup_editcss">CSS</a> and
11241130
@ <a href="setup_header">header setup</a>.</p>
11251131
--- src/setup.c
+++ src/setup.c
@@ -181,14 +181,14 @@
181 @ <tr><td valign="top"><b>s</b></td>
182 @ <td><i>Setup/Super-user:</i> Setup and configure this website</td></tr>
183 @ <tr><td valign="top"><b>t</b></td>
184 @ <td><i>Tkt-Report:</i> Create new bug summary reports</td></tr>
185 @ <tr><td valign="top"><b>u</b></td>
186 @ <td><i>Reader:</i> Inherit privileges of
187 @ user <tt>reader</tt></td></tr>
188 @ <tr><td valign="top"><b>v</b></td>
189 @ <td><i>Developer:</i> Inherit privileges of
190 @ user <tt>developer</tt></td></tr>
191 @ <tr><td valign="top"><b>w</b></td>
192 @ <td><i>Write-Tkt:</i> Edit tickets</td></tr>
193 @ <tr><td valign="top"><b>z</b></td>
194 @ <td><i>Zip download:</i> Download a baseline via the
@@ -589,11 +589,11 @@
589 @ Login is prohibited if the password is an empty string.
590 @ </p></li>
591 @ </ul>
592 @
593 @ <h2>Special Logins</h2>
594 @
595 @ <ul>
596 @ <li><p>
597 @ No login is required for user "<b>nobody</b>". The capabilities
598 @ of the <b>nobody</b> user are inherited by all users, regardless of
599 @ whether or not they are logged in. To disable universal access
@@ -747,11 +747,11 @@
747 entry_attribute("Download packet limit", 10, "max-download", "mxdwn",
748 "5000000");
749 @ <p>Fossil tries to limit out-bound sync, clone, and pull packets
750 @ to this many bytes, uncompressed. If the client requires more data
751 @ than this, then the client will issue multiple HTTP requests.
752 @ Values below 1 million are not recommended. 5 million is a
753 @ reasonable number.</p>
754
755 @ <hr>
756 @ <p><input type="submit" name="submit" value="Apply Changes"></p>
757 @ </form>
@@ -792,11 +792,11 @@
792 @ show complete diffs of all file changes, or can just list the names of
793 @ the files that have changed. Users can get to either page by
794 @ clicking. This setting selects the default.</p>
795
796 @ <hr>
797 entry_attribute("Max timeline comment length", 6,
798 "timeline-max-comment", "tmc", "0");
799 @ <p>The maximum length of a comment to be displayed in a timeline.
800 @ "0" there is no length limit.</p>
801
802 @ <hr>
@@ -837,59 +837,65 @@
837 @ <hr>
838 onoff_attribute("Sign all commits with GPG",
839 "clearsign", "clearsign", 0);
840 @ <p>When enabled (the default), fossil will attempt to
841 @ sign all commits with GPG. When disabled, commits will
842 @ be unsigned.</p>
843
844 @ <hr>
845 onoff_attribute("Require local authentication",
846 "localauth", "localauth", 0);
847 @ <p>If enabled, require that HTTP connections from
848 @ 127.0.0.1 be authenticated by password. If
849 @ false, all HTTP requests from localhost have
850 @ unrestricted access to the repository.</p>
851
852 @ <hr>
853 onoff_attribute("Modification times used to detect changes",
854 "mtime-changes", "mtime-changes", 0);
855 @ <p>Use file modification times (mtimes) to detect when files have been modified.</p>
856
 
 
 
 
 
 
857 @ <hr>
858 entry_attribute("Diff Command", 16,
859 "diff-command", "diff-command", "diff");
860 @ <p>External command used to generate a textual diff</p>
861
862 @ <hr>
863 entry_attribute("Gdiff Command", 16,
864 "gdiff-command", "gdiff-command", "gdiff");
865 @ <p>External command to run when performing a graphical diff. If undefined, text diff will be used.</p>
866
867 @ <hr>
868 entry_attribute("Editor", 16,
869 "editor", "editor", "");
870 @ <p>Text editor command used for check-in comments.</p>
871
872 @ <hr>
873 entry_attribute("HTTP port", 16,
874 "http-port", "http-port", "8080");
875 @ <p>The TCP/IP port number to use by the "server" and "ui" commands. Default: 8080</p>
876
877 @ <hr>
878 entry_attribute("PGP Command", 32,
879 "pgp-command", "pgp-command", "gpg --clearsign -o ");
880 @ <p>Command used to clear-sign manifests at check-in.The default is "gpg --clearsign -o ".</p>
881
882 @ <hr>
883 entry_attribute("Proxy", 32,
884 "proxy", "proxy", "off");
885 @ <p>URL of the HTTP proxy.</p>
886
887 @ <hr>
888 entry_attribute("Web browser", 32,
889 "web-browser", "web-browser", "");
890 @ <p>Default web browser for "fossil ui".</p>
891
892 @ <hr>
893 @ <p><input type="submit" name="submit" value="Apply Changes"></p>
894 @ </form>
895 db_end_transaction(0);
@@ -987,11 +993,11 @@
987 @ <p><b>Note:</b> Press your browser Reload button after modifying the
988 @ CSS in order to pull in the modified CSS file.</p>
989 @ <hr>
990 @ The default CSS is shown below for reference. Other examples
991 @ of CSS files can be seen on the <a href="setup_skin">skins page</a>.
992 @ See also the <a href="setup_header">header</a> and
993 @ <a href="setup_footer">footer</a> editing screens.
994 @ <blockquote><pre>
995 @ %h(zDefaultCSS)
996 @ </pre></blockquote>
997 style_footer();
@@ -1090,11 +1096,11 @@
1090 db_begin_transaction();
1091 if( P("set")!=0 && zMime && zMime[0] && szImg>0 ){
1092 Blob img;
1093 Stmt ins;
1094 blob_init(&img, aImg, szImg);
1095 db_prepare(&ins,
1096 "REPLACE INTO config(name, value)"
1097 " VALUES('logo-image',:bytes)"
1098 );
1099 db_bind_blob(&ins, ":bytes", &img);
1100 db_step(&ins);
@@ -1114,11 +1120,11 @@
1114 }
1115 style_header("Edit Project Logo");
1116 @ <p>The current project logo has a MIME-Type of <b>%h(zMime)</b> and looks
1117 @ like this:</p>
1118 @ <blockquote><img src="%s(g.zTop)/logo" alt="logo"></blockquote>
1119 @
1120 @ <p>The logo is accessible to all users at this URL:
1121 @ <a href="%s(g.zBaseURL)/logo">%s(g.zBaseURL)/logo</a>.
1122 @ The logo may or may not appear on each
1123 @ page depending on the <a href="setup_editcss">CSS</a> and
1124 @ <a href="setup_header">header setup</a>.</p>
1125
--- src/setup.c
+++ src/setup.c
@@ -181,14 +181,14 @@
181 @ <tr><td valign="top"><b>s</b></td>
182 @ <td><i>Setup/Super-user:</i> Setup and configure this website</td></tr>
183 @ <tr><td valign="top"><b>t</b></td>
184 @ <td><i>Tkt-Report:</i> Create new bug summary reports</td></tr>
185 @ <tr><td valign="top"><b>u</b></td>
186 @ <td><i>Reader:</i> Inherit privileges of
187 @ user <tt>reader</tt></td></tr>
188 @ <tr><td valign="top"><b>v</b></td>
189 @ <td><i>Developer:</i> Inherit privileges of
190 @ user <tt>developer</tt></td></tr>
191 @ <tr><td valign="top"><b>w</b></td>
192 @ <td><i>Write-Tkt:</i> Edit tickets</td></tr>
193 @ <tr><td valign="top"><b>z</b></td>
194 @ <td><i>Zip download:</i> Download a baseline via the
@@ -589,11 +589,11 @@
589 @ Login is prohibited if the password is an empty string.
590 @ </p></li>
591 @ </ul>
592 @
593 @ <h2>Special Logins</h2>
594 @
595 @ <ul>
596 @ <li><p>
597 @ No login is required for user "<b>nobody</b>". The capabilities
598 @ of the <b>nobody</b> user are inherited by all users, regardless of
599 @ whether or not they are logged in. To disable universal access
@@ -747,11 +747,11 @@
747 entry_attribute("Download packet limit", 10, "max-download", "mxdwn",
748 "5000000");
749 @ <p>Fossil tries to limit out-bound sync, clone, and pull packets
750 @ to this many bytes, uncompressed. If the client requires more data
751 @ than this, then the client will issue multiple HTTP requests.
752 @ Values below 1 million are not recommended. 5 million is a
753 @ reasonable number.</p>
754
755 @ <hr>
756 @ <p><input type="submit" name="submit" value="Apply Changes"></p>
757 @ </form>
@@ -792,11 +792,11 @@
792 @ show complete diffs of all file changes, or can just list the names of
793 @ the files that have changed. Users can get to either page by
794 @ clicking. This setting selects the default.</p>
795
796 @ <hr>
797 entry_attribute("Max timeline comment length", 6,
798 "timeline-max-comment", "tmc", "0");
799 @ <p>The maximum length of a comment to be displayed in a timeline.
800 @ "0" there is no length limit.</p>
801
802 @ <hr>
@@ -837,59 +837,65 @@
837 @ <hr>
838 onoff_attribute("Sign all commits with GPG",
839 "clearsign", "clearsign", 0);
840 @ <p>When enabled (the default), fossil will attempt to
841 @ sign all commits with GPG. When disabled, commits will
842 @ be unsigned.</p>
843
844 @ <hr>
845 onoff_attribute("Require local authentication",
846 "localauth", "localauth", 0);
847 @ <p>If enabled, require that HTTP connections from
848 @ 127.0.0.1 be authenticated by password. If
849 @ false, all HTTP requests from localhost have
850 @ unrestricted access to the repository.</p>
851
852 @ <hr>
853 onoff_attribute("Modification times used to detect changes",
854 "mtime-changes", "mtime-changes", 0);
855 @ <p>Use file modification times (mtimes) to detect when files have been modified.</p>
856
857 @ <hr>
858 entry_attribute("File Ignore Glob", 16,
859 "ignore-glob", "ignore-glob", "");
860 @ <p>Cause the 'extra' command to ignore files matching the glob. Example:
861 @ '*.o,*.a,*.bck,*~'</p>
862
863 @ <hr>
864 entry_attribute("Diff Command", 16,
865 "diff-command", "diff-command", "diff");
866 @ <p>External command used to generate a textual diff</p>
867
868 @ <hr>
869 entry_attribute("Gdiff Command", 16,
870 "gdiff-command", "gdiff-command", "gdiff");
871 @ <p>External command to run when performing a graphical diff. If undefined, text diff will be used.</p>
872
873 @ <hr>
874 entry_attribute("Editor", 16,
875 "editor", "editor", "");
876 @ <p>Text editor command used for check-in comments.</p>
877
878 @ <hr>
879 entry_attribute("HTTP port", 16,
880 "http-port", "http-port", "8080");
881 @ <p>The TCP/IP port number to use by the "server" and "ui" commands. Default: 8080</p>
882
883 @ <hr>
884 entry_attribute("PGP Command", 32,
885 "pgp-command", "pgp-command", "gpg --clearsign -o ");
886 @ <p>Command used to clear-sign manifests at check-in.The default is "gpg --clearsign -o ".</p>
887
888 @ <hr>
889 entry_attribute("Proxy", 32,
890 "proxy", "proxy", "off");
891 @ <p>URL of the HTTP proxy.</p>
892
893 @ <hr>
894 entry_attribute("Web browser", 32,
895 "web-browser", "web-browser", "");
896 @ <p>Default web browser for "fossil ui".</p>
897
898 @ <hr>
899 @ <p><input type="submit" name="submit" value="Apply Changes"></p>
900 @ </form>
901 db_end_transaction(0);
@@ -987,11 +993,11 @@
993 @ <p><b>Note:</b> Press your browser Reload button after modifying the
994 @ CSS in order to pull in the modified CSS file.</p>
995 @ <hr>
996 @ The default CSS is shown below for reference. Other examples
997 @ of CSS files can be seen on the <a href="setup_skin">skins page</a>.
998 @ See also the <a href="setup_header">header</a> and
999 @ <a href="setup_footer">footer</a> editing screens.
1000 @ <blockquote><pre>
1001 @ %h(zDefaultCSS)
1002 @ </pre></blockquote>
1003 style_footer();
@@ -1090,11 +1096,11 @@
1096 db_begin_transaction();
1097 if( P("set")!=0 && zMime && zMime[0] && szImg>0 ){
1098 Blob img;
1099 Stmt ins;
1100 blob_init(&img, aImg, szImg);
1101 db_prepare(&ins,
1102 "REPLACE INTO config(name, value)"
1103 " VALUES('logo-image',:bytes)"
1104 );
1105 db_bind_blob(&ins, ":bytes", &img);
1106 db_step(&ins);
@@ -1114,11 +1120,11 @@
1120 }
1121 style_header("Edit Project Logo");
1122 @ <p>The current project logo has a MIME-Type of <b>%h(zMime)</b> and looks
1123 @ like this:</p>
1124 @ <blockquote><img src="%s(g.zTop)/logo" alt="logo"></blockquote>
1125 @
1126 @ <p>The logo is accessible to all users at this URL:
1127 @ <a href="%s(g.zBaseURL)/logo">%s(g.zBaseURL)/logo</a>.
1128 @ The logo may or may not appear on each
1129 @ page depending on the <a href="setup_editcss">CSS</a> and
1130 @ <a href="setup_header">header setup</a>.</p>
1131

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button