Commit graph

321 commits

Author SHA1 Message Date
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
Emilio A. Sánchez López e9588d7331 Liaison managers can not send incoming liaison statements. They only have the 'Post only' option. Fixes #363
- Legacy-Id: 2478
2010-08-13 12:42:35 +00:00
Emilio A. Sánchez López 915c93cf3e Notify by email of newly created liaisons that need approval. Fixes #361
- Legacy-Id: 2476
2010-08-13 08:09:21 +00:00
Emilio A. Sánchez López bfaf558e8d Liaison edit view. See #362
- Legacy-Id: 2475
2010-08-13 07:41:09 +00:00
Emilio A. Sánchez López ed0277cdb9 Create liaison manager group.
Users in that group can send outgoing liaisons from any ietf entity.
Users in that group can send incoming liaisons from any sdo.
Fixes #356
 - Legacy-Id: 2467
2010-08-06 17:41:42 +00:00
Emilio A. Sánchez López 8e7295c996 Management of pending liaisons.
If an user can approve pending liaisons he/she have access to:
 - List of pending liaisons he/she can approve
 - Detailed view of a pending liaison with an approval button
Fixes #357
 - Legacy-Id: 2466
2010-08-06 17:01:23 +00:00
Emilio A. Sánchez López 57f1cba918 Do not send any email if option 'Post only' is used. See #342
- Legacy-Id: 2463
2010-07-30 11:25:13 +00:00
Emilio A. Sánchez López 8680c99324 Send liaison by email. See #342
- Legacy-Id: 2462
2010-07-30 11:10:01 +00:00
Emilio A. Sánchez López 7e1bf17c86 Added a new IETFMailMessage class cause default django MailMessage do not distinguish between to and cc. See #342
- Legacy-Id: 2461
2010-07-30 11:08:32 +00:00
Emilio A. Sánchez López 58988ef63e Save approval state of an outgoing liaison and do not public list the not approved ones. Fixes #353
- Legacy-Id: 2456
2010-07-29 11:48:49 +00:00
Emilio A. Sánchez López 1a2f1559c4 Check if the user needs to approval to send a liaison on behalf of an entity.
Ajax queries merged into one.
See #353
 - Legacy-Id: 2445
2010-07-28 13:01:14 +00:00
Emilio A. Sánchez López 84f30b6af9 Added approval field. See #353
- Legacy-Id: 2430
2010-07-27 11:54:56 +00:00
Emilio A. Sánchez López a64e448842 Manage 'other sdo' option when sending outgoing liaisons. Fixes #343
- Legacy-Id: 2429
2010-07-27 08:45:05 +00:00
Emilio A. Sánchez López 709181c978 Outgoing liaison form with automatic filled fields. See #343
- Legacy-Id: 2428
2010-07-27 08:08:11 +00:00
Emilio A. Sánchez López fbbf182329 Set link to new liaison management form. See #342
- Legacy-Id: 2378
2010-07-23 10:48:10 +00:00
Emilio A. Sánchez López eec8de1efe Save from of incoming liaisons. Manage CCs depending of sending entity. Fixes #345
- Legacy-Id: 2377
2010-07-23 10:04:13 +00:00
Emilio A. Sánchez López 61a512dcaa Unambiguos from body. See #342
- Legacy-Id: 2376
2010-07-23 10:01:48 +00:00
Emilio A. Sánchez López 6400bd7f69 Command to request SDO Authorized Individual list to be updated. Fixes #352
- Legacy-Id: 2375
2010-07-23 08:13:55 +00:00
Emilio A. Sánchez López ab8cbbb835 Save liaison and attachments. See #342
- Legacy-Id: 2374
2010-07-22 12:00:50 +00:00
Emilio A. Sánchez López a2cbb76acd Date picker and file attachments. See #342
- Legacy-Id: 2373
2010-07-22 08:13:48 +00:00
Henrik Levkowetz 266b7820d0 Merged from log:branch/2.00@2363: Current release branch head to trunk.
- Legacy-Id: 2365
2010-07-21 12:48:05 +00:00
Emilio A. Sánchez López 547aee861a Change purpose options when purpose changes. See #342
- Legacy-Id: 2362
2010-07-20 17:34:58 +00:00
Emilio A. Sánchez López 251b161eac CC SDO manager if not submitter. Order organization list. See #345
- Legacy-Id: 2350
2010-07-20 12:19:22 +00:00
Emilio A. Sánchez López 0cf3a7f33b Update automatically POC and CC fields for incoming liaison. See #345
- Legacy-Id: 2349
2010-07-20 11:06:20 +00:00
Emilio A. Sánchez López 9084150f53 Get SDOs the user can send liaison on behalf of. See #345
- Legacy-Id: 2335
2010-07-16 08:33:06 +00:00
Emilio A. Sánchez López 9923b59d2e Send liaison form skel. See #342
- Legacy-Id: 2334
2010-07-16 08:24:18 +00:00
Emilio A. Sánchez López 8ef3b7d935 South migration to add the new sdoauthorizedindividual table. Fixes #344
- Legacy-Id: 2333
2010-07-14 08:12:31 +00:00
Emilio A. Sánchez López 070773a2f3 SDO, SDO Liaison Manager and SDO Authorized Individual administration. See #344
- Legacy-Id: 2332
2010-07-14 08:10:25 +00:00
Emilio A. Sánchez López 95afaeb5e4 Accounts authorized to sumbit liaison statements. See #343
- Legacy-Id: 2331
2010-07-08 09:23:43 +00:00
Pasi Eronen 0116d2aa4d Minor admin site tweaks
- Legacy-Id: 2081
2010-03-20 16:29:01 +00:00
Pasi Eronen d07c05976f Fixed bunch of null/unique attributes for model fields
- Legacy-Id: 2063
2010-03-11 18:43:01 +00:00
Pasi Eronen db090de329 Removed old Django 0.96 Admin classes
- Legacy-Id: 2054
2010-03-09 07:37:46 +00:00
Henrik Levkowetz a539f652df Add back in rudimentary Django Admin support which was lost in the 0.96 -> 1.1 transition.
- Legacy-Id: 2023
2010-03-01 11:34:44 +00:00
Pasi Eronen 0de840c601 Run convert-096.py
- Legacy-Id: 1851
2009-11-09 09:11:44 +00:00
Pasi Eronen 514cfb6b38 Added more test cases for liaisons feeds
- Legacy-Id: 1841
2009-11-08 05:04:22 +00:00
Pasi Eronen e6fcd9f5c6 Added feed/sitemap canonicalization to test cases; added wgdescription instructions to test case
- Legacy-Id: 1833
2009-11-08 01:26:26 +00:00
Pasi Eronen 4077ea88ab Refactored testing code
- Legacy-Id: 1724
2009-10-14 18:33:26 +00:00
Pasi Eronen 94453ee0f3 Fixed bug in liaisons feed (item_pubdate has to return a datetime, not date -- fails badly in Django 1.0)
- Legacy-Id: 1645
2009-08-13 19:32:52 +00:00
Pasi Eronen 42bcdd67fd Don't throw exception for URL /feed/liaison/
- Legacy-Id: 1639
2009-08-13 16:40:44 +00:00
Pasi Eronen 8e85a27452 Replaced /liaison/managers/ with direct to static page on www.ietf.org
- Legacy-Id: 1638
2009-08-13 16:03:41 +00:00
Pasi Eronen 9b64a11dfc Further improvements in test coverage (*/testurl.list)
- Legacy-Id: 1637
2009-08-10 20:03:39 +00:00
Pasi Eronen b2bc0c790d Improve test coverage (uncomment/add URLs to */testurl.list)
- Legacy-Id: 1635
2009-08-07 12:43:35 +00:00
Pasi Eronen 60d0b1c4a4 Commented out all testurl.list lines (will add some back later)
- Legacy-Id: 1624
2009-08-05 19:48:11 +00:00
Henrik Levkowetz 0458c69c8f Adding IETF Trust copyright to source files missing it.
- Legacy-Id: 1064
2008-03-04 18:47:46 +00:00
Bill Fenner 2671982d79 Remove Q debugging code.
Add author to each item.

Don't HTML-escape the title; atom titles are plain text.
 - Legacy-Id: 916
2007-08-01 17:32:31 +00:00
Bill Fenner 16e1fa7530 Add "to" and "subject" fuzzy searches.
- Legacy-Id: 915
2007-08-01 16:23:20 +00:00
Bill Fenner 9d119f2989 The syntax for feeds from bodies is now /feed/liaison/from/body-name/
where body-name is lowercased and has non-word characters replaced by
hyphens.  This is accomplished with a 'like' query using an extra()
statement, making this bit of code mysql-specific.
 - Legacy-Id: 912
2007-07-31 15:19:59 +00:00
Bill Fenner 610f685309 Comment out the liaison feeds until we figure out the utf-8 issue.
- Legacy-Id: 911
2007-07-31 15:08:54 +00:00
Bill Fenner 133d407761 Add get_absolute_url to LiaisonDetail for feed
- Legacy-Id: 905
2007-07-30 20:16:37 +00:00
Bill Fenner 2b5cccf352 Add some test feed urls.
- Legacy-Id: 904
2007-07-30 19:58:40 +00:00
Bill Fenner f0b8e49ed5 Add two liaisons feeds:
* /feed/liaison/recent/ = last 15 liaisons
 * /feed/liaison/from/`from`/ = all liaisons from `from`, which is either an IETF wg acronym (all lowercase) or a FromBodies body_name (e.g., MFA%20Forum)
 - Legacy-Id: 903
2007-07-30 18:11:50 +00:00
Bill Fenner f784bb02ad Create individual sitemaps for idtracker, drafts, nomcom-announcements,
iesg minutes, ipr and liaisons.

Omitting some class of data from the sitemap will not prevent it from
being indexed, so forgetting something from this list is not critical.
 - Legacy-Id: 861
2007-07-09 02:32:39 +00:00
Henrik Levkowetz fa77ac30d5 Merged r840 from branch/2.00 to trunk, and updated version information in ietf/__init__.py
- Legacy-Id: 841
2007-07-04 21:17:57 +00:00
Henrik Levkowetz d6f28962ff Fix for #182.
* Added pass-through of non-string values for parse_email_list()
   and make_one_per_line().
 * Added doctests for the filter changes
 * Added testurl for the failing /liaison/337/
 - Legacy-Id: 787
2007-06-30 09:15:55 +00:00
Henrik Levkowetz cd030d3b43 Adding copyright notices to all python files
- Legacy-Id: 716
2007-06-27 21:16:34 +00:00
Bill Fenner 8d6b0bae97 Moves:
* announcements -> ann
 * liaisons -> liaison
 * idindex -> drafts
 * mailinglists -> list

I checked the tests and used a link checker locally, so hopefully
the fallout will be minimal.
 - Legacy-Id: 657
2007-06-26 18:29:55 +00:00
Bill Fenner 61fffa12de Catch up with long-ago "areas"->"area" rename.
- Legacy-Id: 473
2007-06-17 13:43:49 +00:00
Henrik Levkowetz e40af4343f More test URLs
- Legacy-Id: 467
2007-06-17 10:03:59 +00:00
Bill Fenner 451b2039d4 Add some liaison test urls.
- Legacy-Id: 407
2007-06-15 16:15:17 +00:00
Henrik Levkowetz 3b72993903 Fixing open-ended URL spec's for liaison app.
- Legacy-Id: 353
2007-06-12 23:00:23 +00:00
Henrik Levkowetz 24400ff103 Adding handler404 and handler 500 in the right place ,;-)
- Legacy-Id: 241
2007-06-05 18:18:40 +00:00
Henrik Levkowetz 1523f859af Adding 'handler404, hadler500' to apps needing them
- Legacy-Id: 239
2007-06-05 17:54:43 +00:00
Henrik Levkowetz 03c18bd33d Fixing a bunch of nits pyflakes were complaining about, in order to get a clean run. There are still at least 2 cases of using undefined values which needs scrutiny.
- Legacy-Id: 235
2007-06-05 16:58:58 +00:00
Henrik Levkowetz 5872696834 Moving ietf to trunk/ietf
[[Split portion of a mixed commit.]]
 - Legacy-Id: 96.1
2007-05-04 12:37:28 +00:00