Commit graph

4220 commits

Author SHA1 Message Date
Ole Laursen 6c57fe496f Port mailinglists to new schema
- Legacy-Id: 6782
2013-12-03 18:55:26 +00:00
Ole Laursen 26ec475d89 Fix spelling mistake in comments
- Legacy-Id: 6781
2013-12-03 18:53:04 +00:00
Ole Laursen 28abe3dc0d Remove unused idtracker.models import
- Legacy-Id: 6780
2013-12-03 18:35:29 +00:00
Ole Laursen bb2d070679 Redo tests for IPR to cover all views, fix some bugs and add some
finishing touches
 - Legacy-Id: 6779
2013-12-03 18:33:07 +00:00
Ole Laursen 7852e092fa Remove unused IprLicensing and IprSelecttype classes from IPR models
- Legacy-Id: 6778
2013-12-03 09:56:18 +00:00
Ole Laursen 6c56f41041 Fix broken indentation
- Legacy-Id: 6777
2013-12-02 18:12:16 +00:00
Ole Laursen cadedce023 Port cookies/ away from use of |equal filter, remove |equal filter
- Legacy-Id: 6776
2013-12-02 18:11:01 +00:00
Ole Laursen 19da33d8ff Make the search for specific draft name in IPR support both drafts and RFCs, clean up some related cruft
- Legacy-Id: 6775
2013-12-02 17:29:17 +00:00
Ole Laursen e9638cb1c2 Port IPR module to new schema, remove some cruft
- Legacy-Id: 6774
2013-12-02 16:34:00 +00:00
Ole Laursen f7bed5d0aa Remove Django 0.x support from ipr/feeds.py
- Legacy-Id: 6773
2013-11-29 11:48:47 +00:00
Ole Laursen 6d94351553 Add __unicode__ to SendQueue
- Legacy-Id: 6772
2013-11-28 18:12:45 +00:00
Ole Laursen 6c2b3be8d6 Fix admin for SendQueue so message is in raw_id_fields
- Legacy-Id: 6771
2013-11-28 18:08:30 +00:00
Ole Laursen 85d998a18a Remove the old NomCom announcements sitemap, with the existing overview page it does not appear to be useful at all, remove remaining traces of the old announcements app
- Legacy-Id: 6770
2013-11-28 17:58:06 +00:00
Ole Laursen d0f2859631 Move NomCom announcements view to nomcom/, move message view to
message/, add tests, add redirects, fix a couple of small bugs in the
announcements view
 - Legacy-Id: 6769
2013-11-28 17:55:10 +00:00
Ole Laursen 78d9bfff24 Move send_scheduled_announcement functionality to messages/utils.py
- Legacy-Id: 6768
2013-11-28 13:05:51 +00:00
Ole Laursen 35939cc20c Remove references to old announcement models and remove the model definitions
- Legacy-Id: 6767
2013-11-27 16:45:05 +00:00
Ole Laursen 2cf72aa9e5 Remove references to names.xml in perma_fixtures, they are not needed anyway
- Legacy-Id: 6766
2013-11-27 13:19:58 +00:00
Ole Laursen f9d400ae5c Move decorator import in debug.py closer to actual usage points so the
decorator library is not imported unless needed - it doesn't appear to
be part of Python 2.7 so needs to be installed separately
 - Legacy-Id: 6765
2013-11-27 13:15:52 +00:00
Ole Laursen 9457669310 Merge in changes from the old shimfree branch
- Legacy-Id: 6764
2013-11-27 12:55:50 +00:00
Henrik Levkowetz d2d1c839c9 Revert changes to two django files which should not have been part of [6724].
- Legacy-Id: 6725
Note: SVN reference [6724] has been migrated to Git commit 8f67ca6826
2013-11-21 16:40:28 +00:00
Henrik Levkowetz 8f67ca6826 Changed the password reset URL which is sent out in the password reset email
message to use https: instead of http:.  This is generally a good idea, and
also silences Google Chrome's phishing warning.  Fixes issue #1204.

This commit should have contained only changes to a template file; by
mistake, changes to two django files were also committed here.  That
change has been undone in [6725].
 - Legacy-Id: 6724
Note: SVN reference [6725] has been migrated to Git commit ca1a04f660aa0473bf8f3aadc7809d462ac4cac0
2013-11-21 16:35:22 +00:00
Henrik Levkowetz afb09a0c71 Added code to the EditMembersFormPreview form class' post_post() method. This code was present in preview_post() but missing in post_post(). Fixes issue #1203.
- Legacy-Id: 6723
2013-11-20 14:06:07 +00:00
Ole Laursen 12722a68fa Remove backtrace email code from submit __init__.py, after the submit revamp I think I am responsible for all remaining bugs and not esanchez@yaco.es, and the code sometimes annoyingly interferes (through a bug in admin) with loading the submit module in the shell
- Legacy-Id: 6722
2013-11-19 16:14:27 +00:00
Ole Laursen 10a4d286cd Remove now unused idrfc_wrapper.py, remove idrfc app
- Legacy-Id: 6721
2013-11-19 16:10:29 +00:00
Ole Laursen 66bff20847 Remove legacy ballot_json view which has not worked for a while
- Legacy-Id: 6720
2013-11-19 16:07:29 +00:00
Ole Laursen ce316c0adb assertEquals -> assertEqual in submit/tests.py (the former is apparently deprecated)
- Legacy-Id: 6719
2013-11-15 16:24:38 +00:00
Ole Laursen 9f1f7790e2 Add bin/expire-submissions script for making sure old submissions are canceled automatically
- Legacy-Id: 6718
2013-11-15 16:22:29 +00:00
Ole Laursen 650d8316eb Make the submit tool use the access token framework with a bit of backwards compatibility glue
- Legacy-Id: 6717
2013-11-15 16:09:05 +00:00
Ole Laursen 6174e72036 Rename unique key to random key as it is not really unique, add function for generating an access token from the key
- Legacy-Id: 6716
2013-11-15 16:07:10 +00:00
Ole Laursen e98abbf56d Change the port accepted for debug purposes to 2025 instead of 1025 to
not conflict with the port on the live server
 - Legacy-Id: 6715
2013-11-15 13:55:10 +00:00
Ole Laursen ecf68dbb05 Revamp and clean up submit models:
- Rename IdSubmissionDetail to Submission
- Rename various submission fields to correspond to the conventions in
  the new schema
- Use a name model for the states instead of IdSubmissionStatus
- Drop the TempIdAuthor model which is based on splitting up author
  names
- Add a simple textual SubmissionEvent for tracking events in the
  lifetime of a submission
- Delete a bunch of obsolete fields
- Make sure all submission have an access key so we can depend on it
- Add state for when approval is needed from previous authors

A couple of migrations take care of transforming the
IdSubmissionDetail and moving data over/cleaning it up.

Also revamp the submit view code:

- Make form code do validation/cleaning only so there's a clear
  separation of concerns
- Reduce uses of inheritance that made the code hard to follow -
  forms now don't inherit from each other, views don't call each other
  but instead reuse common utilities, templates share CSS/utilities
  instead of relying on inheritance
- Move email rendering/sending to separate file
- Drop the in-grown terminology use (auto post vs. manual posts)
- Make the status page explain who is emailed for what purpose
- Add history table with recorded events
- Make the status page handle its post actions by itself instead of
  duplicating most of the setup logic in a number of simple views
- Fix a couple of minor bugs and handle some edge cases better
- Expand tests with a couple of more cases

Possibly the submit tool could still use more help text added to
explain the process, ideally what's explained in the tool instructions
page should be inlined or self-evident.
 - Legacy-Id: 6714
2013-11-15 13:30:32 +00:00
Ole Laursen fd01ddd215 Make the mail code detect USING_DEBUG_EMAIL_SERVER which if set to
true and EMAIL_HOST and EMAIL_PORT is set to localhost:1025 will turn
on debugging which essentially makes it send emails; also added
instructions for starting the debugging SMTP server bundled with
Python

  python -m smtpd -n -c DebuggingServer localhost:1025

in a comment near the code
 - Legacy-Id: 6713
2013-11-15 12:57:31 +00:00
Ole Laursen 322e15e9a9 Add generate_unique_key utility for generating access tokens (like
abda31fee90aabe...)
 - Legacy-Id: 6712
2013-11-15 12:52:33 +00:00
Ole Laursen e0be9bcb95 Remove unused and bitrotten get_authors_email
- Legacy-Id: 6711
2013-11-15 12:50:24 +00:00
Ole Laursen 3a483461a2 Add simple split filter, as the opposite of the built-in join filter
- Legacy-Id: 6710
2013-11-15 12:49:37 +00:00
Ole Laursen e6b0ef4323 Fix spelling error in validation
- Legacy-Id: 6709
2013-11-15 11:04:12 +00:00
Ole Laursen 8020650566 Fix color of links in form errors
- Legacy-Id: 6700
2013-11-11 12:52:07 +00:00
Henrik Levkowetz ba70c3067a Merged [6696] from tterriberry@mozilla.com:
Improve e-mails from replaced-by updates.

Fix an incorrectly-expanded file tag in the subject.
Fixes #1178.
Use a slightly more natural grammatical construct in the message body.
Fixes #1179.
 - Legacy-Id: 6699
Note: SVN reference [6696] has been migrated to Git commit 03896647cc
2013-11-08 18:56:24 +00:00
Henrik Levkowetz 9c20739493 Fix typo and style detail.
- Legacy-Id: 6698
2013-11-08 18:53:22 +00:00
Henrik Levkowetz 9aefd3dccf Fixed the saving of shepherd writeups for documents in iesg processing without
a stream state (ad-sponsored documents). Fixes issue #1186 and #1187.
 - Legacy-Id: 6697
2013-11-08 16:33:35 +00:00
Timothy B. Terriberry 03896647cc Improve e-mails from replaced-by updates.
Fix an incorrectly-expanded file tag in the subject.
Fixes #1178.
Use a slightly more natural grammatical construct in the message body.
Fixes #1179.
 - Legacy-Id: 6696
2013-11-08 13:09:17 +00:00
Henrik Levkowetz 1c428e65ae Corrected the default path for where to find iCalendar vtimezone information.
- Legacy-Id: 6695
2013-11-08 00:05:55 +00:00
Henrik Levkowetz 3051f81047 Make the slides and minutes urls on the agenda have explicit extensions.
- Legacy-Id: 6694
2013-11-07 19:28:04 +00:00
Henrik Levkowetz 258ac770b3 Better handling of draft name extraction when there's no extension given.
- Legacy-Id: 6675
2013-11-06 22:18:51 +00:00
Henrik Levkowetz d0fbb5e300 Don't filter out blank lines from changelog text in the release emails any more.
- Legacy-Id: 6674
2013-11-06 22:17:04 +00:00
Henrik Levkowetz 5067b6e51a With the secretariat now using the secr/ code deployed with the datatracker, there is no concern any more about divergence between production secretariat and datatracker secretariat code, and no need to have two different patch numbering systems for secretariat patches and other patches. Removing the secretariat-specific patch section.
- Legacy-Id: 6673
2013-11-06 22:16:09 +00:00
Henrik Levkowetz 2c5e7fd7f4 Set version info and settings back to development mode
- Legacy-Id: 6670
2013-11-06 19:33:49 +00:00
Henrik Levkowetz 0f5b59d431 Set version info to release version 4.83 before branching.
- Legacy-Id: 6668
2013-11-06 19:33:46 +00:00
Henrik Levkowetz b2090d6229 Changelog entry for 4.83
- Legacy-Id: 6667
2013-11-06 19:33:44 +00:00
Henrik Levkowetz 239b526d57 Fixed a bug in the materials urls in agenda.ics.
- Legacy-Id: 6666
2013-11-06 17:03:30 +00:00