Commit graph

66 commits

Author SHA1 Message Date
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
Robert Sparks fb8e5c6842 Allow IAB programs to use normal meeting mechanics. Fixes #2970. Commit ready for merge.
- Legacy-Id: 17764
2020-05-08 21:11:25 +00:00
Henrik Levkowetz f2b883d2bb Merged in ^/trunk@17617.
- Legacy-Id: 17618
2020-04-14 17:11:51 +00:00
Henrik Levkowetz 0df0a87a48 Added a workaround for the current libmagic which quite easily can mischaracterise text/plain documents as text/x-Algol68. Fixes issues #2941 and #2956.
- Legacy-Id: 17594
2020-04-07 18:33:24 +00:00
Henrik Levkowetz f10ddadc0e Merged in changes from trunk up to r17584.
- Legacy-Id: 17593
2020-04-07 16:02:52 +00:00
Henrik Levkowetz 5cecc0bee2 Added validation of the duration in interim meeting requests, with settings for min and max duration in settings.
- Legacy-Id: 17591
2020-04-07 10:40:14 +00:00
Robert Sparks 1664438c52 Allow area groups to request interim meetings. Fixed #2919. Commit ready for merge.
- Legacy-Id: 17442
2020-03-16 16:45:01 +00:00
Robert Sparks 6248706959 Make required AD approval of virtual interims configurable. Fixes #2912. Commit ready for merge.
- Legacy-Id: 17425
2020-03-12 19:12:57 +00:00
Henrik Levkowetz 726fcbf27d Removed all __future__ imports.
- Legacy-Id: 17391
2020-03-05 23:53:42 +00:00
Ole Laursen 568670c060 Turn sessions into regular sessions and non-sessions into misc.
sessions in the UI and code to avoid ambiguity.

This doesn't change the data in the DB except for uses of
TimeSlotTypeName where 'session' is now 'regular'.
 - Legacy-Id: 17128
2019-12-06 20:02:26 +00:00
Ole Laursen 3957743b85 Move Session.status, .requested, and .requested_by to a new SchedulingEvent
- Legacy-Id: 17122
2019-12-05 12:41:09 +00:00
Ole Laursen 0555879777 Rename Meeting.agenda to Meeting.schedule together with a bunch of
related internal things
 - Legacy-Id: 17051
2019-11-18 17:22:19 +00:00
Henrik Levkowetz 7039520557 Merged in [16557] from pusateri@bangj.com:
Partially addresses issue #1926 still displaying markdown as text. Fixes #2704.
 - Legacy-Id: 16576
Note: SVN reference [16557] has been migrated to Git commit f76c46bef0
2019-07-22 18:09:53 +00:00
Henrik Levkowetz 8c6eb3a30a Python2/3 compatibility: Changed the use of open() and StringIO to io.open() etc.
- Legacy-Id: 16458
2019-07-15 19:14:04 +00:00
Henrik Levkowetz 426870b766 Merged in the Document and DocAlias primary key change and m2m work in ^/personal/henrik/6.96.1-docalias.
- Legacy-Id: 16261
2019-06-15 12:00:48 +00:00
Henrik Levkowetz a2cafded25 Changed DocAlias to be many-to-many, in order to be able to handle STD aliases referring to multiple RFCs.
- Legacy-Id: 16249
2019-06-14 20:38:14 +00:00
Robert Sparks 25cc00f925 Refactored DocumentInfo to address overloading the external_url field with strings that are not URLs. Commit ready for merge.
- Legacy-Id: 15864
2019-01-02 22:55:00 +00:00
Robert Sparks 345bff8850 Added a view that generates the "send minutes" email for the secretariat. Fixes #2493. Commit ready for merge.
- Legacy-Id: 15125
2018-05-04 21:44:46 +00:00
Henrik Levkowetz c4bb28325a Feed back encoding information to the FileUploadForm when doing mime type validation, for later use in decoding.
- Legacy-Id: 14777
2018-03-13 13:51:00 +00:00
Henrik Levkowetz b92ad2f992 Added sanitization of uploaded html content for session agendas and minutes, and did some refactoring of the upload form classes.
- Legacy-Id: 14738
2018-03-06 15:55:30 +00:00
Henrik Levkowetz 1f976da5c1 Third part of document read refactoring, after [14406] and [14410]. This replaces all usage of the non-unicode-aware get_document_content() function with unicode-aware Document.text() or Document.text_or_error() methods. This was triggered by yet another report of unicode content not being shown properly, and should fix all instances of document (drafts, agendas, minutes, etc.) display in the datatracker not handling unicode characters properly.
- Legacy-Id: 14411
Note: SVN reference [14406] has been migrated to Git commit 967ece7e7d

Note: SVN reference [14410] has been migrated to Git commit 660c81c272
2017-12-11 16:23:51 +00:00
Henrik Levkowetz 660c81c272 Tweaked the file content read refactoring in [14406] to try latin-1 conversion if unicode doesn't work.
- Legacy-Id: 14410
Note: SVN reference [14406] has been migrated to Git commit 967ece7e7d
2017-12-10 17:48:09 +00:00
Henrik Levkowetz 967ece7e7d Started refactoring of reading text from document files (drafts, charters, etc.) in order to normalise on one way of doing this, and making that return unicode rather than undecoded bytes. This is the first step of two, in order to gauge the possible issues and report on discrepancies.
- Legacy-Id: 14406
2017-12-08 21:51:11 +00:00
Henrik Levkowetz 4f83548b49 Added a new field Meeting.days to capture the length of a meeting. This is necessary now that we have previous meetings officially starting Sunday, lasting to Friday, and future meetings starting Saturday, Lasting to Friday. We use Meeting.days to calculate Meeting.end_date(). Meeting.get_ietf_monday() and two cut_off() methods have also been updated to be instance methods instead of class methods, and to not assume that a meeting starts on Sunday.
- Legacy-Id: 14225
2017-10-25 13:38:15 +00:00
Henrik Levkowetz 0c573f20fe Fixed a place where doc.save() was called instead of doc.save_with_history().
- Legacy-Id: 13844
2017-07-12 13:02:41 +00:00
Robert Sparks 2c92aa213d Treat Area Groups similar to Working Groups and Research Groups where it makes sense to do so. Commit ready for merge.
- Legacy-Id: 13832
2017-07-11 19:12:21 +00:00
Henrik Levkowetz 99fa2e4593 Fixed a problem with a formset, they don't have self.cleaned_data, so cannot return it. Fixes issue #2310.
- Legacy-Id: 13568
2017-06-09 11:55:19 +00:00
Henrik Levkowetz 023a32715d Merged in ^/branch/iola/author-stats-r13145 from olau@iola.com, with additional features from ^/personal/henrik/6.52.1-authorstats.
- Legacy-Id: 13550
2017-06-06 18:36:59 +00:00
Henrik Levkowetz d3decdcb61 Merged in [13485] from rcross@amsl.com:
Add import of YouTube session videos using YouTube Data API.  Fixes #2249.
 - Legacy-Id: 13509
Note: SVN reference [13485] has been migrated to Git commit 7ee2a16967
2017-06-03 23:58:05 +00:00
Ryan Cross 7ee2a16967 Add import of YouTube session videos using YouTube Data API. Fixes #2249. Commit ready for merge.
- Legacy-Id: 13485
2017-06-01 18:36:46 +00:00
Henrik Levkowetz be28c2b2db Fix a date arithmetic bug.
- Legacy-Id: 13484
2017-06-01 17:28:55 +00:00
Henrik Levkowetz 76628be3fd Merged in ^/branch/iola/author-stats-r13145 from olau@iola.dk, and fixed some tests in code which moved after the latest merge with trunk. The test suite passes, but the migrations are _not_ ready to run, because of numbering conflicts (again due to code changes on trunk since the latest sync).
- Legacy-Id: 13479
2017-05-31 20:59:26 +00:00
Ryan Cross 066de1e612 When editing interim meeting request show duration as HH:MM instead of HH:MM:SS. Fixes #2226. Commit ready for merge.
- Legacy-Id: 13337
2017-05-12 21:40:20 +00:00
Ryan Cross 75a7beb596 Disallow multi-day interim meetings with non-consecutive dates. Fixes #2193. Commit ready for merge.
- Legacy-Id: 13324
2017-05-11 19:30:26 +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 8e9858379b Fixed some pyflakes and form initialization issues with the upgrade to DurationField.
- Legacy-Id: 12599
2016-12-21 17:03:39 +00:00
Henrik Levkowetz 53f343017e Use models.DurationField from django directly now that it's available, instead of the inlined copy of the 1.8 DurationField code.
- Legacy-Id: 12477
2016-12-07 19:40:18 +00:00
Henrik Levkowetz bc683ccc67 Fixed a type issue found by the new django 1.8 query type checks.
- Legacy-Id: 12452
2016-12-05 14:13:00 +00:00
Ryan Cross adf28c922f Fix issue where interim meeting request form didn't list research groups when user was a working group chair and a research group chair. Commit ready for merge.
- Legacy-Id: 12082
2016-10-04 23:42:18 +00:00
Henrik Levkowetz 52c5c0daa0 Merged in [11792] from rcross@amsl.com:
Requests for virtual interim meeting should go directly Scheduled - Waiting for announcement state and an email notification sent to the secretariat.  Fixes issue #1994.
 - Legacy-Id: 11822
Note: SVN reference [11792] has been migrated to Git commit a13b751e1a
2016-08-18 15:03:55 +00:00
Henrik Levkowetz 250af833aa Undid erroneous commit [11820].
- Legacy-Id: 11821
Note: SVN reference [11820] has been migrated to Git commit f497367658
2016-08-18 14:13:06 +00:00
Henrik Levkowetz f497367658 Provide a test materials directory for the bluesheets tests, to avoid dependency on the local directory setup.
- Legacy-Id: 11820
2016-08-18 14:10:28 +00:00
Ryan Cross a13b751e1a Fixes #1994. Requests for virtual interim meeting should go directly Scheduled - Waiting for announcement state and an email notification sent to the secretariat. Commit ready for merge.
- Legacy-Id: 11792
2016-08-15 21:04:31 +00:00
Henrik Levkowetz e7eb4975b0 Save submitted session agendas as UTF-8, not as ascii.
- Legacy-Id: 11551
2016-07-07 20:37:47 +00:00
Henrik Levkowetz 0f0686c489 Backed out previous changes; make_directories() was used in more than one place. Renamed to more expressive name.
- Legacy-Id: 11441
2016-06-21 13:28:13 +00:00
Henrik Levkowetz 1e50d5dd44 Merged in [11434] from rcross@amsl.com:
Remove legacy secretariat code for adding interim meetings in favor of new ietf.meeting interim features.
 - Legacy-Id: 11437
Note: SVN reference [11434] has been migrated to Git commit 98afcae63a752129c63f0d2e1824bbbb26dbf71f
2016-06-21 12:23:58 +00:00
Henrik Levkowetz ef8da52f27 Refactored the code to not use two different functions to get_next_interim_numbers.
- Legacy-Id: 11425
2016-06-20 18:53:12 +00:00
Henrik Levkowetz d298785fda Merged in ^/branch/amsl/interim@11230, which provides interim meeting management support. Also fixes issues #1961, #1962 and #1964.
- Legacy-Id: 11402
2016-06-17 14:16:27 +00:00
Ryan Cross c8f3760dbe refactor code dealing with interim materials path
- Legacy-Id: 11229
2016-05-23 22:58:45 +00:00
Ryan Cross ed371396c1 add tests. fix form validations
- Legacy-Id: 11219
2016-05-20 22:49:27 +00:00