Jennifer Richards
81d9234d54
Use temporary directories instead of "real" filesystem for tests. Fixes #3414 . Commit ready for merge.
...
- Legacy-Id: 19555
2021-11-05 19:45:57 +00:00
Robert Sparks
805d1f4a7e
Use BOF consistently.
...
- Legacy-Id: 19212
2021-07-14 17:33:14 +00:00
Ryan Cross
2ad9313589
In announcement tool, remove Reply-To default of
...
"ietf@ietf.org" and make field required.
- Legacy-Id: 19155
2021-06-24 21:07:00 +00:00
Robert Sparks
3697180cc1
Reverted merge of timezone-aware migration efforts.
...
- Legacy-Id: 18792
2021-01-12 16:54:20 +00:00
Henrik Levkowetz
774e752a54
Snapshot of timezone-aware datatracker code. Tests pass, and the test-crawler shows only expected differences. Trunk changes merged in up to r18768.
...
- Legacy-Id: 18770
2020-12-16 23:53:37 +00:00
Henrik Levkowetz
57938b039d
Converted many cases of plain-text 403 messages to use a properly styled page instead, with a login link when appropriate. Also changed some API endpoint 400 responses to a more correct 403.
...
- Legacy-Id: 18339
2020-08-06 10:59:52 +00:00
Henrik Levkowetz
726fcbf27d
Removed all __future__ imports.
...
- Legacy-Id: 17391
2020-03-05 23:53:42 +00:00
Henrik Levkowetz
fff56bb557
Merged in [17336] from rcross@amsl.com:
...
Add rfp-announce@ietf.org to Announcement app To: address list. Changed name of secr dashboard from WG Chair Dahsboard to IETF Dashboard.
- Legacy-Id: 17359
Note: SVN reference [17336] has been migrated to Git commit b1b27e648c
2020-02-27 19:54:37 +00:00
Henrik Levkowetz
af0c189018
Fixed a test to be more specific when looking for a generated Message object, to make sure to get the right one.
...
- Legacy-Id: 17342
2020-02-26 17:15:09 +00:00
Henrik Levkowetz
5951a6473f
Added html unescape for email addresses from form data that might use html entities for angle brackets.
...
- Legacy-Id: 17341
2020-02-26 17:11:54 +00:00
Ryan Cross
b1b27e648c
Add rfp-announce@ietf.org to Announcement app To: address list. Changed name of secr dashboard from WG Chair Dahsboard to IETF Dashboard. Commit ready for merge.
...
- Legacy-Id: 17336
2020-02-26 00:17:20 +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
f5ae2541ad
Replaced multiple asserts with assertContains().
...
- Legacy-Id: 16353
2019-07-01 14:09:12 +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
682ddee8e4
Reverted earlier application of on_behalf_of() at mail sending call points, and instead did all on_behalf_of processing in condition_message(). Added insertion of Reply-To header fields in this case. Changed all use of the mail-sending 'extra' parameters to use value lists. Updated a bunch of tests accordingly.
...
- Legacy-Id: 16020
2019-03-11 17:01:33 +00:00
Henrik Levkowetz
d57088b1f3
Modified one call and one exception point related to on_behalf_of() use for email sending.
...
- Legacy-Id: 16008
2019-03-06 19:13:15 +00:00
Henrik Levkowetz
55bd2e5e42
Fixed some unintentional wg list address changes, and added some other test mail address changes.
...
- Legacy-Id: 15994
2019-03-04 20:54:38 +00:00
Henrik Levkowetz
435a0da12d
Added on_behalf_of() calls for from addresses needing it throughout the code.
...
- Legacy-Id: 15992
2019-03-04 20:14:19 +00:00
Robert Sparks
5c57cf1b91
Used factories instead of make_test_data for malinglists, mailtrigger, message, person, secr/announcement, and secr/areas tests. Commit ready for merge.
...
- Legacy-Id: 15551
2018-10-10 05:36:34 +00:00
Ryan Cross
a85a76247a
Change announcement tool access function to use data from AnnouncementFrom objects. Fixes #2362 . Commit ready for merge
...
- Legacy-Id: 14103
2017-09-06 21:29:59 +00:00
Henrik Levkowetz
868427a645
Merged in [13996] from rcross@amsl.com:
...
Move Announcement app From addresses out of code and into database table. Fixes #1681 .
- Legacy-Id: 14006
Note: SVN reference [13996] has been migrated to Git commit d49787a0f6060e7db64f5a0e684bf1d980f85290
2017-07-29 18:12:45 +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
Lars Eggert
8a70e9773d
Fix various "RemovedInDjango20Warning" warnings. Commit ready for merge.
...
- Legacy-Id: 13112
2017-03-25 19:16:45 +00:00
Henrik Levkowetz
5f053ad21a
Cleaned up the remaining explicit url names, using dotted-paths to view
...
functions instead. In all almost 700 changes.
- Legacy-Id: 12923
2017-02-26 23:21:49 +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
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
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
51b68099a5
Fixed a place where a logged-in user without associcated Person would cause a 500 instead of 403.
...
- Legacy-Id: 11474
2016-06-25 20:27:13 +00:00
Henrik Levkowetz
a1ed1aecfa
Moved check for session data up to before we try to use it in announcemen.views.confirm.
...
- Legacy-Id: 11405
2016-06-17 19:49:45 +00:00
Henrik Levkowetz
ea4160a709
Applied production patches to trunk.
...
- Legacy-Id: 11208
2016-05-19 20:03:19 +00:00
Ryan Cross
d728acc8fc
Update announcement tool permissions for new IAOC chair. Commit ready for merge.
...
- Legacy-Id: 11120
2016-04-15 00:42:04 +00:00
Ryan Cross
5c06843f2c
Grant Bob Hinden announcement tool access. Commit ready for merge
...
- Legacy-Id: 11037
2016-03-30 17:40:13 +00:00
Henrik Levkowetz
4cac784522
Renamed a bunch of identically named MainTestCase classes.
...
- Legacy-Id: 10913
2016-03-06 18:18:38 +00:00
Ryan Cross
9d43c3b526
Update IAOC email in Announcement app. COmmit ready for merge.
...
- Legacy-Id: 9604
2015-05-04 16:57:19 +00:00
Ryan Cross
e5309ab73a
Add several 'From' options for IAD user of announcement tool. Commit ready for merge.
...
- Legacy-Id: 9426
2015-04-08 18:11:49 +00:00
Henrik Levkowetz
86997e1e95
Turned the api.py file into a module. Moved the makeresources management command to the api module. Added some api tests. Added crawling of api files to the test-crawler. Adjusted some resource files discovered by the test suite and test-crawler. Removed a bunch of empty model files.
...
- Legacy-Id: 9144
2015-03-03 20:23:36 +00:00
Ryan Cross
097b936ca8
Remove secauth middleware. Replace with role_required decorators. Commit ready for merge
...
- Legacy-Id: 8624
2014-11-09 02:32:41 +00:00
Ole Laursen
f7ac066059
Integrate Secretariat tools MultiEmailField with the one in
...
utils/fields.py, also fix a couple of issues in NomCom tool (spelling
bugs and avoid overwriting base_fields on forms with dynamic data)
- Legacy-Id: 8276
2014-08-17 14:39:23 +00:00
Ryan Cross
d6422c0c93
grant IETF Trust Chair permissions for Announcement Tool. commit ready for merge.
...
- Legacy-Id: 8045
2014-07-03 19:35:38 +00:00
Henrik Levkowetz
9ce5280229
Applied a patch from rcross@amsl.com, which fixes a problem associated with the recent Secretariat auth changes and the not-so-ideal use of sessions in the sec code.
...
- Legacy-Id: 7594
2014-04-12 18:05:00 +00:00
Henrik Levkowetz
156b0d4e3a
Changed the code to use django's own authentication, instead of http basic auth. This will let people log out, and will also use stronger password hashing than basic auth. Added a login page, and logout links, and links from the logged in username (in the upper right corner) to the user's profile page.
...
- Legacy-Id: 7580
2014-04-07 18:56:44 +00:00
Henrik Levkowetz
b02b0a96df
All tests pass, except for some pyflakes tests which I believe are fixed in trunk.
...
- Legacy-Id: 7579
2014-04-06 20:04:36 +00:00
Henrik Levkowetz
7603f4e1da
Merged [7568] from rcross@amsl.com: grant ISOC CEO access to announcement tool, change announcement tool from option 'IAB Executive Director' to 'IAB Executive Administrative Manager'
...
- Legacy-Id: 7573
Note: SVN reference [7568] has been migrated to Git commit 2cf5f1ce25
2014-04-06 15:09:55 +00:00
Ryan Cross
2cf5f1ce25
grant ISOC CEO access to announcement tool, change announcement tool from option 'IAB Executive Director' to 'IAB Executive Administrative Manager'
...
- Legacy-Id: 7568
2014-04-03 17:46:27 +00:00
Henrik Levkowetz
02031a01b9
Cleaned out some (arbitrary) submodule name imports into ietf.utils, and made the corresponding import statements import the names directly from the correct submodules.
...
- Legacy-Id: 7495
2014-03-16 07:09:38 +00:00
Henrik Levkowetz
5bbbe24e91
Made ietf/secr/announcement pyflakes-clean.
...
- Legacy-Id: 7481
2014-03-15 21:37:19 +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
d1782297ab
assertEquals -> assertEqual in tests, the former is deprecated
...
- Legacy-Id: 6964
2013-12-17 12:52:24 +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