Henrik Levkowetz
e03784132d
Merged changes from current trunk to Py3 branch.
...
- Legacy-Id: 16468
2019-07-16 15:36:16 +00:00
Henrik Levkowetz
bdc73e771a
Python2/3 compatibility: replaced six.ensure_text() with either six.text_type or django's force_text(), depending on the case, and fixed a variable scope issue.
...
- Legacy-Id: 16461
2019-07-16 13:20:05 +00:00
Henrik Levkowetz
8c6eb3a30a
Python2/3 compatibility: Changed the use of open() and StringIO to io.open() etc.
...
- Legacy-Id: 16458
2019-07-15 19:14:04 +00:00
Henrik Levkowetz
2d7c9629aa
Added 'from __future__' imports all over the place, to bring code behaviour into closer alignment between python2 and python3
...
- Legacy-Id: 16446
2019-07-15 15:40:51 +00:00
Henrik Levkowetz
0679eaa8d4
Removed unused imports.
...
- Legacy-Id: 16402
2019-07-04 21:06:57 +00:00
Henrik Levkowetz
f480799af9
Undid unintentional bulk commit
...
- Legacy-Id: 16401
2019-07-04 21:04:46 +00:00
Henrik Levkowetz
fc09a59950
Added decode() of command pipe output.
...
- Legacy-Id: 16400
2019-07-04 21:01:39 +00:00
Henrik Levkowetz
8c66e95a57
Test changes to match production group type changes for some special groups.
...
- Legacy-Id: 16357
2019-07-01 18:30:59 +00:00
Henrik Levkowetz
15e74e89cb
Converted instances of assertTrue(text in response.content) to the recommended assertContains(response, text), and similar for assertFalse(... in ...)
...
- Legacy-Id: 16336
2019-06-29 13:43:31 +00:00
Henrik Levkowetz
d7f5c84182
Initial 2to3 patch with added copyright statement updates.
...
- Legacy-Id: 16309
2019-06-27 14:40:54 +00:00
Henrik Levkowetz
f9cd72168f
Updated some functions and views in secr/srec/ to use GroupFeatures instead of harcoded lists of group types.
...
- Legacy-Id: 16301
2019-06-23 11:52:58 +00:00
Henrik Levkowetz
da5ff11538
Make session requests also work for ad-hoc groups, which may not have a parent area.
...
- Legacy-Id: 16300
2019-06-20 21:43:41 +00:00
Henrik Levkowetz
3508f59f52
Merged in [15596] from rjsparks@nostrum.com:
...
improved coverage for several tests.
- Legacy-Id: 15600
Note: SVN reference [15596] has been migrated to Git commit 6f18ae882532433ba86322b33c34f5f1b0350cb9
2018-10-19 14:27:13 +00:00
Robert Sparks
87bda66740
Converted several secr apps to use factories for tests. Commit ready for merge.
...
- Legacy-Id: 15568
2018-10-12 22:08:31 +00:00
Henrik Levkowetz
5b3c961677
Removed the 2.5 hour session length choice for IETF 103, since there will be no Friday sessions that meeting.
...
- Legacy-Id: 15477
2018-09-20 14:05:00 +00:00
Henrik Levkowetz
1504c6b13e
Merged in [15328] from rcross@amsl.com:
...
Give secretariat the ability to cancel non-working group sessions. Fixes #2537 .
- Legacy-Id: 15363
Note: SVN reference [15328] has been migrated to Git commit ec279682d2
2018-07-15 20:08:44 +00:00
Ryan Cross
4ae0982fb0
Fix issue where user can make two session request submissions, corrupting data. Also, ignore deleted session requests in edit view. Commit ready for merge
...
- Legacy-Id: 15055
2018-04-18 23:23:20 +00:00
Henrik Levkowetz
26bf387356
Replaced direct assignment to m2m fields with .clear() and .set()
...
- Legacy-Id: 14666
2018-02-21 23:58:25 +00:00
Ryan Cross
bf3a49466f
Improve test coverage for ietf.secr.sreq. Commit ready for merge
...
- Legacy-Id: 14362
2017-11-11 09:33:27 +00:00
Henrik Levkowetz
2070bbfed6
Merged in [13722] and [13712] from rcross@amsl.com:
...
Remove all use of request.session from secretariat apps. Add tests for affected views. Fixes #1455 .
- Legacy-Id: 13724
Note: SVN reference [13712] has been migrated to Git commit 915b445bcffcd4687fb1677230b98282d22dd9a0
Note: SVN reference [13722] has been migrated to Git commit 3a2cb9d3d846168f75d9796b4e5383bdf10b1f60
2017-06-28 14:55:10 +00:00
Robert Sparks
4813177086
Allow the nomcom to collect feedback on arbitrary topics. Fixes #2256 and #1846 . Commit ready for merge.
...
- Legacy-Id: 13474
2017-05-30 19:54:31 +00:00
Ryan Cross
9a9531d9f6
Change From address of session request notifications from session_request_developers@ietf.org to session-request@ietf.org. Fix requester information in session request cancellation email. Fixes #1621 . Commit ready for merge.
...
- Legacy-Id: 13291
2017-05-09 21:33:14 +00:00
Ryan Cross
4d9bdcad6a
Add group field to Roles add form validation. Fixes #2292 . Commit ready for merge.
...
- Legacy-Id: 13276
2017-05-09 00:33:55 +00:00
Henrik Levkowetz
4c28fa2828
Added filtering of room resources in the session request form based on the 'used' flag of the room resource name. Tweaked admin to show 'used' for ResourceAssociations. Added Flipchart and U-shape-layout resources through a data migration, and added/modified resource icons.
...
- Legacy-Id: 13226
2017-04-15 19:13:44 +00:00
Lars Eggert
8a70e9773d
Fix various "RemovedInDjango20Warning" warnings. Commit ready for merge.
...
- Legacy-Id: 13112
2017-03-25 19:16:45 +00:00
Henrik Levkowetz
ea70381f29
Merged in [12950] from rcross@amsl.com:
...
Fixes #2219 . Area Group chairs are denied material management access.
- Legacy-Id: 12951
Note: SVN reference [12950] has been migrated to Git commit c6d1a59aa4
2017-03-02 21:21:07 +00:00
Henrik Levkowetz
74af0f5658
Replaced another bunch of explicit url names with dotted-path to the view function.
...
- Legacy-Id: 12849
2017-02-15 22:11:20 +00:00
Henrik Levkowetz
aa5e61d958
Updated all urlpatterns to use ietf.utils.urls.url() instead of django's,
...
in order to autogenerate dotted path url pattern names. Updated a number
of url reverses to use dotted path, and removed explicit url pattern names
as needed.
Changed some imports to prevent import of ietf.urls before django
initialization was complete.
Changed 3 cases of form classes being curried to functions; django 1.10
didn't accept that.
Started converting old-style middleware classes to new-style middleware
functions (incomplete).
Tweaked a nomcom decorator to preserve function names and attributes, like
a good decorator should.
Replaced the removed django templatetag 'removetags' with our own version
which uses bleach, and does sanitizing in addition to removing explicitly
mentionied html tags.
Rewrote the filename argument handling in a management command which had
broken with the upgrade.
- Legacy-Id: 12818
2017-02-11 14:43:01 +00:00
Henrik Levkowetz
19d585255a
Django 1.10 does not permit the view argument to url() to be a string any more. Changed all cases view arguments to url() which were strings to instead reference the actual imported function.
...
- Legacy-Id: 12815
2017-02-10 14:49:16 +00:00
Henrik Levkowetz
de3976bec0
Merged in Django 1.9 upgrade work from ^/personal/henrik/6.41.1-django-1.9
...
- Legacy-Id: 12764
2017-01-31 15:13:01 +00:00
Henrik Levkowetz
55b430b525
Merged in [12748] from rcross@amsl.com:
...
Fixes #2172 . Add Requested Resources and People who must be there, to email notifications of session requests.
- Legacy-Id: 12757
Note: SVN reference [12748] has been migrated to Git commit eeb35e997d
2017-01-30 23:22:45 +00:00
Ryan Cross
eeb35e997d
Fixes #2172 . Add Requested Resources and People who must be there, to email notifications of session requests. Commit ready for merge.
...
- Legacy-Id: 12748
2017-01-27 23:32:52 +00:00
Henrik Levkowetz
6de7be6953
Specified strip=False for another bunch of CharField form fields with Textarea widgets.
...
- Legacy-Id: 12711
2017-01-23 17:38:56 +00:00
Henrik Levkowetz
7b95411f58
The context_instance parameter to render_to_response() and render_to_string() is now deprecated. Fixed this, and generally changed the idiom render_to_response('template.html', {}, RequestContext(request)) to the newer and simpler render(request, 'template.html', {}). About 200 instances.
...
- Legacy-Id: 12637
2017-01-09 21:26:30 +00:00
Henrik Levkowetz
d5460b8f7f
Django 1.9: Merged work forward to copy of latest release.
...
- Legacy-Id: 12621
2016-12-22 17:30:50 +00:00
Henrik Levkowetz
c2541ec04b
Django 1.9: Removed deprecated use of django.conf.urls.patterns() from all urls*.py files.
...
- Legacy-Id: 12618
2016-12-22 17:21:57 +00:00
Henrik Levkowetz
3d6b370c59
Upgraded custom TimedeltaFields to use the builtin DurationField from Django 1.8, and adjusted forms and initialization values accordingly.
...
- Legacy-Id: 12597
2016-12-20 22:56:34 +00:00
Henrik Levkowetz
4b0a9360f0
Merged in ^/branch/iola/event-saving-refactor-r10291, which refactors document saving to always use doc.save_with_history(events), and requires accompanying events. This branch also provides refactoring of recurring regexes in url patterns into a dictionary. As part of the merge, also refactored new code which didn't use the save_with_history() method.
...
- Legacy-Id: 11840
2016-08-23 10:52:08 +00:00
Henrik Levkowetz
d117b9399d
Merged in [11708] from rcross@amsl.com:
...
Restrict session request options to groups of type WG,RG or AG. Add new mailtrigger to names fixture.
- Legacy-Id: 11716
Note: SVN reference [11708] has been migrated to Git commit 10baa54a07
2016-07-19 11:09:57 +00:00
Ryan Cross
10baa54a07
Restrict session request options to groups of type WG,RG or AG. Add new mailtrigger to names fixture. Commit ready for merge.
...
- Legacy-Id: 11708
2016-07-18 11:39:36 +00:00
Henrik Levkowetz
8ca48aac42
Make group acronym regex patterns consistent.
...
There were multiple different regex patterns in different urlpattern
declarations, with some of them permitting characters which should not
occur in group acronym. Changed them to consistently use [-a-z0-9]+ .
- Legacy-Id: 11651
2016-07-13 19:19:15 +00:00
Henrik Levkowetz
d298785fda
Merged in ^/branch/amsl/interim@11230, which provides interim meeting management support. Also fixes issues #1961 , #1962 and #1964 .
...
- Legacy-Id: 11402
2016-06-17 14:16:27 +00:00
Ryan Cross
facead5d95
Add inteirm meeting request disapprove and cancel capabilities
...
- Legacy-Id: 11135
2016-04-26 23:05:53 +00:00
Henrik Levkowetz
4cac784522
Renamed a bunch of identically named MainTestCase classes.
...
- Legacy-Id: 10913
2016-03-06 18:18:38 +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
Ryan Cross
d130d06948
Fixes Ticket #1794 . The session request form validation needs to check that durations have been entered for each requested session. Commit ready for merge
...
- Legacy-Id: 10342
2015-10-31 06:34:25 +00:00
Ryan Cross
8737808e4b
Fixes Ticket #1791 . Secretariat locked out of Session Request Tool. Commit ready for merge
...
- Legacy-Id: 10339
2015-10-31 04:51:31 +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
71dec7a692
Moved forward to 6.7.2.dev0 the changes to rename class ScheduledSession to the more correct (but unfortunately also cumbersome) SchedTimeSessAssignment, and rename reverse relationships involving this class appropriately. Accompanying changes in javascript and templates. Migrations to match.
...
- Legacy-Id: 10297
2015-10-26 22:45:26 +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