summaryrefslogtreecommitdiff
path: root/pgcommitfest
AgeCommit message (Collapse)Author
2019-02-06Import latest, py3 compatible, auth.pyMagnus Hagander
2019-02-06Fix imports and exceptions for Python3Magnus Hagander
2019-02-06Fixes for pep8 compatibilityMagnus Hagander
2019-02-05Convert all spaces to tabsMagnus Hagander
2019-02-05Switch to using requests for archives APIMagnus Hagander
This should fix some unicode issues
2018-12-26Change sort order for reviewers/authors in filter dropdownMagnus Hagander
Previously it was sorted by last name, which did not always make sense. Canged to sort by first name, which hopefully makes more sense. Per request from Alvaro Herrera and others.
2018-12-23Add "withdrawn" commitfest statusMagnus Hagander
By popular (?) request
2018-12-23Merge old model changes that never made it into migrationsMagnus Hagander
2018-11-26Clarify some buttonsAndreas Scherbaum
Add some longer texts to indicate what's really hiding behind buttons.
2018-11-16Don't use hardcoded pgsql-hackers name in status messageAndreas Scherbaum
Instead use the value from the settings file, which is what's actually used to send.
2018-11-16Include DKIM/SPF instructions on commit/review formsAndreas Scherbaum
2018-11-04Clarify what subscribe/unsubscribe button doesMagnus Hagander
2018-10-29Also don't fail on invalid reviewers or authorsMagnus Hagander
Same fix as the previous one for status, but applies to the other two filter-by-dropdown fields.
2018-09-16Don't fail on incorrect statuses in URLMagnus Hagander
The comment said we should ignore the status if int() on it fails, but to do that we have to fail it before we actually add the WHERE clause. Thus, reorder the code to do so.
2018-06-18Fix colspanDaniel Gustafsson
2018-05-29Bring back topic listingMagnus Hagander
Accidentally broken when query was rewritten
2018-05-29Rewrite main CF dashboard query to use SQLMagnus Hagander
We've long gone past what the django ORM can handle and got into hundreds of queries for large commitfests. And it's not really that hard to rewrite as SQL, even though we have to dynamically build the WHERE clauses. So do that.
2018-05-29Show the number of CFs a patch has been onMagnus Hagander
Per discussions at the developer meeting, show the number of CFs a patch has been on, and make it possible to sort on this value.
2018-04-15Don't crash when passing in invalid values for filtersMagnus Hagander
Previously we'd throw a 500 internal server error, and cause error logging to happen. This became evident when scripts trying to SQL-inject the site started hitting us.. Instead, just ignore any filters that pass non-integer values into integer fields completely.
2018-03-25Fix template loaders for django 1.11Magnus Hagander
Seems django 1.11 automatically enables caching template loader, which of course breaks the ability to make any changes to the pages of a website without restarting it. And there is no way to turn it off other than to explicitly configure individual loders (the logic to turn it on in non-debug configurations is hardcoded and cannot be changed).
2018-02-22Fix model diffing for django 1.11Magnus Hagander
2018-02-22Don't allow null wikilink and gitlinkMagnus Hagander
Both had a default set to '', so also put that in the model. Needed to give correct diffs in newer djangos
2018-02-21Fix warning triggered in django 1.11Magnus Hagander
2018-02-21Implement thread notification receivingMagnus Hagander
This allows the archivs server to ping the CF app to pick up updates to mailthreads quicker.
2018-02-21Update format of urls.py to be compatible with newer djangoMagnus Hagander
2018-02-21Replace render_to_response with renderMagnus Hagander
This is rquired as part of the move to a newer Django, and works fine on older versions too
2018-02-21Fix template comparison operatorsMagnus Hagander
2018-02-21Update template configuration syntaxMagnus Hagander
Change to syntax compatible with newer Django, still works on current version.
2018-01-20Actually deliver CCed emails to patch authorsMagnus Hagander
Previously we would set the Cc header of the email, but not actually send a copy to the user. That way if the user was not subscribed to the hackers email, they'd end up not receiving the email at all, which somewhat defeats one of the original points of adding the Cc in the first place. Spotted by Peter Geoghegan
2017-10-02Fix typoDaniel Gustafsson
2017-09-18Hide annotation button if user is not logged inDaniel Gustafsson
Reported by Peter Geoghegan
2017-09-05Fix typoDaniel Gustafsson
2017-09-04Fix closing of <table> tagDaniel Gustafsson
2017-08-28Fix incorrect reference to global templates directoryMagnus Hagander
This has probably been needed since an upgrade a long time ago but got stuck in a separate branch. Fixes the case where the admin interface could end up rendering a login form that would then not work, instead of providing the proper redirect.
2017-06-27Remove deprecated and superfluous <script> attributesDaniel Gustafsson
The language attribute has been deprecated for quite some time with the type attribute setting the type of embedded content. The type attribute has further been defined to text/javascript as the default value in the spec, so no attribute should be used for Javascript. Per the standard: https://www.w3.org/TR/html5/scripting-1.html
2017-06-27Fix broken markup in future commitfestsDaniel Gustafsson
2017-06-20Fix incorrect markupDaniel Gustafsson
2017-06-20Properly close <form> tag.Daniel Gustafsson
2017-03-11Fix header encoding for To and Cc as wellMagnus Hagander
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
2017-03-09Make http links to the main website be httpsMagnus Hagander
2017-02-28Properly handle UTF8 in sender names in emailsMagnus Hagander
We need to treat them as structured and escape only the name, not the email part. Reported by Dagfinn Ilmari Mannsåker
2017-01-16Fix incorrect parameter nameMagnus Hagander
This changed back when we upgraded django, but this error path is clearly very seldomly hit.
2017-01-07Fully qualify parameters to HTTPConnection/HTTPSConnectionMagnus Hagander
They go in different orders in the two, so fully specify them to make it super clear.
2017-01-07Attempt to support https in calls to archivesMagnus Hagander
2016-04-06CC authors of patches on comments and reviewsMagnus Hagander
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
2016-03-10And from the main editing form. Oops.Magnus Hagander
2016-03-10Subscribers should be excluded from new patches formMagnus Hagander
2016-03-02Maintain patch status when moving to next CFMagnus Hagander
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.
2016-02-27Don't crash on subscribers without a profileMagnus Hagander
2016-02-15Don't crash with committers without user profilesMagnus Hagander
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).