Commit graph

440 commits

Author SHA1 Message Date
Henrik Levkowetz 4bc31b9856 Merged in [10623] from lars@netapp.com:
Simplify the dependency graph generation, by relying on dot to generate PDF (and
now also SVG) directly. Default to showing SVG from the link on a group's page.
 - Legacy-Id: 10650
Note: SVN reference [10623] has been migrated to Git commit f1dcfcafb6
2016-01-12 17:14:11 +00:00
Henrik Levkowetz 9bf1ff01f1 Merged in [10621] from lars@netapp.com:
Use js tablesort almost everywhere I thought it would make sense. While I
touched the pages, I also corrected a few minor HTML nits, capitalization
inconsistencies and some other minor things.
Range r10605:r10621
 - Legacy-Id: 10647
Note: SVN reference [10621] has been migrated to Git commit 7d3c2681e2
2016-01-12 16:47:18 +00:00
Henrik Levkowetz d3c5609cde Added some tests for the group role email utility functions used by the alias generation scripts. Tempted to start using factory boy, but will wait till Robert's work in the nomcom branch comes in.
- Legacy-Id: 10544
2015-12-04 23:10:01 +00:00
Henrik Levkowetz 9b274111eb Added group secretaries to the alias lists. Refactored related utility functions to less code with fewer branches with greater generality.
- Legacy-Id: 10543
2015-12-04 20:30:43 +00:00
Robert Sparks e81b473282 Expose views for concluded nomcoms. Close feedback and nomination. Initial work on factory-boy based testing. Partially addresses #1856
- Legacy-Id: 10520
2015-11-25 22:17:41 +00:00
Henrik Levkowetz c5ad40c250 Merged in [10430] from rjsparks@nostrum.com:
Reflect the right group type in personnel change messages. Fixes #1746.
 - Legacy-Id: 10444
Note: SVN reference [10430] has been migrated to Git commit 24e451739c
2015-11-07 22:31:18 +00:00
Robert Sparks 24e451739c Reflect the right group type in personnel change messages. Fixes #1746. Commit ready for merge.
- Legacy-Id: 10430
2015-11-05 06:32:04 +00:00
Henrik Levkowetz db7aa73eb4 Merged in [10418] from henrik@levkowetz.com:
Modified the test data to use some AD and WG chair names that contain non-ascii characters, and fixed test issues found.
 - Legacy-Id: 10420
Note: SVN reference [10418] has been migrated to Git commit cf7d794b09
2015-11-04 08:46:35 +00:00
Henrik Levkowetz cf7d794b09 Modified the test data to use some AD and WG chair names that contain non-ascii characters, and fixed test issues found.
- Legacy-Id: 10418
2015-11-04 07:34:56 +00:00
Henrik Levkowetz 7113663676 Merged in [10405] from rjsparks@nostrum.com:
Addresses an issue where the WG document page would show the same document in more than one section. Fixes #1827.
 - Legacy-Id: 10412
Note: SVN reference [10405] has been migrated to Git commit 95df98b6d4
2015-11-03 15:44:53 +00:00
Robert Sparks 95df98b6d4 Addresses an issue where the WG document page would show the same document in more than one section. Fixes #1827. Commit ready for merge.
- Legacy-Id: 10405
2015-11-03 12:29:10 +00:00
Suresh Krishnan e454031b47 Changes to unapproved milestones (e.g. attaching a draft) will not trigger a mail to the WG. Fixes #1818. Commit ready for merge.
- Legacy-Id: 10346
2015-10-31 08:42:37 +00:00
Ole Laursen b9301ef174 Fix weird migration issue
- Legacy-Id: 10327
2015-10-28 10:41:34 +00:00
Ole Laursen 86c3a430d1 Merge in ^/branch/iola/event-saving-refactor-r10076, fixing a few problems
- Legacy-Id: 10298
2015-10-27 10:37:06 +00:00
Henrik Levkowetz 199f4600d9 Save/restore GROUP_VIRTUAL_PATH, the same way we do with DRAFT_VIRTUAL_PATH when modifying it for tests.
- Legacy-Id: 10227
2015-10-17 18:11:54 +00:00
Henrik Levkowetz caa56e97a4 Renamed the two get_email_aliases functions to have distinct names.
- Legacy-Id: 10201
2015-10-13 18:12:59 +00:00
Ole Laursen 20f79316ff Summary: Make the pruning of empty BOF charters look at a history for
empty files too
 - Legacy-Id: 10187
2015-10-12 13:19:45 +00:00
Robert Sparks 1a277b00ec This release improves visibility into where and when the datatracker
sends email. It makes where the datatracker sends email for a given 
action data driven, and it shows where email will be sent for actions
on documents and groups.

Commit ready for merge.
 - Legacy-Id: 10186
2015-10-10 23:08:09 +00:00
Robert Sparks f0f5a51eb6 (Rocky) merge forward.
- Legacy-Id: 10157
2015-10-09 03:16:24 +00:00
Ole Laursen 5b480c4aee Summary: Add migrations to get rid of some empty charters that have
been accidentally created in the past - this has the side-effect of fixing a
couple of crawler errors. Also fix the state of CICM and add
the text for RRGs charter.
 - Legacy-Id: 10147
2015-10-08 16:10:46 +00:00
Ole Laursen 63d96e0354 Summary: Get rid of submit_initial_charter hack, only create a charter
when a first revision has actually been submitted.
 - Legacy-Id: 10136
2015-10-06 15:14:31 +00:00
Ole Laursen 6f044eea08 Summary: Move definition of document names and group acronyms to
settings.URL_REGEXPS, partly to cleanup the urls.py files, partly to
make sure that all URL patterns agree on what constitutes a name
 - Legacy-Id: 10114
2015-10-01 14:16:16 +00:00
Ole Laursen 9545e620b8 Summary: Add migration for renaming x3s3.3 to x3s3dot3
- Legacy-Id: 10113
2015-10-01 12:05:48 +00:00
Ole Laursen e1f0917659 Summary: Add new document saving API, Document.save_with_history(events).
The new API requires at least one event and will automatically save a
snapshot of the document and related state. Document.save() will now
throw an exception if called directly, as the new API is intended to
ensure that documents are saved with both an appropriate snapsnot and
relevant history log, both of which are easily defeated by just
calling .save() directly.

To simplify things, the snapshot is generated after the changes to a
document have been made (in anticipation of coming changes), instead
of before as was usual.

While revising the existing code to work with this API, a couple of
missing events was discovered:

- In draft expiry, a "Document has expired" event was only generated
  in case an IESG process had started on the document - now it's
  always generated, as the document changes its state in any case

- Synchronization updates like title and abstract amendmends from the
  RFC Editor were silently (except for RFC publication) applied and
  not accompanied by a descriptive event - they now are

- do_replace in the Secretariat tools now adds an event

- Proceedings post_process in the Secretariat tools now adds an event

- do_withdraw in the Secretariat tools now adds an event

A migration is needed for snapshotting all documents, takes a while to
run. It turns out that a single document had a bad foreign key so the
migration fixes that too.
 - Legacy-Id: 10101
2015-09-28 14:01:03 +00:00
Robert Sparks dbe4e3789d removed all the milestone reminder machinery
- Legacy-Id: 10091
2015-09-17 20:27:07 +00:00
Robert Sparks f5b6465e81 mailtoken becomes mailtrigger
- Legacy-Id: 10090
2015-09-17 20:03:45 +00:00
Robert Sparks e5a6ab4385 email expansions for groups
- Legacy-Id: 10058
2015-08-25 18:10:51 +00:00
Robert Sparks 90c3426e2f updated mailtoken utilities to match the model refactor. Morphed all the code using the utilities to match. Added paths to get Cc through as needed. Next up: Recipient selection form for the iesg save-and-send-email workflow
- Legacy-Id: 10040
2015-08-23 18:15:06 +00:00
Robert Sparks 8a74604a1b Done with the second pass focusing on test coverage. Lots of test tweaks, some new tests, a couple of bugs fixed. The session request code views need to be redone to allow testing.
- Legacy-Id: 10035
2015-08-21 16:39:00 +00:00
Robert Sparks 56ddf4ca2e checkpoint. includes moderate change to how personnel changes are sent out
- Legacy-Id: 10020
2015-08-17 22:11:54 +00:00
Robert Sparks 89f038a1e3 checkpoint
- Legacy-Id: 10019
2015-08-17 20:24:16 +00:00
Robert Sparks 839d0f89ad checkpoint
- Legacy-Id: 10016
2015-08-13 19:41:02 +00:00
Henrik Levkowetz 2fe8dcb4c2 Added a very simple html version of the json API, to make it easier to explore the api manually.
- Legacy-Id: 9991
2015-08-09 16:28:55 +00:00
Henrik Levkowetz 11411d2c30 Merged in an update from trunk@9942.
- Legacy-Id: 9961
2015-08-03 14:12:38 +00:00
Henrik Levkowetz 0bf86be4ac Added a max-age to the cache control of /group/groupmenu.ajax, in order to improve local caching.
- Legacy-Id: 9947
2015-08-01 14:57:29 +00:00
Henrik Levkowetz 17b100ec51 Merged in [9924] from rjsparks@nostrum.com:
Adds views of active areas, area groups, teams, and directorates.
Adds navigation to those views to the base menus.
Unifies URL patterns shared between group/urls and group/urls_info, 
exposing the same view at, e.g., /group/stir and /wg/stir/.
Improves testing, primarily of group/info.py
 - Legacy-Id: 9930
Note: SVN reference [9924] has been migrated to Git commit 461af5af19
2015-08-01 10:12:40 +00:00
Robert Sparks 461af5af19 Adds views of active areas, area groups, teams, and directorates.
Adds navigation to those views to the base menus.

Unifies URL patterns shared between group/urls and group/urls_info, 
exposing the same view at, e.g., /group/stir and /wg/stir/.

Improves testing, primarily of group/info.py 

Commit ready for merge.
 - Legacy-Id: 9924
2015-07-30 21:51:38 +00:00
Lars Eggert b367007e6e Make nav title capitalization consistent with other text. Consistently add
arrows for tabs that navigate away from the site. Shorten some text.
Commit ready for merge.
 - Legacy-Id: 9849
2015-07-22 10:57:32 +00:00
Henrik Levkowetz f9bca1b6cc Merged in [9812] from suresh.krishnan@ericsson.com:
Informing ADs, chairs and delegates of WG personnel changes. Fixes #1310.
 - Legacy-Id: 9824
Note: SVN reference [9812] has been migrated to Git commit 7feee30d46
2015-07-20 12:54:13 +00:00
Henrik Levkowetz 99a5ba4722 Merged in [9802] from bartosz.balazinski@interdigital.com:
Fixed references (relative to absolute) in template  ietf/templates/group/active_areas.html, fixed build failure on unused import in file 0006_auto_20150718_0509.py,
 - Legacy-Id: 9816
Note: SVN reference [9802] has been migrated to Git commit dba620f8f1
2015-07-19 13:02:53 +00:00
Suresh Krishnan 7feee30d46 Informing ADs, chairs and delegates of WG personnel changes. Fixes #1310. Commit ready for merge
- Legacy-Id: 9812
2015-07-18 16:52:50 +00:00
Bartosz Balazinski dba620f8f1 Fixed references (relative to absolute) in template ietf/templates/group/active_areas.html, fixed build failure on unused import in file 0006_auto_20150718_0509.py, commit ready for merge
- Legacy-Id: 9802
2015-07-18 15:32:57 +00:00
Bartosz Balazinski 7fb17b0b98 Generated the area description page, fixes 1753, commit ready for merge
- Legacy-Id: 9798
2015-07-18 15:07:59 +00:00
Henrik Levkowetz 60b126b492 Merged in [9779] from lars@netapp.com:
Remove the code that used to calculate table_rows, now that the HTML doesn't
use it anymore.
 - Legacy-Id: 9795
Note: SVN reference [9779] has been migrated to Git commit ee1ea031452864ec1df0a92eb6d2512036d7e949
2015-07-18 14:09:28 +00:00
Robert Sparks 61474a4988 Correct typo in field label. Fixes #1731. Commit ready for merge.
- Legacy-Id: 9711
2015-07-09 14:27:03 +00:00
Henrik Levkowetz f45c124427 Merged in [9652] from rjsparks@nostrum.com:
Provide color for ART.
 - Legacy-Id: 9675
Note: SVN reference [9652] has been migrated to Git commit 7744e0cf5d64b0a1bb45e897b71830f0426c522c
2015-06-22 19:41:47 +00:00
Henrik Levkowetz 9067f88fa7 Merged in [9650] from rjsparks@nostrum.com:
Set the parent for newly created RGs. Be more robust if an RG has no parent. Test creation of an RG. Fixes #1718 and #1719.
 - Legacy-Id: 9661
Note: SVN reference [9650] has been migrated to Git commit b9bf7594001f0014ff4c2ac3688b431f1fcd39ec
2015-06-03 16:52:49 +00:00
Henrik Levkowetz 80f36c899e Removed inappropriate group actions and information from external group info pages. Fixes issue #1651.
- Legacy-Id: 9615
2015-05-11 20:19:27 +00:00
Robert Sparks 547a1ae7a8 deflake
- Legacy-Id: 9601
2015-05-04 15:36:00 +00:00
Robert Sparks 4e1b3b2888 let the IAB see the new pages
- Legacy-Id: 9600
2015-05-04 15:10:34 +00:00
Robert Sparks 303e886ee5 pulled several migrations from trunk and reordered the ones here to match
- Legacy-Id: 9594
2015-04-30 22:12:18 +00:00
Henrik Levkowetz 2b7074e860 Fixed some html issues found by the html validation in bin/test-crawl.
- Legacy-Id: 9570
2015-04-26 21:52:22 +00:00
Henrik Levkowetz 02cd366ff0 Merged in trunk@9440, containing the changes for version 5.13.1; and updated tests which look at HTML content to work with the facelift changes.
- Legacy-Id: 9446
2015-04-11 18:24:20 +00:00
Henrik Levkowetz b829b179ca Merged in [9349] from rjsparks@nostrum.com:
Cleanup: remove transition methods for group.ad.
 - Legacy-Id: 9429
Note: SVN reference [9349] has been migrated to Git commit 16662f6448
2015-04-09 19:32:46 +00:00
Henrik Levkowetz bf9d668c3e Changed from using an otherwise unused css class as content container selector in tests, to instead using an explicit css id as selector.
- Legacy-Id: 9394
2015-04-04 08:57:39 +00:00
Henrik Levkowetz d9e07c7585 Added support for correct tracked document display on group document list pages.
- Legacy-Id: 9367
2015-04-03 13:28:30 +00:00
Henrik Levkowetz f0dad527ee Updated a group test to match the facelift DOM.
- Legacy-Id: 9359
2015-04-02 19:46:43 +00:00
Henrik Levkowetz 625347cd2f Merged trunk@9354 to facelift copy
- Legacy-Id: 9357
2015-04-02 06:51:34 +00:00
Robert Sparks 16662f6448 Cleanup: remove transition methods for group.ad. Commit ready for merge.
- Legacy-Id: 9349
2015-03-27 05:00:56 +00:00
Henrik Levkowetz 1570e91df6 In active_wg(), don't be upset if group.ad_role() returns None, as it can do when the secretariat replaces outgoing ADs with incoming.
- Legacy-Id: 9343
2015-03-26 01:32:50 +00:00
Henrik Levkowetz 7b94d6086a Merged in [9316] from willem@nlnetlabs.nl:
Test fetching of wg and rg document dependency graphs.

  Also added conditional running of these tests, as they depend on the
  availability of the dot, unflatten and ps2pdf binaries, which may not
  be available on all developers' systems.
 - Legacy-Id: 9322
Note: SVN reference [9316] has been migrated to Git commit 5980a35e6c
2015-03-22 16:57:14 +00:00
Willem Toorop 5980a35e6c Test fetching of wg and rg dependency graphs
- Legacy-Id: 9316
2015-03-21 22:36:46 +00:00
Robert Sparks 5fb3198368 Add pre-ads to .ad aliases. Keep draft aliases for drafts that have become RFCs for some time. Commit ready to merge.
- Legacy-Id: 9306
2015-03-21 20:23:09 +00:00
Robert Sparks 33c9483749 Cache the wg-charter*txt pages for a time since they are very heavy to generate. Commit ready for merge.
- Legacy-Id: 9303
2015-03-21 18:20:12 +00:00
Robert Sparks 02d807581a Restores add-to-community-list functionality to several pages. Fixes #1601. Commit ready for merge.
- Legacy-Id: 9242
2015-03-17 20:24:42 +00:00
Henrik Levkowetz 9ee16e778e Added a login requirement for the full document and group email alias pages, but kept the individual group and document email-alias pages visible without login. Added testing of login redirects for the full email alias lists, and reordered the test sequence within the test methods appropriately.
- Legacy-Id: 9160
2015-03-07 15:55:18 +00:00
Henrik Levkowetz 4dbdf475fa Merged in [9141] from rjsparks@nostrum.com:
Fix ordering issue on agenda.html.
 - Legacy-Id: 9150
Note: SVN reference [9141] has been migrated to Git commit 29ac6363a1
2015-03-04 19:16:21 +00:00
Henrik Levkowetz e379df0053 Removed the obsolete field Group._ad, and added a migration for the change.
- Legacy-Id: 9147
2015-03-04 17:50:18 +00:00
Henrik Levkowetz 219a2ea204 Changed the handling of the group edit form so as to generate a ChangeStateGroupEvent for state changes, instead of a generic GroupEvent of type 'info_changed'.
- Legacy-Id: 9119
2015-02-24 18:36:02 +00:00
Henrik Levkowetz ca8d554b78 Undid previous commit -- it contained too much.
- Legacy-Id: 9118
2015-02-24 18:31:53 +00:00
Henrik Levkowetz 2b73f24c94 Merged in [9097] from rcross@amsl.com:
Fixes #1605.  Editing session request causes KeyError.
 - Legacy-Id: 9117
Note: SVN reference [9097] has been migrated to Git commit a660c433bb
2015-02-24 18:29:45 +00:00
Henrik Levkowetz 01ade795d3 Merged in [9083] from rjsparks@nostrum.com:
Added dealing with /wg/foo/email-aliases, /wg/email-aliases, and similar for /rg. Added an initial test suite for all invocations of the email_alias views.
 - Legacy-Id: 9106
Note: SVN reference [9083] has been migrated to Git commit a208803e82
2015-02-20 22:53:46 +00:00
Henrik Levkowetz e7007a6c3c Merged in [9070] from rjsparks@nostrum.com:
Adds pages to view the draft and group email aliases, either as a whole, or per document or group.
 - Legacy-Id: 9105
Note: SVN reference [9070] has been migrated to Git commit 79dda88337
2015-02-20 22:38:20 +00:00
Robert Sparks a208803e82 Added dealing with /wg/foo/email-aliases, /wg/email-aliases, and similar for /rg. Added an initial test suite for all invocations of the email_alias views. Commit ready for merge.
- Legacy-Id: 9083
2015-02-13 04:18:47 +00:00
Ole Laursen 9760cd9c8e Summary: Load the groups in the group menu with AJAX and delete the
jump to group modal. This cuts page rendering speed in more than half
for simple pages and similarly shrinks them by a factor 3-4, while
keeping the user experience the same. Fallbacks are in place for
non-JS clients.

There's still some overhead in the menu generation compared to just
rendering the page content, but the group menu was definitely a major
culprit.
 - Legacy-Id: 9077
2015-02-12 16:01:05 +00:00
Ole Laursen a225fd5069 Make new branch from trunk and merge facelift-r9007 into it, fixing a few merge conflicts
- Legacy-Id: 9072
2015-02-12 10:43:52 +00:00
Robert Sparks 79dda88337 Adds pages to view the draft and group email aliases, either as a whole, or per document or group. Commit ready for merge.
- Legacy-Id: 9070
2015-02-11 21:50:34 +00:00
Henrik Levkowetz 7ecfac6308 Merged in personal/henrik/django-1.7@9020 which upgrades Django from 1.6.0 to 1.7.4 and applies the needed changes to the datatracker code to work with release 1.7.x.
- Legacy-Id: 9028
2015-02-08 21:16:44 +00:00
Henrik Levkowetz 028b7e315a Reverted to [9025] because commit [9026] failed (it was incomplete with a broken working dir).
- Legacy-Id: 9027
Note: SVN reference [9026] has been migrated to Git commit 4a3749a66b
2015-02-08 20:03:16 +00:00
Henrik Levkowetz 4a3749a66b Merged in personal/henrik/django-1.7@9020 which upgrades Django from 1.6.0 to 1.7.4 and applies the needed changes to the datatracker code to work with release 1.7.x.
- Legacy-Id: 9026
2015-02-08 19:16:46 +00:00
Ole Laursen eccd8d27c4 Make new branch from trunk (r9007) and merge facelift-r8876 into it, fixing a few merge conflicts
- Legacy-Id: 9014
2015-02-06 14:08:34 +00:00
Robert Sparks 3de9922d87 Improvements to the fix to #1592. Commit ready to merge.
- Legacy-Id: 8949
2015-01-29 20:58:23 +00:00
Robert Sparks 0c4ef8c8f6 Capture out-of-area ADs in draft and group aliases. Fixes #1592. Commit ready for merge.
- Legacy-Id: 8948
2015-01-29 20:32:39 +00:00
Ole Laursen 4087a9837f End help_texts with period consistently - the default error rendering in the bootstrap3 library depends on it
- Legacy-Id: 8940
2015-01-28 13:25:21 +00:00
Ole Laursen d0999c8b5e Merge facelift-r8510 branch with trunk. The IPR tool still has some non-facelifted parts and ideosyncracies. Fix a couple of minor bugs (including infamous empty licensing choice) in the IPR code, and port the IPR views to use the render shortcut.
- Legacy-Id: 8896
2015-01-22 17:38:05 +00:00
Henrik Levkowetz 56f979b79b Merged in [8856] from rjsparks@nostrum.com:
Show out-of-area ads on /wg/. Fixes #1555. Related to #1557.
 - Legacy-Id: 8890
Note: SVN reference [8856] has been migrated to Git commit 56f9260acb
2015-01-21 20:08:16 +00:00
Henrik Levkowetz be1c255be1 Merged in [8854] from rjsparks@nostrum.com:
This is the second step towards ADs out of GroupInfo into Role.
The use of group.ad has been scrubbed from the code and templates.
  - Those places that set group.ad have been directly manipulate Role objects instead
  - Most places that read group.ad now use a new group.ad_role() that returns a Role object, simplifing some views.
Related to #1555 and #1557.
 - Legacy-Id: 8888
Note: SVN reference [8854] has been migrated to Git commit 65804be683
2015-01-21 19:56:57 +00:00
Henrik Levkowetz edc4cba1bd Merged in [8851] from rjsparks@nostrum.com:\n This is the first step towards using Role to represent Area directors. It
- Migrates the information captured in GroupInfo.ad to Role objects.
- Renames GroupInfo.ad to GroupInfo._ad (retaining the current column name) to prepare for deletion of that field.
- Provides ad property accessor and setter methods implemented using the group's role_set (so that the existing view code continues to work with minimal changes)
- Improved selection in many querysets that assumed only groups of type 'area' would have area directors.
Related to #1557 and #1555.
 - Legacy-Id: 8884
Note: SVN reference [8851] has been migrated to Git commit 4c9db8f250
2015-01-21 19:33:19 +00:00
Henrik Levkowetz 0316c33c4b Merged in [8716] from rjsparks@nostrum.com:
Highlight need for milestone review and approval in messages to leadership when a milestone edit requires approval. Don't bother the group when the only changes are those needing approval. Fixes ticket #1501.
 - Legacy-Id: 8865
Note: SVN reference [8716] has been migrated to Git commit 134ae9928f
2015-01-15 19:21:56 +00:00
Robert Sparks 56f9260acb Show out-of-area ads on /wg/. Fixes #1555. Related to #1557. Commit ready for merge.
- Legacy-Id: 8856
2015-01-09 20:40:04 +00:00
Robert Sparks 65804be683 This is the second step towards ADs out of GroupInfo into Role.
The use of group.ad has been scrubbed from the code and templates.
  - Those places that set group.ad have been directly manipulate Role objects instead
  - Most places that read group.ad now use a new group.ad_role() that returns a Role object, simplifing some views.

Related to #1555 and #1557.

Commit ready for merge.
 - Legacy-Id: 8854
2015-01-09 18:52:06 +00:00
Robert Sparks 4c9db8f250 This is the first step towards using Role to represent Area directors. It
- Migrates the information captured in GroupInfo.ad to Role objects.
- Renames GroupInfo.ad to GroupInfo._ad (retaining the current column name) to prepare for deletion of that field.
- Provides ad property accessor and setter methods implemented using the group's role_set (so that the existing view code continues to work with minimal changes)
- Improved selection in many querysets that assumed only groups of type 'area' would have area directors.

Related to #1557 and #1555.

Commit ready to merge.
 - Legacy-Id: 8851
2015-01-08 20:22:23 +00:00
Henrik Levkowetz b5dad67b05 Fix django 1.7 deprecation warnings: get_query_set() --> get_queryset().
- Legacy-Id: 8827
2014-12-22 17:38:49 +00:00
Henrik Levkowetz 25eb00c925 New django-1.7 initial migrations. Circular references exist, requiring explicit --fake migration for doc, dbtemplate and community apps.
- Legacy-Id: 8823
2014-12-22 17:07:38 +00:00
Henrik Levkowetz dd15785936 Removing south migrations as part of the django 1.7 changeover to builtin migrations.
- Legacy-Id: 8820
2014-12-22 16:44:35 +00:00
Henrik Levkowetz 5133e59c9b Merged in [8711] from rjsparks@nostrum.com:\n Added functionality for management of group materials,
focusing on groups of type 'team'.
* Simplifies managing the Abstract for uploaded group materials. 
  Displays the abstract on the groups materials page
* Provides SessionPresentation: a binding between 
  Document and Session objects, that tracks doc version.
* Adds helpers for finding upcoming sessions, and the 
  most recent SessionPresentations whose sessions have passed
* Generalizes the snippet concept (as a templatetage) used 
  in the history tab for use on other pages
* Adds a variant of the snippet that can be styled as an edit link
* Provides several ways to address sessions, using sequence, 
  dates, group acronyms, and day of week
* Adds a 'Materials Manager' Role
 - Legacy-Id: 8765
Note: SVN reference [8711] has been migrated to Git commit b4448a8faa
2014-12-18 18:47:14 +00:00
Henrik Levkowetz 770b36d575 Added generated (and sometimes manually tweaked) resources.py files.
- Legacy-Id: 8744
2014-12-14 20:33:25 +00:00
Ole Laursen 027a976da4 Summary: Fix problem with confirm checkbox for potentially dangerous
acronym choices on group edit/creation page, fixes the last remaining
facelift test failure
 - Legacy-Id: 8720
2014-11-30 14:53:54 +00:00
Robert Sparks 134ae9928f Highlight need for milestone review and approval in messages to leadership when a milestone edit requires approval. Don't bother the group when the only changes are those needing approval. Fixes ticket #1501. Commit ready for merge.
- Legacy-Id: 8716
2014-11-26 18:56:51 +00:00
Ole Laursen cebc979282 Summary: Resolve person/email/document multiselect issue by importing
select2 and switching the widgets over to using that. Port the
milestones editing page to Bootstrap.
 - Legacy-Id: 8713
2014-11-25 16:47:48 +00:00
Robert Sparks b4448a8faa Added functionality for management of group materials,
focusing on groups of type 'team'.

* Simplifies managing the Abstract for uploaded group materials. 
  Displays the abstract on the groups materials page
* Provides SessionPresentation: a binding between 
  Document and Session objects, that tracks doc version.
* Adds helpers for finding upcoming sessions, and the 
  most recent SessionPresentations whose sessions have passed
* Generalizes the snippet concept (as a templatetage) used 
  in the history tab for use on other pages
* Adds a variant of the snippet that can be styled as an edit link
* Provides several ways to address sessions, using sequence, 
  dates, group acronyms, and day of week
* Adds a 'Materials Manager' Role

Commit ready for merge.
 - Legacy-Id: 8711
2014-11-25 00:09:05 +00:00
Robert Sparks 8a8da7a397 cleaned out boilerplate migration imports that arent actually used
- Legacy-Id: 8709
2014-11-24 21:51:51 +00:00
Robert Sparks e5e6b1337d Added a materials manager (matman) Role, and populated it for the edu team
- Legacy-Id: 8708
2014-11-24 21:40:49 +00:00
Ole Laursen 4bb48ac831 Cherrypick r8381 from /branch/iola/submit-replacement/ to get the document widget in, in preparation for fixing the autocomplete problems
- Legacy-Id: 8703
2014-11-21 15:32:04 +00:00
Henrik Levkowetz 72247628a2 Removed an errant print debug statement.
- Legacy-Id: 8644
2014-11-11 22:24:02 +00:00
Suresh Krishnan b6ff986ffd Advising IESG Secretary of personnel changes in WGs. Fixing issue #1357. Commit ready for merge.
- Legacy-Id: 8623
2014-11-09 02:29:09 +00:00
Robert Sparks c436607039 merged forward. Adjusted new proceedings code to new models. Found bug in earlier work on proceedings code exposing places that tests are not covering.
- Legacy-Id: 8589
2014-11-05 21:19:09 +00:00
Ole Laursen 87870ca954 Fix more test errors - now only two not yet fully ported views remain
- Legacy-Id: 8571
2014-11-03 16:39:41 +00:00
Ole Laursen 41cb195f52 Rebase /personal/lars/5.6.4-facelift/ on trunk
- Legacy-Id: 8520
2014-10-30 14:31:07 +00:00
Henrik Levkowetz 704589b4c7 Merged in branch/iola/people-cleanup @ [8471] from olau@iola.dk, which
enhances a number of pages in the datatracker where forms contain fields
  where a person should be chosen, such as for instance when choosing the
  shepherd of a document, so that they uniformly display choices which show
  both email address and name.

  Furthermore, changes have been made so as to make the email address
  uniformly act as reference to the person record.  

  Autocompletion is now consistently provided when looking for the email
  address or name of the person to choose.  

  This solves a number of issues where it has been difficult to choose the
  correct Person/Email combination, and where the correct email address to use
  for an association has been unavailable previously.
 - Legacy-Id: 8472
Note: SVN reference [8471] has been migrated to Git commit d62f2343e8
2014-10-25 21:05:50 +00:00
Robert Sparks e889177a32 merged forward
- Legacy-Id: 8432
2014-10-16 15:07:33 +00:00
Lars Eggert a4daf2630c Merge branch 'lars/5.6.3-facelift' into lars/5.6.4-facelift
Conflicts:
	ietf/doc/templatetags/ietf_filters.py
	ietf/doc/views_charter.py
	ietf/templates/doc/charter/edit_notify.html
	ietf/templates/doc/charter/edit_telechat_date.html
	ietf/templates/doc/document_ballot_content.html
	ietf/templates/doc/document_history.html
	ietf/templates/doc/edit_notify.html
	ietf/templates/doc/edit_telechat_date.html
	ietf/templates/doc/notify.html
	ietf/templates/group/concluded_groups.html
 - Legacy-Id: 8429
2014-10-14 11:48:57 +00:00
Henrik Levkowetz 272c738471 Added migration erroneously not included in earlier merge.
- Legacy-Id: 8393
2014-10-12 19:56:27 +00:00
Ole Laursen 5604914bfc Add AutocompletedDocumentsField to be used for replacements submission
and refactor milestones tool to use this field
 - Legacy-Id: 8381
2014-10-09 17:14:14 +00:00
Robert Sparks 754ee80016 snapshot before SIPit - have a working session presentation edit form
- Legacy-Id: 8358
2014-09-26 20:47:13 +00:00
Robert Sparks c3f460cbe9 Refactored history snippets for general use
Moved from VersionedMaterials to SessionPresentation for the through table name
Added the abstract and most recent presentation to the documents on the group materials page
Working snapshot before building historic edu-team documents
 - Legacy-Id: 8349
2014-09-19 21:33:30 +00:00
Ole Laursen 92e5694ed3 Revamp the AutocompletedEmailsField API a bit to allow for an AutocompletedPersonsField
- Legacy-Id: 8282
2014-08-18 13:55:43 +00:00
Ole Laursen 7b36280070 Rename EmailsField to AutocompletedEmailsField and add a singular
AutocompletedEmailField that cleans to a single Email to make it
easier to use with ModelForms
 - Legacy-Id: 8280
2014-08-18 11:50:04 +00:00
Ole Laursen a1a13323d2 Use hint text instead of Django help text for providing the help for
EmailsField and clarify the text displayed when the input is invalid
so it's hopefully more clear what happens
 - Legacy-Id: 8272
2014-08-17 09:02:21 +00:00
Ole Laursen 9e9ec98206 Moved EmailsField from person.forms to person.fields
- Legacy-Id: 8269
2014-08-14 08:03:11 +00:00
Henrik Levkowetz f11ef54adf Merged in personal/fanpeng/v5.5.3-dev0@8005 from fanpeng@chinamobile.com:
Added email subscription and web-archive links to the datatracker wg summary page.  Fixes issue #958.
 - Legacy-Id: 8062
2014-07-13 20:06:00 +00:00
Henrik Levkowetz a73163993a Rewrote the draft-alias and group-alias generation scripts to generate matching aliases and virtual files for postfix.
- Legacy-Id: 8055
2014-07-08 14:25:14 +00:00
Henrik Levkowetz 09f654b1f4 Merged in branch/iola/team-support from olau@iola.dk. This generalises and extends the group support for WGs and RGs so that also other groups, such as for instance the Edu Team, can have pages.
- Legacy-Id: 8013
2014-07-02 19:30:07 +00:00
Peng Fan 46656c2e8f Fixes ticket #958. Branch ready for merge.
- Legacy-Id: 8005
2014-07-01 04:00:18 +00:00
Peng Fan 5e0f4032d7 Added direct links to list subscription and archive for each WG to http://datatracker.ietf.org/wg/. Addresses issue #958.
- Legacy-Id: 8004
2014-07-01 03:39:43 +00:00
Ole Laursen e92e57acd2 Fix an instance of charter-ietf-%s that should really be charter-%s-%s
to support RG charters properly, also remove the dead code for
handling group acronym renames (it contained some instances of
charter-ietf-%s too)
 - Legacy-Id: 7936
2014-06-26 16:24:06 +00:00
Henrik Levkowetz 54b682d3b2 Merged [7910] from rjsparks@nostrum.com: Pay attention to group type in all the wginfo functions. Fixes bug #1423.
- Legacy-Id: 7929
Note: SVN reference [7910] has been migrated to Git commit 89c7216ce4
2014-06-24 21:05:57 +00:00
Henrik Levkowetz f00f589e66 Renamed a very specialized function from email_secretariat() to email_iesg_secretary_re_charter().
- Legacy-Id: 7923
2014-06-17 16:31:12 +00:00
Ole Laursen f9ee750afd Make it possible to adjust the name of new materials upon upload, also fix a couple of warnings from PyFlakes
- Legacy-Id: 7914
2014-06-13 12:30:42 +00:00
Robert Sparks 89c7216ce4 Pay attention to group type in all the wginfo functions. Fixes bug #1423. Commit ready for merge.
- Legacy-Id: 7910
2014-06-12 21:02:30 +00:00
Henrik Levkowetz fdc93d40fe Merged in [7879] and [7880] from olau@iola.dk to fix a couple of issues with the 5.5.0 release.
- Legacy-Id: 7885
Note: SVN reference [7879] has been migrated to Git commit 0078057173

Note: SVN reference [7880] has been migrated to Git commit 8d5006a890
2014-06-10 15:18:08 +00:00
Ole Laursen 8d5006a890 Fix another crash bug on live - don't display charter link in email to
Secretariat if the RG has no charter
 - Legacy-Id: 7880
2014-06-10 11:05:44 +00:00
Henrik Levkowetz 9ff2b9ff9a Merged in support for RG pages, from branch/iola/rg-support.
- Legacy-Id: 7866
2014-06-09 20:52:14 +00:00
Ole Laursen 602feff7c9 Add tests for new material code
- Legacy-Id: 7850
2014-06-04 13:10:55 +00:00
Ole Laursen 6e83335f0f Fix a bunch of mistakes found by PyFlakes in the new materials code
- Legacy-Id: 7839
2014-06-03 11:28:27 +00:00
Ole Laursen 88cf68d43f Move group material handling code to doc/material/ now that the view of the material is integrated into /doc/, fix a bunch of bugs
- Legacy-Id: 7834
2014-06-03 09:42:16 +00:00
Ole Laursen c94757405d Add a /doc/ page for materials (slides, agendas, minutes), link to that from the group materials page
- Legacy-Id: 7825
2014-06-02 12:18:42 +00:00
Ole Laursen 7df4de78e3 Throw a validation error when uploading a material with an already used name, asking uploader to either choose a new title or revise the previous material
- Legacy-Id: 7808
2014-05-31 14:16:59 +00:00
Ole Laursen 63dabff779 Fix some bugs in previous commit
- Legacy-Id: 7806
2014-05-30 16:17:21 +00:00
Ole Laursen 976d0b9d68 Turn charter page for non-chartering groups into about page, fix a bunch of potentially broken links due to the split between group-type prefixed URLs and /group/ ones
- Legacy-Id: 7805
2014-05-30 15:59:02 +00:00
Ole Laursen 544cd702bb Drop the material doc type, instead present a choice of doc types for uploading materials (currently only slides) and use that, introduce a DOCUMENT_PATH_PATTERN setting for storing the files and only look in proceedings/ for documents that are actually meeting related
- Legacy-Id: 7802
2014-05-30 14:07:16 +00:00
Ole Laursen 252db0dffb Fix some bugs, add correct document events in materials upload
- Legacy-Id: 7780
2014-05-26 15:40:51 +00:00
Ole Laursen 3bfb6dcd43 Added support data for a tentative new material document type, add a upload/edit/revise page for uploading and revising group materials, still missing a couple of details and tests
- Legacy-Id: 7776
2014-05-23 16:26:56 +00:00
Ole Laursen 17cf1095c7 Fix cosmetic problem with label_suffix and the delete labels on the milestones page
- Legacy-Id: 7770
2014-05-22 16:10:37 +00:00
Ole Laursen 0bd82434c8 Fix problem with milestones editing claiming that all resolved
milestones have been changed when you click the review changes button
(by removing work-around for bug in previous version of Django)
 - Legacy-Id: 7769
2014-05-22 15:55:15 +00:00
Ole Laursen 9579525ca4 Add simple materials page, tie up some of the loose ends in group generalization work
- Legacy-Id: 7768
2014-05-22 15:53:20 +00:00
Ole Laursen 0144ef366b Add description field on group, enable most group info page views to
work without a group type to pave the way for /group/<acronym>/ URLs,
make charter page more generic, enable it to handle descriptions and
walk over all personnel instead of picking out specific types
of roles, add a redirect view on /group/<acronym>/ to lead to either
documents/ or charter/, add simple group.features() class to be able
to condition on group features rather than specific group types,
adjust group pages menu accordingly
 - Legacy-Id: 7758
2014-05-20 10:19:26 +00:00
Ole Laursen 43e472b647 Remove IETFWG_DESCRIPTIONS_PATH which is no longer useful as all charter files will soon have been moved
- Legacy-Id: 7582
2014-04-08 14:15:49 +00:00
Ole Laursen 357f88c0d6 Add simple overview page with links to concluded groups, use that instead of the tools page for the left menu link
- Legacy-Id: 7567
2014-04-03 11:49:05 +00:00
Ole Laursen 25d37c04f3 Make sure BoF states don't show up for RGs
- Legacy-Id: 7564
2014-04-02 11:44:17 +00:00
Ole Laursen 8dabf4cd79 Fix bug in displaying charter new group links
- Legacy-Id: 7563
2014-04-02 11:40:20 +00:00
Robert Sparks 1221f79af9 Updates and bugfixes to the agenda editing features
* Removes the pattern of using ScheduledSession m2m objects with one of the relationships left as None
* Improves scheduled session state handling
* Simplifies sending email to scheduled session requestors
* Improved timeslot purpose and room editing
* Improved access controls to editing forms
* Better test coverage for the meeting views
* Improvements to the javascript driven by prototyping automated tests
* Better initialization of a new meeting
On the session request form:
  - Allows specifiying room resources (projectors, meetecho)
  - Allows specifying what people must be present
On the schedule editing page:
  - correctly calculates conflict levels
  - displays conflicts in and out of each session separately
  - italicizes BoFs
  - shows resource and people conflicts
Adds automated placement as a management command

Commit ready for merge.
 - Legacy-Id: 7561
2014-04-01 22:17:18 +00:00
Ole Laursen f52e676793 Move chartering groups to /group/chartering/ (with a redirect from the old location), list RGs there too, and amend the previous fix to the chartering process for non-WGs so they have internal and external review states instead of just approved. Also move the code in wginfo/ to group/ as it is no longer just about info for WGs.
- Legacy-Id: 7556
2014-04-01 11:59:08 +00:00
Ryan Cross 0fafe56381 allow edit of timeslots, changes to scheduled notifications, support non-official schedules
- Legacy-Id: 7554
2014-03-28 23:16:41 +00:00
Ole Laursen c125ca1c64 Fix edit pages and milestones functionality to work with RGs - currently the IRTF Chair takes the same role as the AD
- Legacy-Id: 7541
2014-03-25 11:50:24 +00:00
Henrik Levkowetz 2a551bb35b Made ietf/group/ pyflakes-clean.
- Legacy-Id: 7465
2014-03-15 17:02:52 +00:00
Henrik Levkowetz 5bef5d11ae Made doc/ pyflakes-clean.
- Legacy-Id: 7462
2014-03-15 16:09:47 +00:00
Robert Sparks ad2784962f ported forward from personal/rjs/trunk-7174. Still one existing test failing
- Legacy-Id: 7449
2014-03-08 10:37:24 +00:00
Henrik Levkowetz bcbc22f45b Only show a link to the tools page for a group if the tools page is likely to exist, i.e., the group is a WG and it is or has been active.
- Legacy-Id: 7264
2014-02-19 14:41:29 +00:00
Ole Laursen 1fb05041cc Fix duplicate name in recently added stream tests
- Legacy-Id: 7093
2014-01-09 18:11:12 +00:00
Ole Laursen be475b8996 Add missing tests of stream document pages
- Legacy-Id: 7090
2014-01-09 17:51:05 +00:00
Ole Laursen c7a2c64c10 Get rid of fixtures that were added for the meeting tests previously, they are not used anymore, and incomplete so will not load with Django 1.6
- Legacy-Id: 7070
2013-12-24 16:14:05 +00:00
Ole Laursen 083b3138c6 Rename group AJAX URL parameter to acronym instead of groupname since
it is in fact the acronym, not the name of the group
 - Legacy-Id: 7064
2013-12-24 12:49:25 +00:00
Ole Laursen ce3e6c59de ._meta.module_name -> ._meta.model_name
- Legacy-Id: 6978
2013-12-18 12:07:04 +00:00
Ole Laursen 7f277a8fbb Replace user.get_profile() with user.person, the profile stuff is deprecated since Django 1.5
- Legacy-Id: 6968
2013-12-18 10:13:40 +00:00
Ole Laursen d66ac15fc2 Rewrite a bunch of HttpResponseRedirect + url reverse calls to instead
take advantage of the redirect shortcut (introduced in Django 1.1)
 - Legacy-Id: 6960
2013-12-17 10:23:42 +00:00
Ole Laursen 84a9f49053 mimetype -> content_type (mimetype is deprecated)
- Legacy-Id: 6945
2013-12-16 16:53:47 +00:00
Ole Laursen 77e03c7355 Fix bugs in stream edit test
- Legacy-Id: 6933
2013-12-16 11:55:15 +00:00
Ole Laursen 3d7b349e20 Remove group/tests/, it only contains two tests (on a fixture, not
really on any IETF code) and it clashes with the tests in group/tests.py
 - Legacy-Id: 6932
2013-12-16 11:53:10 +00:00
Ole Laursen 7f25469c6b Drop the group/person/role global fixtures, the fixture loader in
Django 1.6 refuses to load them because they have dangling foreign
keys, and in rewriting them it turns out it is easier to do so in code
- so refactor the test data generation code to have a separate
function with the unchanging base data and call that from the global
fixture setup
 - Legacy-Id: 6917
2013-12-13 15:58:36 +00:00
Ole Laursen 99aa5e98f3 Import update_wrapper from functools instead of from Django
- Legacy-Id: 6886
2013-12-11 17:10:26 +00:00
Ole Laursen 6a98fec2c3 Use built-in json module in Python instead of simplejson bundled with Django
- Legacy-Id: 6883
2013-12-11 16:59:19 +00:00
Ole Laursen cfa0d47ca0 Port to new class-based generic redirect and simple template views, remove utils.lazy.reverse_lazy, it's now included in Django
- Legacy-Id: 6878
2013-12-11 16:36:09 +00:00
Ole Laursen b92a49b216 Remove verify_exists=False from URLField, it is now obsolete
- Legacy-Id: 6875
2013-12-11 15:31:18 +00:00
Ole Laursen 185149c46b Strip out all ADs from the working group fixtures, apparently they are not included in another permafixture so cause trouble in some tests
- Legacy-Id: 6841
2013-12-07 19:28:13 +00:00
Ole Laursen 3e709e3f24 Remove proxies
- Legacy-Id: 6826
2013-12-07 12:01:57 +00:00
Ole Laursen e63ac36b8f Remove shim layer from ietfauth, delete some dead code and migrate
remaining importers of ietfauth.decorators to ietfauth.utils
 - Legacy-Id: 6797
2013-12-05 16:24:03 +00:00
Ole Laursen 9457669310 Merge in changes from the old shimfree branch
- Legacy-Id: 6764
2013-11-27 12:55:50 +00:00
Henrik Levkowetz 3863b0def3 Added another state to the possible IETFWG states in the group proxy models file, to avoid exceptions.
- Legacy-Id: 6484
2013-10-23 05:51:04 +00:00
Henrik Levkowetz a3c8adfdf6 Merged in the contents of commit [6337] from mcr@sandelman.ca, with some changes to take out dead code that inadvertently came back in.
- Legacy-Id: 6344
Note: SVN reference [6337] has been migrated to Git commit d0d1d949a9328da6c4e30d8f5e0d14ffb204e678
2013-10-02 21:53:28 +00:00
Henrik Levkowetz e4f4467725 Changed tests to use our own subclassed TestCase, and changed almost all fixtures to be perma_fixtures.
- Legacy-Id: 6320
2013-09-30 20:36:20 +00:00
Henrik Levkowetz 4805b4b12e Updated fixtures, built to be more internally consistent in order to be able to pre-load them for the test suite.
- Legacy-Id: 6317
2013-09-30 19:02:53 +00:00
Henrik Levkowetz 083f60dd93 Renamed model .url() methods to .json_url() or .base_url(), depending on function. Replaced the use of custom django method request.get_host_protocol() with standard request.build_absolute_uri(). Removed an uncaught Http403 exception. Fixed a typo /venus_addr/venue_addr/. Removed relurl() methods; no longer needed. Removed some debug functions.
- Legacy-Id: 6309
2013-09-29 21:14:07 +00:00
Ole Laursen c191a691e0 Remove "names" fixture from all tests, since it's now loaded once just
after creating the test database through the global test fixture
mechanism - this speeds up multiple tests considerably
 - Legacy-Id: 6305
2013-09-29 17:35:59 +00:00
Ole Laursen 8145d688de Remove references to ietfworkflows/urls.py
- Legacy-Id: 6296
2013-09-28 18:57:59 +00:00
Henrik Levkowetz 6154b9922d This commit isn't tested. It captures the state after merging in branch/ssw/agenda/v4.70.
- Legacy-Id: 6273
2013-09-26 19:56:17 +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 5f6f966355 Add stream edit page for setting delegates
- Legacy-Id: 6254
2013-09-24 16:55:23 +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 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 23cdddf696 Added overview pages for non-ietf-stream documents (ise, iab, irtf).
- Legacy-Id: 6202
2013-09-19 18:21:16 +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
Henrik Levkowetz 175a9dba80 Refactored group membership code, adding advisors and liaisons to the membership list. Needed for the nomcom code.
- Legacy-Id: 5996
2013-08-08 12:29:59 +00:00
Henrik Levkowetz 676d8504f0 Reverted an unneded 'fix' for RG chair document access, which caused 1wg-summary.txt to erroneously include RGs.
- Legacy-Id: 5995
2013-08-08 12:29:00 +00:00
Henrik Levkowetz c6b688e0af Added migrations which should have been part of release 4.70.
- Legacy-Id: 5954
2013-08-06 17:37:47 +00:00
Henrik Levkowetz 6baea429aa Merged in the nomcom app from ejimenez@yaco.es and esanchez@yaco.es, and accompanying dbtemplate app and the (standard) docutils module. Added some tweaks to get all tests to pass and migrations to run.
- Legacy-Id: 5948
2013-08-06 10:09:29 +00:00
Henrik Levkowetz 17eb95c180 Tweaked code to correct access to document metadata and actions, adding RGs to the groups and group secretaries to the roles which are given access.
- Legacy-Id: 5939
2013-08-01 14:37:50 +00:00
Henrik Levkowetz 8675711c27 Merged [5902],[5904] from markus.stenberg@iki.fi:
Added support and scripts for generation of wg- and draft-aliases.  Fixes issue #713.
 - Legacy-Id: 5937
Note: SVN reference [5902] has been migrated to Git commit e5b551f4ce

Note: SVN reference [5904] has been migrated to Git commit e68e51cc55
2013-08-01 12:44:49 +00:00
Markus Stenberg e68e51cc55 Removed hardcoded rewrites - bad idea, and added default .ad's also for working group documents (.group.acronym != 'none').
- Legacy-Id: 5904
2013-07-27 14:53:31 +00:00
Markus Stenberg e5b551f4ce First iteration of email alias generation for wg- and drafts ( issue #713 ).
- Legacy-Id: 5902
2013-07-27 14:11:20 +00:00
Henrik Levkowetz bd0c07290a Merged in branch/iola/milestones, which provides datatracker support for management of WG milestones.
- Legacy-Id: 5739
2013-05-15 22:07:23 +00:00
Henrik Levkowetz bcee56d238 Tweaked group/admin.py to show some additional group and group event columns
when listing entries.
 - Legacy-Id: 5685
2013-04-23 15:40:32 +00:00
Henrik Levkowetz 04858d3c2a Added the bof-conc (Concluded BoF) slug to the proxy tranlator for status_id.
- Legacy-Id: 5452
2013-02-24 20:12:31 +00:00
Ole Laursen 6e89f3b606 Merge changes from old milestones branch
- Legacy-Id: 5198
2013-01-15 16:45:19 +00:00
Emilio Jiménez cca4924597 Create views skel for private area.
Create new decorators to test if user is nocom member
News function in Group model to get the group members
Move util functions to utils.py module
Improve passes_test_decorator function so test_func accept more params.
See #919
 - Legacy-Id: 5161
2012-12-29 00:52:52 +00:00
Henrik Levkowetz 1fbcd783f3 Merged branch/iola/statesync up to @5118 to trunk.
- Legacy-Id: 5147
2012-12-20 20:32:03 +00:00
Ole Laursen b19f6d8060 Merge in milestones branch
- Legacy-Id: 5091
2012-12-03 14:36:30 +00:00
Emilio Jiménez 8984e888f6 Refactor with new funcions: group.is_chair(user) and group.get_chair()
See #904
 - Legacy-Id: 5070
2012-11-22 11:26:48 +00:00
Henrik Levkowetz d0214d3b25 Merged [4806] from rjsparks@nostrum.com:
Better handling for BoFs, particularly those that won't create WGs
 - Legacy-Id: 4939
2012-10-21 14:40:02 +00:00
Henrik Levkowetz b5ae9c563f Tweak the GroupHistoryAdmin list_display.
- Legacy-Id: 4914
2012-10-15 20:58:40 +00:00
Henrik Levkowetz 27186d111e Added a docstring note about the convention for when save_*_in_history() shoudl be called.
- Legacy-Id: 4883
2012-09-27 10:03:16 +00:00
Ole Laursen 49fc493526 Clean up doc.json view, only export plain fields and fields requested
in RFC 6359, more can be added later if necessary; export more info on
the group
 - Legacy-Id: 4869
2012-09-20 12:29:14 +00:00
Henrik Levkowetz 01e20724db Added search fields for 2 GroupEvent admin views.
- Legacy-Id: 4643
2012-07-27 22:15:44 +00:00
Henrik Levkowetz 356552dac9 Fixed id_abstracts to include drafts assigned directly to areas, not only individual and WG drafts.
- Legacy-Id: 4620
2012-07-19 14:03:21 +00:00
Henrik Levkowetz a732ebf8e2 Added admin interface for GroupEvents.
- Legacy-Id: 4619
2012-07-19 14:02:11 +00:00
Ole Laursen 1d0ba6c341 Make sure MilestoneHistory doesn't have an auto_now on the time field
- Legacy-Id: 4580
2012-07-03 23:25:49 +00:00
Ole Laursen 22ce2e709a Make sure milestone.docs is also raw edit to avoid biggish drop down
- Legacy-Id: 4541
2012-06-28 13:57:48 +00:00
Ole Laursen 319a202900 Finish charter milestones support so they're merged in after approval
of the charter, also replace references to WGs in wgcharter with a
more generic counterpart so will be easier to add support for RGs if
someone ever gets that far (will still need testing and probably some
minor adjustments though).
 - Legacy-Id: 4534
2012-06-27 16:24:04 +00:00
Ole Laursen 8929413a71 Merged in changes from former milestones branch
- Legacy-Id: 4516
2012-06-26 18:09:43 +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
Henrik Levkowetz afe3ee71b8 Merged in fixes from Ole, from branch/charter:r4382-4407, and some changes from Henrik (removing the use of pos.blocked in views_ballot.py, and setting a ballot id in idrfc/testsREDESIGN.py) to make idrfc.EditPositionTestCase succeed.
- Legacy-Id: 4444
2012-06-10 16:22:16 +00:00
Ole Laursen 07382a07a4 Add an entry to the group history when closing a group is being
requested and use that to put a notice on the WG page.
 - Legacy-Id: 4399
2012-05-04 17:46:35 +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 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 21c52a34ae Add admin support for GroupHistory and GroupURL.
- Legacy-Id: 4097
2012-03-15 18:07:55 +00:00
Henrik Levkowetz 85e1cfed80 Add filtering by group for Role list page in admin.
- Legacy-Id: 4068
2012-03-07 13:40:57 +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 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 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 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 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 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 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 328ecb08c3 Replace old charter branches with new branch based on conversion branch and some preliminary work on generalizing document handling
[[Split portion of a mixed commit.]]
 - Legacy-Id: 3883.1
2012-01-31 17:38:27 +00:00
Ole Laursen 13aed82a0e More import path fixes from Henrik
- Legacy-Id: 3877
2012-01-30 19:05:27 +00:00
Ole Laursen 980d4e6444 Move new schema models from redesign/ to ietf/
- Legacy-Id: 3855
2012-01-24 17:17:24 +00:00