Commit graph

5163 commits

Author SHA1 Message Date
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
Robert Sparks 6f8f1956de Change the permission guards on edit_notify to reflect the policy that #1517 tried to establish. Fixes #1517 and #1575. Commit ready for merge.
- Legacy-Id: 8850
2015-01-08 16:25:17 +00:00
Robert Sparks fd9649abf2 Don't add the group's ad to the list of people who need to be at a meeting if the group doesn't have an ad. Protects the field formatter from occurances of None in passed in lists. Patch applied to production. Commit ready for merge.
- Legacy-Id: 8848
2015-01-07 21:24:42 +00:00
Henrik Levkowetz 413e926b2b Set version info and settings back to development mode
- Legacy-Id: 8813
2014-12-21 21:34:03 +00:00
Henrik Levkowetz f90e802dc5 Set version info to release version 5.10.0 before branching.
- Legacy-Id: 8811
2014-12-21 21:33:56 +00:00
Henrik Levkowetz 88dd416117 Changelog entry for 5.10.0
- Legacy-Id: 8810
2014-12-21 21:33:54 +00:00
Henrik Levkowetz 2777fbf4bc Changelog entry for 5.10.0
- Legacy-Id: 8809
2014-12-21 19:32:07 +00:00
Henrik Levkowetz 5183042d58 Merged in branch/amsl/iprtool/5.7.4@8734 from rcross@amsl.com, providing new IPR models, refactored code, and improved list, search, and management interfaces.
- Legacy-Id: 8808
2014-12-21 19:26:33 +00:00
Henrik Levkowetz 04164ad157 Set version info and settings back to development mode
- Legacy-Id: 8805
2014-12-18 21:29:50 +00:00
Henrik Levkowetz 813bf0c025 Set version info to release version 5.9.0 before branching.
- Legacy-Id: 8803
2014-12-18 21:29:46 +00:00
Henrik Levkowetz cd9cb2ca5c Changelog entry for 5.9.0
- Legacy-Id: 8802
2014-12-18 21:29:43 +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 da9419ae64 Set version info and settings back to development mode
- Legacy-Id: 8763
2014-12-18 18:40:22 +00:00
Henrik Levkowetz f15295863a Set version info to release version 5.8.1 before branching.
- Legacy-Id: 8761
2014-12-18 18:40:18 +00:00
Henrik Levkowetz 431f4364ec Changelog entry for 5.8.1
- Legacy-Id: 8760
2014-12-18 18:40:16 +00:00
Henrik Levkowetz a9b91deead Added a file which was missed in the 5.8.0 release.
- Legacy-Id: 8759
2014-12-18 18:37:53 +00:00
Henrik Levkowetz f403aa9886 Set version info and settings back to development mode
- Legacy-Id: 8757
2014-12-18 16:06:12 +00:00
Henrik Levkowetz b878bfa9eb Set version info to release version 5.8.0 before branching.
- Legacy-Id: 8755
2014-12-18 16:06:08 +00:00
Henrik Levkowetz 4dcfba5cd2 Changelog entry for 5.8.0
- Legacy-Id: 8754
2014-12-18 16:06:06 +00:00
Henrik Levkowetz f2b3e72ea8 Downgraded tastypie from 0.12.1 to 0.11.1 for compatibility with Django 1.6 and south.
- Legacy-Id: 8753
2014-12-18 16:05:15 +00:00
Henrik Levkowetz 00e4818ceb Alternative DRY definition of the REST api top URL; this time in ietf/urls.py. This in itself is nicer, but I'm not so sure about the use of reverse() everywhere else, instead of referring to settings.
- Legacy-Id: 8752
2014-12-17 21:26:32 +00:00
Henrik Levkowetz 3cb39d462e Define the REST api top url in settings.py, rather than having literals in multiple places in the code.
- Legacy-Id: 8751
2014-12-17 21:06:05 +00:00
Henrik Levkowetz 7d2c934699 Cleanup.
- Legacy-Id: 8750
2014-12-17 20:25:18 +00:00
Henrik Levkowetz 48e0c33aff Don't list REST API endpoints which don't provide access to any tables.
- Legacy-Id: 8749
2014-12-17 20:18:27 +00:00
Henrik Levkowetz 9cb2f17f0f Added a refinement to the pyflakes management command, to make it clearer where exceptions while running pyflakes originate.
- Legacy-Id: 8747
2014-12-14 20:35:35 +00:00
Henrik Levkowetz 8b5796ef8f Updated requirements file.
- Legacy-Id: 8746
2014-12-14 20:34:27 +00:00
Henrik Levkowetz ed2458feac Tests for the restapi.
- Legacy-Id: 8745
2014-12-14 20:34:03 +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
Henrik Levkowetz 147cc96a51 Added a management command to generate (and update) resource files for tastypie, in order to have to manually maintain the resource files needed by tastypie when models are added (model changes will have to be handled manually, or by removing the old class from the resources and auto-generate it again).
- Legacy-Id: 8743
2014-12-14 20:32:12 +00:00
Henrik Levkowetz c39925fcd0 Added the tastypie lib to the repository
- Legacy-Id: 8742
2014-12-14 20:28:33 +00:00
Henrik Levkowetz 9883b8de78 Added a module with autodiscovery support for API resource files, and the necessary support for TimedeltaField to be used with tastypie. ALso a top-level resource list generated from settings.INSTALLED_APPS, in order to not have to maintain the top level manually in ietf/urls.py.
- Legacy-Id: 8741
2014-12-14 20:27:51 +00:00
Henrik Levkowetz 1dc7a8690f Added a bugfix from Ole to the merge queue.
- Legacy-Id: 8740
2014-12-13 13:40:22 +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
Robert Sparks 986768bf73 Cleaned up issues with date and weekday variants of the session views
- Legacy-Id: 8707
2014-11-24 21:06:58 +00:00
Robert Sparks 2d0eb1e011 Reworked URLs to explicitly invoke edit. Build list of possible sessions using group acronym and sequence variant of urls, not just sequence alone
- Legacy-Id: 8706
2014-11-24 20:53:36 +00:00
Robert Sparks 5f1663530c Added comment docevents when changing SessionPresentation objects. Reworked group materials page to be more helpful when there are multiple SessionPresentations withing a given Meeting
- Legacy-Id: 8705
2014-11-24 19:54:25 +00:00
Henrik Levkowetz 6596a858af Fixed a problem with the admin interface for the ietf.doc.DocHistory class.
- Legacy-Id: 8693
2014-11-14 00:21:54 +00:00
Henrik Levkowetz 50cb5f0762 Set version info and settings back to development mode
- Legacy-Id: 8656
2014-11-13 03:37:17 +00:00
Henrik Levkowetz 8bdd8deafd Set version info to release version 5.7.4 before branching.
- Legacy-Id: 8654
2014-11-13 03:37:13 +00:00
Henrik Levkowetz e89a4a25ba Changelog entry for 5.7.4
- Legacy-Id: 8653
2014-11-13 03:37:11 +00:00
Henrik Levkowetz 224876f713 Added a requirements.txt file which can be read by pip in order to install the packages needed to make the datatracker work. Set up a virtualenv, and then run pip install -r requirements.txt in it.
- Legacy-Id: 8650
2014-11-12 03:31:37 +00:00
Henrik Levkowetz 8675c1e5ad Added a setting for the temporary bluesheets directory used during testing.
- Legacy-Id: 8648
2014-11-12 01:49:55 +00:00
Henrik Levkowetz 9a8731e077 Added svn:ignore settings to ignore directories and files used by virtualenv.
- Legacy-Id: 8647
2014-11-12 01:47:11 +00:00
Henrik Levkowetz c462e63adb Added settings for the PhantomJS ghostdriver.log and the temporary meeting materials directory used during testing, so that it's possible to place them in other places than the working copy.
- Legacy-Id: 8646
2014-11-12 01:45:58 +00:00
Henrik Levkowetz 184662f5e0 Merged in [8641] from rcross@amsl.com:
Fixed the check_permissions() decorator to handle not authenticated users.
 - Legacy-Id: 8645
Note: SVN reference [8641] has been migrated to Git commit 0ad5828b0f42abc2b0af0564f7b01935d0c326f5
2014-11-11 22:29:50 +00:00
Henrik Levkowetz 72247628a2 Removed an errant print debug statement.
- Legacy-Id: 8644
2014-11-11 22:24:02 +00:00
Henrik Levkowetz c426d83a0a Updated solution to the check_permissions decorator, from Ryan
- Legacy-Id: 8643
2014-11-11 22:11:48 +00:00