diff --git a/ChangeLog b/ChangeLog index 675dbfe..3fe6db0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2018-02-09 Jan Dittberner + * add patch by Paul Wise to provide Salsa links + * Update translations + 2015-11-12 Jan Dittberner * port to Python 3 and Flask diff --git a/debianmemberportfolio/forms.py b/debianmemberportfolio/forms.py index d4c87fc..a309dcd 100644 --- a/debianmemberportfolio/forms.py +++ b/debianmemberportfolio/forms.py @@ -56,6 +56,9 @@ class DeveloperData(FlaskForm): ]) username = StringField('username', validators=[Optional(), PlainText()]) nonddemail = StringField('nonddemail', validators=[Optional(), Email()]) + salsausername = StringField('salsausername', validators=[ + Optional(), PlainText() + ]) aliothusername = StringField('aliothusername', validators=[ Optional(), PlainText() ]) diff --git a/debianmemberportfolio/model/portfolio.ini b/debianmemberportfolio/model/portfolio.ini index 3a45504..921d5ba 100644 --- a/debianmemberportfolio/model/portfolio.ini +++ b/debianmemberportfolio/model/portfolio.ini @@ -78,6 +78,8 @@ db.pattern=https://db.debian.org/search.cgi?uid=%(username)s&dosearch=Search db.optional=true webid.pattern=http://webid.debian.net/maintainers/%(username)s webid.optional=true +salsa.pattern=https://salsa.debian.org/%(salsausername)s +salsa.optional=true alioth.pattern=https://alioth.debian.org/users/%(aliothusername)s/ alioth.optional=true wiki.pattern=https://wiki.debian.org/%(wikihomepage)s diff --git a/debianmemberportfolio/model/urlbuilder.py b/debianmemberportfolio/model/urlbuilder.py index d84e302..d107fc8 100644 --- a/debianmemberportfolio/model/urlbuilder.py +++ b/debianmemberportfolio/model/urlbuilder.py @@ -45,6 +45,7 @@ _FIELDNAMES_MAP = { 'gpgfp': N_('GPG fingerprint'), 'username': N_('Debian user name'), 'nonddemail': N_('Non Debian email address'), + 'salsausername': N_('Salsa user name'), 'aliothusername': N_('Alioth user name'), } diff --git a/debianmemberportfolio/templates/base.html b/debianmemberportfolio/templates/base.html index b2a7903..9c7ff17 100644 --- a/debianmemberportfolio/templates/base.html +++ b/debianmemberportfolio/templates/base.html @@ -2,7 +2,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> {# vim: ft=jinja Base template for XHTML templates. -Copyright © 2009-2017 Jan Dittberner +Copyright © 2009-2018 Jan Dittberner This file is part of the Debian Member Portfolio service. @@ -38,7 +38,7 @@ with this program. If not, see .