Commit graph

3998 commits

Author SHA1 Message Date
Henrik Levkowetz 390309412f Changed the WG edit form so that once an acronym has been set, the acronym
field is read-only; also changed the form validation to not permit changes
to an existing acronym.
 - Legacy-Id: 6432
2013-10-12 15:33:54 +00:00
Henrik Levkowetz 422e5a438e Changed NOMCOM_FROM_EMAIL to be the Nomcom chair instead of the secretariat. Fixes issue #1152.
- Legacy-Id: 6431
2013-10-11 20:20:48 +00:00
Henrik Levkowetz 697dcc450a If an exception is raised earlier in field validation, the
position field may not be set when we get to this point and
try to retrieve the value of a different field than the one
we're processing. Don't cause a new exception in that case.
 - Legacy-Id: 6416
2013-10-11 12:31:50 +00:00
Henrik Levkowetz 3e668a1bca Merged [6413] from rjsparks@nostrum.com:
Removed redundant call to not_duplicated from the nomcom/private_index template

It was already applied in the view, and interacted badly with the 
list comprehension method of filtering for NomineePositions that 
had associated questionnaire responses.

Fixes bug 1151.
 - Legacy-Id: 6415
Note: SVN reference [6413] has been migrated to Git commit 3814b60c5d
2013-10-11 02:17:43 +00:00
Henrik Levkowetz e24f97550c Added Ryan to the admin list so he'll get 500 notifications.
- Legacy-Id: 6414
2013-10-11 02:11:33 +00:00
Henrik Levkowetz 5b003d3842 Missing import in nomcom file.
- Legacy-Id: 6393
2013-10-09 08:37:09 +00:00
Ryan Cross e59fa1c181 fixes for announcements
- Legacy-Id: 6388
2013-10-08 20:02:11 +00:00
Ryan Cross 81e1d867ca fix permissions for mentor group and nomcom
- Legacy-Id: 6387
2013-10-08 19:33:28 +00:00
Henrik Levkowetz bb148003b5 Fixed the plenary display code for the text agenda to use the non-proxy plenary information to identify the plenaries, matching other previous changes from the agenda branch.
- Legacy-Id: 6383
2013-10-08 06:42:53 +00:00
Ryan Cross d54d7a1648 version update
- Legacy-Id: 6381
2013-10-07 22:55:59 +00:00
Ryan Cross 9887ee7c2e fix bug where nomcom message dropdown empty
- Legacy-Id: 6379
2013-10-07 15:53:55 +00:00
Ryan Cross cfbb115d87 various fixes for agenda db schema changes
- Legacy-Id: 6377
2013-10-04 23:51:05 +00:00
Henrik Levkowetz dbc17624f8 Added a break_info() model on Timeslot. Fixes the missing breaks on the
text agenda.
 - Legacy-Id: 6376
2013-10-04 21:49:52 +00:00
Henrik Levkowetz f95b2795fe Putting a place a known-good text version of the agenda for meeting 83. This
is the way it should look.  If something else is produced, it's not right.
The order of sessions on this agenda is sorted first on area on then on
acronym.  This is the known good agenda.
 - Legacy-Id: 6375
2013-10-04 21:18:47 +00:00
Henrik Levkowetz 8561e9c2d8 Removed unwanted Http403 exception.
- Legacy-Id: 6374
2013-10-04 20:46:08 +00:00
Henrik Levkowetz 799c8c8f69 Fixed the agenda-utc test to be insensitive to the release number.
- Legacy-Id: 6373
2013-10-04 20:43:46 +00:00
Henrik Levkowetz da1cf81bf7 Fixed the return value assigment from agenda_info() in cvs_agenda()
- Legacy-Id: 6372
2013-10-04 20:41:02 +00:00
Henrik Levkowetz e2134a67a2 Rename agendaREDESIGN.ics -> agenda.ics. The old agenda.ics file isn't in use
any more.
 - Legacy-Id: 6370
2013-10-04 18:47:20 +00:00
Henrik Levkowetz 83cab39be7 Added a RoomAdmin to the admin site.
- Legacy-Id: 6369
2013-10-04 18:08:09 +00:00
Henrik Levkowetz 70bfcfe6f4 Fixed a wrong email address in bin/commitlog
- Legacy-Id: 6368
2013-10-04 18:06:44 +00:00
Henrik Levkowetz 0444c2573e Fixed some deficiencies in the changelog.
- Legacy-Id: 6367
2013-10-04 18:05:40 +00:00
Henrik Levkowetz 03a79d4736 Merged [6363] from mcr@sandelman.ca: Don't include timeslots marked
'unavailable' in the agenda.
 - Legacy-Id: 6365
Note: SVN reference [6363] has been migrated to Git commit 8de0d8a0c8814059b153e96929220bed6cb46e2c
2013-10-04 14:07:13 +00:00
Henrik Levkowetz e87ba2d869 Added ordering ('-date') to the Meeting model
- Legacy-Id: 6364
2013-10-04 14:03:12 +00:00
Henrik Levkowetz 3020c5f7eb Imported a new version of the draft metadata extraction module, which
calculates page numbers more reliably, doesn't include duplicates in
the list of referenced drafts, and other minor tweaks.
 - Legacy-Id: 6362
2013-10-04 13:50:14 +00:00
Henrik Levkowetz 6c13e8027b Fixed the language in some UI strings in the nomcom tool.
- Legacy-Id: 6358
2013-10-03 20:56:59 +00:00
Henrik Levkowetz ed891d23d0 Set version info and settings back to development mode
- Legacy-Id: 6355
2013-10-03 14:22:46 +00:00
Henrik Levkowetz d256693205 Set version info to release version 4.80 before branching.
- Legacy-Id: 6353
2013-10-03 14:22:42 +00:00
Henrik Levkowetz 2d95c9cc11 Changelog entry for 4.80
- Legacy-Id: 6352
2013-10-03 14:22:40 +00:00
Henrik Levkowetz 212ff26fad Reverted a mistake in agenda.html.
- Legacy-Id: 6351
2013-10-03 14:22:29 +00:00
Henrik Levkowetz 807ea25e3c Removed some debug statements.
- Legacy-Id: 6350
2013-10-03 14:20:14 +00:00
Henrik Levkowetz c78be852a5 Added a new WG (ietf stream) tag slug.
- Legacy-Id: 6349
2013-10-03 11:48:56 +00:00
Henrik Levkowetz cc8817846a Applied the same patch to other templates which use the same approach. Fixed 2 typos.
- Legacy-Id: 6347
2013-10-03 05:40:41 +00:00
Henrik Levkowetz ca81ed0840 Moved script loading inside {% block scripts %}. Patch from rjsparks@nostrum.com.
- Legacy-Id: 6346
2013-10-03 05:11:43 +00:00
Henrik Levkowetz a3c8adfdf6 Merged in the contents of commit [6337] from mcr@sandelman.ca, with some changes to take out dead code that inadvertently came back in.
- Legacy-Id: 6344
Note: SVN reference [6337] has been migrated to Git commit d0d1d949a9328da6c4e30d8f5e0d14ffb204e678
2013-10-02 21:53:28 +00:00
Henrik Levkowetz 08e90fd63f Enabling jquery again in template base.html. Moving library pack jquery-1.8.2 from /static/js/ to /static/js/lib/. Replacing jquery-1.5.1 with 1.8.2 in some places; the incompatibilities listed on the jquery pages seem to be small, and on a cursory inspection not present in the current usage.
- Legacy-Id: 6342
2013-10-02 15:44:50 +00:00
Henrik Levkowetz fada6fdfc9 Provide the site_base_url to the template without a trailing slash, for easier use in javascript.
- Legacy-Id: 6339
2013-10-02 14:11:30 +00:00
Henrik Levkowetz 342bc5bf96 Merged in the merge work branch personal/henrik/r6270 which provides the agenda scheduling tool step 3, from a merge of branch/ssw/agenda/v4.70 from mcr@sandelman.ca; and also substantial fixes to the test framework, and more.
- Legacy-Id: 6328
2013-10-01 13:53:05 +00:00
Henrik Levkowetz d2df8cac78 Fixed the manyfold duplicated position names in the position selection drop-down list in the nomcom private index page. Fixes issue #1137.
- Legacy-Id: 6327
2013-10-01 13:42:30 +00:00
Henrik Levkowetz 983785d63c Fixed a typo.
- Legacy-Id: 6326
2013-09-30 21:00:12 +00:00
Henrik Levkowetz 87898cb006 Updated the text agenda comparison copy to match the ADs present in the fixtures.
- Legacy-Id: 6325
2013-09-30 20:50:32 +00:00
Henrik Levkowetz 3d158d1891 Renamed person.json fixture to persons.json
- Legacy-Id: 6324
2013-09-30 20:49:11 +00:00
Henrik Levkowetz ae666688f7 Added missing TXT_icon
- Legacy-Id: 6323
2013-09-30 20:48:38 +00:00
Henrik Levkowetz c6739bbb4f Modified testurl.list for meetings; there were some URLs that could not succeed with the current database content (the URL tests are running against database content taken from the production database, so this is not a case of missing fixtures).
- Legacy-Id: 6322
2013-09-30 20:40:02 +00:00
Henrik Levkowetz 18445123aa Made the setting for use of InnoDB for testing default. Added a setting for global test fixtures. Added ietf.utils to the app list to capture the makefixture management command.
- Legacy-Id: 6321
2013-09-30 20:38:06 +00:00
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 43fcce48fd Tweaked the exception message for Django's DoesNotExist messages to make it easier to figure out the situation.
- Legacy-Id: 6316
2013-09-30 18:57:16 +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