Henrik Levkowetz
726fcbf27d
Removed all __future__ imports.
...
- Legacy-Id: 17391
2020-03-05 23:53:42 +00:00
Henrik Levkowetz
e9a37d8ac8
Removed six.text_type(), changed six.moves.urllib to plain urllib, and removed now unused six imports.
...
- Legacy-Id: 17385
2020-03-05 14:41:41 +00:00
Henrik Levkowetz
fa9427769a
Added cleaning of the session request form's 'comments' field, to convert any html entered to text. Related to [17322].
...
- Legacy-Id: 17324
Note: SVN reference [17322] has been migrated to Git commit eb88abc394
2020-02-21 21:36:18 +00:00
Henrik Levkowetz
2eafa85b46
Merged in [17217] from olau@iola.dk:
...
Tighten validation of session conflicts in the session request tool,
preventing conflicts where source = target. Make sure the 'use
previous session' button doesn't carry forward conflicts that are no
longer valid.
Also fix a bug with the group list in the dropdowns being computed
statically at module import time instead of being queried dynamically
upon each page request.
- Legacy-Id: 17222
Note: SVN reference [17217] has been migrated to Git commit c34fec535f
2020-01-13 14:14:31 +00:00
Ole Laursen
c34fec535f
Tighten validation of session conflicts in the session request tool,
...
preventing conflicts where source = target. Make sure the "use
previous session" button doesn't carry forward conflicts that are no
longer valid.
Also fix a bug with the group list in the dropdowns being computed
statically at module import time instead of being queried dynamically
upon each page request.
Commit ready for merge
- Legacy-Id: 17217
2020-01-10 17:42:43 +00:00
Ole Laursen
173b242e37
Request regular sessions with type session, fix the request test to
...
check the type
- Legacy-Id: 17144
2019-12-09 18:20:27 +00:00
Ole Laursen
60a48d4638
Fix bug introduced in previous commit (exclude became filter)
...
- Legacy-Id: 17143
2019-12-09 18:09:54 +00:00
Ole Laursen
568670c060
Turn sessions into regular sessions and non-sessions into misc.
...
sessions in the UI and code to avoid ambiguity.
This doesn't change the data in the DB except for uses of
TimeSlotTypeName where 'session' is now 'regular'.
- Legacy-Id: 17128
2019-12-06 20:02:26 +00:00
Ole Laursen
3957743b85
Move Session.status, .requested, and .requested_by to a new SchedulingEvent
...
- Legacy-Id: 17122
2019-12-05 12:41:09 +00:00
Ole Laursen
0555879777
Rename Meeting.agenda to Meeting.schedule together with a bunch of
...
related internal things
- Legacy-Id: 17051
2019-11-18 17:22:19 +00:00
Henrik Levkowetz
a288401fd1
Type checking tweaks.
...
- Legacy-Id: 16866
2019-10-15 16:50:43 +00:00
Henrik Levkowetz
33e8733b91
Fixed up mypy issues or added type:ignore comments as needed for a clean mypy run.
...
- Legacy-Id: 16772
2019-09-30 15:42:18 +00:00
Robert Sparks
10422f87d2
Rework how we are labeling constraints to provide a quick-fix for session requests at IETF106. Turned off several javascript functions that added/enforced old (possibly no longer correct) semantics for the session request forms. Fixes #2754 . Commit ready for merge.
...
- Legacy-Id: 16630
2019-08-07 02:03:15 +00:00
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