diff options
author | Rene Ladan <rene@FreeBSD.org> | 2020-02-22 19:08:35 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2020-02-22 19:08:35 +0000 |
commit | d8fa717c4c841a445c7863481c033e16dcf6ce62 (patch) | |
tree | 84d2d2393ec3a2b1e2de1d239eb7f3669b825f28 /www/trac-gantt/files/patch-tracgantt-gantt.py | |
parent | science/mbdyn: use math/metis instead of expired math/metis4 for METIS option (diff) |
Remove expired ports, all Python-2.7-only:
2020-02-17 audio/decibel-audio-player: Old, uses EOLed python27
2020-02-17 audio/soundconverter: Old, uses EOLed python27
2020-02-19 cad/linuxcnc-devel: Broken, uses EOLed python27
2020-02-19 databases/monetdb: Broken, uses EOLed python27
2020-02-19 databases/py-cql: Broken, uses EOLed python27
2020-02-18 databases/zodb3: Old, uses EOLed python27
2020-02-17 deskutils/gourmet: Old, uses EOLed python27
2020-02-18 devel/py-Products.PlacelessTranslationService: Old, uses EOLed python27
2020-02-18 devel/py-Products.ZopeVersionControl: Old, uses EOLed python27
2020-02-18 devel/py-Products.statusmessages: Old, uses EOLed python27
2020-02-18 devel/py-collective.z3cform.datetimewidget: Old, uses EOLed python27
2020-02-20 devel/py-five.formlib: Old, uses EOLed python27
2020-02-18 devel/py-five.localsitemanager: Old, uses EOLed python27
2020-02-19 devel/py-notifier: Broken, uses EOLed python27
2020-02-18 devel/py-tempstorage: Old, uses EOLed python27
2020-02-19 devel/py-testgears: Broken, uses EOLed python27
2020-02-20 devel/py-z3c.caching: Old, uses EOLed python27
2020-02-18 devel/py-z3c.form: Old, uses EOLed python27
2020-02-18 devel/py-z3c.formwidget.query: Old, uses EOLed python27
2020-02-18 devel/py-zope.annotation: Old, uses EOLed python27
2020-02-18 devel/py-zope.app.applicationcontrol: Old, uses EOLed python27
2020-02-18 devel/py-zope.app.appsetup: Old, uses EOLed python27
2020-02-18 devel/py-zope.app.broken: Old, uses EOLed python27
2020-02-18 devel/py-zope.app.cache: Old, uses EOLed python27
2020-02-18 devel/py-zope.app.component: Old, uses EOLed python27
2020-02-18 devel/py-zope.app.container: Old, uses EOLed python27
2020-02-20 devel/py-zope.app.content: Old, uses EOLed python27
2020-02-18 devel/py-zope.app.debug: Old, uses EOLed python27
2020-02-18 devel/py-zope.app.dependable: Old, uses EOLed python27
2020-02-18 devel/py-zope.app.error: Old, uses EOLed python27
2020-02-20 devel/py-zope.app.exception: Old, uses EOLed python27
2020-02-18 devel/py-zope.app.file: Old, uses EOLed python27
2020-02-18 devel/py-zope.app.folder: Old, uses EOLed python27
2020-02-20 devel/py-zope.app.form: Old, uses EOLed python27
2020-02-18 devel/py-zope.app.generations: Old, uses EOLed python27
2020-02-18 devel/py-zope.app.http: Old, uses EOLed python27
2020-02-20 devel/py-zope.app.pagetemplate: Old, uses EOLed python27
2020-02-18 devel/py-zope.app.publication: Old, uses EOLed python27
2020-02-20 devel/py-zope.app.publisher: Old, uses EOLed python27
2020-02-18 devel/py-zope.app.rotterdam: Old, uses EOLed python27
2020-02-18 devel/py-zope.app.testing: Old, uses EOLed python27
2020-02-18 devel/py-zope.app.zcmlfiles: Old, uses EOLed python27
2020-02-18 devel/py-zope.app.zopeappgenerations: Old, uses EOLed python27
2020-02-20 devel/py-zope.applicationcontrol: Old, uses EOLed python27
2020-02-20 devel/py-zope.browsermenu: Old, uses EOLed python27
2020-02-20 devel/py-zope.browserpage: Old, uses EOLed python27
2020-02-20 devel/py-zope.componentvocabulary: Old, uses EOLed python27
2020-02-18 devel/py-zope.container: Old, uses EOLed python27
2020-02-18 devel/py-zope.copypastemove: Old, uses EOLed python27
2020-02-20 devel/py-zope.dublincore: Old, uses EOLed python27
2020-02-18 devel/py-zope.error: Old, uses EOLed python27
2020-02-20 devel/py-zope.formlib: Old, uses EOLed python27
2020-02-18 devel/py-zope.minmax: Old, uses EOLed python27
2020-02-20 devel/py-zope.pagetemplate: Old, uses EOLed python27
2020-02-20 devel/py-zope.ptresource: Old, uses EOLed python27
2020-02-18 devel/py-zope.ramcache: Old, uses EOLed python27
2020-02-18 devel/py-zope.site: Old, uses EOLed python27
2020-02-20 devel/py-zope.viewlet: Old, uses EOLed python27
2020-02-19 games/gcompris: Broken, uses EOLed python27
2020-02-19 graphics/commons-utilities: Broken, uses EOLed python27
2020-02-19 graphics/py-chart: Broken, uses EOLed python27
2020-02-19 japanese/tegaki-recognize: Broken, uses EOLed python27
2020-02-20 mail/py-zope.sendmail: Old, uses EOLed python27
2020-02-19 mail/pysieved: Broken, uses EOLed python27
2020-02-19 math/ogdf: Broken, uses EOLed python27
2020-02-19 math/py-viper: Broken, uses EOLed python27
2020-02-19 misc/fbless: Broken, uses EOLed python27
2020-02-19 misc/pylize: Broken, uses EOLed python27
2020-02-19 net/py-ldaptor: Broken, uses EOLed python27
2020-02-19 net/tucan: Broken, uses EOLed python27
2020-02-19 news/hellanzb: Broken, uses EOLed python27
2020-02-19 science/coot: Broken, uses EOLed python27
2020-02-19 science/py-ScientificPython: Broken, uses EOLed python27
2020-02-19 security/py-cryptlib_py: Broken, uses EOLed python27
2020-02-18 security/py-zope.app.authentication: Old, uses EOLed python27
2020-02-18 security/py-zope.app.localpermission: Old, uses EOLed python27
2020-02-18 security/py-zope.app.principalannotation: Old, uses EOLed python27
2020-02-18 security/py-zope.app.security: Old, uses EOLed python27
2020-02-18 security/py-zope.app.securitypolicy: Old, uses EOLed python27
2020-02-20 security/py-zope.authentication: Old, uses EOLed python27
2020-02-20 security/py-zope.login: Old, uses EOLed python27
2020-02-18 security/py-zope.pluggableauth: Old, uses EOLed python27
2020-02-18 security/py-zope.principalannotation: Old, uses EOLed python27
2020-02-20 security/py-zope.principalregistry: Old, uses EOLed python27
2020-02-20 security/py-zope.security: Old, uses EOLed python27
2020-02-18 security/py-zope.securitypolicy: Old, uses EOLed python27
2020-02-18 security/py-zope.session: Old, uses EOLed python27
2020-02-17 sysutils/gnome-schedule: Old, uses EOLed python27
2020-02-19 sysutils/py-XenAPI: Broken, uses EOLed python27
2020-02-19 sysutils/py-freenas.cli: Broken, uses EOLed python27
2020-02-19 textproc/ecromedos: Broken, uses EOLed python27
2020-02-18 textproc/py-wicked: Old, uses EOLed python27
2020-02-18 textproc/py-zope.app.i18n: Old, uses EOLed python27
2020-02-19 www/planet: Broken, uses EOLed python27
2020-02-18 www/py-zope.app.wsgi: Old, uses EOLed python27
2020-02-19 www/trac-attachmentpolicy: Broken, uses EOLed python27
2020-02-19 www/trac-bzr: Broken, uses EOLed python27
2020-02-19 www/trac-childtickets: Broken, uses EOLed python27
2020-02-19 www/trac-gantt: Broken, uses EOLed python27
2020-02-19 www/trac-tracdragdrop: Broken, uses EOLed python27
2020-02-19 www/trac-watchlist: Broken, uses EOLed python27
2020-02-19 www/twill: Broken, uses EOLed python27
2020-02-19 x11/wbarconf: Broken, uses EOLed python27
2020-02-19 x11-wm/simple-ccsm: Broken, uses EOLed python27
Diffstat (limited to 'www/trac-gantt/files/patch-tracgantt-gantt.py')
-rw-r--r-- | www/trac-gantt/files/patch-tracgantt-gantt.py | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/www/trac-gantt/files/patch-tracgantt-gantt.py b/www/trac-gantt/files/patch-tracgantt-gantt.py deleted file mode 100644 index 10e1575b86e7..000000000000 --- a/www/trac-gantt/files/patch-tracgantt-gantt.py +++ /dev/null @@ -1,49 +0,0 @@ ---- tracgantt/gantt.py.orig 2006-07-20 17:07:06 UTC -+++ tracgantt/gantt.py -@@ -115,7 +115,7 @@ class GanttComponent(Component): - show_opened = self.env.config.getbool('gantt-charts', - 'show_opened', 'false') - -- tickets,dates,broken = self._tickets_for_report(db, report['query']) -+ tickets,dates,broken = self._tickets_for_report(db, report['query'], req.perm.username) - tickets,dates = self._paginate_tickets(tickets, dates) - - req.hdf['gantt.tickets'] = tickets -@@ -163,7 +163,7 @@ class GanttComponent(Component): - - return {'id':id, 'title':title, 'query':query, 'description':description} - -- def _tickets_for_report(self, db, query): -+ def _tickets_for_report(self, db, query, username): - """ Get a list of Ticket instances for the tickets in a report """ - - tickets = [] -@@ -172,7 +172,7 @@ class GanttComponent(Component): - - ## Get tickets for this report - cursor = db.cursor() -- cursor.execute(query) -+ cursor.execute(query.replace('$USER', "'%s'" % username)) - info = cursor.fetchall() or [] - cols = [s[0] for s in cursor.description or []] - db.rollback() -@@ -344,7 +344,7 @@ class GanttComponent(Component): - "use_creation_date", "true") - - if use_cdate: -- start = datetime.date.fromtimestamp(ticket.time_created) -+ start = datetime.date.fromordinal(ticket.time_created.toordinal()) - else: - raise ValueError, "Couldn't get start date" - -@@ -370,8 +370,8 @@ class GanttComponent(Component): - % (str(ticket.id), str(start), str(due)) - - # Finally the ticket itself's open and close dates -- open = datetime.date.fromtimestamp(ticket.time_created) -- changed = datetime.date.fromtimestamp(ticket.time_changed) -+ open = ticket.time_created.date() -+ changed = ticket.time_changed.date() - - return (start, due, open, changed) - |