Commit graph

9742 commits

Author SHA1 Message Date
Henrik Levkowetz 24a5eab0b4 Added a debug import.
- Legacy-Id: 14793
2018-03-14 17:41:49 +00:00
Henrik Levkowetz e0aed58cc1 Updated a django patch to add origin information to query sets.
- Legacy-Id: 14792
2018-03-14 17:41:11 +00:00
Henrik Levkowetz 49f00b76ea Set version info and settings back to development mode
- Legacy-Id: 14790
2018-03-14 11:04:32 +00:00
Henrik Levkowetz 46a261c2ae Set version info to release version 6.75.1 before branching.
- Legacy-Id: 14788
2018-03-14 11:04:23 +00:00
Henrik Levkowetz 4b466a2f04 Changelog entry for 6.75.1
- Legacy-Id: 14787
2018-03-14 11:04:17 +00:00
Henrik Levkowetz d79e670354 Code coverage data for release 6.75.1
- Legacy-Id: 14786
2018-03-14 11:04:12 +00:00
Henrik Levkowetz ebee642b09 Changelog entry for 6.75.1
- Legacy-Id: 14785
2018-03-14 10:36:29 +00:00
Henrik Levkowetz f435da95d7 Code coverage data for release 6.75.1
- Legacy-Id: 14784
2018-03-14 10:35:02 +00:00
Henrik Levkowetz 261726d8cc Removed a plan item done in the previous release.
- Legacy-Id: 14783
2018-03-14 10:02:03 +00:00
Henrik Levkowetz 278d868d28 Added handling for when file magic doesn't return a definitive encoding for a file. Added a test case to excercise error cases.
- Legacy-Id: 14782
2018-03-13 16:45:50 +00:00
Henrik Levkowetz 8cc61e0cf7 Changed the meeting materials uploads to use the upload file encoding found by file-magic when decoding the upload content, and also return errors to the user if decoding the upload fails. Fixes issue #2469. This will also have the benefit (since we're saving with utf-8 encoding after decoding) of having meeting materials consistently stored with a consistent encoding on the server.
- Legacy-Id: 14781
2018-03-13 14:00:51 +00:00
Henrik Levkowetz 8f4f50d5c4 Added a new argument encoding= to handle_upload_file() in order to be able to deal better with various upload encodings.
- Legacy-Id: 14780
2018-03-13 13:56:00 +00:00
Henrik Levkowetz 02105889b6 Tweaked the mime type validator so it can be called also when there's no required mime types.
- Legacy-Id: 14779
2018-03-13 13:54:04 +00:00
Henrik Levkowetz 07229b7406 Use an empty iterable instead of None in the valid upload mime-types settings when there's no required mime type, in order to simplify other code.
- Legacy-Id: 14778
2018-03-13 13:52:50 +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 2b52919c5e Added sanitize_document() and replaced sanitize_html() with sanitize_fragment() in utils.html
- Legacy-Id: 14776
2018-03-13 13:21:41 +00:00
Henrik Levkowetz 6e9bb00f13 Changed html cleaning to differentiate between fragment cleaning and document cleaning. Added an lxml-based cleaner for document cleaning, also permitting <style> tags (but not external style sheets).
- Legacy-Id: 14775
2018-03-13 12:48:22 +00:00
Henrik Levkowetz f3f77dce48 Changed order of arguments in a test assert for better error legibility.
- Legacy-Id: 14774
2018-03-13 12:38:53 +00:00
Henrik Levkowetz f7305447ba Updated PLAN
- Legacy-Id: 14773
2018-03-12 16:03:44 +00:00
Henrik Levkowetz 9d65d46b8c Set version info and settings back to development mode
- Legacy-Id: 14771
2018-03-12 15:01:34 +00:00
Henrik Levkowetz 2a3cf59410 Set version info to release version 6.75.0 before branching.
- Legacy-Id: 14769
2018-03-12 15:00:58 +00:00
Henrik Levkowetz 9d89415483 Changelog entry for 6.75.0
- Legacy-Id: 14768
2018-03-12 15:00:44 +00:00
Henrik Levkowetz 0f7d69a96b Code coverage data for release 6.75.0
- Legacy-Id: 14767
2018-03-12 15:00:03 +00:00
Henrik Levkowetz 724f1ceccc Added xmpp as an acceptable protocol in links when sanitizing.
- Legacy-Id: 14766
2018-03-12 13:17:41 +00:00
Henrik Levkowetz 5e147af541 Tweaked some icalendar urls to avoid collisions.
- Legacy-Id: 14765
2018-03-11 21:21:09 +00:00
Henrik Levkowetz 1954fc1d9f Tweaked the iCalendar urls, and added a test for interim meeting iCalendar files.
- Legacy-Id: 14764
2018-03-10 18:06:54 +00:00
Henrik Levkowetz a11cdd3b20 Expanded iCanendar generation to include interim meetings.
- Legacy-Id: 14763
2018-03-10 11:25:10 +00:00
Henrik Levkowetz fac3053d48 Fixed an issue with the milestone edit changes.
- Legacy-Id: 14762
2018-03-09 21:27:58 +00:00
Henrik Levkowetz cb051a7f59 Changed the handling of the milestone edit form to defer deletion if deletion is indicated together with other changes to the same milestone. Instead emit a warning, and ask for deletion without simultaneous changes to the milestone.
- Legacy-Id: 14761
2018-03-09 20:05:09 +00:00
Henrik Levkowetz 9287ce2b3b If there are both milestone changes and a deletion marked for a milesone, show both 'Changed' and 'Deleted' labels on the review form.
- Legacy-Id: 14760
2018-03-09 20:03:34 +00:00
Henrik Levkowetz 4f7cd5159f Updated changelog entry for release 6.75.0.
- Legacy-Id: 14759
2018-03-09 18:56:39 +00:00
Henrik Levkowetz 2d195a787c Changelog entry for release 6.75.0.
- Legacy-Id: 14758
2018-03-09 18:00:42 +00:00
Henrik Levkowetz e5bc9c2e9a Removed the use of os.chdir() during patching, instead passing the found library path to the patcher.
- Legacy-Id: 14757
2018-03-09 17:54:24 +00:00
Henrik Levkowetz cf9804f659 Adjusted the format of a patch.
- Legacy-Id: 14756
2018-03-09 17:52:32 +00:00
Henrik Levkowetz 229d84a144 Added a patch to patch.py to not change directories during patching.
- Legacy-Id: 14755
2018-03-09 17:51:40 +00:00
Henrik Levkowetz 89470dece4 Removed unwanted path elements from a patch file.
- Legacy-Id: 14754
2018-03-09 15:50:29 +00:00
Henrik Levkowetz 3b7a191feb Removed a debug print statement
- Legacy-Id: 14753
2018-03-09 15:49:25 +00:00
Henrik Levkowetz 2c0348cc7a Found that django's urlize() does not deal well with adjacent parantheses. Replaced it with a filter based on bleach.linkify, which does better.
- Legacy-Id: 14752
2018-03-09 15:07:04 +00:00
Henrik Levkowetz 1df3c715d0 Replaced the use of (at least in Django 1.11) buggy urlize() with bleach.linkify(), to avoid some exceptions caused by malformed urlize output, exposed by the new sanitize_html(). Also removed some dead code.
- Legacy-Id: 14751
2018-03-09 12:00:15 +00:00
Henrik Levkowetz cd10ba5669 Made some per-group and per-session iCalendar links show only if occurring in the future.
- Legacy-Id: 14750
2018-03-08 22:47:00 +00:00
Henrik Levkowetz 7ce7b62242 Added some warning ignore stanzas for django 2.0 deprecations related to libs.
- Legacy-Id: 14749
2018-03-08 22:45:30 +00:00
Henrik Levkowetz 94415ecd0d Updated minimum requirements
- Legacy-Id: 14748
2018-03-08 19:13:50 +00:00
Henrik Levkowetz 278f5928ce Tweaked bin/commitlog
- Legacy-Id: 14747
2018-03-08 18:46:50 +00:00
Henrik Levkowetz 1c7beb831f Added individual session icalendar links on the group materials pages.
- Legacy-Id: 14746
2018-03-08 18:38:25 +00:00
Henrik Levkowetz 2fd344f810 Tweaks to handle text types better and make set operation clearer.
- Legacy-Id: 14745
2018-03-07 21:10:47 +00:00
Henrik Levkowetz 802f201d81 Modified the sanitizer and upload handler to strip also the content of some tags, and to produce valid files (if the content is otherwise valid).
- Legacy-Id: 14744
2018-03-07 19:00:24 +00:00
Henrik Levkowetz 6e5e50c78c Added an error message for missing email in extracted author information during automated draft submission.
- Legacy-Id: 14743
2018-03-07 16:42:57 +00:00
Henrik Levkowetz df5c3af747 Changed the minimum version requirement on six, to match the needs of html5lib.
- Legacy-Id: 14742
2018-03-07 13:28:38 +00:00
Henrik Levkowetz 5964cdd880 Removed unused data.
- Legacy-Id: 14741
2018-03-07 08:24:43 +00:00
Henrik Levkowetz 51b5303191 Included mailing lists for groups in state 'bof' on the non-WG mailing list page, as that seems to match people's expectations better. Thiw was triggered by the observation that the 'iasa20' list was not listed on the page.
- Legacy-Id: 14740
2018-03-06 20:39:14 +00:00