Commit graph

69 commits

Author SHA1 Message Date
Lars Eggert 8a70e9773d Fix various "RemovedInDjango20Warning" warnings. Commit ready for merge.
- Legacy-Id: 13112
2017-03-25 19:16:45 +00:00
Henrik Levkowetz 7b95411f58 The context_instance parameter to render_to_response() and render_to_string() is now deprecated. Fixed this, and generally changed the idiom render_to_response('template.html', {}, RequestContext(request)) to the newer and simpler render(request, 'template.html', {}). About 200 instances.
- Legacy-Id: 12637
2017-01-09 21:26:30 +00:00
Henrik Levkowetz aec77c2385 Rewrote Document.href() to not do database queries when possible, as that has a big performance impact. Fixed a number of tests which relied on href() not doing the right thing for simplified test data. Added caching of canonical_name(), which can be quite heavy. Additional refactoring in a number of places, to use better test data and avoid test failures for good code :-)
- Legacy-Id: 12226
2016-10-28 16:59:42 +00:00
Henrik Levkowetz 4b0a9360f0 Merged in ^/branch/iola/event-saving-refactor-r10291, which refactors document saving to always use doc.save_with_history(events), and requires accompanying events. This branch also provides refactoring of recurring regexes in url patterns into a dictionary. As part of the merge, also refactored new code which didn't use the save_with_history() method.
- Legacy-Id: 11840
2016-08-23 10:52:08 +00:00
Henrik Levkowetz 6ab5365296 Merged in^/personal/rcross/v6.7.3.dev0@10465, which included [10382],[10464],[10465], introducing a number of usability fixes to the liaison tool, including a new tab for action needed statements and the ability to add comments to liaison statements' history.
- Legacy-Id: 10506
Note: SVN reference [10382] has been migrated to Git commit b7bbfd8312

Note: SVN reference [10464] has been migrated to Git commit 1ea5dcf907

Note: SVN reference [10465] has been migrated to Git commit eed28dbb49
2015-11-19 19:53:12 +00:00
Ryan Cross 1ea5dcf907 Liaison changes from IETF 94 demo. Includes tab for Action Needed statements and ability to add comments to history. Commit ready for merge
- Legacy-Id: 10464
2015-11-12 00:26:52 +00:00
Ryan Cross b7bbfd8312 Various small bug fixes and tweaks to UI of Liaison Management Tool. Commit ready for merge
- Legacy-Id: 10382
2015-11-03 07:52:05 +00:00
Henrik Levkowetz 5f2773fd8f Fixed a unicode issue with rendering of contact names.
- Legacy-Id: 10381
2015-11-03 07:06:37 +00:00
Ole Laursen fe0d35a170 Add FIXME about POST, remove some unnecessary is_authenticated calls
from liaisons
 - Legacy-Id: 10332
2015-10-30 09:51:26 +00:00
Ole Laursen 86c3a430d1 Merge in ^/branch/iola/event-saving-refactor-r10076, fixing a few problems
- Legacy-Id: 10298
2015-10-27 10:37:06 +00:00
Henrik Levkowetz a7667fb29e Merged in branch/amsl/liaisons/6.4.1@10160 from rcross@amsl.com, bringing in the new liaison tool.
- Legacy-Id: 10161
2015-10-09 19:48:21 +00:00
Ole Laursen 40308d429b Summary: Make sure liaison edit page is using full URL to attachments
to not confuse the crawler, and make all liaison pages use the setting
from settings instead of hardcoding it
 - Legacy-Id: 10125
2015-10-02 12:15:57 +00:00
Ryan Cross fca04d97e5 Fixes issue where authorized individual unable to add incoming liaison. Fixes problem with incoming liaison form requiring deadline date for information only statements. Commit ready for merge.
- Legacy-Id: 9595
2015-05-01 18:11:00 +00:00
Ole Laursen 373644edf4 Port liaison submission/editing to Bootstrap, revamp the select related widget to use select2 rather than the longish popup table
- Legacy-Id: 8738
2014-12-12 17:59:57 +00:00
Emilio A. Sánchez López 0ccbe9144f Allow multiple related liaisons. Close #739
- Legacy-Id: 8103
2014-07-18 16:15:16 +00:00
Emilio A. Sánchez López abb74d9977 Search form for liaison statement list. See #1434
- Legacy-Id: 8049
2014-07-04 09:45:13 +00:00
Henrik Levkowetz 12f6a55dbd Made ietf/liaisons pyflakes-clean, which also fixed several places the code would crash. The IRTF chair can never have been able to use the liaison tool without getting a server 500 ...
- Legacy-Id: 7471
2014-03-15 18:10:35 +00:00
Ole Laursen a656cf8a8b Add .prefetch_related on liaison list page to reduce the number of DB
queries (from 571 to 28)
 - Legacy-Id: 6991
2013-12-18 16:30:18 +00:00
Ole Laursen d66ac15fc2 Rewrite a bunch of HttpResponseRedirect + url reverse calls to instead
take advantage of the redirect shortcut (introduced in Django 1.1)
 - Legacy-Id: 6960
2013-12-17 10:23:42 +00:00
Ole Laursen 84a9f49053 mimetype -> content_type (mimetype is deprecated)
- Legacy-Id: 6945
2013-12-16 16:53:47 +00:00
Ole Laursen 6a98fec2c3 Use built-in json module in Python instead of simplejson bundled with Django
- Legacy-Id: 6883
2013-12-11 16:59:19 +00:00
Ole Laursen 119d76ae26 Get rid of unused import of old generic view
- Legacy-Id: 6881
2013-12-11 16:44:34 +00:00
Ole Laursen 449436744e Hide unapproved related liaison statement unless during approval it to prevent dead link
- Legacy-Id: 6839
2013-12-07 13:39:56 +00:00
Ole Laursen 54464e6db2 Only show related approved liaisons (dead link found by test crawler)
- Legacy-Id: 6824
2013-12-06 18:44:01 +00:00
Ole Laursen 4250a95556 Remove proxy layer from liaisons tool, do some minor cleanups of
duplicated code, make sure the custom form widgets escape their input.

There's still a bit of custom proxying going on in the IETFHM class
hierarchy.
 - Legacy-Id: 6794
2013-12-05 13:54:48 +00:00
Russ Housley f55195e3d6 Send email to statements@ietf.org when a pending liaison statement gets queued.
- Legacy-Id: 5511
2013-03-09 16:49:38 +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
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
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 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 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
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
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 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
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
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 895b8950eb Add sorting to liaison list view. Fixes #383
- Legacy-Id: 2543
2010-10-07 11:31:55 +00:00