Commit Graph

11521 Commits

Author SHA1 Message Date
Bjarke Berg
745014a4c3 User manager related updates (#9935)
* Only allow not-admins to assign groups they have themselves

* Only admins is allowed to change password of other admins

* Fixed issue with deep clone of UserGroup. The Allowed sections was not cloned. This resulted in the allowed sections of the object stored in cache was updated, everytime we changed the allowed sections on an object cloned from the cache. Even if we did not save it.

* Only Admins are allowed to add sections to a user group, that they don't have access to themselves

* Align backend code with UI. User managers that is are not admin, can only assign the same groups new users, that they have themselves.

* Make existingGroupAliases and empty array when creating a new user

Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
2021-03-08 13:26:52 +01:00
Sebastiaan Janssen
49435708a5 Merge branch 'v8/8.11' into v8/8.12 2021-03-08 12:28:21 +01:00
Sebastiaan Janssen
8b04c32dff Merge branch 'v8/8.10' into v8/8.11 2021-03-08 12:27:42 +01:00
Lars-Erik Aabech
fc447bb101 Should allow grid editors to use hash based settings (#9837)
* Should allow grid editors to use hash based settings

* Swap to using vm in grid config controller, as well as showing button when there's map settings

* Included keys for styles in empty state check for grid settings

* converted the code into more AngularJS performant code

* Remove rogue change to grid.editors.config

* use watchCollection instead

Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
(cherry picked from commit 008827f785)
2021-03-08 12:27:06 +01:00
Sebastiaan Janssen
c36a2bced6 Merge branch 'v8/8.11' into v8/8.12 2021-03-08 10:08:01 +01:00
Sebastiaan Janssen
0386a311d7 Merge branch 'v8/8.10' into v8/8.11 2021-03-08 10:07:40 +01:00
Sebastiaan Janssen
5825aa5dee Merge branch 'v8/8.9' into v8/8.10 2021-03-08 10:07:08 +01:00
Sebastiaan Janssen
ac41c5451e Merge branch 'v8/8.8' into v8/8.9 2021-03-08 10:06:37 +01:00
Niels Lyngsø
cef1a73a2e no need to prevent or stop propagation on this. (#9933)
Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
(cherry picked from commit af65810048)
2021-03-08 10:05:46 +01:00
Sebastiaan Janssen
e848e396af Don't auto focus on the third menu item 2021-03-01 13:20:58 +01:00
Sebastiaan Janssen
980acafbeb Merge branch 'v8/contrib' into v8/dev 2021-02-20 17:17:27 +01:00
Nathan Woulfe
b9b75b3794 Fix 'Do something else' button position in create dialog (#9846)
* fixes do something else button position in create dialog for doc types and media types

* adds type attribute to buttons
2021-02-20 02:30:20 +01:00
Bjarne Fyrstenborg
97ad14c895 Update to noUiSlider v14.6.3 2021-02-16 08:50:35 +10:00
Jim Löfgren
fc8dc76d80 Changed grid view labels and values to display: inline instead of display: inline-block to fix weird line break. 2021-02-16 08:07:11 +10:00
Mads Rasmussen
e6462eded6 V8/feature/10273 variant sorting (#9797)
Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
2021-02-15 11:15:45 +01:00
Marc Goodson
230bf1052c V8/feature/super doctype create menu (#9174)
* WIP - added options from superdoctypecreate package

resolve merge conflict in create html file

* fiddling with the wording but it will never be perfect

* looks like ng-if should be ng-show

* Update data-elements for uniqueness (I'm not sure what these are used for!)

* pass 'iscomposition' on the querystring when choosing the 'composition' option from the menu

Why? - in the future we could hide the 'Compositions...' button when choosing to create a composition

* Remove PostCreateCollection implementation now the Create Collection is removed in this PR from the DocType Create menu

resolve merge conflict in Remove PostCreateCollection implementation now the Create Collection is removed in this PR from the DocType Create menu

* Add translations

* Put back PostSave method. It's useful.

Co-authored-by: Kenn Jacobsen <post@kennjacobsen.dk>
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-02-11 09:25:38 +10:00
Jakob Bagterp
e9429cfe44 Separate remove button and label for settings and styles in Grid Layout
It's inconvenient that the click area for the remove button laps over the label of settings and styles in the Grid Layout property editor. Simply as the editor may remove the style/setting by accident – and especially since there isn't an undo option.

Known issue: Linebreak of long text labels doesn't appear pretty, but this is cosmetic and can be fixed.
2021-02-10 03:34:30 +01:00
Nathan Woulfe
f8de0fca8f 5596 allow editing alt text in grid (#9681)
* languages

* add service method for media crop details, might be useful elsewhere

* update UI to add buttons for changing image / editing existing

* update mediapicker controller to use named editor service method

* Update media.controller.js

undefined should be null, consistent use of arrow func

* move buttons to the top right - close to the grid toolbar, so more obvious
2021-02-09 02:43:59 +01:00
Daniël Knippers
fcd802ba47 V8/bugfix/9074 current urls segments (#9075) 2021-02-08 15:16:25 +01:00
Bjarne Fyrstenborg
044573d9f1 Use umb-icon component in tree item 2021-02-08 16:47:21 +10:00
mcl-sz
5fc37dfeb4 Prevent overflow of searchresults with long urls (#9739)
* Prevent overflow of searchresults with long urls

Small css change to prevent overflow of searchresults with long url's

* fixes wrapping in node-picker search, stop icon shrinking

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-02-08 16:32:54 +10:00
Bjarne Fyrstenborg
eb9c4e4d82 Document onChange in umbPagination 2021-02-08 10:13:03 +10:00
Niels Lyngsø
a76924f196 Stop using .length !== 0 when its not jQuery (#9715)
* stop using .length !== 0 as its causing errors.

* revert to only change native find()

Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
2021-02-08 10:10:46 +10:00
Niels Lyngsø
2d4984d434 check for ´err´ 2021-02-08 10:01:11 +10:00
Chad
06e5d07650 Fix eventService memory leaks (#9752)
* fix leak by unbinding event from $rootscope

* destroy more events

* $scope unavailable

* no need to destroy in services as they are singletons

Co-authored-by: nzdev <nzdev@github.com>
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-02-08 09:56:56 +10:00
Bjarne Fyrstenborg
55124fff81 Update icons in umb-tree-search-results component (#9757)
* Avoid use of ng-if

* Green class is not necessary

* Ensure button element use full width

* Left align text inside button element
2021-02-07 02:50:20 +01:00
Nathan Woulfe
63cf3a489d fix history box label, destructure localization response 2021-02-02 02:27:05 +01:00
mcl-sz
4f3191fabe Fix for applying searchResultFormatter on found searchresults (#9738)
* Fix for applying searchResultFormatter on found searchresults

We found out that when the searchbox in the linkpicker is used, the URL of a page is not being shown anymore since Umbraco 8.7 and later. This is because of the searchResultFormatter wasn't applied correct.

* Changed ES6 arrow syntax as with the other functions.

Changed ES6 arrow syntax as with the other functions.

* Changed single qoutes to double qoutes for type
2021-02-02 09:33:31 +10:00
Bjarne Fyrstenborg
6e1c29232a Hide rollback button for content that hasn't been created yet 2021-02-01 09:48:07 +10:00
Mike Chambers
3404f47cfe Update umb-tree-item.less (#9718)
* Update umb-tree-item.less

Icon sizing inconsistencies in tree

* Update umb-tree-item.less

* Revert "Update umb-tree-item.less"

This reverts commit 4729c39837b7f5b5f936ec8e197bb8d2eb90274e.

* Revert "Update umb-tree-item.less"

This reverts commit a3d1136c9de5430d4c3ed1c4bf321ab3142c26c7.

* Flex-shrink on umb-tree-icon not umb-tree-item-icon
2021-02-01 09:26:09 +10:00
Bjarne Fyrstenborg
7297bd5838 Adjust minimum width of main content (#9656)
* Adjust minimum width of main content

* Change min-width a bit further.
2021-01-28 09:33:25 +10:00
Poornima Nayar
1c65662c5f Replaced <i> with umb-icon directive in languages overview (#9557)
* replaced <i> with umb-icon directive in languages overview

* removed aria-hidden
2021-01-28 07:41:58 +10:00
Rachel Breeze
e0f00a8754 Added missing alt attributes to the images on the login screen and in avatars (#9597)
* Added missing alt text for login and avatar

* Added localisation for the avatar copy

* update alt avatar tag issue + translation

Co-authored-by: Michael <michael@crossingpaths.be>
2021-01-21 02:21:31 +01:00
Sebastiaan Janssen
f10616013f Merge branch 'v8/dev' into v8/contrib 2021-01-20 15:08:23 +01:00
Sebastiaan Janssen
f48b88e84f Merge branch 'v8/8.10' into v8/8.11 2021-01-20 15:07:14 +01:00
Sebastiaan Janssen
ef96b47899 Merge branch 'v8/8.9' into v8/8.10 2021-01-20 15:05:42 +01:00
Sebastiaan Janssen
092683ef7b Merge branch 'v8/8.8' into v8/8.9 2021-01-20 15:04:08 +01:00
Mads Rasmussen
0c9b4565f1 updates the css to support items with long titles
(cherry picked from commit 8e64fe54b1)
2021-01-20 15:03:06 +01:00
Mads Rasmussen
8e64fe54b1 updates the css to support items with long titles 2021-01-20 15:01:06 +01:00
Sebastiaan Janssen
ee02e34f64 Merge branch 'v8/8.10' into v8/8.11 2021-01-20 14:48:08 +01:00
Sebastiaan Janssen
bfde020d4f Merge branch 'v8/8.9' into v8/8.10 2021-01-20 14:47:26 +01:00
Sebastiaan Janssen
2c037f604d Merge branch 'v8/8.8' into v8/8.9 2021-01-20 14:46:20 +01:00
Sebastiaan Janssen
908dbb1454 Merge branch 'v8/8.7' into v8/8.8
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/directives/components/content/edit.controller.js
#	src/Umbraco.Web.UI.Client/src/common/services/contenteditinghelper.service.js
2021-01-20 14:42:22 +01:00
Niels Lyngsø
52e8da2ff2 Call rebindCallback on errors as well (#9690)
(cherry picked from commit da0c82aabd)
2021-01-20 14:28:37 +01:00
Niels Lyngsø
da0c82aabd Call rebindCallback on errors as well (#9690) 2021-01-20 14:26:40 +01:00
Niels Lyngsø
bc8f8366c2 Call rebindCallback on errors as well (#9688)
(cherry picked from commit 6d712b0d16)

# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/directives/components/content/edit.controller.js
#	src/Umbraco.Web.UI.Client/src/common/services/contenteditinghelper.service.js
2021-01-20 14:17:02 +01:00
Niels Lyngsø
6d712b0d16 Call rebindCallback on errors as well (#9688) 2021-01-20 14:11:12 +01:00
Sebastiaan Janssen
1c22ce9de0 Merge branch 'v8/dev' into v8/contrib 2021-01-20 11:31:28 +01:00
Sebastiaan Janssen
724d4d1e20 Merge branch 'v8/8.10' into v8/8.11
# Conflicts:
#	src/SolutionInfo.cs
2021-01-20 11:29:47 +01:00
Sebastiaan Janssen
251c5d08ef Merge branch 'v8/8.9' into v8/8.10
# Conflicts:
#	src/SolutionInfo.cs
2021-01-20 11:28:31 +01:00