Commit graph

3356 commits

Author SHA1 Message Date
Ole Laursen 56ea114e31 Fix missing parameter to is_rgdelegate
- Legacy-Id: 6267
2013-09-26 09:48:59 +00:00
Ole Laursen 5ba00a9362 Move stream views to views_stream.py
- Legacy-Id: 6266
2013-09-26 09:48:37 +00:00
Ole Laursen f0eddecf6b Add test for stream management page
- Legacy-Id: 6262
2013-09-25 11:43:23 +00:00
Ole Laursen 525259a84f Remove unused ietfworkflows imports
- Legacy-Id: 6258
2013-09-24 17:34:20 +00:00
Ole Laursen 2e152bbc9c Fix naming bug in streams_menu template tag
- Legacy-Id: 6257
2013-09-24 17:32:41 +00:00
Ole Laursen 8bc5df166b Get rid of unused ietfworkflows import
- Legacy-Id: 6256
2013-09-24 17:28:43 +00:00
Ole Laursen 2d902e28d1 Add stream edit page for setting delegates instead of page in
ietfworkflows, add streams_menu template tag for outputting the
streams menu instead of the one in ietfworkflows, move
base_wgmenu.html and base_leftmenu.html templates to base/ (together
with base/streams_menu.html), get rid of "first" madness in
base/left_menu.html which is now obsolete anyway because we have a
Settings headline which is always first
 - Legacy-Id: 6255
2013-09-24 17:25:10 +00:00
Ole Laursen 5f6f966355 Add stream edit page for setting delegates
- Legacy-Id: 6254
2013-09-24 16:55:23 +00:00
Ole Laursen 210a90e0b4 Remove unused ietfworkflows import
- Legacy-Id: 6253
2013-09-24 16:53:23 +00:00
Ole Laursen 705322f4a1 Add a select_related to role extraction in wginfo to reduce number of
DB queries a bit
 - Legacy-Id: 6247
2013-09-23 10:47:34 +00:00
Ole Laursen b4988b2b45 Make IESG discusses use doc/search/status_columns.html with a quick hack to break dependency on ietfworkflows, remove now unused idrfc/status_columns.html, remove unused iesg/agenda_documents_row_status.html
- Legacy-Id: 6220
2013-09-20 15:55:28 +00:00
Ole Laursen 2e29298d0c Move group charter actions from box and button next to header up to an
edit menu under the ordinary group menu
 - Legacy-Id: 6219
2013-09-20 14:09:30 +00:00
Ole Laursen 5924024513 Swap the arguments to group.has_role so they match the arguments to
the existing has_role
 - Legacy-Id: 6218
2013-09-20 13:46:47 +00:00
Ole Laursen 0eed4ad9e5 Add has_role(role_name, user) utility to group, used like
group.has_role("chair", request.user). Remove the NomCom specific
group utilities, apparently they're not actually used.
 - Legacy-Id: 6217
2013-09-20 11:23:17 +00:00
Ole Laursen e1bd47b509 Add ietf. qualifier to settings import, this fixes a weird bug where
model files apparently get the wrong settings
 - Legacy-Id: 6216
2013-09-20 11:02:06 +00:00
Ole Laursen 019ca2ae03 Merge changes from attic/shimfree into new branch to complete rebasing shimfree on trunk
- Legacy-Id: 6215
2013-09-20 09:48:58 +00:00
Henrik Levkowetz c52efcae8c Set version info and settings back to development mode
- Legacy-Id: 6210
2013-09-19 19:31:46 +00:00
Henrik Levkowetz faf1917062 Set version info to release version 4.72 before branching.
- Legacy-Id: 6208
2013-09-19 19:31:44 +00:00
Henrik Levkowetz 32325fc762 Replaced the two AD document links with one pointing to the new view (under the old URL).
- Legacy-Id: 6206
2013-09-19 19:09:39 +00:00
Henrik Levkowetz 44a8eb207b Removed the old ad documents page, and it's view function, and put in a redirect from the temporary /ad2/ url to the /ad/ url.
- Legacy-Id: 6204
2013-09-19 18:24:23 +00:00
Henrik Levkowetz 23cdddf696 Added overview pages for non-ietf-stream documents (ise, iab, irtf).
- Legacy-Id: 6202
2013-09-19 18:21:16 +00:00
Henrik Levkowetz e09667122a Added the ability to search for documents from a certain stream to the main document search form.
- Legacy-Id: 6201
2013-09-19 18:16:10 +00:00
Ole Laursen a871d6e19e Remove wgchairs app, all of its functionality is now superceded by wginfo/ and other recent developments in doc/
- Legacy-Id: 6198
2013-09-19 15:22:59 +00:00
Ole Laursen 19fc7c14bc Increase contrast a bit for the customize buttons
- Legacy-Id: 6197
2013-09-19 15:19:12 +00:00
Ole Laursen 8ffecd8015 Clean up a couple of old-school tags in group edit template, add
link to account creation for personnel
 - Legacy-Id: 6196
2013-09-19 11:05:21 +00:00
Ole Laursen 81ba5ef959 Move delegate handling to group edit page (like other group
personnel), show group delegates in the charter page with the other
personnel
 - Legacy-Id: 6195
2013-09-19 11:04:31 +00:00
Ole Laursen 3562c5ef06 Rewrite slightly to avoid using wgchairs.accounts.get_person_for_user
- Legacy-Id: 6194
2013-09-19 11:02:24 +00:00
Ole Laursen f4761ba7c1 Get rid of unused wgchairs references
- Legacy-Id: 6193
2013-09-19 11:01:32 +00:00
Henrik Levkowetz 6460a7eef2 Updated the comment with the working Apache setting for a dev server.
- Legacy-Id: 6170
2013-09-18 20:31:57 +00:00
Henrik Levkowetz 80a19d6dfd Change the development url patterns to match the name change of static/secr to static/secretariat.
- Legacy-Id: 6169
2013-09-18 20:30:56 +00:00
Henrik Levkowetz d8074d39d3 Merged the latest secretariat code from rcross@amsl.com, from branch/amsl/trunkmerge@6149.
- Legacy-Id: 6168
2013-09-18 19:33:36 +00:00
Henrik Levkowetz da4177e1cd Rename the nomcom public keys path setting.
- Legacy-Id: 6166
2013-09-18 18:10:27 +00:00
Henrik Levkowetz 78a0fd7759 Added a dev-specific robots.txt, which blocks all robots.
- Legacy-Id: 6164
2013-09-18 17:44:51 +00:00
Henrik Levkowetz 68cea34e64 Fixed a typo in the WSGI connector.
- Legacy-Id: 6163
2013-09-18 17:43:38 +00:00
Henrik Levkowetz 11c1b0738a Cleaned up the ipr count code in doc/views_search.py a bit more.
- Legacy-Id: 6162
2013-09-18 17:43:09 +00:00
Henrik Levkowetz 641bcccfba Replaced the ad_hoc nomcom_member_required() decorator with our generic role_required() decorator. Changed access permission for nomcom-chair only pages to also permit nomcom advisor access (this lets the previous nomcom chair explain and assist as needed). Also tweaked some text strings in the email feedback pipe script.
- Legacy-Id: 6160
2013-09-16 21:05:25 +00:00
Henrik Levkowetz d60210484f Moved the nomcom private key storage out of the source tree, which is a silly place to put it.
- Legacy-Id: 6159
2013-09-16 21:00:07 +00:00
Henrik Levkowetz 11e56aa5b2 Modified the code which accumulates ipr disclosures associated with a document, shown as an IPR count in search results. The previous code had two deficiencies: it could count some IPR disclosures twice, and it also included withdrawn and pending disclosures. The current count matches the IPR search results better.
- Legacy-Id: 6158
2013-09-16 20:55:24 +00:00
Henrik Levkowetz dbda8e8c53 A WSGI connector for the datatracker, to let us run under mod_wsgi.
- Legacy-Id: 6157
2013-09-16 20:52:37 +00:00
Henrik Levkowetz 5033aba13e Cleaned upthe manage.py command changes a little bit.
- Legacy-Id: 6156
2013-09-16 20:51:00 +00:00
Henrik Levkowetz 4538ef7b0e Added Nomcom role suport to role_required() through has_role(). This will let us get rid of the more specialized ad_hoc nomcom_memeber_required() which can't handle access for multiple roles.
- Legacy-Id: 6155
2013-09-16 19:18:22 +00:00
Henrik Levkowetz 71f85f96c7 Merged in a fix from rjsparks@nostrum.com for incorrect IANA notification email addresses.
- Legacy-Id: 6152
2013-09-13 22:23:55 +00:00
Ryan Cross 4f98ac157c Revert to pre-agenda tool db schema. Change sec static files subdirectory to 'secretariat'. Branch ready for merge.
- Legacy-Id: 6148
2013-09-12 16:58:44 +00:00
Ole Laursen 570b757747 Move group workflow tests to wginfo
- Legacy-Id: 6147
2013-09-12 16:36:27 +00:00
Ole Laursen 5493f3c613 Fix missing import statement in for customize_workflow
- Legacy-Id: 6146
2013-09-12 16:36:10 +00:00
Ryan Cross 54ca99c1bf new version
- Legacy-Id: 6144
2013-09-11 22:08:12 +00:00
Ryan Cross ed745b457d fix bug where concluded BOFs showing in proceedings
- Legacy-Id: 6143
2013-09-11 17:35:10 +00:00
Ole Laursen 36d4710393 Fix styling of next states in workflow customization, replace "+" with
"+ customize"
 - Legacy-Id: 6142
2013-09-11 17:28:33 +00:00
Henrik Levkowetz a4fc386e2e Tweaked the template used to generate the various 1wg-charter*.txt files to properly fetch email addresses. Commit ready for merge.
- Legacy-Id: 6141
2013-09-11 12:51:33 +00:00
Ryan Cross 0d1c0b2db9 updates to announcements and groups view to match secretariat production branch
- Legacy-Id: 6140
2013-09-10 23:49:13 +00:00
Ole Laursen 8657e4fd08 Redirect when POSTing on workflow customization page to prevent the
history from filling up with spam entries
 - Legacy-Id: 6138
2013-09-10 16:23:22 +00:00
Ole Laursen 9409814ada Fix missing import
- Legacy-Id: 6137
2013-09-10 16:22:11 +00:00
Ole Laursen 947345ecf2 Remove link to now obsolete shepherd pages, move manage workflow to
wginfo, fix a couple of oddities on the workflow page
 - Legacy-Id: 6136
2013-09-10 16:18:14 +00:00
Ole Laursen 95fdfb5d8a Add tags for streams to state help
- Legacy-Id: 6134
2013-09-10 16:15:18 +00:00
Ole Laursen 026ed3f8df Add statehelp template filter for outputting a little help icon for a
state with a tooltip and link to the description
 - Legacy-Id: 6133
2013-09-10 16:13:59 +00:00
Henrik Levkowetz 19b7bc1d60 Fixed an issue when trying to edit a document state when there's no prior state, and removed the link to edit the document state when there's no set state.
- Legacy-Id: 6132
2013-09-10 15:46:46 +00:00
Henrik Levkowetz a132e6720a Fixed 2 issues with the wg document list: Wrong heading for the related docs, and candidate wg docs listed as wg docs, rather than related docs.
- Legacy-Id: 6130
2013-09-10 15:43:17 +00:00
Ryan Cross 62f83fc67d changes to support datatracker v4.71
- Legacy-Id: 6129
2013-09-09 22:26:14 +00:00
Henrik Levkowetz a14808255b Migration for new ConstraintName field: penalty
- Legacy-Id: 6127
2013-09-09 20:55:59 +00:00
Henrik Levkowetz db7106a70c Fixed legacy document fieldname.
- Legacy-Id: 6126
2013-09-09 20:54:56 +00:00
Henrik Levkowetz 78a76c8b07 Set version info and settings back to development mode
- Legacy-Id: 6124
2013-09-09 19:41:37 +00:00
Henrik Levkowetz fa33dbbc87 Set version info to release version 4.71 before branching.
- Legacy-Id: 6122
2013-09-09 19:41:03 +00:00
Henrik Levkowetz 9dc13aa8f2 Merged in personal/rjs/r6117-pubreq:
- Made Publication Request (for documents from IETF working groups) an
  explicit action rather than a side-effect.

- Simplified the working group state edit form.

- Added hints to the WG state edit form to use the document's main page to
  request publication.

- If a document is moved into IESG processing directly by the secretariat or
  an AD (old processing path), set working group state accordingly.
 - Legacy-Id: 6120
2013-09-09 19:29:56 +00:00
Robert Sparks 63139ab860 Made Publication Request (for documents from IETF working groups) an explicit action rather than a side-effect.
Simplified the working group state edit form.
Added hints to the WG state edit form to use the document's main page to request publication.
If a document is moved into IESG processing directly by the secretariat or an AD (old processing path), set working group state accordingly.
 - Legacy-Id: 6119
2013-09-09 18:25:44 +00:00
Henrik Levkowetz 2a2389d17f Merged in branch/iola/shimfree@6083. This cleans up and moves relevant code from idrfc/ to doc/. There should now only be a bit of old wrapper code left in idrfc; that will go away when the remaining models which use it are cleaned up.
- Legacy-Id: 6117
2013-09-09 17:45:36 +00:00
Ole Laursen 5a3cccce7c Fix subtle is_chair bug and construct group_documents_txt state names
directly from state instead of using search headings
 - Legacy-Id: 6113
2013-09-09 16:46:34 +00:00
Henrik Levkowetz c93e5cc914 Fixed the manage command so it adds our own import path to the Python path automatically.
- Legacy-Id: 6112
2013-09-09 15:31:10 +00:00
Ole Laursen 3f9327eefe Fix crash bug in /wg/<bofname>/charter/ page for BOFs
- Legacy-Id: 6092
2013-09-06 22:38:57 +00:00
Henrik Levkowetz 0a45268915 Applied patch from rjsparks@nostrum.com to fix a line colouring bug in IPR lists.
- Legacy-Id: 6090
2013-09-06 19:19:47 +00:00
Ole Laursen b4feab127a Add basic tests for the information pages in wginfo
- Legacy-Id: 6089
2013-09-05 22:08:11 +00:00
Henrik Levkowetz 808343d06b Fixed regression: wrong URL to IESG state diagram in state help. Fixes issue #1119.
- Legacy-Id: 6088
2013-09-04 14:21:48 +00:00
Ole Laursen 459bbf39e0 Fix spelling mistake
- Legacy-Id: 6087
2013-09-04 08:44:50 +00:00
Ole Laursen 6d17ab8015 Port wginfo/ to new schema, delete some dead code. Missing tests and
still a little bit of cruft left from views in other modules.
 - Legacy-Id: 6084
2013-09-03 16:51:22 +00:00
Henrik Levkowetz 38b0a59ba3 Merged personal/rjs/v4.70@6042:
* Made reporting IPR consistant across document searches, IPR searches, AD document queues, last calls, and agendas. All these points now report on the document(s) being directly queried, and the documents those transitively replace or obsolete.

  * Brought search results against WGs and document titles into consistency with results from searching for individual documents

  * Added the IPR count to the link on the documents main page (when not zero)

  * Built on Henrik's reimplementation of all_related_*, making the *_related_* functions return DocAlias? lists consistently, and added corresponding _relations_ functions to get lists of actual RelatedDocument? objects.

  * Added getting the DocAlias? with the same name to Document

  * Added getting related IPR disclosures (as described in the first bullet) to Document

  * Simplified ipr/related.py

  * Removed the use of DraftLikeDocAlias? and IETFWG from ipr/search.py. Retooled the various search functions and templates to use DocAlias? and IprDocAlias? directly.

  * Removed dead code from ipr/search.py

  * Removed the special handling of WG 2000 from ipr/search.py 

  This fixes bug #1071
 - Legacy-Id: 6083
2013-09-02 18:34:54 +00:00
Henrik Levkowetz d6471397ef Fixed bug in previous commit, for case where iesg_state is None.
- Legacy-Id: 6082
2013-08-30 12:32:11 +00:00
Henrik Levkowetz ffb4581008 Fixed regression in display of IESG state; added back substate information. Fixes issue #1117.
- Legacy-Id: 6081
2013-08-30 12:21:36 +00:00
Henrik Levkowetz d85e0ae2de Added template rendering verification on dbtemplate form submission in order to catch errors in edited templates before they are committed. This should prevent server 500 errors when rendering dbtemplate pages. Fixes issue #1113.
- Legacy-Id: 6079
2013-08-28 12:50:17 +00:00
Henrik Levkowetz 84a07d7151 Selectively removed the agenda and minutes warnings from the meeting materials page, for educational sessions where agenda and minutes aren't expected. Fixes issue #1115.
- Legacy-Id: 6078
2013-08-28 11:00:38 +00:00
Henrik Levkowetz 37e69a02c6 Changed the order of the files diffed in the draft diff links on the history page. Fixes issue #1114.
- Legacy-Id: 6077
2013-08-28 10:36:32 +00:00
Ryan Cross 24ffdb2d34 changes to IPR notification email
- Legacy-Id: 6076
2013-08-22 21:35:01 +00:00
Henrik Levkowetz ed020c8b8e Add Auto-Submitted and Precedence header fields to outgoing email messages.
- Legacy-Id: 6071
2013-08-17 15:33:56 +00:00
Ole Laursen 9b65f3be79 Found two more places where an IPR update is shown even if the
updating IPR is rejected, fix those
 - Legacy-Id: 6064
2013-08-15 11:34:20 +00:00
Ole Laursen a3f39aef3c Include referrer in test crawler crash reports, format the result like
a 500
 - Legacy-Id: 6063
2013-08-15 09:58:27 +00:00
Ole Laursen 023d02feb8 Apparently the session_draft_list fix was missing a .distinct(),
rewrite slightly to add that
 - Legacy-Id: 6062
2013-08-15 09:51:13 +00:00
Ole Laursen 31dc2ea1a4 Don't link to updates on IPR that has been rejected, fixes broken link
to IPR 1252
 - Legacy-Id: 6061
2013-08-15 08:56:35 +00:00
Ole Laursen c8f173f06e Rewrite reading the draft list from a group agenda to be less weird,
fixing problem when agenda file is not found, which turns up when
running the test-crawler on a test instance
 - Legacy-Id: 6060
2013-08-15 08:44:29 +00:00
Ole Laursen 722b2321be On charter doc page only generate link to /wg/ if the group is a WG,
not if it is an AG
 - Legacy-Id: 6059
2013-08-15 07:53:22 +00:00
Ole Laursen 4d54b94dac Fix state diagram link
- Legacy-Id: 6058
2013-08-14 16:29:04 +00:00
Ole Laursen 2a85572777 Add status-change to state_help framework, remove last traces of former framework
- Legacy-Id: 6057
2013-08-14 16:16:52 +00:00
Ole Laursen 0b1aabc64d Add extra exception trap to test crawler to output URL under test for None responses
- Legacy-Id: 6056
2013-08-14 16:15:42 +00:00
Ole Laursen c182d4e5e9 Return empty string instead of None in case an agenda file isn't read
correctly, fixes annoying problem with the test crawler
 - Legacy-Id: 6055
2013-08-14 15:48:17 +00:00
Ole Laursen 99d8e69f0b Remove idrfc/templatetags/
- Legacy-Id: 6054
2013-08-14 15:14:47 +00:00
Ole Laursen d2b9adf3cb Move ietf_filters templatetag from idtracker/ to doc/
- Legacy-Id: 6053
2013-08-14 15:11:24 +00:00
Ole Laursen 6ac0920af0 Move idrfc/ templates to doc/ and subdirectories in doc/, move ported ballot_icon template tag, delete dead code
- Legacy-Id: 6052
2013-08-14 14:10:46 +00:00
Ole Laursen 742dbace24 Move views and templatetags from idrfc/ to doc, the I-D specific views
go into views_draft.py and tests in tests_draft.py; what's left in
idrfc is wrapper code, templates and the ballot_icon templatetag
 - Legacy-Id: 6051
2013-08-14 10:32:25 +00:00
Ole Laursen 2cf79bb04c Move update_telechat from idrfc.utils to doc.utils, port remaining
code to using log_state_changed from doc.utils, remove idrfc/utils.py
 - Legacy-Id: 6050
2013-08-13 16:44:07 +00:00
Ole Laursen a8fefd9454 Remove unused idrfc import from secr/telechat/views.py
- Legacy-Id: 6049
2013-08-13 16:28:21 +00:00
Ole Laursen 484293d190 Remove debug print
- Legacy-Id: 6048
2013-08-13 15:43:56 +00:00
Ole Laursen 867f7a8149 Get rid of some pre-redesign dead code in submit to get rid of idrfc import
- Legacy-Id: 6047
2013-08-13 14:47:49 +00:00
Ole Laursen de7ae60985 Move markup_txt.py from idrfc/ to utils/
- Legacy-Id: 6046
2013-08-13 14:33:22 +00:00