Commit graph

9898 commits

Author SHA1 Message Date
Henrik Levkowetz 1fd4a4d1a7 Added session ical links to document lists (WG docs, search results, etc.) for documents on upcoming meeting agendas. Reduced the query and rendering times of document lists some more through additional prefetch_related().
- Legacy-Id: 14799
2018-03-14 19:16:50 +00:00
Henrik Levkowetz 88c3e9055b - Legacy-Id: 14798 2018-03-14 19:14:53 +00:00
Henrik Levkowetz 98f64dfea4 Added result caching for the Person.email() method.
- Legacy-Id: 14797
2018-03-14 19:14:16 +00:00
Henrik Levkowetz f7130529d6 Explanatory comment to self, after repeating the same search for where 'sql_queries' is made available to templates again ...
- Legacy-Id: 14796
2018-03-14 19:13:10 +00:00
Henrik Levkowetz fdba464808 Added result caching for a couple of Document methods.
- Legacy-Id: 14795
2018-03-14 19:11:18 +00:00
Henrik Levkowetz 428c451692 Added a missing tag to the sanitizer whitelist (telling lxml's Cleaner to not clean style with style=False is apparently not always enough). Fixes issue #2470.
- Legacy-Id: 14794
2018-03-14 18:52:11 +00:00
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