Fossil SCM
Better documentation for the email-url setting. Add a new entry form for the email-url setting on the /setup_config page.
Commit
7e993c709ad18efbced3db9055b674c5140876e1cee4c2091754cc63717cc0d6
Parent
1865cf4ce233237…
2 files changed
+6
-2
+11
+6
-2
| --- src/alerts.c | ||
| +++ src/alerts.c | ||
| @@ -948,12 +948,16 @@ | ||
| 948 | 948 | blob_reset(&all); |
| 949 | 949 | } |
| 950 | 950 | |
| 951 | 951 | /* |
| 952 | 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 "/". | |
| 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. | |
| 955 | 959 | */ |
| 956 | 960 | /* |
| 957 | 961 | ** SETTING: email-admin width=40 |
| 958 | 962 | ** This is the email address for the human administrator for the system. |
| 959 | 963 | ** Abuse and trouble reports and password reset requests are send here. |
| 960 | 964 |
| --- 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 @@ | ||
| 1031 | 1031 | "project-description", "pd", "", 0); |
| 1032 | 1032 | @ <p>Describe your project. This will be used in page headers for search |
| 1033 | 1033 | @ engines as well as a short RSS description. |
| 1034 | 1034 | @ (Property: "project-description")</p> |
| 1035 | 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> | |
| 1036 | 1047 | entry_attribute("Tarball and ZIP-archive Prefix", 20, "short-project-name", |
| 1037 | 1048 | "spn", "", 0); |
| 1038 | 1049 | @ <p>This is used as a prefix on the names of generated tarballs and |
| 1039 | 1050 | @ ZIP archive. For best results, keep this prefix brief and avoid special |
| 1040 | 1051 | @ characters such as "/" and "\". |
| 1041 | 1052 |
| --- 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 |