From 502c6c4749721d2276dff67f2ea248014c479305 Mon Sep 17 00:00:00 2001 From: Paul Wise Date: Wed, 26 Mar 2014 17:23:53 +0800 Subject: [PATCH 001/210] Fix the link to the contributors site --- debianmemberportfolio/model/portfolio.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debianmemberportfolio/model/portfolio.ini b/debianmemberportfolio/model/portfolio.ini index 733fe8b..0dccf71 100644 --- a/debianmemberportfolio/model/portfolio.ini +++ b/debianmemberportfolio/model/portfolio.ini @@ -101,7 +101,7 @@ gpgfinger.optional=true gpgweb.pattern=http://db.debian.org/fetchkey.cgi?fingerprint=%(gpgfp)s gpgweb.optional=true nm.pattern=https://nm.debian.org/public/person/%(username)s -contrib.pattern=https://contributors.debian.org/contributors/contributor/%(aliothusername)s +contrib.pattern=https://contributors.debian.org/contributor/%(email)s contrib.optional=true [ssh] From 923c463592830abe70fa8b7d7ae2ea7bf4059bc3 Mon Sep 17 00:00:00 2001 From: Paul Wise Date: Wed, 26 Mar 2014 17:45:19 +0800 Subject: [PATCH 002/210] Use SSL in links and commands where available --- debianmemberportfolio/model/portfolio.ini | 28 +++++++++++------------ 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/debianmemberportfolio/model/portfolio.ini b/debianmemberportfolio/model/portfolio.ini index 0dccf71..a656087 100644 --- a/debianmemberportfolio/model/portfolio.ini +++ b/debianmemberportfolio/model/portfolio.ini @@ -31,12 +31,12 @@ alladdresses.pattern=http://qa.debian.org/developer.php?login=%(name)s [bugs] urls=received,reported,usertags,searchall,wnpp,correspondent,graph -received.pattern=http://bugs.debian.org/%(email)s -reported.pattern=http://bugs.debian.org/from:%(email)s -usertags.pattern=http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=%(email)s +received.pattern=https://bugs.debian.org/%(email)s +reported.pattern=https://bugs.debian.org/from:%(email)s +usertags.pattern=https://bugs.debian.org/cgi-bin/pkgreport.cgi?users=%(email)s searchall.pattern=http://bugs-search.debian.org/cgi-bin/search.cgi?phrase=%(name)s;search=search wnpp.pattern=http://qa.debian.org/developer.php?wnpp=%(email)s -correspondent.pattern=http://bugs.debian.org/cgi-bin/pkgreport.cgi?correspondent=%(email)s +correspondent.pattern=https://bugs.debian.org/cgi-bin/pkgreport.cgi?correspondent=%(email)s graph.pattern=http://qa.debian.org/data/bts/graphs/by-maint/%(email)s.png [build] @@ -45,17 +45,17 @@ buildd.pattern=https://buildd.debian.org/status/package.php?p=%(email)s&compact= [qa] urls=lintian,lintianfull,piuparts,patchtracker,dmd,duck -dmd.pattern=http://udd.debian.org/dmd.cgi?email=%(email)s +dmd.pattern=https://udd.debian.org/dmd.cgi?email=%(email)s lintian.pattern=http://lintian.debian.org/maintainer/%(email)s.html lintianfull.pattern=http://lintian.debian.org/full/%(email)s.html -piuparts.pattern=http://piuparts.debian.org/sid/maintainer/%(firstchar)s/%(email)s.html +piuparts.pattern=https://piuparts.debian.org/sid/maintainer/%(firstchar)s/%(email)s.html patchtracker.pattern=http://patch-tracker.debian.org/email/%(email)s duck.pattern=http://duck.debian.net/?sourcepackage=%(email)s [lists] urls=dolists,adolists,gmane -dolists.pattern=http://lists.debian.org/cgi-bin/search?author=%(name)s&sort=date -adolists.pattern=http://www.google.com/search?q=site%%3Alists.alioth.debian.org+%%22%(name)s%%22 +dolists.pattern=https://lists.debian.org/cgi-bin/search?author=%(name)s&sort=date +adolists.pattern=https://www.google.com/search?q=site%%3Alists.alioth.debian.org+%%22%(name)s%%22 gmane.pattern=http://search.gmane.org/?email=%(name)s&group=gmane.linux.debian.* # debconf list search has a tricky URL format # http://lists.debconf.org/lurker/search \ @@ -76,13 +76,13 @@ nm.pattern=https://nm.debian.org/public/nmstatus/%(username)s dbfinger.pattern=finger %(username)s@db.debian.org dbfinger.type=finger dbfinger.optional=true -db.pattern=http://db.debian.org/search.cgi?uid=%(username)s&dosearch=Search +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 alioth.pattern=http://alioth.debian.org/users/%(aliothusername)s/ alioth.optional=true -wiki.pattern=http://wiki.debian.org/%(wikihomepage)s +wiki.pattern=https://wiki.debian.org/%(wikihomepage)s forum.pattern=http://forums.debian.net/memberlist.php?mode=viewprofile&u=%(forumsid)d forum.optional=true @@ -92,13 +92,13 @@ debtags.pattern=http://debtags.debian.net/reports/maint/%(email)s planetname.pattern=http://planet-search.debian.org/cgi-bin/search.cgi?terms=%%22%(name)s%%22 planetuser.pattern=http://planet-search.debian.org/cgi-bin/search.cgi?terms=%%22%(username)s%%22 planetuser.optional=true -links.pattern=http://www.google.com/search?hl=en&lr=&q=site%%3Adebian.org+%%22%(name)s%%22+-site%%3Anm.debian.org+-site%%3Alintian.debian.org+-site%%3Abugs.debian.org+-site%%3Alists.debian.org+-site%%3Apackages.debian.org+-site%%3Alists.alioth.debian.org+-site%%3Aftp.debian.org++-site%%3Apackages.qa.debian.org++-site%%3Aftp*.*.debian.org+-inurl%%3Adebian.org%%2Fdevel%%2Fpeople.+-inurl%%3Aindices%%2FMaintainers+-inurl%%3Adebian.org%%2Fdebian%%2Fproject++-inurl%%3A%%2Fdists%%2F&btnG=Search -website.pattern=http://www.google.com/search?q=site:www.debian.org+%(name)s +links.pattern=https://www.google.com/search?hl=en&lr=&q=site%%3Adebian.org+%%22%(name)s%%22+-site%%3Anm.debian.org+-site%%3Alintian.debian.org+-site%%3Abugs.debian.org+-site%%3Alists.debian.org+-site%%3Apackages.debian.org+-site%%3Alists.alioth.debian.org+-site%%3Aftp.debian.org++-site%%3Apackages.qa.debian.org++-site%%3Aftp*.*.debian.org+-inurl%%3Adebian.org%%2Fdevel%%2Fpeople.+-inurl%%3Aindices%%2FMaintainers+-inurl%%3Adebian.org%%2Fdebian%%2Fproject++-inurl%%3A%%2Fdists%%2F&btnG=Search +website.pattern=https://www.google.com/search?q=site:www.debian.org+%(name)s search.pattern=http://search.debian.org/cgi-bin/omega?P=%%22%(name)s%%22 gpgfinger.pattern=finger %(username)s/key@db.debian.org gpgfinger.type=finger gpgfinger.optional=true -gpgweb.pattern=http://db.debian.org/fetchkey.cgi?fingerprint=%(gpgfp)s +gpgweb.pattern=https://db.debian.org/fetchkey.cgi?fingerprint=%(gpgfp)s gpgweb.optional=true nm.pattern=https://nm.debian.org/public/person/%(username)s contrib.pattern=https://contributors.debian.org/contributor/%(email)s @@ -108,7 +108,7 @@ contrib.optional=true # SSH functions urls=owndndoms,miainfo,groupinfo # owned *.debian.net domains -owndndoms.pattern=ldapsearch -u -x -H ldap://db.debian.org -b dc=debian,dc=org uid=%(username)s dnsZoneEntry +owndndoms.pattern=ldapsearch -u -x -H ldaps://db.debian.org -b dc=debian,dc=org uid=%(username)s dnsZoneEntry owndndoms.type=ldapsearch owndndoms.optional=true # MIA information From 871284270db560bd03d5c9a30426f6aeeee67060 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Thu, 10 Apr 2014 18:06:39 +0200 Subject: [PATCH 003/210] prepare release 0.3.2 - update ChangeLog - bump version number in docs/source/conf.py and setup.py --- ChangeLog | 4 ++++ docs/source/conf.py | 4 ++-- setup.py | 6 +++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index dc09b22..d9b5d81 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-04-10 Jan Dittberner + * add patch by Paul Wise to use SSL where available + * add patch by Paul Wise to fix link to the contributors site + 2014-02-09 Jan Dittberner * renamed module from ddportfolio to debianmemberportfolio * add patch for DUCK URL by Paul Wise diff --git a/docs/source/conf.py b/docs/source/conf.py index f1afed6..bde4e28 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -53,9 +53,9 @@ copyright = u'2009-2014, Jan Dittberner' # built documents. # # The short X.Y version. -version = '0.3.1' +version = '0.3.2' # The full version, including alpha/beta/rc tags. -release = '0.3.1' +release = version # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.py b/setup.py index 2fd613b..a9ebba4 100644 --- a/setup.py +++ b/setup.py @@ -28,14 +28,14 @@ except ImportError: setup( name='debianmemberportfolio', - version='0.3.1', + version='0.3.2', description='service to create Debian Member Portfolio URLs', long_description="""This is a service implementation that returns a set of personalized URLs as outlined in http://wiki.debian.org/DDPortfolio. It takes the Debian Member's full name and email address as input and returns a JSON formatted array of URLs.""", # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers - classifiers=['Development Status :: 3 - Alpha', + classifiers=['Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', 'License :: DFSG approved', 'License :: OSI approved :: ' + @@ -46,7 +46,7 @@ setup( author_email='jan@dittberner.info', url='http://debian-stuff.dittberner.info/debianmemberportfolio', license='AGPL-3.0+', - install_requires=["Pylons>=0.10rc1", 'babel>=0.9.4'], + install_requires=["Pylons>=1.0", 'babel>=0.9.6'], packages=find_packages(exclude=['ez_setup']), include_package_data=True, test_suite='nose.collector', From da8037fbe017f47336b581e95abca9a4955cbe7b Mon Sep 17 00:00:00 2001 From: Paul Wise Date: Tue, 14 Oct 2014 19:38:27 +0800 Subject: [PATCH 004/210] Update DUCK link to new static page --- debianmemberportfolio/model/portfolio.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debianmemberportfolio/model/portfolio.ini b/debianmemberportfolio/model/portfolio.ini index a656087..5c3bbc3 100644 --- a/debianmemberportfolio/model/portfolio.ini +++ b/debianmemberportfolio/model/portfolio.ini @@ -50,7 +50,7 @@ lintian.pattern=http://lintian.debian.org/maintainer/%(email)s.html lintianfull.pattern=http://lintian.debian.org/full/%(email)s.html piuparts.pattern=https://piuparts.debian.org/sid/maintainer/%(firstchar)s/%(email)s.html patchtracker.pattern=http://patch-tracker.debian.org/email/%(email)s -duck.pattern=http://duck.debian.net/?sourcepackage=%(email)s +duck.pattern=http://duck.debian.net/static/maintainer/%(email)s.html [lists] urls=dolists,adolists,gmane From dbb3fdf106eba088f9fc73cec4b3688cbdee5ed7 Mon Sep 17 00:00:00 2001 From: Paul Wise Date: Tue, 14 Oct 2014 19:38:28 +0800 Subject: [PATCH 005/210] Remove generated files from git. --- .gitignore | 2 + .../de/LC_MESSAGES/debianmemberportfolio.mo | Bin 7584 -> 0 bytes .../i18n/debianmemberportfolio.pot | 391 ------------------ .../fr/LC_MESSAGES/debianmemberportfolio.mo | Bin 6200 -> 0 bytes .../id/LC_MESSAGES/debianmemberportfolio.mo | Bin 5968 -> 0 bytes .../LC_MESSAGES/debianmemberportfolio.mo | Bin 6178 -> 0 bytes 6 files changed, 2 insertions(+), 391 deletions(-) delete mode 100644 debianmemberportfolio/i18n/de/LC_MESSAGES/debianmemberportfolio.mo delete mode 100644 debianmemberportfolio/i18n/debianmemberportfolio.pot delete mode 100644 debianmemberportfolio/i18n/fr/LC_MESSAGES/debianmemberportfolio.mo delete mode 100644 debianmemberportfolio/i18n/id/LC_MESSAGES/debianmemberportfolio.mo delete mode 100644 debianmemberportfolio/i18n/pt_BR/LC_MESSAGES/debianmemberportfolio.mo diff --git a/.gitignore b/.gitignore index 08da140..3b423a9 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ data/ *.egg-info/ .coverage .ropeproject/ +*.mo +*.pot diff --git a/debianmemberportfolio/i18n/de/LC_MESSAGES/debianmemberportfolio.mo b/debianmemberportfolio/i18n/de/LC_MESSAGES/debianmemberportfolio.mo deleted file mode 100644 index 71fac58292166342f96da900bdfaaa5b948ced03..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7584 zcmb`LTZ|-C8OINT!VaJa$VE_&EgNRSR`2XWU}@NanVrk-I# z=A5b-W)ofr-Xi#d`XVMOsHiVW%)Yoj=;)I##;8#=L`jS>UScrd12Ovhs;YasXLo_1 zlb-r_Rh`Rs|IWW(y!?XCEB;RKe?9-dc$?g9{XOw^rK;RM2`+=D!7IVb-k}s9wUf(b z;4bjp;C}FZ;8E}bunRIpS+D{=0$u}t5!?xW54;+D0lXG`8N3+0mGXWPly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ZzV_JobWFFB;#=dmBVDxQg{59P zmT_XBw!t(VOI5(A2r!7cGG&DJ{0{_crj!V86(SCkteJlFNxi_0#fVr1CCggFG%nqI zHV&x0Vnv}_SiDfOv>!1L@pHwR(M#0ot>U|!W-X%&4mP0{a?*7uCtZ2isO`(0gLMs= zZuTs!YeBeGUV{4$LjpKF?H`>+y;3%BgDVgF9Zs%>vPOl>Yj~fQd9$xW%Z^L$SrG#I EUwN$ZC;$Ke diff --git a/debianmemberportfolio/i18n/debianmemberportfolio.pot b/debianmemberportfolio/i18n/debianmemberportfolio.pot deleted file mode 100644 index 4d8964a..0000000 --- a/debianmemberportfolio/i18n/debianmemberportfolio.pot +++ /dev/null @@ -1,391 +0,0 @@ -# Translations template for debianmemberportfolio. -# Copyright (C) 2014 ORGANIZATION -# This file is distributed under the same license as the debianmemberportfolio -# project. -# FIRST AUTHOR , 2014. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: debianmemberportfolio 0.3.1\n" -"Report-Msgid-Bugs-To: jan@dittberner.info\n" -"POT-Creation-Date: 2014-02-08 18:14+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 0.9.6\n" - -#: debianmemberportfolio/controllers/portfolio.py:45 -msgid "Overview" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:46 -msgid "Debian Member's Package Overview" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:47 -msgid "" -"Debian Member's Package Overview\n" -"... showing all email addresses" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:51 -msgid "Bugs" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:52 -msgid "" -"bugs received\n" -"(note: co-maintainers not listed, see #430986)" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:56 -msgid "bugs reported" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:57 -msgid "user tags" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:58 -msgid "all messages (i.e., full text search for developer name on all bug logs)" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:60 -msgid "WNPP" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:61 -msgid "correspondent for bugs" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:62 -msgid "one year open bug history graph" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:65 -msgid "Build" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:66 -msgid "buildd.d.o" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:67 -msgid "igloo" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:70 -msgid "Quality Assurance" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:71 -msgid "maintainer dashboard" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:72 -msgid "lintian reports" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:73 -msgid "full lintian reports (i.e. including \"info\"-level messages)" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:75 -msgid "piuparts" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:76 -msgid "Debian patch tracking system" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:77 -msgid "Debian Url ChecKer" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:80 -msgid "Mailing Lists" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:81 -msgid "lists.d.o" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:82 -msgid "lists.a.d.o" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:83 -msgid "gmane" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:86 -msgid "Files" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:87 -msgid "people.d.o" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:88 -msgid "oldpeople" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:89 -#: debianmemberportfolio/controllers/portfolio.py:97 -msgid "Alioth" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:92 -msgid "Membership" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:93 -msgid "NM" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:94 -msgid "DB information via finger" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:95 -msgid "DB information via HTTP" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:96 -msgid "FOAF profile" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:98 -msgid "Wiki" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:99 -msgid "Forum" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:102 -msgid "Miscellaneous" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:103 -msgid "debtags" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:104 -msgid "Planet Debian (name)" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:105 -msgid "Planet Debian (username)" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:106 -msgid "links" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:107 -msgid "Debian website" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:108 -msgid "Debian search" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:109 -msgid "GPG public key via finger" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:110 -msgid "GPG public key via HTTP" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:111 -msgid "NM, AM participation" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:112 -msgid "Contribution information" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:115 -msgid "Information reachable via ssh (for Debian Members)" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:116 -msgid "owned debian.net domains" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:117 -msgid "" -"MIA database " -"information" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:119 -msgid "Group membership information" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:122 -msgid "Ubuntu" -msgstr "" - -#: debianmemberportfolio/controllers/portfolio.py:123 -msgid "Available patches from Ubuntu" -msgstr "" - -#: debianmemberportfolio/model/urlbuilder.py:40 -msgid "Email address" -msgstr "" - -#: debianmemberportfolio/model/urlbuilder.py:41 -msgid "Name" -msgstr "" - -#: debianmemberportfolio/model/urlbuilder.py:42 -msgid "GPG fingerprint" -msgstr "" - -#: debianmemberportfolio/model/urlbuilder.py:43 -msgid "Debian user name" -msgstr "" - -#: debianmemberportfolio/model/urlbuilder.py:44 -msgid "Non Debian email address" -msgstr "" - -#: debianmemberportfolio/model/urlbuilder.py:45 -msgid "Alioth user name" -msgstr "" - -#: debianmemberportfolio/model/urlbuilder.py:97 -#: debianmemberportfolio/model/urlbuilder.py:101 -#, python-format -msgid "Missing input: %s" -msgstr "" - -#: debianmemberportfolio/templates/base.mako:25 -#: debianmemberportfolio/templates/base.mako:33 -msgid "Debian Member Portfolio Service" -msgstr "" - -#: debianmemberportfolio/templates/base.mako:31 -msgid "Debian Logo" -msgstr "" - -#: debianmemberportfolio/templates/base.mako:34 -msgid "" -"This service has been inspired by Stefano Zacchiroli's DDPortfolio page in the Debian " -"Wiki. You can create a set of customized links leading to a Debian " -"Member's or package maintainer's information regarding Debian." -msgstr "" - -#: debianmemberportfolio/templates/base.mako:41 -msgid "AGPL - Free Software" -msgstr "" - -#: debianmemberportfolio/templates/base.mako:43 -#, python-format -msgid "" -"The service is available under the terms of the GNU Affero General Public " -"License as published by the Free Software Foundation, either version 3 of" -" the License, or (at your option) any later version. You can browse the " -"source code or clone it from %(cloneurl)s using git. If you " -"want to translate this service to your language you can contribute at Transifex." -msgstr "" - -#: debianmemberportfolio/templates/base.mako:44 -msgid "Copyright © 2009-2014 Jan Dittberner" -msgstr "" - -#: debianmemberportfolio/templates/showform.mako:24 -msgid "Enter your personal information" -msgstr "" - -#: debianmemberportfolio/templates/showform.mako:30 -#: debianmemberportfolio/templates/showurls.mako:27 -msgid "Debian Member Portfolio" -msgstr "" - -#: debianmemberportfolio/templates/showform.mako:36 -msgid "Email address:" -msgstr "" - -#: debianmemberportfolio/templates/showform.mako:47 -msgid "Show all form fields" -msgstr "" - -#: debianmemberportfolio/templates/showform.mako:54 -msgid "Name:" -msgstr "" - -#: debianmemberportfolio/templates/showform.mako:64 -msgid "GPG fingerprint:" -msgstr "" - -#: debianmemberportfolio/templates/showform.mako:79 -msgid "Debian user name:" -msgstr "" - -#: debianmemberportfolio/templates/showform.mako:94 -msgid "Non Debian email address:" -msgstr "" - -#: debianmemberportfolio/templates/showform.mako:109 -msgid "Alioth user name:" -msgstr "" - -#: debianmemberportfolio/templates/showform.mako:125 -msgid "Wiki user name:" -msgstr "" - -#: debianmemberportfolio/templates/showform.mako:140 -msgid "Forum user id:" -msgstr "" - -#: debianmemberportfolio/templates/showform.mako:151 -msgid "Output format:" -msgstr "" - -#: debianmemberportfolio/templates/showform.mako:157 -msgid "HTML" -msgstr "" - -#: debianmemberportfolio/templates/showform.mako:159 -msgid "JSON" -msgstr "" - -#: debianmemberportfolio/templates/showform.mako:161 -msgid "Build Debian Member Portfolio URLs" -msgstr "" - -#: debianmemberportfolio/templates/showurls.mako:23 -msgid "Your personal links" -msgstr "" - -#: debianmemberportfolio/templates/showurls.mako:30 -msgid "Usage" -msgstr "" - -#: debianmemberportfolio/templates/showurls.mako:30 -msgid "URL" -msgstr "" - -#: debianmemberportfolio/templates/showurls.mako:40 -msgid "Error during URL creation:" -msgstr "" - -#: debianmemberportfolio/templates/showurls.mako:67 -msgid "Restart" -msgstr "" - diff --git a/debianmemberportfolio/i18n/fr/LC_MESSAGES/debianmemberportfolio.mo b/debianmemberportfolio/i18n/fr/LC_MESSAGES/debianmemberportfolio.mo deleted file mode 100644 index 928aad066924d1fd5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FurTmM%%NRikGz4 zZO7`mF#$WWkrx|R*SGb0Vwz46>aRGBM%#-iU<%?wt!!bTSM8%S0~h#(GV%hQv`yFW z2Wf-SvC8_PFx3s}KT9v82@~53o4S$OBYO^m8GRNSt&}ez3x))3`9-D{`TxR4xuBH!tp>pK#-J>&ioMmi5-YgC49UOCx4v6A>ukFo5>XZUZe+rUW)ucSZ{vK8 z$Aiqvqh@0BvIJ*lWZ4N?DVbanF;Nwv5Rkp&UB$AsRpw+0tk*P;iPI)& z{o)Qg8BO9!iFR8#r7nX{3EeXL5_LZWsi+J9L8! zwaE{ca9y>Al;J4BP~WTf<=QI3%Ne z0T;GX4)9#U;c=V9DaQcq)@GUw3BdEThNhu2paQv;^Or~1b>2z;M_o6!fbjzz+4fKT zbKfcseUWwDm1;w#jHQ8=qk71gq5{RdVZ+%`Zh02F!t@7HHZo=c%QUh(agXz8YUpMC zoqqIZGco8in;xmk>4z-|@*(qT1MkO#_MC!n9qG6GawmJkrrxGkSd_=G=kPUy66cKR z4eU>V!shecAT!nxi5jse*7X9J+eSq5FY=f}<3Yfl(VOAWiHfH(oepP)iPdbD@u;1Cwzr*5l+_Y) zsFTvaX=n4STIf$l@9r>5AwT)T;d{XzI-o8`XUMcnVGayR>57)?XLkPcm>97Ur<;>v{xQ;s63 z5&1DKO{Q<)uo^8oyrf5_N%vQAwmo7-N#^$SY7v3oZ8d#~+9>V*u!Md@Y8H(Hy(F5P zQ9fqBlAZ4F9IspNp-GvC)Cn_yj_-TQG4fB;*5{1ZHdeYn^ z4abO6=%WU*R>jY_JQ9+~BE^etmdO%|jAO?qw-sWRpW}JaN#5oXSibaR@t_>8b>;8| KnqLn{5A|PC=nIkn diff --git a/debianmemberportfolio/i18n/id/LC_MESSAGES/debianmemberportfolio.mo b/debianmemberportfolio/i18n/id/LC_MESSAGES/debianmemberportfolio.mo deleted file mode 100644 index 4d27cd29197915ecb3db15e1945051d3b317f264..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001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_FWq4+bCN*w%O;4Ahx0CH?iF*(T z#mik(GE)K<{FoJ z!cJ&#EC{N0&=bLF-oYYbpME=6^u`ivMJ`njhnvFDUJ##R6;((u*rjR! z|Ho#KmT!adMDN`#?JpaOYNci(RFm}PhegwM$_${HFdZ(&vMn5L6upfDmpXN>Mv?zJ MLMtJ0CpWbEFCHSNy#N3J diff --git a/debianmemberportfolio/i18n/pt_BR/LC_MESSAGES/debianmemberportfolio.mo b/debianmemberportfolio/i18n/pt_BR/LC_MESSAGES/debianmemberportfolio.mo deleted file mode 100644 index 5225198f05d22c7b2d5f91b9ad9879226eef7d83..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6178 zcmb`LTWlOx8OKkdm*Cz@TY3R{WK?R4?Ai`dn{FDncI-F~cCy4yt3nH$-8s8E$?lx( zoEbX~R04#mKJXBb3Id6T6soqUQAN235USMfQ$Z?7@KTAJ1X4jrNFc!jqKMx&Gwb!b zNdrSzwhPuC-0D}!M}$tQL4=4!*B(D5nc~}4=;uP zfY-o(!)xJ{489NE1}}#DAh*;k9EAtr?eGMA5Bw6m89oayhrMF_=kPYJUxylAc9~N5 z!7+Fp458Tj8F(f98WcO8hGNGL;Z^Xb#r@Zc>(`;o`%icaym5z8SHLMKc1{bUxB;etHt$2@5=4F6pk={eQ|vo6gx{$Tz)SUzs^FL z=K(18JOpooH7M(S8j4*{K$cM7g7V&3DD%Ax*_!%QG5%|~<07U02H(l}zc2!qs{cTl z{}P-o>s=0IpVz>5Lk$nY-SG49Q7C>EXURUUf;YmOp{zFv_rg6;=1mHoD)?C_^FIce zN__=ll6n$~{m&KGFF}dV&!Fu4FHqLIn8jtkS3`O4CirLeH3}s^uVC^|z`aoB`#O|; zJ`W{cKY%jdt5Cz&q3nAHL1hVbCEN{ffhBkZioYL)k|$qT)zg#pg3RZ zV;o9;J_*5@L#a0p1FGQ0nk^Q099B%6>JA+y!rka{VwAf7PI@vkqmSUns^;L&?vl;0^E@ zDDS-pCC)u4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X+O$&6m*?`Mm3!&C~{tE{nRJFUj8M=`W#ysgrb<&&dUC3=>#qE{CF7IQ zDlNdb4co44J6ZKT$4zu!uzAv!B{Nt|NRH=Xpy%&clZskRGme||6%f*pq+O~m4fBbJ&UOCyafW@Jvylz_@@&|5X(inRKU z5d*gA!ouLH^^c^X@1KIGh;6A*Ja?Y)idsP(()#*-nm>nKn`2@|W@<$(Qud^aPmv76 zsoUi!bc8xnjUpNimCBJGO8oFGbC65hl;cdyF4jo%1HJExdR&ywJjiG4Yh*WgjoP(w zCL%T3aQk&d?QfYiyw&@$Xh|c_4D#qa_li^+&Og>)h|?|sGHj?GW>vUVR_5C=Z4?V% z&&Z*+DJ`>F8cvx)TZ*Q{XUtCVA#5by6k<(Q$Yv}=X79P*#I=uC5yqx{Tm<7w5-r2xZ`We3F#Jr`&oq5x#c zM?{9wxkP@35lYy^YB?)|cu)j&)4{)Lo*d6LsFWr7u6;Ll-4JVyZOJp@P_{ zQMJsKXG5{v=AZ->9l{2A1ldZrVLFL-S30MR7OxCR)a4_r#l6(KT&TXOzGXjDw@p#Y znP%Rs%Tn+a From ec3a33545c5a91312da783d1dfd864c70b17da49 Mon Sep 17 00:00:00 2001 From: Paul Wise Date: Tue, 14 Oct 2014 19:38:29 +0800 Subject: [PATCH 006/210] Use https instead of http in links, comments, docstrings etc. Update URLs to new sites where needed. --- README.txt | 2 +- agpl-3.0.txt | 6 ++--- debianmemberportfolio/__init__.py | 2 +- debianmemberportfolio/config/__init__.py | 2 +- debianmemberportfolio/config/environment.py | 2 +- debianmemberportfolio/config/middleware.py | 2 +- debianmemberportfolio/config/routing.py | 4 ++-- debianmemberportfolio/controllers/__init__.py | 2 +- debianmemberportfolio/controllers/error.py | 2 +- .../controllers/portfolio.py | 8 +++---- .../controllers/showformscripts.py | 2 +- debianmemberportfolio/controllers/template.py | 2 +- .../de/LC_MESSAGES/debianmemberportfolio.po | 20 ++++++++--------- .../fr/LC_MESSAGES/debianmemberportfolio.po | 22 +++++++++---------- .../id/LC_MESSAGES/debianmemberportfolio.po | 22 +++++++++---------- .../LC_MESSAGES/debianmemberportfolio.po | 22 +++++++++---------- debianmemberportfolio/lib/__init__.py | 2 +- debianmemberportfolio/lib/app_globals.py | 2 +- debianmemberportfolio/lib/base.py | 2 +- debianmemberportfolio/lib/helpers.py | 2 +- debianmemberportfolio/model/__init__.py | 2 +- debianmemberportfolio/model/dddatabuilder.py | 2 +- debianmemberportfolio/model/form.py | 2 +- debianmemberportfolio/model/keyfinder.py | 2 +- .../model/keyringanalyzer.py | 2 +- debianmemberportfolio/model/portfolio.ini | 20 ++++++++--------- debianmemberportfolio/model/urlbuilder.py | 2 +- debianmemberportfolio/templates/base.mako | 6 ++--- debianmemberportfolio/templates/showform.mako | 2 +- .../templates/showformscript.mako | 2 +- debianmemberportfolio/templates/showurls.mako | 2 +- debianmemberportfolio/tests/__init__.py | 2 +- .../tests/functional/__init__.py | 2 +- .../tests/functional/test_portfolio.py | 2 +- .../tests/functional/test_showformscripts.py | 2 +- debianmemberportfolio/tests/test_models.py | 2 +- debianmemberportfolio/websetup.py | 2 +- docs/source/devdocs.rst | 6 ++--- docs/source/index.rst | 2 +- setup.py | 6 ++--- 40 files changed, 100 insertions(+), 100 deletions(-) diff --git a/README.txt b/README.txt index 32c73e0..1748835 100644 --- a/README.txt +++ b/README.txt @@ -7,5 +7,5 @@ documentation (or its source in docs/source/devdocs.rst), including how to configure a development environment. -[0] http://wiki.debian.org/DDPortfolio +[0] https://wiki.debian.org/DDPortfolio diff --git a/agpl-3.0.txt b/agpl-3.0.txt index dba13ed..be3f7b2 100644 --- a/agpl-3.0.txt +++ b/agpl-3.0.txt @@ -1,7 +1,7 @@ GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007 - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -643,7 +643,7 @@ the "copyright" line and a pointer to where the full notice is found. GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . + along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. @@ -658,4 +658,4 @@ specific requirements. You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU AGPL, see -. +. diff --git a/debianmemberportfolio/__init__.py b/debianmemberportfolio/__init__.py index 2aee530..d500ba2 100644 --- a/debianmemberportfolio/__init__.py +++ b/debianmemberportfolio/__init__.py @@ -18,5 +18,5 @@ # General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # diff --git a/debianmemberportfolio/config/__init__.py b/debianmemberportfolio/config/__init__.py index bd997df..7900219 100644 --- a/debianmemberportfolio/config/__init__.py +++ b/debianmemberportfolio/config/__init__.py @@ -18,5 +18,5 @@ # General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # diff --git a/debianmemberportfolio/config/environment.py b/debianmemberportfolio/config/environment.py index 89a3392..feabd91 100644 --- a/debianmemberportfolio/config/environment.py +++ b/debianmemberportfolio/config/environment.py @@ -18,7 +18,7 @@ # General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # """ Pylons environment configuration diff --git a/debianmemberportfolio/config/middleware.py b/debianmemberportfolio/config/middleware.py index f1f6380..9dd80ae 100644 --- a/debianmemberportfolio/config/middleware.py +++ b/debianmemberportfolio/config/middleware.py @@ -18,7 +18,7 @@ # General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # """ Pylons middleware initialization diff --git a/debianmemberportfolio/config/routing.py b/debianmemberportfolio/config/routing.py index 53d02d3..39a9d38 100644 --- a/debianmemberportfolio/config/routing.py +++ b/debianmemberportfolio/config/routing.py @@ -18,14 +18,14 @@ # General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # """ Routes configuration The more specific and detailed routes should be defined first so they may take precedent over the more generic routes. For more information -refer to the routes manual at http://routes.groovie.org/docs/ +refer to the routes manual at https://routes.readthedocs.org/ """ diff --git a/debianmemberportfolio/controllers/__init__.py b/debianmemberportfolio/controllers/__init__.py index 6941221..eda4d33 100644 --- a/debianmemberportfolio/controllers/__init__.py +++ b/debianmemberportfolio/controllers/__init__.py @@ -18,5 +18,5 @@ # General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # diff --git a/debianmemberportfolio/controllers/error.py b/debianmemberportfolio/controllers/error.py index 376d28f..4047bb5 100644 --- a/debianmemberportfolio/controllers/error.py +++ b/debianmemberportfolio/controllers/error.py @@ -18,7 +18,7 @@ # General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # import cgi diff --git a/debianmemberportfolio/controllers/portfolio.py b/debianmemberportfolio/controllers/portfolio.py index 58ebf74..5539edc 100644 --- a/debianmemberportfolio/controllers/portfolio.py +++ b/debianmemberportfolio/controllers/portfolio.py @@ -18,7 +18,7 @@ # General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # """ This module defines the PortfolioController class used to render the portfolio @@ -57,13 +57,13 @@ class PortfolioController(BaseController): 'label': N_('Bugs'), 'received': N_('''bugs received (note: co-maintainers not listed, see \ -#430986)'''), 'reported': N_('bugs reported'), 'usertags': N_('user tags'), 'searchall': N_('all messages (i.e., full text search for \ developer name on all bug logs)'), - 'wnpp': N_('WNPP'), + 'wnpp': N_('WNPP'), 'correspondent': N_('correspondent for bugs'), 'graph': N_('one year open bug history graph'), }, @@ -120,7 +120,7 @@ developer name on all bug logs)'), 'ssh': { 'label': N_('Information reachable via ssh (for Debian Members)'), 'owndndoms': N_('owned debian.net domains'), - 'miainfo': N_('MIA database information'), 'groupinfo': N_('Group membership information'), }, diff --git a/debianmemberportfolio/controllers/showformscripts.py b/debianmemberportfolio/controllers/showformscripts.py index d2a5790..1e906a2 100644 --- a/debianmemberportfolio/controllers/showformscripts.py +++ b/debianmemberportfolio/controllers/showformscripts.py @@ -18,7 +18,7 @@ # General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # """ This file defines the ShowformscriptsController used to generate the JavaScript diff --git a/debianmemberportfolio/controllers/template.py b/debianmemberportfolio/controllers/template.py index acacb07..b1f53e1 100644 --- a/debianmemberportfolio/controllers/template.py +++ b/debianmemberportfolio/controllers/template.py @@ -18,7 +18,7 @@ # General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # """ This file contains the TemplateController used to render templates. diff --git a/debianmemberportfolio/i18n/de/LC_MESSAGES/debianmemberportfolio.po b/debianmemberportfolio/i18n/de/LC_MESSAGES/debianmemberportfolio.po index c9402b7..71f4b27 100644 --- a/debianmemberportfolio/i18n/de/LC_MESSAGES/debianmemberportfolio.po +++ b/debianmemberportfolio/i18n/de/LC_MESSAGES/debianmemberportfolio.po @@ -42,12 +42,12 @@ msgstr "Fehler" #: debianmemberportfolio/controllers/portfolio.py:52 msgid "" "bugs received\n" -"(note: co-maintainers not listed, see #430986)" msgstr "" "Erhaltene Fehlerberichte\n" "(Anmerkung: Co-Maintainer werden nicht aufgeführt, siehe #430986)" #: debianmemberportfolio/controllers/portfolio.py:56 @@ -65,8 +65,8 @@ msgstr "" "Fehlerlogs)" #: debianmemberportfolio/controllers/portfolio.py:60 -msgid "WNPP" -msgstr "WNPP" +msgid "WNPP" +msgstr "WNPP" #: debianmemberportfolio/controllers/portfolio.py:61 msgid "correspondent for bugs" @@ -233,11 +233,11 @@ msgstr "Besitz von debian.net-Domains" #: debianmemberportfolio/controllers/portfolio.py:117 msgid "" -"MIA database" +"MIA database" " information" msgstr "" "Informationen in der MIA-Datenbank" +"href=\"https://wiki.debian.org/qa.debian.org/MIATeam\">MIA-Datenbank" #: debianmemberportfolio/controllers/portfolio.py:119 msgid "Group membership information" @@ -293,12 +293,12 @@ msgstr "Debian-Logo" #: debianmemberportfolio/templates/base.mako:34 msgid "" "This service has been inspired by Stefano Zacchiroli's DDPortfolio page in the " +"href=\"https://wiki.debian.org/DDPortfolio\">DDPortfolio page in the " "Debian Wiki. You can create a set of customized links leading to a " "Debian Member's or package maintainer's information regarding Debian." msgstr "" "Dieser Dienst wurde durch Stefano Zacchirolis DDPortfolio-Seite im Debian " +"href=\"https://wiki.debian.org/DDPortfolio\">DDPortfolio-Seite im Debian " "Wiki inspiriert. Mit dem Dienst können personalisierte Links zu " "Informationen im Bezug auf Debian für Debian-Mitglieder und Paketbetreuer" " erzeugt werden." @@ -311,7 +311,7 @@ msgstr "AGPL - Freie Software" #, python-format msgid "" "The service is available under the terms of the GNU Affero General Public " +"href=\"https://www.gnu.org/licenses/agpl.html\">GNU Affero General Public " "License as published by the Free Software Foundation, either version " "3 of the License, or (at your option) any later version. You can browse the" @@ -322,7 +322,7 @@ msgid "" "title=\"Debian Member Portfolio Service at Transifex\">Transifex." msgstr "" "Dieser Dienst wird unter den Bedingungen der GNU Affero General Public " +"href=\"https://www.gnu.org/licenses/agpl.html\">GNU Affero General Public " "License, so wie sie von der Free Software Foundation veröffentlicht " "ist, bereitgestellt. Sie können entweder Version 3 oder (auf Ihren Wunsch" " hin) jede spätere Version der Lizenz verwenden. Sie können sich \n" "Language-Team: French " -"(http://www.transifex.net/projects/p/debportfolioservice/language/fr/)\n" +"(https://www.transifex.com/projects/p/debportfolioservice/language/fr/)\n" "Plural-Forms: nplurals=2; plural=(n > 1)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" @@ -43,11 +43,11 @@ msgstr "Bogues" #: debianmemberportfolio/controllers/portfolio.py:52 msgid "" "bugs received\n" -"(note: co-maintainers not listed, see #430986)" msgstr "" "Bogues reçus\n" -"(note : co-responsables non listés, voir #430986)" #: debianmemberportfolio/controllers/portfolio.py:56 @@ -65,8 +65,8 @@ msgstr "" " dans tous les journaux de bogue)" #: debianmemberportfolio/controllers/portfolio.py:60 -msgid "WNPP" -msgstr "WNPP" +msgid "WNPP" +msgstr "WNPP" #: debianmemberportfolio/controllers/portfolio.py:61 msgid "correspondent for bugs" @@ -233,11 +233,11 @@ msgstr "Propriété des domaines debian.net" #: debianmemberportfolio/controllers/portfolio.py:117 msgid "" -"MIA database" +"MIA database" " information" msgstr "" "Informations de la base de données MIA" +"href=\"https://wiki.debian.org/qa.debian.org/MIATeam\">MIA" #: debianmemberportfolio/controllers/portfolio.py:119 msgid "Group membership information" @@ -293,12 +293,12 @@ msgstr "Logo Debian" #: debianmemberportfolio/templates/base.mako:34 msgid "" "This service has been inspired by Stefano Zacchiroli's DDPortfolio page in the " +"href=\"https://wiki.debian.org/DDPortfolio\">DDPortfolio page in the " "Debian Wiki. You can create a set of customized links leading to a " "Debian Member's or package maintainer's information regarding Debian." msgstr "" "Ce service a été inspiré par la page DDPortfolio du Wiki " +"href=\"https://wiki.debian.org/DDPortfolio\">la page DDPortfolio du Wiki " "de Debian de Stefano Zacchiroli. Vous pouvez créer un ensemble " "personnalisé de liens fournissant des informations sur un membre ou un " "mainteneur de paquet de Debian." @@ -311,7 +311,7 @@ msgstr "AGPL - Logiciel libre" #, fuzzy, python-format msgid "" "The service is available under the terms of the GNU Affero General Public " +"href=\"https://www.gnu.org/licenses/agpl.html\">GNU Affero General Public " "License as published by the Free Software Foundation, either version " "3 of the License, or (at your option) any later version. You can browse the" @@ -322,7 +322,7 @@ msgid "" "title=\"Debian Member Portfolio Service at Transifex\">Transifex." msgstr "" "Ce service est disponible sous les termes de la licence GNU Affero General Public " +"href=\"https://www.gnu.org/licenses/agpl.html\">GNU Affero General Public " "License telle que publiée par la Free Software Foundation, soit la " "version 3 de la licence, ou (à votre choix) toute version ultérieure. " "Vous pouvez \n" "Language-Team: Indonesian " -"(http://www.transifex.com/projects/p/debportfolioservice/language/id/)\n" +"(https://www.transifex.com/projects/p/debportfolioservice/language/id/)\n" "Plural-Forms: nplurals=1; plural=0\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" @@ -43,12 +43,12 @@ msgstr "Bugs" #: debianmemberportfolio/controllers/portfolio.py:52 msgid "" "bugs received\n" -"(note: co-maintainers not listed, see #430986)" msgstr "" "bugs diterima\n" "(catatan: co-maintainers tidak tercantum, lihat #430986)" #: debianmemberportfolio/controllers/portfolio.py:56 @@ -66,8 +66,8 @@ msgstr "" "semua catatan bug)" #: debianmemberportfolio/controllers/portfolio.py:60 -msgid "WNPP" -msgstr "WNPP" +msgid "WNPP" +msgstr "WNPP" #: debianmemberportfolio/controllers/portfolio.py:61 msgid "correspondent for bugs" @@ -234,11 +234,11 @@ msgstr "domain debian.net sendiri" #: debianmemberportfolio/controllers/portfolio.py:117 msgid "" -"MIA database" +"MIA database" " information" msgstr "" "informasi database MIA" +"href=\"https://wiki.debian.org/qa.debian.org/MIATeam\">MIA" #: debianmemberportfolio/controllers/portfolio.py:119 msgid "Group membership information" @@ -294,12 +294,12 @@ msgstr "Logo Debian" #: debianmemberportfolio/templates/base.mako:34 msgid "" "This service has been inspired by Stefano Zacchiroli's DDPortfolio page in the " +"href=\"https://wiki.debian.org/DDPortfolio\">DDPortfolio page in the " "Debian Wiki. You can create a set of customized links leading to a " "Debian Member's or package maintainer's information regarding Debian." msgstr "" "Layanan ini terinspirasi dari halaman DDPortfolio Stefano " +"href=\"https://wiki.debian.org/DDPortfolio\">DDPortfolio Stefano " "Zacchiroli di Wiki Debian. Anda dapat membuat sebuah link kustom yang" " mengarah ke Anggota Debian atau informasi mengenai pengelola paket " "Debian." @@ -312,7 +312,7 @@ msgstr "AGPL - Free Software" #, fuzzy, python-format msgid "" "The service is available under the terms of the GNU Affero General Public " +"href=\"https://www.gnu.org/licenses/agpl.html\">GNU Affero General Public " "License as published by the Free Software Foundation, either version " "3 of the License, or (at your option) any later version. You can browse the" @@ -323,7 +323,7 @@ msgid "" "title=\"Debian Member Portfolio Service at Transifex\">Transifex." msgstr "" "Layanan ini tersedia di bawah persyaratan GNU Affero General Public " +"href=\"https://www.gnu.org/licenses/agpl.html\">GNU Affero General Public " "License seperti yang diterbitkan oleh Free Software Foundation, baik " "versi 3 dari Lisensi, atau (dengan pilihan Anda) versi lainnya. Anda " "dapat \n" "Language-Team: Portuguese (Brazil) " -"(http://www.transifex.net/projects/p/debportfolioservice/language/pt_BR/)" +"(https://www.transifex.com/projects/p/debportfolioservice/language/pt_BR/)" "\n" "Plural-Forms: nplurals=2; plural=(n > 1)\n" "MIME-Version: 1.0\n" @@ -44,12 +44,12 @@ msgstr "Bugs" #: debianmemberportfolio/controllers/portfolio.py:52 msgid "" "bugs received\n" -"(note: co-maintainers not listed, see #430986)" msgstr "" "Bugs recebidos\n" "(nota: co-mantenedores não listados, veja #430986)" #: debianmemberportfolio/controllers/portfolio.py:56 @@ -67,8 +67,8 @@ msgstr "" "desenvovedor em todos os logs de bug)" #: debianmemberportfolio/controllers/portfolio.py:60 -msgid "WNPP" -msgstr "WNPP" +msgid "WNPP" +msgstr "WNPP" #: debianmemberportfolio/controllers/portfolio.py:61 msgid "correspondent for bugs" @@ -235,10 +235,10 @@ msgstr "domínios debian.net adquiridos" #: debianmemberportfolio/controllers/portfolio.py:117 msgid "" -"MIA database" +"MIA database" " information" msgstr "" -"MIA " +"MIA " "informações de banco de dados" #: debianmemberportfolio/controllers/portfolio.py:119 @@ -295,12 +295,12 @@ msgstr "Logo Debian" #: debianmemberportfolio/templates/base.mako:34 msgid "" "This service has been inspired by Stefano Zacchiroli's DDPortfolio page in the " +"href=\"https://wiki.debian.org/DDPortfolio\">DDPortfolio page in the " "Debian Wiki. You can create a set of customized links leading to a " "Debian Member's or package maintainer's information regarding Debian." msgstr "" "Este serviço tem sido inspirado por Stefano Zacchiroli's Página DDPortfolio na Debian " +"href=\"https://wiki.debian.org/DDPortfolio\">Página DDPortfolio na Debian " "Wiki. Você pode criar um conjunto de links customizados apontando " "para informações, ou de membro Debian, ou de mantenedor de pacotes a " "respeito de Debian." @@ -313,7 +313,7 @@ msgstr "AGPL - Sofware Livre" #, fuzzy, python-format msgid "" "The service is available under the terms of the GNU Affero General Public " +"href=\"https://www.gnu.org/licenses/agpl.html\">GNU Affero General Public " "License as published by the Free Software Foundation, either version " "3 of the License, or (at your option) any later version. You can browse the" @@ -324,7 +324,7 @@ msgid "" "title=\"Debian Member Portfolio Service at Transifex\">Transifex." msgstr "" "O serviço está disponível sob os termos da Licença Pública Geral " +"href=\"https://www.gnu.org/licenses/agpl.html\">Licença Pública Geral " "Affero GNU conforme publicado pela the Free Software Foundation, " "tanto na versão 3 da licença, como (a seu critério) qualquer versão mais " "recente. Você pode. +# along with this program. If not, see . # diff --git a/debianmemberportfolio/lib/app_globals.py b/debianmemberportfolio/lib/app_globals.py index 4013926..cb4ea2b 100644 --- a/debianmemberportfolio/lib/app_globals.py +++ b/debianmemberportfolio/lib/app_globals.py @@ -18,7 +18,7 @@ # General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # """ The application's Globals object diff --git a/debianmemberportfolio/lib/base.py b/debianmemberportfolio/lib/base.py index e907eb3..da057f4 100644 --- a/debianmemberportfolio/lib/base.py +++ b/debianmemberportfolio/lib/base.py @@ -18,7 +18,7 @@ # General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # """ The base Controller API diff --git a/debianmemberportfolio/lib/helpers.py b/debianmemberportfolio/lib/helpers.py index 4c3d898..9bcb5e2 100644 --- a/debianmemberportfolio/lib/helpers.py +++ b/debianmemberportfolio/lib/helpers.py @@ -18,7 +18,7 @@ # General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # # pymode:lint_ignore=W0611 # diff --git a/debianmemberportfolio/model/__init__.py b/debianmemberportfolio/model/__init__.py index 8282204..3f73c88 100644 --- a/debianmemberportfolio/model/__init__.py +++ b/debianmemberportfolio/model/__init__.py @@ -18,7 +18,7 @@ # General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # """ Model classes and model related utilities for the Debian Member Portfolio diff --git a/debianmemberportfolio/model/dddatabuilder.py b/debianmemberportfolio/model/dddatabuilder.py index a4e4f16..9a52be2 100644 --- a/debianmemberportfolio/model/dddatabuilder.py +++ b/debianmemberportfolio/model/dddatabuilder.py @@ -18,7 +18,7 @@ # General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # """ This file contains code to build a representation of a person based on keyring diff --git a/debianmemberportfolio/model/form.py b/debianmemberportfolio/model/form.py index ea86c86..b10ad95 100644 --- a/debianmemberportfolio/model/form.py +++ b/debianmemberportfolio/model/form.py @@ -18,7 +18,7 @@ # General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # """ This file contains the form definitions used in the controllers. diff --git a/debianmemberportfolio/model/keyfinder.py b/debianmemberportfolio/model/keyfinder.py index dcd6593..452d261 100644 --- a/debianmemberportfolio/model/keyfinder.py +++ b/debianmemberportfolio/model/keyfinder.py @@ -18,7 +18,7 @@ # General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # """ This module provides tools for finding PGP key information from a diff --git a/debianmemberportfolio/model/keyringanalyzer.py b/debianmemberportfolio/model/keyringanalyzer.py index 686ca33..09a5315 100644 --- a/debianmemberportfolio/model/keyringanalyzer.py +++ b/debianmemberportfolio/model/keyringanalyzer.py @@ -18,7 +18,7 @@ # General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # """ This is a tool that analyzes GPG and PGP keyrings and stores the diff --git a/debianmemberportfolio/model/portfolio.ini b/debianmemberportfolio/model/portfolio.ini index 5c3bbc3..ced82dc 100644 --- a/debianmemberportfolio/model/portfolio.ini +++ b/debianmemberportfolio/model/portfolio.ini @@ -16,7 +16,7 @@ # General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # [DEFAULT] gnupghome=~/debian/gnupghome @@ -26,8 +26,8 @@ urlbuilder.sections=overview,bugs,build,qa,lists,files,membership, [overview] urls=ddpo,alladdresses -ddpo.pattern=http://qa.debian.org/developer.php?login=%(email)s -alladdresses.pattern=http://qa.debian.org/developer.php?login=%(name)s +ddpo.pattern=https://qa.debian.org/developer.php?login=%(email)s +alladdresses.pattern=https://qa.debian.org/developer.php?login=%(name)s [bugs] urls=received,reported,usertags,searchall,wnpp,correspondent,graph @@ -35,9 +35,9 @@ received.pattern=https://bugs.debian.org/%(email)s reported.pattern=https://bugs.debian.org/from:%(email)s usertags.pattern=https://bugs.debian.org/cgi-bin/pkgreport.cgi?users=%(email)s searchall.pattern=http://bugs-search.debian.org/cgi-bin/search.cgi?phrase=%(name)s;search=search -wnpp.pattern=http://qa.debian.org/developer.php?wnpp=%(email)s +wnpp.pattern=https://qa.debian.org/developer.php?wnpp=%(email)s correspondent.pattern=https://bugs.debian.org/cgi-bin/pkgreport.cgi?correspondent=%(email)s -graph.pattern=http://qa.debian.org/data/bts/graphs/by-maint/%(email)s.png +graph.pattern=https://qa.debian.org/data/bts/graphs/by-maint/%(email)s.png [build] urls=buildd @@ -46,8 +46,8 @@ buildd.pattern=https://buildd.debian.org/status/package.php?p=%(email)s&compact= [qa] urls=lintian,lintianfull,piuparts,patchtracker,dmd,duck dmd.pattern=https://udd.debian.org/dmd.cgi?email=%(email)s -lintian.pattern=http://lintian.debian.org/maintainer/%(email)s.html -lintianfull.pattern=http://lintian.debian.org/full/%(email)s.html +lintian.pattern=https://lintian.debian.org/maintainer/%(email)s.html +lintianfull.pattern=https://lintian.debian.org/full/%(email)s.html piuparts.pattern=https://piuparts.debian.org/sid/maintainer/%(firstchar)s/%(email)s.html patchtracker.pattern=http://patch-tracker.debian.org/email/%(email)s duck.pattern=http://duck.debian.net/static/maintainer/%(email)s.html @@ -65,9 +65,9 @@ gmane.pattern=http://search.gmane.org/?email=%(name)s&group=gmane.linux.debian.* [files] urls=people,alioth -people.pattern=http://people.debian.org/~%(username)s/ +people.pattern=https://people.debian.org/~%(username)s/ people.optional=true -alioth.pattern=http://alioth.debian.org/~%(aliothusername)s/ +alioth.pattern=https://alioth.debian.org/~%(aliothusername)s/ alioth.optional=true [membership] @@ -80,7 +80,7 @@ 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 -alioth.pattern=http://alioth.debian.org/users/%(aliothusername)s/ +alioth.pattern=https://alioth.debian.org/users/%(aliothusername)s/ alioth.optional=true wiki.pattern=https://wiki.debian.org/%(wikihomepage)s forum.pattern=http://forums.debian.net/memberlist.php?mode=viewprofile&u=%(forumsid)d diff --git a/debianmemberportfolio/model/urlbuilder.py b/debianmemberportfolio/model/urlbuilder.py index bfae954..33178a5 100644 --- a/debianmemberportfolio/model/urlbuilder.py +++ b/debianmemberportfolio/model/urlbuilder.py @@ -18,7 +18,7 @@ # General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # """ This module provides the function build_urls to build personalized diff --git a/debianmemberportfolio/templates/base.mako b/debianmemberportfolio/templates/base.mako index def7c01..4df882f 100644 --- a/debianmemberportfolio/templates/base.mako +++ b/debianmemberportfolio/templates/base.mako @@ -18,7 +18,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along -with this program. If not, see . +with this program. If not, see . @@ -31,7 +31,7 @@ with this program. If not, see . ${h.image(h.url('/images/openlogo-100.jpg'), _('Debian Logo'), 100, 100, id='debianlogo')}

${_('Debian Member Portfolio Service')}

-

${h.literal(_('''This service has been inspired by Stefano Zacchiroli's DDPortfolio page in the Debian Wiki. You can create a set of customized links leading to a Debian Member's or package maintainer's information regarding Debian.'''))}

+

${h.literal(_('''This service has been inspired by Stefano Zacchiroli's DDPortfolio page in the Debian Wiki. You can create a set of customized links leading to a Debian Member's or package maintainer's information regarding Debian.'''))}

@@ -40,7 +40,7 @@ with this program. If not, see . + + + diff --git a/debianmemberportfolio/templates/showform.html b/debianmemberportfolio/templates/showform.html new file mode 100644 index 0000000..fac47d8 --- /dev/null +++ b/debianmemberportfolio/templates/showform.html @@ -0,0 +1,40 @@ +{% extends "base.html" %} +{# +Template for the data input form. + +Copyright © 2009-2015 Jan Dittberner + +This file is part of the Debian Member Portfolio service. + +Debian Member Portfolio service is free software: you can redistribute it +and/or modify it under the terms of the GNU Affero General Public License as +published by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +Debian Member Portfolio service is distributed in the hope that it will be +useful, but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero +General Public License for more details. + +You should have received a copy of the GNU Affero General Public License along +with this program. If not, see . +#} +{% block title %}{{ super()}} - {{ _('Enter your personal information') }}{% endblock %} +{% block extrahead %}{{ super() }} + +{% endblock %} +{% block body %}{{ super() }} +
+
+ {{ _('Debian Member Portfolio') }} +
+
+ {{ form.email }}
+
+
+
+{% endblock %} diff --git a/debianmemberportfolio/templates/showformscript.js b/debianmemberportfolio/templates/showformscript.js new file mode 100644 index 0000000..10d54cd --- /dev/null +++ b/debianmemberportfolio/templates/showformscript.js @@ -0,0 +1,119 @@ +{# vim: ft=jinja +Helper JavaScript for the data input form. +Copyright © 2009, 2010, 2015 Jan Dittberner + +This file is part of the Debian Member Portfolio service. + +Debian Member Portfolio service is free software: you can redistribute it +and/or modify it under the terms of the GNU Affero General Public License as +published by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +Debian Member Portfolio service is distributed in the hope that it will be +useful, but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero +General Public License for more details. + +You should have received a copy of the GNU Affero General Public License along +with this program. If not, see . +#} +var defaulthiddendivs = new Array( + '#namefield', '#gpgfpfield', '#usernamefield', '#nonddemailfield', + '#aliothusernamefield', '#wikihomepagefield', '#forumsidfield'); +var maskedfielddivs = new Array( + '#namefield', '#gpgfpfield', '#usernamefield', '#nonddemailfield', + '#aliothusernamefield', '#wikihomepagefield', '#forumsidfield'); +var allfielddivs = new Array( + '#namefield', '#gpgfpfield', '#usernamefield', '#nonddemailfield', + '#aliothusernamefield', '#wikihomepagefield', '#forumsidfield'); + +function updateFields(data, textStatus) { + if (data.type == 2) { // DD + $('#name').attr('value', data.name).attr('readonly', 'readonly'); + $('#gpgfp').attr('value', data.gpgfp); + $('#username').attr('value', data.username).attr( + 'readonly', 'readonly'); + $('#nonddemail').attr('value', data.email).focus(); + $('#aliothusername').attr('value', data.username); + $('#wikihomepage').attr('value', data.wikihomepage); + + $('#namefield').show(); + $('#gpgfpfield').show(); + $('#usernamefield').show(); + $('#nonddemailfield').show(); + $('#aliothusernamefield').show(); + $('#wikihomepagefield').show(); + $('#forumsidfield').show(); + + $('#nonddemail').focus().select(); + } else if (data.type == 1) { // DM + $('#name').attr('value', data.name).attr('readonly', 'readonly'); + $('#gpgfp').attr('value', data.gpgfp); + $('#username').attr('value', ''); + $('#nonddemail').attr('value', data.email).focus(); + $('#wikihomepage').attr('value', data.wikihomepage); + + $('#namefield').show(); + $('#gpgfpfield').show(); + $('#usernamefield').hide(); + $('#nonddemailfield').hide(); + $('#aliothusernamefield').show(); + $('#wikihomepagefield').show(); + $('#forumsidfield').show(); + + $('#aliothusername').focus().select(); + } else { + $('#nonddemail').attr('value', data.email); + $('#name').removeAttr('readonly'); + $('#username').removeAttr('readonly').attr('value', ''); + $('#gpgfp').attr('value', ''); + + $('#usernamefield').hide(); + $('#gpgfpfield').hide(); + $('#nonddemailfield').hide(); + $('#namefield').show(); + $('#aliothusernamefield').show(); + $('#wikihomepagefield').show(); + $('#forumsidfield').show(); + + $('#name').focus().select(); + } +} + +function onChangeShowAll(event) { + if ($('#showall').attr('checked')) { + for (var fielddiv in allfielddivs) { + $(allfielddivs[fielddiv]).show(); + } + } else { + for (var fielddiv in maskedfielddivs) { + $(maskedfielddivs[fielddiv]).hide(); + } + } +} + +function onBlurEmail() { + if ($.trim($('#email').attr('value')).length > 0) { + $.ajax({ + 'url' : '{{ url_for("fetchdddata") }}', + 'data' : {'email' : $('#email').attr('value')}, + 'dataType' : 'json', + 'success' : updateFields, + 'error' : function(request, textStatus, errorThrown) { + $('#email').focus(); + } + }); + } +} + +$(document).ready(function() { + for (var index in defaulthiddendivs) { + if (!$(defaulthiddendivs[index]).hasClass('witherrors')) { + $(defaulthiddendivs[index]).hide(); + } + } + + $('#showall').attr('checked', false).change(onChangeShowAll); + $('#showallfield').show(); + $('#email').blur(onBlurEmail).focus(); +}); diff --git a/debianmemberportfolio/views.py b/debianmemberportfolio/views.py new file mode 100644 index 0000000..233800d --- /dev/null +++ b/debianmemberportfolio/views.py @@ -0,0 +1,42 @@ +from debianmemberportfolio import app, babel +from flask import g, make_response, request, render_template +from config import LANGUAGES +from .forms import DeveloperData + + +@babel.localeselector +def get_locale(): + return request.accept_languages.best_match(LANGUAGES.keys()) + + +@app.before_request +def before_request(): + g.locale = get_locale() + + +@app.route('/') +def index(): + form = DeveloperData() + # TODO: replicate behavior of + # debianmemberportfolio.controllers.portfolio.PortfolioController.index + return render_template('showform.html', form=form) + + +@app.route('/result') +def urllist(): + form = DeveloperData(request.values) + if form.validate(): + return render_template('showurls.html') + return render_template('showform.html', form=form) + + +@app.route('/htmlformhelper.js') +def formhelper_js(): + response = make_response(render_template('showformscript.js')) + response.headers['Content-Type'] = 'text/javascript; charset=utf-8' + return response + + +@app.route('/showformscripts/fetchdddata/') +def fetchdddata(): + return 'dddata' diff --git a/run.py b/run.py new file mode 100755 index 0000000..715fe63 --- /dev/null +++ b/run.py @@ -0,0 +1,6 @@ +#!/usr/bin/env python2 +from debianmemberportfolio import app + +if __name__ == '__main__': + app.debug = True + app.run() From cf04f6f0cb6fc5b5a633b4cc7128f2748321055a Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Fri, 25 Sep 2015 12:08:48 +0200 Subject: [PATCH 025/210] port keyringanalyzer to Python3 - ran through 2to3 - switch to new ConfigParser name - fix UTF-8 handling of gpg output - don't track tags and keyringcache.db in git --- .gitignore | 2 ++ debianmemberportfolio/model/keyringanalyzer.py | 18 +++++++++--------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 3b423a9..98a8e38 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ data/ .ropeproject/ *.mo *.pot +tags +debianmemberportfolio/model/keyringcache.db diff --git a/debianmemberportfolio/model/keyringanalyzer.py b/debianmemberportfolio/model/keyringanalyzer.py index 09a5315..8af8962 100644 --- a/debianmemberportfolio/model/keyringanalyzer.py +++ b/debianmemberportfolio/model/keyringanalyzer.py @@ -3,7 +3,7 @@ # # Debian Member Portfolio Service application key ring analyzer tool # -# Copyright © 2009-2014 Jan Dittberner +# Copyright © 2009-2015 Jan Dittberner # # This file is part of the Debian Member Portfolio Service. # @@ -26,10 +26,10 @@ retrieved data in a file database. The tool was inspired by Debian qa's carnivore. """ -import anydbm +import dbm import pkg_resources import glob -import ConfigParser +import configparser import os import os.path import logging @@ -38,7 +38,7 @@ import sys import email.utils -CONFIG = ConfigParser.SafeConfigParser() +CONFIG = configparser.ConfigParser() def _get_keyrings(): @@ -160,11 +160,11 @@ def process_keyrings(): stdout=subprocess.PIPE) fpr = None for line in proc.stdout.readlines(): - fpr = process_gpg_list_keys_line(line, fpr) + fpr = process_gpg_list_keys_line(line.decode('utf8'), fpr) retcode = proc.wait() if retcode != 0: logging.error("subprocess ended with return code %d", retcode) - db = anydbm.open(pkg_resources.resource_filename(__name__, + db = dbm.open(pkg_resources.resource_filename(__name__, 'keyringcache'), 'c') for key in resultdict: db[key] = ":".join(resultdict[key]) @@ -173,9 +173,9 @@ def process_keyrings(): if __name__ == '__main__': logging.basicConfig(stream=sys.stderr, level=logging.WARNING) - CONFIG.readfp(pkg_resources.resource_stream( - __name__, 'portfolio.ini')) + CONFIG.read_string(pkg_resources.resource_string( + __name__, 'portfolio.ini').decode('utf8')) gpghome = os.path.expanduser(CONFIG.get('DEFAULT', 'gnupghome')) if not os.path.isdir(gpghome): - os.makedirs(gpghome, 0700) + os.makedirs(gpghome, 0o700) process_keyrings() From fdd97270d6146a3cdf8d692d12f4bd5200061f68 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Tue, 10 Nov 2015 19:58:20 +0100 Subject: [PATCH 026/210] add some jessie requirements for flask --- jessiereq.pip | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/jessiereq.pip b/jessiereq.pip index 86dc4d0..61861cb 100644 --- a/jessiereq.pip +++ b/jessiereq.pip @@ -1,14 +1,15 @@ Flask==0.10.1 -Jinja2==2.7.3 +Jinja2==2.8 MarkupSafe==0.23 -Werkzeug==0.9.6 +Werkzeug==0.10.4 itsdangerous==0.24 -Babel==1.3 -pytz==2012c +Babel==2.1.post20150925 Flask-Babel==0.9 +pytz==2015.6 speaklater==1.3 Flask-WTF==0.10.2 WTForms==2.0.1 +#Babel==1.3 #Beaker==1.6.4 #FormEncode==1.2.6 #Mako==1.0.0 From 8dd7b5ad848b22c64cd533d6eb966d0152f65daa Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Tue, 10 Nov 2015 22:44:34 +0100 Subject: [PATCH 027/210] Use Jessie versions of dependencies --- jessiereq.pip | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jessiereq.pip b/jessiereq.pip index 61861cb..ecb99be 100644 --- a/jessiereq.pip +++ b/jessiereq.pip @@ -1,11 +1,11 @@ Flask==0.10.1 -Jinja2==2.8 +Jinja2==2.7.3 MarkupSafe==0.23 -Werkzeug==0.10.4 +Werkzeug==0.9.6 itsdangerous==0.24 -Babel==2.1.post20150925 +Babel==1.3 Flask-Babel==0.9 -pytz==2015.6 +pytz==2012c speaklater==1.3 Flask-WTF==0.10.2 WTForms==2.0.1 From 2e3cb7aa647ac962af24554b9619f9165b38f1a5 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Tue, 10 Nov 2015 23:18:22 +0100 Subject: [PATCH 028/210] Implement better GPG output decoding --- debianmemberportfolio/model/keyringanalyzer.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/debianmemberportfolio/model/keyringanalyzer.py b/debianmemberportfolio/model/keyringanalyzer.py index 8af8962..9ea3fab 100644 --- a/debianmemberportfolio/model/keyringanalyzer.py +++ b/debianmemberportfolio/model/keyringanalyzer.py @@ -160,7 +160,11 @@ def process_keyrings(): stdout=subprocess.PIPE) fpr = None for line in proc.stdout.readlines(): - fpr = process_gpg_list_keys_line(line.decode('utf8'), fpr) + try: + line = line.decode('utf8') + except UnicodeDecodeError: + line = line.decode('iso8859-1') + fpr = process_gpg_list_keys_line(line, fpr) retcode = proc.wait() if retcode != 0: logging.error("subprocess ended with return code %d", retcode) From 298b12775b59e6e76609cb773ee14e81a24b6f57 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Tue, 10 Nov 2015 23:26:07 +0100 Subject: [PATCH 029/210] Fix compatibility with newer jQuery --- .../templates/showformscript.js | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/debianmemberportfolio/templates/showformscript.js b/debianmemberportfolio/templates/showformscript.js index 10d54cd..74c0151 100644 --- a/debianmemberportfolio/templates/showformscript.js +++ b/debianmemberportfolio/templates/showformscript.js @@ -29,13 +29,13 @@ var allfielddivs = new Array( function updateFields(data, textStatus) { if (data.type == 2) { // DD - $('#name').attr('value', data.name).attr('readonly', 'readonly'); - $('#gpgfp').attr('value', data.gpgfp); - $('#username').attr('value', data.username).attr( + $('#name').prop('value', data.name).prop('readonly', 'readonly'); + $('#gpgfp').prop('value', data.gpgfp); + $('#username').prop('value', data.username).prop( 'readonly', 'readonly'); - $('#nonddemail').attr('value', data.email).focus(); - $('#aliothusername').attr('value', data.username); - $('#wikihomepage').attr('value', data.wikihomepage); + $('#nonddemail').prop('value', data.email).focus(); + $('#aliothusername').prop('value', data.username); + $('#wikihomepage').prop('value', data.wikihomepage); $('#namefield').show(); $('#gpgfpfield').show(); @@ -47,11 +47,11 @@ function updateFields(data, textStatus) { $('#nonddemail').focus().select(); } else if (data.type == 1) { // DM - $('#name').attr('value', data.name).attr('readonly', 'readonly'); - $('#gpgfp').attr('value', data.gpgfp); - $('#username').attr('value', ''); - $('#nonddemail').attr('value', data.email).focus(); - $('#wikihomepage').attr('value', data.wikihomepage); + $('#name').prop('value', data.name).prop('readonly', 'readonly'); + $('#gpgfp').prop('value', data.gpgfp); + $('#username').prop('value', ''); + $('#nonddemail').prop('value', data.email).focus(); + $('#wikihomepage').prop('value', data.wikihomepage); $('#namefield').show(); $('#gpgfpfield').show(); @@ -63,10 +63,10 @@ function updateFields(data, textStatus) { $('#aliothusername').focus().select(); } else { - $('#nonddemail').attr('value', data.email); + $('#nonddemail').prop('value', data.email); $('#name').removeAttr('readonly'); - $('#username').removeAttr('readonly').attr('value', ''); - $('#gpgfp').attr('value', ''); + $('#username').removeAttr('readonly').prop('value', ''); + $('#gpgfp').prop('value', ''); $('#usernamefield').hide(); $('#gpgfpfield').hide(); @@ -81,7 +81,7 @@ function updateFields(data, textStatus) { } function onChangeShowAll(event) { - if ($('#showall').attr('checked')) { + if ($('#showall').prop('checked')) { for (var fielddiv in allfielddivs) { $(allfielddivs[fielddiv]).show(); } @@ -93,10 +93,10 @@ function onChangeShowAll(event) { } function onBlurEmail() { - if ($.trim($('#email').attr('value')).length > 0) { + if ($.trim($('#email').prop('value')).length > 0) { $.ajax({ 'url' : '{{ url_for("fetchdddata") }}', - 'data' : {'email' : $('#email').attr('value')}, + 'data' : {'email' : $('#email').prop('value')}, 'dataType' : 'json', 'success' : updateFields, 'error' : function(request, textStatus, errorThrown) { @@ -113,7 +113,7 @@ $(document).ready(function() { } } - $('#showall').attr('checked', false).change(onChangeShowAll); + $('#showall').prop('checked', false).change(onChangeShowAll); $('#showallfield').show(); $('#email').blur(onBlurEmail).focus(); }); From 104e6701ebc32f1e4f361c60375a9c60c268600b Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Wed, 11 Nov 2015 00:47:38 +0100 Subject: [PATCH 030/210] Add Stretch dependency versions --- stretch.pip | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 stretch.pip diff --git a/stretch.pip b/stretch.pip new file mode 100644 index 0000000..f8ad1c2 --- /dev/null +++ b/stretch.pip @@ -0,0 +1,29 @@ +Flask==0.10.1 +Jinja2==2.8 +MarkupSafe==0.23 +Werkzeug==0.10.4 +itsdangerous==0.24 +Babel==1.3 +Flask-Babel==0.9 +pytz==2012c +speaklater==1.3 +Flask-WTF==0.12 +WTForms==2.0.2 +#Babel==1.3 +#Beaker==1.6.4 +#FormEncode==1.2.6 +#Mako==1.0.0 +#MarkupSafe==0.23 +#Paste==1.7.5.1 +#PasteDeploy==1.5.2 +#PasteScript==1.7.5 +#Pygments==2.0.1 +#Pylons==1.0.1 +#Routes==2.0 +#Tempita==0.5.2 +#WebError==0.10.3 +#WebHelpers==1.3 +#WebOb==1.4 +#WebTest==2.0.16 +#nose==1.3.4 +#simplejson==3.6.5 From 52066eb90439f65dc83537ffdac7254f88aaac30 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Wed, 11 Nov 2015 00:48:01 +0100 Subject: [PATCH 031/210] Port dddatabuilder and keyfinder to Python3 --- debianmemberportfolio/model/dddatabuilder.py | 2 +- debianmemberportfolio/model/keyfinder.py | 19 +++++++++++-------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/debianmemberportfolio/model/dddatabuilder.py b/debianmemberportfolio/model/dddatabuilder.py index 9a52be2..c168489 100644 --- a/debianmemberportfolio/model/dddatabuilder.py +++ b/debianmemberportfolio/model/dddatabuilder.py @@ -3,7 +3,7 @@ # # Debian Member Portfolio Service data builder # -# Copyright © 2009-2014 Jan Dittberner +# Copyright © 2009-2015 Jan Dittberner # # This file is part of the Debian Member Portfolio Service. # diff --git a/debianmemberportfolio/model/keyfinder.py b/debianmemberportfolio/model/keyfinder.py index 452d261..5129e54 100644 --- a/debianmemberportfolio/model/keyfinder.py +++ b/debianmemberportfolio/model/keyfinder.py @@ -3,7 +3,7 @@ # # Debian Member Portfolio Service key finder module # -# Copyright © 2009-2014 Jan Dittberner +# Copyright © 2009-2015 Jan Dittberner # # This file is part of the Debian Member Portfolio Service. # @@ -36,14 +36,17 @@ cachetimestamp = 0 def _get_keyring_cache(): global db, cachetimestamp if db is None or (time.time() - cachetimestamp) > 86300: - import anydbm + import dbm import pkg_resources import os.path filename = pkg_resources.resource_filename(__name__, 'keyringcache') logging.debug('reading cache data from %s', filename) - assert os.path.exists(filename) and os.path.isfile(filename) - db = anydbm.open(filename, 'r') + assert ( + os.path.exists(filename + '.db') and + os.path.isfile(filename + '.db') + ) + db = dbm.open(filename, 'r') cachetimestamp = time.time() return db @@ -53,7 +56,7 @@ def _get_cached(cachekey): logging.debug('cache lookup for %s', cachekey) if cachekey in cache: logging.debug('found entry %s', cache[cachekey]) - return cache[cachekey] + return cache[cachekey].decode('utf8') return None @@ -91,7 +94,7 @@ def getLoginByFingerprint(fpr): def _dump_cache(): cache = _get_keyring_cache() fprs = [] - for key in cache.keys(): + for key in [key.decode('utf8') for key in list(cache.keys())]: if key.startswith('email:fpr:'): fpr = key.replace('email:fpr:', '') if not fpr in fprs: @@ -102,8 +105,8 @@ def _dump_cache(): email = _get_cached('email:fpr:%s' % fpr) name = _get_cached('name:fpr:%s' % fpr) - print fpr, login, ':' - print ' ', name, email + print(fpr, login, ':') + print(' ', name, email) if __name__ == '__main__': From 1c86f707fa0f8d04bbd2d6c7621d61e69e7ed2a5 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Wed, 11 Nov 2015 00:49:12 +0100 Subject: [PATCH 032/210] Implement fetchdddata view --- debianmemberportfolio/forms.py | 4 ++++ debianmemberportfolio/views.py | 22 +++++++++++++++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/debianmemberportfolio/forms.py b/debianmemberportfolio/forms.py index 9f988a5..0155656 100644 --- a/debianmemberportfolio/forms.py +++ b/debianmemberportfolio/forms.py @@ -33,3 +33,7 @@ class DeveloperData(Form): forumsid = IntegerField('forumsid', default=None, validators=[Optional()]) wikihomepage = StringField('wikihomepage', default=None, validators=[ Optional()]) + + +class DeveloperDataRequest(Form): + email = StringField('email', validators=[DataRequired(), Email()]) diff --git a/debianmemberportfolio/views.py b/debianmemberportfolio/views.py index 233800d..a8fa654 100644 --- a/debianmemberportfolio/views.py +++ b/debianmemberportfolio/views.py @@ -1,7 +1,13 @@ +import json +import logging + from debianmemberportfolio import app, babel -from flask import g, make_response, request, render_template +from flask import g, make_response, request, render_template, abort from config import LANGUAGES -from .forms import DeveloperData +from .forms import DeveloperData, DeveloperDataRequest +from .model import dddatabuilder + +log = logging.getLogger(__name__) @babel.localeselector @@ -39,4 +45,14 @@ def formhelper_js(): @app.route('/showformscripts/fetchdddata/') def fetchdddata(): - return 'dddata' + form = DeveloperDataRequest(request.values) + if form.validate(): + fields = dddatabuilder.build_data(form.data['email']) + log.debug(fields) + response = make_response(json.dumps(fields)) + response.headers['Content-Type'] = 'application/json' + return response + abort( + 400, + "\n".join(["%s: %s" % (key, form.errors[key]) for key in form.errors]) + ) From 43ade2d35ee680fda139f53148c066eb94ee6958 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Wed, 11 Nov 2015 00:50:28 +0100 Subject: [PATCH 033/210] Port showform template to Jinja2 --- debianmemberportfolio/forms.py | 9 +- debianmemberportfolio/templates/showform.html | 63 +++++++ debianmemberportfolio/templates/showform.mako | 164 ------------------ 3 files changed, 69 insertions(+), 167 deletions(-) delete mode 100644 debianmemberportfolio/templates/showform.mako diff --git a/debianmemberportfolio/forms.py b/debianmemberportfolio/forms.py index 0155656..f35d02a 100644 --- a/debianmemberportfolio/forms.py +++ b/debianmemberportfolio/forms.py @@ -1,7 +1,8 @@ from __future__ import unicode_literals +from flask.ext.babel import gettext as _ from flask.ext.wtf import Form -from wtforms import IntegerField, StringField +from wtforms import IntegerField, StringField, RadioField from wtforms.validators import ( AnyOf, DataRequired, Email, Length, Optional, Regexp ) @@ -27,8 +28,10 @@ class DeveloperData(Form): username = StringField('username', validators=[PlainText()]) nonddemail = StringField('nonddemail', validators=[Email()]) aliothusername = StringField('aliothusername', validators=[PlainText()]) - mode = StringField( - 'mode', default='html',validators=[AnyOf(['json', 'html'])] + mode = RadioField( + 'mode', default='html', choices=[ + ('json', _('JSON')), ('html', _('HTML')) + ], validators=[AnyOf(['json', 'html'])] ) forumsid = IntegerField('forumsid', default=None, validators=[Optional()]) wikihomepage = StringField('wikihomepage', default=None, validators=[ diff --git a/debianmemberportfolio/templates/showform.html b/debianmemberportfolio/templates/showform.html index fac47d8..e0b40c0 100644 --- a/debianmemberportfolio/templates/showform.html +++ b/debianmemberportfolio/templates/showform.html @@ -35,6 +35,69 @@ with this program. If not, see .
{{ form.email }}
+ +
+
+ {{ form.name }} +
+
+
+ {{ form.gpgfp }} +
+
+
+ {{ form.username }} +
+
+
+ {{ form.nonddemail }} +
+
+
+ {{ form.aliothusername }} +
+
+
+ {{ form.wikihomepage }} +
+
+
+ {{ form.forumsid }} +
+
+
+ {% for subfield in form.mode %} + {{ subfield.label }} {{ subfield }} + {% endfor %}
+ +
{% endblock %} diff --git a/debianmemberportfolio/templates/showform.mako b/debianmemberportfolio/templates/showform.mako deleted file mode 100644 index 32a8233..0000000 --- a/debianmemberportfolio/templates/showform.mako +++ /dev/null @@ -1,164 +0,0 @@ -## -- coding: utf-8 -- \ -<%inherit file="base.mako" /> -<%doc> -Template for the data input form. - -Copyright © 2009-2014 Jan Dittberner - -This file is part of the Debian Member Portfolio service. - -Debian Member Portfolio service is free software: you can redistribute it -and/or modify it under the terms of the GNU Affero General Public License as -published by the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -Debian Member Portfolio service is distributed in the hope that it will be -useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -General Public License for more details. - -You should have received a copy of the GNU Affero General Public License along -with this program. If not, see . - -<%def name="titleaddon()"> - - ${_('Enter your personal information')} - -<%def name="extrahead()">${h.javascript_link('/javascript/jquery/jquery.js', -h.url(controller='showformscripts', action='index'))} -${h.form(h.url(action='urllist', controller='portfolio'), method='get')} -
- ${_('Debian Member Portfolio')} -
-
- ${h.text('email', - h.escape(request.params.get('email', None)), id='email')}
-
- -
-
- ${h.text('name', - h.escape(request.params.get('name', None)), id='name')}
-
-
-
- ${h.text('gpgfp', - h.escape(request.params.get('gpgfp', None)), - id='gpgfp')}
-
-
-
- ${h.text('username', - h.escape(request.params.get('username', None)), - id='username')}
-
-
-
- ${h.text('nonddemail', - h.escape(request.params.get('nonddemail', None)), - id='nonddemail')}
-
-
-
- ${h.text('aliothusername', - h.escape(request.params.get('username', None)), - id='aliothusername')}
-
-
-
- ${h.text('wikihomepage', - h.escape(request.params.get('wikihomepage', None)), - id='wikihomepage')}
-
-
-
- ${h.text('forumsid', - h.escape(request.params.get('forumsid', None)), - id='forumsid')}
-
-
-
- ${_('HTML')} ${h.radio('mode', 'html', - checked=(request.params.get('mode', - 'html') == 'html'))} ${_('JSON')} ${h.radio('mode', - 'json', checked=(request.params.get('mode', 'html') == 'json'))}
- ${h.submit('submit', value=_('Build Debian Member Portfolio URLs'))} -
-
-${h.end_form()} From b7fe1328bb98f78fa4da061df63de06fb6ebd9b2 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Thu, 12 Nov 2015 21:11:48 +0100 Subject: [PATCH 034/210] Add result view implementation This commit implements the result view and template. - fix Python3 configparser interpolation error in portfolio.ini - debianmemberportfolio.model.urlbuilder ported to Python3 - add showurls.html as a direct Jinja port of showurls.mako - implement functionality in debianmemberportfolio.views.result --- debianmemberportfolio/model/portfolio.ini | 2 +- debianmemberportfolio/model/urlbuilder.py | 22 ++- debianmemberportfolio/templates/showurls.html | 61 +++++++ debianmemberportfolio/views.py | 166 +++++++++++++++++- 4 files changed, 238 insertions(+), 13 deletions(-) create mode 100644 debianmemberportfolio/templates/showurls.html diff --git a/debianmemberportfolio/model/portfolio.ini b/debianmemberportfolio/model/portfolio.ini index c2bcb7a..097042f 100644 --- a/debianmemberportfolio/model/portfolio.ini +++ b/debianmemberportfolio/model/portfolio.ini @@ -83,7 +83,7 @@ webid.optional=true alioth.pattern=https://alioth.debian.org/users/%(aliothusername)s/ alioth.optional=true wiki.pattern=https://wiki.debian.org/%(wikihomepage)s -forum.pattern=http://forums.debian.net/memberlist.php?mode=viewprofile&u=%(forumsid)d +forum.pattern=http://forums.debian.net/memberlist.php?mode=viewprofile&u=%(forumsid)s forum.optional=true [miscellaneous] diff --git a/debianmemberportfolio/model/urlbuilder.py b/debianmemberportfolio/model/urlbuilder.py index 33178a5..26e786d 100644 --- a/debianmemberportfolio/model/urlbuilder.py +++ b/debianmemberportfolio/model/urlbuilder.py @@ -3,7 +3,7 @@ # # Debian Member Portfolio Service url builder # -# Copyright © 2009-2014 Jan Dittberner +# Copyright © 2009-2015 Jan Dittberner # # This file is part of the Debian Member Portfolio Service. # @@ -26,15 +26,18 @@ URLs using the given information and the URL patterns defined in portfolio.ini. """ -from ConfigParser import ConfigParser, InterpolationMissingOptionError +from configparser import ConfigParser, InterpolationMissingOptionError +from encodings.utf_8 import StreamReader as UTF8StreamReader + import pkg_resources from debianmemberportfolio.model import keyfinder -from urllib import quote_plus -from pylons.i18n.translation import _, N_ +from urllib.parse import quote_plus +from flask.ext.babel import gettext as _, lazy_gettext as N_ my_config = ConfigParser() -my_config.readfp(pkg_resources.resource_stream(__name__, 'portfolio.ini')) +my_config.read_file(UTF8StreamReader( + pkg_resources.resource_stream(__name__, 'portfolio.ini'))) _FIELDNAMES_MAP = { 'email': N_('Email address'), @@ -62,14 +65,15 @@ def _build_quoted_fields(fields): Take a dictionary of raw field values and quote the values if required. """ qfields = {} - for key, value in fields.iteritems(): + for key, value in fields.items(): if value is not None: - if isinstance(value, unicode): + if isinstance(value, str): qfields[key] = quote_plus(value.encode('utf8')) elif isinstance(value, str): qfields[key] = quote_plus(value) else: qfields[key] = value + qfields[key] = qfields[key].replace('%', '%%') if 'gpgfp' not in qfields: fpr = keyfinder.getFingerprintByEmail(fields['email'].encode('utf8')) @@ -97,8 +101,8 @@ def build_urls(fields): data.append( ['url', section, entry, my_config.get(section, entry.name + '.pattern', - False, qfields)]) - except InterpolationMissingOptionError, e: + raw=False, vars=qfields)]) + except InterpolationMissingOptionError as e: if not entry.optional: if e.reference in _FIELDNAMES_MAP: data.append(['error', section, entry, diff --git a/debianmemberportfolio/templates/showurls.html b/debianmemberportfolio/templates/showurls.html new file mode 100644 index 0000000..4b5165b --- /dev/null +++ b/debianmemberportfolio/templates/showurls.html @@ -0,0 +1,61 @@ +{% extends "base.html" %} +{# +Template for the url output page. +Copyright © 2009-2015 Jan Dittberner + +This file is part of Debian Member Portfolio Service. + +Debian Member Portfolio Service is free software: you can redistribute it +and/or modify it under the terms of the GNU Affero General Public License as +published by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +Debian Member Portfolio Service is distributed in the hope that it will be +useful, but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero +General Public License for more details. + +You should have received a copy of the GNU Affero General Public License along +with this program. If not, see . +#} +{% block title %}{{ super() }} - {{ _('Your personal links') }}{% endblock %} +{% block body %}{{ super() }} +{% if urldata %} +
+ {{ _('Debian Member Porfolio') }} + + + + + + {% for row in urldata %} + {% if row[0] == 'section' %} + + {% set urlclass = 'odd' %} + {% elif row[0] == 'error' %} + + + + + {% else %} + + + + + {% if urlclass == "odd" %}{% set urlclass = "even" %}{% else %}{% set urlclass = "odd" %}{% endif %} + {% endif %} + {% endfor %} + +
{{ _('Usage') }}{{ _('URL') }}
{{ row[4] }}{{ _('Error during URL creation:') }} + {{ row[3]|replace("\n", "
") }}
{{ row[4]|safe }} + {% if row[2].type == 'url' %} + {{ row[3]|truncate(120) }} + {% else %} + {{ row[3] }} + {% endif %} +
+
+{% endif %} +

{{ _('Restart') }}

+{% endblock body %} + diff --git a/debianmemberportfolio/views.py b/debianmemberportfolio/views.py index a8fa654..70455db 100644 --- a/debianmemberportfolio/views.py +++ b/debianmemberportfolio/views.py @@ -1,14 +1,144 @@ +# -*- python -*- +# -*- coding: utf-8 -*- +# +# Debian Member Portfolio Service views +# +# Copyright © 2015 Jan Dittberner +# +# This file is part of the Debian Member Portfolio Service. +# +# Debian Member Portfolio Service is free software: you can redistribute it +# and/or modify it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the License, +# or (at your option) any later version. +# +# Debian Member Portfolio Service is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero +# General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# import json import logging from debianmemberportfolio import app, babel from flask import g, make_response, request, render_template, abort +from flask.ext.babel import gettext as _, lazy_gettext as N_ from config import LANGUAGES from .forms import DeveloperData, DeveloperDataRequest from .model import dddatabuilder +from .model.urlbuilder import build_urls log = logging.getLogger(__name__) +#: This dictionary defines groups of labeled portfolio items. +_LABELS = { + 'overview': { + 'label': N_('Overview'), + 'ddpo': N_("Debian Member's Package Overview"), + 'alladdresses': N_("""Debian Member's Package Overview +... showing all email addresses"""), + }, + 'bugs': { + 'label': N_('Bugs'), + 'received': N_('''bugs received +(note: co-maintainers not listed, see \ +#430986)'''), + 'reported': N_('bugs reported'), + 'usertags': N_('user tags'), + 'searchall': N_('all messages (i.e., full text search for \ +developer name on all bug logs)'), + 'wnpp': N_('WNPP'), + 'correspondent': N_('correspondent for bugs'), + 'graph': N_('one year open bug history graph'), + }, + 'build': { + 'label': N_('Build'), + 'buildd': N_('buildd.d.o'), + 'igloo': N_('igloo'), + }, + 'qa': { + 'label': N_('Quality Assurance'), + 'dmd': N_('maintainer dashboard'), + 'lintian': N_('lintian reports'), + 'lintianfull': N_('full lintian reports (i.e. including \ +"info"-level messages)'), + 'piuparts': N_('piuparts'), + 'patchtracker': N_('Debian patch tracking system'), + 'duck': N_('Debian Url ChecKer'), + }, + 'lists': { + 'label': N_('Mailing Lists'), + 'dolists': N_('lists.d.o'), + 'adolists': N_('lists.a.d.o'), + 'gmane': N_('gmane'), + }, + 'files': { + 'label': N_('Files'), + 'people': N_('people.d.o'), + 'oldpeople': N_('oldpeople'), + 'alioth': N_('Alioth'), + }, + 'membership': { + 'label': N_('Membership'), + 'nm': N_('NM'), + 'dbfinger': N_('DB information via finger'), + 'db': N_('DB information via HTTP'), + 'webid': N_('FOAF profile'), + 'alioth': N_('Alioth'), + 'wiki': N_('Wiki'), + 'forum': N_('Forum'), + }, + 'miscellaneous': { + 'label': N_('Miscellaneous'), + 'debtags': N_('debtags'), + 'planetname': N_('Planet Debian (name)'), + 'planetuser': N_('Planet Debian (username)'), + 'links': N_('links'), + 'website': N_('Debian website'), + 'search': N_('Debian search'), + 'gpgfinger': N_('GPG public key via finger'), + 'gpgweb': N_('GPG public key via HTTP'), + 'nm': N_('NM, AM participation'), + 'contrib': N_('Contribution information'), + }, + 'ssh': { + 'label': N_('Information reachable via ssh (for Debian Members)'), + 'owndndoms': N_('owned debian.net domains'), + 'miainfo': N_('MIA database information'), + 'groupinfo': N_('Group membership information'), + }, + 'ubuntu': { + 'label': N_('Ubuntu'), + 'ubuntudiff': N_('Available patches from Ubuntu'), + }, +} + +#: list of field name tuples for Debian Maintainers +DM_TUPLES = (('name', 'name'), + ('gpgfp', 'gpgfp'), + ('nonddemail', 'email')) + +#: list of field name tuples for Debian Developers +DD_TUPLES = (('username', 'username'), + ('aliothusername', 'username')) + + +def _get_label(section, url=None): + if section in _LABELS: + if url: + if url in _LABELS[section]: + return _LABELS[section][url] + elif 'label' in _LABELS[section]: + return _LABELS[section]['label'] + if url: + return "%s.%s" % (section, url) + return section + @babel.localeselector def get_locale(): @@ -23,8 +153,6 @@ def before_request(): @app.route('/') def index(): form = DeveloperData() - # TODO: replicate behavior of - # debianmemberportfolio.controllers.portfolio.PortfolioController.index return render_template('showform.html', form=form) @@ -32,7 +160,39 @@ def index(): def urllist(): form = DeveloperData(request.values) if form.validate(): - return render_template('showurls.html') + fields = dddatabuilder.build_data(form.data['email']) + rp = request.values + + if fields['type'] in (dddatabuilder.TYPE_DD, dddatabuilder.TYPE_DM): + for dmtuple in DM_TUPLES: + if not dmtuple[0] in rp or not rp[dmtuple[0]]: + rp[dmtuple[0]] = fields[dmtuple[1]] + if fields['type'] == dddatabuilder.TYPE_DD: + for ddtuple in DD_TUPLES: + if not ddtuple[0] in rp or not rp[ddtuple[0]]: + rp[ddtuple[0]] = fields[ddtuple[1]] + if form.data['wikihomepage'] is None: + log.debug('generate wikihomepage from name') + form.data['wikihomepage'] = "".join([ + part.capitalize() for part in form.data['name'].split() + ]) + + data = build_urls(form.data) + + if form.data['mode'] == 'json': + response = make_response(json.dumps(dict( + [("{}.{}".format(entry[1], entry[2].name), entry[3]) + for entry in data if entry[0] == 'url']))) + response.headers['Content-Type'] = 'application/json' + return response + + for entry in data: + if entry[0] in ('url', 'error'): + entry.append(_get_label(entry[1], entry[2].name)) + elif entry[0] == 'section': + entry.append(_get_label(entry[1])) + + return render_template('showurls.html', urldata=data) return render_template('showform.html', form=form) From c9ae85c2c1840f9bd8ad5ebacadcbc926024ac8c Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Thu, 12 Nov 2015 22:18:23 +0100 Subject: [PATCH 035/210] Remove Pylons remains --- attic/config/__init__.py | 22 -- attic/config/deployment.ini_tmpl | 60 ----- attic/config/environment.py | 75 ------- attic/config/middleware.py | 95 -------- attic/config/routing.py | 58 ----- debianmemberportfolio/controllers/__init__.py | 22 -- debianmemberportfolio/controllers/error.py | 70 ------ .../controllers/portfolio.py | 212 ------------------ .../controllers/showformscripts.py | 75 ------- debianmemberportfolio/controllers/template.py | 55 ----- debianmemberportfolio/lib/__init__.py | 22 -- debianmemberportfolio/lib/app_globals.py | 43 ---- debianmemberportfolio/lib/base.py | 55 ----- debianmemberportfolio/lib/helpers.py | 35 --- debianmemberportfolio/model/form.py | 51 ----- debianmemberportfolio/templates/base.mako | 52 ----- .../templates/showformscript.mako | 122 ---------- debianmemberportfolio/templates/showurls.mako | 67 ------ debianmemberportfolio/tests/__init__.py | 59 ----- .../tests/functional/__init__.py | 22 -- .../tests/functional/test_portfolio.py | 43 ---- .../tests/functional/test_showformscripts.py | 44 ---- debianmemberportfolio/tests/test_models.py | 22 -- development.ini | 73 ------ jessiereq.pip | 29 --- test.ini | 21 -- 26 files changed, 1504 deletions(-) delete mode 100644 attic/config/__init__.py delete mode 100644 attic/config/deployment.ini_tmpl delete mode 100644 attic/config/environment.py delete mode 100644 attic/config/middleware.py delete mode 100644 attic/config/routing.py delete mode 100644 debianmemberportfolio/controllers/__init__.py delete mode 100644 debianmemberportfolio/controllers/error.py delete mode 100644 debianmemberportfolio/controllers/portfolio.py delete mode 100644 debianmemberportfolio/controllers/showformscripts.py delete mode 100644 debianmemberportfolio/controllers/template.py delete mode 100644 debianmemberportfolio/lib/__init__.py delete mode 100644 debianmemberportfolio/lib/app_globals.py delete mode 100644 debianmemberportfolio/lib/base.py delete mode 100644 debianmemberportfolio/lib/helpers.py delete mode 100644 debianmemberportfolio/model/form.py delete mode 100644 debianmemberportfolio/templates/base.mako delete mode 100644 debianmemberportfolio/templates/showformscript.mako delete mode 100644 debianmemberportfolio/templates/showurls.mako delete mode 100644 debianmemberportfolio/tests/__init__.py delete mode 100644 debianmemberportfolio/tests/functional/__init__.py delete mode 100644 debianmemberportfolio/tests/functional/test_portfolio.py delete mode 100644 debianmemberportfolio/tests/functional/test_showformscripts.py delete mode 100644 debianmemberportfolio/tests/test_models.py delete mode 100644 development.ini delete mode 100644 jessiereq.pip delete mode 100644 test.ini diff --git a/attic/config/__init__.py b/attic/config/__init__.py deleted file mode 100644 index 7900219..0000000 --- a/attic/config/__init__.py +++ /dev/null @@ -1,22 +0,0 @@ -# -*- python -*- -# -*- coding: utf-8 -*- -# -# Debian Member Portfolio Service config package -# -# Copyright © 2009-2014 Jan Dittberner -# -# This file is part of the Debian Member Portfolio Service. -# -# Debian Member Portfolio Service is free software: you can redistribute it -# and/or modify it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the License, -# or (at your option) any later version. -# -# Debian Member Portfolio Service is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -# General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# diff --git a/attic/config/deployment.ini_tmpl b/attic/config/deployment.ini_tmpl deleted file mode 100644 index 116ca29..0000000 --- a/attic/config/deployment.ini_tmpl +++ /dev/null @@ -1,60 +0,0 @@ -# -# Debian Member Portfolio Service - Pylons configuration -# -# The %(here)s variable will be replaced with the parent directory of this file -# -[DEFAULT] -debug = true -email_to = you@yourdomain.com -smtp_server = localhost -error_email_from = paste@localhost - -[server:main] -use = egg:Paste#http -host = 0.0.0.0 -port = 5000 - -[app:main] -use = egg:debianmemberportfolio -full_stack = true -static_files = true - -cache_dir = %(here)s/data -beaker.session.key = debianmemberportfolio -beaker.session.secret = ${app_instance_secret} -app_instance_uuid = ${app_instance_uuid} - -# If you'd like to fine-tune the individual locations of the cache data dirs -# for the Cache data, or the Session saves, un-comment the desired settings -# here: -#beaker.cache.data_dir = %(here)s/data/cache -#beaker.session.data_dir = %(here)s/data/sessions - -# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* -# Debug mode will enable the interactive debugging tool, allowing ANYONE to -# execute malicious code after an exception is raised. -set debug = false - - -# Logging configuration -[loggers] -keys = root - -[handlers] -keys = console - -[formatters] -keys = generic - -[logger_root] -level = INFO -handlers = console - -[handler_console] -class = StreamHandler -args = (sys.stderr,) -level = NOTSET -formatter = generic - -[formatter_generic] -format = %(asctime)s %(levelname)-5.5s [%(name)s] [%(threadName)s] %(message)s diff --git a/attic/config/environment.py b/attic/config/environment.py deleted file mode 100644 index feabd91..0000000 --- a/attic/config/environment.py +++ /dev/null @@ -1,75 +0,0 @@ -# -*- python -*- -# -*- coding: utf-8 -*- -# -# Debian Member Portfolio Service environment configuration -# -# Copyright © 2009-2014 Jan Dittberner -# -# This file is part of the Debian Member Portfolio Service. -# -# Debian Member Portfolio Service is free software: you can redistribute it -# and/or modify it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the License, -# or (at your option) any later version. -# -# Debian Member Portfolio Service is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -# General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -""" -Pylons environment configuration - -""" - -import os - -from mako.lookup import TemplateLookup -from pylons.configuration import PylonsConfig -from pylons.error import handle_mako_error - -import debianmemberportfolio.lib.app_globals as app_globals -import debianmemberportfolio.lib.helpers -from debianmemberportfolio.config.routing import make_map - - -def load_environment(global_conf, app_conf): - """ - Configures the Pylons environment via the ``pylons.config`` object. - """ - config = PylonsConfig() - - # Pylons paths - root = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) - paths = dict(root=root, - controllers=os.path.join(root, 'controllers'), - static_files=os.path.join(root, 'public'), - templates=[os.path.join(root, 'templates')]) - - # Initialize config with the basic options - config.init_app( - global_conf, app_conf, package='debianmemberportfolio', paths=paths) - - config['routes.map'] = make_map(config) - config['pylons.app_globals'] = app_globals.Globals(config) - config['pylons.h'] = debianmemberportfolio.lib.helpers - - # Setup cache object as early as possible - import pylons - pylons.cache._push_object(config['pylons.app_globals'].cache) - - # Create the Mako TemplateLookup, with the default auto-escaping - config['pylons.app_globals'].mako_lookup = TemplateLookup( - directories=paths['templates'], - error_handler=handle_mako_error, - module_directory=os.path.join(app_conf['cache_dir'], 'templates'), - input_encoding='utf-8', default_filters=['escape'], - imports=['from webhelpers.html import escape']) - - # CONFIGURATION OPTIONS HERE (note: all config options will override - # any Pylons config options) - - return config diff --git a/attic/config/middleware.py b/attic/config/middleware.py deleted file mode 100644 index 9dd80ae..0000000 --- a/attic/config/middleware.py +++ /dev/null @@ -1,95 +0,0 @@ -# -*- python -*- -# -*- coding: utf-8 -*- -# -# Debian Member Portfolio Service middleware configuration -# -# Copyright © 2009-2014 Jan Dittberner -# -# This file is part of the Debian Member Portfolio Service. -# -# Debian Member Portfolio Service is free software: you can redistribute it -# and/or modify it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the License, -# or (at your option) any later version. -# -# Debian Member Portfolio Service is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -# General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -""" -Pylons middleware initialization - -""" - -from beaker.middleware import SessionMiddleware -from paste.cascade import Cascade -from paste.registry import RegistryManager -from paste.urlparser import StaticURLParser -from paste.deploy.converters import asbool -from pylons.middleware import ErrorHandler, StatusCodeRedirect -from pylons.wsgiapp import PylonsApp -from routes.middleware import RoutesMiddleware - -from debianmemberportfolio.config.environment import load_environment - - -def make_app(global_conf, full_stack=True, static_files=True, **app_conf): - """ - Create a Pylons WSGI application and return it - - ``global_conf`` - The inherited configuration for this application. Normally from - the [DEFAULT] section of the Paste ini file. - - ``full_stack`` - Whether this application provides a full WSGI stack (by default, - meaning it handles its own exceptions and errors). Disable - full_stack when this application is "managed" by another WSGI - middleware. - - ``static_files`` - Whether this application serves its own static files; disable - when another web server is responsible for serving them. - - ``app_conf`` - The application's local configuration. Normally specified in - the [app:] section of the Paste ini file (where - defaults to main). - - """ - # Configure the Pylons environment - config = load_environment(global_conf, app_conf) - - # The Pylons WSGI app - app = PylonsApp(config=config) - - # Routing/Session/Cache Middleware - app = RoutesMiddleware(app, config['routes.map']) - app = SessionMiddleware(app, config) - - # CUSTOM MIDDLEWARE HERE (filtered by error handling middlewares) - - if asbool(full_stack): - # Handle Python exceptions - app = ErrorHandler(app, global_conf, **config['pylons.errorware']) - - # Display error documents for 401, 403, 404 status codes (and - # 500 when debug is disabled) - if asbool(config['debug']): - app = StatusCodeRedirect(app) - else: - app = StatusCodeRedirect(app, [400, 401, 403, 404, 500]) - - # Establish the Registry for this application - app = RegistryManager(app) - - if asbool(static_files): - # Serve static files - static_app = StaticURLParser(config['pylons.paths']['static_files']) - app = Cascade([static_app, app]) - app.config = config - return app diff --git a/attic/config/routing.py b/attic/config/routing.py deleted file mode 100644 index 39a9d38..0000000 --- a/attic/config/routing.py +++ /dev/null @@ -1,58 +0,0 @@ -# -*- python -*- -# -*- coding: utf-8 -*- -# -# Debian Member Portfolio Service routing configuration -# -# Copyright © 2009-2014 Jan Dittberner -# -# This file is part of the Debian Member Portfolio Service. -# -# Debian Member Portfolio Service is free software: you can redistribute it -# and/or modify it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the License, -# or (at your option) any later version. -# -# Debian Member Portfolio Service is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -# General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -""" -Routes configuration - -The more specific and detailed routes should be defined first so they -may take precedent over the more generic routes. For more information -refer to the routes manual at https://routes.readthedocs.org/ - -""" - -from routes import Mapper - - -def make_map(config): - """ - Create, configure and return the routes Mapper - - """ - map = Mapper(directory=config['pylons.paths']['controllers'], - always_scan=config['debug'], explicit=True) - map.minimization = False - - # The ErrorController route (handles 404/500 error pages); it should - # likely stay at the top, ensuring it can always be resolved - map.connect('/error/{action}', controller='error') - map.connect('/error/{action}/{id}', controller='error') - - # CUSTOM ROUTES HERE - map.connect('/', controller='portfolio', action='index') - map.connect('/result', controller='portfolio', action='urllist') - map.connect('/htmlformhelper.js', controller='showformscripts', - action='index') - - map.connect('/{controller}/{action}') - map.connect('/{controller}/{action}/{id}') - - return map diff --git a/debianmemberportfolio/controllers/__init__.py b/debianmemberportfolio/controllers/__init__.py deleted file mode 100644 index eda4d33..0000000 --- a/debianmemberportfolio/controllers/__init__.py +++ /dev/null @@ -1,22 +0,0 @@ -# -*- python -*- -# -*- coding: utf-8 -*- -# -# Debian Member Portfolio Service controllers package -# -# Copyright © 2009-2014 Jan Dittberner -# -# This file is part of the Debian Member Portfolio Service. -# -# Debian Member Portfolio Service is free software: you can redistribute it -# and/or modify it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the License, -# or (at your option) any later version. -# -# Debian Member Portfolio Service is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -# General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# diff --git a/debianmemberportfolio/controllers/error.py b/debianmemberportfolio/controllers/error.py deleted file mode 100644 index 4047bb5..0000000 --- a/debianmemberportfolio/controllers/error.py +++ /dev/null @@ -1,70 +0,0 @@ -# -*- python -*- -# -*- coding: utf-8 -*- -# -# Debian Member Portfolio Service ErrorController -# -# Copyright © 2009-2014 Jan Dittberner -# -# This file is part of the Debian Member Portfolio Service. -# -# Debian Member Portfolio Service is free software: you can redistribute it -# and/or modify it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the License, -# or (at your option) any later version. -# -# Debian Member Portfolio Service is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -# General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -import cgi - -from paste.urlparser import PkgResourcesParser -from pylons import request -from pylons.controllers.util import forward -from pylons.middleware import error_document_template -from webhelpers.html.builder import literal - -from debianmemberportfolio.lib.base import BaseController - - -class ErrorController(BaseController): - """Generates error documents as and when they are required. - - The ErrorDocuments middleware forwards to ErrorController when error - related status codes are returned from the application. - - This behaviour can be altered by changing the parameters to the - ErrorDocuments middleware in your config/middleware.py file. - """ - - def document(self): - """Render the error document""" - resp = request.environ.get('pylons.original_response') - content = literal(resp.body) or cgi.escape( - request.GET.get('message', '')) - page = error_document_template % \ - dict(prefix=request.environ.get('SCRIPT_NAME', ''), - code=cgi.escape( - request.GET.get('code', str(resp.status_int))), - message=content) - return page - - def img(self, id): - """Serve Pylons' stock images""" - return self._serve_file('/'.join(['media/img', id])) - - def style(self, id): - """Serve Pylons' stock stylesheets""" - return self._serve_file('/'.join(['media/style', id])) - - def _serve_file(self, path): - """ - Call Paste's FileApp (a WSGI application) to serve the file at - the specified path - """ - request.environ['PATH_INFO'] = '/%s' % path - return forward(PkgResourcesParser('pylons', 'pylons')) diff --git a/debianmemberportfolio/controllers/portfolio.py b/debianmemberportfolio/controllers/portfolio.py deleted file mode 100644 index 5539edc..0000000 --- a/debianmemberportfolio/controllers/portfolio.py +++ /dev/null @@ -1,212 +0,0 @@ -# -*- python -*- -# -*- coding: utf-8 -*- -# -# Debian Member Portfolio Service PortfolioController -# -# Copyright © 2009-2014 Jan Dittberner -# -# This file is part of the Debian Member Portfolio Service. -# -# Debian Member Portfolio Service is free software: you can redistribute it -# and/or modify it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the License, -# or (at your option) any later version. -# -# Debian Member Portfolio Service is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -# General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -""" -This module defines the PortfolioController class used to render the portfolio -of a person. -""" - -import logging -import simplejson - -from pylons import request, response, tmpl_context as c -from pylons.i18n import N_, _ -import formencode.api -import formencode.validators - -from debianmemberportfolio.lib.base import BaseController, render -from debianmemberportfolio.model.form import DDDataRequest, DeveloperData -from debianmemberportfolio.model.urlbuilder import build_urls -from debianmemberportfolio.model import dddatabuilder - -log = logging.getLogger(__name__) - - -class PortfolioController(BaseController): - """ - Main controller for the Debian Member Portfolio Service. - """ - #: This dictionary defines groups of labeled portfolio items. - _LABELS = { - 'overview': { - 'label': N_('Overview'), - 'ddpo': N_("Debian Member's Package Overview"), - 'alladdresses': N_("""Debian Member's Package Overview -... showing all email addresses"""), - }, - 'bugs': { - 'label': N_('Bugs'), - 'received': N_('''bugs received -(note: co-maintainers not listed, see \ -#430986)'''), - 'reported': N_('bugs reported'), - 'usertags': N_('user tags'), - 'searchall': N_('all messages (i.e., full text search for \ -developer name on all bug logs)'), - 'wnpp': N_('WNPP'), - 'correspondent': N_('correspondent for bugs'), - 'graph': N_('one year open bug history graph'), - }, - 'build': { - 'label': N_('Build'), - 'buildd': N_('buildd.d.o'), - 'igloo': N_('igloo'), - }, - 'qa': { - 'label': N_('Quality Assurance'), - 'dmd': N_('maintainer dashboard'), - 'lintian': N_('lintian reports'), - 'lintianfull': N_('full lintian reports (i.e. including \ -"info"-level messages)'), - 'piuparts': N_('piuparts'), - 'patchtracker': N_('Debian patch tracking system'), - 'duck': N_('Debian Url ChecKer'), - }, - 'lists': { - 'label': N_('Mailing Lists'), - 'dolists': N_('lists.d.o'), - 'adolists': N_('lists.a.d.o'), - 'gmane': N_('gmane'), - }, - 'files': { - 'label': N_('Files'), - 'people': N_('people.d.o'), - 'oldpeople': N_('oldpeople'), - 'alioth': N_('Alioth'), - }, - 'membership': { - 'label': N_('Membership'), - 'nm': N_('NM'), - 'dbfinger': N_('DB information via finger'), - 'db': N_('DB information via HTTP'), - 'webid': N_('FOAF profile'), - 'alioth': N_('Alioth'), - 'wiki': N_('Wiki'), - 'forum': N_('Forum'), - }, - 'miscellaneous': { - 'label': N_('Miscellaneous'), - 'debtags': N_('debtags'), - 'planetname': N_('Planet Debian (name)'), - 'planetuser': N_('Planet Debian (username)'), - 'links': N_('links'), - 'website': N_('Debian website'), - 'search': N_('Debian search'), - 'gpgfinger': N_('GPG public key via finger'), - 'gpgweb': N_('GPG public key via HTTP'), - 'nm': N_('NM, AM participation'), - 'contrib': N_('Contribution information'), - }, - 'ssh': { - 'label': N_('Information reachable via ssh (for Debian Members)'), - 'owndndoms': N_('owned debian.net domains'), - 'miainfo': N_('MIA database information'), - 'groupinfo': N_('Group membership information'), - }, - 'ubuntu': { - 'label': N_('Ubuntu'), - 'ubuntudiff': N_('Available patches from Ubuntu'), - }, - } - - #: list of field name tuples for Debian Maintainers - DM_TUPLES = (('name', 'name'), - ('gpgfp', 'gpgfp'), - ('nonddemail', 'email')) - - #: list of field name tuples for Debian Developers - DD_TUPLES = (('username', 'username'), - ('aliothusername', 'username')) - - def _get_label(self, section, url=None): - if section in self._LABELS: - if url: - if url in self._LABELS[section]: - return self._LABELS[section][url] - elif 'label' in self._LABELS[section]: - return self._LABELS[section]['label'] - if url: - return "%s.%s" % (section, url) - return section - - def index(self): - """ - Render the input form. - """ - return render('/showform.mako') - - def _build_request_params(self): - schema = DDDataRequest() - formencode.api.set_stdtranslation( - domain="FormEncode", - languages=[lang[0:2] for lang in request.languages]) - form_result = schema.to_python(request.params) - fields = dddatabuilder.build_data(form_result['email']) - rp = request.params.copy() - - if fields['type'] in (dddatabuilder.TYPE_DD, dddatabuilder.TYPE_DM): - for tuple in self.DM_TUPLES: - if not tuple[0] in rp or not rp[tuple[0]]: - rp[tuple[0]] = fields[tuple[1]] - if fields['type'] == dddatabuilder.TYPE_DD: - for tuple in self.DD_TUPLES: - if not tuple[0] in rp or not rp[tuple[0]]: - rp[tuple[0]] = fields[tuple[1]] - - return rp - - def urllist(self): - """Handle the actual data.""" - try: - rp = self._build_request_params() - except formencode.validators.Invalid as error: - c.messages = {'errors': error.unpack_errors()} - return render('/showform.mako') - - schema = DeveloperData() - try: - formencode.api.set_stdtranslation( - domain="FormEncode", - languages=[lang[0:2] for lang in request.languages]) - form_result = schema.to_python(rp) - except formencode.validators.Invalid, error: - c.messages = {'errors': error.unpack_errors()} - return render('/showform.mako') - if form_result['wikihomepage'] is None: - log.debug('generate wikihomepage from name') - form_result['wikihomepage'] = "".join( - [part.capitalize() for part in form_result['name'].split()]) - data = build_urls(form_result) - if form_result['mode'] == 'json': - response.headers['Content-Type'] = 'text/javascript' - return simplejson.dumps( - dict([("%s.%s" % (entry[1], entry[2].name), entry[3]) - for entry in data if entry[0] == 'url'])) - for entry in data: - if entry[0] in ('url', 'error'): - entry.append(_(self._get_label(entry[1], entry[2].name))) - elif entry[0] == 'section': - entry.append(_(self._get_label(entry[1]))) - c.urldata = data - return render('/showurls.mako') diff --git a/debianmemberportfolio/controllers/showformscripts.py b/debianmemberportfolio/controllers/showformscripts.py deleted file mode 100644 index 1e906a2..0000000 --- a/debianmemberportfolio/controllers/showformscripts.py +++ /dev/null @@ -1,75 +0,0 @@ -# -*- python -*- -# -*- coding: utf-8 -*- -# -# Debian Member Portfolio Service ShowformscriptsController. -# -# Copyright © 2009-2014 Jan Dittberner -# -# This file is part of the Debian Member Portfolio Service. -# -# Debian Member Portfolio Service is free software: you can redistribute it -# and/or modify it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the License, -# or (at your option) any later version. -# -# Debian Member Portfolio Service is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -# General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -""" -This file defines the ShowformscriptsController used to generate the JavaScript -code in forms. -""" - -import logging -import simplejson - -from pylons import request, response -from pylons.controllers.util import abort - -import formencode.api -import formencode.validators - -from debianmemberportfolio.lib.base import BaseController, render -from debianmemberportfolio.model.form import DDDataRequest -from debianmemberportfolio.model import dddatabuilder - -log = logging.getLogger(__name__) - - -class ShowformscriptsController(BaseController): - """This controller is used to support data entry in showform. - - It provides code for generating JavaScript as well as JSON - responses for autocompletion of fields.""" - - def index(self): - """ - This action generates the helper script for the showform page. - """ - response.headers['Content-Type'] = 'text/javascript; charset=utf-8' - return render('/showformscript.mako') - - def fetchdddata(self): - """ - This action fetches the data for a given mail address and - returns them as JSON. - """ - schema = DDDataRequest() - try: - formencode.api.set_stdtranslation( - domain="FormEncode", - languages=[lang[0:2] for lang in request.languages]) - form_result = schema.to_python(request.params) - except formencode.validators.Invalid, error: - errors = error.unpack_errors() - abort(400, "\n".join( - ["%s: %s" % (key, errors[key]) for key in errors])) - fields = dddatabuilder.build_data(form_result['email']) - log.debug(fields) - response.headers['Content-Type'] = 'text/plain' - return simplejson.dumps(fields) diff --git a/debianmemberportfolio/controllers/template.py b/debianmemberportfolio/controllers/template.py deleted file mode 100644 index b1f53e1..0000000 --- a/debianmemberportfolio/controllers/template.py +++ /dev/null @@ -1,55 +0,0 @@ -# -*- python -*- -# -*- coding: utf-8 -*- -# -# Debian Member Portfolio Service TemplateController -# -# Copyright © 2009-2014 Jan Dittberner -# -# This file is part of the Debian Member Portfolio Service. -# -# Debian Member Portfolio Service is free software: you can redistribute it -# and/or modify it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the License, -# or (at your option) any later version. -# -# Debian Member Portfolio Service is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -# General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -""" -This file contains the TemplateController used to render templates. -""" - -from debianmemberportfolio.lib.base import BaseController -from pylons.controllers.util import abort - - -class TemplateController(BaseController): - - def view(self, url): - """By default, the final controller tried to fulfill the request - when no other routes match. It may be used to display a template - when all else fails, e.g.:: - - def view(self, url): - return render('/%s' % url) - - Or if you're using Mako and want to explicitly send a 404 (Not - Found) response code when the requested template doesn't exist:: - - import mako.exceptions - - def view(self, url): - try: - return render('/%s' % url) - except mako.exceptions.TopLevelLookupException: - abort(404) - - By default this controller aborts the request with a 404 (Not - Found) - """ - abort(404) diff --git a/debianmemberportfolio/lib/__init__.py b/debianmemberportfolio/lib/__init__.py deleted file mode 100644 index 4937320..0000000 --- a/debianmemberportfolio/lib/__init__.py +++ /dev/null @@ -1,22 +0,0 @@ -# -*- python -*- -# -*- coding: utf-8 -*- -# -# Debian Member Portfolio Service lib package -# -# Copyright © 2009-2014 Jan Dittberner -# -# This file is part of the Debian Member Portfolio Service. -# -# Debian Member Portfolio Service is free software: you can redistribute it -# and/or modify it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the License, -# or (at your option) any later version. -# -# Debian Member Portfolio Service is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -# General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# diff --git a/debianmemberportfolio/lib/app_globals.py b/debianmemberportfolio/lib/app_globals.py deleted file mode 100644 index cb4ea2b..0000000 --- a/debianmemberportfolio/lib/app_globals.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- python -*- -# -*- coding: utf-8 -*- -# -# Debian Member Portfolio Service application Globals -# -# Copyright © 2009-2014 Jan Dittberner -# -# This file is part of the Debian Member Portfolio Service. -# -# Debian Member Portfolio Service is free software: you can redistribute it -# and/or modify it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the License, -# or (at your option) any later version. -# -# Debian Member Portfolio Service is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -# General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -""" -The application's Globals object -""" - -from beaker.cache import CacheManager -from beaker.util import parse_cache_config_options - - -class Globals(object): - """ - Globals acts as a container for objects available throughout the - life of the application - """ - - def __init__(self, config): - """ - One instance of Globals is created during application - initialization and is available during requests via the - 'app_globals' variable - """ - self.cache = CacheManager(**parse_cache_config_options(config)) diff --git a/debianmemberportfolio/lib/base.py b/debianmemberportfolio/lib/base.py deleted file mode 100644 index 7746e92..0000000 --- a/debianmemberportfolio/lib/base.py +++ /dev/null @@ -1,55 +0,0 @@ -# -*- python -*- -# -*- coding: utf-8 -*- -# -# Debian Member Portfolio Service base controller -# -# Copyright © 2009-2014 Jan Dittberner -# -# This file is part of the Debian Member Portfolio Service. -# -# Debian Member Portfolio Service is free software: you can redistribute it -# and/or modify it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the License, -# or (at your option) any later version. -# -# Debian Member Portfolio Service is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -# General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -""" -The base Controller API - -Provides the BaseController class for subclassing. -""" -from pylons import tmpl_context as c, request -from pylons.controllers import WSGIController -from pylons.i18n import add_fallback -from pylons.templating import render_mako as render - - -class BaseController(WSGIController): - - def __call__(self, environ, start_response): - """Invoke the Controller""" - # WSGIController.__call__ dispatches to the Controller method - # the request is routed to. This routing information is - # available in environ['pylons.routes_dict'] - # set language environment - try: - languages = request.languages - for lang in languages: - try: - add_fallback(lang.replace('-', '_')) - except: - pass - except: - pass - c.messages = {'errors': [], 'messages': []} - return WSGIController.__call__(self, environ, start_response) - - -__all__ = ['BaseController', 'render'] diff --git a/debianmemberportfolio/lib/helpers.py b/debianmemberportfolio/lib/helpers.py deleted file mode 100644 index 9bcb5e2..0000000 --- a/debianmemberportfolio/lib/helpers.py +++ /dev/null @@ -1,35 +0,0 @@ -# -*- python -*- -# -*- coding: utf-8 -*- -# -# Debian Member Portfolio Service webhelpers -# -# Copyright © 2009-2014 Jan Dittberner -# -# This file is part of the Debian Member Portfolio Service. -# -# Debian Member Portfolio Service is free software: you can redistribute it -# and/or modify it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the License, -# or (at your option) any later version. -# -# Debian Member Portfolio Service is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -# General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -# pymode:lint_ignore=W0611 -# -"""Helper functions - -Consists of functions to typically be used within templates, but also -available to Controllers. This module is available to templates as 'h'. -""" -from webhelpers.html.builder import escape, literal -from webhelpers.html.tags import stylesheet_link, javascript_link, image, \ - form, text, radio, submit, end_form, link_to, checkbox -from webhelpers.text import truncate -from webhelpers.textile import textile -from pylons import url diff --git a/debianmemberportfolio/model/form.py b/debianmemberportfolio/model/form.py deleted file mode 100644 index b10ad95..0000000 --- a/debianmemberportfolio/model/form.py +++ /dev/null @@ -1,51 +0,0 @@ -# -*- python -*- -# -*- coding: utf-8 -*- -# -# Debian Member Portfolio Service form handling model -# -# Copyright © 2009-2014 Jan Dittberner -# -# This file is part of the Debian Member Portfolio Service. -# -# Debian Member Portfolio Service is free software: you can redistribute it -# and/or modify it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the License, -# or (at your option) any later version. -# -# Debian Member Portfolio Service is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -# General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -""" -This file contains the form definitions used in the controllers. -""" - -import formencode - - -class DeveloperData(formencode.Schema): - """Validation schema for DeveloperData.""" - allow_extra_fields = True - filter_extra_fields = True - email = formencode.validators.Email(not_empty=True) - name = formencode.validators.String(not_empty=True) - gpgfp = formencode.All(formencode.validators.PlainText(), - formencode.validators.MinLength(32), - formencode.validators.MaxLength(40)) - username = formencode.validators.PlainText() - nonddemail = formencode.validators.Email() - aliothusername = formencode.validators.PlainText() - mode = formencode.validators.OneOf([u'json', u'html'], if_missing=u'html') - forumsid = formencode.validators.Int(if_missing=None) - wikihomepage = formencode.validators.String(if_missing=None) - - -class DDDataRequest(formencode.Schema): - """Validation schema for DDData request.""" - allow_extra_fields = True - filter_extra_fields = False - email = formencode.validators.Email(not_empty=True) diff --git a/debianmemberportfolio/templates/base.mako b/debianmemberportfolio/templates/base.mako deleted file mode 100644 index 4df882f..0000000 --- a/debianmemberportfolio/templates/base.mako +++ /dev/null @@ -1,52 +0,0 @@ -## -*- coding: utf-8 -*- \ - -<%doc> -Base template for XHTML templates. -Copyright © 2009-2014 Jan Dittberner - -This file is part of the Debian Member Portfolio service. - -Debian Member Portfolio service is free software: you can redistribute it -and/or modify it under the terms of the GNU Affero General Public License as -published by the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -Debian Member Portfolio service is distributed in the hope that it will be -useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -General Public License for more details. - -You should have received a copy of the GNU Affero General Public License along -with this program. If not, see . - - - - ${_('Debian Member Portfolio Service')}${self.titleaddon()} - ${h.stylesheet_link(h.url('/stylesheets/style.css'))} - ${self.extrahead()} - - - -
- ${self.body()} -
- - - - - -<%def name="extrahead()"> diff --git a/debianmemberportfolio/templates/showformscript.mako b/debianmemberportfolio/templates/showformscript.mako deleted file mode 100644 index 9cac439..0000000 --- a/debianmemberportfolio/templates/showformscript.mako +++ /dev/null @@ -1,122 +0,0 @@ -## -*- coding: utf-8 -*- \ -<%doc> -Helper JavaScript for the data input form. -Copyright © 2009, 2010, 2015 Jan Dittberner - -This file is part of DDPortfolio service. - -DDPortfolio service is free software: you can redistribute it and/or -modify it under the terms of the GNU Affero General Public License as -published by the Free Software Foundation, either version 3 of the -License, or (at your option) any later version. - -DDPortfolio service is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Affero General Public License for more details. - -You should have received a copy of the GNU Affero General Public -License along with this program. If not, see -. -\ - -var defaulthiddendivs = new Array( - '#namefield', '#gpgfpfield', '#usernamefield', '#nonddemailfield', - '#aliothusernamefield', '#wikihomepagefield', '#forumsidfield'); -var maskedfielddivs = new Array( - '#namefield', '#gpgfpfield', '#usernamefield', '#nonddemailfield', - '#aliothusernamefield', '#wikihomepagefield', '#forumsidfield'); -var allfielddivs = new Array( - '#namefield', '#gpgfpfield', '#usernamefield', '#nonddemailfield', - '#aliothusernamefield', '#wikihomepagefield', '#forumsidfield'); - -function updateFields(data, textStatus) { - if (data.type == 2) { // DD - $('#name').attr('value', data.name).attr('readonly', 'readonly'); - $('#gpgfp').attr('value', data.gpgfp); - $('#username').attr('value', data.username).attr( - 'readonly', 'readonly'); - $('#nonddemail').attr('value', data.email).focus(); - $('#aliothusername').attr('value', data.username); - $('#wikihomepage').attr('value', data.wikihomepage); - - $('#namefield').show(); - $('#gpgfpfield').show(); - $('#usernamefield').show(); - $('#nonddemailfield').show(); - $('#aliothusernamefield').show(); - $('#wikihomepagefield').show(); - $('#forumsidfield').show(); - - $('#nonddemail').focus().select(); - } else if (data.type == 1) { // DM - $('#name').attr('value', data.name).attr('readonly', 'readonly'); - $('#gpgfp').attr('value', data.gpgfp); - $('#username').attr('value', ''); - $('#nonddemail').attr('value', data.email).focus(); - $('#wikihomepage').attr('value', data.wikihomepage); - - $('#namefield').show(); - $('#gpgfpfield').show(); - $('#usernamefield').hide(); - $('#nonddemailfield').hide(); - $('#aliothusernamefield').show(); - $('#wikihomepagefield').show(); - $('#forumsidfield').show(); - - $('#aliothusername').focus().select(); - } else { - $('#nonddemail').attr('value', data.email); - $('#name').removeAttr('readonly'); - $('#username').removeAttr('readonly').attr('value', ''); - $('#gpgfp').attr('value', ''); - - $('#usernamefield').hide(); - $('#gpgfpfield').hide(); - $('#nonddemailfield').hide(); - $('#namefield').show(); - $('#aliothusernamefield').show(); - $('#wikihomepagefield').show(); - $('#forumsidfield').show(); - - $('#name').focus().select(); - } -} - -function onChangeShowAll(event) { - if ($('#showall').prop('checked')) { - for (var fielddiv in allfielddivs) { - $(allfielddivs[fielddiv]).show(); - } - } else { - for (var fielddiv in maskedfielddivs) { - $(maskedfielddivs[fielddiv]).hide(); - } - } -} - -function onBlurEmail() { - if ($.trim($('#email').prop('value')).length > 0) { - $.ajax({ - 'url' : '${h.url(controller="showformscripts", action="fetchdddata")}', - 'data' : {'email' : $('#email').prop('value')}, - 'dataType' : 'json', - 'success' : updateFields, - 'error' : function(request, textStatus, errorThrown) { - $('#email').focus(); - } - }); - } -} - -$(document).ready(function() { - for (var index in defaulthiddendivs) { - if (!$(defaulthiddendivs[index]).hasClass('witherrors')) { - $(defaulthiddendivs[index]).hide(); - } - } - - $('#showall').attr('checked', false).change(onChangeShowAll); - $('#showallfield').show(); - $('#email').blur(onBlurEmail).focus(); -}); diff --git a/debianmemberportfolio/templates/showurls.mako b/debianmemberportfolio/templates/showurls.mako deleted file mode 100644 index 65358fd..0000000 --- a/debianmemberportfolio/templates/showurls.mako +++ /dev/null @@ -1,67 +0,0 @@ -## -*- coding: utf-8 -*- -<%inherit file="base.mako" />\ -<%doc> -Template for the url output page. -Copyright © 2009-2014 Jan Dittberner - -This file is part of Debian Member Portfolio Service. - -Debian Member Portfolio Service is free software: you can redistribute it -and/or modify it under the terms of the GNU Affero General Public License as -published by the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -Debian Member Portfolio Service is distributed in the hope that it will be -useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -General Public License for more details. - -You should have received a copy of the GNU Affero General Public License along -with this program. If not, see . -\ -<%def name="titleaddon()"> - - ${_('Your personal links')} - -% if c.urldata: -
- ${_('Debian Member Portfolio')} - - - - - - % for row in c.urldata: - % if row[0] == 'section': - - <% urlclass = 'odd' %> - % elif row[0] == 'error': - - - - - % else: - - - - - <% - if urlclass == 'odd': - urlclass = 'even' - else: - urlclass = 'odd' - %> - % endif - % endfor - -
${_('Usage')}${_('URL')}
${h.literal(h.textile(row[4]))}${_('Error during URL creation:')} - ${row[3].replace("\n", - '
')}
${h.literal(h.textile(row[4]))} - % if row[2].type == 'url': - ${h.link_to(h.truncate(row[3], length=120), row[3])} - % else: - ${row[3]} - % endif -
-
-% endif -

${h.link_to(_('Restart'), h.url(controller='portfolio', action='index'))}

diff --git a/debianmemberportfolio/tests/__init__.py b/debianmemberportfolio/tests/__init__.py deleted file mode 100644 index 31fbc54..0000000 --- a/debianmemberportfolio/tests/__init__.py +++ /dev/null @@ -1,59 +0,0 @@ -# -*- python -*- -# -*- coding: utf-8 -*- -# -# Debian Member Portfolio Service tests package -# -# Copyright © 2009-2014 Jan Dittberner -# -# This file is part of the Debian Member Portfolio Service. -# -# Debian Member Portfolio Service is free software: you can redistribute it -# and/or modify it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the License, -# or (at your option) any later version. -# -# Debian Member Portfolio Service is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -# General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -""" -Pylons application test package - -When the test runner finds and executes tests within this directory, this file -will be loaded to setup the test environment. - -It registers the root directory of the project in sys.path and pkg_resources, -in case the project hasn't been installed with setuptools. It also initializes -the application via websetup (paster setup-app) with the project's test.ini -configuration file. -""" - -from unittest import TestCase - -from paste.script.appinstall import SetupCommand -from pylons import url -from routes.util import URLGenerator -from webtest import TestApp - -import pylons.test - -__all__ = ['environ', 'url', 'TestController'] - -# Invoke websetup with the current config file -SetupCommand('setup-app').run([pylons.test.pylonsapp.config['__file__']]) - -environ = {} - - -class TestController(TestCase): - - def __init__(self, *args, **kwargs): - wsgiapp = pylons.test.pylonsapp - config = wsgiapp.config - self.app = TestApp(wsgiapp) - url._push_object(URLGenerator(config['routes.map'], environ)) - TestCase.__init__(self, *args, **kwargs) diff --git a/debianmemberportfolio/tests/functional/__init__.py b/debianmemberportfolio/tests/functional/__init__.py deleted file mode 100644 index 75697f6..0000000 --- a/debianmemberportfolio/tests/functional/__init__.py +++ /dev/null @@ -1,22 +0,0 @@ -# -*- python -*- -# -*- coding: utf-8 -*- -# -# Debian Member Portfolio Service functional tests package -# -# Copyright © 2009-2014 Jan Dittberner -# -# This file is part of the Debian Member Portfolio Service. -# -# Debian Member Portfolio Service is free software: you can redistribute it -# and/or modify it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the License, -# or (at your option) any later version. -# -# Debian Member Portfolio Service is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -# General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# diff --git a/debianmemberportfolio/tests/functional/test_portfolio.py b/debianmemberportfolio/tests/functional/test_portfolio.py deleted file mode 100644 index bebdbc8..0000000 --- a/debianmemberportfolio/tests/functional/test_portfolio.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- python -*- -# -*- coding: utf-8 -*- -# -# Debian Member Portfolio Service PortfolioController test -# -# Copyright © 2009-2014 Jan Dittberner -# -# This file is part of the Debian Member Portfolio Service. -# -# Debian Member Portfolio Service is free software: you can redistribute it -# and/or modify it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the License, -# or (at your option) any later version. -# -# Debian Member Portfolio Service is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -# General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -""" -This module defines test cases for the PortfolioController. -""" - -from debianmemberportfolio.tests import TestController, url - - -class TestPortfolioController(TestController): - """ - Test cases for PortfolioController. - """ - - def test_index(self): - """ - Test for the controller's index action. - """ - response = self.app.get(url(controller='portfolio', action='index')) - # Test response... - assert response.status_int == 200 - assert response.content_type == "text/html" - assert "Debian Member Portfolio Service" in response diff --git a/debianmemberportfolio/tests/functional/test_showformscripts.py b/debianmemberportfolio/tests/functional/test_showformscripts.py deleted file mode 100644 index d3da82a..0000000 --- a/debianmemberportfolio/tests/functional/test_showformscripts.py +++ /dev/null @@ -1,44 +0,0 @@ -# -*- python -*- -# -*- coding: utf-8 -*- -# -# Debian Member Portfolio Service ShowformscriptsController test -# -# Copyright © 2009-2014 Jan Dittberner -# -# This file is part of the Debian Member Portfolio Service. -# -# Debian Member Portfolio Service is free software: you can redistribute it -# and/or modify it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the License, -# or (at your option) any later version. -# -# Debian Member Portfolio Service is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -# General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -""" -This module defines test cases for the ShowformscriptsController. -""" - -from debianmemberportfolio.tests import TestController, url - - -class TestShowformscriptsController(TestController): - """ - Test cases for ShowformscriptsController. - """ - - def test_index(self): - """ - Test for the controller's index action. - """ - response = self.app.get( - url(controller='showformscripts', action='index')) - # Test response... - assert response.status_int == 200 - assert response.content_type == "text/javascript" - assert "function updateField" in response diff --git a/debianmemberportfolio/tests/test_models.py b/debianmemberportfolio/tests/test_models.py deleted file mode 100644 index 6d9b913..0000000 --- a/debianmemberportfolio/tests/test_models.py +++ /dev/null @@ -1,22 +0,0 @@ -# -*- python -*- -# -*- coding: utf-8 -*- -# -# Debian Member Portfolio Service model tests -# -# Copyright © 2009-2014 Jan Dittberner -# -# This file is part of the Debian Member Portfolio Service. -# -# Debian Member Portfolio Service is free software: you can redistribute it -# and/or modify it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the License, -# or (at your option) any later version. -# -# Debian Member Portfolio Service is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero -# General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# diff --git a/development.ini b/development.ini deleted file mode 100644 index db8dcc7..0000000 --- a/development.ini +++ /dev/null @@ -1,73 +0,0 @@ -# -# Debian Member Portfolio Service - Pylons development environment -# configuration -# -# The %(here)s variable will be replaced with the parent directory of this file -# -[DEFAULT] -debug = true -# Uncomment and replace with the address which should receive any error reports -#email_to = you@yourdomain.com -smtp_server = localhost -error_email_from = paste@localhost - -[server:main] -use = egg:Paste#http -host = 127.0.0.1 -port = 5000 - -[app:main] -use = egg:debianmemberportfolio -full_stack = true -static_files = true - -cache_dir = %(here)s/data -beaker.session.key = debianmemberportfolio -beaker.session.secret = somesecret - -# If you'd like to fine-tune the individual locations of the cache data dirs -# for the Cache data, or the Session saves, un-comment the desired settings -# here: -#beaker.cache.data_dir = %(here)s/data/cache -#beaker.session.data_dir = %(here)s/data/sessions - -# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* -# Debug mode will enable the interactive debugging tool, allowing ANYONE to -# execute malicious code after an exception is raised. -#set debug = false - - -# Logging configuration -[loggers] -keys = root, routes, debianmemberportfolio - -[handlers] -keys = console - -[formatters] -keys = generic - -[logger_root] -level = INFO -handlers = console - -[logger_routes] -level = INFO -handlers = -qualname = routes.middleware -# "level = DEBUG" logs the route matched and routing variables. - -[logger_debianmemberportfolio] -level = DEBUG -handlers = -qualname = debianmemberportfolio - -[handler_console] -class = StreamHandler -args = (sys.stderr,) -level = NOTSET -formatter = generic - -[formatter_generic] -format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] [%(threadName)s] %(message)s -datefmt = %H:%M:%S diff --git a/jessiereq.pip b/jessiereq.pip deleted file mode 100644 index ecb99be..0000000 --- a/jessiereq.pip +++ /dev/null @@ -1,29 +0,0 @@ -Flask==0.10.1 -Jinja2==2.7.3 -MarkupSafe==0.23 -Werkzeug==0.9.6 -itsdangerous==0.24 -Babel==1.3 -Flask-Babel==0.9 -pytz==2012c -speaklater==1.3 -Flask-WTF==0.10.2 -WTForms==2.0.1 -#Babel==1.3 -#Beaker==1.6.4 -#FormEncode==1.2.6 -#Mako==1.0.0 -#MarkupSafe==0.23 -#Paste==1.7.5.1 -#PasteDeploy==1.5.2 -#PasteScript==1.7.5 -#Pygments==2.0.1 -#Pylons==1.0.1 -#Routes==2.0 -#Tempita==0.5.2 -#WebError==0.10.3 -#WebHelpers==1.3 -#WebOb==1.4 -#WebTest==2.0.16 -#nose==1.3.4 -#simplejson==3.6.5 diff --git a/test.ini b/test.ini deleted file mode 100644 index bbef5d2..0000000 --- a/test.ini +++ /dev/null @@ -1,21 +0,0 @@ -# -# Debian Member Portfolio Service - Pylons testing environment configuration -# -# The %(here)s variable will be replaced with the parent directory of this file -# -[DEFAULT] -debug = true -# Uncomment and replace with the address which should receive any error reports -#email_to = you@yourdomain.com -smtp_server = localhost -error_email_from = paste@localhost - -[server:main] -use = egg:Paste#http -host = 127.0.0.1 -port = 5000 - -[app:main] -use = config:development.ini - -# Add additional test specific configuration options as necessary. From 0df84e586f9c8d5de324285f7f73b03f9ee7e040 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Thu, 12 Nov 2015 22:19:24 +0100 Subject: [PATCH 036/210] Update meta information and documentation --- ChangeLog | 3 ++ MANIFEST.in | 3 +- config.py | 21 +++++++++ debianmemberportfolio/views.py | 2 +- docs/source/devdocs.rst | 83 ++++++++++++++-------------------- docs/source/sourcecode.rst | 60 +++--------------------- run.py | 24 +++++++++- setup.cfg | 19 ++++---- setup.py | 9 ++-- stretch.pip | 2 +- 10 files changed, 105 insertions(+), 121 deletions(-) diff --git a/ChangeLog b/ChangeLog index 838d2f7..675dbfe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2015-11-12 Jan Dittberner + * port to Python 3 and Flask + 2015-03-09 Jan Dittberner * apply patch for DMD link by Paul Wise diff --git a/MANIFEST.in b/MANIFEST.in index 8b85d82..5df1764 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,2 @@ -include debianmemberportfolio/config/deployment.ini_tmpl -recursive-include debianmemberportfolio/public * +recursive-include debianmemberportfolio/static * recursive-include debianmemberportfolio/templates * diff --git a/config.py b/config.py index 4345151..a77f89b 100644 --- a/config.py +++ b/config.py @@ -1,4 +1,25 @@ +# -*- python -*- # -*- coding: utf-8 -*- +# +# Debian Member Portfolio Service Flask configuration +# +# Copyright © 2015 Jan Dittberner +# +# This file is part of the Debian Member Portfolio Service. +# +# Debian Member Portfolio Service is free software: you can redistribute it +# and/or modify it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the License, +# or (at your option) any later version. +# +# Debian Member Portfolio Service is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero +# General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# WTF_CSRF_ENABLED = False diff --git a/debianmemberportfolio/views.py b/debianmemberportfolio/views.py index 70455db..338ba2f 100644 --- a/debianmemberportfolio/views.py +++ b/debianmemberportfolio/views.py @@ -25,7 +25,7 @@ import logging from debianmemberportfolio import app, babel from flask import g, make_response, request, render_template, abort -from flask.ext.babel import gettext as _, lazy_gettext as N_ +from flask.ext.babel import lazy_gettext as N_ from config import LANGUAGES from .forms import DeveloperData, DeveloperDataRequest from .model import dddatabuilder diff --git a/docs/source/devdocs.rst b/docs/source/devdocs.rst index 73b0626..8e03b5c 100644 --- a/docs/source/devdocs.rst +++ b/docs/source/devdocs.rst @@ -1,16 +1,15 @@ Development of Debian Member Portfolio Service ============================================== -The Debian Member Portfolio Service is implemented in `Python -`_ using the `Pylons -`_ web application -framework. +The Debian Member Portfolio Service is implemented in `Python 3 +`_ using the `Flask `_ web +application framework. The following sections describe how to setup a local development environment for the Debian Member Portfolio Service. All instructions assume that you work on a Debian system. You should use Python -2.7 for development. +3 for development. Setup of a local development ---------------------------- @@ -22,53 +21,48 @@ To start working on the source code you need to have `git`_ installed:: .. _git: http://www.git-scm.com/ The canonical git repository for the Debian Member Portfolio Service is -available at http://debianstuff.dittberner.info/git/debianmemberportfolio.git. +available at https://debianstuff.dittberner.info/git/debianmemberportfolio.git. To get a clone of the source code you change to a directory of your choice and invoke git clone:: cd ~/src - git clone http://debianstuff.dittberner.info/git/debianmemberportfolio.git + git clone https://debianstuff.dittberner.info/git/debianmemberportfolio.git -You should use `virtualenv`_ to separate the development environment from your +You should use `venv`_ to separate the development environment from your system wide Python installation. You can install virtualenv using:: - sudo aptitude install python-virtualenv + sudo aptitude install python3-venv -.. _virtualenv: https://pypi.python.org/pypi/virtualenv +.. _venv: https://docs.python.org/3/library/venv.html -When you have :command:`virtualenv` installed you should create a virtual +When you have :command:`pyvenv` installed you should create a virtual environment for Debian Member Portfolio Service development and install the requirements using `pip `_:: mkdir ~/.virtualenvs - virtualenv --distribute ~/.virtualenvs/dmportfolio + pyvenv ~/.virtualenvs/dmportfolio . ~/.virtualenvs/dmportfolio/bin/activate cd ~/src/debianmemberportfolio - pip install -r jessiereq.pip + pip install -r stretchreq.pip .. note:: The Debian Member Portfolio Service instance at http://portfolio.debian.net/ - is running on a Debian Jessie server, therefore :file:`jessiereq.pip` + is running on a Debian Stretch server, therefore :file:`stretchreq.pip` contains dependency versions matching that Debian release. The dependency download and installation into the virtual environment takes some time. -After you have your virtual environment ready you need to setup the project for -development:: - - python setup.py develop - Debian Member Portfolio Service needs the JQuery JavaScript library to function properly. The JQuery library is not included in the git clone and must be copied into the subdirectory -:file:`debianmemberportfolio/public/javascript/jquery`. On Debian systems you +:file:`debianmemberportfolio/static/javascript/jquery`. On Debian systems you can install the package libjs-jquery and place a symlink to the directory -:file:`/usr/share/javascript` into :file:`debianmemberportfolio/public`: :: +:file:`/usr/share/javascript` into :file:`debianmemberportfolio/static`: :: sudo aptitude install libjs-jquery - ln -s /usr/share/javascript debianmemberportfolio/public + ln -s /usr/share/javascript debianmemberportfolio/static Prepare for first startup ~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -93,21 +87,19 @@ When you have both installed you can run:: The first synchronizes the keyrings in :file:`$HOME/debian/keyring.debian.org` with files on the `keyring.debian.org `_ host. And the second generates a key/value database in -:file:`debianmemberportfolio/model/keyringcache` that is used by the code. +:file:`debianmemberportfolio/model/keyringcache.db` that is used by the code. Run a development server ~~~~~~~~~~~~~~~~~~~~~~~~ -Pylons uses PasteScript to run a development server. You can run a development -server using:: +You can run a development server using:: - paster serve --reload development.ini + python3 run.py The output of this command should look like the following:: - Starting subprocess with file monitor - Starting server in PID 31377. - serving on http://127.0.0.1:5000 + * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) + * Restarting with stat You can now access your development server at the URL that is printed by the command. @@ -122,21 +114,17 @@ Add new URL Debian Member Portfolio Service uses a ini style configuration file :file:`debianmemberportfolio/model/portfolio.ini` to configure the generated URL patterns. The actual URL generation is done in -:py:class:`~debianmemberportfolio.controllers.portfolio.DdportfolioController` -in the -:py:meth:`~debianmemberportfolio.controllers.portfolio.DdportfolioController.urllist` -method. +:py:func:`~debianmemberportfolio.views.urllist`. If you want to add a new URL type you have to add a line in -:file:`portfolio.ini` and an entry in -:py:class:`~debianmemberportfolio.controllers.portfolio.DdportfolioController`'s -:py:attr:`~debianmemberportfolio.controllers.portfolio.DdportfolioController._LABELS` -dictionary. The top level dictionary keys correspond to sections in the ini -file. The dictionary values are dictionaries themselves that contain a special -key ``label`` that defines the label of the section in the output and keys for -each entry to be rendered in that section. The values in these sub-dictionaries -are strings marked for translation using the :py:func:`~pylons.i18n._` function from -:py:mod:`pylons.i18n`. +:file:`portfolio.ini` and an entry in :py:mod:`~debianmemberportfolio.views`'s +:py:attr:`~debianmemberportfolio.views._LABELS` dictionary. The top level +dictionary keys correspond to sections in the ini file. The dictionary values +are dictionaries themselves that contain a special key ``label`` that defines +the label of the section in the output and keys for each entry to be rendered +in that section. The values in these sub-dictionaries are strings marked for +translation using the :py:func:`~flask.ext.babel.lazy_gettext` function from +:py:mod:`flask.ext.babel`. The patterns in :file:`portfolio.ini` can contain the following placeholders that are filled at runtime: @@ -148,7 +136,7 @@ Placeholder Replacement %(email)s email address (URL encoded) %(emailnoq)s email address %(firstchar)s first character of the email address -%(forumsid)d forum user id +%(forumsid)s forum user id %(gpgfp)s GNUPG/PGP key fingerprint %(name)s full name (i.e. John Smith) %(username)s Debian user name @@ -158,10 +146,9 @@ Placeholder Replacement .. _alioth.debian.org: https://alioth.debian.org/ The replacement of placeholders is performed in the -:py:meth:`~debianmemberportfolio.controllers.portfolio.DdportfolioController.urllist` -method. And uses data from the Debian keyring. Access to the pre-parsed keyring -data is performed using the -:py:func:`~debianmemberportfolio.model.dddatabuilder.build_data` function of -the module :py:mod:`debianmemberportfolio.model.dddatabuilder`, which uses +:py:func:`~debianmemberportfolio.views.urllist` function. And uses data from +the Debian keyring. Access to the pre-parsed keyring data is performed using +the :py:func:`~debianmemberportfolio.model.dddatabuilder.build_data` function +of the module :py:mod:`debianmemberportfolio.model.dddatabuilder`, which uses several helper functions from :py:mod:`debianmemberportfolio.model.keyfinder` to access the key information. diff --git a/docs/source/sourcecode.rst b/docs/source/sourcecode.rst index 0755a34..1c5dd88 100644 --- a/docs/source/sourcecode.rst +++ b/docs/source/sourcecode.rst @@ -4,58 +4,16 @@ Source documentation The sections below contain mostly autogenerated documentation of the source code of the Debian Member Portfolio Service. -Controllers ------------ +Forms +----- -.. automodule:: debianmemberportfolio.controllers +.. automodule:: debianmemberportfolio.forms :members: -portfolio controller -~~~~~~~~~~~~~~~~~~~~ +Views +----- -.. automodule:: debianmemberportfolio.controllers.portfolio - :members: - -error controller -~~~~~~~~~~~~~~~~ - -.. automodule:: debianmemberportfolio.controllers.error - :members: - -showformscripts controller -~~~~~~~~~~~~~~~~~~~~~~~~~~ - -.. automodule:: debianmemberportfolio.controllers.showformscripts - :members: - -template controller -~~~~~~~~~~~~~~~~~~~ - -.. automodule:: debianmemberportfolio.controllers.template - :members: - -Library code ------------- - -.. automodule:: debianmemberportfolio.lib - :members: - -app_globals -~~~~~~~~~~~ - -.. automodule:: debianmemberportfolio.lib.app_globals - :members: - -base -~~~~ - -.. automodule:: debianmemberportfolio.lib.base - :members: - -helpers -~~~~~~~ - -.. automodule:: debianmemberportfolio.lib.helpers +.. automodule:: debianmemberportfolio.views :members: Model @@ -70,12 +28,6 @@ dddatabuilder .. automodule:: debianmemberportfolio.model.dddatabuilder :members: -form -~~~~ - -.. automodule:: debianmemberportfolio.model.form - :members: - keyfinder ~~~~~~~~~ diff --git a/run.py b/run.py index 715fe63..c42503f 100755 --- a/run.py +++ b/run.py @@ -1,4 +1,26 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 +# -*- python -*- +# -*- coding: utf-8 -*- +# +# Debian Member Portfolio Service Flask runner +# +# Copyright © 2015 Jan Dittberner +# +# This file is part of the Debian Member Portfolio Service. +# +# Debian Member Portfolio Service is free software: you can redistribute it +# and/or modify it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the License, +# or (at your option) any later version. +# +# Debian Member Portfolio Service is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero +# General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# from debianmemberportfolio import app if __name__ == '__main__': diff --git a/setup.cfg b/setup.cfg index da36c32..00c4a19 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,29 +12,28 @@ doc-dir=docs/html make-dirs=1 [nosetests] -with-pylons = test.ini cover-package = debianmemberportfolio # Babel configuration [compile_catalog] -domain = debianmemberportfolio -directory = debianmemberportfolio/i18n +domain = messages +directory = debianmemberportfolio/translations statistics = true [extract_messages] charset = UTF-8 add_comments = TRANSLATORS: -output_file = debianmemberportfolio/i18n/debianmemberportfolio.pot +output_file = messages.pot width = 80 msgid_bugs_address = jan@dittberner.info [init_catalog] -domain = debianmemberportfolio -input_file = debianmemberportfolio/i18n/debianmemberportfolio.pot -output_dir = debianmemberportfolio/i18n +domain = messages +input_file = messages.pot +output_dir = debianmemberportfolio/translations [update_catalog] -domain = debianmemberportfolio -input_file = debianmemberportfolio/i18n/debianmemberportfolio.pot -output_dir = debianmemberportfolio/i18n +domain = messages +input_file = messages.pot +output_dir = debianmemberportfolio/translations previous = true diff --git a/setup.py b/setup.py index cfe9852..2a40f15 100644 --- a/setup.py +++ b/setup.py @@ -46,15 +46,16 @@ setup( author_email='jan@dittberner.info', url='http://debian-stuff.dittberner.info/debianmemberportfolio', license='AGPL-3.0+', - install_requires=["Flask>=0.10.1", 'babel>=0.9.6'], + install_requires=["Flask>=0.10.1", 'Babel>=1.3', 'Flask-Babel>=0.9'], packages=find_packages(exclude=['ez_setup']), include_package_data=True, test_suite='nose.collector', package_data={'debianmemberportfolio': - ['*.ini', 'i18n/*/LC_MESSAGES/*.mo']}, + ['*.ini', 'translations/*/LC_MESSAGES/*.mo']}, message_extractors={'debianmemberportfolio': [ ('**.py', 'python', None), - ('templates/**.mako', 'mako', None), - ('public/**', 'ignore', None)]}, + ('templates/**.html', 'jinja2', None), + ('templates/**.js', 'jinja2', None), + ('static/**', 'ignore', None)]}, zip_safe=False, ) diff --git a/stretch.pip b/stretch.pip index f8ad1c2..439ca0e 100644 --- a/stretch.pip +++ b/stretch.pip @@ -3,7 +3,7 @@ Jinja2==2.8 MarkupSafe==0.23 Werkzeug==0.10.4 itsdangerous==0.24 -Babel==1.3 +Babel==2.1.1 Flask-Babel==0.9 pytz==2012c speaklater==1.3 From 7adc53c31ec76a8fb1c18757e1713ee2d67e00a6 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Thu, 12 Nov 2015 22:20:15 +0100 Subject: [PATCH 037/210] Update german translation --- .../translations/de/LC_MESSAGES/messages.po | 290 +++++++++++------- 1 file changed, 181 insertions(+), 109 deletions(-) diff --git a/debianmemberportfolio/translations/de/LC_MESSAGES/messages.po b/debianmemberportfolio/translations/de/LC_MESSAGES/messages.po index 71f4b27..8eed91f 100644 --- a/debianmemberportfolio/translations/de/LC_MESSAGES/messages.po +++ b/debianmemberportfolio/translations/de/LC_MESSAGES/messages.po @@ -9,25 +9,34 @@ msgid "" msgstr "" "Project-Id-Version: Debian Member Portfolio Service 0.3.1\n" "Report-Msgid-Bugs-To: jan@dittberner.info\n" -"POT-Creation-Date: 2014-02-08 18:14+0100\n" -"PO-Revision-Date: 2014-02-08 18:03+0100\n" +"POT-Creation-Date: 2015-11-12 22:11+0100\n" +"PO-Revision-Date: 2015-11-12 22:14+0100\n" "Last-Translator: Jan Dittberner \n" +"Language: de\n" "Language-Team: de \n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 0.9.6\n" +"Generated-By: Babel 2.1.1\n" -#: debianmemberportfolio/controllers/portfolio.py:45 +#: debianmemberportfolio/forms.py:33 +msgid "JSON" +msgstr "JSON" + +#: debianmemberportfolio/forms.py:33 +msgid "HTML" +msgstr "HTML" + +#: debianmemberportfolio/views.py:39 msgid "Overview" msgstr "Überblick" -#: debianmemberportfolio/controllers/portfolio.py:46 +#: debianmemberportfolio/views.py:40 msgid "Debian Member's Package Overview" msgstr "Paketübersicht des Debian-Mitglieds" -#: debianmemberportfolio/controllers/portfolio.py:47 +#: debianmemberportfolio/views.py:41 msgid "" "Debian Member's Package Overview\n" "... showing all email addresses" @@ -35,11 +44,11 @@ msgstr "" "Paketübersicht des Debian-Mitglieds\n" "... mit allen E-Mailadressen" -#: debianmemberportfolio/controllers/portfolio.py:51 +#: debianmemberportfolio/views.py:45 msgid "Bugs" msgstr "Fehler" -#: debianmemberportfolio/controllers/portfolio.py:52 +#: debianmemberportfolio/views.py:46 msgid "" "bugs received\n" "(note: co-maintainers not listed, see #430986)" -#: debianmemberportfolio/controllers/portfolio.py:56 +#: debianmemberportfolio/views.py:50 msgid "bugs reported" msgstr "Berichtete Fehler" -#: debianmemberportfolio/controllers/portfolio.py:57 +#: debianmemberportfolio/views.py:51 msgid "user tags" msgstr "User Tags" -#: debianmemberportfolio/controllers/portfolio.py:58 +#: debianmemberportfolio/views.py:52 msgid "all messages (i.e., full text search for developer name on all bug logs)" msgstr "" "Alle Nachrichten (d.h. Volltextsuche nach dem Entwicklernamen in allen " "Fehlerlogs)" -#: debianmemberportfolio/controllers/portfolio.py:60 +#: debianmemberportfolio/views.py:54 msgid "WNPP" msgstr "WNPP" -#: debianmemberportfolio/controllers/portfolio.py:61 +#: debianmemberportfolio/views.py:55 msgid "correspondent for bugs" msgstr "Beitragender zu Fehlern" -#: debianmemberportfolio/controllers/portfolio.py:62 +#: debianmemberportfolio/views.py:56 msgid "one year open bug history graph" msgstr "Graph der Entwicklung offener Fehlerberichte über ein Jahr" -#: debianmemberportfolio/controllers/portfolio.py:65 +#: debianmemberportfolio/views.py:59 msgid "Build" msgstr "Build" -#: debianmemberportfolio/controllers/portfolio.py:66 +#: debianmemberportfolio/views.py:60 msgid "buildd.d.o" msgstr "buildd.d.o" -#: debianmemberportfolio/controllers/portfolio.py:67 +#: debianmemberportfolio/views.py:61 msgid "igloo" msgstr "Igloo" -#: debianmemberportfolio/controllers/portfolio.py:70 +#: debianmemberportfolio/views.py:64 msgid "Quality Assurance" msgstr "Qualitätssicherung" -#: debianmemberportfolio/controllers/portfolio.py:71 +#: debianmemberportfolio/views.py:65 msgid "maintainer dashboard" msgstr "Maintainer Dashboard" -#: debianmemberportfolio/controllers/portfolio.py:72 +#: debianmemberportfolio/views.py:66 msgid "lintian reports" msgstr "Lintian-Berichte" -#: debianmemberportfolio/controllers/portfolio.py:73 +#: debianmemberportfolio/views.py:67 msgid "full lintian reports (i.e. including \"info\"-level messages)" msgstr "" "vollständige Lintian-Berichte (d.h. inklusive Meldungen der Stufe " "\"info\")" -#: debianmemberportfolio/controllers/portfolio.py:75 +#: debianmemberportfolio/views.py:69 msgid "piuparts" msgstr "piuparts" -#: debianmemberportfolio/controllers/portfolio.py:76 +#: debianmemberportfolio/views.py:70 msgid "Debian patch tracking system" msgstr "Debian Nachverfolgungssystem für Patches" -#: debianmemberportfolio/controllers/portfolio.py:77 +#: debianmemberportfolio/views.py:71 msgid "Debian Url ChecKer" msgstr "Debian URL-Prüfer" -#: debianmemberportfolio/controllers/portfolio.py:80 +#: debianmemberportfolio/views.py:74 msgid "Mailing Lists" msgstr "Mailinglisten" -#: debianmemberportfolio/controllers/portfolio.py:81 +#: debianmemberportfolio/views.py:75 msgid "lists.d.o" msgstr "lists.d.o" -#: debianmemberportfolio/controllers/portfolio.py:82 +#: debianmemberportfolio/views.py:76 msgid "lists.a.d.o" msgstr "lists.a.d.o" -#: debianmemberportfolio/controllers/portfolio.py:83 +#: debianmemberportfolio/views.py:77 msgid "gmane" msgstr "Gmane" -#: debianmemberportfolio/controllers/portfolio.py:86 +#: debianmemberportfolio/views.py:80 msgid "Files" msgstr "Dateien" -#: debianmemberportfolio/controllers/portfolio.py:87 +#: debianmemberportfolio/views.py:81 msgid "people.d.o" msgstr "people.d.o" -#: debianmemberportfolio/controllers/portfolio.py:88 +#: debianmemberportfolio/views.py:82 msgid "oldpeople" msgstr "oldpeople" -#: debianmemberportfolio/controllers/portfolio.py:89 -#: debianmemberportfolio/controllers/portfolio.py:97 +#: debianmemberportfolio/views.py:83 debianmemberportfolio/views.py:91 msgid "Alioth" msgstr "Alioth" -#: debianmemberportfolio/controllers/portfolio.py:92 +#: debianmemberportfolio/views.py:86 msgid "Membership" msgstr "Mitgliedschaft" -#: debianmemberportfolio/controllers/portfolio.py:93 +#: debianmemberportfolio/views.py:87 msgid "NM" msgstr "NM" -#: debianmemberportfolio/controllers/portfolio.py:94 +#: debianmemberportfolio/views.py:88 msgid "DB information via finger" msgstr "DB-Informationen per finger" -#: debianmemberportfolio/controllers/portfolio.py:95 +#: debianmemberportfolio/views.py:89 msgid "DB information via HTTP" msgstr "DB-Informationen per HTTP" -#: debianmemberportfolio/controllers/portfolio.py:96 +#: debianmemberportfolio/views.py:90 msgid "FOAF profile" msgstr "FOAF-Profil" -#: debianmemberportfolio/controllers/portfolio.py:98 +#: debianmemberportfolio/views.py:92 msgid "Wiki" msgstr "Wiki" -#: debianmemberportfolio/controllers/portfolio.py:99 +#: debianmemberportfolio/views.py:93 msgid "Forum" msgstr "Forum" -#: debianmemberportfolio/controllers/portfolio.py:102 +#: debianmemberportfolio/views.py:96 msgid "Miscellaneous" msgstr "Sonstiges" -#: debianmemberportfolio/controllers/portfolio.py:103 +#: debianmemberportfolio/views.py:97 msgid "debtags" msgstr "debtags" -#: debianmemberportfolio/controllers/portfolio.py:104 +#: debianmemberportfolio/views.py:98 msgid "Planet Debian (name)" msgstr "Planet Debian (Name)" -#: debianmemberportfolio/controllers/portfolio.py:105 +#: debianmemberportfolio/views.py:99 msgid "Planet Debian (username)" msgstr "Planet Debian (Benutzername)" -#: debianmemberportfolio/controllers/portfolio.py:106 +#: debianmemberportfolio/views.py:100 msgid "links" msgstr "Links" -#: debianmemberportfolio/controllers/portfolio.py:107 +#: debianmemberportfolio/views.py:101 msgid "Debian website" msgstr "Debian Webseite" -#: debianmemberportfolio/controllers/portfolio.py:108 +#: debianmemberportfolio/views.py:102 msgid "Debian search" msgstr "Debian-Suche" -#: debianmemberportfolio/controllers/portfolio.py:109 +#: debianmemberportfolio/views.py:103 msgid "GPG public key via finger" msgstr "öffentlicher GPG-Schlüssel per finger" -#: debianmemberportfolio/controllers/portfolio.py:110 +#: debianmemberportfolio/views.py:104 msgid "GPG public key via HTTP" msgstr "öffentlicher GPG-Schlüssel per HTTP" -#: debianmemberportfolio/controllers/portfolio.py:111 +#: debianmemberportfolio/views.py:105 msgid "NM, AM participation" msgstr "NM-, AM-Mitwirkung" -#: debianmemberportfolio/controllers/portfolio.py:112 +#: debianmemberportfolio/views.py:106 msgid "Contribution information" msgstr "Debian Contributor-Informationen" -#: debianmemberportfolio/controllers/portfolio.py:115 +#: debianmemberportfolio/views.py:109 msgid "Information reachable via ssh (for Debian Members)" msgstr "Per ssh erreichbare Informationen (für Debian Mitglieder)" -#: debianmemberportfolio/controllers/portfolio.py:116 +#: debianmemberportfolio/views.py:110 msgid "owned debian.net domains" msgstr "Besitz von debian.net-Domains" -#: debianmemberportfolio/controllers/portfolio.py:117 +#: debianmemberportfolio/views.py:111 msgid "" -"MIA database" -" information" +"MIA " +"database information" msgstr "" "Informationen in der MIA-Datenbank" -#: debianmemberportfolio/controllers/portfolio.py:119 +#: debianmemberportfolio/views.py:113 msgid "Group membership information" msgstr "Information über Gruppenmitgliedschaften" -#: debianmemberportfolio/controllers/portfolio.py:122 +#: debianmemberportfolio/views.py:116 msgid "Ubuntu" msgstr "Ubuntu" -#: debianmemberportfolio/controllers/portfolio.py:123 +#: debianmemberportfolio/views.py:117 msgid "Available patches from Ubuntu" msgstr "Verfügbare Patches aus Ubuntu" -#: debianmemberportfolio/model/urlbuilder.py:40 +#: debianmemberportfolio/model/urlbuilder.py:43 msgid "Email address" msgstr "E-Mailadresse" -#: debianmemberportfolio/model/urlbuilder.py:41 +#: debianmemberportfolio/model/urlbuilder.py:44 msgid "Name" msgstr "Name" -#: debianmemberportfolio/model/urlbuilder.py:42 +#: debianmemberportfolio/model/urlbuilder.py:45 msgid "GPG fingerprint" msgstr "GPG-Fingerabdruck" -#: debianmemberportfolio/model/urlbuilder.py:43 +#: debianmemberportfolio/model/urlbuilder.py:46 msgid "Debian user name" msgstr "Debian-Benutzername" -#: debianmemberportfolio/model/urlbuilder.py:44 +#: debianmemberportfolio/model/urlbuilder.py:47 msgid "Non Debian email address" msgstr "Nicht-Debian-E-Mailadresse" -#: debianmemberportfolio/model/urlbuilder.py:45 +#: debianmemberportfolio/model/urlbuilder.py:48 msgid "Alioth user name" msgstr "Alioth-Benutzername" -#: debianmemberportfolio/model/urlbuilder.py:97 -#: debianmemberportfolio/model/urlbuilder.py:101 +#: debianmemberportfolio/model/urlbuilder.py:109 +#: debianmemberportfolio/model/urlbuilder.py:113 #, python-format msgid "Missing input: %s" msgstr "Fehlende Eingabe: %s" -#: debianmemberportfolio/templates/base.mako:25 -#: debianmemberportfolio/templates/base.mako:33 +#: debianmemberportfolio/templates/base.html:24 +#: debianmemberportfolio/templates/base.html:31 msgid "Debian Member Portfolio Service" msgstr "Debian-Mitglieder-Portfolioservice" -#: debianmemberportfolio/templates/base.mako:31 +#: debianmemberportfolio/templates/base.html:30 msgid "Debian Logo" msgstr "Debian-Logo" -#: debianmemberportfolio/templates/base.mako:34 +#: debianmemberportfolio/templates/base.html:32 msgid "" "This service has been inspired by Stefano Zacchiroli's DDPortfolio page in the " @@ -298,22 +306,22 @@ msgid "" "Debian Member's or package maintainer's information regarding Debian." msgstr "" "Dieser Dienst wurde durch Stefano Zacchirolis DDPortfolio-Seite im Debian " +"href=\"http://wiki.debian.org/DDPortfolio\">DDPortfolio-Seite im Debian " "Wiki inspiriert. Mit dem Dienst können personalisierte Links zu " "Informationen im Bezug auf Debian für Debian-Mitglieder und Paketbetreuer" " erzeugt werden." -#: debianmemberportfolio/templates/base.mako:41 +#: debianmemberportfolio/templates/base.html:39 msgid "AGPL - Free Software" msgstr "AGPL - Freie Software" -#: debianmemberportfolio/templates/base.mako:43 +#: debianmemberportfolio/templates/base.html:40 #, python-format msgid "" "The service is available under the terms of the GNU Affero General Public " -"License as published by the Free Software Foundation, either version " -"3 of the License, or (at your option) any later version. You can GNU Affero General Public" +" License as published by the Free Software Foundation, either version" +" 3 of the License, or (at your option) any later version. You can browse the" " source code or clone it from %(cloneurl)s using Transifex." msgstr "" "Dieser Dienst wird unter den Bedingungen der GNU Affero General Public " +"href=\"http://www.gnu.org/licenses/agpl.html\">GNU Affero General Public " "License, so wie sie von der Free Software Foundation veröffentlicht " "ist, bereitgestellt. Sie können entweder Version 3 oder (auf Ihren Wunsch" " hin) jede spätere Version der Lizenz verwenden. Sie können sich Transifex dazu beitragen." -#: debianmemberportfolio/templates/base.mako:44 -msgid "Copyright © 2009-2014 Jan Dittberner" -msgstr "Copyright © 2009-2014 Jan Dittberner" +#: debianmemberportfolio/templates/base.html:41 +msgid "Copyright © 2009-2015 Jan Dittberner" +msgstr "Copyright © 2009-2015 Jan Dittberner" -#: debianmemberportfolio/templates/showform.mako:24 +#: debianmemberportfolio/templates/showform.html:22 msgid "Enter your personal information" msgstr "Eingabe der persönlichen Informationen" -#: debianmemberportfolio/templates/showform.mako:30 -#: debianmemberportfolio/templates/showurls.mako:27 +#: debianmemberportfolio/templates/showform.html:29 msgid "Debian Member Portfolio" -msgstr "Debian-Mitgliederportfolio" +msgstr "Debian-Mitglieder-Portfolioservice" -#: debianmemberportfolio/templates/showform.mako:36 +#: debianmemberportfolio/templates/showform.html:31 msgid "Email address:" msgstr "E-Mailadresse:" -#: debianmemberportfolio/templates/showform.mako:47 +#: debianmemberportfolio/templates/showform.html:40 msgid "Show all form fields" msgstr "Alle Formularfelder anzeigen" -#: debianmemberportfolio/templates/showform.mako:54 +#: debianmemberportfolio/templates/showform.html:43 msgid "Name:" msgstr "Name:" -#: debianmemberportfolio/templates/showform.mako:64 +#: debianmemberportfolio/templates/showform.html:50 msgid "GPG fingerprint:" msgstr "GPG-Fingerabdruck:" -#: debianmemberportfolio/templates/showform.mako:79 +#: debianmemberportfolio/templates/showform.html:57 msgid "Debian user name:" msgstr "Debian-Benutzername:" -#: debianmemberportfolio/templates/showform.mako:94 +#: debianmemberportfolio/templates/showform.html:64 msgid "Non Debian email address:" msgstr "Nicht-Debian-E-Mailadresse" -#: debianmemberportfolio/templates/showform.mako:109 +#: debianmemberportfolio/templates/showform.html:71 msgid "Alioth user name:" msgstr "Alioth-Benutzername:" -#: debianmemberportfolio/templates/showform.mako:125 +#: debianmemberportfolio/templates/showform.html:78 msgid "Wiki user name:" msgstr "Wiki-Benutzername:" -#: debianmemberportfolio/templates/showform.mako:140 +#: debianmemberportfolio/templates/showform.html:85 msgid "Forum user id:" msgstr "Forumsbenutzernummer:" -#: debianmemberportfolio/templates/showform.mako:151 +#: debianmemberportfolio/templates/showform.html:92 msgid "Output format:" msgstr "Ausgabeformat:" -#: debianmemberportfolio/templates/showform.mako:157 -msgid "HTML" -msgstr "HTML" - -#: debianmemberportfolio/templates/showform.mako:159 -msgid "JSON" -msgstr "JSON" - -#: debianmemberportfolio/templates/showform.mako:161 +#: debianmemberportfolio/templates/showform.html:99 msgid "Build Debian Member Portfolio URLs" msgstr "Debian-Mitgliedsportfolio-URLs bauen" -#: debianmemberportfolio/templates/showurls.mako:23 +#: debianmemberportfolio/templates/showurls.html:21 msgid "Your personal links" msgstr "Ihre personalisierten Links" -#: debianmemberportfolio/templates/showurls.mako:30 +#: debianmemberportfolio/templates/showurls.html:25 +msgid "Debian Member Porfolio" +msgstr "Debian-Mitgliederportfolio" + +#: debianmemberportfolio/templates/showurls.html:28 msgid "Usage" msgstr "Verwendung" -#: debianmemberportfolio/templates/showurls.mako:30 +#: debianmemberportfolio/templates/showurls.html:28 msgid "URL" msgstr "URL" -#: debianmemberportfolio/templates/showurls.mako:40 +#: debianmemberportfolio/templates/showurls.html:38 msgid "Error during URL creation:" msgstr "Fehler bei der URL-Erzeugung:" -#: debianmemberportfolio/templates/showurls.mako:67 +#: debianmemberportfolio/templates/showurls.html:59 msgid "Restart" msgstr "Neu beginnen" +#~ msgid "Debian Logo" +#~ msgstr "Debian-Logo" + +#~ msgid "" +#~ msgstr "" + +#~ msgid "AGPL - Free Software" +#~ msgstr "AGPL - Freie Software" + +#~ msgid "Copyright © 2009-2014 Jan Dittberner" +#~ msgstr "Copyright © 2009-2014 Jan Dittberner" + +#~ msgid "Debian Member Portfolio" +#~ msgstr "Debian-Mitgliederportfolio" + +#~ msgid "Email address:" +#~ msgstr "E-Mailadresse:" + +#~ msgid "Show all form fields" +#~ msgstr "Alle Formularfelder anzeigen" + +#~ msgid "Name:" +#~ msgstr "Name:" + +#~ msgid "GPG fingerprint:" +#~ msgstr "GPG-Fingerabdruck:" + +#~ msgid "Debian user name:" +#~ msgstr "Debian-Benutzername:" + +#~ msgid "Non Debian email address:" +#~ msgstr "Nicht-Debian-E-Mailadresse" + +#~ msgid "Alioth user name:" +#~ msgstr "Alioth-Benutzername:" + +#~ msgid "Wiki user name:" +#~ msgstr "Wiki-Benutzername:" + +#~ msgid "Forum user id:" +#~ msgstr "Forumsbenutzernummer:" + +#~ msgid "Output format:" +#~ msgstr "Ausgabeformat:" + +#~ msgid "HTML" +#~ msgstr "HTML" + +#~ msgid "JSON" +#~ msgstr "JSON" + +#~ msgid "Build Debian Member Portfolio URLs" +#~ msgstr "Debian-Mitgliedsportfolio-URLs bauen" + +#~ msgid "Your personal links" +#~ msgstr "Ihre personalisierten Links" + +#~ msgid "Usage" +#~ msgstr "Verwendung" + +#~ msgid "URL" +#~ msgstr "URL" + +#~ msgid "Error during URL creation:" +#~ msgstr "Fehler bei der URL-Erzeugung:" + +#~ msgid "Restart" +#~ msgstr "Neu beginnen" + From 8dc19247de1d69423ec1804b2297334393733cf7 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Thu, 31 Dec 2015 18:11:03 +0100 Subject: [PATCH 038/210] Add ribbon logo - R.I.P. Ian --- .../public/images/openlogo-ribbon-100.png | Bin 0 -> 6010 bytes debianmemberportfolio/templates/base.mako | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 debianmemberportfolio/public/images/openlogo-ribbon-100.png diff --git a/debianmemberportfolio/public/images/openlogo-ribbon-100.png b/debianmemberportfolio/public/images/openlogo-ribbon-100.png new file mode 100644 index 0000000000000000000000000000000000000000..1f0f8da7aac9263c347cc06d2f9e3423c9de5e48 GIT binary patch literal 6010 zcmV-=7lr7FP)FP!Xq&VB700+Qe7lMmc|)>&(vv(A34z4qFQqYMif+jSPN?y9EfG>tPPf~ucM z&0t`mf;&C)=ItpFbe^S{ zUjYAUt*j-EXoDKuQv|?<5Bcg^>Q!>;=&jZd$MY|uD+u6t__F2h1g+ji|KspmLFRcJ> zad3B)vic1xAz7eJ4N^tXNC=GueIHPeiavto9yU?OZY#Mx$>aMBq9=jlfW5$nz~c@b zzEjG}`>h0KfHpHo6~*5G?uEop)DIf?37dI^1}nK;2{VU*oRr%BajXYbUPeuwmEbht z91bB~R5LA9Me+T>eWYm&fQQ*)ZHzFg@p?{u?j#B_`QnFwerYi!ms$x=6Nl9xk8?&B z&4$N;8#1}CimmR`d}J%WDT2P_4&FL1LO~zktH9ghW7{& zdIlJs$$d-sVD0btV3?)&C{PCc)>~N3nfWexUjya>ozr2Y;hW{u-fO8(AP$Q`7BT90 zhv*-Hk~GMpz+#PB`hDI!eLZ`BfL%@2z}3KmK?GHd7zC;UI4ez-SC&z?z(S`$w7Nm6 znHF-{@MqE((gK?`Zdp02Uj@zwmI3*eD%=X(or*|mOa3FEr>DWQNyF#Lsa;{ITLN0W z4~epI2I(2&6NS1tW{k1GQtXZKGtw{yKq>W2|Da}uO3%5N@4%wR7}L{Ey+pLCL8>Sj zq0kSdAlt3rUWF=EIL`vZfTw^?mf{zZ;oxBoxTVxy4?L8LR>O(SH2pF=)q>HgP1a(H zmudL7B*K5IP}h}G6CXmI0=yLa*9OagFG6-+$N7xP>qc}LFeMeOLY+UInrE|-9@FbIYmyo2M)vnIDX_RACeF zIp7mZJ_j*_+CLH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