Henrik Levkowetz
f15ba3346b
Merged in [8846] from rjsparks@nostrum.com:
...
Added tests for document urls that provide a revision for all the document types the view code currently handles. Refactored parts of Document and DocHistory into DocumentInfo to get the tests to pass. (but careful review is probably warranted).
- Legacy-Id: 8880
Note: SVN reference [8846] has been migrated to Git commit ce5bda1835b32640d17136d09262f654fade94d4
2015-01-21 19:01:47 +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
5183042d58
Merged in branch/amsl/iprtool/5.7.4@8734 from rcross@amsl.com, providing new IPR models, refactored code, and improved list, search, and management interfaces.
...
- Legacy-Id: 8808
2014-12-21 19:26:33 +00:00
Henrik Levkowetz
a9b91deead
Added a file which was missed in the 5.8.0 release.
...
- Legacy-Id: 8759
2014-12-18 18:37:53 +00:00
Henrik Levkowetz
00e4818ceb
Alternative DRY definition of the REST api top URL; this time in ietf/urls.py. This in itself is nicer, but I'm not so sure about the use of reverse() everywhere else, instead of referring to settings.
...
- Legacy-Id: 8752
2014-12-17 21:26:32 +00:00
Henrik Levkowetz
3cb39d462e
Define the REST api top url in settings.py, rather than having literals in multiple places in the code.
...
- Legacy-Id: 8751
2014-12-17 21:06:05 +00:00
Henrik Levkowetz
9cb2f17f0f
Added a refinement to the pyflakes management command, to make it clearer where exceptions while running pyflakes originate.
...
- Legacy-Id: 8747
2014-12-14 20:35:35 +00:00
Henrik Levkowetz
ed2458feac
Tests for the restapi.
...
- Legacy-Id: 8745
2014-12-14 20:34:03 +00:00
Henrik Levkowetz
147cc96a51
Added a management command to generate (and update) resource files for tastypie, in order to have to manually maintain the resource files needed by tastypie when models are added (model changes will have to be handled manually, or by removing the old class from the resources and auto-generate it again).
...
- Legacy-Id: 8743
2014-12-14 20:32:12 +00:00
Henrik Levkowetz
f2d3d4213a
Reworked the generation of draft aliases and WG aliases, after trying out the output of the previous version for real. This code seems to work better, based on tests on ietfa.
...
- Legacy-Id: 8633
2014-11-11 01:09:30 +00:00
Robert Sparks
5ca9581072
Reworked smtp error warning and logging to not use hard-to-read context_managers. Fixes bug #1390 . Commit ready to merge.
...
- Legacy-Id: 8584
2014-11-04 19:49:22 +00:00
Henrik Levkowetz
1bf4356002
Improved regex for the Dr.-Ing. honorific fix.
...
- Legacy-Id: 8509
2014-10-29 06:53:34 +00:00
Henrik Levkowetz
770f79e601
Added 'Dr.-Ing.' to the recognised honorifics in the author extraction code.
...
- Legacy-Id: 8508
2014-10-29 06:24:41 +00:00
Henrik Levkowetz
46cb5cbdca
Did a number of changes to the author extraction method of class Draft in order to make it able to match up names with double-word family names on the first page (A. Foo Bar) with (familyname, given-name) ordering (Foo Bar Any) in the Authors' Addresses section. Regression tested against 200+ known good author extraction results. A number of stronger restrictions in regular expressions had to be introduced to avoid regression, which is probably all to the good.
...
- Legacy-Id: 8507
2014-10-28 15:45:47 +00:00
Henrik Levkowetz
e3077c6e50
Fixed a bug in the new ISO-date code for draft metadata extraction.
...
- Legacy-Id: 8502
2014-10-27 17:01:16 +00:00
Henrik Levkowetz
4dddf14be0
Added support for ISO-format dates (or RFC 3339 dates, if you will) to the date parsing done for the submission tool. Also refined the regexes a bit to avoid false matches on for instance things like 'Juniper 2014'.
...
- Legacy-Id: 8501
2014-10-27 16:51:19 +00:00
Henrik Levkowetz
9d5a9c143e
Reverted changes in ietf/utils/draft.py which should not have been part of [8499].
...
- Legacy-Id: 8500
Note: SVN reference [8499] has been migrated to Git commit a8ddac15e2
2014-10-27 16:35:50 +00:00
Henrik Levkowetz
a8ddac15e2
Merged in [8498] from rjsparks@nostrum.com:\n Reworked logic flow for editing shepherds. Added message to inform the user when the shepherd is not changed. Fixes bug #1508 .
...
- Legacy-Id: 8499
Note: SVN reference [8498] has been migrated to Git commit 055202dee4
2014-10-27 16:01:51 +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
d4e5f070af
Merged in [8293] from rjsparks@nostrum.com:\n XXX: Should what is now captured in the list of STATUSCHANGE_RELATIONS instead be captured in the database in name_docrelationshipname?
...
Refactored editing the notify field to remove redundant code.
Changed the default notification list to include .all for documents, and the wg list for wg documents.
Allowed recalculating the notification list for all document types.
Improved the calculated notification list value for charters, conflict-reviews, and status-changes.
Adds shepherds to the notification list when they are assigned to a document.
Adds the working group email list to the notification list when a document is adopted.
Fixes #1438
- Legacy-Id: 8385
Note: SVN reference [8293] has been migrated to Git commit 640c5eb52ace8bb6d2c1b3ca6c14ef10ad0f324f
2014-10-12 17:32:11 +00:00
Henrik Levkowetz
4cc4f5080c
Merged in [8254] from rjsparks@nostrum.com:\n Don't send mail to unknown-email-* addresses. Fixes bug #1471 .
...
- Legacy-Id: 8365
Note: SVN reference [8254] has been migrated to Git commit f7f29a62588eac9b2aaf26cd0401a910fa48403f
2014-09-28 18:51:21 +00:00
Ole Laursen
f7ac066059
Integrate Secretariat tools MultiEmailField with the one in
...
utils/fields.py, also fix a couple of issues in NomCom tool (spelling
bugs and avoid overwriting base_fields on forms with dynamic data)
- Legacy-Id: 8276
2014-08-17 14:39:23 +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
Henrik Levkowetz
a73163993a
Rewrote the draft-alias and group-alias generation scripts to generate matching aliases and virtual files for postfix.
...
- Legacy-Id: 8055
2014-07-08 14:25:14 +00:00
Henrik Levkowetz
09f654b1f4
Merged in branch/iola/team-support from olau@iola.dk. This generalises and extends the group support for WGs and RGs so that also other groups, such as for instance the Edu Team, can have pages.
...
- Legacy-Id: 8013
2014-07-02 19:30:07 +00:00
Henrik Levkowetz
8aba7e97fc
Provide a better message if pyflakes fails due to syntax errors in a python file.
...
- Legacy-Id: 8011
2014-07-01 21:12:03 +00:00
Henrik Levkowetz
f00f589e66
Renamed a very specialized function from email_secretariat() to email_iesg_secretary_re_charter().
...
- Legacy-Id: 7923
2014-06-17 16:31:12 +00:00
Ole Laursen
f9ee750afd
Make it possible to adjust the name of new materials upon upload, also fix a couple of warnings from PyFlakes
...
- Legacy-Id: 7914
2014-06-13 12:30:42 +00:00
Robert Sparks
393422b36b
Improves the robustness of the SMTP error handling utilities. Fixes bug #1409 . Commit ready for merge.
...
- Legacy-Id: 7766
2014-05-22 01:28:33 +00:00
Robert Sparks
bf4f3ad75f
Made several changes to better handle non-ascii UTF-8 in email messages.
...
Used multipart mime when including the original message in an error message to the secretariat.
Modified the way IANA review email is parsed.
Added non-ascii UTF-8 tests to the IANA review email parser and to the SMTP Exception handling code.
Commit ready for merge.
- Legacy-Id: 7673
2014-04-29 18:45:37 +00:00
Henrik Levkowetz
4b6ca22ff7
Merged in [7635] from rjsparks@nostrum.com:
...
Replumbed how SMTP Exceptions are handled, which involved refactoring several mail functions
- Legacy-Id: 7637
Note: SVN reference [7635] has been migrated to Git commit 73b0831b57
2014-04-24 22:14:57 +00:00
Robert Sparks
73b0831b57
Replumbed how SMTP Exceptions are handled, which involved refactoring several mail functions
...
- Legacy-Id: 7635
2014-04-24 18:29:01 +00:00
Henrik Levkowetz
fe5d53fc40
Merged in [7591] from rjsparks@nostrum.com:
...
Adds a real (if simple) SMTP server to the test framework and tests handling of exceptions and rejected addresses. Fixes ticket #1314 .
- Legacy-Id: 7613
Note: SVN reference [7591] has been migrated to Git commit 54919f01343995ab154d27dcfaf7a60b15dd5eee
2014-04-16 19:40:57 +00:00
Henrik Levkowetz
454c9d83cb
Fixed support for verbosity and overwrite flags for the import_htpasswd command, which was lost in [7583].
...
- Legacy-Id: 7585
Note: SVN reference [7583] has been migrated to Git commit 4c0d52d9ed
2014-04-09 18:34:18 +00:00
Henrik Levkowetz
4c0d52d9ed
Split out the actual htpasswd import functionality from the BaseCommand subclass, so we can call it from elsewhere.
...
- Legacy-Id: 7583
2014-04-09 18:28:42 +00:00
Henrik Levkowetz
156b0d4e3a
Changed the code to use django's own authentication, instead of http basic auth. This will let people log out, and will also use stronger password hashing than basic auth. Added a login page, and logout links, and links from the logged in username (in the upper right corner) to the user's profile page.
...
- Legacy-Id: 7580
2014-04-07 18:56:44 +00:00
Henrik Levkowetz
b02b0a96df
All tests pass, except for some pyflakes tests which I believe are fixed in trunk.
...
- Legacy-Id: 7579
2014-04-06 20:04:36 +00:00
Henrik Levkowetz
3a3b386a0e
A htpasswd import script, for the transition from basic http auth to Django native authentication.
...
- Legacy-Id: 7578
2014-04-06 17:20:31 +00:00
Henrik Levkowetz
8c42989d5d
Pyflakes cleanup compliant with pyflakes 0.8.1, which seems to find things 0.8.0 didn't fin.
...
- Legacy-Id: 7558
2014-04-01 16:25:18 +00:00
Henrik Levkowetz
af4c6e253c
Exclude empty email addresses from the send list.
...
- Legacy-Id: 7552
2014-03-27 22:09:37 +00:00
Henrik Levkowetz
0643f3c542
Added a pyflakes test.
...
- Legacy-Id: 7505
2014-03-16 18:24:31 +00:00
Henrik Levkowetz
b9cbb236dd
Renamed flakes.py to pyflakes, and fixed the import setup so it won't try to import itself. Added verbosity control.
...
- Legacy-Id: 7502
2014-03-16 18:16:37 +00:00
Henrik Levkowetz
6606538453
Fixed mistaken outcomment.
...
- Legacy-Id: 7497
2014-03-16 07:48:59 +00:00
Henrik Levkowetz
49edc7404e
Made ietf/utils pyflakes-clean.
...
- Legacy-Id: 7496
2014-03-16 07:26:03 +00:00
Henrik Levkowetz
02031a01b9
Cleaned out some (arbitrary) submodule name imports into ietf.utils, and made the corresponding import statements import the names directly from the correct submodules.
...
- Legacy-Id: 7495
2014-03-16 07:09:38 +00:00
Henrik Levkowetz
b9c38d3c06
Merged pyflakes fixes forward to new copy of trunk.
...
- Legacy-Id: 7463
2014-03-15 16:27:05 +00:00
Henrik Levkowetz
5bef5d11ae
Made doc/ pyflakes-clean.
...
- Legacy-Id: 7462
2014-03-15 16:09:47 +00:00
Henrik Levkowetz
b91524fabc
Merged [7368] from rjsparks@nostrum.com: Improves the detail in the messages sent when creating tickets about failed sent email.
...
Changes a locally defined exception name to look less like one already defined in smtplib.
This is related to ticket #1208 .
- Legacy-Id: 7382
Note: SVN reference [7368] has been migrated to Git commit 08f13239c9beb6dcb0be978e800b82c4104b61e7
2014-03-01 18:13:43 +00:00
Henrik Levkowetz
0eefa5760c
Added a management command to run pyflakes, with the added feature of being able to mark individual lines with # pyflakes:ignore, which is needed in some cases.
...
- Legacy-Id: 7367
2014-02-25 20:22:20 +00:00
Henrik Levkowetz
3f55454724
Merged [7292] from rjsparks@nostrum.com: Allow 1-3 digit RFCs in status change documents.
...
Fixes bug #1321
- Legacy-Id: 7295
Note: SVN reference [7292] has been migrated to Git commit 31808eccb2
2014-02-24 23:10:21 +00:00