Henrik Levkowetz
f71e6166f3
Added a migration which changes the active bit from False to True to all email addresses associated with active drafts, and sends out notification emails about this.
...
- Legacy-Id: 9166
2015-03-08 13:21:02 +00:00
Henrik Levkowetz
7258dc6eff
Made sure that Email.__unicode__() will return a string even if address is None. Fixes an exception on deleting an email address for a Person object in the admin interface.
...
- Legacy-Id: 9159
2015-03-07 15:42:34 +00:00
Henrik Levkowetz
4dbdf475fa
Merged in [9141] from rjsparks@nostrum.com:
...
Fix ordering issue on agenda.html.
- Legacy-Id: 9150
Note: SVN reference [9141] has been migrated to Git commit 29ac6363a1
2015-03-04 19:16:21 +00:00
Henrik Levkowetz
a64961977b
Added a new field 'primary' to the Email model, added a matching migration, and a data migration to set primary fields to match the way a primary address is chosen today.
...
- Legacy-Id: 9149
2015-03-04 17:53:48 +00:00
Henrik Levkowetz
7bd647c0d6
Don't create empty Alias records. Fixes issue #1603 .
...
- Legacy-Id: 9086
2015-02-13 13:04:42 +00:00
Henrik Levkowetz
7ecfac6308
Merged in personal/henrik/django-1.7@9020 which upgrades Django from 1.6.0 to 1.7.4 and applies the needed changes to the datatracker code to work with release 1.7.x.
...
- Legacy-Id: 9028
2015-02-08 21:16:44 +00:00
Henrik Levkowetz
028b7e315a
Reverted to [9025] because commit [9026] failed (it was incomplete with a broken working dir).
...
- Legacy-Id: 9027
Note: SVN reference [9026] has been migrated to Git commit 4a3749a66b
2015-02-08 20:03:16 +00:00
Henrik Levkowetz
4a3749a66b
Merged in personal/henrik/django-1.7@9020 which upgrades Django from 1.6.0 to 1.7.4 and applies the needed changes to the datatracker code to work with release 1.7.x.
...
- Legacy-Id: 9026
2015-02-08 19:16:46 +00:00
Henrik Levkowetz
94c9ac7e91
Tweaked the person/alias duplicate test for new aliases slightly.
...
- Legacy-Id: 8894
2015-01-21 21:21:01 +00:00
Henrik Levkowetz
630a263ef7
Merged in [8870] from rjsparks@nostrum.com:
...
Inform the secretariat when a duplicate Alias.name is created that isn't already a duplicate Person.name. Improve the message that's sent when either duplicate Person or Alias names are detected.
- Legacy-Id: 8893
Note: SVN reference [8870] has been migrated to Git commit 8e1abfa833f528bccf0f61a2a767f3923255e137
2015-01-21 20:44:06 +00:00
Henrik Levkowetz
73c56ef26b
Merged in [8848] from rjsparks@nostrum.com:\n 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.
...
- Legacy-Id: 8881
Note: SVN reference [8848] has been migrated to Git commit fd9649abf2
2015-01-21 19:06:52 +00:00
Henrik Levkowetz
0db48f3db0
Merged in [8840] from rjsparks@nostrum.com:\n Automatically ensure Alias records exists when Person records are changed, relieving multiple code locations of that responsibility. Fixes bug #1550 .
...
- Legacy-Id: 8873
Note: SVN reference [8840] has been migrated to Git commit b0b3a31b10bb35eb00d29f27d75d21c3cc4edc4e
2015-01-20 22:32:01 +00:00
Henrik Levkowetz
46e2ed7dec
Merged in [8726] from rjsparks@nostrum.com:\n Send mail to the secretariat when a Person is created with the same name as some other Person objects in case its a duplicate that needs to be merged. Fixes ticket #1553 .
...
- Legacy-Id: 8869
Note: SVN reference [8726] has been migrated to Git commit f5325272f8
2015-01-15 21:10:38 +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
Henrik Levkowetz
25eb00c925
New django-1.7 initial migrations. Circular references exist, requiring explicit --fake migration for doc, dbtemplate and community apps.
...
- Legacy-Id: 8823
2014-12-22 17:07:38 +00:00
Henrik Levkowetz
dd15785936
Removing south migrations as part of the django 1.7 changeover to builtin migrations.
...
- Legacy-Id: 8820
2014-12-22 16:44:35 +00:00
Henrik Levkowetz
770b36d575
Added generated (and sometimes manually tweaked) resources.py files.
...
- Legacy-Id: 8744
2014-12-14 20:33:25 +00:00
Robert Sparks
f5325272f8
Send mail to the secretariat when a Person is created with the same name as some other Person objects in case its a duplicate that needs to be merged. Fixes ticket #1553 . Commit ready to merge.
...
- Legacy-Id: 8726
2014-12-04 03:51:48 +00:00
Henrik Levkowetz
704589b4c7
Merged in branch/iola/people-cleanup @ [8471] from olau@iola.dk, which
...
enhances a number of pages in the datatracker where forms contain fields
where a person should be chosen, such as for instance when choosing the
shepherd of a document, so that they uniformly display choices which show
both email address and name.
Furthermore, changes have been made so as to make the email address
uniformly act as reference to the person record.
Autocompletion is now consistently provided when looking for the email
address or name of the person to choose.
This solves a number of issues where it has been difficult to choose the
correct Person/Email combination, and where the correct email address to use
for an association has been unavailable previously.
- Legacy-Id: 8472
Note: SVN reference [8471] has been migrated to Git commit d62f2343e8
2014-10-25 21:05:50 +00:00
Henrik Levkowetz
8b8a282730
Merged in [8229] from rjsparks@nostrum.com, with minor tweaks:
...
From mcr@sandelman.ca:
Refactor to remove dajaxice.
Modified the URLs that address schedules:
- urls now always start with /agenda, removing the mix of /agenda and /schedule prefixes
- urls to a given schedule include the schedule owner (by email address)
Corrected issue that prevented deleting sessions.
Changed comment mechanism in timeslot_edit.js
Migration to change the email address for (System)
Fixes bug #1426
- Legacy-Id: 8319
Note: SVN reference [8229] has been migrated to Git commit fc512680d8
2014-09-18 20:27:28 +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
baab85b6b5
Make the EmailsField search a bit more intelligent by tokenizing the
...
input values so that a search for John Doe matches John M. Doe too
- Legacy-Id: 8278
2014-08-17 16:08:12 +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
Ole Laursen
f291a466d7
Change Document.shepherd to point to the email address rather than the
...
person, add migration to fix the existing shepherds, fix wording and
max entries on change shepherd page to be more self-explanatory
- Legacy-Id: 8268
2014-08-13 11:40:01 +00:00
Ole Laursen
25cdc289e0
Search emails over email address too in addition to person names
...
- Legacy-Id: 8266
2014-08-13 10:24:12 +00:00
Ole Laursen
8b63dd982f
Add support for customizing max number of entries in EmailsField,
...
update to version 1.6 of jquery.tokeninput.js and fix problem with
reloading EmailsField pages by adding a data-pre attribute instead of
hacking the value attribute
- Legacy-Id: 8264
2014-08-13 08:58:10 +00:00
Robert Sparks
fc512680d8
From mcr@sandelman.ca:
...
Refactor to remove dajaxice.
Modified the URLs that address schedules:
- urls now always start with /agenda, removing the mix of /agenda and /schedule prefixes
- urls to a given schedule include the schedule owner (by email address)
Corrected issue that prevented deleting sessions.
Changed comment mechanism in timeslot_edit.js
Migration to change the email address for (System)
Fixes bug #1426
Commit ready to merge
- Legacy-Id: 8229
2014-07-31 22:13:01 +00:00
Henrik Levkowetz
df432f8888
Made ietf/person pyflakes-clean. Fixed a bug where Person.role_email() might blow up if given a group parameter.
...
- Legacy-Id: 7477
2014-03-15 19:37:25 +00:00
Henrik Levkowetz
5bef5d11ae
Made doc/ pyflakes-clean.
...
- Legacy-Id: 7462
2014-03-15 16:09:47 +00:00
Ole Laursen
0b27ff13ec
Add missing test of AJAX person search view, found by coverage check
...
- Legacy-Id: 7089
2014-01-09 17:19:56 +00:00
Ole Laursen
c7a2c64c10
Get rid of fixtures that were added for the meeting tests previously, they are not used anymore, and incomplete so will not load with Django 1.6
...
- Legacy-Id: 7070
2013-12-24 16:14:05 +00:00
Ole Laursen
3fa1834986
Remove Person.objects.by_username/by_email for now - they aren't actually in use, the email one looks suspicious in that it takes the email from the User object, and the username one does not seem generally useful; also remove the unit tests of these two which was relying on an incomplete fixture
...
- Legacy-Id: 7029
2013-12-20 12:13:02 +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
7f25469c6b
Drop the group/person/role global fixtures, the fixture loader in
...
Django 1.6 refuses to load them because they have dangling foreign
keys, and in rewriting them it turns out it is easier to do so in code
- so refactor the test data generation code to have a separate
function with the unchanging base data and call that from the global
fixture setup
- Legacy-Id: 6917
2013-12-13 15:58:36 +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
cfa0d47ca0
Port to new class-based generic redirect and simple template views, remove utils.lazy.reverse_lazy, it's now included in Django
...
- Legacy-Id: 6878
2013-12-11 16:36:09 +00:00
Ole Laursen
7738f35283
Remove backwards compatibility person() method on Person
...
- Legacy-Id: 6828
2013-12-07 12:13:14 +00:00
Ole Laursen
3e709e3f24
Remove proxies
...
- Legacy-Id: 6826
2013-12-07 12:01:57 +00:00
Ole Laursen
e63ac36b8f
Remove shim layer from ietfauth, delete some dead code and migrate
...
remaining importers of ietfauth.decorators to ietfauth.utils
- Legacy-Id: 6797
2013-12-05 16:24:03 +00:00
Henrik Levkowetz
a3c8adfdf6
Merged in the contents of commit [6337] from mcr@sandelman.ca, with some changes to take out dead code that inadvertently came back in.
...
- Legacy-Id: 6344
Note: SVN reference [6337] has been migrated to Git commit d0d1d949a9328da6c4e30d8f5e0d14ffb204e678
2013-10-02 21:53:28 +00:00
Henrik Levkowetz
3d158d1891
Renamed person.json fixture to persons.json
...
- Legacy-Id: 6324
2013-09-30 20:49:11 +00:00
Henrik Levkowetz
e4f4467725
Changed tests to use our own subclassed TestCase, and changed almost all fixtures to be perma_fixtures.
...
- Legacy-Id: 6320
2013-09-30 20:36:20 +00:00