Daniel Gustafsson [Tue, 20 Jun 2017 06:52:13 +0000 (08:52 +0200)]
Fix incorrect markup
Daniel Gustafsson [Tue, 20 Jun 2017 06:50:23 +0000 (08:50 +0200)]
Properly close <form> tag.
Magnus Hagander [Sat, 11 Mar 2017 18:33:08 +0000 (13:33 -0500)]
Fix header encoding for To and Cc as well
Patch in
2e41b31654b80aeb3e6037fc0b31422c951040c7 only handled From and
missed the ohher tields. To make this cleaner, move the escpaping code
into the UserWrapper class.
Reported by Dagfinn Ilmari Mannsåker, but not using his patch
Magnus Hagander [Thu, 9 Mar 2017 21:15:26 +0000 (16:15 -0500)]
Make http links to the main website be https
Magnus Hagander [Tue, 28 Feb 2017 12:43:08 +0000 (13:43 +0100)]
Properly handle UTF8 in sender names in emails
We need to treat them as structured and escape only the name, not the
email part.
Reported by Dagfinn Ilmari Mannsåker
Magnus Hagander [Mon, 16 Jan 2017 09:20:20 +0000 (10:20 +0100)]
Fix incorrect parameter name
This changed back when we upgraded django, but this error path is
clearly very seldomly hit.
Magnus Hagander [Sat, 7 Jan 2017 13:19:01 +0000 (14:19 +0100)]
Fully qualify parameters to HTTPConnection/HTTPSConnection
They go in different orders in the two, so fully specify them to make it
super clear.
Magnus Hagander [Sat, 7 Jan 2017 13:09:23 +0000 (14:09 +0100)]
Attempt to support https in calls to archives
Peter van Hardenberg [Fri, 16 Dec 2016 09:20:56 +0000 (09:20 +0000)]
Add a README describing basic setup etc.
Magnus Hagander [Fri, 2 Dec 2016 08:00:21 +0000 (17:00 +0900)]
Fix django version in requirements.txt
Magnus Hagander [Wed, 6 Apr 2016 15:45:27 +0000 (17:45 +0200)]
CC authors of patches on comments and reviews
This adds the Cc field when using the Review or the Comment function on
the website, and will add a list of all listed authors of the patch to
this. Should help people highlight it in their inboxes.
Suggested by José Luis Tallón
Magnus Hagander [Thu, 10 Mar 2016 13:23:28 +0000 (14:23 +0100)]
And from the main editing form. Oops.
Magnus Hagander [Thu, 10 Mar 2016 13:22:19 +0000 (14:22 +0100)]
Subscribers should be excluded from new patches form
Magnus Hagander [Wed, 2 Mar 2016 13:39:17 +0000 (14:39 +0100)]
Maintain patch status when moving to next CF
So a patch that's in "ready for committer" status remains there.
When doing this, also refuse to move any patches that are not either
"waiting for review" or "ready for committer". They will have to have
their existing status changed first, and then be moved.
Magnus Hagander [Sat, 27 Feb 2016 14:21:02 +0000 (09:21 -0500)]
Don't crash on subscribers without a profile
Magnus Hagander [Mon, 15 Feb 2016 09:38:31 +0000 (10:38 +0100)]
Don't crash with committers without user profiles
Userprofiles aren't set for everbody, so catch a missing exception and
just ignore it since we know a user without a profile didn't specifically
ask to get notified (as that's stored in the profile).
Magnus Hagander [Sat, 13 Feb 2016 11:59:16 +0000 (12:59 +0100)]
Add simple updating script
Intended to be run manually, but to make life easier at least.
Magnus Hagander [Fri, 12 Feb 2016 17:03:26 +0000 (18:03 +0100)]
Implement notifications
This makes it possible to receive notifications (via email) when a patch
has been updated.
It's possible to subscribe to notifications on a specific patch. It is also
possible to set the user profile up so that one receives notifications for
all patches where one is author, reviewer or committer on.
Notifications are, of course, only sent when other people make modifications
to the entry.
Magnus Hagander [Fri, 12 Feb 2016 15:58:45 +0000 (16:58 +0100)]
Admin view for user profiles
Magnus Hagander [Fri, 12 Feb 2016 14:44:05 +0000 (15:44 +0100)]
Add initial django migrations for all apps
Should've been done with the migration to django 1.8, but better late
than never...
Magnus Hagander [Fri, 12 Feb 2016 14:41:50 +0000 (15:41 +0100)]
Show if a committer is active in the admin view
Magnus Hagander [Fri, 12 Feb 2016 14:40:39 +0000 (15:40 +0100)]
Use OneToOne field instead of unique foreign key
Newer djangos give warnings about this...
Magnus Hagander [Tue, 9 Feb 2016 12:59:50 +0000 (13:59 +0100)]
Add button for New Patch to top of page
Per request during Brussels developer meeting
Magnus Hagander [Tue, 2 Feb 2016 15:45:27 +0000 (16:45 +0100)]
Link status entries to the patch in the individual commitfest
As requested by Jim Nasby and Alvaro Herrera
Magnus Hagander [Wed, 20 Jan 2016 21:26:47 +0000 (22:26 +0100)]
Properly show login info on report page
Magnus Hagander [Wed, 20 Jan 2016 21:23:15 +0000 (22:23 +0100)]
Add report showing author/reviewer stats
Grouped by each contriubtor, show which patches this person is the
author and reviewer of, to compare how many of each people have.
Magnus Hagander [Wed, 6 Jan 2016 16:35:31 +0000 (17:35 +0100)]
Fully qualify more imports
Magnus Hagander [Wed, 6 Jan 2016 16:35:23 +0000 (17:35 +0100)]
New way for django standalone scripts
Magnus Hagander [Wed, 6 Jan 2016 16:17:23 +0000 (17:17 +0100)]
Add a symlink that seems to now be required
Magnus Hagander [Wed, 6 Jan 2016 15:35:50 +0000 (16:35 +0100)]
Properly require login for lookup
Magnus Hagander [Wed, 6 Jan 2016 15:34:50 +0000 (16:34 +0100)]
Replace on_success_commit with atomic
Magnus Hagander [Wed, 6 Jan 2016 15:34:31 +0000 (16:34 +0100)]
Fix default url import namespace
Magnus Hagander [Wed, 6 Jan 2016 15:34:21 +0000 (16:34 +0100)]
Update default settings as required in 1.8
Magnus Hagander [Wed, 6 Jan 2016 15:33:45 +0000 (16:33 +0100)]
Fix import that has always been correct
Somehow this worked on 1.4, probably by accident
Magnus Hagander [Wed, 6 Jan 2016 15:33:27 +0000 (16:33 +0100)]
Fully qualify imports
Magnus Hagander [Wed, 6 Jan 2016 15:31:49 +0000 (16:31 +0100)]
Switch simplejson to json
Avoids one import...
T#
Magnus Hagander [Wed, 6 Jan 2016 15:28:25 +0000 (16:28 +0100)]
Move around manage.py and create wsgi.py for django 1.8
Magnus Hagander [Wed, 6 Jan 2016 15:27:59 +0000 (16:27 +0100)]
Import a new version of django-selectable
Needed for django 1.8
Magnus Hagander [Sun, 3 Jan 2016 10:04:14 +0000 (11:04 +0100)]
Fix incorrect closing tag
Noted by Erik Rijkers
Oleksandr Shulgin [Mon, 28 Dec 2015 11:20:13 +0000 (12:20 +0100)]
Fix colspan in patches table lists
Account for the Committer column added in
8495806.
Magnus Hagander [Sat, 3 Oct 2015 16:40:22 +0000 (18:40 +0200)]
Put the correct color on labels in patch viewing
Pointed out by Andres that the original patch only did the CF
listing, and not the actual patch viewing.
Magnus Hagander [Wed, 2 Sep 2015 11:19:48 +0000 (13:19 +0200)]
Show the start and end date of commitfests
Per request
Magnus Hagander [Mon, 31 Aug 2015 14:44:57 +0000 (16:44 +0200)]
Don't crash on redirect when multiple CFs are inprogress or open
This is an incorrect state, but we shouldn't crash anyway. Instead show
an error message and redirect to the root page.
Reported by Bruce Momjian
Magnus Hagander [Thu, 27 Aug 2015 07:53:38 +0000 (09:53 +0200)]
Don't raise exceptions for "normal errors"
Exceptions will not show the actual error message on the site, only
send an email to the admins with it. Thus, anything that can normally
happen due to a user error should not use that. Instead of that, use
the messages framework so it renders on the next page.
Magnus Hagander [Fri, 14 Aug 2015 10:34:51 +0000 (12:34 +0200)]
Remove accidental debugging code
Magnus Hagander [Fri, 14 Aug 2015 10:34:39 +0000 (12:34 +0200)]
Ensure duplicate patches aren't created when an invalid msgid is entered
Magnus Hagander [Tue, 28 Apr 2015 16:05:46 +0000 (18:05 +0200)]
Rename "returned with feedback"->"move to next cf", add new "returned with feedback"
Returned with Feedback will now actually close the patch and *not* move it to
the next CF. Since it used to do that, all existing Returned with Feedback patches
are changed to Moved to next CF which does the same thing that Returned with
Feedback used to do. And of course, Moved to next CF is a new option available for
each patch from now on.
Magnus Hagander [Tue, 21 Apr 2015 12:46:02 +0000 (14:46 +0200)]
Return proper errorcodes from auth plugin
Instead of raising an exception which will cause both a server log
and an email to be sent, return a proper http 400 message when the
incoming authentication request is bad. This will also show the
proper error message to the client, instead of a generic internal
server error.
Magnus Hagander [Tue, 17 Mar 2015 18:13:01 +0000 (19:13 +0100)]
Allow changing status of closed patches in last CF
Without this, once a patch was closed (rejected/committed etc),
it was no longer possible to undo that and reopen it.
We now allow this to be done in the very last commitfest a patch
is on. We cannot change it on a previous commitfest, as that could
end up with the patch being open in two CFs at the same time, but
there is no reason it shouldn't be doable in the last one.
Magnus Hagander [Sat, 14 Mar 2015 12:57:02 +0000 (13:57 +0100)]
Give proper error message for too long annotations
Tomas Vondra [Sat, 21 Feb 2015 18:05:45 +0000 (13:05 -0500)]
Use different types of labels for different patch statuses
This highlights the different statuses better in a long list.
Magnus Hagander [Sun, 15 Feb 2015 11:23:51 +0000 (12:23 +0100)]
Add the ability to copy/paste a msgid when creating an annotation
Magnus Hagander [Sat, 14 Feb 2015 12:07:48 +0000 (13:07 +0100)]
Implement simple message annotations
This feature makes it possible to "pull in" a message in a thread and highlight
it with an annotation (free text format). This will list the message in a table
along with the annotation and who made it.
Annotations have to be attached to a specific message - for a "generic" one it
makes sense to attach it to the latest message available, as that will put it
at the correct place in time.
Magnus Hagander [Sat, 14 Feb 2015 11:52:53 +0000 (12:52 +0100)]
Show full name in patch history, not just username
Noted by Stefan - we did this for everything except the patch history, so
let's make it consistent.
Magnus Hagander [Wed, 11 Feb 2015 19:17:28 +0000 (20:17 +0100)]
Hopefully fix RSS feeds for items with non-ascii
Magnus Hagander [Sun, 8 Feb 2015 15:54:12 +0000 (16:54 +0100)]
Collect and show attachment filenames
Magnus Hagander [Sat, 7 Feb 2015 12:31:59 +0000 (13:31 +0100)]
Add status summary to top of each commitfest list
Quick overview of how many patches are in each status, as exist on
the old app.
Magnus Hagander [Fri, 6 Feb 2015 12:11:29 +0000 (13:11 +0100)]
Don't show "Latest email None ( ago)" for patches without email
Reported by Stefan
Magnus Hagander [Fri, 6 Feb 2015 12:05:35 +0000 (13:05 +0100)]
Show full email address of pgsql-hackers
Suggested by Stefan K
Magnus Hagander [Fri, 6 Feb 2015 11:13:22 +0000 (12:13 +0100)]
Stop using "added self" in history entries
Instead include the actual username. Makes it easier to work with in
the history views, and is also probably more proper english.
Magnus Hagander [Wed, 4 Feb 2015 20:08:32 +0000 (21:08 +0100)]
Show a message when a thread is re-added to the same message
Magnus Hagander [Wed, 4 Feb 2015 20:01:17 +0000 (21:01 +0100)]
Fix attaching of threads whe not logged in
This needs to redirect to the login page and back, so the user is
actually logged in when attaching. This was only partially ipmlemented
before, it turns out.
Magnus Hagander [Wed, 4 Feb 2015 17:35:27 +0000 (18:35 +0100)]
Fix sending of comment/review emails
Without using .as_string() on a message, the default is to generate
a string including the envelope header used in a unix mbox. This would
of course generate completely broken messages when passed to smtp.
Magnus Hagander [Wed, 4 Feb 2015 16:40:01 +0000 (17:40 +0100)]
Log to stdout instead of stderr
This plays nicer with our cronjob outputs
Magnus Hagander [Wed, 4 Feb 2015 16:06:25 +0000 (17:06 +0100)]
Use proper logging from cronjobs
This makes it reasonable to redirect it to a file (it now has timestamps),
and also adds the -debug parameter to get more logging when actually
testing something out
Magnus Hagander [Thu, 22 Jan 2015 14:13:16 +0000 (15:13 +0100)]
Centralize stylesheets
Instead of having inline stylesheets, put them all in a separate CSS
file. This really should've been done from the beginning, but was
clearly forgotten before deployment.
Magnus Hagander [Thu, 22 Jan 2015 14:06:32 +0000 (15:06 +0100)]
Fix email address in comment
Magnus Hagander [Thu, 22 Jan 2015 14:04:09 +0000 (15:04 +0100)]
Implement support for secondary email addresses
Each user can add a secondary email (well, more than one) and then pick
one of those when sending email.
Addresses are validated by sending a token to the newly added address,
with a link to click to confirm it. Only a fully confirmed address can
actually be used.
Magnus Hagander [Tue, 20 Jan 2015 21:49:30 +0000 (22:49 +0100)]
Add activity log and RSS feeds
This somehow got dropped from the old site in a feature branch that
was never merged...
Magnus Hagander [Tue, 20 Jan 2015 21:41:57 +0000 (22:41 +0100)]
Disable sites framework as we don't use it
It also breaks the RSS feeds
Magnus Hagander [Mon, 19 Jan 2015 21:36:07 +0000 (22:36 +0100)]
Add a 404 template
Magnus Hagander [Mon, 19 Jan 2015 21:22:56 +0000 (22:22 +0100)]
Fix sorting of users (committers, authors and reviewers)
Magnus Hagander [Mon, 19 Jan 2015 21:11:31 +0000 (22:11 +0100)]
Add commitfest redirects for /open and /inprogress
Requested by Robert Haas
Magnus Hagander [Mon, 19 Jan 2015 21:02:58 +0000 (22:02 +0100)]
Add the tool to send email
Forgot to git add that one, it seems..
Magnus Hagander [Mon, 19 Jan 2015 20:52:59 +0000 (21:52 +0100)]
Fix field accessor for author names in search results
Magnus Hagander [Mon, 19 Jan 2015 20:49:48 +0000 (21:49 +0100)]
Remove useless debugging output
Magnus Hagander [Mon, 19 Jan 2015 20:49:39 +0000 (21:49 +0100)]
Add missing continue
Magnus Hagander [Sun, 11 Jan 2015 21:05:17 +0000 (13:05 -0800)]
Properly log diffs in foreign keys
Instead of saying "topic changed to 2", say "topic changed to
<actual topic>"
Magnus Hagander [Sun, 4 Jan 2015 16:32:07 +0000 (17:32 +0100)]
Change installcheck -> installcheck-world, per Michael
Magnus Hagander [Sat, 3 Jan 2015 12:30:12 +0000 (13:30 +0100)]
Typo fix, per Michael
Magnus Hagander [Sat, 19 Jul 2014 13:04:53 +0000 (15:04 +0200)]
Add functionality to import upstream users
Magnus Hagander [Sat, 19 Jul 2014 13:04:27 +0000 (15:04 +0200)]
Add support for (encrypted) search of upstream users
Magnus Hagander [Tue, 15 Jul 2014 19:07:34 +0000 (21:07 +0200)]
Let's try again, seems lighttpd behaves differently from manage.py
Magnus Hagander [Tue, 15 Jul 2014 18:56:34 +0000 (20:56 +0200)]
Don't require attachments to attach a mail thread to an existing patch
We still require attachments to create a new patch, but it should be
possible to attach a pure discussion thread to an existing patch.
Magnus Hagander [Tue, 15 Jul 2014 10:58:31 +0000 (12:58 +0200)]
Fix send button on cf admin emails
Magnus Hagander [Tue, 15 Jul 2014 10:57:17 +0000 (12:57 +0200)]
Include name of cf username causing emails to be sent in the headers
Magnus Hagander [Tue, 15 Jul 2014 10:42:24 +0000 (12:42 +0200)]
Add script to regularly update mail threads from the archives
Magnus Hagander [Tue, 15 Jul 2014 10:40:32 +0000 (12:40 +0200)]
Include latest email sent time in the patch overview
Magnus Hagander [Tue, 15 Jul 2014 10:38:26 +0000 (12:38 +0200)]
Properly update last email when attaching an existing thread
Magnus Hagander [Tue, 15 Jul 2014 10:35:08 +0000 (12:35 +0200)]
Properly close database connection to avoid logspam
Magnus Hagander [Tue, 15 Jul 2014 10:18:52 +0000 (12:18 +0200)]
Fix typo. Clearly not tested..
Magnus Hagander [Tue, 15 Jul 2014 10:05:47 +0000 (12:05 +0200)]
Clear the patch filter when hidden, if it contained anything
Magnus Hagander [Tue, 15 Jul 2014 09:50:10 +0000 (11:50 +0200)]
Add proper support for committing patches
This will prompt for who was the committer, and default to either the user
listed as a committer if there is one, or to the current user if the current
user happens to be a committer.
Magnus Hagander [Tue, 15 Jul 2014 09:09:08 +0000 (11:09 +0200)]
Unify open and close status under one button
Instead we use subheaders to show the difference between statuses
that keep the patch open, and statuses that close it.
Magnus Hagander [Mon, 14 Jul 2014 17:13:12 +0000 (19:13 +0200)]
Properly normalize table of mailinglist threads
Magnus Hagander [Mon, 14 Jul 2014 16:32:38 +0000 (18:32 +0200)]
Remove accidental debugging statement
Magnus Hagander [Mon, 14 Jul 2014 16:13:41 +0000 (18:13 +0200)]
Add a favicon
Magnus Hagander [Mon, 14 Jul 2014 16:11:17 +0000 (18:11 +0200)]
Add ability to do global searches
Magnus Hagander [Mon, 14 Jul 2014 15:30:54 +0000 (17:30 +0200)]
Change title of view patch page to actually be name of patch
Magnus Hagander [Sat, 24 May 2014 16:41:14 +0000 (12:41 -0400)]
Add committer to main table, per req from Simon