Commit graph

213 commits

Author SHA1 Message Date
Henrik Levkowetz 327ae948b1 Merged [4866] from rjsparks@nostrum.com:
Show link to pending liaison statements to approve to the secretariat.
This fixes bug #878
 - Legacy-Id: 4943
Note: SVN reference [4866] has been migrated to Git commit d1c27fe57a
2012-10-21 18:00:51 +00:00
Henrik Levkowetz d342eee77f Fixed missing import of Role.
- Legacy-Id: 4891
2012-10-04 12:17:06 +00:00
Robert Sparks d1c27fe57a Show link to pending liaison statements to approve to the secretariat.
This fixes bug #878
 - Legacy-Id: 4866
2012-09-19 22:22:58 +00:00
Henrik Levkowetz c90a26ca50 Merged [4772] from rjsparks@nostrum.com:
Liasion Manager:
* Patch from Yaco to avoid resetting the From field when changing other items on the form
* Gave the secretariat the ability to find/approve any unapproved liaisons
* Changed all the email code to use ietf.mail.utils (and removed the fake-mail concept)

Charter documents and the Agenda pages:
* Added charter documents to iesg/agenda and iesg/agenda/documents
* Synced the ordering of drafts on iesg/agenda and iesg/agenda/documents
* Allow setting a responsible AD for charter documents
* Changed the UI of the charter page to use editlink for changing attributes and buttons for actions (to align with drafts and conflict-reviews)

Moderator package:
* Refactor: Simplified access to the current BallotDocEvent from a Document
* Added functions to BallotDocEvents? to faciliate access to BallotPositionDocEvents?, both for all positions, and current AD postions.
* Updated the moderator package to use the Documents from _agenda_data.
* Added a filter to assist with rendering the moderator package.
* Fixed a bug where different functions in idrfc/views_ballot were using log_state_changed expecting different implementations (a cleanup task should reconcile the _three_ implementations in the codebase of that function).

Cleanup from codesprint:
* Removed some duplication between doc/util and doc/models by moving things into doc/models
* Do not show non-empty discuss text when the ballot position is not blocking
* Added a migration to update non-blocking ballot positions that have non-empty discuss text


DEPLOYMENT NOTES
Please be aware that migration step will take a few minutes to complete.

Fixes bug 865
 - Legacy-Id: 4780
Note: SVN reference [4772] has been migrated to Git commit e5c3a5adc5
2012-08-22 12:34:55 +00:00
Henrik Levkowetz d4e8a98346 Merged [4737] from adam@nostrum.com:
Fixed profile update page to keep Alias table up to date. Also, roles for inactive groups are no longer displayed on the profile page.
 - Legacy-Id: 4776
Note: SVN reference [4737] has been migrated to Git commit 6d87558b06
2012-08-22 10:01:52 +00:00
Robert Sparks fb59abd70d Missed this import
- Legacy-Id: 4762
2012-08-14 21:50:48 +00:00
Robert Sparks 1d7883fc01 Patch from yaco to avoid resetting from field. Gave the secretarait the ability to approve any unapproved liaison. Changed all the email code to use ietf.utils.mail
- Legacy-Id: 4761
2012-08-14 21:37:59 +00:00
Henrik Levkowetz 25210ac328 The call to liaison_manager_sdos() in set_organization_field was missing a Person parameter -- add it.
- Legacy-Id: 4739
2012-07-31 22:24:22 +00:00
Henrik Levkowetz 76594a4c4d Added support for IRTF liaisons.
- Legacy-Id: 4625
2012-07-20 11:36:01 +00:00
Henrik Levkowetz d09d9deba5 Patch from esanchez@yaco.es to add a new IETF liaison-sending entity 'IESG and IAB'.
- Legacy-Id: 4537
2012-06-27 20:20:23 +00:00
Ole Laursen 9f880a3aab Port all still relevant changes between trunk before migration and charter branch to new trunk (mostly various minor template fixes), except 0.24 version of draft.py tool which has some interfaces changes that requires changes in the submit tool
- Legacy-Id: 4341
2012-04-30 13:36:56 +00:00
Ole Laursen bbeaa2d022 Fix bug in liaison form that prevents Secretariat users from posting
statements on behalf of SDO liaison managers in some cases.
 - Legacy-Id: 4311
2012-04-23 20:18:23 +00:00
Ole Laursen 9b4415fe51 Fix problem with direct replyto path in liaison form not using role
emails (reported by Stephanie McCammon).
 - Legacy-Id: 4310
2012-04-23 20:14:04 +00:00
Ole Laursen b418e5d141 Fix missing "return" in liaison proxy, fixes problem with from email
on https://datatracker.ietf.org/liaison/1154/ as reported by Stephanie
McCammon.
 - Legacy-Id: 4307
2012-04-23 17:52:22 +00:00
Henrik Levkowetz 8c9404e15e Guard against trying to use .is_authenticated() on a plain string. The error condition can occur when an exception has been triggered before the auth middleware has run. Related to #767 and #768.
- Legacy-Id: 4053
2012-03-07 09:59:59 +00:00
Ole Laursen dbf5e6ab84 Remove a bunch of old admin files, fix a couple of issues with the new ones, add admin for meeting
- Legacy-Id: 3995
2012-02-28 17:29:52 +00:00
Ole Laursen 980d4e6444 Move new schema models from redesign/ to ietf/
- Legacy-Id: 3855
2012-01-24 17:17:24 +00:00
Ole Laursen fc88964298 Go through the code and replace uses of Person.name with Person.plain_name()
- Legacy-Id: 3849
2012-01-23 20:22:45 +00:00
Ole Laursen e20a96333a Fix bug with attachment URLs, make the proxy slightly more future proof
- Legacy-Id: 3825
2012-01-19 13:03:59 +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 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 f74890aec4 Adjust to handle the slightly revamped email_address() on person
- Legacy-Id: 3750
2011-12-07 19:26:53 +00:00
Ole Laursen f5ae4a0496 Add warning comment
- Legacy-Id: 3709
2011-11-25 15:44:25 +00:00
Ole Laursen ce74be89ef Use the test mode in the mail code when running automated tests instead of
reinventing the wheel in test_runner
 - Legacy-Id: 3620
2011-11-15 11:24:33 +00:00
Ole Laursen 08ff44dd18 Fix bug
- Legacy-Id: 3614
2011-11-14 19:24:17 +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
Ole Laursen c0fc54dcb3 Move proxy utility from liaison to proxy_utils
- Legacy-Id: 3387
2011-08-26 18:33:40 +00:00
Ole Laursen e5968e53e7 Skip race-conditioned test assertion
- Legacy-Id: 3374
2011-08-25 12:23:50 +00:00
Ole Laursen a73051678c Allow more levy in constructing feed URLs, fixes test
- Legacy-Id: 3373
2011-08-25 12:22:14 +00:00
Ole Laursen 8f6403bf2f Add migration for new schema
- Legacy-Id: 3372
2011-08-25 11:44:27 +00:00
Ole Laursen 6556f9815b Fix potential problem with user not having a profile
- Legacy-Id: 3365
2011-08-24 16:23:43 +00:00
Ole Laursen 60a822abde Remember to check for is_authenticated() before accessing
get_profile() on user
 - Legacy-Id: 3363
2011-08-24 14:16:08 +00:00
Ole Laursen 89dd9b83ca Port liaison deadline reminder emails to new schema, with test;
refactor email to use the normal liaison email for the bulk of the
message instead of duplicating it
 - Legacy-Id: 3358
2011-08-23 14:45:09 +00:00
Ole Laursen 2aa97434fb Port SDO reminder emails to new schema, with test
- Legacy-Id: 3357
2011-08-23 14:10:53 +00:00
Ole Laursen a784794909 Proxy liaison sitemap
- Legacy-Id: 3354
2011-08-23 11:47:36 +00:00
Ole Laursen 3594f08d38 Switch liaison over to using the IETF SMTP handling instead of
built-in Django, fix a couple of bugs, make pending liaison emails use
the normal liaison email template too instead of duplicating the
content
 - Legacy-Id: 3352
2011-08-23 11:27:09 +00:00
Ole Laursen 2bbe307c05 Fix annoying duplicate entry bug in the from list for a Secretariat person
- Legacy-Id: 3351
2011-08-22 23:16:32 +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
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 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
Ole Laursen c7d58d6079 First draft of new liaison statement model, import SDOs as groups,
start on liaison statement importing
 - Legacy-Id: 3309
2011-08-12 18:16:39 +00:00
Henrik Levkowetz 413bcdabbd Set up app-specific email addresses so the respective developers will be notified about failures in code they have worked with.
- Legacy-Id: 3205
2011-07-23 12:49:56 +00:00
Henrik Levkowetz 3a2185f8e7 Merged in changes from esanchez@yaco.es, changeset [3067]. Makes Liaisons' Date field editable.
- Legacy-Id: 3118
Note: SVN reference [3067] has been migrated to Git commit ee52775458
2011-05-11 18:40:13 +00:00
Emilio A. Sánchez López ee52775458 Allow to enter the submission date when sending (or editing) liaisons. Fixes #653
- Legacy-Id: 3067
2011-04-27 11:47:55 +00:00
Henrik Levkowetz 899b737685 Merged in fix from esanchez@yaco.es to fix Liaison Cc field editability and secretariat ability to post liaisons for others.
- Legacy-Id: 3053
2011-04-18 09:40:19 +00:00
Henrik Levkowetz 5497fa4b8e Fix to permit secretariat staff to post liaisons on behalf of liaison managers, assuming the permissions of the person they post on behalf of for this purpose.
- Legacy-Id: 3046
2011-04-13 13:02:21 +00:00
Emilio A. Sánchez López 471d3952da Check permissions using the impersonated user. Fixes #648
- Legacy-Id: 3040
2011-04-11 09:32:07 +00:00
Henrik Levkowetz a52e902860 Merged in [3029] from esanchez@yaco.es. Make the Cc: field of new liaisons editable.
- Legacy-Id: 3031
Note: SVN reference [3029] has been migrated to Git commit 199e469f87
2011-04-07 14:09:10 +00:00
Henrik Levkowetz 29c7211c77 Set the 'person' field of the LegacyLiaisonUser in the admin interface to be handled as a raw id field with search button, rather than as a choice list.
- Legacy-Id: 3030
2011-04-07 14:04:07 +00:00
Emilio A. Sánchez López 199e469f87 Convert the Cc: field into an editable textarea. Fixes #647
- Legacy-Id: 3029
2011-04-07 12:01:35 +00:00
Emilio A. Sánchez López 56bd4e0ead Fix function declaration. A parameter was missing so the ajax call trying to request the cc fields fails. See #577
- Legacy-Id: 3025
2011-04-06 14:21:24 +00:00
Henrik Levkowetz 7cacd75429 Merged [2984] from lars.eggert@nokia.com:
Update jQuery to 1.5.1 and jQuery UI to 1.8.11.
 - Legacy-Id: 2986
Note: SVN reference [2984] has been migrated to Git commit c7c2a690e98e3541a810e6beb60b1469c4f78dd7
2011-03-26 18:52:52 +00:00
Henrik Levkowetz 5daa6a86c8 Fix typo.
- Legacy-Id: 2912
2011-03-24 12:36:31 +00:00
Henrik Levkowetz d3468f4ebe Add some refinements for the admin interface. Show contact link and coloured Login/User links to show broken entries.
- Legacy-Id: 2907
2011-03-24 10:05:55 +00:00
Henrik Levkowetz 3418e1045b Fix call signature.
- Legacy-Id: 2906
2011-03-24 10:03:10 +00:00
Henrik Levkowetz a6b719500e Wrap the sdo name query in a try clause to avoid server 500 errors.
- Legacy-Id: 2905
2011-03-24 10:01:56 +00:00
Henrik Levkowetz 2b50bfdcef Only try to populate the liaison user/email list from the from_entity if it's set.
- Legacy-Id: 2904
2011-03-24 09:59:53 +00:00
Emilio A. Sánchez López 78fe9ea533 Bad luck trying to retrieve the from SDO. Fixes #581
- Legacy-Id: 2810
2011-02-04 09:28:59 +00:00
Emilio A. Sánchez López a6dc8912e3 Do no try retrieve extra information if previous errors have been detected. See #581
- Legacy-Id: 2809
2011-02-04 09:27:33 +00:00
Henrik Levkowetz 07c1eea5c2 Merged in changes from esanchez@yaco.es, changesets 2790-2791. Refined handling of the To: and From: address lists when the Liaison Manager is also a WG Chair or AD.
- Legacy-Id: 2801
2011-02-02 17:31:02 +00:00
Henrik Levkowetz 63bc9cff6d Changes from esanchez@yaco.es, changesets 2783-2789. Lets the secretariat send liaisons on behalf of others, corrected powers to liaison managers, and other fixes.
- Legacy-Id: 2800
2011-02-02 16:04:42 +00:00
Henrik Levkowetz 1837b38bc8 Rename 'LiaisonDetail.taken_care' field to 'action_taken'. Miscellaneous associated fixes. Enhanced liaison-related admin pages.
- Legacy-Id: 2798
2011-02-02 15:35:21 +00:00
Emilio A. Sánchez López fb7b3d2152 Allow to filter the to field when a Liaison Manager changes de from field. Fixes #577
- Legacy-Id: 2790
2011-02-02 14:46:01 +00:00
Emilio A. Sánchez López 5684bc324d Allow the secretariat to send liaisons on behalf of another user. Fixes #578
- Legacy-Id: 2787
2011-02-01 18:56:07 +00:00
Emilio A. Sánchez López 53fae6e4c5 Hide 'send and post' button to SDO Liaison Managers when they select their SDO in the from field. Fixes #577
- Legacy-Id: 2786
2011-02-01 17:32:50 +00:00
Emilio A. Sánchez López 79785fe75b Check if the user has permission to edit a liaison. See #577
- Legacy-Id: 2785
2011-02-01 17:21:04 +00:00
Emilio A. Sánchez López 31ae2edb8f We need to store the unique id of the entity in the To field to allow that an SDO Liaison Manager should be able to edit a liaison sent to his SDO. See #577
- Legacy-Id: 2784
2011-02-01 16:55:25 +00:00
Emilio A. Sánchez López 336cf4cb84 Removed 'Liaison Manager' group dependencies.
Allow an SDO Liason Manager to send outgoing liaison from any IETF Entity to his SDO. See #577
 - Legacy-Id: 2783
2011-02-01 16:34:10 +00:00
Henrik Levkowetz d75a57d60c Fix typo in method calls to send email.
- Legacy-Id: 2778
2011-02-01 10:24:01 +00:00
Henrik Levkowetz 81f8dfc6ad Prevent things from crashing if some of the email fields are null for a liaison.
- Legacy-Id: 2762
2011-01-27 15:01:18 +00:00
Henrik Levkowetz eafcdccd3d Merged from log:branch/iesg-tracker@2571: IOLA's port of cron-scripts.
- Legacy-Id: 2578
2010-10-26 14:49:12 +00:00
Henrik Levkowetz c7d198f482 Merged from log:branch/yaco/liaison@2570: Yaco's port and rewrite of the Liaison Statement Management Tool.
- Legacy-Id: 2572
2010-10-26 12:59:53 +00:00
Emilio A. Sánchez López 637357c402 Fix Data Migrations. Fixes #389
- Legacy-Id: 2565
2010-10-20 09:37:08 +00:00
Emilio A. Sánchez López 302c48204c Added the group agronym to the "From" and "To" lists. Fixes #391
- Legacy-Id: 2564
2010-10-20 09:13:07 +00:00
Emilio A. Sánchez López d712ce2533 Do not include the current liaison when searching if a title exists. Fixes #390
- Legacy-Id: 2563
2010-10-20 09:12:31 +00:00
Emilio A. Sánchez López ed2e87ec69 Fix Data Migrations. Fixes #389
- Legacy-Id: 2555
2010-10-15 10:08:58 +00:00
Emilio A. Sánchez López c1bac8cf1a Order admin lists related whit liaisons. Fixes #388
- Legacy-Id: 2554
2010-10-15 07:33:37 +00:00
Emilio A. Sánchez López 94d3f328f8 Allow to show liaison titles correctly in unicode. See #388
- Legacy-Id: 2553
2010-10-15 07:02:06 +00:00
Emilio A. Sánchez López 5ab532bfac Rename 'Liaison Manager' models to 'SDO Liaison Manager'. See #388
- Legacy-Id: 2552
2010-10-15 07:00:34 +00:00
Emilio A. Sánchez López 03aefd16f3 Unable the "From bodies" administration. See #388
- Legacy-Id: 2551
2010-10-15 06:59:36 +00:00
Emilio A. Sánchez López cf26454bd3 Show reverse liaison reference in liaison detail. Fixes #387
- Legacy-Id: 2550
2010-10-10 20:20:30 +00:00
Emilio A. Sánchez López de3bfded23 Anorther bug fixing. Fixes #385
- Legacy-Id: 2549
2010-10-10 19:56:03 +00:00
Emilio A. Sánchez López 98d15a3e08 Fix bull calling incorrect function. Fixes #385
- Legacy-Id: 2548
2010-10-10 19:51:44 +00:00
Emilio A. Sánchez López 46d48acc01 Allow sorting liaisons when selecting a related liaison. Fixes #386
- Legacy-Id: 2546
2010-10-08 11:12:28 +00:00
Emilio A. Sánchez López 80ca4e9f18 Allow to take care of a liaison with deadline. Fixes #385
- Legacy-Id: 2545
2010-10-08 10:34:56 +00:00
Emilio A. Sánchez López 4b96b2b309 * Added a taken care field to stop deadline notifications
* Set 'out of date' liaisons as already taken care.
 * Command to notify for liaisons close to their deadlines.

Fixes #384
 - Legacy-Id: 2544
2010-10-08 08:21:48 +00:00
Emilio A. Sánchez López 895b8950eb Add sorting to liaison list view. Fixes #383
- Legacy-Id: 2543
2010-10-07 11:31:55 +00:00
Emilio A. Sánchez López a9cab1ea36 Normalize liaisondetail fields so liaisons could be sorted correctly.
* Assign a title to liaisons that have no title (Copy the title of the first attachment of set a default title)
 * Copy old "From" information to from_raw_body field

See #383
 - Legacy-Id: 2542
2010-10-07 11:31:02 +00:00
Emilio A. Sánchez López 75f1129524 Fixed migration script. Fixes #381
- Legacy-Id: 2541
2010-10-04 07:28:42 +00:00
Emilio A. Sánchez López 82f4e3f660 Drop the bad migration script. See #381
- Legacy-Id: 2540
2010-10-04 07:27:25 +00:00
Emilio A. Sánchez López 73f9fe310b Allow the user to select a referenced liaison. Fixes #381
- Legacy-Id: 2538
2010-10-01 10:17:40 +00:00
Emilio A. Sánchez López 20032758a0 Model migration to allow liaison references. See #381
- Legacy-Id: 2537
2010-10-01 10:15:16 +00:00
Emilio A. Sánchez López b94e5eb7f3 Fix a little bug. Fixes #375
- Legacy-Id: 2534
2010-09-27 08:01:37 +00:00
Emilio A. Sánchez López 5131a0b3cd Allow to send reminders from the django admin interface. Fixes #377
- Legacy-Id: 2510
2010-08-26 13:43:40 +00:00
Emilio A. Sánchez López dec12a71b8 Check for existing liaison titles. Fixes #375
- Legacy-Id: 2509
2010-08-25 08:52:38 +00:00
Emilio A. Sánchez López f78384777b Check if email addresses are valid. See #375
- Legacy-Id: 2508
2010-08-25 08:26:59 +00:00
Emilio A. Sánchez López cbde116241 Save attachments into FS. Fixes #342
- Legacy-Id: 2482
2010-08-17 12:00:20 +00:00
Emilio A. Sánchez López f581e0fb8e Fixes anonymous liaison detail view. Fixes Secretariat group name. Fixes #362
- Legacy-Id: 2481
2010-08-17 09:33:30 +00:00
Emilio A. Sánchez López 9c9f0417c2 Edition of existing liaisons. Fixes #362
- Legacy-Id: 2479
2010-08-13 13:38:29 +00:00