Commit graph

4394 commits

Author SHA1 Message Date
Henrik Levkowetz 24abae6d26 Added back a modified version of get_fieldsets for liaison forms; in this case the parent class doesn't have this method..
- Legacy-Id: 9011
2015-02-06 12:30:51 +00:00
Henrik Levkowetz 82fd20bfa2 Fixed a typo.
- Legacy-Id: 8833
2014-12-22 19:43:26 +00:00
Henrik Levkowetz 90b4794c3b Fix django 1.7 incompatibilities: The role_required() decorator isn’t signature-preserving — which now breaks reverse().
- Legacy-Id: 8832
2014-12-22 17:59:24 +00:00
Henrik Levkowetz ee2892ecf4 Bugfix: don't assign FK to Email to an EmailField (which expects just an email string).
- Legacy-Id: 8831
2014-12-22 17:57:31 +00:00
Henrik Levkowetz f4ce5e033c Fix django 1.7 incompatibilities: Remove get_fieldsets() methods which don't work any more because of Django's move from using its own SortedDict to python's OrderedDict (which always is available in python 2.7 and later). The get_fieldsets() method on Form wasn't available in early versions of django, but since it's provided now, we don't need own code for this method.
- Legacy-Id: 8830
2014-12-22 17:54:32 +00:00
Henrik Levkowetz 731744cce9 Fix django 1.7 incompatibilities: Upgrade wsgi.py according to https://docs.djangoproject.com/en/1.7/releases/1.7/#wsgi-scripts
- Legacy-Id: 8829
2014-12-22 17:48:28 +00:00
Henrik Levkowetz 43dbe3bfd1 Fix django 1.7 deprecation warnings: Always set fields= or exclude= in Meta for ModelForm subclasses.
- Legacy-Id: 8828
2014-12-22 17:46:29 +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 971a631ea3 Fix django 1.7 deprecation warnings: quote arguments to the 'cycle' template tag.
- Legacy-Id: 8826
2014-12-22 17:36:09 +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 76881655d3 Removed south from INSTALLED_APPS.
- Legacy-Id: 8822
2014-12-22 16:52:28 +00:00
Henrik Levkowetz 39389bf163 Added a migrations directory for secr/proceedings, needed for the django 1.7 makemigrations command to run properly, because there is a subclass of meeting.models.Meeting in proceedings ...
- Legacy-Id: 8821
2014-12-22 16:48:54 +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 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 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 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 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 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 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 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
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 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 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 9bcdf342fb Merged in [8634] from rcross@amsl.com:\n Remove none-selected option from licensing options of new IPR form.
- Legacy-Id: 8638
Note: SVN reference [8634] has been migrated to Git commit 5016baeb30
2014-11-11 02:05:35 +00:00
Henrik Levkowetz bb8359f80d Merged in [8624] from rcross@amsl.com:\n Remove secauth middleware. Replace with role_required decorators.
- Legacy-Id: 8637
Note: SVN reference [8624] has been migrated to Git commit 097b936ca8
2014-11-11 02:00:35 +00:00
Henrik Levkowetz 2d1d95e03b Merged in [8623] from suresh.krishnan@ericsson.com:\n Advising IESG Secretary of personnel changes in WGs. Fixing issue #1357.
- Legacy-Id: 8636
Note: SVN reference [8623] has been migrated to Git commit b6ff986ffd
2014-11-11 01:41:24 +00:00
Henrik Levkowetz ea341466ca Merged in [8609] from tterriberry@mozilla.com, with minor changes:
Allow changing the title of a charter document.
   Fixes #1334
 - Legacy-Id: 8635
Note: SVN reference [8609] has been migrated to Git commit 63d919eb52
2014-11-11 01:34:04 +00:00