Henrik Levkowetz
|
37655a0410
|
Gave the 404 message a class which will make it easier to pick out the message during testing.
- Legacy-Id: 14826
|
2018-03-15 13:43:08 +00:00 |
|
Henrik Levkowetz
|
dedf681c2d
|
Updated the meeting materials document view to handle urls with revisions.
- Legacy-Id: 14825
|
2018-03-14 22:13:27 +00:00 |
|
Henrik Levkowetz
|
088b7bfa1e
|
Updated the meeting document href patterns in settings.py to reflect that we now have versioned agendas, minutes, and slides.
- Legacy-Id: 14824
|
2018-03-14 22:12:25 +00:00 |
|
Henrik Levkowetz
|
a04e187f0f
|
Removed some old debug print statements.
- Legacy-Id: 14823
|
2018-03-14 22:11:06 +00:00 |
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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 |
|
Henrik Levkowetz
|
2828683cee
|
Replaced html sanitization code that called html5lib directly with calls to bleach, and upgraded the requirements to let us use the latest html5lib and bleach.
- Legacy-Id: 14739
|
2018-03-06 18:35:34 +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
|
27914a0a90
|
Limited the lenght of the ipr document summary to 128, in order to not produce overlong message subjects. Fixes a server 500 from 5 Mar 2018.
- Legacy-Id: 14737
|
2018-03-06 12:22:03 +00:00 |
|
Henrik Levkowetz
|
6cccabe03c
|
The datatracker /html/ URLs don't currently accept revision numbers. Fix the URL in the announcement email for the time being, and improve the urls in the upcoming revisit of htmlized draft pages.
- Legacy-Id: 14736
|
2018-03-05 21:57:08 +00:00 |
|
Henrik Levkowetz
|
28536bb293
|
Fixed a typo. Fixes issue #2466.
- Legacy-Id: 14735
|
2018-03-05 21:37:22 +00:00 |
|
Henrik Levkowetz
|
430f313cec
|
Set version info and settings back to development mode
- Legacy-Id: 14733
|
2018-03-04 16:07:52 +00:00 |
|
Henrik Levkowetz
|
687d1e1466
|
Set version info to release version 6.74.0 before branching.
- Legacy-Id: 14731
|
2018-03-04 16:07:42 +00:00 |
|