Commit graph

67 commits

Author SHA1 Message Date
Ole Laursen 980d4e6444 Move new schema models from redesign/ to ietf/
- Legacy-Id: 3855
2012-01-24 17:17:24 +00:00
Ole Laursen e7e992b80e Add proxy for AreaGroup
- Legacy-Id: 3791
2012-01-04 14:57:04 +00:00
Ole Laursen 5a4c23ea92 Merge with trunk
- Legacy-Id: 3676
2011-11-21 16:41:21 +00:00
Ole Laursen 5d291f222c Remove .state and .*_state on Document in favour of generic states
mapping, port the codebase to use these states
 - Legacy-Id: 3660
2011-11-16 18:18:06 +00:00
Henrik Levkowetz fcf9bfb169 Admin tweaks to make it easier to look at document comments.
- Legacy-Id: 3637
2011-11-16 09:20:40 +00:00
Ole Laursen 5c5d534104 Add person foreign key on Role to link the role and person directly instead of through Email, this will allow us to use non-personal emails on roles
- Legacy-Id: 3418
2011-09-14 14:01:17 +00:00
Ole Laursen 132b4cb85b Fix .email() on PersonOrOrgInfo so it handles priority (only used on
import) and doesn't try to do a bad job at cleaning the address
 - Legacy-Id: 3324
2011-08-18 17:29:33 +00:00
Ole Laursen 12bd2f93d7 Port and proxy remaining meeting views, adjusting the models slightly
- Legacy-Id: 3296
2011-08-10 17:09:35 +00:00
Ole Laursen 67e317d535 Merged in changes from conversion branch fixing a couple of problems
- Legacy-Id: 3285
2011-08-04 15:09:54 +00:00
Henrik Levkowetz 8a83a38ac1 Some enhancements to the admin for IDInternal
- Legacy-Id: 3247
2011-07-23 21:13:48 +00:00
Henrik Levkowetz 63ec3f95b4 Tweak PersonOrOrgName.email() to handle non-ascii names a bit better.
- Legacy-Id: 3199
2011-07-23 12:04:34 +00:00
Ole Laursen 03bed41630 Merged in changes from the conversion branch
- Legacy-Id: 3187
2011-06-28 18:20:20 +00:00
Emilio A. Sánchez López 532b3ebe1f Add wgchair management links into document view. Fixes #665
- Legacy-Id: 3133
2011-05-18 06:48:24 +00:00
Henrik Levkowetz a142e89a87 Merged in branch branch/yaco/wgchairs from esanchez@yaco.es. This provides the WG Chair Tracker functionality.
- Legacy-Id: 3120
2011-05-11 20:27:12 +00:00
Henrik Levkowetz 1d6cca7255 Merged in changes from rjsparks@nostrum.com, changeset [3107]. Fixes issues #659, #660, #661, #662 and #663.
- Legacy-Id: 3109
Note: SVN reference [3107] has been migrated to Git commit 6484874ca2
2011-05-09 21:34:09 +00:00
Henrik Levkowetz 842b8f428f Merged branch/yaco/idsubmit@2903 from esanches@yaco.es to trunk: The Rewritten I-D Submission Tool.
- Legacy-Id: 3036
2011-04-07 20:29:45 +00:00
Henrik Levkowetz f0e20e2f30 Tweak the admin interface for WGs and Chairs, adding some useful links to the tabular displays.
- Legacy-Id: 2910
2011-03-24 10:11:55 +00:00
Emilio A. Sánchez López e2e11b82aa Place the edit state/stream action into the draft view. Show only actions allowed. Fixes #625
- Legacy-Id: 2897
2011-03-21 09:48:35 +00:00
Henrik Levkowetz 995f176eb1 Tweak the admin interface for emailaddress a bit.
- Legacy-Id: 2851
2011-02-11 14:24:55 +00:00
Emilio A. Sánchez López 21bccc85b7 Fixed bug in InternetDraft.save. Fixes #594
- Legacy-Id: 2844
2011-02-10 18:25:02 +00:00
Henrik Levkowetz 6a5e06a773 Tweak the admin site email address list using admin_link().
- Legacy-Id: 2796
2011-02-02 15:23:11 +00:00
Alexey Zarubin ebb962c012 Fixes #564
- Legacy-Id: 2695
2010-12-05 17:19:45 +00:00
Alexey Zarubin 21e73c9d37 Fixes #563
edit form. the url for this described with  '^(?P<name>[^/]+)/edit/managing-shepherd/$'
 - Legacy-Id: 2694
2010-12-02 20:34:50 +00:00
Alexey Zarubin 273ae03734 Fixes #562
creating migrations
 - Legacy-Id: 2693
2010-11-30 13:16:50 +00:00
Henrik Levkowetz c20d969eaf Merged [2673] from rjsparks@nostrum.com:
Refined the email sent when an position changes.
Added a helper to Position to get the current position description as a string This fixes issue #547.
 - Legacy-Id: 2674
Note: SVN reference [2673] has been migrated to Git commit 770429b398a9480a5367066d43d9c503d8fdae4a
2010-11-10 09:21:09 +00:00
Henrik Levkowetz 6d6d3aac51 Merged [2604] from rjsparks@nostrum.com: Added filename to the subject of Protocol Action and Document Action email messages.
Fixed a bug that was preventing CC/BCC from being honored. Fixes issue #528.
 - Legacy-Id: 2623
Note: SVN reference [2604] has been migrated to Git commit 4d27ae4d7a535fb7c9cb44dd0d486a0f5850b1b1
2010-11-06 08:44:42 +00:00
Henrik Levkowetz af72493157 Merged from log:sprint/79/suresh@2605: Suresh' addition of a search function for drafts on their respective mailing lists. Fixes issue #458.
- Legacy-Id: 2611
2010-11-06 06:27:06 +00:00
Henrik Levkowetz eafcdccd3d Merged from log:branch/iesg-tracker@2571: IOLA's port of cron-scripts.
- Legacy-Id: 2578
2010-10-26 14:49:12 +00:00
Henrik Levkowetz 266b7820d0 Merged from log:branch/2.00@2363: Current release branch head to trunk.
- Legacy-Id: 2365
2010-07-21 12:48:05 +00:00
Henrik Levkowetz fa77ac30d5 Merged r840 from branch/2.00 to trunk, and updated version information in ietf/__init__.py
- Legacy-Id: 841
2007-07-04 21:17:57 +00:00
Henrik Levkowetz cd030d3b43 Adding copyright notices to all python files
- Legacy-Id: 716
2007-06-27 21:16:34 +00:00
Bill Fenner 5ed1f62f35 If the announcement hasn't been sent, then use the "old"
algorithm of displaying the current IESG with empty positions
for those that haven't been cast yet; if it has been sent
then just list the actual positions that are recorded since
the database doesn't have any record of whether the positions
were for current or old ADs.
 - Legacy-Id: 636
2007-06-25 17:41:50 +00:00
Bill Fenner edb82f5d6c Implement revision_display for RFCs.
- Legacy-Id: 607
2007-06-22 01:43:00 +00:00
Bill Fenner 8749188880 Pseudo-documents need primary_flag=1 to get rendered as though
they're the primary in their document set.
 - Legacy-Id: 594
2007-06-21 18:54:12 +00:00
Bill Fenner dc0832af51 Chase the renaming of the areadirectors model to areadirector,
and thus the renaming of the auto-generated _set attribute.

Remove the areadirectors_set() function.
 - Legacy-Id: 555
2007-06-20 14:02:32 +00:00
Michael Lee 02cbe98a1f * Add javascripts to the first step
* Add a method areadirectors_set to idtracker/models.py
 * Edit templates to adopt same look and feel with the existing tool
 - Legacy-Id: 550
2007-06-20 05:21:48 +00:00
Bill Fenner e454f1e4db Filter IETFWG.choices() on type='WG'.
- Legacy-Id: 507
2007-06-18 21:18:21 +00:00
Bill Fenner ada5521a9f Sort states and substates by their ID in the model.
Use the right number of hyphens to separate the current ADs from
old ADs in the I-D Search form.
 - Legacy-Id: 374
2007-06-13 17:23:38 +00:00
Bill Fenner 2ad2219895 Implement DocumentWrapper class, which isn't a model but has enough
of the same API as IDInternal to allow the template to render it.

When fetching lists of document IDs, use values() to fetch only the
ID to reduce database overhead (and model object creation overhead)
 - Legacy-Id: 373
2007-06-13 17:21:22 +00:00
Bill Fenner 49ee9f8cd7 * Implement replaces and replaced_by in search_result_row and idinternal_detail. (This is almost repeating myself, except for slightly different formatting and different links.)
* Implement displayname_with_link() to go with filename_with_link().
* Implement idtracker backwards linkage in RFC model.
* Don't use unformat_textarea to display Note: - it hasn't been implemented, and seems to want to de-HTML stuff but we're displaying HTML
 - Legacy-Id: 320
2007-06-11 20:27:14 +00:00
Bill Fenner ea639f96c4 * Add filename_with_link to create links only for active documents
* Display document status if it's not Active
* Use revision_display in displayname()
* Check for DocumentComment.created_by flag value of 999
 - Legacy-Id: 317
2007-06-11 18:47:44 +00:00
Bill Fenner 178c5e13e0 * search_result_row.html no longer takes care of the ballot set rendering for you; you have to pass it the entire contents of the ballot set.
* Model and template changes to allow documents to report their name via doctype() to allow "Draft Name:" vs. "RFC Name:"
* Add parenthesis around the submission type to match the cgi
* Pass the whole ballot set to search_result_row from idinternal_detail
* Display only public comments in idinternal_detail
* Use comment.get_absolute_url instead of a relative URL.  (This fixes /idtracker/NNN/comment/YYY/ which wouldn't work)
* Add a search url to compare
* In view, when searching, don't filter for primary_flag=1, but do order by ballot and -primary_flag so that the results are grouped properly.
* Introduce public_comments() accessor which filters comments()
* Fix comments() to not use rfc_flag, to match the schema
* Order ballot_set() by -primary_flag so the results are grouped properly.
 - Legacy-Id: 312
2007-06-11 16:53:25 +00:00
Bill Fenner 2c247157a4 When searching for matching document comments, and rfc_flag is off,
the document_comments table can have either "0" or NULL, so the join
on comments.rfc_flag=self.rfc_flag was skipping the NULL ones.
 - Legacy-Id: 308
2007-06-11 11:04:38 +00:00
Bill Fenner 78cbaf497b A remnant of an inadvisable sweeping change that I made and (incompletely)
un-made snuck in.
 - Legacy-Id: 288
2007-06-10 13:54:48 +00:00
Bill Fenner 4fd0113345 Minor model tweaks:
* set null=True for AreaDirector.area and IETFWG.area_director.
* add filters, ordering, choices etc. for admin interface.
* add constant for "ACTIVE" in IETFWG.
 - Legacy-Id: 285
2007-06-10 13:36:01 +00:00
Bill Fenner e851dbac27 Create mailing list domains table and idtracker Roles model.
Add fixtures to populate IAD into Roles and existing domains
and authorizers into mailinglists_domains.  (The Roles fixture
will become wrong when we get a new IAD so should be removed
after the production database has this value.)
 - Legacy-Id: 255
2007-06-07 17:58:06 +00:00
Henrik Levkowetz 03c18bd33d Fixing a bunch of nits pyflakes were complaining about, in order to get a clean run. There are still at least 2 cases of using undefined values which needs scrutiny.
- Legacy-Id: 235
2007-06-05 16:58:58 +00:00
Bill Fenner 4a5c6b5c57 Create I-D Search form, with field names matching the old search
form, to allow bookmarked searches to continue to work.
 - Legacy-Id: 200
2007-06-01 02:05:00 +00:00
Bill Fenner b5ce6e375c Extensive updates of idtracker.
ballot sets are now (hopefully) treated properly, except for the
row coloring.  They're also included in the "view_id" view.

Search is re-done, it turns out that using draft__<anything> means
that RFCs won't be matched, so build lists of possibly-matching
RFCs and I-Ds and pass them through.  This applies to filename,
group and rfc number.
 - Legacy-Id: 190
2007-05-31 19:24:26 +00:00
Bill Fenner 5f4d99a36a Implement status_of_items and last_call.
(Oddly, this status_of_items shows more than the cgi one; I can't
explain why.  Also, the cgi one showed the wrong intended status
for RFCs, and the wrong area for several documents.)
 - Legacy-Id: 186
2007-05-30 21:09:17 +00:00