Show More
@@ -0,0 +1,40 b'' | |||||
|
1 | |RCE| 4.11.3 |RNS| | |||
|
2 | ------------------ | |||
|
3 | ||||
|
4 | Release Date | |||
|
5 | ^^^^^^^^^^^^ | |||
|
6 | ||||
|
7 | - 2018-02-14 | |||
|
8 | ||||
|
9 | ||||
|
10 | New Features | |||
|
11 | ^^^^^^^^^^^^ | |||
|
12 | ||||
|
13 | ||||
|
14 | ||||
|
15 | General | |||
|
16 | ^^^^^^^ | |||
|
17 | ||||
|
18 | ||||
|
19 | ||||
|
20 | Security | |||
|
21 | ^^^^^^^^ | |||
|
22 | ||||
|
23 | ||||
|
24 | ||||
|
25 | Performance | |||
|
26 | ^^^^^^^^^^^ | |||
|
27 | ||||
|
28 | ||||
|
29 | ||||
|
30 | Fixes | |||
|
31 | ^^^^^ | |||
|
32 | ||||
|
33 | - Pull requests: fixed problems with opening pull requests when default branches | |||
|
34 | in repository didn't exist or were closed. | |||
|
35 | ||||
|
36 | ||||
|
37 | Upgrade notes | |||
|
38 | ^^^^^^^^^^^^^ | |||
|
39 | ||||
|
40 | - Unscheduled bugfix release fixing pull request opening issues reported. |
@@ -31,3 +31,4 b' 96eb24bea2f5f9258775245e3f09f6fa0a4dda01' | |||||
31 | 3121217a812c956d7dd5a5875821bd73e8002a32 v4.11.0 |
|
31 | 3121217a812c956d7dd5a5875821bd73e8002a32 v4.11.0 | |
32 | fa98b454715ac5b912f39e84af54345909a2a805 v4.11.1 |
|
32 | fa98b454715ac5b912f39e84af54345909a2a805 v4.11.1 | |
33 | 3982abcfdcc229a723cebe52d3a9bcff10bba08e v4.11.2 |
|
33 | 3982abcfdcc229a723cebe52d3a9bcff10bba08e v4.11.2 | |
|
34 | 33195f145db9172f0a8f1487e09207178a6ab065 v4.11.3 |
@@ -9,6 +9,7 b' Release Notes' | |||||
9 | .. toctree:: |
|
9 | .. toctree:: | |
10 | :maxdepth: 1 |
|
10 | :maxdepth: 1 | |
11 |
|
11 | |||
|
12 | release-notes-4.11.3.rst | |||
12 | release-notes-4.11.2.rst |
|
13 | release-notes-4.11.2.rst | |
13 | release-notes-4.11.1.rst |
|
14 | release-notes-4.11.1.rst | |
14 | release-notes-4.11.0.rst |
|
15 | release-notes-4.11.0.rst |
@@ -217,6 +217,12 b' ReviewersController = function () {' | |||||
217 | prButtonLock(true, null, 'reviewers'); |
|
217 | prButtonLock(true, null, 'reviewers'); | |
218 | $('#user').hide(); // hide user autocomplete before load |
|
218 | $('#user').hide(); // hide user autocomplete before load | |
219 |
|
219 | |||
|
220 | if (sourceRef.length !== 3 || targetRef.length !== 3) { | |||
|
221 | // don't load defaults in case we're missing some refs... | |||
|
222 | $('.calculate-reviewers').hide(); | |||
|
223 | return | |||
|
224 | } | |||
|
225 | ||||
220 | var url = pyroutes.url('repo_default_reviewers_data', |
|
226 | var url = pyroutes.url('repo_default_reviewers_data', | |
221 | { |
|
227 | { | |
222 | 'repo_name': templateContext.repo_name, |
|
228 | 'repo_name': templateContext.repo_name, |
@@ -202,9 +202,13 b'' | |||||
202 | // translate our select2 id into a text, it's a mapping to show |
|
202 | // translate our select2 id into a text, it's a mapping to show | |
203 | // simple label when selecting by internal ID. |
|
203 | // simple label when selecting by internal ID. | |
204 | var id, refData; |
|
204 | var id, refData; | |
205 | if (selectedRef === undefined) { |
|
205 | if (selectedRef === undefined || selectedRef === null) { | |
206 | id = element.val(); |
|
206 | id = element.val(); | |
207 | refData = element.val().split(':'); |
|
207 | refData = element.val().split(':'); | |
|
208 | ||||
|
209 | if (refData.length !== 3){ | |||
|
210 | refData = ["", "", ""] | |||
|
211 | } | |||
208 | } else { |
|
212 | } else { | |
209 | id = selectedRef; |
|
213 | id = selectedRef; | |
210 | refData = selectedRef.split(':'); |
|
214 | refData = selectedRef.split(':'); | |
@@ -216,7 +220,6 b'' | |||||
216 | } |
|
220 | } | |
217 |
|
221 | |||
218 | var data = {id: id, text: text}; |
|
222 | var data = {id: id, text: text}; | |
219 |
|
||||
220 | callback(data); |
|
223 | callback(data); | |
221 | }; |
|
224 | }; | |
222 | }; |
|
225 | }; | |
@@ -416,7 +419,9 b'' | |||||
416 | }; |
|
419 | }; | |
417 |
|
420 | |||
418 | var initTargetRefs = function(refsData, selectedRef){ |
|
421 | var initTargetRefs = function(refsData, selectedRef) { | |
|
422 | ||||
419 | Select2Box($targetRef, { |
|
423 | Select2Box($targetRef, { | |
|
424 | placeholder: "${_('Select commit reference')}", | |||
420 | query: function(query) { |
|
425 | query: function(query) { | |
421 | queryTargetRefs(refsData, query); |
|
426 | queryTargetRefs(refsData, query); | |
422 | }, |
|
427 | }, | |
@@ -518,7 +523,9 b'' | |||||
518 | % if c.default_source_ref: |
|
523 | % if c.default_source_ref: | |
519 | // in case we have a pre-selected value, use it now |
|
524 | // in case we have a pre-selected value, use it now | |
520 | $sourceRef.select2('val', '${c.default_source_ref}'); |
|
525 | $sourceRef.select2('val', '${c.default_source_ref}'); | |
|
526 | // diff preview load | |||
521 | loadRepoRefDiffPreview(); |
|
527 | loadRepoRefDiffPreview(); | |
|
528 | // default reviewers | |||
522 | reviewersController.loadDefaultReviewers( |
|
529 | reviewersController.loadDefaultReviewers( | |
523 | sourceRepo(), sourceRef(), targetRepo(), targetRef()); |
|
530 | sourceRepo(), sourceRef(), targetRepo(), targetRef()); | |
524 | % endif |
|
531 | % endif |
General Comments 0
You need to be logged in to leave comments.
Login now