Henrik Levkowetz
e4f4467725
Changed tests to use our own subclassed TestCase, and changed almost all fixtures to be perma_fixtures.
...
- Legacy-Id: 6320
2013-09-30 20:36:20 +00:00
Henrik Levkowetz
4395949b85
Fixed up to use perma_fixtures instead of fixtures. Changed diff of html-agenda so it disregards the changing datatracker version information embedded in the html file. Changed dumping of agenda page results to file to not use a code constant, but instead happen if the test fails. Added an announcement of this to the test exception string.
...
- Legacy-Id: 6319
2013-09-30 20:29:11 +00:00
Henrik Levkowetz
a07f47a4a0
Added a new TestCase class, subclassing django.test.TestCase, in order to
...
be able to add fixtures once and for all for all tests, instead of loading
them again and again for each test, if running on a database that supports
transaction rollbacks. In this case, fixtures specified in the perma_fixtures
class attribute will be loaded permanently, and not re-loaded. Fixtures
specifice as before, in a fixtures class attribute, will be treated as
before.
The downside of this is that as fixtures are loaded and not unloaded, they
can conflict with each other. The requirements on consistency becomes much
greater. The effect of this has been to require quite a bit of changes to
the simplified creations of various objects in make_test_data() in cases
where identically named objects occur in fixtures. Where completely
fictitious objects are created, no conflicts appear.
Also re-wrote parts of test_runner.py to permit global fixtures, loaded
before any tests are run and shared by all.
- Legacy-Id: 6318
2013-09-30 20:22:24 +00:00
Henrik Levkowetz
4805b4b12e
Updated fixtures, built to be more internally consistent in order to be able to pre-load them for the test suite.
...
- Legacy-Id: 6317
2013-09-30 19:02:53 +00:00
Henrik Levkowetz
b335ef3b5c
Imported a newer version of makefixture from github. It handles reverse relationships in a less hackish way than my hack.
...
- Legacy-Id: 6314
2013-09-30 14:24:14 +00:00
Henrik Levkowetz
4b568f8d22
Empty models.py, needed to make django look for management/commands/.
...
- Legacy-Id: 6310
2013-09-29 21:15:06 +00:00
Henrik Levkowetz
083f60dd93
Renamed model .url() methods to .json_url() or .base_url(), depending on function. Replaced the use of custom django method request.get_host_protocol() with standard request.build_absolute_uri(). Removed an uncaught Http403 exception. Fixed a typo /venus_addr/venue_addr/. Removed relurl() methods; no longer needed. Removed some debug functions.
...
- Legacy-Id: 6309
2013-09-29 21:14:07 +00:00
Henrik Levkowetz
127deda3c7
The supposedly known-good agenda-utc.html file was filled with '****** SOMETHING WENT WRONG ******', which is clearly wrong. This one is a bit better.
...
- Legacy-Id: 6308
2013-09-29 20:57:46 +00:00
Henrik Levkowetz
6e9e1930e2
Added a makefixture management command, from http://djangosnippets.org/snippets/918/ , somewhat hacked.
...
- Legacy-Id: 6307
2013-09-29 20:50:51 +00:00
Henrik Levkowetz
92b9da1d4f
Moved read_agenda_file() and session_draft_list() back to views.py. The move almost masked a code change in trunk during the merge.
...
- Legacy-Id: 6294
2013-09-28 05:42:49 +00:00
Henrik Levkowetz
26688aa2ec
Changed back to standard TestCase to ensure confidence in tests. Removed duplicate tests. Adapted tests to new json_url() method signature. Corrected the /people/ urls to /person/.
...
- Legacy-Id: 6293
2013-09-28 05:35:17 +00:00
Henrik Levkowetz
72a19e2ab2
Fixed the on-and-off failing test_agenda83txt(), which gave inconsistent results because the datetime object given to the template to render had no timezone setting. Added a PRODUCTION_TIMEZONE setting, and used it to provide a consistent timezone to the agenda.txt template.
...
- Legacy-Id: 6292
2013-09-27 20:07:42 +00:00
Henrik Levkowetz
254d6f70dd
Removed some debug statements.
...
- Legacy-Id: 6290
2013-09-27 17:32:35 +00:00
Henrik Levkowetz
8e750a9b18
Revert changes to manage.py -- the intention with these changes was already taken care of with similar code further down.
...
- Legacy-Id: 6285
2013-09-26 21:55:14 +00:00
Henrik Levkowetz
7bb999e09e
Undid gratuitous changes.
...
- Legacy-Id: 6284
2013-09-26 21:35:18 +00:00
Henrik Levkowetz
7876340a44
Undid gratuitous whitespace changes.
...
- Legacy-Id: 6283
2013-09-26 21:27:21 +00:00
Henrik Levkowetz
ea9d075801
Undid gratuitous whitespace changes.
...
- Legacy-Id: 6282
2013-09-26 21:26:56 +00:00
Henrik Levkowetz
2f1edc3d68
Undid gratuitous whitespace changes.
...
- Legacy-Id: 6281
2013-09-26 21:20:41 +00:00
Henrik Levkowetz
321744b0b9
Undid gratuitous whitespace and quoting changes. This code is taken verbatim from an external source, as indicated at the beginning of the file, and should not be messed with unless we fix bugs.
...
- Legacy-Id: 6280
2013-09-26 21:10:41 +00:00
Henrik Levkowetz
2f890235de
Undid gratuitous whitespace changes.
...
- Legacy-Id: 6279
2013-09-26 21:04:57 +00:00
Henrik Levkowetz
be3cff19d1
Moved a migration from the merge forward to have the proper number for application.
...
- Legacy-Id: 6274
2013-09-26 19:57:36 +00:00
Henrik Levkowetz
6154b9922d
This commit isn't tested. It captures the state after merging in branch/ssw/agenda/v4.70.
...
- Legacy-Id: 6273
2013-09-26 19:56:17 +00:00
Henrik Levkowetz
29eaaa9eda
Tweaked the introductory text on the Desired Expertise page.
...
- Legacy-Id: 6265
2013-09-26 06:32:28 +00:00
Henrik Levkowetz
1dae75ee59
The exception string for submission upload read errors seems to have changed after we switched to wsgi, from "Client read error" to "request data read error". Now looking for just "read error".
...
- Legacy-Id: 6264
2013-09-26 06:29:28 +00:00
Henrik Levkowetz
0fcaefe29b
Added an explanatory paragraph to the Desired Expertise page.
...
- Legacy-Id: 6263
2013-09-25 13:51:18 +00:00
Henrik Levkowetz
08ea8c1b30
Fixed a wrong secretariat template extension name.
...
- Legacy-Id: 6260
2013-09-24 17:51:50 +00:00
Henrik Levkowetz
8d9c1e9177
Changed 'requirement' to 'desired expertise' in user-visible places in the nomcom app.
...
- Legacy-Id: 6259
2013-09-24 17:50:02 +00:00
Henrik Levkowetz
85e7af3370
Added a development helper page.
...
- Legacy-Id: 6251
2013-09-23 19:27:38 +00:00
Henrik Levkowetz
5d9e6c0b6a
Fixed the language of the nomination confirmation message.
...
- Legacy-Id: 6250
2013-09-23 19:27:17 +00:00
Henrik Levkowetz
86cf15cd9f
Fixed some bugs in the EncryptedTextField class.
...
- Legacy-Id: 6246
2013-09-22 19:26:48 +00:00
Henrik Levkowetz
0016c69b61
Added an index page for nomcoms, at /nomcom/, with links to nomcom pages and announcements, where they exist.
...
- Legacy-Id: 6245
2013-09-22 18:59:24 +00:00
Henrik Levkowetz
c52efcae8c
Set version info and settings back to development mode
...
- Legacy-Id: 6210
2013-09-19 19:31:46 +00:00
Henrik Levkowetz
faf1917062
Set version info to release version 4.72 before branching.
...
- Legacy-Id: 6208
2013-09-19 19:31:44 +00:00
Henrik Levkowetz
32325fc762
Replaced the two AD document links with one pointing to the new view (under the old URL).
...
- Legacy-Id: 6206
2013-09-19 19:09:39 +00:00
Henrik Levkowetz
44a8eb207b
Removed the old ad documents page, and it's view function, and put in a redirect from the temporary /ad2/ url to the /ad/ url.
...
- Legacy-Id: 6204
2013-09-19 18:24:23 +00:00
Henrik Levkowetz
23cdddf696
Added overview pages for non-ietf-stream documents (ise, iab, irtf).
...
- Legacy-Id: 6202
2013-09-19 18:21:16 +00:00
Henrik Levkowetz
e09667122a
Added the ability to search for documents from a certain stream to the main document search form.
...
- Legacy-Id: 6201
2013-09-19 18:16:10 +00:00
Henrik Levkowetz
6460a7eef2
Updated the comment with the working Apache setting for a dev server.
...
- Legacy-Id: 6170
2013-09-18 20:31:57 +00:00
Henrik Levkowetz
80a19d6dfd
Change the development url patterns to match the name change of static/secr to static/secretariat.
...
- Legacy-Id: 6169
2013-09-18 20:30:56 +00:00
Henrik Levkowetz
d8074d39d3
Merged the latest secretariat code from rcross@amsl.com, from branch/amsl/trunkmerge@6149.
...
- Legacy-Id: 6168
2013-09-18 19:33:36 +00:00
Henrik Levkowetz
da4177e1cd
Rename the nomcom public keys path setting.
...
- Legacy-Id: 6166
2013-09-18 18:10:27 +00:00
Henrik Levkowetz
78a0fd7759
Added a dev-specific robots.txt, which blocks all robots.
...
- Legacy-Id: 6164
2013-09-18 17:44:51 +00:00
Henrik Levkowetz
68cea34e64
Fixed a typo in the WSGI connector.
...
- Legacy-Id: 6163
2013-09-18 17:43:38 +00:00
Henrik Levkowetz
11c1b0738a
Cleaned up the ipr count code in doc/views_search.py a bit more.
...
- Legacy-Id: 6162
2013-09-18 17:43:09 +00:00
Henrik Levkowetz
641bcccfba
Replaced the ad_hoc nomcom_member_required() decorator with our generic role_required() decorator. Changed access permission for nomcom-chair only pages to also permit nomcom advisor access (this lets the previous nomcom chair explain and assist as needed). Also tweaked some text strings in the email feedback pipe script.
...
- Legacy-Id: 6160
2013-09-16 21:05:25 +00:00
Henrik Levkowetz
d60210484f
Moved the nomcom private key storage out of the source tree, which is a silly place to put it.
...
- Legacy-Id: 6159
2013-09-16 21:00:07 +00:00
Henrik Levkowetz
11e56aa5b2
Modified the code which accumulates ipr disclosures associated with a document, shown as an IPR count in search results. The previous code had two deficiencies: it could count some IPR disclosures twice, and it also included withdrawn and pending disclosures. The current count matches the IPR search results better.
...
- Legacy-Id: 6158
2013-09-16 20:55:24 +00:00
Henrik Levkowetz
dbda8e8c53
A WSGI connector for the datatracker, to let us run under mod_wsgi.
...
- Legacy-Id: 6157
2013-09-16 20:52:37 +00:00
Henrik Levkowetz
5033aba13e
Cleaned upthe manage.py command changes a little bit.
...
- Legacy-Id: 6156
2013-09-16 20:51:00 +00:00
Henrik Levkowetz
4538ef7b0e
Added Nomcom role suport to role_required() through has_role(). This will let us get rid of the more specialized ad_hoc nomcom_memeber_required() which can't handle access for multiple roles.
...
- Legacy-Id: 6155
2013-09-16 19:18:22 +00:00