Commit graph

5828 commits

Author SHA1 Message Date
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
Henrik Levkowetz dad8cc6ba1 Updated maximum file-sizes for draft submissions. Added some Trac-glue-related settings.
- Legacy-Id: 11223
2016-05-22 16:00:35 +00:00