Commit graph

2172 commits

Author SHA1 Message Date
Henrik Levkowetz 0736dec160 Only display intended std level names in use in the document edit form. Fixes #792.
- Legacy-Id: 4051
2012-03-07 09:54:21 +00:00
Ole Laursen d6baa38fe5 Fix problem with reading agenda files, generate it from the actual
agenda document rather than trying various combinations of extensions
and upper/lower case
 - Legacy-Id: 4046
2012-03-06 20:36:14 +00:00
Ole Laursen 140e4bef3f Fix bug in URL, week-view didn't work for /meeting/[somenumber]/agenda/ URLs
- Legacy-Id: 4045
2012-03-06 19:52:06 +00:00
Henrik Levkowetz 523c2ace54 Set version to 4.00.
- Legacy-Id: 4042
2012-03-06 18:30:42 +00:00
Henrik Levkowetz 1b75e4a878 Show links to mailing list archives on WG pages also if the URL starts with 'https:'.
- Legacy-Id: 4041
2012-03-06 18:13:06 +00:00
Ole Laursen 4633df8053 Clarify WG chair approval text based on feedback from Stephanie McCammon
- Legacy-Id: 4038
2012-03-06 16:53:16 +00:00
Ole Laursen b13b2f890e Consider BOFs to be proposed groups in the proxy when comparing with status_id
- Legacy-Id: 4037
2012-03-06 16:35:53 +00:00
Ole Laursen f1c9c7a8dc Return "irtf" as area for the IRTF group to mimic old system better
- Legacy-Id: 4036
2012-03-05 20:12:25 +00:00
Ole Laursen 3127cd0928 Clear the discuss text if the position isn't discuss as we may get
some unintended text submitted from the browser if the previous
position was discuss. Fixes #788.
 - Legacy-Id: 4035
2012-03-05 19:49:16 +00:00
Ole Laursen 2d640721a5 Refine meeting time proxy to skip session time slots with no session attached. Fixes #785.
- Legacy-Id: 4034
2012-03-05 19:28:12 +00:00
Ole Laursen 52a94ef54a Fix bug in __str__ on MeetingTimeProxy, probably harmless
- Legacy-Id: 4032
2012-03-05 18:47:25 +00:00
Ole Laursen 09281df150 Improve IETFWG proxy to take "bof" groups into account when querying for active groups and map "bof" to IETFWG.ACTIVE. Fixes 784.
- Legacy-Id: 4029
2012-03-05 17:36:06 +00:00
Ole Laursen 22cd30d8b1 Don't email people about soon-to-expire and expired drafts in IESG state
"Dead", also fix obscure __order__gte= query on states. Fixes #787.
 - Legacy-Id: 4028
2012-03-05 16:39:41 +00:00
Ole Laursen 6668404eb1 Set IESG state to RFC published if it was In RFC queue when syncing
with RFC Editor, and make sure we save a history object.
 - Legacy-Id: 4023
2012-03-02 17:58:42 +00:00
Ole Laursen 7747e3a836 Only trim ballot discusses/comments on the right side, not the left,
since some ADs are using the left-side for formatting, fixes #782.
 - Legacy-Id: 4022
2012-03-02 13:38:20 +00:00
Ole Laursen d8c6b6bd8e Turn id field into an AutoField (by relying on the implicit primary
key definition in Django)
 - Legacy-Id: 4021
2012-03-02 13:14:42 +00:00
Ole Laursen 4806a52de9 Improve Position proxy to return proxied ADs (with a functioning is_current_ad), fixes #782.
- Legacy-Id: 4018
2012-03-01 19:19:48 +00:00
Ole Laursen 679fd4f502 Fix bug in is_area_director_for_group
- Legacy-Id: 4017
2012-03-01 18:45:14 +00:00
Ole Laursen 8bfcced00f Add some more roles for use in the Secretariat tools (requested by
Ryan Cross)
 - Legacy-Id: 4016
2012-03-01 18:21:43 +00:00
Ole Laursen 117eac031a Be a bit more careful with handling the submitter info as well as it
turns out there are some (although apparently all old) entries with
author_order = 0
 - Legacy-Id: 4015
2012-03-01 18:06:38 +00:00
Ole Laursen 3ebee25c2a Handle users without a profile gracefully
- Legacy-Id: 4014
2012-03-01 17:47:02 +00:00
Ole Laursen 08a3ec7687 Work around problems if a document has two authors connected who's the
same person (fix the data issue rather than throwing an exception)
 - Legacy-Id: 4013
2012-03-01 17:18:37 +00:00
Ole Laursen 562773a081 Turn Group acronym into a SlugField, make the admin prepopulate the acronym
- Legacy-Id: 4012
2012-03-01 13:07:47 +00:00
Ole Laursen e784dc5786 Add blank=True to unused_states and unused_tags since they don't have
to be filled in
 - Legacy-Id: 4003
2012-02-29 16:06:37 +00:00
Ole Laursen 58c3c4fd6a Fix two (old) bugs in the HTML, doesn't appear to have had an effect
on the rendering, but nevertheless
 - Legacy-Id: 4001
2012-02-28 19:36:01 +00:00
Ole Laursen 85d00e2a06 Fix missing __unicode__ in IRTF proxy, it meant that the __unicode__
from Group was called instead
 - Legacy-Id: 3998
2012-02-28 19:32:41 +00:00
Ole Laursen 124b398729 Guard against None coming out of the draft parser, we need to convert
that into an empty string, fixes #775.
 - Legacy-Id: 3997
2012-02-28 18:37:22 +00:00
Ole Laursen 8723e7f60d Use Person.plain_name as token holder names in proxy, and also in the WGAction form, fixes #776.
- Legacy-Id: 3996
2012-02-28 18:11:57 +00:00
Ole Laursen dbf5e6ab84 Remove a bunch of old admin files, fix a couple of issues with the new ones, add admin for meeting
- Legacy-Id: 3995
2012-02-28 17:29:52 +00:00
Ole Laursen 65d3b28707 Make sure unique ids are unique by outputting the time slot ids rather
than "session + number of session in this meeting"
 - Legacy-Id: 3994
2012-02-28 14:38:01 +00:00
Ole Laursen 4b41139491 Turn user field on person into a raw field
- Legacy-Id: 3993
2012-02-28 14:36:37 +00:00
Ole Laursen 6afceb835e Port idindex to new schema, fixes #770.
- Legacy-Id: 3985
2012-02-27 18:46:27 +00:00
Ole Laursen 95fc209f6b Catch Ph.D. as suffix in name parser, fixes "Dr. Bernard D. Aboba Ph.D."
- Legacy-Id: 3984
2012-02-27 17:59:23 +00:00
Ole Laursen 0b3c475432 Fix bugfix to match the IRTF type in the new database
- Legacy-Id: 3983
2012-02-27 17:09:08 +00:00
Ole Laursen f46e96c7a1 Fix from Henrik to let RGs show up properly in the agenda
- Legacy-Id: 3982
2012-02-27 16:55:55 +00:00
Ole Laursen 6ee6b4bd9a Add missing "
- Legacy-Id: 3981
2012-02-26 21:51:16 +00:00
Ole Laursen 0144bcd05b Only set wg-doc on WG documents
- Legacy-Id: 3980
2012-02-26 21:32:24 +00:00
Ole Laursen cb1b56d912 Fix bug if we weren't able to deduce a stream
- Legacy-Id: 3979
2012-02-26 14:22:44 +00:00
Ole Laursen b9853c707c Add main handler so name_parts can be invoked from the command line,
incorporate fix from Henrik to get rid of (Foo Bar) ending
 - Legacy-Id: 3978
2012-02-25 22:16:33 +00:00
Ole Laursen 54b3497c65 Add back {% if user %} guard to prevent weird tracebacks on 500s
- Legacy-Id: 3977
2012-02-25 19:30:39 +00:00
Ole Laursen 8aab6b30a3 Bug fix from Henrik, missing d.
- Legacy-Id: 3976
2012-02-25 18:09:10 +00:00
Ole Laursen fb58c0d6f4 Don't show stream if we don't have any streams
- Legacy-Id: 3975
2012-02-25 14:52:36 +00:00
Ole Laursen f05bc8cf1f Add "Assigned to area" select box to individually submitted documents
in the AD edit form, change search to define area = doc.group or
doc.group.parent (so don't take AD into account), plus a bunch of
small tweaks to make a document with an area set as group behave like
an individually submitted document, at least for the time being (they
are presented as "Individual in xyz area" on their document page)
 - Legacy-Id: 3968
2012-02-25 01:48:33 +00:00
Ole Laursen 0909534588 Fix bug in test
- Legacy-Id: 3967
2012-02-25 01:41:05 +00:00
Ole Laursen 708c3a4df9 Look at intended_std_level instead of looking at the indefinite
article when determining document/protocol action status, also avoid
putting stuff in a list that has been taken directly by reference from
the settings
 - Legacy-Id: 3963
2012-02-24 16:55:53 +00:00
Ole Laursen 57e553ed04 Fix draft-foo dummy
- Legacy-Id: 3959
2012-02-24 15:52:59 +00:00
Ole Laursen ed4a38918d Add augment_with_start_time where start time is currently defined as
time of first revision
 - Legacy-Id: 3958
2012-02-24 14:29:51 +00:00
Ole Laursen 0107f67256 Try to be a little bit more robust in case people haven't filled in
the intended_std_level
 - Legacy-Id: 3954
2012-02-23 19:22:05 +00:00
Ole Laursen 3f22d78db8 Say "Intended RFC status" in edit form based on feedback
- Legacy-Id: 3952
2012-02-23 14:29:18 +00:00
Ole Laursen b46ebcb553 Sort ADs on last name
- Legacy-Id: 3951
2012-02-22 20:25:40 +00:00
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