Commit graph

9942 commits

Author SHA1 Message Date
Henrik Levkowetz 1743f0e591 Removed an unused import
- Legacy-Id: 18110
2020-06-30 20:24:23 +00:00
Henrik Levkowetz 90b4783082 Fixed a bug in the caching of the agenda where too much was cached. Fixes issue #3008.
- Legacy-Id: 18109
2020-06-30 18:34:11 +00:00
Henrik Levkowetz 0924640676 Removed the command to purge request_profiler entries, given that request_profiler is incompatible with Django 2.2
- Legacy-Id: 18107
2020-06-30 14:34:15 +00:00
Henrik Levkowetz 0a7b3be977 Renamed the automatic schedule generator command from 'schedule_generator' to 'generate_schedule', to match our other 'generate_*' management commands. Added some switches to the command, and added more information to the default output, providing information about number of optimisation runs and time consumed. Added a default value for the meeting option. Made it possible to provide a name to use for the generated schedule, and changed the autogenerated names to be easier to remember and type for later manual work based on an autogenerated schedule.
- Legacy-Id: 18106
2020-06-30 14:27:07 +00:00
Henrik Levkowetz 62e1a17579 Fixed an issue with openid_userinfo() for persons with no email address.
- Legacy-Id: 18105
2020-06-30 13:50:02 +00:00
Henrik Levkowetz 12fc334279 Renamed and adjusted a migration to avoid multiple migration leaf nodes.
- Legacy-Id: 18101
2020-06-29 17:02:42 +00:00
Henrik Levkowetz 6170ebd64a Merged in the final part of the automatic scheduler from sasha@dashcare.nl.
- Legacy-Id: 18100
2020-06-29 16:54:51 +00:00
Henrik Levkowetz 4386aa0c01 Set version info and settings back to development mode
- Legacy-Id: 18095
2020-06-29 10:57:37 +00:00
Henrik Levkowetz 72904cb16e Set version info to release version 7.6.0 before branching.
- Legacy-Id: 18093
2020-06-29 10:56:36 +00:00
Henrik Levkowetz 8837eb9067 Merged in Django 2.2 changes.
- Legacy-Id: 18090
2020-06-27 20:56:10 +00:00
Henrik Levkowetz 8892a6b725 Removed unused imports.
- Legacy-Id: 18089
2020-06-27 17:40:28 +00:00
Henrik Levkowetz 94d2171c22 Removed unused imports.
- Legacy-Id: 18088
2020-06-27 17:38:43 +00:00
Henrik Levkowetz cb9006eb26 Changed skip messages from test suites to use print() instead of sys.stderr.write(), to match other output from the test runner.
- Legacy-Id: 18087
2020-06-27 17:32:02 +00:00
Henrik Levkowetz 47a2174e80 Django 2.2 does not wrap single queries in transactions, for performance reasons. This caused some template tags that did database lookups to trigger exceptions. Fixed by moving the lookups (which would not normally change between apache reloads) out from the template tag code to module scope. Adding new groups of type ['ag','area','team','dir','program'] will now require a reload to show up in the group menu.
- Legacy-Id: 18086
2020-06-27 17:28:50 +00:00
Henrik Levkowetz 10b56c4e33 Fixed a place where data provider for a POST in contained None, which cannot be serialized into POST data. Found by Django 2.2 checks.
- Legacy-Id: 18085
2020-06-27 17:23:47 +00:00
Henrik Levkowetz cabf95daf9 Fixed an issue where a session was saved without a type_id, found by the Django 2.2 checks. The code set the value just after the first save, and then did a second save, but this is 1) more costly, and 2) keeps an invalid session object in the database for a short time.
- Legacy-Id: 18084
2020-06-27 17:21:57 +00:00
Henrik Levkowetz 9047875296 Removed an unused parameter from submit.tests.do_submission_email().
- Legacy-Id: 18082
2020-06-27 17:17:22 +00:00
Henrik Levkowetz 4649c9ae4e Added a warnings filter. Removed the use request_profiler, which is not compatible with Django 2.2.
- Legacy-Id: 18081
2020-06-27 17:15:25 +00:00
Henrik Levkowetz 93e07f8650 Changed deprecated 'load staticfiles' to recommended 'load static'
- Legacy-Id: 18080
2020-06-27 13:51:19 +00:00
Henrik Levkowetz fcfc71684c Set version info and settings back to development mode
- Legacy-Id: 18077
2020-06-27 12:21:09 +00:00
Henrik Levkowetz 06510f77ae Set version info to release version 7.5.0 before branching.
- Legacy-Id: 18075
2020-06-27 12:20:48 +00:00
Henrik Levkowetz bbb5b9ce3f Merged in [18064] from rjsparks@nostrum.com:
Change group edit field url regexp to accept the field names (specifically role names) we use by allowing hyphens.
 - Legacy-Id: 18072
Note: SVN reference [18064] has been migrated to Git commit db0f902145
2020-06-27 11:55:12 +00:00
Henrik Levkowetz 8c90c53463 Added meeting registration 'affiliation' field to the OAuth2 'registration' scope, so that Meetecho will have the information needed build bluesheets.
- Legacy-Id: 18070
2020-06-26 19:26:28 +00:00
Henrik Levkowetz 9910d1ecf0 Added the use of local test directories instead of default settings for bluesheet files in the bluesheet upload API test.
- Legacy-Id: 18069
2020-06-26 15:37:21 +00:00
Henrik Levkowetz 3a76e4a935 Added an API endpoint for bluesheet information upload. Factored out code in common with manual upload_session_bluesheets(). Tweaked ietf.secr.proceedings.utils.handle_upload_file() to handle temp files in addition to http file objects, to support the API endpoint.
- Legacy-Id: 18067
2020-06-26 14:49:13 +00:00
Robert Sparks db0f902145 Change group edit field url regexp to accept the field names (specifically role names) we use by allowing hyphens. Commit ready to merge.
- Legacy-Id: 18064
2020-06-25 20:41:49 +00:00
Henrik Levkowetz 729b52fb36 Added a switchover date (currently July 6th) for Etherpad to CodiMD use, and modified views and templates accordingly.
- Legacy-Id: 18063
2020-06-25 16:35:40 +00:00
Henrik Levkowetz 6a38234b0a Tweaked the MeetingRegistration admin.
- Legacy-Id: 18062
2020-06-25 16:22:41 +00:00
Henrik Levkowetz 7c91e740a2 Added patch/fix-django-password-strength-kwargs.patch to the settings patch list.
- Legacy-Id: 18061
2020-06-24 21:33:20 +00:00
Henrik Levkowetz dc5ca4eebc Merged in Django 2.1 upgrade changes.
- Legacy-Id: 18060
2020-06-24 20:51:00 +00:00
Henrik Levkowetz b332233d6f Fixed a problem with the handling of multiple registrations for the same person and meeting in api_new_meeting_registration().
- Legacy-Id: 18059
2020-06-24 20:49:13 +00:00
Henrik Levkowetz a827c482c2 Removed the wsgi.py warning about starting without virtualenv; this is normal under Py3.
- Legacy-Id: 18058
2020-06-24 20:48:01 +00:00
Henrik Levkowetz e8094b2016 Fixed a config error in settings_testcrawl
- Legacy-Id: 18057
2020-06-24 20:47:15 +00:00
Henrik Levkowetz 27da6e86d4 Widgets' .render() method now must accept an additional keyword argument (renderer); adjusted the code accordingly (including a library patch -- pull request also submitted).
- Legacy-Id: 18056
2020-06-24 20:44:47 +00:00
Henrik Levkowetz 6459638fad Adjusted the code to the 2.1 attribute name change from ._size to .size in upload file objects.
- Legacy-Id: 18054
2020-06-24 20:42:05 +00:00
Henrik Levkowetz 06fa5e517a Adjusted the code to the changed signature of admin.utils.get_deleted_objects()
- Legacy-Id: 18053
2020-06-24 20:39:27 +00:00
Henrik Levkowetz 7c7c5da39f Changed the 2.1 removed django.contrib.auth.views.logout to LogoutView.
- Legacy-Id: 18052
2020-06-24 20:36:46 +00:00
Henrik Levkowetz dc7581fef4 Changed NullBoleanField() to BooleanField(null=True), according to the 2.1 upgrade recommendations.
- Legacy-Id: 18051
2020-06-24 20:33:57 +00:00
Henrik Levkowetz ddf874bc77 Fixed an issue in a test function that could occasionally fail incorrectly.
- Legacy-Id: 18045
2020-06-24 11:07:11 +00:00
Henrik Levkowetz e493377a52 Fixed a problem with the code to update missing person record association in a meeting registration record.
- Legacy-Id: 18044
2020-06-24 11:03:49 +00:00
Henrik Levkowetz 595dcb75e9 Fixed a silly bug in [18040]. 'settings' isn't a dictionary.
- Legacy-Id: 18043
Note: SVN reference [18040] has been migrated to Git commit e1ed51b0b6
2020-06-23 21:16:02 +00:00
Henrik Levkowetz 649831e7c7 Added a default logger and level for 'django.security' log items, to route them to our regular syslog. This will give us more information about failures to retrieve session info, and also things like 404 responses, which will already be captured in the apache log but with less info. May need revisiting if it proves to cause excessive logging.
- Legacy-Id: 18042
2020-06-23 20:47:58 +00:00
Henrik Levkowetz ed8e578a07 Separated the session cache from the default cache, using slightly different settings, in order to not drop sessions when a new release is deployed.
- Legacy-Id: 18041
2020-06-23 20:41:26 +00:00
Henrik Levkowetz e1ed51b0b6 Fixed a logging issue when running the test crawler.
- Legacy-Id: 18040
2020-06-23 20:38:33 +00:00
Robert Sparks f7b1ce1fce Remove abandoned charters from any future telechats. Fixes #3003. Commit ready for merge.
- Legacy-Id: 18037
2020-06-22 21:22:54 +00:00
Robert Sparks da0c81d78f Tweak to title of the page used to complete reviews. Fixes #2767. Commit ready to merge.
- Legacy-Id: 18036
2020-06-22 20:32:58 +00:00
Henrik Levkowetz 5ea79b87dd Set version info and settings back to development mode
- Legacy-Id: 18031
2020-06-22 13:59:28 +00:00
Henrik Levkowetz c4f454f996 Set version info to release version 7.4.0 before branching.
- Legacy-Id: 18029
2020-06-22 13:59:08 +00:00
Henrik Levkowetz 66d2fd8604 Merged in [18021] from rjsparks@nostrum.com:
A little less waste creating meeting/interim test data.
 - Legacy-Id: 18024
Note: SVN reference [18021] has been migrated to Git commit ba41f9ba95
2020-06-22 13:18:12 +00:00
Henrik Levkowetz 0f17e03121 Merged in [18020] from rjsparks@nostrum.com:
Construct Faker objects used for person name generation only once. Results in a roughly 20% speedup of the test-suite.
 - Legacy-Id: 18023
Note: SVN reference [18020] has been migrated to Git commit c60cc1b1a0
2020-06-22 12:58:44 +00:00