Commit graph

5991 commits

Author SHA1 Message Date
Robert Sparks e1da2669d3 Show ballots for charters that are in external review in search results (including the iesg/agenda/documents page). Fixed #1792. Commit ready for merge. Should also be patched into production.
- Legacy-Id: 11487
2016-06-28 18:06:00 +00:00
Henrik Levkowetz f8804b4f2c Added 3 tests which checks 1) that all templates can be parsed and loaded, 2) that url template-tags refer to an urlconf callback that exists, and 3) that static template-tags resolve to urls that work. This was prompted by some 500 errors earlier which weren't caught by existing texts.
- Legacy-Id: 11483
2016-06-28 04:48:50 +00:00
Henrik Levkowetz a405449150 Cached the list of template paths in test_runner.py so we can call it multiple times cheaply.
- Legacy-Id: 11482
2016-06-28 04:44:25 +00:00
Henrik Levkowetz a0414bed7a Merged in [11479] from rcross@amsl.com:
Remove references to non-existent views from templates.
 - Legacy-Id: 11481
Note: SVN reference [11479] has been migrated to Git commit cbcdbaa46c
2016-06-28 04:42:29 +00:00
Ryan Cross cbcdbaa46c Remove references to non-existent views from templates. Commit ready for merge.
- Legacy-Id: 11479
2016-06-27 22:49:54 +00:00
Henrik Levkowetz 081eacae6a Fixed some missing and mistyped web assets found with test_template_statics_exists().
- Legacy-Id: 11478
2016-06-27 22:21:50 +00:00
Henrik Levkowetz 6e05c88770 Removed dead template.
- Legacy-Id: 11476
2016-06-26 23:11:32 +00:00
Henrik Levkowetz e76a2a61cb Removed dead code.
- Legacy-Id: 11475
2016-06-26 22:59:35 +00:00
Henrik Levkowetz 51b68099a5 Fixed a place where a logged-in user without associcated Person would cause a 500 instead of 403.
- Legacy-Id: 11474
2016-06-25 20:27:13 +00:00
Henrik Levkowetz 834bf08d6f Added settings to use the cache back-end for sessions. Separated out the preference cookie age from the session age. Made the session age refresh on each access, and set the session timeout to 4 weeks of no access.
- Legacy-Id: 11473
2016-06-24 15:44:54 +00:00
Henrik Levkowetz a36cf95572 Refactored the code to skip coverage testing a bit, and added skipping of template and url coverage.
- Legacy-Id: 11472
2016-06-24 15:39:59 +00:00
Henrik Levkowetz 75fd4d2876 Added a production-mode check to verify that the cache is functioning as expected.
- Legacy-Id: 11471
2016-06-24 15:36:25 +00:00
Henrik Levkowetz ab8b151672 Added missing right-angle for a div. Made some form elements initially display: none in order to avoid elements jumping around on initial form rendering. Fixed alignment of Submit and Back buttons, by proper nesting and col-md- class.
- Legacy-Id: 11469
2016-06-24 12:08:15 +00:00
Henrik Levkowetz f87f938846 Language tweaks
- Legacy-Id: 11468
2016-06-24 11:58:20 +00:00
Henrik Levkowetz 03e69e6d0c Added a banner on top of the agenda view of unofficial agendas (which now work) indicating that it's not the official agenda.
- Legacy-Id: 11464
2016-06-23 15:09:51 +00:00
Henrik Levkowetz bea74cb8b4 Added an optional parameter 'owner' to meeting.views.agenda(). Fixed issues #1959 and #1615
- Legacy-Id: 11463
2016-06-23 15:08:39 +00:00
Henrik Levkowetz ff6e312b32 Fixed a buggy urlpattern regexp which would eat up the last character in an url if not given an extension.
- Legacy-Id: 11462
2016-06-23 14:56:29 +00:00
Henrik Levkowetz 64070fa3bf Added the ability to list absolute coverage data, not only show relative differences, to the coverage_changes management command.
- Legacy-Id: 11460
2016-06-22 22:05:50 +00:00
Henrik Levkowetz 52456c6207 Added a missing import.
- Legacy-Id: 11457
2016-06-22 13:50:53 +00:00
Henrik Levkowetz d01d3c2912 Added a check for the phantomjs binary to the skip-selenium tests in ietf/meeting/tests_js.py, in order to be able to add selenium to requirements.txt. This will make the selenium tests run if phantomjs is available on the system, without manually having to install the selenium module. This should make the buildbot run the selenium tests, too.
- Legacy-Id: 11456
2016-06-22 13:46:48 +00:00
Henrik Levkowetz 2ef60f4c12 Tweaked the release page a bit, fixing vertical alignment of revision comments when breaking across lines, comment appearance on iPads, and introducing striped tables.
- Legacy-Id: 11455
2016-06-22 12:31:29 +00:00
Robert Sparks ca87b89a79 Remove some incomplete (and not functional) selenium tests
Commit ready for merge.
 - Legacy-Id: 11454
2016-06-21 21:35:17 +00:00
Henrik Levkowetz 6fa181763b Changed the code test coverage checking to never register coverage counts for tests that are sometimes skipped. Removed now unwanted skip settings from the releasetest settings.
- Legacy-Id: 11453
2016-06-21 20:39:28 +00:00
Henrik Levkowetz f36f38af90 Set version info and settings back to development mode
- Legacy-Id: 11449
2016-06-21 19:15:42 +00:00
Henrik Levkowetz 66e847b208 Set version info to release version 6.24.0 before branching.
- Legacy-Id: 11447
2016-06-21 19:15:18 +00:00
Henrik Levkowetz 5b5d288d4c Applied patch from production: Added timeslot filtering by schedule for non-session timeslot display.
- Legacy-Id: 11444
2016-06-21 19:01:55 +00:00
Henrik Levkowetz 54fc7adb9a Fixed a typo.
- Legacy-Id: 11443
2016-06-21 18:59:44 +00:00
Henrik Levkowetz 0f0686c489 Backed out previous changes; make_directories() was used in more than one place. Renamed to more expressive name.
- Legacy-Id: 11441
2016-06-21 13:28:13 +00:00
Henrik Levkowetz d4c7928c13 Removed unused import.
- Legacy-Id: 11440
2016-06-21 13:22:59 +00:00
Henrik Levkowetz 340c854efb The helper function make_directories() is now used in only one place, and the function where it's used isn't terribly long. Inlined it, and added a comment (and question) about the os.umask() call. The list of leaves is possibly out of sync with some other places where material doctypes are used.
- Legacy-Id: 11439
2016-06-21 13:20:09 +00:00
Henrik Levkowetz cc6096e190 Merged in [11435] from rcross@amsl.com:
Fix a few things with interim materials management.
 - Legacy-Id: 11438
Note: SVN reference [11435] has been migrated to Git commit f1bb818434c83b4180e9655d062825a5c0016ef8
2016-06-21 12:59:10 +00:00
Henrik Levkowetz 1e50d5dd44 Merged in [11434] from rcross@amsl.com:
Remove legacy secretariat code for adding interim meetings in favor of new ietf.meeting interim features.
 - Legacy-Id: 11437
Note: SVN reference [11434] has been migrated to Git commit 98afcae63a752129c63f0d2e1824bbbb26dbf71f
2016-06-21 12:23:58 +00:00
Henrik Levkowetz e6a005dba6 Added a score of setting save/restores to test setup/teardown actions.
- Legacy-Id: 11436
2016-06-21 07:51:02 +00:00
Henrik Levkowetz f49471b6aa Restore the AGENDA_PATH setting after temporary test suit change.
- Legacy-Id: 11432
2016-06-20 22:46:34 +00:00
Henrik Levkowetz 377a84c52b Normalized session agenda html content before running it into PyQuery to avoid later occurrences of '
' for each carriage return.
- Legacy-Id: 11430
2016-06-20 22:02:05 +00:00
Henrik Levkowetz 92a2b1cbe0 Added a check that the proceedings directory given in the settings exists.
- Legacy-Id: 11427
2016-06-20 21:51:14 +00:00
Henrik Levkowetz df08e65570 To support development without having to install Mailman, make the import of mailman list info conditional on mailman module imports succeeding.
- Legacy-Id: 11426
2016-06-20 21:49:50 +00:00
Henrik Levkowetz ef8da52f27 Refactored the code to not use two different functions to get_next_interim_numbers.
- Legacy-Id: 11425
2016-06-20 18:53:12 +00:00
Henrik Levkowetz f083e88592 Made interim meeting test data use zero-padded sequence numbers.
- Legacy-Id: 11424
2016-06-20 18:52:09 +00:00
Henrik Levkowetz 7f98aa87a7 Updated MeetingFactory to give interim meeting numbers with two-digit zero-padded numbers.
- Legacy-Id: 11423
2016-06-20 18:50:39 +00:00
Henrik Levkowetz b6b855d619 Added a get before post in a interim request test.
- Legacy-Id: 11422
2016-06-20 18:48:16 +00:00
Henrik Levkowetz 53fa91f7bb Enhanced the interim_meetings data migration to also update the interim meeting numbers to consistently use zero-padded two-digit serial numbers, in line with how new interim meeting numbers are generated. Added reverse migrations. Made the migration accept existing TimeSlot and Assignments, if found.
- Legacy-Id: 11421
2016-06-20 18:22:09 +00:00
Henrik Levkowetz d46a3d5768 Set some admin fields to raw_id, to avoid insanely long lists of choices.
- Legacy-Id: 11420
2016-06-20 18:18:07 +00:00
Henrik Levkowetz 4285038e61 Updated copyright.
- Legacy-Id: 11419
2016-06-20 18:06:57 +00:00
Henrik Levkowetz 67c1af546c Added an url pattern for interim meeting agendas -- we construct those in some places, like in /doc/agenda-interim-... document pages, so we should be able to handle the ,;-)
- Legacy-Id: 11418
2016-06-20 18:04:40 +00:00
Henrik Levkowetz 7dde59f873 Avoid multiple doctype declarations and other html errors by parsing sesion agenda html files and inserting our title and doctype.
- Legacy-Id: 11417
2016-06-20 18:01:35 +00:00
Henrik Levkowetz 252c201817 Use session.agenda.href in the agenda template, instead of constructing an agenda link in place. This is more DRY, and also fixes some places where the old construct was wrong.
- Legacy-Id: 11416
2016-06-20 17:57:55 +00:00
Henrik Levkowetz 84c355e166 Added caching to some meeting methods which are called multiple times when generating the IETF agenda.
- Legacy-Id: 11413
2016-06-20 11:21:01 +00:00
Henrik Levkowetz df84098980 Fixed a bug in find-history-replacement-active-at() where multiple history entries with the same timestamp would be unordered. This led to the wrong historic group info being shown in some cases (e.g., meeting/86/agenda would show dmmnew instead of dmm, leading to wrong agenda links)
- Legacy-Id: 11410
2016-06-19 12:52:36 +00:00
Henrik Levkowetz b79ac1ee29 Tweaked the styling of meeting rows to avoid wrapping the interim meeting names, and added meeting links for the IETF meetings.
- Legacy-Id: 11409
2016-06-18 21:22:59 +00:00
Henrik Levkowetz 5939a376ba Added a missing condition, to make tool page links visible under the More info entry on group pages.
- Legacy-Id: 11408
2016-06-18 15:33:04 +00:00
Henrik Levkowetz a1ed1aecfa Moved check for session data up to before we try to use it in announcemen.views.confirm.
- Legacy-Id: 11405
2016-06-17 19:49:45 +00:00
Henrik Levkowetz 28829d34c5 Added interim test set up and tear down actions. The InterimTests need the same setUp and tearDown of a test materials dir as the regular meeting tests, otherwise they are going to depend on individual developer's settings_local, and fail unpredictably.
- Legacy-Id: 11403
2016-06-17 15:00:11 +00:00
Henrik Levkowetz d298785fda Merged in ^/branch/amsl/interim@11230, which provides interim meeting management support. Also fixes issues #1961, #1962 and #1964.
- Legacy-Id: 11402
2016-06-17 14:16:27 +00:00
Henrik Levkowetz 688ffa4e2d Set version info and settings back to development mode
- Legacy-Id: 11400
2016-06-17 13:20:35 +00:00
Henrik Levkowetz a9942ab05b Set version info to release version 6.23.0 before branching.
- Legacy-Id: 11398
2016-06-17 13:20:26 +00:00
Henrik Levkowetz b667f47b4f Let the import_mailman_listinfo management command not only add, but also remove subcriptions to match mailman's info. Pay attention only to addresses with delivery enabled.
- Legacy-Id: 11394
2016-06-17 13:06:39 +00:00
Henrik Levkowetz 744a39e2ca Added a migration to do the first mailman subscriber import, using a function from the refactored management command.
- Legacy-Id: 11393
2016-06-16 19:33:07 +00:00
Henrik Levkowetz 263e1f4136 Changed the IESG photo page to show full area name instead of area acronym in each box heading. Linked the area name to the area page. Removed the area acronym under each picture. Tweaked the vertical alignment of photo wells. Fixes an issue raised by housley@vigilsec.com
- Legacy-Id: 11390
2016-06-16 18:07:11 +00:00
Henrik Levkowetz e110419916 Merged in ^/personal/henrik/6.22.1-acctdeps which provides import of addresses subscribed to IETF mailing lists, and additional datatracker account creation requirements. Also a table and form for manual whitelisting of account logins, in order to handle cases which fall outside the default requirements. Fixed some tests.
- Legacy-Id: 11389
2016-06-15 22:10:50 +00:00
Henrik Levkowetz 7c033d3daa Only check state.slug in GroupForm.clean() if state is set.
- Legacy-Id: 11388
2016-06-15 20:02:51 +00:00
Henrik Levkowetz d251692b96 Added a clean() method to the Group creation form which requires a BoF to have a parent group. Fixes issue #1970.
- Legacy-Id: 11387
2016-06-15 19:46:47 +00:00
Henrik Levkowetz c1a8b3d7cc Whitelist form language tweaks.
- Legacy-Id: 11386
2016-06-15 16:15:56 +00:00
Henrik Levkowetz 016f912ef7 Changed some field names from address to email.
- Legacy-Id: 11385
2016-06-15 15:49:28 +00:00
Henrik Levkowetz c0ba793c69 Added the new models for mailinglists ...
- Legacy-Id: 11384
2016-06-15 15:48:58 +00:00
Henrik Levkowetz d432e5a46c Added a link to the account creation whitelist page for the secretariat.
- Legacy-Id: 11383
2016-06-15 15:45:07 +00:00
Henrik Levkowetz 4f6870d5a8 Set version info and settings back to development mode
- Legacy-Id: 11381
2016-06-15 15:09:50 +00:00
Henrik Levkowetz 576176ecce Set version info to release version 6.22.2 before branching.
- Legacy-Id: 11379
2016-06-15 15:09:41 +00:00
Henrik Levkowetz 6304897519 Temporarily disable photo upload field -- requires handler code.
- Legacy-Id: 11376
2016-06-15 14:58:43 +00:00
Henrik Levkowetz fed2a04445 Increased the requirements for account creation, and added a form where the secretariat can add whitelisting to make account creation possible for addresses that don't fulfil the default requirements.
- Legacy-Id: 11374
2016-06-14 21:39:12 +00:00
Henrik Levkowetz b0ddd0daeb Added models for mailman lists and subscribed and whitelisted addresses, and an import management command suited to be run as a periodic cron-job.
- Legacy-Id: 11373
2016-06-14 21:36:05 +00:00
Henrik Levkowetz 9019d0a1dc Merged in [11357] from lars@netapp.com:
Update web assets.
 - Legacy-Id: 11369
Note: SVN reference [11357] has been migrated to Git commit ab1dc4abc6
2016-06-14 15:11:20 +00:00
Henrik Levkowetz fa5a89f3d7 Added a backwards migration for person.0013_add_plain_name_aliases.
- Legacy-Id: 11368
2016-06-14 15:11:05 +00:00
Henrik Levkowetz 122cdd5489 Merged in [11202] from lars@netapp.com:
Update various web assets.
 - Legacy-Id: 11365
Note: SVN reference [11202] has been migrated to Git commit 41e8aa96f1
2016-06-14 14:19:19 +00:00
Lars Eggert ab1dc4abc6 Update web assets. Commit ready for merge.
- Legacy-Id: 11357
2016-06-14 08:51:28 +00:00
Henrik Levkowetz 2ba1bde0ba Reverted a bad to group/urls_info.py
- Legacy-Id: 11355
2016-06-14 04:56:50 +00:00
Henrik Levkowetz 7037c734f6 Set version info and settings back to development mode
- Legacy-Id: 11353
2016-06-13 15:14:03 +00:00
Henrik Levkowetz 3d2bd57301 Set version info to release version 6.22.1 before branching.
- Legacy-Id: 11351
2016-06-13 15:13:54 +00:00
Henrik Levkowetz 5d46febe03 Fixed an incorrect path to the default 'no photo available' image.
- Legacy-Id: 11348
2016-06-13 15:05:48 +00:00
Henrik Levkowetz 45e9801955 Added a migration which provides photo field default values and updates the upload path to the one used in production.
- Legacy-Id: 11345
2016-06-13 14:54:40 +00:00
Henrik Levkowetz d5701633fa Grouped aliases settings together.
- Legacy-Id: 11344
2016-06-13 14:50:11 +00:00
Henrik Levkowetz 289dd0c2a9 Minor tweaks.
- Legacy-Id: 11343
2016-06-13 14:03:19 +00:00
Henrik Levkowetz ee14795563 Reapplying aliases patch lost in previous commit.
- Legacy-Id: 11342
2016-06-13 13:47:44 +00:00
Henrik Levkowetz 4a227601df Added default media and photo directories for use in development. Changed settings to point to the media dir in development.
- Legacy-Id: 11341
2016-06-13 13:42:03 +00:00
Henrik Levkowetz 09109516f9 Fixed a bug in the default alias-file settings.
- Legacy-Id: 11340
2016-06-13 10:57:02 +00:00
Henrik Levkowetz e20ffc9e86 Improved data migration for plain_name aliases.
- Legacy-Id: 11339
2016-06-13 10:39:36 +00:00
Henrik Levkowetz c6e1daa2e9 Set version info and settings back to development mode
- Legacy-Id: 11328
2016-06-12 10:44:16 +00:00
Henrik Levkowetz aa08aad199 Set version info to release version 6.22.0 before branching.
- Legacy-Id: 11326
2016-06-12 10:44:09 +00:00
Henrik Levkowetz 78ed9334d2 Skip the htpasswd update test which uses an external binary if the binary isn't found Fixes the failing OS X test.
- Legacy-Id: 11323
2016-06-11 23:40:20 +00:00
Henrik Levkowetz 80dc67f109 Fixed pyflakes and consistency issues in person.views.profile().
- Legacy-Id: 11322
2016-06-11 23:05:08 +00:00
Henrik Levkowetz 8ba02dfd2c Added fixes for various profile page problems found by the test crawler.
- Legacy-Id: 11321
2016-06-11 21:54:14 +00:00
Henrik Levkowetz e3cbabaf9b Made it possible to filter on photo and bio fields in the API.
- Legacy-Id: 11320
2016-06-11 19:48:36 +00:00
Henrik Levkowetz f384a134c4 Added a migration to provide plain-name aliases where they are missing, as we expect those for the person profile URLs.
- Legacy-Id: 11319
2016-06-11 11:58:30 +00:00
Henrik Levkowetz 9855c2d54b Added a check for the existence of the media/photos directory.
- Legacy-Id: 11315
2016-06-10 19:37:36 +00:00
Henrik Levkowetz 9eacdbf2c6 Merged in ^/personal/henrik/6.21.1-biophoto@11313, with work from rjsparks@nostrum.com and henrik@levkowetz.com which provides support for profile biography and photo.
- Legacy-Id: 11314
2016-06-10 19:36:47 +00:00
Henrik Levkowetz 4cb87b5b09 An additional photo test, and a test function rename.
- Legacy-Id: 11313
2016-06-10 18:36:28 +00:00
Henrik Levkowetz e62c3ac8d2 Set version info and settings back to development mode
- Legacy-Id: 11311
2016-06-10 09:45:48 +00:00
Henrik Levkowetz 517425d12f Set version info to release version 6.21.1 before branching.
- Legacy-Id: 11309
2016-06-10 09:45:41 +00:00
Henrik Levkowetz a9980d5cc1 Added a default for photo and photo_thumb to the migration.
- Legacy-Id: 11306
2016-06-10 09:41:09 +00:00
Henrik Levkowetz ebe45e5312 Added tests for various photo pages.
- Legacy-Id: 11305
2016-06-09 21:59:17 +00:00