Commit graph

5952 commits

Author SHA1 Message Date
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
Henrik Levkowetz 3e54101e06 Renamed group.views.all_photos() back to chair_photos(). Added differentiated ordering by role to group photo pages. Moved the external links (dependency graph and tools pages) off of the tabs, to the charter page.
- Legacy-Id: 11304
2016-06-09 21:58:35 +00:00
Henrik Levkowetz 7c53eb1843 Renamed group.views.all_photos() back to chair_photos(). Added differentiated ordering by role to group photo pages. Moved the external links (dependency graph and tools pages) off of the tabs, to the charter page.
- Legacy-Id: 11303
2016-06-09 21:58:01 +00:00
Henrik Levkowetz cbaabbf98f Changed the urls config so that static files can be served to the test client.
- Legacy-Id: 11302
2016-06-09 21:54:44 +00:00
Henrik Levkowetz 2c456cea73 Added default values to the photo and photo_thumb fields. Made photo_name() return unicode. Made plain_name not fall back to ascii_short, as that's not meaningful.
- Legacy-Id: 11301
2016-06-09 21:53:52 +00:00
Henrik Levkowetz f4d2f19ffb Tweaked the person factory to provide bio and photo on request.
- Legacy-Id: 11300
2016-06-09 21:51:46 +00:00
Henrik Levkowetz c80b654f18 Simplified some setting calculations.
- Legacy-Id: 11299
2016-06-09 21:50:56 +00:00
Henrik Levkowetz 511e500960 Show default no-photo-available image on bio if no photo is available.
- Legacy-Id: 11298
2016-06-09 21:49:44 +00:00
Henrik Levkowetz fcd8f55117 Added person.plain_name() to the name aliases.
- Legacy-Id: 11297
2016-06-09 21:48:04 +00:00
Henrik Levkowetz 087c543dfd Changed the links to profile pages to apply to both photo and name, for an easier click target. Added links to group names.
- Legacy-Id: 11296
2016-06-09 21:46:39 +00:00
Henrik Levkowetz 637c1a0e7b Added links to dependency graph and tools page to the group metainformation. Reindented consistently.
- Legacy-Id: 11295
2016-06-09 21:42:45 +00:00
Henrik Levkowetz b0cd3a0066 Fixed a problem with accessing a group's workflow customisation page from /group/{{acronym}} instead of /wg/{{acronym}}/.
- Legacy-Id: 11290
2016-06-07 18:13:55 +00:00
Henrik Levkowetz 7edecaee27 Added photo page support for individual groups, and tweaked some names. This provides a photo page for the IAB, but also as a benefit photo pages for other groups.
- Legacy-Id: 11287
2016-06-06 16:33:24 +00:00
Henrik Levkowetz dd781c9367 Added and updated migrations.
- Legacy-Id: 11286
2016-06-06 16:30:54 +00:00
Henrik Levkowetz ab20d0002d Added some guards against bad data in name_parts().
- Legacy-Id: 11285
2016-06-06 16:30:30 +00:00
Henrik Levkowetz 9e382bb711 Added support for reStructuredText markup in bios.
- Legacy-Id: 11284
2016-06-06 16:29:25 +00:00
Henrik Levkowetz aa4ddc00e2 Limited the biography and photo uploading to people who have been assigned a role.
- Legacy-Id: 11283
2016-06-06 12:42:24 +00:00
Henrik Levkowetz 2947bb4096 Added a setting (to go with the earlier changes in ietfauth and secr/rolodex) for excluded personal email patterns.
- Legacy-Id: 11282
2016-06-06 07:49:26 +00:00
Henrik Levkowetz 5395c85ed7 Changed the acceptable mime type for uploaded xml files to be either text/xml or application/xml.
- Legacy-Id: 11280
2016-06-06 07:38:02 +00:00
Henrik Levkowetz 3eaef15fd5 Fixed a bug found by rjsparks@nostrum.com in the submission test text output.
- Legacy-Id: 11279
2016-06-06 07:37:05 +00:00
Henrik Levkowetz c4b59f0363 Added personal photo+bio pages.
- Legacy-Id: 11278
2016-06-05 20:14:50 +00:00
Henrik Levkowetz 5159349959 Added an IESG photo page. Replaced navigation pills with a navtab on the IESG pages.
- Legacy-Id: 11277
2016-06-05 09:55:59 +00:00
Henrik Levkowetz e4e2ced967 Tweaked the look of nav-tabs.
- Legacy-Id: 11276
2016-06-05 09:54:51 +00:00
Henrik Levkowetz ed583bcc5f Used a more sophisticated algorithm for separation of person name parts in the photo_name() method. Added support for 'Dr' (without dot) as a titular prefix.
- Legacy-Id: 11275
2016-06-05 09:54:13 +00:00
Henrik Levkowetz fe50693d09 Renamed and generalised the photos template a bit, for re-use with IESG photos.
- Legacy-Id: 11274
2016-06-05 09:51:56 +00:00
Henrik Levkowetz 5f4de2047e Added additional directories for IAB photos.
- Legacy-Id: 11273
2016-06-05 09:50:09 +00:00
Henrik Levkowetz c5e0814e11 Made the photo url and view function names more generic. Shortened a tab name.
- Legacy-Id: 11272
2016-06-05 09:49:24 +00:00
Henrik Levkowetz f9136dcad3 Changed the photo collection script to use a more sophisticated algorithm to separate name parts, in order to avoid photos named 'dr-foo-bar-ph-d', and in order to correctly identify surnames like 'le-faucheur'. Added translation for the first-name only named IAB photos. Added additional directories for IAB photos.
- Legacy-Id: 11271
2016-06-05 09:47:55 +00:00
Henrik Levkowetz 33a0629911 Enhanced the photo collection script to look in multiple locations, in order to capture missing IAB and IESG member photos, and to select full and thumbnail photos from a preference list based on timestamp and size.
- Legacy-Id: 11270
2016-06-03 22:54:35 +00:00
Henrik Levkowetz fa5bed83b3 Removed debug prints
- Legacy-Id: 11267
2016-06-02 19:31:08 +00:00
Henrik Levkowetz 1410168a5a Fixed some missed instances of a setting name-change.
- Legacy-Id: 11266
2016-06-02 19:30:25 +00:00
Henrik Levkowetz c8ade2dff5 Tweaked the chair_photos view.
- Legacy-Id: 11265
2016-06-02 19:21:08 +00:00
Henrik Levkowetz ab095fca5b MOdified the 0011_populate_photos migration to set photo thumbnail values which include the photos dirname under the media_root. Added a reverse migration, for easier testing from a clean state.
- Legacy-Id: 11264
2016-06-02 19:20:34 +00:00
Henrik Levkowetz c83dae57fb Added setting for MEDIA_ROOT, and changed the setting for MEDIA_URL; introduced a setting for the IETF main site URL, for use where MEDIA_URL had been used (incorrectly) earlier.
- Legacy-Id: 11263
2016-06-02 19:17:38 +00:00
Henrik Levkowetz 88e56f2c98 Added heuristics to process existing photo files for a larger percentage of person records than earlier. Changed to checking all person records, not only those with roles. Added a summary of photo files not handled at the end. This reduced the number of unhandled files from ~350 to less than 10, and all the unhandled ones seems to belong to persons for which photos have been found.
- Legacy-Id: 11262
2016-06-02 19:11:53 +00:00
Henrik Levkowetz 14a4ea177c Merged in ^/personal/rjs/6.21.1.dev0@11257
- Legacy-Id: 11259
2016-06-01 16:37:01 +00:00
Henrik Levkowetz b9fa1905c3 Fixed a problem with person alias updates where get_or_create() could find two results for one alias name because utf8_general_ci collation would match multiple different utf8 forms to the same name.
- Legacy-Id: 11257
2016-05-31 12:21:18 +00:00
Henrik Levkowetz 987dabb200 Added an initial migration for messages.
- Legacy-Id: 11255
2016-05-30 21:54:41 +00:00
Ryan Cross ead00565c4 more refactoring
- Legacy-Id: 11230
2016-05-23 23:19:01 +00:00
Ryan Cross c8f3760dbe refactor code dealing with interim materials path
- Legacy-Id: 11229
2016-05-23 22:58:45 +00:00