Robert Sparks
25e9893a13
Changed how the mail utilities handle lists in their override and extra arguments. Added a test for send_mail_preformatted exercising override and extra. Commit ready for merge.
...
- Legacy-Id: 15153
2018-05-22 15:38:04 +00:00
Henrik Levkowetz
ec6424c9c4
Merged in [14882] from rjsparks@nostrum.com:
...
Replaced line that had mysteriously been deleted before commit. Sorry for the noise.
- Legacy-Id: 14905
Note: SVN reference [14882] has been migrated to Git commit 4a7cdf26d3
2018-03-24 13:39:49 +00:00
Henrik Levkowetz
a485c74314
Merged in [14880] from rjsparks@nostrum.com:
...
Added a Draft test suite.
- Legacy-Id: 14901
Note: SVN reference [14880] has been migrated to Git commit e09a28cad2
2018-03-22 16:34:10 +00:00
Henrik Levkowetz
f3f77dce48
Changed order of arguments in a test assert for better error legibility.
...
- Legacy-Id: 14774
2018-03-13 12:38:53 +00:00
Henrik Levkowetz
4dad8cdf9a
Added a test to check for missing admin models, and added the admin models that were currently missing.
...
- Legacy-Id: 14021
2017-08-01 14:00:29 +00:00
Robert Sparks
2c92aa213d
Treat Area Groups similar to Working Groups and Research Groups where it makes sense to do so. Commit ready for merge.
...
- Legacy-Id: 13832
2017-07-11 19:12:21 +00:00
Henrik Levkowetz
97a5ed1f6c
Added a test to verify that we can load the 500 page template
...
- Legacy-Id: 13765
2017-07-03 21:17:45 +00:00
Ole Laursen
5b677dc6ba
Merge author stats branch into new branch from trunk
...
- Legacy-Id: 13159
2017-03-28 14:36:40 +00:00
Henrik Levkowetz
988a2b808f
Added explicit charset setting and consistent encoding to several email paths through the datatracker. After introducing support for non-ascii names in email addresses, using role.formatted_email() to insert names into email content doesn't work any more, since uncode names will now be rfc2047-encoded in formatted_email(). Added another method role.name_and_email() for this case. Replaced another case of '%s <%s>' name-and-email formatting with formataddr(). Fixed some tests which did not send unicode email bodies to the email functions. Fixes issue #2017 .
...
- Legacy-Id: 12896
2017-02-21 19:17:10 +00:00
Ole Laursen
882579bab3
Don't check url reverses on the form admin:blahblah for the time being
...
- Legacy-Id: 12845
2017-02-15 18:39:35 +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
481a96c935
Changed the handling of skip tests and messages in order to show which tests will be skipped, and why, at the start of a test run.
...
- Legacy-Id: 12568
2016-12-17 21:49:53 +00:00
Henrik Levkowetz
db7e554c5e
Changed to using TestCase from ietf.utils, and turned off coverage checking when loading templates in TemplateChecksTestCase.
...
- Legacy-Id: 12470
2016-12-07 11:31:31 +00:00
Henrik Levkowetz
0bb7854591
Merged django18 work forward to 6.39
...
- Legacy-Id: 12449
2016-12-05 14:01:25 +00:00
Henrik Levkowetz
cec0f33817
Removed unused stuff.
...
- Legacy-Id: 12409
2016-11-28 21:20:28 +00:00
Henrik Levkowetz
53d68af9cd
Adapted the utils template tests to the new template handling in Django 1.8.
...
- Legacy-Id: 12407
2016-11-28 21:05:17 +00:00
Henrik Levkowetz
964d34282f
Added common patterns for template file names to ignore when testing template parsing and template test coverage.
...
- Legacy-Id: 12354
2016-11-16 02:14:32 +00:00
Henrik Levkowetz
bb7d3b476f
Tweaked the create_group_wiki management command and its test to show more information on failures.
...
- Legacy-Id: 12273
2016-11-07 17:13:09 +00:00
Henrik Levkowetz
1d6853037e
Updated the create_group_wikis management command with additional switches to make it easier to do test deployment of individual wikis.
...
- Legacy-Id: 12240
2016-10-30 18:10:41 +00:00
Henrik Levkowetz
27cd21155c
Fixed a bug in testing for directory existence in the test setup.
...
- Legacy-Id: 12185
2016-10-19 22:38:28 +00:00
Henrik Levkowetz
c22842a7c4
Made the wiki glue test skippable, in case the python subversion bindings are unavailable. Added creation of temporary directories also for the svn repositores created for wikis during testing.
...
- Legacy-Id: 12183
2016-10-19 21:14:20 +00:00
Henrik Levkowetz
d400b88239
Added a test for the create_group_wikis management command.
...
- Legacy-Id: 12180
2016-10-19 14:53:58 +00:00
Henrik Levkowetz
41945d5525
Reverted unintended commit
...
- Legacy-Id: 12179
2016-10-19 14:47:17 +00:00
Henrik Levkowetz
b2aae7dc35
Ignore the virtualenv-created directories under env/
...
- Legacy-Id: 12178
2016-10-19 14:44:44 +00:00
Henrik Levkowetz
f8804b4f2c
Added 3 tests which checks 1) that all templates can be parsed and loaded, 2) that url template-tags refer to an urlconf callback that exists, and 3) that static template-tags resolve to urls that work. This was prompted by some 500 errors earlier which weren't caught by existing texts.
...
- Legacy-Id: 11483
2016-06-28 04:48:50 +00:00
Henrik Levkowetz
6de3974be7
Misc stuff.
...
- Legacy-Id: 9954
2015-08-01 15:07:49 +00:00
Henrik Levkowetz
09f654b1f4
Merged in branch/iola/team-support from olau@iola.dk. This generalises and extends the group support for WGs and RGs so that also other groups, such as for instance the Edu Team, can have pages.
...
- Legacy-Id: 8013
2014-07-02 19:30:07 +00:00
Ole Laursen
f9ee750afd
Make it possible to adjust the name of new materials upon upload, also fix a couple of warnings from PyFlakes
...
- Legacy-Id: 7914
2014-06-13 12:30:42 +00:00
Robert Sparks
bf4f3ad75f
Made several changes to better handle non-ascii UTF-8 in email messages.
...
Used multipart mime when including the original message in an error message to the secretariat.
Modified the way IANA review email is parsed.
Added non-ascii UTF-8 tests to the IANA review email parser and to the SMTP Exception handling code.
Commit ready for merge.
- Legacy-Id: 7673
2014-04-29 18:45:37 +00:00
Robert Sparks
73b0831b57
Replumbed how SMTP Exceptions are handled, which involved refactoring several mail functions
...
- Legacy-Id: 7635
2014-04-24 18:29:01 +00:00
Henrik Levkowetz
fe5d53fc40
Merged in [7591] from rjsparks@nostrum.com:
...
Adds a real (if simple) SMTP server to the test framework and tests handling of exceptions and rejected addresses. Fixes ticket #1314 .
- Legacy-Id: 7613
Note: SVN reference [7591] has been migrated to Git commit 54919f01343995ab154d27dcfaf7a60b15dd5eee
2014-04-16 19:40:57 +00:00
Henrik Levkowetz
0643f3c542
Added a pyflakes test.
...
- Legacy-Id: 7505
2014-03-16 18:24:31 +00:00