Commit graph

2172 commits

Author SHA1 Message Date
Ole Laursen 4566bd7941 Fix IDState wrapper to fix the /idtracker/help/state/ page
- Legacy-Id: 3949
2012-02-22 18:08:21 +00:00
Ole Laursen d8087ce05c Use "(None)" rather than None for empty labels
- Legacy-Id: 3948
2012-02-22 17:02:32 +00:00
Ole Laursen dbbc064cb4 Add order and description to stream names
- Legacy-Id: 3947
2012-02-22 16:12:57 +00:00
Ole Laursen ea78c5846a Fix some corner cases in area search
- Legacy-Id: 3946
2012-02-22 15:31:15 +00:00
Ole Laursen 65c16409f6 Add labels for std_level abbreviations
- Legacy-Id: 3945
2012-02-22 12:59:44 +00:00
Ole Laursen 6c592c7cc6 Catch "IESG process started in state" state change too for figuring
out the state date
 - Legacy-Id: 3944
2012-02-22 11:08:43 +00:00
Ole Laursen 1e9920fac1 Remove debug print
- Legacy-Id: 3943
2012-02-22 11:00:58 +00:00
Ole Laursen feb4f93dc6 Import new_revision events for the non-draft document types, this will
allow a more generic document history page; this will be important for
charters, less important for other types, but might as well get it
right from the beginning
 - Legacy-Id: 3940
2012-02-21 16:50:17 +00:00
Ole Laursen 01afd80e76 Fix get_charter_text which wasn't actually working
- Legacy-Id: 3937
2012-02-17 20:25:11 +00:00
Ole Laursen 0b5b5e65d9 Add get_charter_text helper for groups
- Legacy-Id: 3936
2012-02-17 20:21:29 +00:00
Ole Laursen 6a128b0250 Merge in patch from Ryan Cross for supporting meeting materials type
in get_absolute_url, currently pointing to the actual item instead of
the corresponding /doc/ page
 - Legacy-Id: 3935
2012-02-17 17:43:50 +00:00
Ole Laursen 793bb146c9 Expand send ballot comment test to check discuss too, fix bug where it
was testing pos directly instead of pos_id
 - Legacy-Id: 3931
2012-02-16 16:42:11 +00:00
Ole Laursen 724067aa89 Sort documents on agenda on when an IESG process was started on them
- Legacy-Id: 3930
2012-02-16 16:31:01 +00:00
Ole Laursen 9c06587c74 Refactor search logic to trigger with jQuery instead of inserting
attributes directly, moving it to a separate JS file; fixes a bug in
the new schema
 - Legacy-Id: 3927
2012-02-15 15:15:33 +00:00
Ole Laursen 1756491cf1 Add .distinct() to inactive ads to fix duplicate problem that was probably
introduced with pre-ADs
 - Legacy-Id: 3926
2012-02-15 13:38:18 +00:00
Ole Laursen 5382b31ab2 Fix problem with incomplete proxying in IESG scribe template, found by
John Leslie
 - Legacy-Id: 3925
2012-02-15 13:23:49 +00:00
Ole Laursen 29366bf963 Add default = 0 to requested_duration to accomodate non-requested
sessions and improve __unicode__ for interim meetings
 - Legacy-Id: 3924
2012-02-15 13:21:32 +00:00
Ole Laursen b6f0fa8af3 Filter out interim meetings for the time being in the proxy
- Legacy-Id: 3921
2012-02-10 19:36:46 +00:00
Ole Laursen 480cb04cd6 Save announcements generated by the system as Messages, adding an
extra relation to be able to associate a draft with the message
 - Legacy-Id: 3917
2012-02-08 21:05:28 +00:00
Ole Laursen 1b1cb2f3b5 Fix missing import noticed by Ryan Cross
- Legacy-Id: 3916
2012-02-08 20:05:52 +00:00
Ole Laursen 9467d53142 Fix to-logic in generation of approval mail via RFC Editor
- Legacy-Id: 3915
2012-02-08 14:05:33 +00:00
Ole Laursen cf394bf9ca Add test of generating approval announcement for IRTF
- Legacy-Id: 3914
2012-02-08 13:48:56 +00:00
Ole Laursen dce5197248 Fix bug in generating approval announcement for IRTF
- Legacy-Id: 3913
2012-02-08 13:48:32 +00:00
Ole Laursen af071fd142 Fix issue with draft approval emails for individual submission, found by Cindy Morgan
- Legacy-Id: 3912
2012-02-08 13:15:32 +00:00
Ole Laursen 46139d2486 Fix up DocEvent admin
- Legacy-Id: 3911
2012-02-08 12:31:00 +00:00
Ole Laursen 8153552ed5 Remove unneeded use of DocumentProxy.agenda
- Legacy-Id: 3910
2012-02-08 12:20:41 +00:00
Ole Laursen 12eaebbe09 Only claim a document is on the agenda if it is on the schedule for a
current or future telechat
 - Legacy-Id: 3909
2012-02-08 11:45:51 +00:00
Ole Laursen 36b8310f43 Add link to management items for Secretariat at request of Cindy Morgan
- Legacy-Id: 3908
2012-02-08 11:24:23 +00:00
Ole Laursen 978e2d69ff Remember to pass in the substate as initial value in the change state edit view
- Legacy-Id: 3906
2012-02-07 16:49:37 +00:00
Ole Laursen 3baed43600 Move call for adoption documents from the main group to related
documents on the WG page
 - Legacy-Id: 3905
2012-02-07 16:33:35 +00:00
Ole Laursen 320a79fa0d Change wording for called-for-adoption WG documents to explain it's a candidate
- Legacy-Id: 3904
2012-02-07 15:44:00 +00:00
Ole Laursen 5d9ea97e8e Bump revision number
- Legacy-Id: 3902
2012-02-06 10:57:59 +00:00
Ole Laursen d43159cd90 Add support for incoming ADs with a new "pre-ad" role
- Legacy-Id: 3900
2012-02-03 16:22:31 +00:00
Ole Laursen 93e96e7567 Fix proxy to take combined draft/RFCs with two ballots into account when returning the ballot
- Legacy-Id: 3897
2012-02-02 20:10:06 +00:00
Ole Laursen d8c546ec21 Cap ballots at latest ballot initation in active_ballot_positions
- Legacy-Id: 3896
2012-02-02 19:58:19 +00:00
Ole Laursen 6b75ce8e6b Fix problem with URL reversal when models are used in another project
- Legacy-Id: 3892
2012-02-02 14:58:36 +00:00
Ole Laursen 99386413af Change TYPE_CHOICES to be integers to match the actual model type
- Legacy-Id: 3890
2012-02-01 19:14:45 +00:00
Ole Laursen 29df970cbb Fix RoleAdmin.search_fields to search for the actual contents on
related models instead of the models themselves
 - Legacy-Id: 3889
2012-02-01 17:32:36 +00:00
Ole Laursen 8cff77e947 Fix backwards-incompatible problem with cycle in Django 1.2
- Legacy-Id: 3888
2012-02-01 17:05:15 +00:00
Ole Laursen 15474ed2f2 Add .distinct() on queryset to fix draft showing up twice
- Legacy-Id: 3884
2012-01-31 17:55:54 +00:00
Ole Laursen 987f91ccd3 Restore Working Group links that were commented out from charter
branch merge
 - Legacy-Id: 3880
2012-01-31 11:55:18 +00:00
Ole Laursen 13aed82a0e More import path fixes from Henrik
- Legacy-Id: 3877
2012-01-30 19:05:27 +00:00
Ole Laursen 6ae3a906b1 Use request.get_host rather than hardcoded server name
- Legacy-Id: 3876
2012-01-30 19:04:00 +00:00
Ole Laursen f999045c49 Fix import paths to include ietf.
- Legacy-Id: 3874
2012-01-30 17:26:07 +00:00
Ole Laursen 1fc978e9fe Fix so that Secretariat can also adopt documents when other people can
- Legacy-Id: 3873
2012-01-30 17:20:12 +00:00
Ole Laursen fd0b52df49 Add db_index to IdApprovedDetail.filename too
- Legacy-Id: 3871
2012-01-26 22:18:53 +00:00
Ole Laursen 172f209112 Add db_index to IdSubmissionDetail.filename
- Legacy-Id: 3870
2012-01-26 22:16:48 +00:00
Ole Laursen a2f29f8139 Fix redirect on adoption
- Legacy-Id: 3869
2012-01-26 21:30:06 +00:00
Ole Laursen 6079c17d79 Fix test
- Legacy-Id: 3868
2012-01-26 21:15:23 +00:00
Ole Laursen 65e5298630 Be more careful in handling Document.stream now that it can be null
- Legacy-Id: 3865
2012-01-26 13:28:02 +00:00
Ole Laursen da625e5db3 Order messages in reverse time in admin
- Legacy-Id: 3859
2012-01-25 15:16:28 +00:00
Ole Laursen 2df0811f3b Actually add the message app
- Legacy-Id: 3857
2012-01-24 17:42:19 +00:00
Ole Laursen 89314a0760 Move new message models from announcements to a new message app
- Legacy-Id: 3856
2012-01-24 17:36:13 +00:00
Ole Laursen 980d4e6444 Move new schema models from redesign/ to ietf/
- Legacy-Id: 3855
2012-01-24 17:17:24 +00:00
Ole Laursen 819395928e Be more conservative in estimating the stream, for individual
submissions we should not set a stream but let it be decided later on
 - Legacy-Id: 3853
2012-01-24 13:19:25 +00:00
Ole Laursen 8d6bcc8ff5 Fix adoption test to unset the stream, fix bugs with non-stream drafts
- Legacy-Id: 3852
2012-01-24 13:11:03 +00:00
Ole Laursen 9cd0113da5 Fix stream state label
- Legacy-Id: 3851
2012-01-24 12:30:22 +00:00
Ole Laursen fc88964298 Go through the code and replace uses of Person.name with Person.plain_name()
- Legacy-Id: 3849
2012-01-23 20:22:45 +00:00
Ole Laursen 9a18341f2a Add unique=True to Meeting
- Legacy-Id: 3847
2012-01-23 10:53:01 +00:00
Ole Laursen a405b3e41f Fix bad link
- Legacy-Id: 3846
2012-01-20 20:29:38 +00:00
Ole Laursen 252513679d Don't assign independent IETF submission to the ISE stream
- Legacy-Id: 3845
2012-01-20 18:45:30 +00:00
Ole Laursen 9d77c09f10 Independent submissions are IETF track drafts with group set to Individual
- Legacy-Id: 3844
2012-01-20 18:39:44 +00:00
Ole Laursen 05c664423c Don't output the time part of the ballot timestamps
- Legacy-Id: 3843
2012-01-20 16:38:31 +00:00
Ole Laursen 76e4c0054e Fix bug
- Legacy-Id: 3842
2012-01-20 16:32:44 +00:00
Ole Laursen 5554f3ab1b Fix missing .all
- Legacy-Id: 3841
2012-01-20 16:21:11 +00:00
Ole Laursen 0f6053166e Fix outputted groups in JS
- Legacy-Id: 3840
2012-01-20 16:18:03 +00:00
Ole Laursen d16a5ea46a Fix bug
- Legacy-Id: 3839
2012-01-20 15:07:25 +00:00
Ole Laursen 0ba03ecb72 Fix start IESG process test to be more robust
- Legacy-Id: 3838
2012-01-20 15:07:08 +00:00
Ole Laursen 5fa8d71303 Autogenerate approval text if it's not there rather than requiring it
to be generated (noticed by Robert Sparks)
 - Legacy-Id: 3836
2012-01-20 14:21:24 +00:00
Ole Laursen 6a2e04adb8 Set SUBMISSION_CORRECTION_DAYS to 52 from suggestion by Ryan
- Legacy-Id: 3835
2012-01-20 12:45:32 +00:00
Ole Laursen a8650d4d33 Use ISO date format as default date format (Django 1.2 is using a more
humane format by default)
 - Legacy-Id: 3834
2012-01-20 11:22:25 +00:00
Ole Laursen 39d5945bb5 Fix URL pattern
- Legacy-Id: 3828
2012-01-19 13:29:05 +00:00
Ole Laursen fa09416ba4 Delete the "the" in submitted by the X
- Legacy-Id: 3827
2012-01-19 13:24:07 +00:00
Ole Laursen 5e39ea2e63 Fix bug with IPR search select box
- Legacy-Id: 3826
2012-01-19 13:20:45 +00:00
Ole Laursen e20a96333a Fix bug with attachment URLs, make the proxy slightly more future proof
- Legacy-Id: 3825
2012-01-19 13:03:59 +00:00
Ole Laursen 85b036e456 Only output stream tags in get_annotation_tags_for_draft
- Legacy-Id: 3824
2012-01-19 12:05:34 +00:00
Ole Laursen 7971354775 Hide stream state info unless we actually have a stream state
- Legacy-Id: 3823
2012-01-19 12:00:24 +00:00
Ole Laursen 04bce10521 Add History tab at /wg/[acronym]/ page, move group history entries
from charter to this page
 - Legacy-Id: 3818
2012-01-17 16:10:14 +00:00
Ole Laursen 923239a5dc Clean up old draft files when submitting a new draft
- Legacy-Id: 3811
2012-01-13 16:38:00 +00:00
Ole Laursen f49701c9d3 Commit some files missing from the ChangeStateGroupEvent update
- Legacy-Id: 3810
2012-01-13 13:20:28 +00:00
Ole Laursen 44c78762e8 Don't add fake expire notices with the new schema
- Legacy-Id: 3808
2012-01-13 13:09:03 +00:00
Ole Laursen f02b860e4d Fix bug introduced with generic states
- Legacy-Id: 3806
2012-01-13 12:21:08 +00:00
Ole Laursen 87e87cfc98 Fix bugs in expire tests
- Legacy-Id: 3805
2012-01-13 11:32:15 +00:00
Ole Laursen 2021a0330d Replace individual state change event types with an all-encompassing
ChangeStateGroupEvent
 - Legacy-Id: 3804
2012-01-12 18:26:45 +00:00
Ole Laursen dceedbf53d Remove tombstone support from the code, importing drafts with their
version number unhacked
 - Legacy-Id: 3803
2012-01-12 16:50:26 +00:00
Ole Laursen 06b1ecf90c Skip testLogin test which is interfering with the now obsolete permission app
- Legacy-Id: 3802
2012-01-12 14:29:23 +00:00
Ole Laursen f3685e7af1 Turn expiration into an explicit expires attribute on document, set
that on submission of new revision and resurrection
 - Legacy-Id: 3801
2012-01-12 12:03:45 +00:00
Ole Laursen 31aef86164 Merge charter branch with the UI hooks disabled for the time being
- Legacy-Id: 3800
2012-01-11 15:04:13 +00:00
Ole Laursen 0745a1f08b Use TelechatDate rather than TelechatDates in new form
- Legacy-Id: 3799
2012-01-11 13:43:30 +00:00
Ole Laursen f3a26cc3fa Move import to fix backwards-compat
- Legacy-Id: 3796
2012-01-05 15:31:14 +00:00
Ole Laursen f4b6dac81f Import telechat dates from the "telechat" table
- Legacy-Id: 3794
2012-01-04 18:02:04 +00:00
Ole Laursen 47df26af65 Remove unused code
- Legacy-Id: 3793
2012-01-04 16:58:41 +00:00
Ole Laursen e7e992b80e Add proxy for AreaGroup
- Legacy-Id: 3791
2012-01-04 14:57:04 +00:00
Ole Laursen 2f00c3028f Don't use IDDates in new schema, use dates from Meeting
- Legacy-Id: 3790
2011-12-23 20:46:49 +00:00
Ole Laursen 3eee538db0 Port _get_versions helper to new schema
- Legacy-Id: 3788
2011-12-23 17:08:50 +00:00
Ole Laursen 612c6db6cd Fix bug in SELECT_CHOICES relying on Django not actually converting the database data to integers
- Legacy-Id: 3787
2011-12-23 16:47:38 +00:00
Ole Laursen 9ae5f6a456 Make test runner multi-DB-aware
- Legacy-Id: 3786
2011-12-23 13:15:27 +00:00
Ole Laursen 010ca9362e Swap names so legacy is called "ietf" and new is "ietf_new"
- Legacy-Id: 3784
2011-12-23 13:11:05 +00:00
Ole Laursen 99175b583e Port NOMCOM announcement sitemap
- Legacy-Id: 3782
2011-12-23 12:41:35 +00:00
Ole Laursen 79fe54e8df Fix legacy table which isn't
- Legacy-Id: 3779
2011-12-22 19:16:10 +00:00
Ole Laursen 0dabaf96fb Split database into current and legacy, adding importer to copy reused
tables from legacy to new through Django (with minimal cleaning to
have the import go through) and removing migrations from submit and
liaisons as they interfere with the clean slate of the new database,
adjusting IPR model to add null=True on fields with nulls in the
database
 - Legacy-Id: 3778
2011-12-22 18:34:19 +00:00
Ole Laursen 5079d60eba Adjust test to recent person importer changes
- Legacy-Id: 3777
2011-12-21 19:12:48 +00:00
Ole Laursen de0fc12ce8 Port telechat dates
- Legacy-Id: 3774
2011-12-20 13:12:12 +00:00
Ole Laursen 498dc38507 Port to Django 1.2, replacing built-in patched Django with Django 1.2.7 (with patches applied on top) and replacing South with South 0.7.3
- Legacy-Id: 3773
2011-12-15 14:13:54 +00:00
Ole Laursen 2d521ee92b Fix some bugs in materials page after meeting refactor
- Legacy-Id: 3772
2011-12-14 17:28:54 +00:00
Ole Laursen eac8676c12 Fix bug in resurrection role rewrite, was missing a line
- Legacy-Id: 3770
2011-12-14 15:36:25 +00:00
Ole Laursen 7c36e78415 Fix some bugs from the recent meeting refactor
- Legacy-Id: 3769
2011-12-14 15:27:45 +00:00
Ole Laursen 02809ffbf1 Model non-group-meeting sessions with sessions (by extending it with a
name), as a consequence, drop the "other" time slot category and
remove materials on time slots
 - Legacy-Id: 3754
2011-12-09 13:45:05 +00:00
Ole Laursen f74890aec4 Adjust to handle the slightly revamped email_address() on person
- Legacy-Id: 3750
2011-12-07 19:26:53 +00:00
Ole Laursen 43fe4d87fa Fix use of email_address() in nomcom view
- Legacy-Id: 3749
2011-12-07 19:17:05 +00:00
Ole Laursen ef5aff7b1a Use role email for resurrection requests
- Legacy-Id: 3748
2011-12-07 18:56:55 +00:00
Ole Laursen 2c81e8d1ed Add support for not-meeting meeting sessions
- Legacy-Id: 3744
2011-12-07 11:52:18 +00:00
Ole Laursen 3ed02196d7 Fix some instances where we use a non-role email for ADs in spite of them acting as ADs
- Legacy-Id: 3741
2011-12-06 14:01:44 +00:00
Ole Laursen 2c374d93db Move meeting submission constants to settings
- Legacy-Id: 3737
2011-12-01 12:02:32 +00:00
Ole Laursen 1c0d859a80 Fix problem with __unicode__ on Constraint (spotted by Ryan Cross)
- Legacy-Id: 3735
2011-11-30 17:20:03 +00:00
Ole Laursen af8c1b4bf8 Revamp comment handling on state changes slightly, reenable changing
substate in the IESG state interface (modeled with tags)
 - Legacy-Id: 3725
2011-11-29 18:46:42 +00:00
Ole Laursen 79ea179ff9 Comment out verbose mail server debug output for the time being
- Legacy-Id: 3719
2011-11-28 17:52:27 +00:00
Ole Laursen e866d9d8a9 Fix name of cookie
- Legacy-Id: 3718
2011-11-28 17:50:29 +00:00
Ole Laursen 03d1877802 Interpret settings.EMAIL_COPY_TO="" as "don't send a copy"
- Legacy-Id: 3717
2011-11-28 17:21:29 +00:00
Ole Laursen b114e5e6cf Add simple view for setting testemailcc cookie when server is in test mode
- Legacy-Id: 3716
2011-11-28 17:19:45 +00:00
Ole Laursen 8153a1c130 Patch up to pass request object to send mail in the instances where
it's possible (i.e. when not run in cron) in preparation for better
mail test handling
 - Legacy-Id: 3711
2011-11-25 18:24:14 +00:00
Ole Laursen 1a1476fa01 Remove unused import
- Legacy-Id: 3710
2011-11-25 15:47:22 +00:00
Ole Laursen f5ae4a0496 Add warning comment
- Legacy-Id: 3709
2011-11-25 15:44:25 +00:00
Ole Laursen 13cec30f07 Fix bug in StreamedId proxy
- Legacy-Id: 3708
2011-11-25 13:29:07 +00:00
Ole Laursen a8e219e16a Rename DocStreamName to StreamName, they're not really doc-specific
- Legacy-Id: 3707
2011-11-25 12:25:35 +00:00
Ole Laursen ca9dd9b61a Fix bug with states
- Legacy-Id: 3703
2011-11-24 16:37:58 +00:00
Ole Laursen ea4e79cacb Fix empty_outbox to actually work as intended when outbox is imported elsewhere
- Legacy-Id: 3702
2011-11-24 16:36:19 +00:00
Ole Laursen 7f8df2edf1 Fix problem with the name-based URL for showing AD documents
introduced with the import-whole-names change
 - Legacy-Id: 3701
2011-11-24 15:46:46 +00:00
Ole Laursen 4d47f34a0d Fix bug introduced with generic states
- Legacy-Id: 3698
2011-11-24 11:46:26 +00:00
Ole Laursen bca620d500 Add roles useful for Secretariat tools (patch by Ryan Cross)
- Legacy-Id: 3697
2011-11-24 11:34:44 +00:00
Ole Laursen 6d74a91e05 Add IANA group and import IANA roles
- Legacy-Id: 3696
2011-11-24 11:33:50 +00:00
Ole Laursen ca2168cbce Fix bug in test
- Legacy-Id: 3695
2011-11-24 10:50:34 +00:00
Ole Laursen 9a8b9ea857 Fix merge bug
- Legacy-Id: 3693
2011-11-24 10:41:34 +00:00
Ole Laursen eaf1ca34ee Fix some bugs in the trunk merge found through the automated tests
- Legacy-Id: 3692
2011-11-23 18:49:07 +00:00
Ole Laursen d45952b26b Fix changed URL after introduction of generic states
- Legacy-Id: 3691
2011-11-23 18:02:35 +00:00
Ole Laursen d4b296c5cf Fix bug, make sure user is authenticated before trying to see if he's
got any roles
 - Legacy-Id: 3690
2011-11-23 17:58:06 +00:00
Ole Laursen 752fbf58e3 Fix missing in stream delegate template
- Legacy-Id: 3688
2011-11-22 21:16:35 +00:00
Ole Laursen 367d6b2116 Port recently merged stream delegate management in ietfworkflows to new schema
- Legacy-Id: 3687
2011-11-22 21:15:49 +00:00
Ole Laursen 576b2bacce Fix annoying bug with the stream list in the menu that made it bail
out with a mysterious traceback on 500s
 - Legacy-Id: 3686
2011-11-22 20:53:18 +00:00
Ole Laursen 2b4f6f3751 Import is_secretariat directly from liaisons
- Legacy-Id: 3685
2011-11-22 20:51:27 +00:00
Ole Laursen 227a426bfd Fix merge-related bug
- Legacy-Id: 3684
2011-11-22 18:59:56 +00:00
Ole Laursen fb083da243 Fix bug in is_authorized_in_draft_streamREDESIGN
- Legacy-Id: 3682
2011-11-22 18:18:09 +00:00
Ole Laursen a04d36e46f Merge changes from trunk into wg-dir template
- Legacy-Id: 3681
2011-11-22 17:55:03 +00:00
Ole Laursen 2253be2c8f Fix missing revision numbers
- Legacy-Id: 3680
2011-11-22 16:04:50 +00:00
Ole Laursen 5a4c23ea92 Merge with trunk
- Legacy-Id: 3676
2011-11-21 16:41:21 +00:00
Ole Laursen e3596842dd Improve the layout slightly
- Legacy-Id: 3673
2011-11-18 13:38:50 +00:00
Henrik Levkowetz 70ad270dff Add tooltip with AD name over AD-indicating colour square on WG list page. Tweak the style a bit.
- Legacy-Id: 3669
2011-11-18 05:09:57 +00:00
Ole Laursen f7f3e8b14a Update comments
- Legacy-Id: 3668
2011-11-17 15:24:33 +00:00
Ole Laursen 9c639b3630 Add materials state types, import WgProceedingActivities events for uploads
- Legacy-Id: 3667
2011-11-17 15:12:29 +00:00
Ole Laursen 8e7ab0b8d2 Add stream to select_related
- Legacy-Id: 3666
2011-11-17 15:11:12 +00:00