Commit graph

7009 commits

Author SHA1 Message Date
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
Henrik Levkowetz 11497e5f1f Set version info and settings back to development mode
- Legacy-Id: 12912
2017-02-24 10:38:29 +00:00
Henrik Levkowetz 288073487f Set version info to release version 6.46.0 before branching.
- Legacy-Id: 12910
2017-02-24 10:38:22 +00:00
Henrik Levkowetz c58c51f919 Added a migration which captures the added validator for title fields.
- Legacy-Id: 12907
2017-02-24 10:24:34 +00:00
Henrik Levkowetz ffc6bebe1b Fixed a html error.
- Legacy-Id: 12905
2017-02-23 21:03:07 +00:00
Henrik Levkowetz 23ebe5d35d This addresses ease of editing various group attributes, and in particular is
intended to make it easier to see that you can edit things like the
external/additional URLs:

 - Added the ability to edit individual fields in a group's about page, and
   added edit buttons for editable fields on the about page, just as for
   documents (the ability to edit all editable fields already was available
   from the 'Edit group' button on the /group//about/ page).

 - Made the tab label for the group-about tab consistently say 'About',
   instead of 'Charter' for some groups.

 = Shifted the position of the about tab to the start of the tab line.

 - Removed the datatracker account requirement information at the top of the
   group edit page for users logged in to their account.

 - Tweaked the 'Show update' link on the 'Status Update' line.

 - Changed the label for the external URLs from 'More Info' to 'Additional
   URLs', which was already in use on the edit form.
 - Legacy-Id: 12904
2017-02-23 20:55:38 +00:00
Henrik Levkowetz ffa19c9847 Added a log.affirm() call at the point where we may discover new flawed document author records. Fixed a place where the generation of Person.ascii from Person.name wasn't done well.
- Legacy-Id: 12903
2017-02-23 11:57:29 +00:00
Henrik Levkowetz c4cdb82a39 Made the logging settings explicit in ietf/settings.py (instead of copying default then modifying), and added enough surrounding information to make it possible to read also for people not very familiar with Python's intricate logging infrastructure. To a large extent to understand myself how the logging is set up in Django, and where to hook in the affirm() function.
- Legacy-Id: 12902
2017-02-23 11:53:31 +00:00
Henrik Levkowetz 49af9b4e1a Added an affirm(statement_string) function, which acts like an assert, and lets us trigger an email message with traceback when the statement to affirm is False. Use instead of assert if we still want the server to produce a response, even if something is seriously wrong.
- Legacy-Id: 12901
2017-02-23 11:48:55 +00:00
Henrik Levkowetz fb6e24b6dd Changed the AD email list results from get_group_ad_emails() to make more sense when the group is an area, not a wg.
- Legacy-Id: 12900
2017-02-22 17:33:42 +00:00
Henrik Levkowetz a5290e143a Made some changes to the missing-email submission handling. This may have fixed the creation of author records containing 'none' email entries, but as I've not been able to reproduce the issue, this is uncertain. Next is to build an email notification assert statement to help capture information if this happens.
- Legacy-Id: 12898
2017-02-22 15:36:28 +00:00
Henrik Levkowetz 27351c4349 Fixed url lookups for doc.views_doc.document_main() to only use dotted-path, and removed the doc_view explicit url name. Fixes a 500 error in /submit/status/NNNN/.
- Legacy-Id: 12897
2017-02-22 11:40:55 +00:00
Henrik Levkowetz 988a2b808f Added explicit charset setting and consistent encoding to several email paths through the datatracker. After introducing support for non-ascii names in email addresses, using role.formatted_email() to insert names into email content doesn't work any more, since uncode names will now be rfc2047-encoded in formatted_email(). Added another method role.name_and_email() for this case. Replaced another case of '%s <%s>' name-and-email formatting with formataddr(). Fixed some tests which did not send unicode email bodies to the email functions. Fixes issue #2017.
- Legacy-Id: 12896
2017-02-21 19:17:10 +00:00
Henrik Levkowetz c889856dfa Added a validator to Document.title to prevent control chars in the title (complementing a recent cleanup of more than 120 instances of document titles containing vertical tabs)
- Legacy-Id: 12893
2017-02-20 20:47:37 +00:00
Henrik Levkowetz 858d855eff Changed the new account creation to require a proper name at the same time as the account password is set, before actually creating the account. Also tweaked the password strength and confirmation code.
- Legacy-Id: 12892
2017-02-20 16:50:39 +00:00
Henrik Levkowetz 8a8cf5b811 Set version info and settings back to development mode
- Legacy-Id: 12890
2017-02-20 11:45:43 +00:00
Henrik Levkowetz 73ad26c57d Set version info to release version 6.45.0 before branching.
- Legacy-Id: 12888
2017-02-20 11:45:35 +00:00
Henrik Levkowetz 876d4c93a4 Removed another explicit url() name which blocked a dotted-path reverse, causing 500 for ipr// urls.
- Legacy-Id: 12882
2017-02-19 19:52:56 +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 95570d10d4 Set version info and settings back to development mode
- Legacy-Id: 12879
2017-02-19 11:42:41 +00:00
Henrik Levkowetz 11ef465998 Set version info to release version 6.44.1 before branching.
- Legacy-Id: 12877
2017-02-19 11:42:33 +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 b8815b00c5 Don't use person.plain_name() when constructing email addresses, as it can contain unicode characters which the current email pipeline can't handle correctly. Use person.plain_ascii() instead (or person.formatted_email()).
- Legacy-Id: 12865
2017-02-16 22:59:53 +00:00
Henrik Levkowetz 3d56952d56 Set version info and settings back to development mode
- Legacy-Id: 12856
2017-02-16 10:14:14 +00:00
Henrik Levkowetz d81fcb904c Set version info to release version 6.44.0 before branching.
- Legacy-Id: 12854
2017-02-16 10:14:05 +00:00
Henrik Levkowetz c344a18bdf Fixed an issue with the test-crawler which could cause false positives for urls containing apostrophe.
- Legacy-Id: 12851
2017-02-16 09:58:34 +00:00
Henrik Levkowetz 7b7a220df4 Fixed a html entity issue.
- Legacy-Id: 12850
2017-02-16 09:57:24 +00:00
Henrik Levkowetz 74af0f5658 Replaced another bunch of explicit url names with dotted-path to the view function.
- Legacy-Id: 12849
2017-02-15 22:11:20 +00:00
Henrik Levkowetz efc77762be Added the ability for logged-in users to change their login (username) to any of the active email addresses of the account. Fixes ticket #2052.
- Legacy-Id: 12843
2017-02-15 16:59:23 +00:00
Henrik Levkowetz 44ad914fba Tweaked the company name extraction code in class Draft.
- Legacy-Id: 12842
2017-02-15 14:09:54 +00:00
Henrik Levkowetz 0f4207c997 Added support for indicating the primary email address of one's datatracker account. Fixes issue #2106.
- Legacy-Id: 12841
2017-02-15 01:32:08 +00:00
Henrik Levkowetz bb5e5b97ba Another tweak to handle page break paragraph joins better in class Draft.
- Legacy-Id: 12840
2017-02-14 17:41:30 +00:00
Henrik Levkowetz 29567adf34 Merged in [12835] from rcross@amsl.com:
Fixes #2202.  Interim sessions appear unordered.  Switch templates to use ordered assignments() related object manager.  Also removed now unused template filters.
 - Legacy-Id: 12839
Note: SVN reference [12835] has been migrated to Git commit 8607be0e21
2017-02-14 16:22:54 +00:00
Henrik Levkowetz 3949616482 Added a menu entry for Document Search
- Legacy-Id: 12838
2017-02-14 15:29:52 +00:00
Henrik Levkowetz 6158221fa8 Tweaked the author extraction to recognize short lines as paragraph ends, not only lines ending in '.' or ':'
- Legacy-Id: 12837
2017-02-14 14:23:15 +00:00
Ryan Cross 8607be0e21 Fixes #2202. Interim sessions appear unordered. Switch templates to use ordered assignments() related object manager. Also removed now unused template filters. Commit ready for merge.
- Legacy-Id: 12835
2017-02-13 22:30:21 +00:00
Henrik Levkowetz d4967c6413 Eliminated a few url() name= parameters.
- Legacy-Id: 12834
2017-02-13 21:39:11 +00:00
Henrik Levkowetz dd7b3eb71a Stabilized a number of nomcom tests by enforcing queryset ordering.
- Legacy-Id: 12833
2017-02-13 21:37:41 +00:00
Henrik Levkowetz 9b23816a22 Stabilized a number of nomcom tests by enforcing queryset ordering.
- Legacy-Id: 12832
2017-02-13 20:58:28 +00:00
Henrik Levkowetz f6a1fcdaf8 Added more information about submission errors and a full idnits run to the manual post email sent to the secretariat.
- Legacy-Id: 12831
2017-02-13 20:37:47 +00:00
Henrik Levkowetz 60da61b540 First attempt at some API documentation.
- Legacy-Id: 12830
2017-02-13 17:41:55 +00:00
Henrik Levkowetz e5f889764c Fixed a problem with stability of test_accept_reject_nomination_edges(), and made some changes to make debugging this easier.
- Legacy-Id: 12829
2017-02-13 15:55:55 +00:00
Henrik Levkowetz 5556e87a07 Removed some filterwarnings which were overtaken by events.
- Legacy-Id: 12828
2017-02-13 15:40:50 +00:00
Henrik Levkowetz 40c73cd483 Tweaked the password strength indicator, and added indication of offline cracking time for throughput 10e4 attempts per second.
- Legacy-Id: 12827
2017-02-12 17:12:03 +00:00
Henrik Levkowetz 350ea9efcf Removed all use of timedeltafield by converting old migrations to reference compatible types.
- Legacy-Id: 12825
2017-02-12 17:10:06 +00:00
Henrik Levkowetz 7f607c51d2 Changed from old-style to new-style middleware.
- Legacy-Id: 12824
2017-02-12 17:07:48 +00:00
Henrik Levkowetz a1606e8f7d Added a 'htmlfilters' tag library containing 'removetags'
- Legacy-Id: 12823
2017-02-12 17:05:55 +00:00
Henrik Levkowetz aeede944d1 Added Django and Python version information to the page footer.
- Legacy-Id: 12822
2017-02-11 23:43:18 +00:00
Henrik Levkowetz 104d4c7b1a Added Django and Python version information to the page footer.
- Legacy-Id: 12821
2017-02-11 23:42:51 +00:00
Henrik Levkowetz 553338fe9a Added some updates to /release/about
- Legacy-Id: 12820
2017-02-11 23:40:55 +00:00
Henrik Levkowetz 3fd890abbd Fixed a urlreverse kwargs bug.
- Legacy-Id: 12819
2017-02-11 14:48:55 +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
Henrik Levkowetz 0922c6c984 Added ordering by name to group personnel lists in edit and about views. This ordering is by the person's profile name, without attempting to determine which name part is family name or given name. Fixes #2184.
- Legacy-Id: 12817
2017-02-10 22:02:29 +00:00
Henrik Levkowetz 761ed8a723 Extended name_parts to consider military rank prefixes.
- Legacy-Id: 12816
2017-02-10 21:58:39 +00:00
Henrik Levkowetz 19d585255a Django 1.10 does not permit the view argument to url() to be a string any more. Changed all cases view arguments to url() which were strings to instead reference the actual imported function.
- Legacy-Id: 12815
2017-02-10 14:49:16 +00:00
Henrik Levkowetz 2d8963cde7 Fixed an import issue
- Legacy-Id: 12814
2017-02-10 14:44:23 +00:00
Henrik Levkowetz 088e2ca7f4 Removed dead code which used to work around a now fixed bug (and also used a now removed django function)
- Legacy-Id: 12813
2017-02-10 14:43:37 +00:00
Henrik Levkowetz 2b4f4b0302 Merged django-1.10 work forward to 6.43.0
- Legacy-Id: 12812
2017-02-10 11:05:43 +00:00
Henrik Levkowetz deb8ab6dba Changed the nomcom __getattr__ mixin manager so as to not interfere with django 1.10 internals.
- Legacy-Id: 12811
2017-02-10 11:02:06 +00:00
Henrik Levkowetz b762273400 Removed some old warning filters (OBE)
- Legacy-Id: 12810
2017-02-10 11:00:38 +00:00
Henrik Levkowetz 77f1a25f0a Set version info and settings back to development mode
- Legacy-Id: 12807
2017-02-10 10:52:24 +00:00
Henrik Levkowetz 102bffc700 Set version info to release version 6.43.0 before branching.
- Legacy-Id: 12805
2017-02-10 10:52:16 +00:00
Henrik Levkowetz c7ec188d3f Added a migration to capture the ordering option on Nominee.
- Legacy-Id: 12801
2017-02-10 10:29:07 +00:00
Henrik Levkowetz 0c784f9976 Added an ordering for Nominee objects.
- Legacy-Id: 12800
2017-02-09 21:07:22 +00:00
Henrik Levkowetz 996f78135d Expanded the nominee __unicode__() method to provide unique results by including the nomcom year.
- Legacy-Id: 12799
2017-02-09 21:02:43 +00:00
Henrik Levkowetz 7dea44e626 Added a change password page, and linked to it from the account profile page and user menu. Added zxcvbn-based browser-side password strength estimation on the various password setting, re-setting, and changing forms. Added a change password test. Changed ietfauth/urls.py to not use the deprecated string form for views in urlpatterns.
- Legacy-Id: 12798
2017-02-09 17:03:44 +00:00
Henrik Levkowetz 93efc4470a Re-styled some auth-related forms to use a narrower form body on large screens, for aesthethic reasons.
- Legacy-Id: 12797
2017-02-09 16:58:11 +00:00
Henrik Levkowetz b1bbf9850f Added an explicit setting for the password hashers to use, in order to place the bcrypt hasher first. This makes BCrypt the default hasher. Added the django_password_strength app to installed apps.
- Legacy-Id: 12796
2017-02-09 16:53:08 +00:00
Henrik Levkowetz cbd958e16a Added the zxcvbn bower component, for use in client-side password strength estimation.
- Legacy-Id: 12795
2017-02-09 16:50:51 +00:00
Henrik Levkowetz 6c3a4015c5 Tweaked the IPR Details page to show the possible a), b), and c) choices under section 'V' when licensing declaration to be provided later has been chosen.
- Legacy-Id: 12793
2017-02-08 18:04:34 +00:00
Henrik Levkowetz db1cc15f1f Undid last commit
- Legacy-Id: 12792
2017-02-08 18:03:29 +00:00
Henrik Levkowetz 15628c698f Tweaked the IPR Details page to show the possible a), b), and c) choices under section 'V' when licensing declaration to be provided later has been chosen.
- Legacy-Id: 12791
2017-02-08 18:02:03 +00:00
Henrik Levkowetz ffb029300f Added a guard to prevent trying to get a document path for a meeting document when the document is not associated with a meeting session.
- Legacy-Id: 12790
2017-02-08 17:00:12 +00:00
Henrik Levkowetz 49a899fe66 Added support for management of trac wikis for explicitly named groups, such as the IESG and IAOC. Tweaked the dummy-run handling of the create_group_wikis management command.
- Legacy-Id: 12789
2017-02-08 16:37:31 +00:00
Henrik Levkowetz 8a8283f537 Fixed a pyflakes issue.
- Legacy-Id: 12788
2017-02-07 17:50:06 +00:00
Henrik Levkowetz ee7ac81351 Updated bower-managed static web assets.
- Legacy-Id: 12783
2017-02-02 18:15:17 +00:00
Henrik Levkowetz 0948c4a0f3 Applying format_html() in simple_tag-registered tags as per the suggestions for Django-1.9 upgrade wasn't straightforward. Reverting to earlier code for ballot-icond link.
- Legacy-Id: 12782
2017-02-02 14:24:36 +00:00
Henrik Levkowetz dca5c9c4d4 Fixed a bug in a queryset argument in all_id_text(); __in was not used, but the value given was a multi-row queryset.
- Legacy-Id: 12780
2017-02-02 12:24:27 +00:00
Henrik Levkowetz e94129641d @register.simple_tag now (in Django 1.9) needs explicit mark_safe() (or format_html() which invokes mark_safe()). Fixed one case which needed this.
- Legacy-Id: 12779
2017-02-01 20:46:51 +00:00
Henrik Levkowetz 2d02ec9237 Set version info and settings back to development mode
- Legacy-Id: 12775
2017-02-01 18:12:27 +00:00
Henrik Levkowetz 900964824c Set version info to release version 6.42.0 before branching.
- Legacy-Id: 12773
2017-02-01 18:12:19 +00:00
Henrik Levkowetz 30b2abeaf1 New migration for django 1.9 country- and time_zone choices.
- Legacy-Id: 12769
2017-02-01 17:01:50 +00:00
Henrik Levkowetz de3976bec0 Merged in Django 1.9 upgrade work from ^/personal/henrik/6.41.1-django-1.9
- Legacy-Id: 12764
2017-01-31 15:13:01 +00:00
Henrik Levkowetz 70d4ef3e36 Set version info and settings back to development mode
- Legacy-Id: 12762
2017-01-31 14:09:11 +00:00
Henrik Levkowetz ade8ea25b7 Set version info to release version 6.41.1 before branching.
- Legacy-Id: 12760
2017-01-31 14:09:04 +00:00
Henrik Levkowetz 55b430b525 Merged in [12748] from rcross@amsl.com:
Fixes #2172.  Add Requested Resources and People who must be there, to email notifications of session requests.
 - Legacy-Id: 12757
Note: SVN reference [12748] has been migrated to Git commit eeb35e997d
2017-01-30 23:22:45 +00:00
Henrik Levkowetz 40e8380751 Merged django 1.9 work forward to copy of trunk @6.41.0
- Legacy-Id: 12756
2017-01-30 23:13:02 +00:00
Ryan Cross eeb35e997d Fixes #2172. Add Requested Resources and People who must be there, to email notifications of session requests. Commit ready for merge.
- Legacy-Id: 12748
2017-01-27 23:32:52 +00:00
Henrik Levkowetz fa47517fed Added our own copy of the old django admin css, to keep the admin look-and-feel (the new admin lacks table cell borders and is much harder on the eyes -- also takes up more space).
- Legacy-Id: 12747
2017-01-27 18:14:00 +00:00
Henrik Levkowetz ccfbde8d33 Fixed an issue with building links from URLs which are already part of a link. Fixes issue #2175.
- Legacy-Id: 12742
2017-01-26 20:11:46 +00:00
Henrik Levkowetz 0481d97650 Fixed a place where missing queryargument data could cause a 500 error.
- Legacy-Id: 12741
2017-01-26 19:24:34 +00:00
Henrik Levkowetz 2cd7ebd636 Set version info and settings back to development mode
- Legacy-Id: 12737
2017-01-26 12:19:34 +00:00
Henrik Levkowetz be8e50c7ec Set version info to release version 6.41.0 before branching.
- Legacy-Id: 12735
2017-01-26 12:19:26 +00:00
Henrik Levkowetz 08058d5270 Changed the title of Section 7 of the IESG agenda as requested. Fixes issue #2167.
- Legacy-Id: 12732
2017-01-25 21:49:29 +00:00
Henrik Levkowetz c86c6e5d4e Fixed up the div tree to bring back the section navigation on the IESG agenda, and fixed the div level and width for the footer.
- Legacy-Id: 12731
2017-01-25 21:41:03 +00:00
Henrik Levkowetz 1d7b081dd9 Fixed a migration reference issue.
- Legacy-Id: 12728
2017-01-24 22:02:00 +00:00
Henrik Levkowetz 419c7f2ad9 Fixed a migration number collision.
- Legacy-Id: 12727
2017-01-24 22:00:25 +00:00
Henrik Levkowetz e9f2357ae3 Merged in [12724] from rcross@amsl.com:
Fixes #2141.  Resolve issue with merge_person_records caused by Django 1.8 upgrade.
 - Legacy-Id: 12726
Note: SVN reference [12724] has been migrated to Git commit 68bd38d22d
2017-01-24 21:57:18 +00:00
Henrik Levkowetz 2ab4caa90f Merged in [12722] from rjsparks@nostrum.com:
Added programs to the datatracker. Added use of restructuredtext for group about pages. Generalized several places where code handles different group types. Improved testing of group about.
 - Legacy-Id: 12725
Note: SVN reference [12722] has been migrated to Git commit e0ea8b0f57
2017-01-24 21:30:10 +00:00
Ryan Cross 68bd38d22d Fixes #2141. Resolve issue with merge_person_records caused by Django 1.8 upgrade. Commit ready for merge.
- Legacy-Id: 12724
2017-01-24 20:47:41 +00:00
Henrik Levkowetz 79c44d25ea Changed settings_sqlitetest so that local developer additions to context processors and middleware classes are avoided.
- Legacy-Id: 12723
2017-01-24 20:42:51 +00:00
Robert Sparks e0ea8b0f57 Added programs to the datatracker. Added use of restructuredtext for group about pages. Generalized several places where code handles different group types. Improved testing of group about. Commit ready for merge.
- Legacy-Id: 12722
2017-01-24 19:55:49 +00:00
Henrik Levkowetz 6f5c0fdd23 Added a trac-admin role name, for help in assigning trac-admin rights to trac instances. Extended the create_group_wikis management command to create and update wikis for groups of type 'team','ag' and 'dir', in addition to 'wg','rg' and 'area'; and also add people with role trac-admin in the group or in the secretariat to those given TRAC_ADMIN permissions in a Trac instance.
- Legacy-Id: 12721
2017-01-24 17:21:11 +00:00
Henrik Levkowetz 1fef6fb1d3 Deprecation fix: removed additional cases of using instance_context in render*()
- Legacy-Id: 12720
2017-01-23 22:56:34 +00:00
Henrik Levkowetz e2640f358b Changed semantics for can_manage_group() to include chairs etc, and changed calls with the old semantics to use can_manage_group_type(). Rewrote can_manage_group() in terms of can_manage_group_type() and additional checks. Fixes issue #2155.
- Legacy-Id: 12719
2017-01-23 22:54:36 +00:00
Henrik Levkowetz 5a5bb1f03f Removed useless code.
- Legacy-Id: 12718
2017-01-23 21:29:36 +00:00
Henrik Levkowetz 435b109673 Added needed fixtures to RedirectsTests
- Legacy-Id: 12717
2017-01-23 20:10:36 +00:00
Henrik Levkowetz a5d1aca525 Save database object before using it.
- Legacy-Id: 12716
2017-01-23 19:42:03 +00:00
Henrik Levkowetz 650ffe3c15 Fixed some additional cases of template if statements not using '=='.
- Legacy-Id: 12715
2017-01-23 18:56:44 +00:00
Henrik Levkowetz 613f0c8233 Pyflakes fixes.
- Legacy-Id: 12714
2017-01-23 18:35:58 +00:00
Henrik Levkowetz bdbddc8efd Rewrote a test to provide on-disk files instead of StringIO files to argparse (it seems optparse could handle this, but argparse can't).
- Legacy-Id: 12713
2017-01-23 18:23:05 +00:00
Henrik Levkowetz ef1b404fe3 Removed an extraneous request parameter.
- Legacy-Id: 12712
2017-01-23 18:21:15 +00:00
Henrik Levkowetz 6de7be6953 Specified strip=False for another bunch of CharField form fields with Textarea widgets.
- Legacy-Id: 12711
2017-01-23 17:38:56 +00:00
Henrik Levkowetz 823dd980f1 Merged in [12706] from rjsparks@nostrum.com:
Restrict editing ReviewSettings.skip_next to team secretaries and the secretariat. Improve validation of skip_next value. Fixes #2149.
 - Legacy-Id: 12710
Note: SVN reference [12706] has been migrated to Git commit 518f7a1d65
2017-01-23 17:32:37 +00:00
Henrik Levkowetz 67c5ccd1f8 Changed executable mode
- Legacy-Id: 12709
2017-01-20 20:59:48 +00:00
Henrik Levkowetz fa60671148 Fixed another instance of '=' being used for comparison in a template.
- Legacy-Id: 12708
2017-01-19 21:21:10 +00:00
Henrik Levkowetz 450c39af23 Changed the failure leeway of the code coverage test percentage from 0.005% back to 0.02%.
- Legacy-Id: 12707
2017-01-19 20:01:19 +00:00
Robert Sparks 518f7a1d65 Restrict editing ReviewSettings.skip_next to team secretaries and the secretariat. Improve validation of skip_next value. Fixes #2149. Commit ready for merge.
- Legacy-Id: 12706
2017-01-19 19:17:29 +00:00
Henrik Levkowetz 93b1ba1e8f Set version info and settings back to development mode
- Legacy-Id: 12684
2017-01-19 17:41:11 +00:00
Henrik Levkowetz 2cd92a9f50 Set version info to release version 6.40.4 before branching.
- Legacy-Id: 12682
2017-01-19 17:41:04 +00:00
Henrik Levkowetz 4c86cfc63d Fixed two cases of templates using '=' in tests instead of '=='.
- Legacy-Id: 12679
2017-01-19 17:30:27 +00:00
Henrik Levkowetz 1dba613197 Merged in [12675] from rjsparks@nostrum.com:
Removed some unnecessary randomness in tests introduced in last commit.
 - Legacy-Id: 12678
Note: SVN reference [12675] has been migrated to Git commit 4f2f691de6
2017-01-19 17:24:08 +00:00
Henrik Levkowetz fd2304e446 In Django 1.9, CharField form fields will be whitespace-stripped by default. Added strip=False for the status change review form content. Also removed a superfluous f.close().
- Legacy-Id: 12677
2017-01-19 17:15:28 +00:00
Henrik Levkowetz 7c2a161a5f Removed some remaining instances of render using context_instance. Fixed a case of tuple length of list of tuples passed to a template to be the same for all tuples.
- Legacy-Id: 12676
2017-01-19 17:08:27 +00:00
Robert Sparks 4f2f691de6 Removed some unnecessary randomness in tests introduced in last commit. Commit ready for merge.
- Legacy-Id: 12675
2017-01-19 16:37:00 +00:00
Henrik Levkowetz 2414b932e2 Deprecation fix: removed 'load firstof from future'.
- Legacy-Id: 12674
2017-01-19 16:16:52 +00:00
Henrik Levkowetz 7d71a24358 Added a save for a session presentation object before adding a reference to it.
- Legacy-Id: 12673
2017-01-19 16:11:37 +00:00