Fossil SCM

Identify security-sensitive settings.

drh 2020-08-17 15:11 sec2020
Commit aa4c3afc52f6a94f5d2f4da3468fbff9a3796f6aa5a712105252dd591785c87f
3 files changed +5 -5 +17 -30 +3
+5 -5
--- src/alerts.c
+++ src/alerts.c
@@ -936,11 +936,11 @@
936936
** This is a short name used to identifies the repository in the Subject:
937937
** line of email alerts. Traditionally this name is included in square
938938
** brackets. Examples: "[fossil-src]", "[sqlite-src]".
939939
*/
940940
/*
941
-** SETTING: email-send-method width=5 default=off
941
+** SETTING: email-send-method width=5 default=off sensitive
942942
** Determine the method used to send email. Allowed values are
943943
** "off", "relay", "pipe", "dir", "db", and "stdout". The "off" value
944944
** means no email is ever sent. The "relay" value means emails are sent
945945
** to an Mail Sending Agent using SMTP located at email-send-relayhost.
946946
** The "pipe" value means email messages are piped into a command
@@ -949,33 +949,33 @@
949949
** by the email-send-dir setting. The "db" value means that emails
950950
** are added to an SQLite database named by the* email-send-db setting.
951951
** The "stdout" value writes email text to standard output, for debugging.
952952
*/
953953
/*
954
-** SETTING: email-send-command width=40
954
+** SETTING: email-send-command width=40 sensitive
955955
** This is a command to which outbound email content is piped when the
956956
** email-send-method is set to "pipe". The command must extract
957957
** recipient, sender, subject, and all other relevant information
958958
** from the email header.
959959
*/
960960
/*
961
-** SETTING: email-send-dir width=40
961
+** SETTING: email-send-dir width=40 sensitive
962962
** This is a directory into which outbound emails are written as individual
963963
** files if the email-send-method is set to "dir".
964964
*/
965965
/*
966
-** SETTING: email-send-db width=40
966
+** SETTING: email-send-db width=40 sensitive
967967
** This is an SQLite database file into which outbound emails are written
968968
** if the email-send-method is set to "db".
969969
*/
970970
/*
971971
** SETTING: email-self width=40
972972
** This is the email address for the repository. Outbound emails add
973973
** this email address as the "From:" field.
974974
*/
975975
/*
976
-** SETTING: email-send-relayhost width=40
976
+** SETTING: email-send-relayhost width=40 sensitive
977977
** This is the hostname and TCP port to which output email messages
978978
** are sent when email-send-method is "relay". There should be an
979979
** SMTP server configured as a Mail Submission Agent listening on the
980980
** designated host and port and all times.
981981
*/
982982
--- src/alerts.c
+++ src/alerts.c
@@ -936,11 +936,11 @@
936 ** This is a short name used to identifies the repository in the Subject:
937 ** line of email alerts. Traditionally this name is included in square
938 ** brackets. Examples: "[fossil-src]", "[sqlite-src]".
939 */
940 /*
941 ** SETTING: email-send-method width=5 default=off
942 ** Determine the method used to send email. Allowed values are
943 ** "off", "relay", "pipe", "dir", "db", and "stdout". The "off" value
944 ** means no email is ever sent. The "relay" value means emails are sent
945 ** to an Mail Sending Agent using SMTP located at email-send-relayhost.
946 ** The "pipe" value means email messages are piped into a command
@@ -949,33 +949,33 @@
949 ** by the email-send-dir setting. The "db" value means that emails
950 ** are added to an SQLite database named by the* email-send-db setting.
951 ** The "stdout" value writes email text to standard output, for debugging.
952 */
953 /*
954 ** SETTING: email-send-command width=40
955 ** This is a command to which outbound email content is piped when the
956 ** email-send-method is set to "pipe". The command must extract
957 ** recipient, sender, subject, and all other relevant information
958 ** from the email header.
959 */
960 /*
961 ** SETTING: email-send-dir width=40
962 ** This is a directory into which outbound emails are written as individual
963 ** files if the email-send-method is set to "dir".
964 */
965 /*
966 ** SETTING: email-send-db width=40
967 ** This is an SQLite database file into which outbound emails are written
968 ** if the email-send-method is set to "db".
969 */
970 /*
971 ** SETTING: email-self width=40
972 ** This is the email address for the repository. Outbound emails add
973 ** this email address as the "From:" field.
974 */
975 /*
976 ** SETTING: email-send-relayhost width=40
977 ** This is the hostname and TCP port to which output email messages
978 ** are sent when email-send-method is "relay". There should be an
979 ** SMTP server configured as a Mail Submission Agent listening on the
980 ** designated host and port and all times.
981 */
982
--- src/alerts.c
+++ src/alerts.c
@@ -936,11 +936,11 @@
936 ** This is a short name used to identifies the repository in the Subject:
937 ** line of email alerts. Traditionally this name is included in square
938 ** brackets. Examples: "[fossil-src]", "[sqlite-src]".
939 */
940 /*
941 ** SETTING: email-send-method width=5 default=off sensitive
942 ** Determine the method used to send email. Allowed values are
943 ** "off", "relay", "pipe", "dir", "db", and "stdout". The "off" value
944 ** means no email is ever sent. The "relay" value means emails are sent
945 ** to an Mail Sending Agent using SMTP located at email-send-relayhost.
946 ** The "pipe" value means email messages are piped into a command
@@ -949,33 +949,33 @@
949 ** by the email-send-dir setting. The "db" value means that emails
950 ** are added to an SQLite database named by the* email-send-db setting.
951 ** The "stdout" value writes email text to standard output, for debugging.
952 */
953 /*
954 ** SETTING: email-send-command width=40 sensitive
955 ** This is a command to which outbound email content is piped when the
956 ** email-send-method is set to "pipe". The command must extract
957 ** recipient, sender, subject, and all other relevant information
958 ** from the email header.
959 */
960 /*
961 ** SETTING: email-send-dir width=40 sensitive
962 ** This is a directory into which outbound emails are written as individual
963 ** files if the email-send-method is set to "dir".
964 */
965 /*
966 ** SETTING: email-send-db width=40 sensitive
967 ** This is an SQLite database file into which outbound emails are written
968 ** if the email-send-method is set to "db".
969 */
970 /*
971 ** SETTING: email-self width=40
972 ** This is the email address for the repository. Outbound emails add
973 ** this email address as the "From:" field.
974 */
975 /*
976 ** SETTING: email-send-relayhost width=40 sensitive
977 ** This is the hostname and TCP port to which output email messages
978 ** are sent when email-send-method is "relay". There should be an
979 ** SMTP server configured as a Mail Submission Agent listening on the
980 ** designated host and port and all times.
981 */
982
+17 -30
--- src/db.c
+++ src/db.c
@@ -3432,32 +3432,19 @@
34323432
** SETTING: admin-log boolean default=off
34333433
**
34343434
** When the admin-log setting is enabled, configuration changes are recorded
34353435
** in the "admin_log" table of the repository.
34363436
*/
3437
-#if defined(_WIN32)
34383437
/*
3439
-** SETTING: allow-symlinks boolean default=off versionable
3438
+** SETTING: allow-symlinks boolean default=off sensitive
34403439
**
34413440
** When allow-symlinks is OFF, symbolic links in the repository are followed
34423441
** and treated no differently from real files. When allow-symlinks is ON,
34433442
** the object to which the symbolic link points is ignored, and the content
34443443
** of the symbolic link that is stored in the repository is the name of the
34453444
** object to which the symbolic link points.
34463445
*/
3447
-#endif
3448
-#if !defined(_WIN32)
3449
-/*
3450
-** SETTING: allow-symlinks boolean default=on versionable
3451
-**
3452
-** When allow-symlinks is OFF, symbolic links in the repository are followed
3453
-** and treated no differently from real files. When allow-symlinks is ON,
3454
-** the object to which the symbolic link points is ignored, and the content
3455
-** of the symbolic link that is stored in the repository is the name of the
3456
-** object to which the symbolic link points.
3457
-*/
3458
-#endif
34593446
/*
34603447
** SETTING: auto-captcha boolean default=on variable=autocaptcha
34613448
** If enabled, the /login page provides a button that will automatically
34623449
** fill in the captcha password. This makes things easier for human users,
34633450
** at the expense of also making logins easier for malicious robots.
@@ -3507,11 +3494,11 @@
35073494
** there is no cron job periodically running "fossil backoffice",
35083495
** email notifications and other work normally done by the
35093496
** backoffice will not occur.
35103497
*/
35113498
/*
3512
-** SETTING: backoffice-logfile width=40
3499
+** SETTING: backoffice-logfile width=40 sensitive
35133500
** If backoffice-logfile is not an empty string and is a valid
35143501
** filename, then a one-line message is appended to that file
35153502
** every time the backoffice runs. This can be used for debugging,
35163503
** to ensure that backoffice is running appropriately.
35173504
*/
@@ -3584,11 +3571,11 @@
35843571
/*
35853572
** SETTING: crnl-glob width=40 versionable block-text
35863573
** This is an alias for the crlf-glob setting.
35873574
*/
35883575
/*
3589
-** SETTING: default-perms width=16 default=u
3576
+** SETTING: default-perms width=16 default=u sensitive
35903577
** Permissions given automatically to new users. For more
35913578
** information on permissions see the Users page in Server
35923579
** Administration of the HTTP UI.
35933580
*/
35943581
/*
@@ -3596,11 +3583,11 @@
35963583
** If enabled, permit files that may be binary
35973584
** or that match the "binary-glob" setting to be used with
35983585
** external diff programs. If disabled, skip these files.
35993586
*/
36003587
/*
3601
-** SETTING: diff-command width=40
3588
+** SETTING: diff-command width=40 sensitive
36023589
** The value is an external command to run when performing a diff.
36033590
** If undefined, the internal text diff will be used.
36043591
*/
36053592
/*
36063593
** SETTING: dont-push boolean default=off
@@ -3611,11 +3598,11 @@
36113598
/*
36123599
** SETTING: dotfiles boolean versionable default=off
36133600
** If enabled, include --dotfiles option for all compatible commands.
36143601
*/
36153602
/*
3616
-** SETTING: editor width=32
3603
+** SETTING: editor width=32 sensitive
36173604
** The value is an external command that will launch the
36183605
** text editor command used for check-in comments.
36193606
*/
36203607
/*
36213608
** SETTING: empty-dirs width=40 versionable block-text
@@ -3654,16 +3641,16 @@
36543641
** An empty list prohibits editing via that page. Note that
36553642
** it cannot edit binary files, so the list should not
36563643
** contain any globs for, e.g., images or PDFs.
36573644
*/
36583645
/*
3659
-** SETTING: gdiff-command width=40 default=gdiff
3646
+** SETTING: gdiff-command width=40 default=gdiff sensitive
36603647
** The value is an external command to run when performing a graphical
36613648
** diff. If undefined, text diff will be used.
36623649
*/
36633650
/*
3664
-** SETTING: gmerge-command width=40
3651
+** SETTING: gmerge-command width=40 sensitive
36653652
** The value is a graphical merge conflict resolver command operating
36663653
** on four files. Examples:
36673654
**
36683655
** kdiff3 "%baseline" "%original" "%merge" -o "%output"
36693656
** xxdiff "%original" "%baseline" "%merge" -M "%output"
@@ -3794,11 +3781,11 @@
37943781
** the associated files within the checkout -AND- the "rm"
37953782
** and "delete" commands will also remove the associated
37963783
** files from within the checkout.
37973784
*/
37983785
/*
3799
-** SETTING: pgp-command width=40
3786
+** SETTING: pgp-command width=40 sensitive
38003787
** Command used to clear-sign manifests at check-in.
38013788
** Default value is "gpg --clearsign -o"
38023789
*/
38033790
/*
38043791
** SETTING: forbid-delta-manifests boolean default=off
@@ -3854,22 +3841,22 @@
38543841
**
38553842
** If repolist-skin has a value of 2, then the repository is omitted from
38563843
** the list in use cases 1 through 4, but not for 5 and 6.
38573844
*/
38583845
/*
3859
-** SETTING: self-register boolean default=off
3846
+** SETTING: self-register boolean default=off sensitive
38603847
** Allow users to register themselves through the HTTP UI.
38613848
** This is useful if you want to see other names than
38623849
** "Anonymous" in e.g. ticketing system. On the other hand
38633850
** users can not be deleted.
38643851
*/
38653852
/*
3866
-** SETTING: ssh-command width=40
3853
+** SETTING: ssh-command width=40 sensitive
38673854
** The command used to talk to a remote machine with the "ssh://" protocol.
38683855
*/
38693856
/*
3870
-** SETTING: ssl-ca-location width=40
3857
+** SETTING: ssl-ca-location width=40 sensitive
38713858
** The full pathname to a file containing PEM encoded
38723859
** CA root certificates, or a directory of certificates
38733860
** with filenames formed from the certificate hashes as
38743861
** required by OpenSSL.
38753862
**
@@ -3879,11 +3866,11 @@
38793866
** Checking your platform behaviour is required if the
38803867
** exact contents of the CA root is critical for your
38813868
** application.
38823869
*/
38833870
/*
3884
-** SETTING: ssl-identity width=40
3871
+** SETTING: ssl-identity width=40 sensitive
38853872
** The full pathname to a file containing a certificate
38863873
** and private key in PEM format. Create by concatenating
38873874
** the certificate and private key files.
38883875
**
38893876
** This identity will be presented to SSL servers to
@@ -3890,33 +3877,33 @@
38903877
** authenticate this client, in addition to the normal
38913878
** password authentication.
38923879
*/
38933880
#ifdef FOSSIL_ENABLE_TCL
38943881
/*
3895
-** SETTING: tcl boolean default=off
3882
+** SETTING: tcl boolean default=off sensitive
38963883
** If enabled Tcl integration commands will be added to the TH1
38973884
** interpreter, allowing arbitrary Tcl expressions and
38983885
** scripts to be evaluated from TH1. Additionally, the Tcl
38993886
** interpreter will be able to evaluate arbitrary TH1
39003887
** expressions and scripts.
39013888
*/
39023889
/*
3903
-** SETTING: tcl-setup width=40 block-text
3890
+** SETTING: tcl-setup width=40 block-text sensitive
39043891
** This is the setup script to be evaluated after creating
39053892
** and initializing the Tcl interpreter. By default, this
39063893
** is empty and no extra setup is performed.
39073894
*/
39083895
#endif /* FOSSIL_ENABLE_TCL */
39093896
/*
3910
-** SETTING: tclsh width=80 default=tclsh
3897
+** SETTING: tclsh width=80 default=tclsh sensitive
39113898
** Name of the external TCL interpreter used for such things
39123899
** as running the GUI diff viewer launched by the --tk option
39133900
** of the various "diff" commands.
39143901
*/
39153902
#ifdef FOSSIL_ENABLE_TH1_DOCS
39163903
/*
3917
-** SETTING: th1-docs boolean default=off
3904
+** SETTING: th1-docs boolean default=off sensitive
39183905
** If enabled, this allows embedded documentation files to contain
39193906
** arbitrary TH1 scripts that are evaluated on the server. If native
39203907
** Tcl integration is also enabled, this setting has the
39213908
** potential to allow anybody with check-in privileges to
39223909
** do almost anything that the associated operating system
@@ -3969,11 +3956,11 @@
39693956
** of a "fossil clone" or "fossil sync" command. The
39703957
** default is false, in which case the -u option is
39713958
** needed to clone or sync unversioned files.
39723959
*/
39733960
/*
3974
-** SETTING: web-browser width=30
3961
+** SETTING: web-browser width=30 sensitive
39753962
** A shell command used to launch your preferred
39763963
** web browser when given a URL as an argument.
39773964
** Defaults to "start" on windows, "open" on Mac,
39783965
** and "firefox" on Unix.
39793966
*/
39803967
--- src/db.c
+++ src/db.c
@@ -3432,32 +3432,19 @@
3432 ** SETTING: admin-log boolean default=off
3433 **
3434 ** When the admin-log setting is enabled, configuration changes are recorded
3435 ** in the "admin_log" table of the repository.
3436 */
3437 #if defined(_WIN32)
3438 /*
3439 ** SETTING: allow-symlinks boolean default=off versionable
3440 **
3441 ** When allow-symlinks is OFF, symbolic links in the repository are followed
3442 ** and treated no differently from real files. When allow-symlinks is ON,
3443 ** the object to which the symbolic link points is ignored, and the content
3444 ** of the symbolic link that is stored in the repository is the name of the
3445 ** object to which the symbolic link points.
3446 */
3447 #endif
3448 #if !defined(_WIN32)
3449 /*
3450 ** SETTING: allow-symlinks boolean default=on versionable
3451 **
3452 ** When allow-symlinks is OFF, symbolic links in the repository are followed
3453 ** and treated no differently from real files. When allow-symlinks is ON,
3454 ** the object to which the symbolic link points is ignored, and the content
3455 ** of the symbolic link that is stored in the repository is the name of the
3456 ** object to which the symbolic link points.
3457 */
3458 #endif
3459 /*
3460 ** SETTING: auto-captcha boolean default=on variable=autocaptcha
3461 ** If enabled, the /login page provides a button that will automatically
3462 ** fill in the captcha password. This makes things easier for human users,
3463 ** at the expense of also making logins easier for malicious robots.
@@ -3507,11 +3494,11 @@
3507 ** there is no cron job periodically running "fossil backoffice",
3508 ** email notifications and other work normally done by the
3509 ** backoffice will not occur.
3510 */
3511 /*
3512 ** SETTING: backoffice-logfile width=40
3513 ** If backoffice-logfile is not an empty string and is a valid
3514 ** filename, then a one-line message is appended to that file
3515 ** every time the backoffice runs. This can be used for debugging,
3516 ** to ensure that backoffice is running appropriately.
3517 */
@@ -3584,11 +3571,11 @@
3584 /*
3585 ** SETTING: crnl-glob width=40 versionable block-text
3586 ** This is an alias for the crlf-glob setting.
3587 */
3588 /*
3589 ** SETTING: default-perms width=16 default=u
3590 ** Permissions given automatically to new users. For more
3591 ** information on permissions see the Users page in Server
3592 ** Administration of the HTTP UI.
3593 */
3594 /*
@@ -3596,11 +3583,11 @@
3596 ** If enabled, permit files that may be binary
3597 ** or that match the "binary-glob" setting to be used with
3598 ** external diff programs. If disabled, skip these files.
3599 */
3600 /*
3601 ** SETTING: diff-command width=40
3602 ** The value is an external command to run when performing a diff.
3603 ** If undefined, the internal text diff will be used.
3604 */
3605 /*
3606 ** SETTING: dont-push boolean default=off
@@ -3611,11 +3598,11 @@
3611 /*
3612 ** SETTING: dotfiles boolean versionable default=off
3613 ** If enabled, include --dotfiles option for all compatible commands.
3614 */
3615 /*
3616 ** SETTING: editor width=32
3617 ** The value is an external command that will launch the
3618 ** text editor command used for check-in comments.
3619 */
3620 /*
3621 ** SETTING: empty-dirs width=40 versionable block-text
@@ -3654,16 +3641,16 @@
3654 ** An empty list prohibits editing via that page. Note that
3655 ** it cannot edit binary files, so the list should not
3656 ** contain any globs for, e.g., images or PDFs.
3657 */
3658 /*
3659 ** SETTING: gdiff-command width=40 default=gdiff
3660 ** The value is an external command to run when performing a graphical
3661 ** diff. If undefined, text diff will be used.
3662 */
3663 /*
3664 ** SETTING: gmerge-command width=40
3665 ** The value is a graphical merge conflict resolver command operating
3666 ** on four files. Examples:
3667 **
3668 ** kdiff3 "%baseline" "%original" "%merge" -o "%output"
3669 ** xxdiff "%original" "%baseline" "%merge" -M "%output"
@@ -3794,11 +3781,11 @@
3794 ** the associated files within the checkout -AND- the "rm"
3795 ** and "delete" commands will also remove the associated
3796 ** files from within the checkout.
3797 */
3798 /*
3799 ** SETTING: pgp-command width=40
3800 ** Command used to clear-sign manifests at check-in.
3801 ** Default value is "gpg --clearsign -o"
3802 */
3803 /*
3804 ** SETTING: forbid-delta-manifests boolean default=off
@@ -3854,22 +3841,22 @@
3854 **
3855 ** If repolist-skin has a value of 2, then the repository is omitted from
3856 ** the list in use cases 1 through 4, but not for 5 and 6.
3857 */
3858 /*
3859 ** SETTING: self-register boolean default=off
3860 ** Allow users to register themselves through the HTTP UI.
3861 ** This is useful if you want to see other names than
3862 ** "Anonymous" in e.g. ticketing system. On the other hand
3863 ** users can not be deleted.
3864 */
3865 /*
3866 ** SETTING: ssh-command width=40
3867 ** The command used to talk to a remote machine with the "ssh://" protocol.
3868 */
3869 /*
3870 ** SETTING: ssl-ca-location width=40
3871 ** The full pathname to a file containing PEM encoded
3872 ** CA root certificates, or a directory of certificates
3873 ** with filenames formed from the certificate hashes as
3874 ** required by OpenSSL.
3875 **
@@ -3879,11 +3866,11 @@
3879 ** Checking your platform behaviour is required if the
3880 ** exact contents of the CA root is critical for your
3881 ** application.
3882 */
3883 /*
3884 ** SETTING: ssl-identity width=40
3885 ** The full pathname to a file containing a certificate
3886 ** and private key in PEM format. Create by concatenating
3887 ** the certificate and private key files.
3888 **
3889 ** This identity will be presented to SSL servers to
@@ -3890,33 +3877,33 @@
3890 ** authenticate this client, in addition to the normal
3891 ** password authentication.
3892 */
3893 #ifdef FOSSIL_ENABLE_TCL
3894 /*
3895 ** SETTING: tcl boolean default=off
3896 ** If enabled Tcl integration commands will be added to the TH1
3897 ** interpreter, allowing arbitrary Tcl expressions and
3898 ** scripts to be evaluated from TH1. Additionally, the Tcl
3899 ** interpreter will be able to evaluate arbitrary TH1
3900 ** expressions and scripts.
3901 */
3902 /*
3903 ** SETTING: tcl-setup width=40 block-text
3904 ** This is the setup script to be evaluated after creating
3905 ** and initializing the Tcl interpreter. By default, this
3906 ** is empty and no extra setup is performed.
3907 */
3908 #endif /* FOSSIL_ENABLE_TCL */
3909 /*
3910 ** SETTING: tclsh width=80 default=tclsh
3911 ** Name of the external TCL interpreter used for such things
3912 ** as running the GUI diff viewer launched by the --tk option
3913 ** of the various "diff" commands.
3914 */
3915 #ifdef FOSSIL_ENABLE_TH1_DOCS
3916 /*
3917 ** SETTING: th1-docs boolean default=off
3918 ** If enabled, this allows embedded documentation files to contain
3919 ** arbitrary TH1 scripts that are evaluated on the server. If native
3920 ** Tcl integration is also enabled, this setting has the
3921 ** potential to allow anybody with check-in privileges to
3922 ** do almost anything that the associated operating system
@@ -3969,11 +3956,11 @@
3969 ** of a "fossil clone" or "fossil sync" command. The
3970 ** default is false, in which case the -u option is
3971 ** needed to clone or sync unversioned files.
3972 */
3973 /*
3974 ** SETTING: web-browser width=30
3975 ** A shell command used to launch your preferred
3976 ** web browser when given a URL as an argument.
3977 ** Defaults to "start" on windows, "open" on Mac,
3978 ** and "firefox" on Unix.
3979 */
3980
--- src/db.c
+++ src/db.c
@@ -3432,32 +3432,19 @@
3432 ** SETTING: admin-log boolean default=off
3433 **
3434 ** When the admin-log setting is enabled, configuration changes are recorded
3435 ** in the "admin_log" table of the repository.
3436 */
 
3437 /*
3438 ** SETTING: allow-symlinks boolean default=off sensitive
3439 **
3440 ** When allow-symlinks is OFF, symbolic links in the repository are followed
3441 ** and treated no differently from real files. When allow-symlinks is ON,
3442 ** the object to which the symbolic link points is ignored, and the content
3443 ** of the symbolic link that is stored in the repository is the name of the
3444 ** object to which the symbolic link points.
3445 */
 
 
 
 
 
 
 
 
 
 
 
 
3446 /*
3447 ** SETTING: auto-captcha boolean default=on variable=autocaptcha
3448 ** If enabled, the /login page provides a button that will automatically
3449 ** fill in the captcha password. This makes things easier for human users,
3450 ** at the expense of also making logins easier for malicious robots.
@@ -3507,11 +3494,11 @@
3494 ** there is no cron job periodically running "fossil backoffice",
3495 ** email notifications and other work normally done by the
3496 ** backoffice will not occur.
3497 */
3498 /*
3499 ** SETTING: backoffice-logfile width=40 sensitive
3500 ** If backoffice-logfile is not an empty string and is a valid
3501 ** filename, then a one-line message is appended to that file
3502 ** every time the backoffice runs. This can be used for debugging,
3503 ** to ensure that backoffice is running appropriately.
3504 */
@@ -3584,11 +3571,11 @@
3571 /*
3572 ** SETTING: crnl-glob width=40 versionable block-text
3573 ** This is an alias for the crlf-glob setting.
3574 */
3575 /*
3576 ** SETTING: default-perms width=16 default=u sensitive
3577 ** Permissions given automatically to new users. For more
3578 ** information on permissions see the Users page in Server
3579 ** Administration of the HTTP UI.
3580 */
3581 /*
@@ -3596,11 +3583,11 @@
3583 ** If enabled, permit files that may be binary
3584 ** or that match the "binary-glob" setting to be used with
3585 ** external diff programs. If disabled, skip these files.
3586 */
3587 /*
3588 ** SETTING: diff-command width=40 sensitive
3589 ** The value is an external command to run when performing a diff.
3590 ** If undefined, the internal text diff will be used.
3591 */
3592 /*
3593 ** SETTING: dont-push boolean default=off
@@ -3611,11 +3598,11 @@
3598 /*
3599 ** SETTING: dotfiles boolean versionable default=off
3600 ** If enabled, include --dotfiles option for all compatible commands.
3601 */
3602 /*
3603 ** SETTING: editor width=32 sensitive
3604 ** The value is an external command that will launch the
3605 ** text editor command used for check-in comments.
3606 */
3607 /*
3608 ** SETTING: empty-dirs width=40 versionable block-text
@@ -3654,16 +3641,16 @@
3641 ** An empty list prohibits editing via that page. Note that
3642 ** it cannot edit binary files, so the list should not
3643 ** contain any globs for, e.g., images or PDFs.
3644 */
3645 /*
3646 ** SETTING: gdiff-command width=40 default=gdiff sensitive
3647 ** The value is an external command to run when performing a graphical
3648 ** diff. If undefined, text diff will be used.
3649 */
3650 /*
3651 ** SETTING: gmerge-command width=40 sensitive
3652 ** The value is a graphical merge conflict resolver command operating
3653 ** on four files. Examples:
3654 **
3655 ** kdiff3 "%baseline" "%original" "%merge" -o "%output"
3656 ** xxdiff "%original" "%baseline" "%merge" -M "%output"
@@ -3794,11 +3781,11 @@
3781 ** the associated files within the checkout -AND- the "rm"
3782 ** and "delete" commands will also remove the associated
3783 ** files from within the checkout.
3784 */
3785 /*
3786 ** SETTING: pgp-command width=40 sensitive
3787 ** Command used to clear-sign manifests at check-in.
3788 ** Default value is "gpg --clearsign -o"
3789 */
3790 /*
3791 ** SETTING: forbid-delta-manifests boolean default=off
@@ -3854,22 +3841,22 @@
3841 **
3842 ** If repolist-skin has a value of 2, then the repository is omitted from
3843 ** the list in use cases 1 through 4, but not for 5 and 6.
3844 */
3845 /*
3846 ** SETTING: self-register boolean default=off sensitive
3847 ** Allow users to register themselves through the HTTP UI.
3848 ** This is useful if you want to see other names than
3849 ** "Anonymous" in e.g. ticketing system. On the other hand
3850 ** users can not be deleted.
3851 */
3852 /*
3853 ** SETTING: ssh-command width=40 sensitive
3854 ** The command used to talk to a remote machine with the "ssh://" protocol.
3855 */
3856 /*
3857 ** SETTING: ssl-ca-location width=40 sensitive
3858 ** The full pathname to a file containing PEM encoded
3859 ** CA root certificates, or a directory of certificates
3860 ** with filenames formed from the certificate hashes as
3861 ** required by OpenSSL.
3862 **
@@ -3879,11 +3866,11 @@
3866 ** Checking your platform behaviour is required if the
3867 ** exact contents of the CA root is critical for your
3868 ** application.
3869 */
3870 /*
3871 ** SETTING: ssl-identity width=40 sensitive
3872 ** The full pathname to a file containing a certificate
3873 ** and private key in PEM format. Create by concatenating
3874 ** the certificate and private key files.
3875 **
3876 ** This identity will be presented to SSL servers to
@@ -3890,33 +3877,33 @@
3877 ** authenticate this client, in addition to the normal
3878 ** password authentication.
3879 */
3880 #ifdef FOSSIL_ENABLE_TCL
3881 /*
3882 ** SETTING: tcl boolean default=off sensitive
3883 ** If enabled Tcl integration commands will be added to the TH1
3884 ** interpreter, allowing arbitrary Tcl expressions and
3885 ** scripts to be evaluated from TH1. Additionally, the Tcl
3886 ** interpreter will be able to evaluate arbitrary TH1
3887 ** expressions and scripts.
3888 */
3889 /*
3890 ** SETTING: tcl-setup width=40 block-text sensitive
3891 ** This is the setup script to be evaluated after creating
3892 ** and initializing the Tcl interpreter. By default, this
3893 ** is empty and no extra setup is performed.
3894 */
3895 #endif /* FOSSIL_ENABLE_TCL */
3896 /*
3897 ** SETTING: tclsh width=80 default=tclsh sensitive
3898 ** Name of the external TCL interpreter used for such things
3899 ** as running the GUI diff viewer launched by the --tk option
3900 ** of the various "diff" commands.
3901 */
3902 #ifdef FOSSIL_ENABLE_TH1_DOCS
3903 /*
3904 ** SETTING: th1-docs boolean default=off sensitive
3905 ** If enabled, this allows embedded documentation files to contain
3906 ** arbitrary TH1 scripts that are evaluated on the server. If native
3907 ** Tcl integration is also enabled, this setting has the
3908 ** potential to allow anybody with check-in privileges to
3909 ** do almost anything that the associated operating system
@@ -3969,11 +3956,11 @@
3956 ** of a "fossil clone" or "fossil sync" command. The
3957 ** default is false, in which case the -u option is
3958 ** needed to clone or sync unversioned files.
3959 */
3960 /*
3961 ** SETTING: web-browser width=30 sensitive
3962 ** A shell command used to launch your preferred
3963 ** web browser when given a URL as an argument.
3964 ** Defaults to "start" on windows, "open" on Mac,
3965 ** and "firefox" on Unix.
3966 */
3967
--- src/mkindex.c
+++ src/mkindex.c
@@ -90,10 +90,11 @@
9090
#define CMDFLAG_SETTING 0x0020 /* A setting */
9191
#define CMDFLAG_VERSIONABLE 0x0040 /* A versionable setting */
9292
#define CMDFLAG_BLOCKTEXT 0x0080 /* Multi-line text setting */
9393
#define CMDFLAG_BOOLEAN 0x0100 /* A boolean setting */
9494
#define CMDFLAG_RAWCONTENT 0x0200 /* Do not interpret webpage content */
95
+#define CMDFLAG_SENSITIVE 0x0400 /* Security-sensitive setting */
9596
/**************************************************************************/
9697
9798
/*
9899
** Each entry looks like this:
99100
*/
@@ -248,10 +249,12 @@
248249
}else if( j==10 && strncmp(&zLine[i], "block-text", j)==0 ){
249250
aEntry[nUsed].eType &= ~(CMDFLAG_BOOLEAN);
250251
aEntry[nUsed].eType |= CMDFLAG_BLOCKTEXT;
251252
}else if( j==11 && strncmp(&zLine[i], "versionable", j)==0 ){
252253
aEntry[nUsed].eType |= CMDFLAG_VERSIONABLE;
254
+ }else if( j==9 && strncmp(&zLine[i], "sensitive", j)==0 ){
255
+ aEntry[nUsed].eType |= CMDFLAG_SENSITIVE;
253256
}else if( j>6 && strncmp(&zLine[i], "width=", 6)==0 ){
254257
aEntry[nUsed].iWidth = atoi(&zLine[i+6]);
255258
}else if( j>8 && strncmp(&zLine[i], "default=", 8)==0 ){
256259
aEntry[nUsed].zDflt = string_dup(&zLine[i+8], j-8);
257260
}else if( j>9 && strncmp(&zLine[i], "variable=", 9)==0 ){
258261
--- src/mkindex.c
+++ src/mkindex.c
@@ -90,10 +90,11 @@
90 #define CMDFLAG_SETTING 0x0020 /* A setting */
91 #define CMDFLAG_VERSIONABLE 0x0040 /* A versionable setting */
92 #define CMDFLAG_BLOCKTEXT 0x0080 /* Multi-line text setting */
93 #define CMDFLAG_BOOLEAN 0x0100 /* A boolean setting */
94 #define CMDFLAG_RAWCONTENT 0x0200 /* Do not interpret webpage content */
 
95 /**************************************************************************/
96
97 /*
98 ** Each entry looks like this:
99 */
@@ -248,10 +249,12 @@
248 }else if( j==10 && strncmp(&zLine[i], "block-text", j)==0 ){
249 aEntry[nUsed].eType &= ~(CMDFLAG_BOOLEAN);
250 aEntry[nUsed].eType |= CMDFLAG_BLOCKTEXT;
251 }else if( j==11 && strncmp(&zLine[i], "versionable", j)==0 ){
252 aEntry[nUsed].eType |= CMDFLAG_VERSIONABLE;
 
 
253 }else if( j>6 && strncmp(&zLine[i], "width=", 6)==0 ){
254 aEntry[nUsed].iWidth = atoi(&zLine[i+6]);
255 }else if( j>8 && strncmp(&zLine[i], "default=", 8)==0 ){
256 aEntry[nUsed].zDflt = string_dup(&zLine[i+8], j-8);
257 }else if( j>9 && strncmp(&zLine[i], "variable=", 9)==0 ){
258
--- src/mkindex.c
+++ src/mkindex.c
@@ -90,10 +90,11 @@
90 #define CMDFLAG_SETTING 0x0020 /* A setting */
91 #define CMDFLAG_VERSIONABLE 0x0040 /* A versionable setting */
92 #define CMDFLAG_BLOCKTEXT 0x0080 /* Multi-line text setting */
93 #define CMDFLAG_BOOLEAN 0x0100 /* A boolean setting */
94 #define CMDFLAG_RAWCONTENT 0x0200 /* Do not interpret webpage content */
95 #define CMDFLAG_SENSITIVE 0x0400 /* Security-sensitive setting */
96 /**************************************************************************/
97
98 /*
99 ** Each entry looks like this:
100 */
@@ -248,10 +249,12 @@
249 }else if( j==10 && strncmp(&zLine[i], "block-text", j)==0 ){
250 aEntry[nUsed].eType &= ~(CMDFLAG_BOOLEAN);
251 aEntry[nUsed].eType |= CMDFLAG_BLOCKTEXT;
252 }else if( j==11 && strncmp(&zLine[i], "versionable", j)==0 ){
253 aEntry[nUsed].eType |= CMDFLAG_VERSIONABLE;
254 }else if( j==9 && strncmp(&zLine[i], "sensitive", j)==0 ){
255 aEntry[nUsed].eType |= CMDFLAG_SENSITIVE;
256 }else if( j>6 && strncmp(&zLine[i], "width=", 6)==0 ){
257 aEntry[nUsed].iWidth = atoi(&zLine[i+6]);
258 }else if( j>8 && strncmp(&zLine[i], "default=", 8)==0 ){
259 aEntry[nUsed].zDflt = string_dup(&zLine[i+8], j-8);
260 }else if( j>9 && strncmp(&zLine[i], "variable=", 9)==0 ){
261

Keyboard Shortcuts

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