Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore user start nodes option in pickers #2441

Merged
merged 41 commits into from
Mar 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
0e53822
Start POC with content picker
Jan 27, 2018
277d472
Add BypassUserPermissions checks in ContentTreeControllerBase
dnwhte Jan 28, 2018
7bad157
Remove uneeded check for bypassing
dnwhte Jan 29, 2018
b606b91
Add Bypass field to MNTP editor
dnwhte Jan 29, 2018
2c6b2f0
Fallback to -1 if $scope.model.config.startNode.id is not set
Jan 29, 2018
47b2c59
Start testing related links
Jan 30, 2018
4999c70
Refactor treepicker.initTree() a bit and POC for related links
Jan 30, 2018
72d17c4
Revert "Fallback to -1 if $scope.model.config.startNode.id is not set"
Jan 30, 2018
53609dd
Add prevalue field to RTE
Jan 30, 2018
34fbc2d
POC for RTE
dnwhte Jan 30, 2018
70eb532
Revert "Add prevalue field to RTE"
dnwhte Jan 30, 2018
907d77d
Use rte.prevalues.html for setting Bypass to make compatible with gri…
dnwhte Jan 30, 2018
6fc28e9
Add bypass prevalue to Media Picker
dnwhte Jan 30, 2018
89e9712
Basic POC for media picker
Jan 30, 2018
12aef65
Maintain folderlocking and breadcrumbs in media picker when bypassing…
dnwhte Jan 31, 2018
6630ac0
POC for content picker search
Jan 31, 2018
67ca032
POC for media picker search
Jan 31, 2018
c8f816a
POC for search in MNTP media
Jan 31, 2018
a5f178d
POC for related links search
Jan 31, 2018
8466ba1
POC for RTE content link search
Feb 1, 2018
a847897
POC for RTE media link picker
Feb 1, 2018
0427073
POC for RTE and Grid RTE media pickers
Feb 1, 2018
2cfce6b
Reword prevalue description
Feb 1, 2018
c30e435
Refactor to support options object in searchService and entityResource
Feb 9, 2018
ce59916
Remove unnecessary check
Feb 9, 2018
ea24649
Get usersStartNodes before kicking everything off, so we don't have i…
Feb 9, 2018
335843b
Merge branch 'dev-v7' into U4-10147
dnwhte Apr 23, 2018
12545f0
Merge branch 'dev-v7' into U4-10147
dnwhte Jun 5, 2018
cc2f188
Merge branch 'dev-v7' into U4-10147
Sep 12, 2018
917bdfa
Merge branch 'dev-v7' into U4-10147
dnwhte Oct 15, 2018
c39b47d
Attempt to resolve whitespace issues
Oct 17, 2018
6ea8596
Replace tabs with spaces to match Umbraco's .editorconfig
Oct 17, 2018
dac6299
Merge branch 'dev-v7' into pr_2441
nul800sebastiaan Feb 25, 2019
4bcfced
Merge branch 'dev-v7' into U4-10147
Feb 27, 2019
c3adc13
Resolve 403 issue with link pickers
Feb 27, 2019
a570452
Add support for Multi Url Picker
Feb 27, 2019
4d44244
Merge branch 'dev-v7' into pr_2441
nul800sebastiaan Mar 23, 2019
9d1d313
Rename all "bypass" references to "Ignore user start nodes"
nul800sebastiaan Mar 23, 2019
947f889
Some more updates to wording and a few code style changes
nul800sebastiaan Mar 23, 2019
4836a10
grammar
nul800sebastiaan Mar 23, 2019
abee0fa
Make sure search still works
nul800sebastiaan Mar 23, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ function treeSearchBox(localizationService, searchService, $q) {
searchFromName: "@",
showSearch: "@",
section: "@",
ignoreUserStartNodes: "@",
hideSearchCallback: "=",
searchCallback: "="
},
Expand All @@ -34,6 +35,7 @@ function treeSearchBox(localizationService, searchService, $q) {
scope.showSearch = "false";
}


//used to cancel any request in progress if another one needs to take it's place
var canceler = null;

Expand All @@ -60,6 +62,11 @@ function treeSearchBox(localizationService, searchService, $q) {
searchArgs["searchFrom"] = scope.searchFromId;
}

//append ignoreUserStartNodes value if there is one
if (scope.ignoreUserStartNodes) {
searchArgs["ignoreUserStartNodes"] = scope.ignoreUserStartNodes;
}

searcher(searchArgs).then(function (data) {
scope.searchCallback(data);
//set back to null so it can be re-created
Expand Down
Loading