Commit graph

86 commits

Author SHA1 Message Date
Henrik Levkowetz e113f13590 Changed the text emitted during testing to have less noice at the beginning of the line -- only 'OK', 'Fail', and the initial line of coverage reports now starts at the beginning of the line, without whitespace. This makes it easier to scan a test run visually to find reported failures.
- Legacy-Id: 2259
2010-05-12 12:13:48 +00:00
Henrik Levkowetz 604497a652 Add an html sanitizer.
- Legacy-Id: 2237
2010-05-06 13:38:29 +00:00
Bill Fenner 3a45c8e560 Merge the I-D notification work from my sprint branch.
- Legacy-Id: 2112
2010-03-20 20:15:20 +00:00
Pasi Eronen f760caa421 Cleaned away unused code
- Legacy-Id: 2065
2010-03-12 07:39:36 +00:00
Pasi Eronen 315e6f213f Fix URL quoting in testurl.list parsing
- Legacy-Id: 1989
2010-02-17 12:43:56 +00:00
Pasi Eronen 93126af05b Removed some Django 0.96-only code
- Legacy-Id: 1870
2009-11-23 19:32:22 +00:00
Pasi Eronen 80ecf63284 Option to skip the heaviest tests when running test suite
- Legacy-Id: 1843
2009-11-08 07:59:50 +00:00
Pasi Eronen 84d323b231 Added template coverage test case
- Legacy-Id: 1837
2009-11-08 03:32:15 +00:00
Pasi Eronen e6fcd9f5c6 Added feed/sitemap canonicalization to test cases; added wgdescription instructions to test case
- Legacy-Id: 1833
2009-11-08 01:26:26 +00:00
Pasi Eronen b88b7de037 Allow URL test cases to do canonicalization before diff
- Legacy-Id: 1832
2009-11-08 00:31:24 +00:00
Pasi Eronen 4fd33bfda1 Removed some unused code
- Legacy-Id: 1827
2009-11-07 13:59:58 +00:00
Pasi Eronen a48efee519 Fixed unicode bug for Django 1.x
- Legacy-Id: 1814
2009-11-07 08:55:31 +00:00
Pasi Eronen 304824268e Support UTF-8 in emails (merged from Lars)
- Legacy-Id: 1803
2009-11-07 07:26:58 +00:00
Pasi Eronen 1f3afcb198 Fixed minor bug in test suite runner
- Legacy-Id: 1787
2009-11-07 01:32:38 +00:00
Pasi Eronen f44686be6e Fixed minor Django 1.x bug
- Legacy-Id: 1764
2009-11-03 11:35:10 +00:00
Pasi Eronen a293e5fd55 Capture emails sent in test suite (similar to Django 1.x email testing)
- Legacy-Id: 1744
2009-10-21 18:51:41 +00:00
Pasi Eronen 3aa6349e7d Escape Unicode before logging
- Legacy-Id: 1742
2009-10-21 12:25:13 +00:00
Pasi Eronen 8b6536f32e Cleaned/removed some unused code
- Legacy-Id: 1732
2009-10-16 10:13:54 +00:00
Pasi Eronen a9a80ac2da Minor fixes to testing code
- Legacy-Id: 1727
2009-10-15 17:05:19 +00:00
Pasi Eronen 4077ea88ab Refactored testing code
- Legacy-Id: 1724
2009-10-14 18:33:26 +00:00
Henrik Levkowetz 632a588e72 In some cases, the code to show the location of a logging statement failed with an exception, resulting in no logging. Catch this, so something is logged.
- Legacy-Id: 1716
2009-10-08 13:26:28 +00:00
Pasi Eronen 8e4416b4d8 Refactored database switching code to separate file; updated it to work with Django 1.1
- Legacy-Id: 1702
2009-09-25 17:01:32 +00:00
Pasi Eronen 711240499f Get IPR forms working without TemplatedForm; removed TemplatedForm; new IPR test cases
- Legacy-Id: 1654
2009-08-27 21:03:48 +00:00
Pasi Eronen 60d0b1c4a4 Commented out all testurl.list lines (will add some back later)
- Legacy-Id: 1624
2009-08-05 19:48:11 +00:00
Henrik Levkowetz 24678327b4 Merged in some Django 1.0 related fixes plus conversion script from Pasi. Merged in menubar link fixes from Chris. Merged in abstract generation scripts from Jelte.
- Legacy-Id: 1605
2009-07-28 11:28:09 +00:00
Bill Fenner 3904c34055 Merge auth branch.
- Legacy-Id: 1426
2009-03-22 01:37:20 +00:00
Bill Fenner be8fe26792 Set the From: header for copied mail to the test address, so that
test messages don't look so much like spam.
 - Legacy-Id: 1156
2008-04-14 17:06:47 +00:00
Bill Fenner 473b2bdc60 Merge auth branch.
- Legacy-Id: 1149
2008-04-04 05:07:51 +00:00
Bill Fenner 027232d642 Implement scheduled mail sending via django infrastructure,
for testing the I-D Submission tool's announcements.

Note that this implementation does not use the queue fields
in the database, so before deploying in production the purpose
of those fields will have to be understood.
 - Legacy-Id: 1147
2008-04-03 15:23:48 +00:00
Bill Fenner dd7b2b2803 Add EMAIL_COPY_TO configuration to allow an installation to use
a different debugging email destination than the default gmail account.
 - Legacy-Id: 1145
2008-04-01 04:14:49 +00:00
Henrik Levkowetz 0458c69c8f Adding IETF Trust copyright to source files missing it.
- Legacy-Id: 1064
2008-03-04 18:47:46 +00:00
Bill Fenner 06d41c76d2 Update so that certain messages can go out in test mode.
- Legacy-Id: 1061
2008-02-29 21:59:14 +00:00
Bill Fenner b047074802 Send another EHLO after starting TLS, as suggested by RFC 2487.
I might argue this is a bug in smtplib; RFC 2487 says that the client
"MUST discard any knowledge obtained from the server, such as the list
of SMTP service extensions, which was not obtained from the TLS
negotiation itself"
 - Legacy-Id: 958
2007-10-25 17:23:03 +00:00
Bill Fenner 169137f85b Set debugging before establishing connection.
Use starttls when sending a username and password.
Fail if the EHLO reply doesn't advertise starttls, or if
the starttls reply isn't 220.
 - Legacy-Id: 954
2007-10-24 17:13:04 +00:00
Bill Fenner 55a7715694 Factor out user creation from the import-users script so that
self-registration can also create a user.
 - Legacy-Id: 926
2007-09-06 16:34:03 +00:00
Henrik Levkowetz b91656eb34 Removing syslog.openlog() from log.py; this is done in settings.py and shouldn't be overridden here.
- Legacy-Id: 892
2007-07-16 17:43:41 +00:00
Henrik Levkowetz b70edf943a Add reachability testing for URLs in the app web-pages.
- Legacy-Id: 848
2007-07-07 17:01:07 +00:00
Henrik Levkowetz ec56ec02e9 Fix pyflakes issue and a pyflakes exclude.
- Legacy-Id: 786
2007-06-29 23:46:22 +00:00
Henrik Levkowetz 5c59213ca5 And an import fix...
- Legacy-Id: 785
2007-06-29 23:40:45 +00:00
Henrik Levkowetz 79124036a3 Another minimal refactoring...
- Legacy-Id: 784
2007-06-29 23:38:03 +00:00
Henrik Levkowetz ee50e92759 Another minimal refactoring.
- Legacy-Id: 783
2007-06-29 23:32:07 +00:00
Henrik Levkowetz d28bf58891 Refactoring out draft_search(), and tweaking the IPR doc result template.
- Legacy-Id: 782
2007-06-29 23:22:58 +00:00
Henrik Levkowetz cd030d3b43 Adding copyright notices to all python files
- Legacy-Id: 716
2007-06-27 21:16:34 +00:00
Henrik Levkowetz 1a43ca5ebd Show number of review pages on overview page.
- Legacy-Id: 645
2007-06-25 23:20:56 +00:00
Henrik Levkowetz 410a69b914 Removing unused import from ietf/utils/views.py
- Legacy-Id: 620
2007-06-22 23:21:05 +00:00
Henrik Levkowetz 71429f59aa Alternative review pages which shouldn't shift when new test-URLs are added. Old review URLs still work, but withouth guarantee against shifting when new test-URLs are added.
- Legacy-Id: 600
2007-06-21 20:07:24 +00:00
Henrik Levkowetz 96b1f822ab Added an overview page for the review pages
- Legacy-Id: 529
2007-06-19 14:54:19 +00:00
Henrik Levkowetz 53f3be5ca0 It's better to test for retrieval of review pages than to just skip them.
- Legacy-Id: 527
2007-06-19 08:25:15 +00:00
Henrik Levkowetz bcc361359d Test urls for /review/
- Legacy-Id: 503
2007-06-18 19:30:58 +00:00
Henrik Levkowetz c03019afbe Adding a page review facility under the URL /review/. This is based on frames and takes the URLs in question from the testurl.list files.
- Legacy-Id: 487
2007-06-18 14:34:00 +00:00