Wykres commitów

12458 Commity (6bf0169e099a82154efe93ef20102dd6b892b723)

Autor SHA1 Wiadomość Data
Karl Hobley e919eea50e Changelog and release note for #7867 2022-01-19 09:30:56 +00:00
Dan Braghis 2cc558048f Add locale selector on forms index 2022-01-19 09:29:16 +00:00
Jake Howard f506789cff Ensure nightlies are uploaded to the correct bucket
Whilst they may be served from `.io` and `.org`, the bucket itself is `.io`. The `.org` bucket exists, but only to park in case of future use
2022-01-18 14:07:47 +00:00
Matt Westcott 760cad9b3d Fill in release date for 2.15.2 2022-01-18 11:13:27 +00:00
Matt Westcott 7c2dec3e73 Release note for CVE-2022-21683 2022-01-18 11:12:55 +00:00
jacobtoppm d2c7a4cb2b Make comment notifications not using page permissions more transparent 2022-01-18 10:25:42 +00:00
jacobtoppm 5fe901e5d8 Fix commenting thread notifications being sent to non-thread users 2022-01-18 10:25:42 +00:00
dependabot[bot] 335ece5f96 Bump copy-props from 2.0.4 to 2.0.5
Bumps [copy-props](https://github.com/gulpjs/copy-props) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/gulpjs/copy-props/releases)
- [Changelog](https://github.com/gulpjs/copy-props/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/copy-props/compare/2.0.4...2.0.5)

---
updated-dependencies:
- dependency-name: copy-props
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-16 14:38:51 +10:00
LB Johnston 207e38603c add release notes / changelog entry for #7760 2022-01-16 14:31:40 +10:00
Matt Westcott 8f91a86c38 Use form.serialize for posting the search form 2022-01-16 14:27:59 +10:00
Matt Westcott d69f73aa37 replace ajax_pagination_nav with pagination_nav 2022-01-16 14:27:59 +10:00
Matt Westcott cb661a0d0b Use TemplateView for chooser views 2022-01-16 14:27:59 +10:00
Matt Westcott d5e231cb87 Move repeated create-form logic into a helper method 2022-01-16 14:27:59 +10:00
Matt Westcott 5fb4cc8c04 tweak render_to_response to match how Django's TemplateView works 2022-01-16 14:27:59 +10:00
Matt Westcott e3d7f4219f Move repeated get_context_data logic into helper methods 2022-01-16 14:27:59 +10:00
Matt Westcott 180f78aae5 Split out get_context_data methods 2022-01-16 14:27:59 +10:00
Matt Westcott e48e34d8cf Add a create_tab.html include for both the create form and the select-task-type view
This way, the logic for deciding which view to show only happens in one place, rather than being duplicated between the chooser.html template and the TaskChooserCreateView view.
2022-01-16 14:27:59 +10:00
Matt Westcott ef31e160d9 Consistently use create_form and search_form as context variables 2022-01-16 14:27:59 +10:00
Matt Westcott 05fdea0394 Use standard form styling for 'create task' form 2022-01-16 14:27:59 +10:00
Matt Westcott d8b81df487 Move 'create' form handling into its own view that only renders that one tab 2022-01-16 14:27:59 +10:00
Matt Westcott 5ce89f11ff Split ajaxify code for the 'new' tab into its own function
This will be useful shortly when we move the form handling into its own view that renders that tab independently
2022-01-16 14:27:59 +10:00
Matt Westcott 284380672d add another helper method get_task_type_filter_choices 2022-01-16 14:27:59 +10:00
Matt Westcott 60ba39ffb5 replace get_task_result_data helper with more useful one get_task_chosen_response 2022-01-16 14:27:59 +10:00
Matt Westcott 2af6b35203 Move get_chooser_context helper inline
It's only used in one place
2022-01-16 14:27:59 +10:00
Matt Westcott fb48f9863d Split out data retrieval methods from BaseTaskChooserView.dispatch
This ensures that we don't do redundant setup for sub-views that don't need it, e.g. setting up creation forms for the results-only view.
2022-01-16 14:27:59 +10:00
Matt Westcott b3c765f14d Split search/pagination actions into their own view
rather than switching behaviour based on the presence of certain URL parameters
2022-01-16 14:27:59 +10:00
Matt Westcott 889ce5945a Move 'choose a different task type' link to create_form.html
This will let us refactor to only refresh the 'create' tab on the creation-related actions.
2022-01-16 14:27:59 +10:00
Matt Westcott dd612b100c Use can_create as the condition for displaying the 'create one now' message
There are several cases where createform is unavailable here even if creation is possible: namely, when displaying the results partial response, and when the 'select task type' view is shown
2022-01-16 14:27:59 +10:00
Matt Westcott 225f0b12bf split up GET and POST cases 2022-01-16 14:27:59 +10:00
Matt Westcott 43c6a525a4 Split response rendering into its own method 2022-01-16 14:27:59 +10:00
Matt Westcott 04a08a7040 Swap around if/else clauses for request==POST and createform_class
This will make it easier to splitout the POST case later...
2022-01-16 14:27:59 +10:00
Matt Westcott 6c5f82bb7b Don't use HTTP 201 to distinguish creations versus validation errors
That's what 'step': 'task_chosen' versus 'step': 'chooser' in the modal response is for...
2022-01-16 14:27:59 +10:00
Matt Westcott 1437484260 Convert task chooser to a class-based view 2022-01-16 14:27:59 +10:00
Andy Babic 0063484368 Fix incorrect logging of 'move' actions as 'reorder' actions when `target` is an intended sibling 2022-01-16 14:26:25 +10:00
Jason Attwood 10f9de2459 Fix Dropdown issues in windows High contrast mode
- Fixes #7450
2022-01-16 14:09:45 +10:00
LB Johnston efa21b7bf7 fix typo in release notes 2022-01-15 23:52:32 +10:00
Jason Attwood a0e55cedee Fix comment buttons not displaying correctly in high contrast mode
- fixes #7459
2022-01-15 23:41:42 +10:00
Shariq Jamil 28d9ded998 Add border to help/warning blocks for high contrast mode
- ensures the content has visible separation in windows high contrast mode
- fixes #7447
2022-01-15 23:37:05 +10:00
Jérôme Lebleu 318d3d81a9 Make homepage site summary items responsive 2022-01-15 22:45:20 +10:00
Jérôme Lebleu 55be8f3763 Use SVG icon in homepage's site summary items 2022-01-15 22:45:20 +10:00
Krzysztof Jeziorny 8fa614eaf7 Render horizontal listing as a flex container
- Don't set fixed height on listed images
- Improve display of image listing for long image titles
2022-01-15 22:21:46 +10:00
Jason Attwood bc3ce80f8c Fix gulp to correctly watch files 2022-01-15 22:11:48 +10:00
Matt Westcott 064f1926cd Set default submit button label on generic create views to 'Create' instead of 'Save'
As per #7763
2022-01-15 22:02:53 +10:00
LB Johnston 7def921880 update changelog for #7751 2022-01-15 21:46:21 +10:00
Thibaud Colas a5b563fc07 Switch to npm ci instead of npm install 2022-01-15 21:44:36 +10:00
Thibaud Colas 940fd1d041 Document full integration test steps 2022-01-15 21:44:36 +10:00
Thibaud Colas 1c2ef89957 Support changing which origin the integration tests are run on 2022-01-15 21:44:36 +10:00
Thibaud Colas 7630bcf231 Fix package-lock.json package name 2022-01-15 21:44:36 +10:00
Thibaud Colas 60fe493999 Skip editbird tests 2022-01-15 21:44:36 +10:00
Thibaud Colas 44fd1852ee Trial browser tests in CircleCI 2022-01-15 21:44:36 +10:00