You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2017/09/29 17:52:40 UTC

[3/6] allura git commit: Replace forgemail.url with base_url

Replace forgemail.url with base_url


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/401fcb06
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/401fcb06
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/401fcb06

Branch: refs/heads/db/docker-prod
Commit: 401fcb06d5d215120c27d0d0684af9bb5f07071c
Parents: 9838d01
Author: Dave Brondsema <da...@brondsema.net>
Authored: Wed Aug 23 12:39:14 2017 -0400
Committer: Dave Brondsema <da...@brondsema.net>
Committed: Fri Sep 29 12:28:02 2017 -0400

----------------------------------------------------------------------
 Allura/allura/model/notification.py | 2 +-
 Allura/allura/model/repository.py   | 2 +-
 Allura/development.ini              | 2 --
 3 files changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/401fcb06/Allura/allura/model/notification.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/notification.py b/Allura/allura/model/notification.py
index 80ff6a6..c4e2c24 100644
--- a/Allura/allura/model/notification.py
+++ b/Allura/allura/model/notification.py
@@ -688,7 +688,7 @@ class MailFooter(object):
         return cls._render('mail/footer.txt',
                            domain=config['domain'],
                            notification=notification,
-                           prefix=config['forgemail.url'],
+                           prefix=config['base_url'],
                            allow_email_posting=allow_email_posting,
                            **kw)
 

http://git-wip-us.apache.org/repos/asf/allura/blob/401fcb06/Allura/allura/model/repository.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/repository.py b/Allura/allura/model/repository.py
index 0a22230..25b5560 100644
--- a/Allura/allura/model/repository.py
+++ b/Allura/allura/model/repository.py
@@ -62,7 +62,7 @@ from .session import repository_orm_session
 log = logging.getLogger(__name__)
 config = utils.ConfigProxy(
     common_suffix='forgemail.domain',
-    common_prefix='forgemail.url')
+)
 
 README_RE = re.compile('^README(\.[^.]*)?$', re.IGNORECASE)
 VIEWABLE_EXTENSIONS = frozenset([

http://git-wip-us.apache.org/repos/asf/allura/blob/401fcb06/Allura/development.ini
----------------------------------------------------------------------
diff --git a/Allura/development.ini b/Allura/development.ini
index d740765..a644ae5 100644
--- a/Allura/development.ini
+++ b/Allura/development.ini
@@ -79,8 +79,6 @@ site_name = Allura
 domain = localhost
 ; Change this to your website's full URL
 base_url = http://localhost:8080
-; This should be the same as base_url
-forgemail.url = http://localhost:8080
 
 ; Change this to configure your image path and redirect link
 ; for the logo