Fossil SCM

Better documentation for the email-url setting. Add a new entry form for the email-url setting on the /setup_config page.

drh 2021-12-20 20:52 trunk
Commit 7e993c709ad18efbced3db9055b674c5140876e1cee4c2091754cc63717cc0d6
2 files changed +6 -2 +11
+6 -2
--- src/alerts.c
+++ src/alerts.c
@@ -948,12 +948,16 @@
948948
blob_reset(&all);
949949
}
950950
951951
/*
952952
** SETTING: email-url width=40
953
-** This URL is used as the basename for hyperlinks included in email alert
954
-** text. Omit the trailing "/".
953
+** This is the main URL used to access the repository for cloning or
954
+** syncing or for operating the web interface. It is also
955
+** the basename for hyperlinks included in email alert text.
956
+** Omit the trailing "/". If the repository is not intended to be
957
+** a long-running server and will not be sending email notifications,
958
+** then leave this setting blank.
955959
*/
956960
/*
957961
** SETTING: email-admin width=40
958962
** This is the email address for the human administrator for the system.
959963
** Abuse and trouble reports and password reset requests are send here.
960964
--- src/alerts.c
+++ src/alerts.c
@@ -948,12 +948,16 @@
948 blob_reset(&all);
949 }
950
951 /*
952 ** SETTING: email-url width=40
953 ** This URL is used as the basename for hyperlinks included in email alert
954 ** text. Omit the trailing "/".
 
 
 
 
955 */
956 /*
957 ** SETTING: email-admin width=40
958 ** This is the email address for the human administrator for the system.
959 ** Abuse and trouble reports and password reset requests are send here.
960
--- src/alerts.c
+++ src/alerts.c
@@ -948,12 +948,16 @@
948 blob_reset(&all);
949 }
950
951 /*
952 ** SETTING: email-url width=40
953 ** This is the main URL used to access the repository for cloning or
954 ** syncing or for operating the web interface. It is also
955 ** the basename for hyperlinks included in email alert text.
956 ** Omit the trailing "/". If the repository is not intended to be
957 ** a long-running server and will not be sending email notifications,
958 ** then leave this setting blank.
959 */
960 /*
961 ** SETTING: email-admin width=40
962 ** This is the email address for the human administrator for the system.
963 ** Abuse and trouble reports and password reset requests are send here.
964
+11
--- src/setup.c
+++ src/setup.c
@@ -1031,10 +1031,21 @@
10311031
"project-description", "pd", "", 0);
10321032
@ <p>Describe your project. This will be used in page headers for search
10331033
@ engines as well as a short RSS description.
10341034
@ (Property: "project-description")</p>
10351035
@ <hr />
1036
+ entry_attribute("Canonical Server URL", 40, "email-url",
1037
+ "eurl", "", 0);
1038
+ @ <p>This is the URL used access this repository as a server.
1039
+ @ Other repositories use this URL to clone or sync against this repository.
1040
+ @ This is also the basename for hyperlinks included in email alert text.
1041
+ @ Omit the trailing "/".
1042
+ @ If this repo will not be set up as a persistent server and will not
1043
+ @ be sending email alerts, then leave this entry blank.
1044
+ @ Suggested value: "%h(g.zBaseURL)"
1045
+ @ (Property: "email-url")</p>
1046
+ @ <hr>
10361047
entry_attribute("Tarball and ZIP-archive Prefix", 20, "short-project-name",
10371048
"spn", "", 0);
10381049
@ <p>This is used as a prefix on the names of generated tarballs and
10391050
@ ZIP archive. For best results, keep this prefix brief and avoid special
10401051
@ characters such as "/" and "\".
10411052
--- src/setup.c
+++ src/setup.c
@@ -1031,10 +1031,21 @@
1031 "project-description", "pd", "", 0);
1032 @ <p>Describe your project. This will be used in page headers for search
1033 @ engines as well as a short RSS description.
1034 @ (Property: "project-description")</p>
1035 @ <hr />
 
 
 
 
 
 
 
 
 
 
 
1036 entry_attribute("Tarball and ZIP-archive Prefix", 20, "short-project-name",
1037 "spn", "", 0);
1038 @ <p>This is used as a prefix on the names of generated tarballs and
1039 @ ZIP archive. For best results, keep this prefix brief and avoid special
1040 @ characters such as "/" and "\".
1041
--- src/setup.c
+++ src/setup.c
@@ -1031,10 +1031,21 @@
1031 "project-description", "pd", "", 0);
1032 @ <p>Describe your project. This will be used in page headers for search
1033 @ engines as well as a short RSS description.
1034 @ (Property: "project-description")</p>
1035 @ <hr />
1036 entry_attribute("Canonical Server URL", 40, "email-url",
1037 "eurl", "", 0);
1038 @ <p>This is the URL used access this repository as a server.
1039 @ Other repositories use this URL to clone or sync against this repository.
1040 @ This is also the basename for hyperlinks included in email alert text.
1041 @ Omit the trailing "/".
1042 @ If this repo will not be set up as a persistent server and will not
1043 @ be sending email alerts, then leave this entry blank.
1044 @ Suggested value: "%h(g.zBaseURL)"
1045 @ (Property: "email-url")</p>
1046 @ <hr>
1047 entry_attribute("Tarball and ZIP-archive Prefix", 20, "short-project-name",
1048 "spn", "", 0);
1049 @ <p>This is used as a prefix on the names of generated tarballs and
1050 @ ZIP archive. For best results, keep this prefix brief and avoid special
1051 @ characters such as "/" and "\".
1052

Keyboard Shortcuts

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