Jennifer Richards
17d37723f7
Consolidate repeated searchable field code into SearchableField class. Fix single-valued searchable fields. Make javascript test config reusable. Use Django Form.media for JS/CSS inclusion. Fixes #3196 , #3204 . Commit ready for merge.
...
- Legacy-Id: 18939
2021-04-09 15:18:11 +00:00
Jennifer Richards
e11583a87f
Allow assignment of Person as "action holder" for a Doc, plus rudimentary automation of assignment. Fixes #3146 . Commit ready for merge.
...
- Legacy-Id: 18829
2021-02-12 20:31:00 +00:00
Henrik Levkowetz
726fcbf27d
Removed all __future__ imports.
...
- Legacy-Id: 17391
2020-03-05 23:53:42 +00:00
Henrik Levkowetz
ab173cb2eb
Removed further six usage: six.string_types, six.integer_types, six.moves.urllib instances.
...
- Legacy-Id: 17390
2020-03-05 20:46:58 +00:00
Henrik Levkowetz
e9a37d8ac8
Removed six.text_type(), changed six.moves.urllib to plain urllib, and removed now unused six imports.
...
- Legacy-Id: 17385
2020-03-05 14:41:41 +00:00
Henrik Levkowetz
e03784132d
Merged changes from current trunk to Py3 branch.
...
- Legacy-Id: 16468
2019-07-16 15:36:16 +00:00
Henrik Levkowetz
bdc73e771a
Python2/3 compatibility: replaced six.ensure_text() with either six.text_type or django's force_text(), depending on the case, and fixed a variable scope issue.
...
- Legacy-Id: 16461
2019-07-16 13:20:05 +00:00
Henrik Levkowetz
8c6eb3a30a
Python2/3 compatibility: Changed the use of open() and StringIO to io.open() etc.
...
- Legacy-Id: 16458
2019-07-15 19:14:04 +00:00
Henrik Levkowetz
edc1da3023
Added a validation step for SearchablePersonField, to avoid later server 500 errors on bad input.
...
- Legacy-Id: 16433
2019-07-08 18:14:05 +00:00
Henrik Levkowetz
f481f5c3e6
Replaced use of six with the equivalent pure python3 constructs.
...
- Legacy-Id: 16428
2019-07-08 10:43:47 +00:00
Henrik Levkowetz
d7f5c84182
Initial 2to3 patch with added copyright statement updates.
...
- Legacy-Id: 16309
2019-06-27 14:40:54 +00:00
Henrik Levkowetz
4803be0c03
Return a person search string instead of bombing out if there are multiple identical names where one don't have an active email address.
...
- Legacy-Id: 13245
2017-04-19 14:05:43 +00:00
Lars Eggert
8a70e9773d
Fix various "RemovedInDjango20Warning" warnings. Commit ready for merge.
...
- Legacy-Id: 13112
2017-03-25 19:16:45 +00:00
Henrik Levkowetz
8930d29a8e
Merged in Django-1.10 upgrade work from ^/personal/henrik/6.43.1-django-1.10
...
- Legacy-Id: 12881
2017-02-19 18:18:00 +00:00
Henrik Levkowetz
cf4a4b02a7
Reworked the email address handling in order to be able to support non-ascii names as part of email address fields. Reworked the generation of user names in the test suite to generate names from multiple non-ascii locales. Fixes issue #2080 .
...
- Legacy-Id: 12872
2017-02-18 21:50:18 +00:00
Henrik Levkowetz
aa5e61d958
Updated all urlpatterns to use ietf.utils.urls.url() instead of django's,
...
in order to autogenerate dotted path url pattern names. Updated a number
of url reverses to use dotted path, and removed explicit url pattern names
as needed.
Changed some imports to prevent import of ietf.urls before django
initialization was complete.
Changed 3 cases of form classes being curried to functions; django 1.10
didn't accept that.
Started converting old-style middleware classes to new-style middleware
functions (incomplete).
Tweaked a nomcom decorator to preserve function names and attributes, like
a good decorator should.
Replaced the removed django templatetag 'removetags' with our own version
which uses bleach, and does sanitizing in addition to removing explicitly
mentionied html tags.
Rewrote the filename argument handling in a management command which had
broken with the upgrade.
- Legacy-Id: 12818
2017-02-11 14:43:01 +00:00
Ole Laursen
958ba5ba95
Make new branch from trunk and merge in review-tracker-r11921
...
- Legacy-Id: 12129
2016-10-13 16:38:47 +00:00
Henrik Levkowetz
236fb3e185
Make it possible to merge nominations with inactive email addresses in the Nominee Merge form.
...
- Legacy-Id: 12091
2016-10-05 17:03:31 +00:00
Ole Laursen
6da25e6bd9
Add personal review overview page for reviewers, add page for editing
...
reviewer availability settings, emailing the reviewer/secretary as
necessary, add tests for these pages. Fix a bunch of bugs.
- Legacy-Id: 11998
2016-09-19 16:05:32 +00:00
Ole Laursen
e2e66522c7
Add review request page for review teams and first draft of manage
...
review requests page.
Add importer for importing review data from the existing Perl tool
(WIP, gets most but not all of the interesting information out).
Fix various bugs.
- Legacy-Id: 11508
2016-07-01 16:06:16 +00:00
Robert Sparks
dc5ae398f2
Improved SearchablePersonField to show the primary email address for any search results where a name appears more than once.
...
Simplified the edit nominee form.
Replaced the merge nominee form with a request to the secretariat to merge Person records. Fixes #1847 .
Added merging nominees to the secretariat's person merging script.
Restructured the person merging script to make it testable.
Updated some tests to match changes to the mailtriggers that hadn't made it to the fixtures.
- Legacy-Id: 10625
2015-12-22 21:42:55 +00:00
Henrik Levkowetz
d0f05cf924
Addressed another bug related to using SearchablePersonsField to choose Person objects, rather than Email objects. If one uses this for Person objects, then object.address isn't going to be terribly useful in the form ,,:-). Addresses issue #1684 , #1685 and #1686 .
...
- Legacy-Id: 9530
2015-04-21 15:51:26 +00:00
Ole Laursen
eccd8d27c4
Make new branch from trunk (r9007) and merge facelift-r8876 into it, fixing a few merge conflicts
...
- Legacy-Id: 9014
2015-02-06 14:08:34 +00:00
Robert Sparks
fd9649abf2
Don't add the group's ad to the list of people who need to be at a meeting if the group doesn't have an ad. Protects the field formatter from occurances of None in passed in lists. Patch applied to production. Commit ready for merge.
...
- Legacy-Id: 8848
2015-01-07 21:24:42 +00:00
Ole Laursen
cebc979282
Summary: Resolve person/email/document multiselect issue by importing
...
select2 and switching the widgets over to using that. Port the
milestones editing page to Bootstrap.
- Legacy-Id: 8713
2014-11-25 16:47:48 +00:00
Ole Laursen
41cb195f52
Rebase /personal/lars/5.6.4-facelift/ on trunk
...
- Legacy-Id: 8520
2014-10-30 14:31:07 +00:00
Ole Laursen
1aafd73ec1
Make the meeting session request tool use a Person field rather than
...
one operating on Email, also fix a couple of bugs in the Person branch
of the tokenized autocompleting field
- Legacy-Id: 8283
2014-08-19 08:18:17 +00:00
Ole Laursen
92e5694ed3
Revamp the AutocompletedEmailsField API a bit to allow for an AutocompletedPersonsField
...
- Legacy-Id: 8282
2014-08-18 13:55:43 +00:00
Ole Laursen
7b36280070
Rename EmailsField to AutocompletedEmailsField and add a singular
...
AutocompletedEmailField that cleans to a single Email to make it
easier to use with ModelForms
- Legacy-Id: 8280
2014-08-18 11:50:04 +00:00
Ole Laursen
5703dc3bc6
Remove unused import
...
- Legacy-Id: 8279
2014-08-17 16:10:36 +00:00
Ole Laursen
a5e1586433
Add option (default set to true) to EmailsField to require that the
...
email addresses have associated Datatracker accounts - this takes
effect immediately for the JS auto-complete thing, but the actual
validation afterwards doesn't actually require it yet (check commented
out for the time being), as it appears there are still a few people
without accounts in active groups
- Legacy-Id: 8277
2014-08-17 15:39:22 +00:00
Ole Laursen
9850290adb
A little bit of cleanup, don't allow selecting email addresses without
...
associated persons in the EmailsField
- Legacy-Id: 8274
2014-08-17 10:08:11 +00:00
Ole Laursen
a1a13323d2
Use hint text instead of Django help text for providing the help for
...
EmailsField and clarify the text displayed when the input is invalid
so it's hopefully more clear what happens
- Legacy-Id: 8272
2014-08-17 09:02:21 +00:00
Ole Laursen
691befb126
Actually validate the EmailsField input entries and return an error in
...
case of unknown addresses instead of just taking the known ones
- Legacy-Id: 8270
2014-08-15 12:50:03 +00:00
Ole Laursen
9e9ec98206
Moved EmailsField from person.forms to person.fields
...
- Legacy-Id: 8269
2014-08-14 08:03:11 +00:00