Henrik Levkowetz
0e1bda0997
Adding diff capability to the URL tests.
...
If you list a second url or file on a line in an urltest.list file, the
second url will be downloaded, both urls will be converted to text, and
then compared. If there are differences, a unified diff will be output.
- Legacy-Id: 278
2007-06-10 11:30:23 +00:00
Henrik Levkowetz
10ce0e07dd
'soup2text' is a html-to-text converter which uses the BeautifulSoup.py module. It converts html to plain paragraph-filled readable text.
...
- Legacy-Id: 277
2007-06-10 11:27:02 +00:00
Bill Fenner
100f24baef
Add help popup to MailingListForm.
...
- Legacy-Id: 276
2007-06-10 03:02:01 +00:00
Bill Fenner
20334bc8aa
If the data is None, use an empty string in the hash instead.
...
- Legacy-Id: 275
2007-06-10 02:59:17 +00:00
Bill Fenner
fdca154e75
Implement custom form rendering for step 0.
...
Implement javascript to disable form elements that aren't used
when wg or non-wg items are selected.
Implement javascript to reload the page with the right set of
non-wg mailing lists to close.
- Legacy-Id: 274
2007-06-10 02:00:51 +00:00
Bill Fenner
ebe29bc1af
Add javascript to display/clear the requestor's address in
...
the textbox at the top of the list administrators multifield.
- Legacy-Id: 273
2007-06-09 03:45:35 +00:00
Bill Fenner
f8dbed4884
Fix preview by creating a MailingList object and using the
...
existing list_summary.html.
- Legacy-Id: 272
2007-06-08 20:45:41 +00:00
Bill Fenner
48a4219a32
Use the main form's domain_name, not the initial domain_name, to
...
pick the approver, since the main form's version has been changed
to ietf.org if appropriate.
Don't try to look up the main_form -- since we're currently processing
the main_form, it's just 'form'!
- Legacy-Id: 271
2007-06-08 20:04:52 +00:00
Bill Fenner
89a8834177
Rename "initial" to "initial_members" so that it doesn't shadow
...
the form attribute "initial" (as in initial data)
Render the form field-by-field for MailingListForm, so that
we can render the mailing list name conditionally as a text input
box or as a hidden field with the value in the page. We can also
insert the domain name here too. (Note that this means that
hidden fields in this form other than domain name have to be
treated specially!)
- Legacy-Id: 270
2007-06-08 19:54:59 +00:00
Michael Lee
415e274dde
IESG Announcment list page only lists announcements with ballog_id
...
- Legacy-Id: 269
2007-06-08 19:21:03 +00:00
Bill Fenner
b16a65966e
I committed the middleware that uses this but forgot to commit
...
the template.
- Legacy-Id: 268
2007-06-08 18:25:13 +00:00
Bill Fenner
e08772430a
Create "allononeline" filter and use it for list_wizard_done_email.
...
Use the Site to get the URL in list_wizard_done_email.
Set req for list_wizard_done_email as it is for approval email.
Only use domain-based extra approvers for non-WG requests.
Supply hidden fields for mlist_name and domain_name for deletion.
(These should be visible but uneditable, but passing them
through is a start)
- Legacy-Id: 267
2007-06-08 18:21:44 +00:00
Bill Fenner
4e3769c963
Turn post_admin and archive_private into IntegerField instead of
...
BooleanField. They are used as booleans, but represented in the
database as integers, so pretending they're boolean causes trouble
when saving empty values.
- Legacy-Id: 266
2007-06-08 18:12:23 +00:00
Henrik Levkowetz
d6b6f38424
Making run-pyflakes ignore line numbers, which will change.
...
- Legacy-Id: 265
2007-06-08 17:16:58 +00:00
Henrik Levkowetz
b3abb97744
Updated exclusion list
...
- Legacy-Id: 264
2007-06-08 17:08:04 +00:00
Bill Fenner
804f669e45
Actually include the template. Don't use titlecase since
...
It Looks Weird To Say I Want To Move The Wg Email List For
Eap To Ietf.Org
- Legacy-Id: 263
2007-06-08 17:07:51 +00:00
Henrik Levkowetz
f55e0b00f9
* Adding a SERVER_EMAIL setting in settings.py and settings_local_test.py
...
* Adding the ability to take trailing comments in testurl.list files
* Listing skipped (not tested) urls in the URL test
- Legacy-Id: 262
2007-06-08 17:01:07 +00:00
Henrik Levkowetz
027d471dd0
Changing the default email-from address used whentesting, and tweaking the test output
...
- Legacy-Id: 261
2007-06-08 16:01:52 +00:00
Bill Fenner
2d9cc036a6
If we're passed in None, don't try to get the domain name out of it.
...
- Legacy-Id: 260
2007-06-08 15:48:09 +00:00
Bill Fenner
3cd72bc1fe
Great leaps towards completing the mailing list request tool.
...
- Legacy-Id: 259
2007-06-08 15:30:34 +00:00
Henrik Levkowetz
a99d598cc0
* Minor refactoring in ietf/tests.py
...
* Added correct dates for two entries in ipr_detail which had 0000-00-00,
in the sql_fixup.sql file
* Fixed test/run so it can be run from any directory
- Legacy-Id: 258
2007-06-08 12:06:15 +00:00
Henrik Levkowetz
88666eac59
Some bugfixes after refactoring
...
- Legacy-Id: 257
2007-06-07 20:40:50 +00:00
Henrik Levkowetz
73bd413e07
A bit of refactoring in ietf/tests.py
...
- Legacy-Id: 256
2007-06-07 20:12:52 +00:00
Bill Fenner
e851dbac27
Create mailing list domains table and idtracker Roles model.
...
Add fixtures to populate IAD into Roles and existing domains
and authorizers into mailinglists_domains. (The Roles fixture
will become wrong when we get a new IAD so should be removed
after the production database has this value.)
- Legacy-Id: 255
2007-06-07 17:58:06 +00:00
Henrik Levkowetz
b93c34d7bb
Removing 200-response non-parameter url from the testurl.list; they are better handled by the fallback test.
...
- Legacy-Id: 254
2007-06-07 17:40:06 +00:00
Henrik Levkowetz
6ac5172c90
Updated pyflakes exceptions
...
- Legacy-Id: 253
2007-06-07 15:30:06 +00:00
Henrik Levkowetz
79ca952b76
ietf/test/run is a simple shell-script which runs the same test set as the buildbot, using a patched local Django copy in order to run the Django test framework. This makes it possible to run the test suite locally before committing, rather than committing in order to have the buildbot run the tests. Some tests on the fully populated database takes a long time (such as retrieving all the IDs) and probably should be moved to a separate test set.
...
- Legacy-Id: 252
2007-06-07 14:22:48 +00:00
Henrik Levkowetz
742737251f
Adding a placeholder HTTP 500 error page template
...
- Legacy-Id: 251
2007-06-07 14:17:09 +00:00
Henrik Levkowetz
7962e722d3
Adding HTTP 404 error page template
...
- Legacy-Id: 250
2007-06-07 14:11:43 +00:00
Henrik Levkowetz
edc55bcf05
Adding a wrapper around pyflakes to filter out warnings which have been inspected and should be ignored.
...
- Legacy-Id: 249
2007-06-06 19:35:40 +00:00
Henrik Levkowetz
8b17a99d22
Removing explicit listing of URLs caught by the fallback URL test.
...
- Legacy-Id: 248
2007-06-06 19:34:16 +00:00
Michael Lee
ac82271bcb
Update IESG Announcement scripts to work with latest models and template changes.
...
- Legacy-Id: 247
2007-06-06 05:11:06 +00:00
Bill Fenner
7fec55b633
Initial implementation of view_related. The related_docs() function
...
is still a work in progress. I've been using
draft-ietf-dnsext-dnssec-protocol as a test case; related_docs()
returns the same 137 documents as the cgi code but some of the
relationships are different. Right now, the skip argument is
ignored.
- Legacy-Id: 246
2007-06-06 02:14:29 +00:00
Henrik Levkowetz
f5027059b3
Corrected some test URLs. (should be changed later to not use underscore -- or we should change all dashes to underscore...)
...
- Legacy-Id: 245
2007-06-05 19:02:27 +00:00
Henrik Levkowetz
cf878dc7a5
Some more permitted codes
...
- Legacy-Id: 244
2007-06-05 18:57:17 +00:00
Henrik Levkowetz
5e6a346ddc
Should not compare apples and oranges
...
- Legacy-Id: 243
2007-06-05 18:48:14 +00:00
Henrik Levkowetz
49f8de31b4
Permitting both 404 and 200 responses for some URLs, for now; till we can run tests with a populated database
...
- Legacy-Id: 242
2007-06-05 18:43:48 +00:00
Henrik Levkowetz
24400ff103
Adding handler404 and handler 500 in the right place ,;-)
...
- Legacy-Id: 241
2007-06-05 18:18:40 +00:00
Bill Fenner
3754c0c6b4
Initial list wizard templates.
...
- Legacy-Id: 240
2007-06-05 18:05:57 +00:00
Henrik Levkowetz
1523f859af
Adding 'handler404, hadler500' to apps needing them
...
- Legacy-Id: 239
2007-06-05 17:54:43 +00:00
Henrik Levkowetz
e0a30980fa
Can't use the mysql XML dump as fixture -- too optimistic! ;-)
...
- Legacy-Id: 238
2007-06-05 17:40:06 +00:00
Henrik Levkowetz
2f8f7742a4
Improved fix to the first undefined symbol problem in proceedings/models.py (Bills original fix in [213] reinstated)
...
- Legacy-Id: 237
Note: SVN reference [213] has been migrated to Git commit 01f0baaf56
2007-06-05 17:30:22 +00:00
Henrik Levkowetz
888418a14f
Fixed two instances of undefined symbols in proceedings/models.py
...
- Legacy-Id: 236
2007-06-05 17:06:31 +00:00
Henrik Levkowetz
03c18bd33d
Fixing a bunch of nits pyflakes were complaining about, in order to get a clean run. There are still at least 2 cases of using undefined values which needs scrutiny.
...
- Legacy-Id: 235
2007-06-05 16:58:58 +00:00
Bill Fenner
595c656afc
Require a login instead of throwing an exception when an anonymous
...
user visits.
Handle a lack of UserMap or an incorrect PersonOrOrgInfo by
passing None to the template.
- Legacy-Id: 234
2007-06-05 15:10:15 +00:00
Henrik Levkowetz
5c9e46027b
Try to make the utils/listop functions return something sensible with empty input.
...
- Legacy-Id: 233
2007-06-05 15:05:31 +00:00
Henrik Levkowetz
47a88da313
Separate response count listing and assertions
...
- Legacy-Id: 232
2007-06-05 10:16:17 +00:00
Henrik Levkowetz
fbcd9eddf3
Added test assertions requiring no non-200 responses and no exceptions for URLs not listed in the testurls.list
...
- Legacy-Id: 231
2007-06-05 10:14:24 +00:00
Henrik Levkowetz
b7c816cf4e
Added test functionality to extract all URLs in the apps and access those that
...
doesn't seem to take parameters.
- Legacy-Id: 230
2007-06-05 10:11:18 +00:00
Henrik Levkowetz
745ae10965
Added some more internal IPs
...
- Legacy-Id: 229
2007-06-05 10:09:24 +00:00