Commit graph

222 commits

Author SHA1 Message Date
Ole Laursen 31aef86164 Merge charter branch with the UI hooks disabled for the time being
- Legacy-Id: 3800
2012-01-11 15:04:13 +00:00
Ole Laursen 19150dc10f Add get_rfc_number helper by Ryan Cross
- Legacy-Id: 3797
2012-01-06 12:19:23 +00:00
Ole Laursen f4b6dac81f Import telechat dates from the "telechat" table
- Legacy-Id: 3794
2012-01-04 18:02:04 +00:00
Ole Laursen dc72d97962 Fix bugs in AreaGroup proxy
- Legacy-Id: 3792
2012-01-04 15:01:36 +00:00
Ole Laursen e7e992b80e Add proxy for AreaGroup
- Legacy-Id: 3791
2012-01-04 14:57:04 +00:00
Ole Laursen 64c2734ff8 Reorder DraftVersions import so we trust the revision_date in there over the revision_date on the current draft
- Legacy-Id: 3789
2011-12-23 17:15:20 +00:00
Ole Laursen aaee353493 Copy user table before anything else
- Legacy-Id: 3785
2011-12-23 13:12:28 +00:00
Ole Laursen 0dabaf96fb Split database into current and legacy, adding importer to copy reused
tables from legacy to new through Django (with minimal cleaning to
have the import go through) and removing migrations from submit and
liaisons as they interfere with the clean slate of the new database,
adjusting IPR model to add null=True on fields with nulls in the
database
 - Legacy-Id: 3778
2011-12-22 18:34:19 +00:00
Ole Laursen d80a72dff1 Fallback on latest email address if we don't know anything else,
modify email importer to set the timestamp accordingly with high
priority email addresses first (to prevent old, inactive email
addresses from taking precedence)
 - Legacy-Id: 3776
2011-12-21 12:49:45 +00:00
Ole Laursen 4a0ee86261 Order ballot names
- Legacy-Id: 3775
2011-12-21 11:31:56 +00:00
Ole Laursen de0fc12ce8 Port telechat dates
- Legacy-Id: 3774
2011-12-20 13:12:12 +00:00
Ole Laursen 498dc38507 Port to Django 1.2, replacing built-in patched Django with Django 1.2.7 (with patches applied on top) and replacing South with South 0.7.3
- Legacy-Id: 3773
2011-12-15 14:13:54 +00:00
Ole Laursen d81f00b760 Fix bug with wrong acronym in meeting importer for IRTF groups
- Legacy-Id: 3771
2011-12-14 16:50:20 +00:00
Ole Laursen 02809ffbf1 Model non-group-meeting sessions with sessions (by extending it with a
name), as a consequence, drop the "other" time slot category and
remove materials on time slots
 - Legacy-Id: 3754
2011-12-09 13:45:05 +00:00
Ole Laursen f74890aec4 Adjust to handle the slightly revamped email_address() on person
- Legacy-Id: 3750
2011-12-07 19:26:53 +00:00
Ole Laursen 4f48cb2ff6 Make Person.role_email a bit smarter, make Person.email_address (which
seems to be a wrapper for old code at the moment) always return a string
 - Legacy-Id: 3747
2011-12-07 18:56:19 +00:00
Ole Laursen 896347bf7c Don't try to set the active status of emails, if we are to do that, it
has to be in a more clever way
 - Legacy-Id: 3746
2011-12-07 18:38:22 +00:00
Ole Laursen cd3e4fe054 Add unique constraint on acronyms, fixup SDOs to have auto-generated
slugified acronyms
 - Legacy-Id: 3745
2011-12-07 18:07:45 +00:00
Ole Laursen 2c81e8d1ed Add support for not-meeting meeting sessions
- Legacy-Id: 3744
2011-12-07 11:52:18 +00:00
Ole Laursen 3ed02196d7 Fix some instances where we use a non-role email for ADs in spite of them acting as ADs
- Legacy-Id: 3741
2011-12-06 14:01:44 +00:00
Ole Laursen 790d92622f Apply same fix for concluded state for PWGs as for BOFs (noticed by
Ryan Cross)
 - Legacy-Id: 3740
2011-12-05 10:57:14 +00:00
Ole Laursen b654dde001 Skip the IRTF chair entries in IRTFChair as they're buggy (noticed by
Ryan Cross)
 - Legacy-Id: 3738
2011-12-02 11:10:57 +00:00
Ole Laursen b8a5a3e29c Flip source and target in Constraint import
- Legacy-Id: 3736
2011-11-30 18:28:36 +00:00
Ole Laursen d79365d25f Update name fixtures
- Legacy-Id: 3724
2011-11-29 13:21:11 +00:00
Ole Laursen 16540e565b Remove support for status date on doc
- Legacy-Id: 3720
2011-11-28 18:28:20 +00:00
Ole Laursen a8e219e16a Rename DocStreamName to StreamName, they're not really doc-specific
- Legacy-Id: 3707
2011-11-25 12:25:35 +00:00
Ole Laursen 1b6d80f709 Delete old import-document-state.py that for some reason appears to have popped up after the merge with trunk
- Legacy-Id: 3706
2011-11-24 18:29:02 +00:00
Ole Laursen 1861586dc3 Make sure expiration date is imported even if a DocumentComment is lacking (noticed by Ryan Cross)
- Legacy-Id: 3705
2011-11-24 18:25:54 +00:00
Ole Laursen d8fe519440 Add custom manager to Group with convenience helper for getting active
WGs(requested by Ryan Cross)
 - Legacy-Id: 3704
2011-11-24 17:18:55 +00:00
Ole Laursen 7f8df2edf1 Fix problem with the name-based URL for showing AD documents
introduced with the import-whole-names change
 - Legacy-Id: 3701
2011-11-24 15:46:46 +00:00
Ole Laursen 610b56dfd0 Set the type of RFCs that weren't drafts correctly
- Legacy-Id: 3700
2011-11-24 14:58:23 +00:00
Ole Laursen 0b18e45810 Try to import real middle initials with a .
- Legacy-Id: 3699
2011-11-24 11:57:16 +00:00
Ole Laursen 6d74a91e05 Add IANA group and import IANA roles
- Legacy-Id: 3696
2011-11-24 11:33:50 +00:00
Ole Laursen ed0d1ef0d0 Fix bug in canonical_name introduced with generic states
- Legacy-Id: 3694
2011-11-24 10:49:16 +00:00
Ole Laursen eaf1ca34ee Fix some bugs in the trunk merge found through the automated tests
- Legacy-Id: 3692
2011-11-23 18:49:07 +00:00
Ole Laursen 3d290148a6 Fix bug in IDState proxy introduced with generic states
- Legacy-Id: 3689
2011-11-23 17:47:13 +00:00
Ole Laursen 9bfd3687d6 Add special group for ISE for use with streams
- Legacy-Id: 3683
2011-11-22 18:51:53 +00:00
Ole Laursen 5a4c23ea92 Merge with trunk
- Legacy-Id: 3676
2011-11-21 16:41:21 +00:00
Ole Laursen 0c15dc7b40 Encode printed name to fix ascii encode error
- Legacy-Id: 3672
2011-11-18 13:25:11 +00:00
Ole Laursen e903dc1649 Encode printed name to fix ascii encode error
- Legacy-Id: 3671
2011-11-18 13:21:04 +00:00
Ole Laursen e05209b021 Fix problem with ISE in OldRole/chairs table
- Legacy-Id: 3670
2011-11-18 11:32:47 +00:00
Ole Laursen 9c639b3630 Add materials state types, import WgProceedingActivities events for uploads
- Legacy-Id: 3667
2011-11-17 15:12:29 +00:00
Ole Laursen e8673455a2 Fix bug in alias generation that create duplicate aliases
- Legacy-Id: 3665
2011-11-17 13:51:41 +00:00
Ole Laursen b2f1e178ac Rename import-document-state.py to more appropriate import-docs.py
- Legacy-Id: 3661
2011-11-16 18:24:07 +00:00
Ole Laursen 5d291f222c Remove .state and .*_state on Document in favour of generic states
mapping, port the codebase to use these states
 - Legacy-Id: 3660
2011-11-16 18:18:06 +00:00
Ole Laursen 3d10b58c79 Import concluded BOFs as concluded
- Legacy-Id: 3622
2011-11-15 14:07:52 +00:00
Ole Laursen ea7f45d56e Port ietfworkflows and wgchairs to new schema, fix missing state
setting in I-D submission, add tests
 - Legacy-Id: 3617
2011-11-14 19:40:20 +00:00
Ole Laursen e01ba98af1 Introduce generic states, not fully incorporated yet, and rename tag
name model
 - Legacy-Id: 3616
2011-11-14 19:29:05 +00:00
Ole Laursen f6261a9a49 Introduce generic states and reminders
- Legacy-Id: 3615
2011-11-14 19:26:35 +00:00
Ole Laursen 8a129fae74 Import both start and conclude date for areas (noticed by Ryan Cross)
- Legacy-Id: 3597
2011-11-09 10:19:12 +00:00
Ole Laursen de61691dec Fix problem in ballot position regexp noted by Ryan Cross
- Legacy-Id: 3504
2011-10-24 10:30:37 +00:00
Ole Laursen 4619e34765 Fix bug, rewrite active_positions to use new helper
- Legacy-Id: 3438
2011-09-22 12:23:19 +00:00
Ole Laursen 6f10d2f3f7 Port submit to new schema, adding a set of tests and fixing some bugs
- Legacy-Id: 3436
2011-09-21 19:29:50 +00:00
Ole Laursen 95ef2adfcd Fix problem in document import with ballot position document comments
now not having a "by NN" ending
 - Legacy-Id: 3435
2011-09-20 16:00:49 +00:00
Martin Qvist c631930b93 Dependencies of wgrecord to wgcharter rename
- Legacy-Id: 3432
2011-09-20 06:39:56 +00:00
Ole Laursen 2682e49076 Use default rather than auto_add_now to fix problem with creating
persons with the id set
 - Legacy-Id: 3429
2011-09-16 16:11:48 +00:00
Ole Laursen 97a6e67490 Remove accidentally committed debug
- Legacy-Id: 3428
2011-09-16 15:15:37 +00:00
Ole Laursen 6d400d6f87 Fix missing role.email -> role.person query
- Legacy-Id: 3427
2011-09-16 15:10:16 +00:00
Ole Laursen 022bc51e23 Move unaccent helpers
- Legacy-Id: 3426
2011-09-16 11:32:33 +00:00
Ole Laursen 8652f287a1 Import full names when importing persons, not just first and last names
- Legacy-Id: 3425
2011-09-16 11:27:38 +00:00
Ole Laursen 9613186f9f Move name parsing to separate file
- Legacy-Id: 3424
2011-09-16 11:25:51 +00:00
Ole Laursen 12b80240ae Fix possible UTF-8 print bug
- Legacy-Id: 3423
2011-09-16 10:09:53 +00:00
Ole Laursen 069b444d73 Another UTF-8 print Python bug fix (kindly provided by Ryan Cross)
- Legacy-Id: 3422
2011-09-16 09:57:36 +00:00
Martin Qvist f025993f50 Bug fixes, changes based on feedback from RjS. Abandon, recharter and initial charter views. Forward snapshots for abandoned efforts.
- Legacy-Id: 3421
2011-09-15 12:28:08 +00:00
Ole Laursen 5c5d534104 Add person foreign key on Role to link the role and person directly instead of through Email, this will allow us to use non-personal emails on roles
- Legacy-Id: 3418
2011-09-14 14:01:17 +00:00
Martin Qvist 97fd349bc4 Fixed bug in import-roles.py
- Legacy-Id: 3413
2011-09-05 12:51:33 +00:00
Martin Qvist ebafa58c21 Made diffing work locally
- Legacy-Id: 3412
2011-09-05 11:50:12 +00:00
Martin Qvist 743150dcfa New state descriptions
- Legacy-Id: 3410
2011-09-05 11:39:47 +00:00
Ole Laursen 7e3b621a05 Port shepherd management, adding tests
- Legacy-Id: 3401
2011-08-30 11:33:47 +00:00
Ole Laursen d6590c4b89 Add inline display/editing of aliases
- Legacy-Id: 3400
2011-08-30 11:26:49 +00:00
Ole Laursen d4c4e5ee6f Add default ordering to intended standard level names
- Legacy-Id: 3399
2011-08-30 10:54:40 +00:00
Ole Laursen f8300c8ad1 Import document shepherds
- Legacy-Id: 3394
2011-08-29 14:25:30 +00:00
Ole Laursen d6c01d7a48 Port one branch of delegate adding and add test for it
- Legacy-Id: 3388
2011-08-26 18:40:36 +00:00
Ole Laursen c0fc54dcb3 Move proxy utility from liaison to proxy_utils
- Legacy-Id: 3387
2011-08-26 18:33:40 +00:00
Ole Laursen 646e8b8615 Port WG Delegate deletion with new test
- Legacy-Id: 3383
2011-08-26 17:37:44 +00:00
Ole Laursen 7e8667ae92 Import WG delegates
- Legacy-Id: 3377
2011-08-25 18:21:38 +00:00
Ole Laursen 0eab6b6fec Catch liaisons with purpose set to 0 too (some new ones apparently got that)
- Legacy-Id: 3376
2011-08-25 16:05:58 +00:00
Ole Laursen 3ea58384bd Remove "auth" field which is currently not used
- Legacy-Id: 3375
2011-08-25 12:39:27 +00:00
Ole Laursen 7a7313f4e5 Add import-liaison.py to scripts to be run
- Legacy-Id: 3371
2011-08-25 11:12:43 +00:00
Ole Laursen f11b558d00 Refactor slightly to get rid of clunky "ex-ad" role, any future uses
should use GroupHistory/RoleHistory instead
 - Legacy-Id: 3370
2011-08-24 20:49:30 +00:00
Ole Laursen 1517c3d03b Import users/persons from LegacyLiaisonUser and LegacyWgPassword
- Legacy-Id: 3367
2011-08-24 16:43:42 +00:00
Ole Laursen 44b96ddc90 Fix up group names so it looks a bit neater in admin
- Legacy-Id: 3366
2011-08-24 16:41:14 +00:00
Ole Laursen d72b312183 Add roles column to group admin with links to persons
- Legacy-Id: 3364
2011-08-24 15:53:03 +00:00
Martin Qvist 533cbe9eeb Fixed some bugs that occur when you change the acronym of a WG
- Legacy-Id: 3361
2011-08-24 13:05:40 +00:00
Martin Qvist ecac9c2e11 Final corrections and coord with Ole. Fixed agenda package, template cleanup, more tests and a couple of bugs.
- Legacy-Id: 3360
2011-08-24 08:42:51 +00:00
Ole Laursen 1cc908f137 Port send SDO reminder admin page to new schema
- Legacy-Id: 3359
2011-08-23 18:34:58 +00:00
Martin Qvist 2ed5c356d4 Disabled changing of acronym, charter lookup by DocAlias, changes to group proxy model so it gets the correct charter
- Legacy-Id: 3355
2011-08-23 13:15:16 +00:00
Ole Laursen b26399837d Try harder to get a modified date, fix bug with SDO importing from new data
- Legacy-Id: 3353
2011-08-23 11:46:59 +00:00
Ole Laursen b9e1753ef6 Port and proxy liaison views to new schema and add a bunch of tests
- Legacy-Id: 3350
2011-08-22 23:15:35 +00:00
Martin Qvist b73c5358e7 Added corrections and tests as discussed with Ole.
- Legacy-Id: 3349
2011-08-22 19:54:25 +00:00
Ole Laursen 2bf8e0a45d Move fixture generation for names to name app, add liaison edit test,
fix some liaison bugs
 - Legacy-Id: 3347
2011-08-22 12:37:56 +00:00
Ole Laursen 91ced5c24a Fix some problems with liaison importer and related models, add a
test, port account management and related utilities, fix up proxy and
port most of the views and form code
 - Legacy-Id: 3345
2011-08-19 21:11:49 +00:00
Ole Laursen 24488a957b Add import-meetings.py
- Legacy-Id: 3343
2011-08-19 10:11:41 +00:00
Ole Laursen ba8119fe1b Add script for running all the import scripts
- Legacy-Id: 3342
2011-08-19 10:05:06 +00:00
Martin Qvist 0a34a909c0 Final version of charter tool in a new branch
- Legacy-Id: 3341
2011-08-19 03:44:06 +00:00
Ole Laursen f87a378d5f Fix old bug from event class being renamed
- Legacy-Id: 3328
2011-08-18 18:01:38 +00:00
Ole Laursen b7b813e698 Encode output SDO-related names to guard against Python's annoying
ascii conversion behaviour
 - Legacy-Id: 3327
2011-08-18 17:45:12 +00:00
Ole Laursen f14ed2e4f6 Make importer more robust, fixing problem with person appearing multiple times
- Legacy-Id: 3326
2011-08-18 17:42:22 +00:00
Ole Laursen 4182f7f16a Create RSOC group too, no information about it in the database but we
need it for RSOC chair role
 - Legacy-Id: 3325
2011-08-18 17:36:05 +00:00
Ole Laursen 4a36338031 Add proxy for LiaisonDetail, start porting the view code utils, import various liaison roles and rename a couple of fields on LiaisonStatement to try to make them more self-explanatory
- Legacy-Id: 3321
2011-08-17 17:44:40 +00:00