Fossil SCM
Added the new ignore-glob setting to the Behavior area of the Admin UI
Commit
557e8389db91eba005d8bb0f9ab749114d44977a
Parent
dec136484819edf…
1 file changed
+39
-33
+39
-33
| --- src/setup.c | ||
| +++ src/setup.c | ||
| @@ -181,14 +181,14 @@ | ||
| 181 | 181 | @ <tr><td valign="top"><b>s</b></td> |
| 182 | 182 | @ <td><i>Setup/Super-user:</i> Setup and configure this website</td></tr> |
| 183 | 183 | @ <tr><td valign="top"><b>t</b></td> |
| 184 | 184 | @ <td><i>Tkt-Report:</i> Create new bug summary reports</td></tr> |
| 185 | 185 | @ <tr><td valign="top"><b>u</b></td> |
| 186 | - @ <td><i>Reader:</i> Inherit privileges of | |
| 186 | + @ <td><i>Reader:</i> Inherit privileges of | |
| 187 | 187 | @ user <tt>reader</tt></td></tr> |
| 188 | 188 | @ <tr><td valign="top"><b>v</b></td> |
| 189 | - @ <td><i>Developer:</i> Inherit privileges of | |
| 189 | + @ <td><i>Developer:</i> Inherit privileges of | |
| 190 | 190 | @ user <tt>developer</tt></td></tr> |
| 191 | 191 | @ <tr><td valign="top"><b>w</b></td> |
| 192 | 192 | @ <td><i>Write-Tkt:</i> Edit tickets</td></tr> |
| 193 | 193 | @ <tr><td valign="top"><b>z</b></td> |
| 194 | 194 | @ <td><i>Zip download:</i> Download a baseline via the |
| @@ -589,11 +589,11 @@ | ||
| 589 | 589 | @ Login is prohibited if the password is an empty string. |
| 590 | 590 | @ </p></li> |
| 591 | 591 | @ </ul> |
| 592 | 592 | @ |
| 593 | 593 | @ <h2>Special Logins</h2> |
| 594 | - @ | |
| 594 | + @ | |
| 595 | 595 | @ <ul> |
| 596 | 596 | @ <li><p> |
| 597 | 597 | @ No login is required for user "<b>nobody</b>". The capabilities |
| 598 | 598 | @ of the <b>nobody</b> user are inherited by all users, regardless of |
| 599 | 599 | @ whether or not they are logged in. To disable universal access |
| @@ -747,11 +747,11 @@ | ||
| 747 | 747 | entry_attribute("Download packet limit", 10, "max-download", "mxdwn", |
| 748 | 748 | "5000000"); |
| 749 | 749 | @ <p>Fossil tries to limit out-bound sync, clone, and pull packets |
| 750 | 750 | @ to this many bytes, uncompressed. If the client requires more data |
| 751 | 751 | @ 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 | |
| 753 | 753 | @ reasonable number.</p> |
| 754 | 754 | |
| 755 | 755 | @ <hr> |
| 756 | 756 | @ <p><input type="submit" name="submit" value="Apply Changes"></p> |
| 757 | 757 | @ </form> |
| @@ -792,11 +792,11 @@ | ||
| 792 | 792 | @ show complete diffs of all file changes, or can just list the names of |
| 793 | 793 | @ the files that have changed. Users can get to either page by |
| 794 | 794 | @ clicking. This setting selects the default.</p> |
| 795 | 795 | |
| 796 | 796 | @ <hr> |
| 797 | - entry_attribute("Max timeline comment length", 6, | |
| 797 | + entry_attribute("Max timeline comment length", 6, | |
| 798 | 798 | "timeline-max-comment", "tmc", "0"); |
| 799 | 799 | @ <p>The maximum length of a comment to be displayed in a timeline. |
| 800 | 800 | @ "0" there is no length limit.</p> |
| 801 | 801 | |
| 802 | 802 | @ <hr> |
| @@ -837,59 +837,65 @@ | ||
| 837 | 837 | @ <hr> |
| 838 | 838 | onoff_attribute("Sign all commits with GPG", |
| 839 | 839 | "clearsign", "clearsign", 0); |
| 840 | 840 | @ <p>When enabled (the default), fossil will attempt to |
| 841 | 841 | @ sign all commits with GPG. When disabled, commits will |
| 842 | - @ be unsigned.</p> | |
| 843 | - | |
| 842 | + @ be unsigned.</p> | |
| 843 | + | |
| 844 | 844 | @ <hr> |
| 845 | 845 | onoff_attribute("Require local authentication", |
| 846 | 846 | "localauth", "localauth", 0); |
| 847 | 847 | @ <p>If enabled, require that HTTP connections from |
| 848 | 848 | @ 127.0.0.1 be authenticated by password. If |
| 849 | 849 | @ false, all HTTP requests from localhost have |
| 850 | - @ unrestricted access to the repository.</p> | |
| 851 | - | |
| 850 | + @ unrestricted access to the repository.</p> | |
| 851 | + | |
| 852 | 852 | @ <hr> |
| 853 | 853 | onoff_attribute("Modification times used to detect changes", |
| 854 | 854 | "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 | + | |
| 857 | 863 | @ <hr> |
| 858 | - entry_attribute("Diff Command", 16, | |
| 864 | + entry_attribute("Diff Command", 16, | |
| 859 | 865 | "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 | + | |
| 862 | 868 | @ <hr> |
| 863 | - entry_attribute("Gdiff Command", 16, | |
| 869 | + entry_attribute("Gdiff Command", 16, | |
| 864 | 870 | "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 | + | |
| 867 | 873 | @ <hr> |
| 868 | - entry_attribute("Editor", 16, | |
| 874 | + entry_attribute("Editor", 16, | |
| 869 | 875 | "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 | + | |
| 872 | 878 | @ <hr> |
| 873 | - entry_attribute("HTTP port", 16, | |
| 879 | + entry_attribute("HTTP port", 16, | |
| 874 | 880 | "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> | |
| 876 | 882 | |
| 877 | 883 | @ <hr> |
| 878 | - entry_attribute("PGP Command", 32, | |
| 884 | + entry_attribute("PGP Command", 32, | |
| 879 | 885 | "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 | + | |
| 882 | 888 | @ <hr> |
| 883 | - entry_attribute("Proxy", 32, | |
| 889 | + entry_attribute("Proxy", 32, | |
| 884 | 890 | "proxy", "proxy", "off"); |
| 885 | - @ <p>URL of the HTTP proxy.</p> | |
| 886 | - | |
| 891 | + @ <p>URL of the HTTP proxy.</p> | |
| 892 | + | |
| 887 | 893 | @ <hr> |
| 888 | - entry_attribute("Web browser", 32, | |
| 894 | + entry_attribute("Web browser", 32, | |
| 889 | 895 | "web-browser", "web-browser", ""); |
| 890 | - @ <p>Default web browser for "fossil ui".</p> | |
| 896 | + @ <p>Default web browser for "fossil ui".</p> | |
| 891 | 897 | |
| 892 | 898 | @ <hr> |
| 893 | 899 | @ <p><input type="submit" name="submit" value="Apply Changes"></p> |
| 894 | 900 | @ </form> |
| 895 | 901 | db_end_transaction(0); |
| @@ -987,11 +993,11 @@ | ||
| 987 | 993 | @ <p><b>Note:</b> Press your browser Reload button after modifying the |
| 988 | 994 | @ CSS in order to pull in the modified CSS file.</p> |
| 989 | 995 | @ <hr> |
| 990 | 996 | @ The default CSS is shown below for reference. Other examples |
| 991 | 997 | @ 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 | |
| 993 | 999 | @ <a href="setup_footer">footer</a> editing screens. |
| 994 | 1000 | @ <blockquote><pre> |
| 995 | 1001 | @ %h(zDefaultCSS) |
| 996 | 1002 | @ </pre></blockquote> |
| 997 | 1003 | style_footer(); |
| @@ -1090,11 +1096,11 @@ | ||
| 1090 | 1096 | db_begin_transaction(); |
| 1091 | 1097 | if( P("set")!=0 && zMime && zMime[0] && szImg>0 ){ |
| 1092 | 1098 | Blob img; |
| 1093 | 1099 | Stmt ins; |
| 1094 | 1100 | blob_init(&img, aImg, szImg); |
| 1095 | - db_prepare(&ins, | |
| 1101 | + db_prepare(&ins, | |
| 1096 | 1102 | "REPLACE INTO config(name, value)" |
| 1097 | 1103 | " VALUES('logo-image',:bytes)" |
| 1098 | 1104 | ); |
| 1099 | 1105 | db_bind_blob(&ins, ":bytes", &img); |
| 1100 | 1106 | db_step(&ins); |
| @@ -1114,11 +1120,11 @@ | ||
| 1114 | 1120 | } |
| 1115 | 1121 | style_header("Edit Project Logo"); |
| 1116 | 1122 | @ <p>The current project logo has a MIME-Type of <b>%h(zMime)</b> and looks |
| 1117 | 1123 | @ like this:</p> |
| 1118 | 1124 | @ <blockquote><img src="%s(g.zTop)/logo" alt="logo"></blockquote> |
| 1119 | - @ | |
| 1125 | + @ | |
| 1120 | 1126 | @ <p>The logo is accessible to all users at this URL: |
| 1121 | 1127 | @ <a href="%s(g.zBaseURL)/logo">%s(g.zBaseURL)/logo</a>. |
| 1122 | 1128 | @ The logo may or may not appear on each |
| 1123 | 1129 | @ page depending on the <a href="setup_editcss">CSS</a> and |
| 1124 | 1130 | @ <a href="setup_header">header setup</a>.</p> |
| 1125 | 1131 |
| --- 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 |