Commit graph

157 commits

Author SHA1 Message Date
Henrik Levkowetz f6c80779f9 Added various things which lets us use Django's messages framework to give feedback to users. This includes adding the messages middleware in settings.py, adding a message display are at the top of the page base template, and adding style setting for message display.
- Legacy-Id: 4964
2012-10-30 13:28:24 +00:00
Henrik Levkowetz c90a26ca50 Merged [4772] from rjsparks@nostrum.com:
Liasion Manager:
* Patch from Yaco to avoid resetting the From field when changing other items on the form
* Gave the secretariat the ability to find/approve any unapproved liaisons
* Changed all the email code to use ietf.mail.utils (and removed the fake-mail concept)

Charter documents and the Agenda pages:
* Added charter documents to iesg/agenda and iesg/agenda/documents
* Synced the ordering of drafts on iesg/agenda and iesg/agenda/documents
* Allow setting a responsible AD for charter documents
* Changed the UI of the charter page to use editlink for changing attributes and buttons for actions (to align with drafts and conflict-reviews)

Moderator package:
* Refactor: Simplified access to the current BallotDocEvent from a Document
* Added functions to BallotDocEvents? to faciliate access to BallotPositionDocEvents?, both for all positions, and current AD postions.
* Updated the moderator package to use the Documents from _agenda_data.
* Added a filter to assist with rendering the moderator package.
* Fixed a bug where different functions in idrfc/views_ballot were using log_state_changed expecting different implementations (a cleanup task should reconcile the _three_ implementations in the codebase of that function).

Cleanup from codesprint:
* Removed some duplication between doc/util and doc/models by moving things into doc/models
* Do not show non-empty discuss text when the ballot position is not blocking
* Added a migration to update non-blocking ballot positions that have non-empty discuss text


DEPLOYMENT NOTES
Please be aware that migration step will take a few minutes to complete.

Fixes bug 865
 - Legacy-Id: 4780
Note: SVN reference [4772] has been migrated to Git commit e5c3a5adc5
2012-08-22 12:34:55 +00:00
Robert Sparks 1d7883fc01 Patch from yaco to avoid resetting from field. Gave the secretarait the ability to approve any unapproved liaison. Changed all the email code to use ietf.utils.mail
- Legacy-Id: 4761
2012-08-14 21:37:59 +00:00
Adam Roach 39aa3eb5a3 Adding slides to agenda page
- Legacy-Id: 4746
2012-08-02 18:10:22 +00:00
Henrik Levkowetz 798f7697af Merged [4600] from rjsparks@nostrum.com:
* Adds a new document type for conflict reviews, with a ballot for the IESG 5742 response to a review request
* Integrated the new document type into the iESG agenda views (including RSS feeds)* Removed the Edit and Add buttons from the document main view.
* Replaced Add with actions appropriate for the document type, such as "Begin IESG Processing" or "Begin IETF Conflict Review", and made most data directly editable on the document's main page, depending on access permissions.
* Removed a manual editing step that the secretariat had to perform when sending conflict review messages. The view now composes the message correctly given the stream.
* Added a pencil icon motif to differentiate fields that are editable.
* Generalized several views and helper functions to use Document instead of (e.g.) IdWrapper
* Generalized reading documents from the repository
* Added a way to get from IdWrapper  to the underlying Document to facilitate migrating way from the Wrapper classes* Added many helpers to Document to assist with migrating off IdWrapper
* Minor fixes and other changes
  * Fixes to document main view to avoid (silent) template failures. 
  * Began removing some of the code that is no longer reachable post-migration  * Corrected the behavior of the undefer code and added test cases for it
  * Improved initial population of notification lists and added the ability to regenerate the initial list
* Made the test code that scans for template coverage more robust
* Deployment notes:
  * new setting: CONFLICT_REVIEW_PATH. The associated directory will need to be created

This branch fixes bugs #805, #744 and #812
 - Legacy-Id: 4652
Note: SVN reference [4600] has been migrated to Git commit 798e7a50e7
2012-07-28 16:29:28 +00:00
Henrik Levkowetz feb7cdfb95 Applied ballot popup patch from olau@iola.dk.
- Legacy-Id: 4631
2012-07-27 20:11:55 +00:00
Henrik Levkowetz 7d6262e76d Applied ballot popup patch from olau@iola.dk.
- Legacy-Id: 4630
2012-07-27 20:11:13 +00:00
Robert Sparks c93e6a764a Made the popup position editing dialog work correctly for non-draft document types
- Legacy-Id: 4597
2012-07-05 19:28:40 +00:00
Robert Sparks f3fd4db35c Merge forward complete - checkpointing before fixing popup position dialogs
- Legacy-Id: 4595
2012-07-04 19:35:46 +00:00
Henrik Levkowetz b2573a43aa Merged community tracking branch from esanchez@yaco.es, r3175-3679,3713-3830.
[[Split portion of a mixed commit.]]
 - Legacy-Id: 4518.2
2012-06-27 08:15:14 +00:00
Robert Sparks 831058620f Pencil image for gui
- Legacy-Id: 4509
2012-06-25 19:03:32 +00:00
Henrik Levkowetz 462aff53ad Merged in fixes to the charter branch (r4345 - r4353) from olau@iola.dk.
- Legacy-Id: 4354
2012-05-02 19:37:46 +00:00
Henrik Levkowetz bcd28cc45f Merged in fixes to the migration from olau@iola.dk. Merged in charter branch from olau@iola.dk. Added various fixes and correction of merge errors.
- Legacy-Id: 4353
2012-05-02 19:35:32 +00:00
Ole Laursen 5fcd0297ed Reverse direction of revisions on charter /doc/ page to match tools.ietf.org/html/draft-*.
- Legacy-Id: 4349
2012-05-02 12:16:25 +00:00
Ole Laursen b9a90f35e1 Clean up and polish charter branch code, fix some subtle bugs with
revision and approved charter lookup.
 - Legacy-Id: 4290
2012-04-19 15:15:43 +00:00
Ole Laursen 1ff4bc0121 Port idrfc code to use new ballot setup with an explicit ballot on
positions, port and clean up ballot icon renderer, add preliminary migration
script for inserting extra events in drafts
 - Legacy-Id: 4274
2012-04-16 13:19:47 +00:00
Ole Laursen 6524aba8dc Ask for whether the ballot should say whether the charter can pass
without external review
 - Legacy-Id: 4272
2012-04-11 12:50:56 +00:00
Ole Laursen 47b466eaae Move charter urls from /wgcharter/<group-acronym> to
/doc/<doc-name>/charter/ since they now all concern the actual charter
documents rather than the WG (this removes some redundant code).
 - Legacy-Id: 4271
2012-04-10 18:11:03 +00:00
Ole Laursen 725ff12306 Clean up /doc/ page for charter slightly.
- Legacy-Id: 4264
2012-04-05 16:37:31 +00:00
Ole Laursen e4a9d8c7aa Finish ballot support for charters (apart from non-generic ballot
deferral), remove a bunch of now obsolete charter code.
 - Legacy-Id: 4255
2012-04-04 18:09:03 +00:00
Ole Laursen a9817e555a Some fixes to generic doc ballot view, fix edit position and send
ballot comment email views, moving them to
/doc/foo-bar/ballot/[id]/position/ and ../emailposition/.
 - Legacy-Id: 4249
2012-04-03 14:53:38 +00:00
Ole Laursen ed15193bcf Introduce more generic ballot models, start porting doc ballot page to the
new database schema.
 - Legacy-Id: 4240
2012-03-30 17:16:50 +00:00
Ole Laursen 2fea753f51 Move WG edit and conclude views from wgcharter to wginfo since they
aren't dealing with charters directly, clean up and add some polish
and fix a bunch of refactoring bugs. Start on fixing tests.
 - Legacy-Id: 4169
2012-03-22 18:36:04 +00:00
Ole Laursen cce113e0b8 Fix Javascript for charter change state page, removing dead code.
- Legacy-Id: 4150
2012-03-20 18:23:13 +00:00
Ole Laursen 43e9ea2607 Unify history handling for groups and documents.
- Legacy-Id: 4149
2012-03-20 18:22:14 +00:00
Ole Laursen a63edc9d16 Add missing CSS file
- Legacy-Id: 4148
2012-03-20 18:20:25 +00:00
Ole Laursen 1bf9ec8542 Add missing Javascript file.
- Legacy-Id: 4095
2012-03-15 17:59:11 +00:00
Henrik Levkowetz c1ef2d2361 We want to disallow all robot access to development servers, but for the production server we want indexing from search engines. Fix robots.txt accordingly.
- Legacy-Id: 4061
2012-03-07 10:18:12 +00:00
Ole Laursen e534194616 Only call changeBy for "by" radio buttons, fixes problem with IE
- Legacy-Id: 3932
2012-02-16 17:06:28 +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 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 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 5a4c23ea92 Merge with trunk
- Legacy-Id: 3676
2011-11-21 16:41:21 +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
Henrik Levkowetz 56e1cc2e35 Added a colour indication to the Area/WG overview page showing responsible AD for each WG. Also some html reformatting for better readability.
- Legacy-Id: 3623
2011-11-16 04:06:56 +00:00
Henrik Levkowetz 5f90e377a1 Provide a more helpful text on the 500 server error page.
- Legacy-Id: 3516
2011-10-25 16:07:48 +00:00
Martin Qvist bd9b28dfd5 New abandon event description, renamed some buttons
- Legacy-Id: 3439
2011-09-23 10:02:59 +00:00
Ole Laursen 6f10d2f3f7 Port submit to new schema, adding a set of tests and fixing some bugs
- Legacy-Id: 3436
2011-09-21 19:29:50 +00:00
Martin Qvist c631930b93 Dependencies of wgrecord to wgcharter rename
- Legacy-Id: 3432
2011-09-20 06:39:56 +00:00
Martin Qvist f025993f50 Bug fixes, changes based on feedback from RjS. Abandon, recharter and initial charter views. Forward snapshots for abandoned efforts.
- Legacy-Id: 3421
2011-09-15 12:28:08 +00:00
Martin Qvist ecac9c2e11 Final corrections and coord with Ole. Fixed agenda package, template cleanup, more tests and a couple of bugs.
- Legacy-Id: 3360
2011-08-24 08:42:51 +00:00
Martin Qvist b73c5358e7 Added corrections and tests as discussed with Ole.
- Legacy-Id: 3349
2011-08-22 19:54:25 +00:00
Martin Qvist 0a34a909c0 Final version of charter tool in a new branch
- Legacy-Id: 3341
2011-08-19 03:44:06 +00:00
Ole Laursen 91b3212330 Merged in changes from the conversion branch
- Legacy-Id: 3188
2011-06-28 18:25:36 +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 3a2185f8e7 Merged in changes from esanchez@yaco.es, changeset [3067]. Makes Liaisons' Date field editable.
- Legacy-Id: 3118
Note: SVN reference [3067] has been migrated to Git commit ee52775458
2011-05-11 18:40:13 +00:00
Robert Sparks 6484874ca2 1) Restructured the position editing page to better integrate the defer button.
Fixes bug #659

2) Copied the jquery-1.5.1.min.js library into /static/js/lib (from /static/js)
    because that's where the main document template was looking for it. There have
    probably been several problems since the change that left this dangling that
    showed up as things not behaving, but not as errors. The one that clued me in
    was the discuss text-box not being hidden when the position wasn't DISCUSS.
    They should all behave better now.

3) Added a django form validator to the discuss text field to not allow actions
   when the position is Discuss, but the discuss-text is empty.
   2 and 3 together fix bug #660 

4) Added logic to the undefer fuction to put the document back on the previous
   telechat (if that hasn't already passed). That is, date1 from telechat dates,
   and not date2.
   Fixes bug #661

5) Changed the last_call_announcement generation function's template to include
   the abstracts from the document sets (which with modern usage means the abstract
   of the document) reflecting the IESGs decision of a few months back.
   Fixes bug #662

6) Removed the old tracker link from the document's main page
   Fixes bug #663 

_M   .
M    ietf/idrfc/views_ballot.py
M    ietf/templates/idrfc/last_call_announcement.txt
M    ietf/templates/idrfc/undefer_ballot.html
M    ietf/templates/idrfc/doc_tab_document.html
M    ietf/templates/idrfc/edit_position.html
_M   ietf/utils/draft.py
_M   static/media
A  + static/js/lib/jquery-1.5.1.min.js
 - Legacy-Id: 3107
2011-05-09 20:16:32 +00:00
Robert Sparks 024a74a562 1) Restructured the position editing page to better integrate the defer button.
2) Copied the jquery-1.5.1.min.js library into /static/js/lib (from /static/js)
   because that's where the main document template was looking for it. There have
   probably been several problems since the change that left this dangling that
   showed up as things not behaving, but not as errors. The one that clued me in
   was the discuss text-box not being hidden when the position wasn't DISCUSS.
   They should all behave better now.

3) Added a django form validator to the discuss text field to not allow actions
   when the position is Discuss, but the discuss-text is empty.

4) Added logic to the undefer fuction to put the document back on the previous
   telechat (if that hasn't already passed). That is, date1 from telechat dates,
   and not date2.

5) Changed the last_call_announcement generation function's template to include
   the abstracts from the document sets (which with modern usage means the abstract
   of the document) reflecting the IESGs decision of a few months back.
 - Legacy-Id: 3097
2011-05-05 13:58:37 +00:00
Henrik Levkowetz 6fde32b2f5 Let development and test deployment have a robots.txt which don't permit robots.
- Legacy-Id: 3079
2011-05-03 14:05:01 +00:00
Emilio A. Sánchez López ee52775458 Allow to enter the submission date when sending (or editing) liaisons. Fixes #653
- Legacy-Id: 3067
2011-04-27 11:47:55 +00:00