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
comimom
b73efa811a
Complete Meeting Materials page
...
* Tested with IETF 67 and 68 data.
* For testing, c_sub_cut_off_date should set to future date, otherwise a Closed page will show.
- Legacy-Id: 228
2007-06-04 19:52:52 +00:00
Henrik Levkowetz
8ff20e3127
Expanded the test code which finds urlpatterns to extract all URLs
...
specified in the various Django apps of the site. Also fixed the
documentation of the TemplatedForm factory to be more correct.
- Legacy-Id: 227
2007-06-04 19:26:16 +00:00
Bill Fenner
4e25407e25
Use python module instead of file path to settings file.
...
Switch back to using a temp file, since unflatten/gvpr don't
like taking input straight from the while loop.
- Legacy-Id: 226
2007-06-04 13:54:29 +00:00
Bill Fenner
688b4fdd43
Use revision_display to decrease the version number appropriately
...
- Legacy-Id: 225
2007-06-04 13:53:17 +00:00
Bill Fenner
cae902a373
Add two middleware classes:
...
- SQLLogMiddleware. This logs any INSERT or UPDATE performed by
a request.
- SMTPExceptionMiddleware. This renders a "please try again"
(template email_failed.html) message when an attempt to send
email failed. This uses a bit of a hack, in that the middleware
looks explicitly for smtplib.SMTPException, and smtplib can
raise other exceptions (particularly socket errors). utils/mail/send_smtp
catches all exceptions and reraises non-smtplib exceptions as
fake smtplib exceptions, and the middleware undoes the wrapping.
- Legacy-Id: 224
2007-06-04 13:52:34 +00:00
Henrik Levkowetz
600002f1f8
Cleaning out miscellaneous non-functional stuff from ietf/meeting/models.py
...
- Legacy-Id: 223
2007-06-04 00:50:48 +00:00
Henrik Levkowetz
d5c66de1a1
Removing superfluous import
...
- Legacy-Id: 222
2007-06-04 00:46:40 +00:00
Henrik Levkowetz
ae323e9181
Removing ietf/query.py which isn't being used
...
- Legacy-Id: 221
2007-06-04 00:43:21 +00:00
Henrik Levkowetz
8953e1a647
Turning off the test error for missing test URLs for now
...
- Legacy-Id: 220
2007-06-04 00:32:20 +00:00
Henrik Levkowetz
eedd6a8e8c
Made URL check code accept comment lines and empty lines in URL file.
...
Commented out broken URLs in the testurl.list
Fixed a missing import in ipr/views.py
- Legacy-Id: 219
2007-06-03 23:39:02 +00:00
Henrik Levkowetz
3d4e9286c2
Minor tweaks to test output
...
- Legacy-Id: 218
2007-06-03 22:43:43 +00:00
Henrik Levkowetz
c7230247b1
Making the url test more verbose. Adding an initial list of urls to test.
...
- Legacy-Id: 217
2007-06-03 21:21:29 +00:00
Henrik Levkowetz
4cfe601ed7
Moving and updating the svn copy of the buildbot master config
...
- Legacy-Id: 216
2007-06-03 20:26:55 +00:00
Henrik Levkowetz
9bced60e2f
Added a top-level test module which will run through django URLs in any
...
committed file named 'testurl.list' in any directory in the ietf/ tree.
There is also a test for URL coverage -- if there isn't declared test
URLs for all the url patterns in ietf/urls.py this coverage test will
fail.
- Legacy-Id: 215
2007-06-03 19:52:06 +00:00
Bill Fenner
1d54ad36c9
Use a known exception when there are too many path arguments (in bits)
...
- Legacy-Id: 214
2007-06-02 01:15:59 +00:00
Bill Fenner
01f0baaf56
Fix some undefined names reported by pyflakes
...
- Legacy-Id: 213
2007-06-02 01:12:41 +00:00
Bill Fenner
faf885aabd
MailingList model updates:
...
- Add domain helper function to default domain name to ietf.org
- Use correct values for post_who
Template updates:
- Use the domain helper function
- Use the post_who_display helper function
- Move some of the items that could wrap to the next line
- Legacy-Id: 212
2007-06-01 20:40:21 +00:00
Bill Fenner
8628844700
Remove CRs from subject that comes from a template.
...
- Legacy-Id: 211
2007-06-01 20:40:02 +00:00
Bill Fenner
ac853962e2
Reduce repetition in the templates by moving "add/delete" logic to
...
view.
Fix up logic in templates, mailing list closing emails look
correct (both approval and denial, with and without messages
from the approver).
- Legacy-Id: 210
2007-06-01 19:13:21 +00:00
Bill Fenner
4e426dec4c
Implement [most of] the approval side of mailing list requests.
...
Have to check the templates for deletion.
- Legacy-Id: 209
2007-06-01 18:34:57 +00:00
Bill Fenner
3ff684ff06
SQL commands to convert IETF database dump to django schema.
...
- Legacy-Id: 208
2007-06-01 18:25:39 +00:00
Bill Fenner
949bc0cbb8
Oops, a unique_together of the first two fields is wrong, since
...
there are two ADs per area, and of the three fields doesn't add
anything real, so just don't try to make it unique.
- Legacy-Id: 207
2007-06-01 18:10:50 +00:00
Bill Fenner
e452d4b89d
IESGHistory needs to have a single primary key. Will add to
...
[wiki:Models] page.
- Legacy-Id: 206
2007-06-01 18:04:35 +00:00
Henrik Levkowetz
cf4521d98d
Test cleanup: remove test database if 'python manage.py test' crashes
...
- Legacy-Id: 205
2007-06-01 17:01:32 +00:00
Henrik Levkowetz
3d84ba95d9
More test setup and teardown functionality.
...
- Legacy-Id: 204
2007-06-01 16:40:30 +00:00
Michael Lee
27edcb2b3e
* Add meeting materials list page
...
* For testing, the page lists meeting materials regardless the submission cut off date.
* Need to add Training sessions, IRTF RGs, and Interim WGs
- Legacy-Id: 203
2007-06-01 04:10:39 +00:00
Bill Fenner
11714d1a0d
Admin interface changes, a little field reshuffling, and
...
a new permissions system for announced_from values.
- Legacy-Id: 202
2007-06-01 02:14:31 +00:00
Bill Fenner
6072945ba4
Handle, log, and reraise an smtplib exception.
...
- Legacy-Id: 201
2007-06-01 02:10:26 +00:00
Bill Fenner
4a5c6b5c57
Create I-D Search form, with field names matching the old search
...
form, to allow bookmarked searches to continue to work.
- Legacy-Id: 200
2007-06-01 02:05:00 +00:00
Henrik Levkowetz
2de4f6d6d7
More test setup
...
- Legacy-Id: 199
2007-05-31 21:11:03 +00:00
Henrik Levkowetz
0ed54be5d8
Ignore Django patch if it seems to be reversed
...
- Legacy-Id: 198
2007-05-31 20:54:34 +00:00