Commit graph

3951 commits

Author SHA1 Message Date
Ole Laursen 85ab33533f Move feed redirect for feed_urls.py
- Legacy-Id: 6944
2013-12-16 16:35:07 +00:00
Ole Laursen e6b12350d2 Port IPR and liaisons feed setup to new feed API too
- Legacy-Id: 6943
2013-12-16 16:33:18 +00:00
Ole Laursen 5021ed5629 Port feed setup to new feed API where each feed is a class-based view
- Legacy-Id: 6939
2013-12-16 16:29:22 +00:00
Ole Laursen d86789608a Remove use of "groupgroup" fixture from Secretariat apps, it looks
like they don't actually depend on it, and the fixture itself is
unfortunately not complete so Django refuses to load it
 - Legacy-Id: 6938
2013-12-16 13:16:29 +00:00
Ole Laursen beda4bafcd Fix bug with coverage testing
- Legacy-Id: 6937
2013-12-16 13:06:41 +00:00
Ole Laursen 0c2c5a7573 Rewrite url tags in Secretariat templates to new syntax
- Legacy-Id: 6936
2013-12-16 13:05:38 +00:00
Ole Laursen 7aa3737c3b Reenable RemoteUserMiddleware, it turns out the Secretariat tests are
using REMOTE_USER to auth instead of logging in - instead include a
little middleware class that adds the REMOTE_USER header during
testing.

Also fix problem with the empty test_label hack not working with
double-dotted Secretariat apps.
 - Legacy-Id: 6935
2013-12-16 12:59:27 +00:00
Ole Laursen e1025e67ae Fix some oddities in secauth.py
- Legacy-Id: 6934
2013-12-16 12:48:43 +00:00
Ole Laursen 77e03c7355 Fix bugs in stream edit test
- Legacy-Id: 6933
2013-12-16 11:55:15 +00:00
Ole Laursen 3d7b349e20 Remove group/tests/, it only contains two tests (on a fixture, not
really on any IETF code) and it clashes with the tests in group/tests.py
 - Legacy-Id: 6932
2013-12-16 11:53:10 +00:00
Ole Laursen 8017c8eaf2 Fix a bunch of test errors, apparently the Textarea widget in Django
now outputs a newline in the beginning - this doesn't seem make a
difference for browsers, but it means testing with PyQuery needs to
strip the text to be able to check accurately
 - Legacy-Id: 6931
2013-12-16 11:47:32 +00:00
Ole Laursen 2eb8566d2f Remove : after label_tag in templates, the colon is now included in the label_tag itself
- Legacy-Id: 6930
2013-12-13 17:34:05 +00:00
Ole Laursen b94e110a29 Disable the caching template loader again, interesting as may be, it
turns out to be really annoying when developing as it is not clever
enough to do cache invalidation, so changing a template and retesting
requires restarting the dev server
 - Legacy-Id: 6929
2013-12-13 17:30:39 +00:00
Ole Laursen 2dc4454772 Fix problem with dbtemplate loader, it wasn't declaring itself as usable
- Legacy-Id: 6928
2013-12-13 17:27:22 +00:00
Ole Laursen 0006b9ddcc Make sure all model forms have a Meta.fields attribute
- Legacy-Id: 6927
2013-12-13 17:20:02 +00:00
Ole Laursen 1cb6e701eb Enable the caching template loader for the file based templates, as
recommended by the Django documentation
 - Legacy-Id: 6926
2013-12-13 17:00:52 +00:00
Ole Laursen e324f5551e Fix some {% url %} tags with commas between arguments, which is not valid with the new url syntax
- Legacy-Id: 6925
2013-12-13 17:00:12 +00:00
Ole Laursen 3ba9424845 Fix invalid HTML in nomcom template
- Legacy-Id: 6924
2013-12-13 16:48:56 +00:00
Ole Laursen 3febf7d216 Fix odd boolean calculation in nomcom view
- Legacy-Id: 6923
2013-12-13 16:48:37 +00:00
Ole Laursen 892c7d43ce Reuse already fetched page instead of refetching it in nomcom test
- Legacy-Id: 6922
2013-12-13 16:47:57 +00:00
Ole Laursen b302ffa814 Fix bug in nomcom test, it was sending a formset without the
corresponding management form values
 - Legacy-Id: 6921
2013-12-13 16:45:04 +00:00
Ole Laursen aea222edbc Speed up nomcom tests a bit more by also only generating one certificate for the client per run
- Legacy-Id: 6920
2013-12-13 16:28:55 +00:00
Ole Laursen 466928edc2 Only generate the test NomCom certificate once instead to speed up the
Nomcom tests a bit
 - Legacy-Id: 6919
2013-12-13 16:10:49 +00:00
Ole Laursen 652a5ca17a Rewrite NomCom test data generation slightly based on the rewritten
base test data, fix problem with form previews
 - Legacy-Id: 6918
2013-12-13 15:59:52 +00:00
Ole Laursen 7f25469c6b Drop the group/person/role global fixtures, the fixture loader in
Django 1.6 refuses to load them because they have dangling foreign
keys, and in rewriting them it turns out it is easier to do so in code
- so refactor the test data generation code to have a separate
function with the unchanging base data and call that from the global
fixture setup
 - Legacy-Id: 6917
2013-12-13 15:58:36 +00:00
Ole Laursen 81e5ced4ee Remove "nominee" from FeedbackForm.Meta.fields, it doesn't exist in Feedback
- Legacy-Id: 6916
2013-12-13 15:48:13 +00:00
Ole Laursen c9984e40fc Call base class fixture handling in perma_fixtures hack rather than
duplicating the (now incorrect) code from the base class
 - Legacy-Id: 6915
2013-12-13 15:39:34 +00:00
Ole Laursen b4706af925 Fix problem with tests and RemoteUserMiddleware - it interferes with
the tests, also fix bug in previous test runner refactor
 - Legacy-Id: 6914
2013-12-13 15:37:04 +00:00
Ole Laursen a2c13b70d1 Make sure all BooleanFields have an explicit default value (with
Django < 1.6 it used to be False implicitly)
 - Legacy-Id: 6908
2013-12-13 13:30:07 +00:00
Ole Laursen dec6862787 Make GLOBAL_TEST_FIXTURES support Python functions as fixtures
- Legacy-Id: 6906
2013-12-13 13:13:03 +00:00
Ole Laursen e32d346bc5 Fix security_hash problem in nomcom tests, it's no longer a separate function
- Legacy-Id: 6905
2013-12-13 13:10:52 +00:00
Ole Laursen 191d6f5949 Changing settings to use new test runner
- Legacy-Id: 6904
2013-12-13 11:23:33 +00:00
Ole Laursen c470e57dae Port test runner to new Django interface
- Legacy-Id: 6903
2013-12-13 11:22:40 +00:00
Ole Laursen 9b8fe8bd50 Move is_safe to parameter on template filter
- Legacy-Id: 6902
2013-12-12 12:27:33 +00:00
Ole Laursen 145079c701 Fix import path in settings_sqlitetest.py
- Legacy-Id: 6901
2013-12-12 12:24:25 +00:00
Ole Laursen 2c510adca9 Fix problem with missing label= in community form field declation
- Legacy-Id: 6900
2013-12-12 12:17:26 +00:00
Ole Laursen 950efbbae3 Fix import path of syndication framework
- Legacy-Id: 6899
2013-12-12 12:16:29 +00:00
Ole Laursen 45e7f3ee8e Fix a url pattern that managed to escape the mass fixing because it is missing a space
- Legacy-Id: 6898
2013-12-12 12:14:23 +00:00
Ole Laursen ad26ab4b37 Fix some changed Django import paths in settings.py
- Legacy-Id: 6897
2013-12-12 12:13:44 +00:00
Ole Laursen 9b720d2a70 Fix bug in Secretariat MeetingModelForm, exclude was missing a , to be a tuple
- Legacy-Id: 6896
2013-12-12 12:12:03 +00:00
Ole Laursen 12960d9204 Fix bug in Secretariat GroupMilestoneForm, exclude was missing a , to be a tuple
- Legacy-Id: 6895
2013-12-12 12:11:09 +00:00
Ole Laursen fcb2dad155 Fix bug in Secretariat EditPersonForm, exclude was missing a , to be a tuple
- Legacy-Id: 6894
2013-12-12 12:10:05 +00:00
Ole Laursen fdd03eee8c Use validate_email instead of email_re to validate email
- Legacy-Id: 6893
2013-12-12 12:09:17 +00:00
Ole Laursen d1207bf000 Delete some dead code from submission form
- Legacy-Id: 6892
2013-12-12 12:08:58 +00:00
Ole Laursen 771591f0db Remove use of obsolete generic delete view
- Legacy-Id: 6891
2013-12-12 12:06:09 +00:00
Ole Laursen d1e60e533c Fix a couple of problems in previous URL conversion commit
- Legacy-Id: 6887
2013-12-11 17:13:49 +00:00
Ole Laursen 99aa5e98f3 Import update_wrapper from functools instead of from Django
- Legacy-Id: 6886
2013-12-11 17:10:26 +00:00
Ole Laursen 46247a2ba6 Port away from django.utils.truncate_(html_)words which is now gone, use the template filter versions instead
- Legacy-Id: 6885
2013-12-11 17:07:43 +00:00
Ole Laursen b3b7154890 Port ipr/feeds.py to django.core.urlresolvers.reverse_lazy
- Legacy-Id: 6884
2013-12-11 17:06:41 +00:00
Ole Laursen 6a98fec2c3 Use built-in json module in Python instead of simplejson bundled with Django
- Legacy-Id: 6883
2013-12-11 16:59:19 +00:00
Ole Laursen 2c930d0f97 Get rid of remaining use of email_re, use validate_email instead
- Legacy-Id: 6882
2013-12-11 16:47:47 +00:00
Ole Laursen 119d76ae26 Get rid of unused import of old generic view
- Legacy-Id: 6881
2013-12-11 16:44:34 +00:00
Ole Laursen 883853f09c Fix bug, TemplateView takes template_name, not template as parameter
- Legacy-Id: 6880
2013-12-11 16:43:34 +00:00
Ole Laursen c15063f3c2 Adjust the import path for feeds
- Legacy-Id: 6879
2013-12-11 16:40:49 +00:00
Ole Laursen cfa0d47ca0 Port to new class-based generic redirect and simple template views, remove utils.lazy.reverse_lazy, it's now included in Django
- Legacy-Id: 6878
2013-12-11 16:36:09 +00:00
Ole Laursen 7a86afe1ab Port templates to new {% url %} syntax with quotes around the first parameter
- Legacy-Id: 6877
2013-12-11 16:33:40 +00:00
Ole Laursen b2d69c5cbd Replace manage.py script with new script generated by Django 1.6
- Legacy-Id: 6876
2013-12-11 15:50:14 +00:00
Ole Laursen b92a49b216 Remove verify_exists=False from URLField, it is now obsolete
- Legacy-Id: 6875
2013-12-11 15:31:18 +00:00
Ole Laursen f5b2cfbc42 Make MEDIA_URL end in slash
- Legacy-Id: 6874
2013-12-11 15:29:38 +00:00
Henrik Levkowetz bafaa30fe3 Fixed a typo. Fixes issue #1216.
- Legacy-Id: 6869
2013-12-11 10:28:00 +00:00
Ryan Cross 9b06fb9958 fixed calls to reverse() to match new url names since code merge
- Legacy-Id: 6859
2013-12-09 20:41:32 +00:00
Ryan Cross e45aec37ac use correct URL in new IPR notification email
- Legacy-Id: 6858
2013-12-09 20:13:37 +00:00
Robert Sparks c500184eee Script to run from cron to send daily messages to IETF Announce showing the email header field change.
This should be run from Jan 6 to Jan 20, after which point we need to deploy analagous changes to the code that constructs last call announcements.

This is related to bug #811

Commit ready for merge.
 - Legacy-Id: 6857
2013-12-09 19:01:44 +00:00
Ole Laursen e3253b4887 Fix spelling mistake in wgcharter confirmation messages, fixes #1216
- Legacy-Id: 6856
2013-12-09 11:33:11 +00:00
Ole Laursen 371c4bb344 Fix computing meeting updated timestamp when there's either a timeslot
or a session but not both
 - Legacy-Id: 6855
2013-12-09 10:52:31 +00:00
Ole Laursen 3053bef4cc Resurrect URL coverage making it work with all tests, and move it to the test runner together with the template coverage report
- Legacy-Id: 6844
2013-12-07 19:31:32 +00:00
Ole Laursen 56f36018a2 Fix bug in secr test
- Legacy-Id: 6843
2013-12-07 19:29:32 +00:00
Ole Laursen 1c60f55fff Fix some includes in meeting test
- Legacy-Id: 6842
2013-12-07 19:28:56 +00:00
Ole Laursen 185149c46b Strip out all ADs from the working group fixtures, apparently they are not included in another permafixture so cause trouble in some tests
- Legacy-Id: 6841
2013-12-07 19:28:13 +00:00
Ole Laursen 1606890567 Trim some unused imports in the meeting tests
- Legacy-Id: 6840
2013-12-07 16:15:36 +00:00
Ole Laursen 449436744e Hide unapproved related liaison statement unless during approval it to prevent dead link
- Legacy-Id: 6839
2013-12-07 13:39:56 +00:00
Ole Laursen f935577f77 Remove some unused references to SimpleUrlTestCase
- Legacy-Id: 6838
2013-12-07 13:30:41 +00:00
Ole Laursen f1a34faf08 Rewrite main url tests and redirects test to use the test database
- Legacy-Id: 6837
2013-12-07 13:29:48 +00:00
Ole Laursen 77fc3ec134 Rewrite simple URL test in secr/sreq/tests.py to use fake data
- Legacy-Id: 6836
2013-12-07 13:10:36 +00:00
Ole Laursen f6fa699992 Fix MultiEmailField to use validate_email for validation
- Legacy-Id: 6835
2013-12-07 12:54:24 +00:00
Ole Laursen 58afa08edf Remove import of unused FKAsOneToOne
- Legacy-Id: 6834
2013-12-07 12:49:32 +00:00
Ole Laursen 924d58f935 Remove model field utilities that were needed because of brokenness in the old schema
- Legacy-Id: 6833
2013-12-07 12:37:29 +00:00
Ole Laursen 947c973724 Remove reference to redesign
- Legacy-Id: 6832
2013-12-07 12:30:58 +00:00
Ole Laursen f4283556ae Do not include ../redesign in path
- Legacy-Id: 6831
2013-12-07 12:30:41 +00:00
Ole Laursen fb55fc4c4b Replace reference to redesign.doc.models, replace redundant filter on
both type=draft and state=rfc in community script
 - Legacy-Id: 6830
2013-12-07 12:28:47 +00:00
Ole Laursen ad1f11e9a3 Remove unused profile templates
- Legacy-Id: 6829
2013-12-07 12:16:05 +00:00
Ole Laursen 7738f35283 Remove backwards compatibility person() method on Person
- Legacy-Id: 6828
2013-12-07 12:13:14 +00:00
Ole Laursen ca28fb05a6 Delete USE_DB_REDESIGN_PROXY_CLASSES setting
- Legacy-Id: 6827
2013-12-07 12:12:07 +00:00
Ole Laursen 3e709e3f24 Remove proxies
- Legacy-Id: 6826
2013-12-07 12:01:57 +00:00
Ole Laursen ae2b0e2bcc Remove use of group proxies from liaisons app, move proxy_personify_role into liaisons for the time being
- Legacy-Id: 6825
2013-12-07 11:56:32 +00:00
Ole Laursen 54464e6db2 Only show related approved liaisons (dead link found by test crawler)
- Legacy-Id: 6824
2013-12-06 18:44:01 +00:00
Ole Laursen fc991a5ba1 Revamp and add tests for ietfauth - still missing tests for most views here though
- Legacy-Id: 6823
2013-12-06 18:40:48 +00:00
Ole Laursen da91b15e16 Remove some references to shim layer
- Legacy-Id: 6822
2013-12-06 18:08:37 +00:00
Ole Laursen 18f133d1d2 Remove now unused idtracker/
- Legacy-Id: 6821
2013-12-06 18:00:44 +00:00
Ole Laursen f75339a3e3 Remove shim layer from bin/dump-draft-info
- Legacy-Id: 6820
2013-12-06 17:58:05 +00:00
Ole Laursen 48f14b8eda Remove now unused proceedings/ and meeting/proxy.py
- Legacy-Id: 6819
2013-12-06 17:40:41 +00:00
Ole Laursen 5ef84cd7df Move proceedings feed to meeting/ and remove traces of shim layer from it
- Legacy-Id: 6818
2013-12-06 16:31:02 +00:00
Ole Laursen ad9503f1ed Removing remaining traces of shim layer usage in meeting
- Legacy-Id: 6817
2013-12-06 16:10:10 +00:00
Ole Laursen 992bf0efea Fix double base2.css include in meeting landscape edit template and fix some HTML syntax errors
- Legacy-Id: 6816
2013-12-06 15:58:47 +00:00
Ole Laursen 415768bb54 Fix double includes of jQuery 1.8.2 in meeting templates, make sure
script includes are put in the "js" block rather than the "scripts"
block, the latter is for inline scripts, not script includes (this
fixes a couple of weird syntax errors)
 - Legacy-Id: 6815
2013-12-06 15:46:51 +00:00
Ole Laursen e63ac36b8f Remove shim layer from ietfauth, delete some dead code and migrate
remaining importers of ietfauth.decorators to ietfauth.utils
 - Legacy-Id: 6797
2013-12-05 16:24:03 +00:00
Ole Laursen fe5ad0c998 Remove unused i18n import in liaisonform.html
- Legacy-Id: 6796
2013-12-05 15:52:35 +00:00
Ole Laursen 5f002cf0ac Fix some test errors
- Legacy-Id: 6795
2013-12-05 15:30:17 +00:00
Ole Laursen 4250a95556 Remove proxy layer from liaisons tool, do some minor cleanups of
duplicated code, make sure the custom form widgets escape their input.

There's still a bit of custom proxying going on in the IETFHM class
hierarchy.
 - Legacy-Id: 6794
2013-12-05 13:54:48 +00:00
Ole Laursen 18743a3e96 mark_safe result from parse_email_list filter, fix an import bug
- Legacy-Id: 6792
2013-12-04 18:25:44 +00:00
Ole Laursen bbcbfc3a05 Drop the obsolete backwards-compatible email.Utils import in
ietf_filters, add strip_email filter for getting rid of the email part
of a "name <email@example.com>" string, fix spelling mistake
 - Legacy-Id: 6791
2013-12-04 17:59:25 +00:00
Henrik Levkowetz 0ca9a5c245 Require that a meeting has a schedule for it to be seen as the current meeting.
- Legacy-Id: 6785
2013-12-03 21:35:57 +00:00
Henrik Levkowetz 30aa2b2d36 Don't crash if trying to get an update date for a meeting with missing timeslots or sessions.
- Legacy-Id: 6784
2013-12-03 21:35:02 +00:00
Ole Laursen 8a4990cb1e Remove some redundant imports from doc/proxy.py
- Legacy-Id: 6783
2013-12-03 19:00:52 +00:00
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 9457669310 Merge in changes from the old shimfree branch
- Legacy-Id: 6764
2013-11-27 12:55:50 +00:00
Henrik Levkowetz 7d7d08410c Speeded up the materials page by using select_related() on the session QuerySet.
- Legacy-Id: 6729
2013-11-21 21:05:56 +00:00
Henrik Levkowetz b2096af196 The materials page now shows 'Session Cancelled' instead of 'No agenda received' etc. for cancelled sessions.
- Legacy-Id: 6728
2013-11-21 21:03:50 +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
Robert Sparks d19967ac93 Adds pages to show what a given document refers to and what refers to it.
Fixes bug #1194
commit ready for merge
 - Legacy-Id: 6701
2013-11-11 23:12:53 +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
Robert Sparks ac799a9874 removed requirement to enter a phone number in various places on an IPR disclosure entry form
Fixes bug #1176
 - Legacy-Id: 6672
2013-11-06 21:33:04 +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 239b526d57 Fixed a bug in the materials urls in agenda.ics.
- Legacy-Id: 6666
2013-11-06 17:03:30 +00:00
Henrik Levkowetz 1e16aa34d4 Merged [6643] from rcross@amsl.com:
change draft replace action: move document to archive directory
 - Legacy-Id: 6665
Note: SVN reference [6643] has been migrated to Git commit dbff28dbb2
2013-11-06 16:23:58 +00:00
Henrik Levkowetz c41bb723b9 Merged [6642] from tterriberry@mozilla.com:
Add 'Track this document' link on drafts.

Fixes #1085.
 - Legacy-Id: 6664
Note: SVN reference [6642] has been migrated to Git commit 0ffa8be8ea
2013-11-06 16:20:46 +00:00
Henrik Levkowetz 9d62773f41 Updated one invocation of update_state() to match the new signature in [6660].
- Legacy-Id: 6663
Note: SVN reference [6660] has been migrated to Git commit 8ec6c336a9
2013-11-06 16:19:13 +00:00
Henrik Levkowetz 27895541a4 Merged [6641] from bartosz.balazinski@interdigital.com:
Added the new version of the shepherd writeup as a comment when it's edited.
The new version works like this:

 -  Any shepherd writeups done before the document is submitted for
    publication are not disclosed in the history.

 -  When the document is submitted for publication the available writeup (if
    available) is added to history.

 -  Any further writeups after the document has been submitted for publication
    are disclosed in the history.
 - Legacy-Id: 6662
Note: SVN reference [6641] has been migrated to Git commit a0a451881b
2013-11-06 16:06:07 +00:00
Henrik Levkowetz 58685d93e1 Updated known-good test file to match commit [6655].
- Legacy-Id: 6661
Note: SVN reference [6655] has been migrated to Git commit 89904c9bb3
2013-11-06 16:00:25 +00:00
Henrik Levkowetz 8ec6c336a9 Merged [6626] and [6640] from suresh.krishnan@ericsson.com:
Refactored the mails sent when state is changed along with annotation tags.
Don't send emails for only comment changes, just add a history entry.  For
state changes and annotation changes, only send one email, containing
information about both state changes and annotation tag changes.  
Fixes issue #1127.
 - Legacy-Id: 6660
Note: SVN reference [6626] has been migrated to Git commit 74c7230842

Note: SVN reference [6640] has been migrated to Git commit 629816a2cb
2013-11-06 15:53:33 +00:00
Henrik Levkowetz 71d797bcb8 Refines Joel's fix to show clearly who receives draft submission confirmation emails, to show a more detailed warning text when the submitter isn't in the addressee list. Fixes issue #1097.
- Legacy-Id: 6659
2013-11-06 15:29:02 +00:00
Ole Laursen 422a20fe3d Add replaces field which is apparently in the database, but not in
models.py which confuses South
 - Legacy-Id: 6658
2013-11-06 15:24:22 +00:00
Ole Laursen 4635c1ce0f Move helpers for the admin on IdSubmissionDetail to admin.py
- Legacy-Id: 6657
2013-11-06 15:23:08 +00:00
Ole Laursen b46f0ba733 Get rid of submit/error_manager.py which is apparently unused
- Legacy-Id: 6656
2013-11-06 15:21:19 +00:00
Henrik Levkowetz 89904c9bb3 Corrected the links to WG agendas in the csv file.
- Legacy-Id: 6655
2013-11-06 15:08:47 +00:00
Ole Laursen 2daff23f02 Remove shim layer from submit code
- Legacy-Id: 6654
2013-11-05 16:59:13 +00:00
Henrik Levkowetz dcc61a7eee Merged [6638] from jmh@joelhalpern.com:
Include confirmation addresses in ID-Submission success notice.
Fixes issue #1097.
 - Legacy-Id: 6653
Note: SVN reference [6638] has been migrated to Git commit 72885f4524
2013-11-05 15:03:25 +00:00
Henrik Levkowetz 0e19d8319a Tweaked the style used on the nomcom feedback pages a bit, to give people a bit more room to write in the feedback field.
- Legacy-Id: 6652
2013-11-04 20:48:53 +00:00
Henrik Levkowetz c7c4afc6dd It turns out that the get_user_email is called for every nominee listed on a feedback page, which is insane. But until the template can be rewritten to do this in a more sane way, we cache the lookup result.
- Legacy-Id: 6651
2013-11-04 20:47:54 +00:00
Henrik Levkowetz 9302f9b7ab Merged [6635] from tterriberry@mozilla.com:
Mark Concluded BoFs as BoFs, not Concluded WGs.

Fixes #1169.
 - Legacy-Id: 6649
Note: SVN reference [6635] has been migrated to Git commit 04f4b26b3a
2013-11-04 15:52:37 +00:00
Henrik Levkowetz 28bc1d2dce Merged [6630] from jmh@joelhalpern.com:
Add document titles to status change request email.  Fixes issue #1069.
 - Legacy-Id: 6648
Note: SVN reference [6630] has been migrated to Git commit bb539aa0c2
2013-11-04 15:49:41 +00:00
Henrik Levkowetz 6d8b178074 Include IAOC update sessions in the training section.
- Legacy-Id: 6647
2013-11-04 15:12:21 +00:00
Ole Laursen e1708da2fe Cosmetic fix, insert missing space
- Legacy-Id: 6646
2013-11-04 13:49:32 +00:00
Ole Laursen a7f515f4b2 Fix link pointing to /idtracker/
- Legacy-Id: 6645
2013-11-04 11:11:50 +00:00
Henrik Levkowetz 801283f814 By preference, show the same email for a logged-in user as his login, if it
exists; otherwise show the newest active email address.
 - Legacy-Id: 6644
2013-11-03 19:11:45 +00:00
Ryan Cross dbff28dbb2 change draft replace action: move document to archive directory
- Legacy-Id: 6643
2013-11-03 01:38:23 +00:00
Timothy B. Terriberry 0ffa8be8ea Add 'Track this document' link on drafts.
Fixes #1085.
 - Legacy-Id: 6642
2013-11-03 00:26:02 +00:00
Bartosz Balazinski a0a451881b Fix for issue 1121
- Legacy-Id: 6641
2013-11-03 00:15:49 +00:00
Suresh Krishnan 629816a2cb Refactoring the mails sent when state is changed along with annotation tags. Currently there are two emails getting sent. Fixing it to send only one email that rolls up the annotation tag changes into the state change email.
- Legacy-Id: 6640
2013-11-02 23:52:29 +00:00
Henrik Levkowetz f029c88347 Merged [6629] from tterriberry@mozilla.com:
Allow wgchairs to edit replaces relationships.

This actually allows anyone with can_edit_stream_info permission
to edit the list. This does draft name completion, but does not
currently filter those names for likely replacements. Styling is
also basically non-existent.

Fixes #1002
 - Legacy-Id: 6639
Note: SVN reference [6629] has been migrated to Git commit 9ef29a323f
2013-11-02 23:41:51 +00:00
Joel M. Halpern 72885f4524 Include confirmation addresses in ID-Submission success notice.
Fixes issue #1097.
 - Legacy-Id: 6638
2013-11-02 23:29:21 +00:00
Henrik Levkowetz 0308b2d72a Merged [6627] from markus.stenberg@iki.fi:
Addressed #1074 - approved by mr. Kivinen.
 - Legacy-Id: 6636
Note: SVN reference [6627] has been migrated to Git commit 0d5a505697
2013-11-02 23:16:49 +00:00
Timothy B. Terriberry 04f4b26b3a Mark Concluded BoFs as BoFs, not Concluded WGs.
Fixes #1169.
 - Legacy-Id: 6635
2013-11-02 23:13:32 +00:00
Henrik Levkowetz 64145371c6 Merged [6624] from jmh@joelhalpern.com:
Added \'Last Call Issued:\' to front of last call atom feed entry subjects.
 - Legacy-Id: 6634
Note: SVN reference [6624] has been migrated to Git commit 139b886458
2013-11-02 23:09:18 +00:00
Henrik Levkowetz 7925223ef8 Merged [6622] from rjsparks@nostrum.com:
Refines Bill Fenner's regex based search through documents for references.
Populates RelatedDocument with relations for references for each type draft Document.
Replaces these reference relationships with updated copies on draft submission.

Note to deployer: There is a script to run in patches/fill_in_references.py that does the work of bringing the database up to date. It takes around 10 minutes to complete on a fast development laptop.

fixes bug #1173
 - Legacy-Id: 6633
Note: SVN reference [6622] has been migrated to Git commit a677a70df3
2013-11-02 23:04:28 +00:00
Henrik Levkowetz 782136bec2 Merged [6614] from markus.stenberg@iki.fi:
Took care of #841 by moving <span> correctly outside <a> altogether.
It used to be unbalanced:
 <a><span></a></span>, but now 
 <span><a></a></span>
 - Legacy-Id: 6632
Note: SVN reference [6614] has been migrated to Git commit b60865b3c5
2013-11-02 22:32:45 +00:00
Henrik Levkowetz feaa3310b4 Merged [6616] from jmh@joelhalpern.com:
Fix conflict review text for irtf docs to reference RFC 5743.
 - Legacy-Id: 6631
Note: SVN reference [6616] has been migrated to Git commit c936db32c0
2013-11-02 22:28:13 +00:00
Joel M. Halpern bb539aa0c2 Add document titles to status change request email. Fixes issue #1069.
- Legacy-Id: 6630
2013-11-02 22:25:15 +00:00
Timothy B. Terriberry 9ef29a323f Allow wgchairs to edit replaces relationships.
This actually allows anyone with can_edit_stream_info permission
to edit the list. This does draft name completion, but does not
currently filter those names for likely replacements. Styling is
also basically non-existent.

Fixes #1002
 - Legacy-Id: 6629
2013-11-02 22:20:58 +00:00
Henrik Levkowetz 0aba8663a5 Updated known-good agenda.csv master to match blankline elimination from template.
- Legacy-Id: 6628
2013-11-02 22:13:51 +00:00
Markus Stenberg 0d5a505697 Addressed #1074 - approved by mr. Kivinen.
- Legacy-Id: 6627
2013-11-02 22:13:43 +00:00
Suresh Krishnan 74c7230842 Fixed issue #1127. New behavior is
case: Only annotation tags changed -> Send annotation tags changed email (no state change mails)
case: Only comment changed -> *No emails*. Just add a history entry.
case: State changed -> Send state change emails. Include comments in the email if any were entered. If annotation tags were also changed, send a separate annotation tag change email.
 - Legacy-Id: 6626
2013-11-02 22:09:00 +00:00
Henrik Levkowetz a53cdd3c48 Took out unintentionally included newlines from the agenda.csv template.
- Legacy-Id: 6625
2013-11-02 21:58:55 +00:00
Joel M. Halpern 139b886458 Added "Last Call Issued:" to front of last call atom feed entry subjects.
- Legacy-Id: 6624
2013-11-02 21:56:40 +00:00
Henrik Levkowetz e32d83939f Merged [6613] from adam@nostrum.com:
Ticket #1153: Fixes IPR disclosures being counted multiple times and counting of \'not yet approved\' IPR disclosures.
 - Legacy-Id: 6623
Note: SVN reference [6613] has been migrated to Git commit b72c8a7cfd
2013-11-02 21:28:19 +00:00
Robert Sparks a677a70df3 Refines Bill Fenner's regex based search through documents for references.
Populates RelatedDocument with relations for references for each type draft Document.
Replaces these reference relationships with updated copies on draft submission.

Note to deployer: There is a script to run in patches/fill_in_references.py that does the work of bringing the database up to date. It takes around 10 minutes to complete on a fast development laptop.

fixes bug #1173
 - Legacy-Id: 6622
2013-11-02 21:11:07 +00:00
Robert Sparks e309ff92b3 Don't insert references to self.
Move the data filler from a migration to a standalone script
 - Legacy-Id: 6620
2013-11-02 20:59:43 +00:00
Henrik Levkowetz 049779e382 Merged [6612] from jmh@joelhalpern.com:
Add the last call expiration date to the document header,
and remove duplicate code for producing the iest state summary.
 - Legacy-Id: 6619
Note: SVN reference [6612] has been migrated to Git commit 5e00182ade
2013-11-02 20:33:18 +00:00
Henrik Levkowetz 84eee2e83c Extract the proper directory to combine with the relative path of the urlist diff master, instead of using getcwd() .
- Legacy-Id: 6618
2013-11-02 20:23:47 +00:00
Henrik Levkowetz 43c1b096dd Updated known-good files.
- Legacy-Id: 6617
2013-11-02 20:21:22 +00:00
Joel M. Halpern c936db32c0 Fix conflict review text for irtf docs to reference RFC 5743.
- Legacy-Id: 6616
2013-11-02 20:20:11 +00:00
Markus Stenberg b60865b3c5 Took care of #841 by moving <span> correctly outside <a> altogether.
It used to be unbalanced:
 <a><span></a></span>, but now 
 <span><a></a></span>
 - Legacy-Id: 6614
2013-11-02 19:56:16 +00:00
Adam Roach b72c8a7cfd Ticket #1153: Fixes IPR disclosures being counted multiple times and counting of "not yet approved" IPR disclosures.
- Legacy-Id: 6613
2013-11-02 18:42:11 +00:00
Joel M. Halpern 5e00182ade Add the last call expiration date to the document header,
and remove duplicate code for producing the iest state summary.
 - Legacy-Id: 6612
2013-11-02 18:31:13 +00:00
Henrik Levkowetz a5d86f1899 Don't tack on the scheme and host in the template; if this is needed, it's now done in get_absolute_url().
- Legacy-Id: 6611
2013-11-02 14:44:14 +00:00
Henrik Levkowetz f862b71c35 Set version info and settings back to development mode
- Legacy-Id: 6586
2013-10-31 18:13:10 +00:00
Henrik Levkowetz 0ff1e5d04d Set version info to release version 4.82 before branching.
- Legacy-Id: 6584
2013-10-31 18:13:05 +00:00
Henrik Levkowetz 13b6c7a983 Updated template and support functions for iPhone agenda page.
- Legacy-Id: 6582
2013-10-31 17:58:59 +00:00
Henrik Levkowetz 28a0d99d09 Merged [6580] from rjsparks@nostrum.com:
Reverted materials.html and the view that drives it to before the 4.70 merge.
Tweaked the view to get (I hope) the right things.
 - Legacy-Id: 6581
Note: SVN reference [6580] has been migrated to Git commit 7a84ffe197
2013-10-31 17:23:25 +00:00
Robert Sparks 7a84ffe197 Reverted materials.html and the view that drives it to before the 4.70 merge.
Tweaked the view to get (I hope) the right things.
 - Legacy-Id: 6580
2013-10-31 17:16:53 +00:00
Henrik Levkowetz 45b9b45f28 Removed a lot of dead code and unused imports.
- Legacy-Id: 6578
2013-10-30 21:51:13 +00:00
Henrik Levkowetz 1208ae708b Removed 2 tests which tested dead code.
- Legacy-Id: 6577
2013-10-30 21:33:10 +00:00
Henrik Levkowetz dc6d96797b Removed unused imports. Marked some instances of code which used variables that don't exist. Removed dependency on the logging module, we use syslog by default. Replaced some log.debug() calls with debug.log().
- Legacy-Id: 6576
2013-10-30 21:27:40 +00:00
Henrik Levkowetz 6c8802a3cc Needlessly fixed a naming error in meeting.proxy.
- Legacy-Id: 6575
2013-10-30 21:23:22 +00:00
Henrik Levkowetz adc5b130dc Fixed incorrect except statement syntax.
- Legacy-Id: 6574
2013-10-30 21:21:28 +00:00
Henrik Levkowetz 5f2da7ba9e Merged [6486] from rjsparks@nostrum.com:
Slightly more than minimal changes to have questionnaire reminders go only to those nominees who have accepted but have not yet sent in a questionnaire for a given position
 - Legacy-Id: 6573
Note: SVN reference [6486] has been migrated to Git commit 2a1b4c7775
2013-10-30 21:17:46 +00:00
Robert Sparks b18249222b Refines Bill Fenner's regex based search through documents for references.
Populates RelatedDocument with relations for references for each type draft Document.
Replaces these reference relationships with updated copies on draft submission.
Note to deployer: This migration takes around 10 minutes to complete on a fast development laptop.
 - Legacy-Id: 6572
2013-10-30 20:51:11 +00:00
Henrik Levkowetz c8e7a4a5d4 Updated test masters to match the changed (and now more predictable) order
of some entries.
 - Legacy-Id: 6538
2013-10-29 22:45:29 +00:00
Henrik Levkowetz 951670e9df New view code and templates for agenda pages, updating all agenda templates
to take schedule-specific information so that they will work with arbitrary
schedules, not just the official schedule for a meeting.
 - Legacy-Id: 6537
2013-10-29 22:44:13 +00:00
Henrik Levkowetz c61d1d1c2f Provided new methods Meeting.vtimezone() which return a vtimezone stanza for
ical files, based on the timezone setting for a meeting, fetched from a pre-
generated file; and Session.ical_status(), which provides a string appropriate
for use in ical STATUS: entries.
 - Legacy-Id: 6536
2013-10-29 22:30:38 +00:00
Henrik Levkowetz e89a272661 Changed the path to iCalendar vtimezone information to point into the release
directory, so that we can make updated vtimezone information available
directly in a release, instead of out-of-band.
 - Legacy-Id: 6535
2013-10-29 22:25:36 +00:00
Henrik Levkowetz 2e6fa148f3 Tweaked the testurl diff output text.
- Legacy-Id: 6534
2013-10-29 22:22:54 +00:00
Henrik Levkowetz bf75cd1bef Added a template filter to do required escaping in iCalendar pages.
- Legacy-Id: 6533
2013-10-29 22:20:51 +00:00
Henrik Levkowetz 04e3a48ae0 Added links to the individual nominee fedback pages to the
private nomcom index page, in order to make it easier to find
and look at the feedback for a filtered set of nominees.
 - Legacy-Id: 6532
2013-10-29 14:55:56 +00:00
Henrik Levkowetz 93826ae094 Fixed the case where the urlpattern regexp match gives us an ext which is None.
- Legacy-Id: 6502
2013-10-27 23:04:02 +00:00
Henrik Levkowetz 16ae35ae19 Rewrote html and text agenda templates to take schedule as data.
- Legacy-Id: 6495
2013-10-27 12:16:37 +00:00
Henrik Levkowetz da8c38f55d Tweaked the display of testurl.list diff failures against known-good masters.
- Legacy-Id: 6494
2013-10-27 10:03:43 +00:00
Henrik Levkowetz d8e3e32ee7 Set TEMPLATE_STRING_TO_INVALID to '' during testing.
- Legacy-Id: 6493
2013-10-27 10:02:21 +00:00
Henrik Levkowetz 239fa9762c Tweaked the utility script to find missing submission confirmation emails.
- Legacy-Id: 6492
2013-10-26 18:10:30 +00:00
Henrik Levkowetz 6928ff2927 Correct sequence typo.
- Legacy-Id: 6491
2013-10-26 15:32:04 +00:00
Ole Laursen 52583aa850 Add extra newline, forgot to commit that with previous commit
- Legacy-Id: 6489
2013-10-25 13:55:49 +00:00
Ole Laursen d202c65835 Add tests of document placement in the agenda
- Legacy-Id: 6488
2013-10-25 12:54:39 +00:00
Ole Laursen 9842eef405 For no good reason, agenda_data took request as first parameter, remove this as it makes testing harder
- Legacy-Id: 6487
2013-10-25 12:53:54 +00:00
Robert Sparks 2a1b4c7775 Slightly more than minimal changes to have questionnaire reminders go only to those nominees who have accepted but have not yet sent in a questionnaire for a given position
- Legacy-Id: 6486
2013-10-23 20:45:11 +00:00
Henrik Levkowetz e27e4dbb1f Changed the 'pipe' utility to work with commands taking input
on standard in, also when providing an emtpy string as input.
This is now different from providing 'None' as the input
argument, or omitting it.
 - Legacy-Id: 6485
2013-10-23 20:45:07 +00:00
Henrik Levkowetz 3863b0def3 Added another state to the possible IETFWG states in the group proxy models file, to avoid exceptions.
- Legacy-Id: 6484
2013-10-23 05:51:04 +00:00
Henrik Levkowetz 2dcb9bc39d Removed the ams_filters template tag file from the meeting app -- it was a copy of the ams_filters under secr/, and masked it.
- Legacy-Id: 6481
2013-10-22 19:01:18 +00:00
Henrik Levkowetz e3cf47d6ef Set version info and settings back to development mode
- Legacy-Id: 6480
2013-10-21 22:19:47 +00:00
Henrik Levkowetz 8c87d60c51 Set version info to release version 4.81 before branching.
- Legacy-Id: 6478
2013-10-21 22:19:43 +00:00
Henrik Levkowetz 56953d8027 Tweaked the email line lengths in the data migration.
- Legacy-Id: 6476
2013-10-21 22:09:59 +00:00
Henrik Levkowetz e3eeee53fb Renumbered unapplied migration.
- Legacy-Id: 6475
2013-10-21 21:51:21 +00:00
Henrik Levkowetz edcc97aded Merged in branch/amsl/1.50@6388 from rcross@amsl.com, with secretariat tool
announcement fixes, permission fixes, and agenda database schema fixes.
 - Legacy-Id: 6473
2013-10-21 20:29:15 +00:00
Henrik Levkowetz a7db9eec43 Require logins to be all-lowercase. This was prompted by repeated
trouble with people registering non-lowercase logins, then trying to
log in with all-lowercase, or vice versa.
 - Legacy-Id: 6472
2013-10-21 20:26:03 +00:00
Henrik Levkowetz d649fd5e10 Merged [6465] and [6466] from rjsparks@nostrum.com:
Added the ability to send reminders to complete questionnaires to nominees in
the accepted state.  Changed the send_reminders management command to not take
any arguments and run against all active nomcoms.  Removed bugs from the
send_reminders management command and added tests for it.  Adjusted several
dbtemplate titles and content.

Fixes bug 1157
 - Legacy-Id: 6471
Note: SVN reference [6465] has been migrated to Git commit 22f356434a

Note: SVN reference [6466] has been migrated to Git commit a461e6c4a4
2013-10-21 20:12:00 +00:00
Henrik Levkowetz 47071ecade Merged [6468] and [6469] from ejimenez@yaco.es:
Now incumbent can be None in positions.
Fixes #1156.
 - Legacy-Id: 6470
Note: SVN reference [6468] has been migrated to Git commit d4e37ac7a0d7fddc0317b0d95670a8de8cd32c2d

Note: SVN reference [6469] has been migrated to Git commit 0a315723ad6dd610d0c17e78edce2027b6868d4e
2013-10-21 17:07:09 +00:00
Robert Sparks a461e6c4a4 Missed adding the new migrations to the last commit - apologies
Commit ready to merge
 - Legacy-Id: 6466
2013-10-18 16:10:44 +00:00
Robert Sparks 22f356434a Added the ability to send reminders to complete questionnaires to nominees in the accepted state.
Changed the send_reminders management command to not take any arguments and run against all active nomcoms.
Removed bugs from the send_reminders management command and added tests for it.
Adjusted several dbtemplate titles and content.

Fixes bug 1157

Commit ready for merge
 - Legacy-Id: 6465
2013-10-18 16:08:37 +00:00
Henrik Levkowetz 11230a8448 Let Timeslot.session() Return the first session, rather than none, for
timeslots with multiple associated sessions for the public schedule.
 - Legacy-Id: 6464
2013-10-18 12:15:46 +00:00
Henrik Levkowetz 819b4c6087 Made the timeslots returned from meeting.proxy.MeetingTimeProxy.sessions()
distinct, to avoid duplicate agenda entries.
 - Legacy-Id: 6463
2013-10-18 12:14:26 +00:00
Henrik Levkowetz e9980b483f Made the timeslots sent to the agenda.ics template distinct, to avoid
duplicate agenda items.  Fixes issue #1155.
 - Legacy-Id: 6462
2013-10-18 11:59:15 +00:00
Henrik Levkowetz ee1ae839d9 Added caching for the somewhat costly TimeSlot.session() method/property.
This speeds up text agenda generation using the legacy template substantially.
 - Legacy-Id: 6461
2013-10-17 11:32:27 +00:00
Henrik Levkowetz a23d31677f Tweaked the strings displayed when a plenary agenda cannot be shown.
- Legacy-Id: 6460
2013-10-17 11:28:29 +00:00
Henrik Levkowetz 5807ad2108 Changed the select statement in MeetingProxy.sessions() to produce correct
results for the official agenda, and filter out timeslot entries without
scheduled sessions.
 - Legacy-Id: 6459
2013-10-17 11:27:45 +00:00
Henrik Levkowetz d2d532a015 Removed ADs from known-good master to match template change.
- Legacy-Id: 6457
2013-10-17 11:22:40 +00:00
Henrik Levkowetz 5614562b19 Remove the AD information from the text agenda until we fix the database so that
it displays consistently correctly for past meetings.
 - Legacy-Id: 6456
2013-10-17 11:20:23 +00:00
Ole Laursen 10dceef26d Refactor IESG agenda pages, put the agenda structure in a helper function in agenda.py, build the agenda up around this structure, and reuse this everywhere instead of duplicating the structure in various templates and the JSON view - this also fixes a couple of minor bugs where the copy-pasted copies were not entirely in sync
- Legacy-Id: 6454
2013-10-16 13:07:09 +00:00
Ole Laursen de2ed527b4 Fix indentation problem with ballot writeup in Secretariat telechat tool and fix problem with unescaped << and >>
- Legacy-Id: 6453
2013-10-16 12:04:27 +00:00
Henrik Levkowetz e33fe28a2c Reverted to release 4.72 versions of several functions and methods, starting
with agenda_info() and the view functions that use it.  Also changed
meeting/tests/agenda.py to accept matching return values.  Reverted old
supporting models and proxy models to 4.72 versions, too, in meeting/proxy.py
and proceedings/models.py.  Updated the proxy models which rely on TimeSlot
to work properly with the m2m sessions field, and adjusted some other
functions, such as session_agenda() to also understand the m2m sessions
field (and its reverse).  Added an understanding of the "bof-conc" state
to the code which returns 'BOF' or 'WG' for agenda templates.
 - Legacy-Id: 6452
2013-10-15 17:54:42 +00:00
Henrik Levkowetz ff403d07ef Reverted to release 4.72 versions of txt, ics, and csv agendas, with minor tweaks.
- Legacy-Id: 6451
2013-10-15 17:45:55 +00:00
Henrik Levkowetz 65d505edf3 Fixed some bugs in the method which saves a copy of a page which failed a
testurl diff test.
 - Legacy-Id: 6450
2013-10-15 17:37:30 +00:00
Henrik Levkowetz 6a9e9dac55 Changed 'WG' to 'BOF' for some sessions that actually were BOF sessions
in the csv agenda test master.
 - Legacy-Id: 6449
2013-10-15 17:34:54 +00:00
Henrik Levkowetz dfe81e6882 Add setting for where to save files which fail urltest diffs.
- Legacy-Id: 6448
2013-10-14 18:39:33 +00:00
Henrik Levkowetz b951a187a7 If we have a diff with a known-good master in a testurl.list file, save the
failed file for inspection.
 - Legacy-Id: 6447
2013-10-14 18:38:13 +00:00
Henrik Levkowetz bc0e4e5614 Tweaked the makefixture command to not recurse on reverse relationships.
- Legacy-Id: 6446
2013-10-14 18:36:20 +00:00
Henrik Levkowetz 6f6f1d65e6 Added known-good tests for agenda.ics and agenda.csv
- Legacy-Id: 6445
2013-10-14 18:34:36 +00:00
Henrik Levkowetz e5c5d4cafa Tweaked the return handling for urltest diffs.
- Legacy-Id: 6444
2013-10-13 23:43:50 +00:00
Henrik Levkowetz b5ac288167 Removed a test with duplicated name. Invoked timeslot method as method, to align with removed @property decorator.
- Legacy-Id: 6443
2013-10-13 21:14:46 +00:00
Henrik Levkowetz 036f31a397 Removed the agenda=83.txt test for real this time.
- Legacy-Id: 6442
2013-10-13 21:13:14 +00:00
Henrik Levkowetz ec05016585 Added a test assertion in the case of a failed urltest diff, to have the
test noticed as failed.
 - Legacy-Id: 6441
2013-10-13 21:12:23 +00:00
Henrik Levkowetz 7d4b1656bb Changed a test which changed a WG acronym, since this will (and should)
fail now -- we don't want to permit acronym changes.
 - Legacy-Id: 6440
2013-10-13 21:11:10 +00:00
Henrik Levkowetz a7838d8765 Cleanup action: replaced screaming html id with non-screaming version;
replaced the noTable block construct with start/end table_content blocks
in order to not have to open and close tables in different blocks, and
not have empty tables lying about.
 - Legacy-Id: 6439
2013-10-13 21:09:32 +00:00
Henrik Levkowetz 6d28eb180e Replaced the handcoded agenda-83.txt test with one using the testurl
framework, moving the known-good master to a name matching the others
mentioned in testurl.list.
 - Legacy-Id: 6438
2013-10-13 20:41:12 +00:00
Henrik Levkowetz e516dc7925 Reinstated the release 4.72 get_agenda_info() as legacy_get_agenda_info(),
and tweaked it to work with the new Timeslot model's sessions field.
Reverted the html agenda view code to use legacy_get_agenda_info(), based
on the release 4.72 code.  This is a fix to display the html agenda for
now, and will need more cleanup, but this should be done without introducing
scheduledsession instances to the template.
 - Legacy-Id: 6437
2013-10-13 17:59:42 +00:00
Henrik Levkowetz 9be2f712b8 Added a property method to return what the 'session' field used to return,
but based on the 'sessions' m2m field filtered with the meeting agenda.
This is right for the main meeting agenda, but not for personal schedule
layouts, so this isn't a final fix.
 - Legacy-Id: 6436
2013-10-13 17:54:59 +00:00
Henrik Levkowetz d3983b668a Reverted html agenda templates to release 4.72 state, except for a jquery
version change and moving inline weekview javascript to a separate file.
 - Legacy-Id: 6435
2013-10-13 17:52:09 +00:00
Henrik Levkowetz 256e033be3 Add known-good files for agenda.html and agenda-utc.html, and update
testurl.list to do comparisons against those.  Some tweaks are still
needed to filter out versions strings, etc.
 - Legacy-Id: 6434
2013-10-13 17:47:52 +00:00
Henrik Levkowetz 90e95e6f15 Repurpose the 'master' column in testurl.list files to point to a local
known-good master file, for comparisons.
 - Legacy-Id: 6433
2013-10-13 17:46:19 +00:00
Henrik Levkowetz 390309412f Changed the WG edit form so that once an acronym has been set, the acronym
field is read-only; also changed the form validation to not permit changes
to an existing acronym.
 - Legacy-Id: 6432
2013-10-12 15:33:54 +00:00
Henrik Levkowetz 422e5a438e Changed NOMCOM_FROM_EMAIL to be the Nomcom chair instead of the secretariat. Fixes issue #1152.
- Legacy-Id: 6431
2013-10-11 20:20:48 +00:00
Ole Laursen ec7e01481d Fix a potential bug with milestones_needing_review and ad-less groups
- Legacy-Id: 6430
2013-10-11 14:50:30 +00:00
Ole Laursen 87aaf4a47e Remove unused idtracker import from iesg/models.py
- Legacy-Id: 6429
2013-10-11 14:38:50 +00:00
Ole Laursen a17c07f282 Remove unused fixtures/sieve-charter.txt
- Legacy-Id: 6428
2013-10-11 14:37:11 +00:00
Ole Laursen 5f337e3c70 Remove obsolete testurl.list tests from IESG, the tests in
iesg/tests.py together with the test crawler has better coverage
 - Legacy-Id: 6427
2013-10-11 14:35:30 +00:00
Ole Laursen 5cf8d5af6a Area_Director -> Area Director in left_menu.html
- Legacy-Id: 6426
2013-10-11 14:33:46 +00:00
Ole Laursen b24a20d328 Add test for /iesg/discusses/
- Legacy-Id: 6425
2013-10-11 14:31:50 +00:00
Ole Laursen 1c8c87f88a Remove search for "IESG has approved and state has been changed to"
from state change doc event searches, these have been split up by a
migration and no longer exist
 - Legacy-Id: 6424
2013-10-11 13:19:07 +00:00
Ole Laursen 75a2c9ba0d Remove idwrapper compatibility code from ballot_icon.py
- Legacy-Id: 6423
2013-10-11 13:17:32 +00:00
Ole Laursen b3ed153015 Get rid of old in_group template tag, it's been superseded by has_role
- Legacy-Id: 6422
2013-10-11 13:13:23 +00:00
Ole Laursen b63c622564 Streamline a couple of doc helpers to prevent unnecessary DB lookups,
speeds up IESG discusses page up a fair bit
 - Legacy-Id: 6421
2013-10-11 13:07:16 +00:00
Ole Laursen b6c4f725b9 Fix accidental debug slicing in IESG discusses - of note is that the
discusses page now supports more than just I-Ds
 - Legacy-Id: 6420
2013-10-11 13:06:38 +00:00
Ole Laursen dcfe368f74 Streamline a couple of doc helpers to prevent unnecessary DB lookups,
speeds up IESG discusses page up a fair bit
 - Legacy-Id: 6419
2013-10-11 13:05:33 +00:00
Ole Laursen 1975ff27d0 Port IESG discusses to new schema
- Legacy-Id: 6418
2013-10-11 13:03:40 +00:00
Henrik Levkowetz 697dcc450a If an exception is raised earlier in field validation, the
position field may not be set when we get to this point and
try to retrieve the value of a different field than the one
we're processing. Don't cause a new exception in that case.
 - Legacy-Id: 6416
2013-10-11 12:31:50 +00:00
Henrik Levkowetz 3e668a1bca Merged [6413] from rjsparks@nostrum.com:
Removed redundant call to not_duplicated from the nomcom/private_index template

It was already applied in the view, and interacted badly with the 
list comprehension method of filtering for NomineePositions that 
had associated questionnaire responses.

Fixes bug 1151.
 - Legacy-Id: 6415
Note: SVN reference [6413] has been migrated to Git commit 3814b60c5d
2013-10-11 02:17:43 +00:00
Henrik Levkowetz e24f97550c Added Ryan to the admin list so he'll get 500 notifications.
- Legacy-Id: 6414
2013-10-11 02:11:33 +00:00
Robert Sparks 3814b60c5d Removed redundant call to not_duplicated from the nomcom/private_index template
It was already applied in the view, and interacted badly with the 
list comprehension method of filtering for NomineePositions that 
had associated questionnaire responses.

Fixes bug 1151

Commit ready for merge
 - Legacy-Id: 6413
2013-10-10 20:59:06 +00:00
Ole Laursen f6ff2a8082 Delete all old WGAction stuff, it's superceded by the WG charter
support, clean up iesg/models.py a bit
 - Legacy-Id: 6411
2013-10-10 16:12:34 +00:00
Ole Laursen 77aa4723bf Use the right path for other document types in
/iesg/agenda/telechat-YYYY-MM-DD-docs.tgz which now as a side-effect
of the port can bundle more than just drafts
 - Legacy-Id: 6410
2013-10-10 15:57:00 +00:00
Ole Laursen bfde86f52b Add support for status change in Document.get_file_path, ideally
someone would clean up the directory structure and we would transition
to something simpler
 - Legacy-Id: 6409
2013-10-10 15:54:32 +00:00
Ole Laursen 72cc997151 Add test for /iesg/agenda/telechat-YYYY-MM-DD-docs.tgz
- Legacy-Id: 6408
2013-10-10 15:53:24 +00:00
Ole Laursen 21b32e72a3 Port /iesg/agenda/telechat-YYYY-MM-DD-docs.tgz, use tarfile.addfile
and StringIO to avoid the temporary file
 - Legacy-Id: 6407
2013-10-10 11:12:13 +00:00
Ole Laursen a81af95500 Add simple test for /iesg/agenda/documents/
- Legacy-Id: 6406
2013-10-10 10:38:59 +00:00