Commit graph

6935 commits

Author SHA1 Message Date
Henrik Levkowetz 4daf66d11c Added DocEvent rev= parameter througout the code.
- Legacy-Id: 12978
2017-03-06 15:08:21 +00:00
Henrik Levkowetz ff31644ccf Tweaked assertion() and unreachable() to raise an exception instead of sending email (to the test mailbox ...) when running the test suite.
- Legacy-Id: 12977
2017-03-06 14:31:45 +00:00
Henrik Levkowetz 0bcb4ae30c Fixed a problem with assertion() and unreachable(), which could break if certain names (like 'args') were set in the calling frame.
- Legacy-Id: 12975
2017-03-06 13:51:08 +00:00
Henrik Levkowetz 05d57f6577 Added a 'rev' field to DocEvent, and removed the corresponding field from NewRevisionDocEvent and SubmissionDocEvent. Added a migration for an initial schema change, one data migration to copy and infer revision information, another schema migration to remove extraneous revision field, and another data migration to fix up bad timestamps and bad revision info from the period 2016-09-10 to 2016-10-04.
- Legacy-Id: 12974
2017-03-05 19:59:27 +00:00
Henrik Levkowetz fd9a0d12b5 Renamed a couple of migrations.
- Legacy-Id: 12973
2017-03-05 12:03:15 +00:00
Henrik Levkowetz dd305e0d87 Fixed a bug in the StateAdmin list_filter setting.
- Legacy-Id: 12972
2017-03-04 16:19:29 +00:00
Henrik Levkowetz 0bebccd1cb Added a data migration which adds 2 new WG states: 'Waiting for Implementation' and 'Held by WG'.
- Legacy-Id: 12969
2017-03-04 13:46:17 +00:00
Henrik Levkowetz 9bbd50119f Added a filter bar for state-type to the admin page for doc.models.State.
- Legacy-Id: 12968
2017-03-04 13:45:08 +00:00
Henrik Levkowetz 387068f67d Updated unreachable markings.
- Legacy-Id: 12967
2017-03-04 05:38:23 +00:00
Henrik Levkowetz f2c1ca1565 Added unreachable markings.
- Legacy-Id: 12966
2017-03-04 05:31:18 +00:00
Henrik Levkowetz 3c6f00869f Dead code removal: meeting models and test_utils.
- Legacy-Id: 12965
2017-03-04 05:19:39 +00:00
Henrik Levkowetz 73a2d86f12 Added an unreachable mark
- Legacy-Id: 12964
2017-03-04 05:19:01 +00:00
Henrik Levkowetz 0745fac189 Undo commit
- Legacy-Id: 12963
2017-03-04 05:17:41 +00:00
Henrik Levkowetz 49ba774ae3 Updated unreachable() marking.
- Legacy-Id: 12962
2017-03-04 05:14:51 +00:00
Henrik Levkowetz 60ddd61727 Tweaked Message.msgid and added needed migrations for the field. The first migration creates the new column with NULL values for existing rows, the second adds creation of msgid values by default for new rows.
- Legacy-Id: 12961
2017-03-03 21:17:12 +00:00
Henrik Levkowetz 119f48699c Added a data migration to add author information to existing reviews.
- Legacy-Id: 12960
2017-03-03 21:14:45 +00:00
Henrik Levkowetz ce9f879500 Create all appropriate aliases when a Person record is created, both in ietfauth and in PersonFactory.
- Legacy-Id: 12958
2017-03-03 19:42:16 +00:00
Henrik Levkowetz c006c44423 Added setting of document author for review document objects.
- Legacy-Id: 12957
2017-03-03 19:40:09 +00:00
Henrik Levkowetz 920d05bbd5 Improved handling of a case where a meeting floor have been defined, but no floor image uploaded yet.
- Legacy-Id: 12956
2017-03-03 18:00:16 +00:00
Henrik Levkowetz 541085b1a8 Changed email notifications for reviews done to save the message as a Message instance before sending it. Added test code to check that a Message instance is created and matches what goes out.
- Legacy-Id: 12955
2017-03-03 15:45:29 +00:00
Henrik Levkowetz 3a21e03f8d Marked a function as unrachable. Added support in send_mail_message for the Message.msgid field.
- Legacy-Id: 12954
2017-03-03 15:43:43 +00:00
Henrik Levkowetz 4159586994 Added a msgid field to the Message model.
- Legacy-Id: 12953
2017-03-03 15:41:19 +00:00
Henrik Levkowetz 3117d0fdd8 Merged in [12917] from rcross@amsl.com:
Fixes #2207. bin/merge-person-records remove _meta.get_all_related_objects() deprecated in Django 1.10.
 - Legacy-Id: 12952
Note: SVN reference [12917] has been migrated to Git commit aa76ea4040
2017-03-02 21:43:52 +00:00
Henrik Levkowetz ea70381f29 Merged in [12950] from rcross@amsl.com:
Fixes #2219.  Area Group chairs are denied material management access.
 - Legacy-Id: 12951
Note: SVN reference [12950] has been migrated to Git commit c6d1a59aa4
2017-03-02 21:21:07 +00:00
Ryan Cross c6d1a59aa4 Fixes #2219. Area Group chairs are denied material management access. Commit ready for merge.
- Legacy-Id: 12950
2017-03-02 20:14:39 +00:00
Henrik Levkowetz 225c1d9afe Changed the state choices in the document adoption form to exclude the few that should not be available, rather than explicitly list all others. Makes adding WG/RG states simpler.
- Legacy-Id: 12949
2017-03-02 20:07:50 +00:00
Henrik Levkowetz 348591a4bb Set version info and settings back to development mode
- Legacy-Id: 12944
2017-03-01 12:27:39 +00:00
Henrik Levkowetz bc8e66d741 Set version info to release version 6.46.1 before branching.
- Legacy-Id: 12942
2017-03-01 12:27:29 +00:00
Henrik Levkowetz cbc0e72fee Added a migration which captures the ordering on Role.
- Legacy-Id: 12938
2017-03-01 11:33:42 +00:00
Henrik Levkowetz ae8e07ef22 Merged in [12932] from rjsparks@nostrum.com:
Move primary but inactive email to the most recently touched active email for a Person. If a person has more than one primary email, make all but the first be not primary. Fixes #2214.
 - Legacy-Id: 12937
Note: SVN reference [12932] has been migrated to Git commit 572e373f95
2017-02-28 23:28:30 +00:00
Henrik Levkowetz 695bf37bc6 Merged in [12930] from rjsparks@nostrum.com:
Use the Role email associated with a reviewer as the From when emailing a review. Fixes #2201.
 - Legacy-Id: 12936
Note: SVN reference [12930] has been migrated to Git commit 8577a5e84a
2017-02-28 21:50:12 +00:00
Henrik Levkowetz 363764f872 Fixed a header display issue
- Legacy-Id: 12935
2017-02-28 20:42:46 +00:00
Henrik Levkowetz 6af4ce62aa Removed debugging code.
- Legacy-Id: 12934
2017-02-28 20:42:19 +00:00
Henrik Levkowetz 5bb5ca727b Created a special function log.unreachable() to mark code unreachable, and changed a function name from log.affirm() to log.assertion().
- Legacy-Id: 12933
2017-02-28 20:16:52 +00:00
Robert Sparks 572e373f95 Move primary but inactive email to the most recently touched active email for a Person. If a person has more than one primary email, make all but the first be not primary. Fixes #2214. Commit ready for merge.
- Legacy-Id: 12932
2017-02-28 19:39:01 +00:00
Henrik Levkowetz 089f23f011 Added ordering to Role, and a roles section at the top of the personal profile page.
- Legacy-Id: 12931
2017-02-28 19:33:28 +00:00
Robert Sparks 8577a5e84a Use the Role email associated with a reviewer as the From when emailing a review. Fixes #2201. Commit ready for merge.
- Legacy-Id: 12930
2017-02-28 18:40:09 +00:00
Henrik Levkowetz 5928bd9faa Added svn symlink check and creation to test setup. Forced test settings to use an empty INTERNAL_IPS list for consistency in code coverage figures.
- Legacy-Id: 12929
2017-02-28 18:02:30 +00:00
Henrik Levkowetz 171a7be029 Removed an incorrect Unreachable Code mark.
- Legacy-Id: 12928
2017-02-28 05:08:03 +00:00
Henrik Levkowetz 10cac86165 Preparation for dead code removal: Marked probable dead code with affirm() statements which will signal if we ever reach that point in the code. If no signals seen, the marked functions/methods will be removed after one release cycle.
- Legacy-Id: 12926
2017-02-27 16:45:21 +00:00
Henrik Levkowetz 4f12513b1f Tweaked the affirm() failure message.
- Legacy-Id: 12925
2017-02-27 16:42:23 +00:00
Henrik Levkowetz ac9aa326ef Dead code removal: placement.py and related.
- Legacy-Id: 12924
2017-02-27 13:22:04 +00:00
Henrik Levkowetz 5f053ad21a Cleaned up the remaining explicit url names, using dotted-paths to view
functions instead.  In all almost 700 changes.
 - Legacy-Id: 12923
2017-02-26 23:21:49 +00:00
Henrik Levkowetz 9fb1a8e05f Tweaked an import to make Python 2to3 able to handle it.
- Legacy-Id: 12922
2017-02-26 10:54:33 +00:00
Henrik Levkowetz 84527c9df6 Added some code to utils.urls.url() to output remaining explicit url names together with the matching dotted-path to the view function.
- Legacy-Id: 12921
2017-02-25 20:32:20 +00:00
Henrik Levkowetz cd9cb4ad29 Fixed an issue which left html meta-characters unescaped in release-notes shown under /release/
- Legacy-Id: 12919
2017-02-25 16:37:15 +00:00
Henrik Levkowetz a94c33fd6e Added an alert on the login form, to be shown if a user's password has been cleared. Adjusted url reverse strings to match the changed view function.
- Legacy-Id: 12918
2017-02-25 15:50:47 +00:00
Ryan Cross aa76ea4040 Fixes #2207. bin/merge-person-records remove _meta.get_all_related_objects() deprecated in Django 1.10. Commit ready for merge.
- Legacy-Id: 12917
2017-02-24 21:25:33 +00:00
Henrik Levkowetz 9f74aca342 Tweaked the wording on the account creation whitelisting page to emphasise the wording to be asked then emailing a querent.
- Legacy-Id: 12916
2017-02-24 20:09:49 +00:00
Henrik Levkowetz 2f44e9a97b Personal profile pages already show the primary (unicode) name of a person. Added the asciified name in parentheses, if different from the primary name, in the page header.
- Legacy-Id: 12915
2017-02-24 20:06:19 +00:00