Commit graph

173 commits

Author SHA1 Message Date
Ole Laursen 4db36b0fbc Add a generic state help page, make provisions for displaying
IESG I-D states in it
 - Legacy-Id: 5635
2013-04-10 16:11:27 +00:00
Ole Laursen e94d1df549 Clean up search views and remove dead code, port them to the new DB
schema, hack related views in iesg/ and wginfo/ to use the new search
interfaces, avoid camelCase in search GET parameters (with
backwards-compat fallback), add some simple search unit tests, remove
caching from views_search.py index pages as they're now pretty fast to
generate, rewrite ballot popup JS, regularize some CSS classes to use
hyphen-notation rather than camelCase, move some of the search
templates to doc/.

idrfc/ now mostly contains some wrapper code still in use by other
subdirs, some ported code not yet moved, and dead code.
 - Legacy-Id: 5611
2013-04-04 13:42:57 +00:00
Ole Laursen a43ccee911 Cleanup the search code in preparation for removal of the shim-layer,
use a static button and don't send extraneous GET parameters
 - Legacy-Id: 5464
2013-02-25 11:50:00 +00:00
Ole Laursen c0ecb78761 Merge the I-D and RFC views by showing I-D information on RFCs too.
I-Ds that have been published as RFCs redirect to the RFC URL. Also
support alias URLs so e.g. /doc/bcpXXXX redirects to /doc/rfcXXXX.
 - Legacy-Id: 5285
2013-01-17 13:28:42 +00:00
Ole Laursen 0454f5e414 Make the CSS-styled button feel a bit nicer to use by flattening the
active state, also introduce some temporary styles until browsers
catch up with the standard syntax
 - Legacy-Id: 5283
2013-01-17 12:45:25 +00:00
Ole Laursen aa70cffe73 Rewrite draft and RFC tabs in terms of the new schema, porting
write-up and history tabs as well
 - Legacy-Id: 5214
2013-01-16 14:57:01 +00:00
Ole Laursen 321f646dab Improve the looks of the button class by adding extra contrast and a
linear gradient. Currently the gradient is only visible in fairly
recent browsers.
 - Legacy-Id: 5213
2013-01-16 14:41:11 +00:00
Ole Laursen bbe51020d4 Move milestones branch out of the way to prepare for merge with trunk
[[Split portion of a mixed commit.]]
 - Legacy-Id: 5185.1
2013-01-15 16:12:31 +00:00
Ole Laursen b19f6d8060 Merge in milestones branch
- Legacy-Id: 5091
2012-12-03 14:36:30 +00:00
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
Ole Laursen 27935fb7a2 Don't prompt for the day of the month in setting up milestones,
instead set the deadline to the last day of the month, also remove any
references to the day of the month from the output
 - Legacy-Id: 4596
2012-07-05 18:57:15 +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
Ole Laursen 8d07791e23 Fix bug in milestones edit JS, check for due date rather than desc as
WG Chairs can't edit the latter
 - Legacy-Id: 4590
2012-07-04 18:03:59 +00:00
Ole Laursen 7b8928fe01 Make milestones visible in draft search results, and add notices to
the draft state edit form for WG chairs, as reminders for the WG
chairs to keep the milestones updated
 - Legacy-Id: 4559
2012-07-01 08:55:36 +00:00
Ole Laursen 02509a4d8c Fix a couple of bugs in handling editing documents associated with
milestones, also include those documents in the initial output on the
edit page
 - Legacy-Id: 4558
2012-06-30 18:27:55 +00:00
Ole Laursen 471d5de21e Add a review step when submitting milestones to try to help people
catch errors
 - Legacy-Id: 4543
2012-06-28 17:33:52 +00:00
Ole Laursen bbee25b924 Include associated drafts in milestone overview on WG charter page.
- Legacy-Id: 4535
2012-06-27 16:47:31 +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
Ole Laursen 6c1e87b773 Move milestones branch out of the way to prepare for merge with trunk to get latest charter changes in
[[Split portion of a mixed commit.]]
 - Legacy-Id: 4514.1
2012-06-26 17:47:53 +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