Henrik Levkowetz
d3c5609cde
Added some tests for the group role email utility functions used by the alias generation scripts. Tempted to start using factory boy, but will wait till Robert's work in the nomcom branch comes in.
...
- Legacy-Id: 10544
2015-12-04 23:10:01 +00:00
Henrik Levkowetz
f5ca3a12bc
Fixed a bug in the header/footer stripping done before abstract extraction when a draft is submitted.
...
- Legacy-Id: 10519
2015-11-24 20:01:31 +00:00
Henrik Levkowetz
09e3f4e96d
Added a management command to check referential integrity, original code
...
conceived and written by rjsparks@nostrum.com , with some additions and
adaptation as a management command by henrik@levkowetz.com .
This integrity checker, when run on the IETF database in November 2015,
seemed to have a factor on the order of 100 better speed and lower memory
consumption than the code in
https://stackoverflow.com/questions/4734645/is-there-a-tool-to-check-database-integrity-in-django
No exact figure is available, as the latter had to be killed when it had
taken all available ram (~14G) on the development machine, and started to
cause heavy swapping.
- Legacy-Id: 10508
2015-11-19 21:40:37 +00:00
Henrik Levkowetz
cc84668862
Updated utils resources.py
...
- Legacy-Id: 10489
2015-11-14 23:47:02 +00:00
Henrik Levkowetz
1759f1b38e
Updated utils/resources.py to include an endpoint for the new DumpInfo table.
...
- Legacy-Id: 10488
2015-11-14 23:41:25 +00:00
Henrik Levkowetz
29b30c6c3c
Added a utility model to hold information on when a given database dump has been done.
...
- Legacy-Id: 10480
2015-11-14 22:59:14 +00:00
Henrik Levkowetz
2191ec3cbd
Removed logging through ietf.utils.log.log when running tests -- should shave another 15% off the test suite run time.
...
- Legacy-Id: 10454
2015-11-08 14:26:41 +00:00
Henrik Levkowetz
fdc7dea3df
Merged in [10097] from olau@iola.dk, in order to speed up the test suite.
...
- Legacy-Id: 10453
Note: SVN reference [10097] has been migrated to Git commit 99a9cb5569
2015-11-08 14:24:19 +00:00
Henrik Levkowetz
cf7d794b09
Modified the test data to use some AD and WG chair names that contain non-ascii characters, and fixed test issues found.
...
- Legacy-Id: 10418
2015-11-04 07:34:56 +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
f1a08564d1
Added a new machine-readable list of IPR declarations per draft, which also searches through related documents. Extended make_test_data() with a replaced document for the test draft.
...
- Legacy-Id: 10272
2015-10-23 16:34:44 +00:00
Henrik Levkowetz
bfa222b782
Added a switch to the 'test' command, to write short test results to file, changing the default which used to be to always write these.
...
- Legacy-Id: 10270
2015-10-22 20:37:03 +00:00
Henrik Levkowetz
c17ea94b08
Updated the code to use version 4.0.1 of coverage.py for code coverage measurements. Moved the code which starts coverage measurement to settings_sqlitetest.py to avoid coverage measurements running when not doing tests. Did some additional coveage measurement refactoring.
...
- Legacy-Id: 10238
2015-10-18 20:01:57 +00:00
Henrik Levkowetz
90b97468a9
Changed to use a gzipped release coverage JSON file, instead of a plain JSON file, if the name given in settings.py ends in .gz. Reduces the current release coverage file size from ~1.6MB to ~200kB. This is a preparation for saving more information in the release coverage file than we currently do.
...
- Legacy-Id: 10235
2015-10-18 14:32:36 +00:00
Henrik Levkowetz
499a2180a3
Removed unused imports.
...
- Legacy-Id: 10231
2015-10-18 12:29:17 +00:00
Henrik Levkowetz
cf4cbf76f3
Reverted mixed merge.
...
- Legacy-Id: 10230
2015-10-18 12:14:30 +00:00
Henrik Levkowetz
349b2b511a
Removed unused imports.
...
- Legacy-Id: 10229
2015-10-18 12:12:50 +00:00
Henrik Levkowetz
4a80395a63
Removed support for perma_fixtures, using the blobal test fixtures instead.
...
- Legacy-Id: 10228
2015-10-18 11:49:15 +00:00
Ole Laursen
e1f0917659
Summary: Add new document saving API, Document.save_with_history(events).
...
The new API requires at least one event and will automatically save a
snapshot of the document and related state. Document.save() will now
throw an exception if called directly, as the new API is intended to
ensure that documents are saved with both an appropriate snapsnot and
relevant history log, both of which are easily defeated by just
calling .save() directly.
To simplify things, the snapshot is generated after the changes to a
document have been made (in anticipation of coming changes), instead
of before as was usual.
While revising the existing code to work with this API, a couple of
missing events was discovered:
- In draft expiry, a "Document has expired" event was only generated
in case an IESG process had started on the document - now it's
always generated, as the document changes its state in any case
- Synchronization updates like title and abstract amendmends from the
RFC Editor were silently (except for RFC publication) applied and
not accompanied by a descriptive event - they now are
- do_replace in the Secretariat tools now adds an event
- Proceedings post_process in the Secretariat tools now adds an event
- do_withdraw in the Secretariat tools now adds an event
A migration is needed for snapshotting all documents, takes a while to
run. It turns out that a single document had a bad foreign key so the
migration fixes that too.
- Legacy-Id: 10101
2015-09-28 14:01:03 +00:00
Ole Laursen
99a9cb5569
Summary: Switch to a much faster password hasher when running unit
...
tests, the default, more secure one took ~20% of the test time
- Legacy-Id: 10097
2015-09-23 09:49:48 +00:00
Henrik Levkowetz
fb66c1856f
Merged in [9669] from olau@iola.dk:
...
Summary: Make the meeting agenda code use the historic info available
for groups. In the process, added some select_related/prefetch_related
code to cut the number of database queries in the agenda down from
4000-5000 to about 50. Rewritten agenda CSV code to use Python arrays
rather than a template for improved readability/reuse. Rewritten week
view to assemble its data in Python. Plus a few other minor cleanups,
e.g. lame_description is now gone.
Fixes #1088 . Branch
- Legacy-Id: 10005
Note: SVN reference [9669] has been migrated to Git commit acda84208d
2015-08-10 19:46:11 +00:00
Henrik Levkowetz
2fe8dcb4c2
Added a very simple html version of the json API, to make it easier to explore the api manually.
...
- Legacy-Id: 9991
2015-08-09 16:28:55 +00:00
Henrik Levkowetz
6de3974be7
Misc stuff.
...
- Legacy-Id: 9954
2015-08-01 15:07:49 +00:00
Henrik Levkowetz
a23846c8be
Changed the storage format for code coverage in *coverage.json, in order to be able to calculate code coverage percentages for a subset of tested files.
...
- Legacy-Id: 9953
2015-08-01 15:07:21 +00:00
Henrik Levkowetz
7a059c908a
Cleaned up bower_storage a bit.
...
- Legacy-Id: 9952
2015-08-01 15:03:40 +00:00
Henrik Levkowetz
9cec8a0587
Added code to the test_runner to force SERVE_CDN_FILES_LOCALLY_IN_DEV_MODE to True during testing, to avoid triggering the system checks error which doesn't find the CDN symlink expected when serving static files via CDN.
...
- Legacy-Id: 9910
2015-07-28 11:02:00 +00:00
Henrik Levkowetz
6468a43840
Moved and renamed the file and class for the storage helper which lets us find static files managed by bower, to better reflect the function.
...
- Legacy-Id: 9909
2015-07-28 10:40:26 +00:00
Adam Roach
5cb7c82e39
Check that email is sent to chairs of both replaced and replacing document
...
- Legacy-Id: 9808
2015-07-18 16:07:26 +00:00
Ole Laursen
acda84208d
Summary: Make the meeting agenda code use the historic info available
...
for groups. In the process, added some select_related/prefetch_related
code to cut the number of database queries in the agenda down from
4000-5000 to about 50. Rewritten agenda CSV code to use Python arrays
rather than a template for improved readability/reuse. Rewritten week
view to assemble its data in Python. Plus a few other minor cleanups,
e.g. lame_description is now gone.
Fixes #1088 . Branch ready for merge.
- Legacy-Id: 9669
2015-06-17 13:37:16 +00:00
Robert Sparks
85cfe0ed8a
Show leadership when and where mail was sent at the time it is sent. Commit ready for merge.
...
- Legacy-Id: 9608
2015-05-07 16:29:17 +00:00
Henrik Levkowetz
e3799dca2e
Fixed a bug in TestCase.assertValidHtml().
...
- Legacy-Id: 9563
2015-04-26 20:10:48 +00:00
Henrik Levkowetz
5a5289d1ad
Added pip and setuptools, required in virtualenv, to requirements.txt in order to simplify buildbot testing of package installation and version testing.
...
- Legacy-Id: 9560
2015-04-26 19:12:16 +00:00
Henrik Levkowetz
09f3f51c77
Added support for an 'origin' template tag which will insert the name of the template file (within a html comment) into the page content when TEMPLATE_DEBUG is True; with the purpose of more easily being able to identify the templates from which page content comes.
...
- Legacy-Id: 9550
2015-04-24 20:38:36 +00:00
Henrik Levkowetz
6055215ab2
Removed local copy of html5lib, added html5lib to requirements.txt, and updated utils/html.py to work with htm5lib 0.999.
...
- Legacy-Id: 9547
2015-04-24 18:07:26 +00:00
Henrik Levkowetz
02cd366ff0
Merged in trunk@9440, containing the changes for version 5.13.1; and updated tests which look at HTML content to work with the facelift changes.
...
- Legacy-Id: 9446
2015-04-11 18:24:20 +00:00
Henrik Levkowetz
625347cd2f
Merged trunk@9354 to facelift copy
...
- Legacy-Id: 9357
2015-04-02 06:51:34 +00:00
Robert Sparks
a6c64d2b12
Remove sessonly, replacing the idea with a separate State. Add tests checking how materials show on agenda views. Commit ready for merge.
...
- Legacy-Id: 9351
2015-04-01 16:00:05 +00:00
Ryan Cross
34a16483fa
Improve test coverage of secr.drafts. Commit ready for merge.
...
- Legacy-Id: 9307
2015-03-21 20:26:53 +00:00
buildbot
70396be450
Updated test
...
- Legacy-Id: 9241
2015-03-17 17:38:15 +00:00
buildbot
cedb115038
Added exception capture and error message when the --release switch to coverage_changes specify a release for which there aren't any data. Also tweaked the diff output for code coverage changes.
...
- Legacy-Id: 9239
2015-03-17 16:15:04 +00:00
Henrik Levkowetz
0b971f635d
Added test coverage data to the release pages if available for the release. Added saving of html pages for the code coverage to a directory in the static files area. If a code coverage report is available, a link to it will be shown on the release page of the current release. Renamed some setting variables related to test coverage to be more explicit and precise.
...
- Legacy-Id: 9201
2015-03-14 19:08:37 +00:00
Henrik Levkowetz
4b80218548
Merged in [9185] from rcross@amsl.com:
...
Add DocEvent and SubmissionEvent to merge-person-records.
- Legacy-Id: 9197
Note: SVN reference [9185] has been migrated to Git commit cadf07fab3
2015-03-14 15:47:24 +00:00
Henrik Levkowetz
d4f0ad4955
Fixed a pyflakes nit.
...
- Legacy-Id: 9189
2015-03-13 16:04:40 +00:00
Henrik Levkowetz
f499ba8096
Started the code coverage measurements earlier, in order to make the apparent code coverage of model files less confusing.
...
- Legacy-Id: 9188
2015-03-13 16:02:31 +00:00
Henrik Levkowetz
f15e515baf
Added a fudge factor to the coverage test, in order to make it easier to do minor code changes.
...
- Legacy-Id: 9187
2015-03-13 15:56:13 +00:00
Henrik Levkowetz
1d28ec8f5b
Made the test runner try multiple port numbers for the SMTP server, in order to handle the case where multiple test suites are in progress on the same host (which can happen when multiple buildbot slaves are running tests at the same time).
...
- Legacy-Id: 9186
2015-03-13 15:47:12 +00:00
Henrik Levkowetz
d7f44d6e86
Tweaked test to match earlier coverage_changes output format tweak.
...
- Legacy-Id: 9168
2015-03-08 14:32:14 +00:00
Henrik Levkowetz
e4c15de834
Tweaked the coverage_changes output slightly.
...
- Legacy-Id: 9165
2015-03-08 13:19:46 +00:00
Henrik Levkowetz
5ee64000c3
Changed the test runner to read json files as utf-8.
...
- Legacy-Id: 9163
2015-03-07 22:28:21 +00:00
Henrik Levkowetz
b7095b573f
Added a managment command to show the difference in coverage data between the latest release and the latest test run, and a test for the same.
...
- Legacy-Id: 9162
2015-03-07 22:27:02 +00:00
Henrik Levkowetz
381d37986c
Python's pathlib is now available for both 2.x and 3.x, and is well established. Removed the ietf/utils/path.py fallback, and added pathlib to requirements.txt
...
- Legacy-Id: 9161
2015-03-07 17:17:50 +00:00
Henrik Levkowetz
0be1ad9a2d
Fixed a bug in the template coverage expression. Tweaked the informative text prefacing app coverage figures.
...
- Legacy-Id: 9157
2015-03-06 23:22:54 +00:00
Henrik Levkowetz
e94ac990fc
Added per-app coverage measurements, to make the numbers shown when not running the full tests suite a bit more meaningful.
...
- Legacy-Id: 9156
2015-03-06 20:42:20 +00:00
Henrik Levkowetz
86997e1e95
Turned the api.py file into a module. Moved the makeresources management command to the api module. Added some api tests. Added crawling of api files to the test-crawler. Adjusted some resource files discovered by the test suite and test-crawler. Removed a bunch of empty model files.
...
- Legacy-Id: 9144
2015-03-03 20:23:36 +00:00
Henrik Levkowetz
dba3db444c
Added test code coverage measurements using coverage.py, integrated as a test in the test suite. This test compares the current code coverage of tests with that saved for the latest release. Also converted the URL and template coverage measurements into tests, comparing current with the latest release. The result of this is that the coverage tests will fail if new code is added without sufficient test coverage to at least match that of the latest release. Over time, this should encourage gradually improved test coverage as seen for both code, templates, and urls. Coverage data is also saved to file, and can be read by the 'coverage' shell command to produce html or text reports.
...
- Legacy-Id: 9103
2015-02-19 23:42:34 +00:00
Ole Laursen
a225fd5069
Make new branch from trunk and merge facelift-r9007 into it, fixing a few merge conflicts
...
- Legacy-Id: 9072
2015-02-12 10:43:52 +00:00
Henrik Levkowetz
f3b22aa300
Added django.setup() to some additional scripts, as required under Django 1.7.
...
- Legacy-Id: 9069
2015-02-11 06:52:07 +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
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
Henrik Levkowetz
970059617e
Added back a general setting (removed from the Django framework in 1.7) to avoid base64-encoding of UTF-8 email messages.
...
- Legacy-Id: 9012
2015-02-06 12:33:24 +00:00
Robert Sparks
4988d9378c
Avoid an issue with python.email breaking To header field values that it has to encode in bad places. Fixes #1589 . Commit ready for merge.
...
- Legacy-Id: 8961
2015-02-03 20:18:27 +00:00
Ole Laursen
8d5cd02922
Summary: Add a placeholder for datepicker fields
...
- Legacy-Id: 8916
2015-01-26 12:53:43 +00:00
Ole Laursen
b3823d5768
Summary: Fix comment on insert_after_in_ordered_dict
...
- Legacy-Id: 8897
2015-01-22 17:42:52 +00:00
Ole Laursen
d0999c8b5e
Merge facelift-r8510 branch with trunk. The IPR tool still has some non-facelifted parts and ideosyncracies. Fix a couple of minor bugs (including infamous empty licensing choice) in the IPR code, and port the IPR views to use the render shortcut.
...
- Legacy-Id: 8896
2015-01-22 17:38:05 +00:00
Henrik Levkowetz
49d86d691b
Merged in [8861] from rcross@amsl.com:
...
Changes to allow upload of bluesheets in materials upload page. Primarily for use with Interim meetings.
- Legacy-Id: 8891
Note: SVN reference [8861] has been migrated to Git commit 40efbf4f57
2015-01-21 20:32:18 +00:00
Henrik Levkowetz
be1c255be1
Merged in [8854] from rjsparks@nostrum.com:
...
This is the second step towards ADs out of GroupInfo into Role.
The use of group.ad has been scrubbed from the code and templates.
- Those places that set group.ad have been directly manipulate Role objects instead
- Most places that read group.ad now use a new group.ad_role() that returns a Role object, simplifing some views.
Related to #1555 and #1557 .
- Legacy-Id: 8888
Note: SVN reference [8854] has been migrated to Git commit 65804be683
2015-01-21 19:56:57 +00:00
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
Ryan Cross
40efbf4f57
Changes to allow upload of bluesheets in materials upload page. Primarily for use with Interim meetings. Commit ready for merge.
...
- Legacy-Id: 8861
2015-01-12 18:45:50 +00:00
Ryan Cross
e686c5c7f5
Allow upload of bluesheets via materials upload interface
...
- Legacy-Id: 8857
2015-01-09 21:29:57 +00:00
Robert Sparks
65804be683
This is the second step towards ADs out of GroupInfo into Role.
...
The use of group.ad has been scrubbed from the code and templates.
- Those places that set group.ad have been directly manipulate Role objects instead
- Most places that read group.ad now use a new group.ad_role() that returns a Role object, simplifing some views.
Related to #1555 and #1557 .
Commit ready for merge.
- Legacy-Id: 8854
2015-01-09 18:52:06 +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
Ole Laursen
1d51a43be4
Summary: Fix the yyyymmdd to strftime format converter to use a single
...
pass through the format so that it actually works correctly
- Legacy-Id: 8732
2014-12-12 11:24:15 +00:00
Ole Laursen
8e4459ad59
Summary: Add helper for inserting a value after another value in an
...
OrderedDict (or Django's SortedDict)
- Legacy-Id: 8719
2014-11-30 14:47:17 +00:00
Ole Laursen
c7342d2f30
Summary: Add specialized DateField for triggering Bootstrap datepicker
...
- Legacy-Id: 8712
2014-11-25 16:43:50 +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