Kenn Jacobsen
84d71a1237
Add a few comments about why we're renaming JS files during un-minified build
2021-03-16 08:21:09 +01:00
Warren Buckley
fa11a812a0
Fix karma.conf JS test for folder names to make UNIX tests pass
2021-03-15 13:41:14 +00:00
Shannon Deminick
ada5599a83
Merge pull request #9839 from kjac/netcore/feature/minify-js-resources
...
Do not apply runtime optimization to core scripts and script libraries
2021-03-15 15:08:35 +11:00
Bjarke Berg
8332b3219b
bugfix in snippet
2021-03-12 11:57:56 +01:00
Bjarke Berg
1aa8d3aa09
Merge remote-tracking branch 'origin/v8/dev' into netcore/feature/merge-v8-05032021
...
# Conflicts:
# src/SolutionInfo.cs
# src/Umbraco.Web/Editors/Filters/UserGroupValidateAttribute.cs
# src/Umbraco.Web/Editors/PasswordChanger.cs
# src/Umbraco.Web/Editors/UserGroupsController.cs
2021-03-09 10:08:53 +01:00
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
Bjarke Berg
37ed84871a
Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
...
# Conflicts:
# build/NuSpecs/UmbracoCms.Core.nuspec
# build/NuSpecs/UmbracoCms.Web.nuspec
# src/SolutionInfo.cs
# src/Umbraco.Core/Cache/CacheKeys.cs
# src/Umbraco.Core/Composing/TypeFinder.cs
# src/Umbraco.Core/Configuration/GlobalSettings.cs
# src/Umbraco.Core/Configuration/GlobalSettingsExtensions.cs
# src/Umbraco.Core/Configuration/IGlobalSettings.cs
# src/Umbraco.Core/Configuration/UmbracoSettings/ContentElement.cs
# src/Umbraco.Core/Configuration/UmbracoSettings/ContentSectionExtensions.cs
# src/Umbraco.Core/Constants-AppSettings.cs
# src/Umbraco.Core/Editors/UserEditorAuthorizationHelper.cs
# src/Umbraco.Core/Extensions/StringExtensions.cs
# src/Umbraco.Core/Extensions/UriExtensions.cs
# src/Umbraco.Core/IO/IOHelper.cs
# src/Umbraco.Core/IO/PhysicalFileSystem.cs
# src/Umbraco.Core/Media/Exif/MathEx.cs
# src/Umbraco.Core/Media/UploadAutoFillProperties.cs
# src/Umbraco.Core/Models/Mapping/UserMapDefinition.cs
# src/Umbraco.Core/Models/Membership/User.cs
# src/Umbraco.Core/Models/UserExtensions.cs
# src/Umbraco.Core/Packaging/PackageDefinitionXmlParser.cs
# src/Umbraco.Core/PropertyEditors/ListViewConfiguration.cs
# src/Umbraco.Core/PropertyEditors/ValueConverters/MediaPickerValueConverter.cs
# src/Umbraco.Core/PropertyEditors/ValueConverters/MultiNodeTreePickerValueConverter.cs
# src/Umbraco.Core/Routing/AliasUrlProvider.cs
# src/Umbraco.Core/Routing/DefaultUrlProvider.cs
# src/Umbraco.Core/Routing/UriUtility.cs
# src/Umbraco.Core/Routing/UrlProviderExtensions.cs
# src/Umbraco.Core/Runtime/CoreRuntime.cs
# src/Umbraco.Core/RuntimeOptions.cs
# src/Umbraco.Core/RuntimeState.cs
# src/Umbraco.Core/Security/BackOfficeUserStore.cs
# src/Umbraco.Core/Security/ContentPermissions.cs
# src/Umbraco.Core/Sync/ApplicationUrlHelper.cs
# src/Umbraco.Core/Trees/TreeNode.cs
# src/Umbraco.Core/Udi.cs
# src/Umbraco.Examine.Lucene/BackOfficeExamineSearcher.cs
# src/Umbraco.Examine/Umbraco.Examine.csproj
# src/Umbraco.Infrastructure/Examine/ContentValueSetValidator.cs
# src/Umbraco.Infrastructure/Migrations/Install/DatabaseBuilder.cs
# src/Umbraco.Infrastructure/Packaging/PackageDataInstallation.cs
# src/Umbraco.Infrastructure/Persistence/SqlSyntax/SqlServerSyntaxProvider.cs
# src/Umbraco.Infrastructure/Scoping/Scope.cs
# src/Umbraco.Infrastructure/Search/ExamineComponent.cs
# src/Umbraco.Infrastructure/Security/IdentityMapDefinition.cs
# src/Umbraco.Infrastructure/Services/Implement/ContentService.cs
# src/Umbraco.Infrastructure/Services/Implement/MediaService.cs
# src/Umbraco.Infrastructure/Services/Implement/NotificationService.cs
# src/Umbraco.Persistence.SqlCe/SqlCeSyntaxProvider.cs
# src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/LocksTests.cs
# src/Umbraco.Tests.UnitTests/Umbraco.Core/Models/UserExtensionsTests.cs
# src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Editors/UserEditorAuthorizationHelperTests.cs
# src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Examine/UmbracoContentValueSetValidatorTests.cs
# src/Umbraco.Tests/Configurations/UmbracoSettings/ContentElementTests.cs
# src/Umbraco.Tests/Configurations/UmbracoSettings/umbracoSettings.config
# src/Umbraco.Tests/TestHelpers/SettingsForTests.cs
# src/Umbraco.Tests/Testing/TestDatabase.cs
# src/Umbraco.Tests/Web/Controllers/ContentControllerUnitTests.cs
# src/Umbraco.Tests/Web/Controllers/FilterAllowedOutgoingContentAttributeTests.cs
# src/Umbraco.Tests/Web/Controllers/MediaControllerUnitTests.cs
# src/Umbraco.Web.BackOffice/Controllers/BackOfficeServerVariables.cs
# src/Umbraco.Web.BackOffice/Controllers/CodeFileController.cs
# src/Umbraco.Web.BackOffice/Controllers/ContentController.cs
# src/Umbraco.Web.BackOffice/Controllers/EntityController.cs
# src/Umbraco.Web.BackOffice/Controllers/MacrosController.cs
# src/Umbraco.Web.BackOffice/Controllers/MediaController.cs
# src/Umbraco.Web.BackOffice/Controllers/PackageInstallController.cs
# src/Umbraco.Web.BackOffice/Controllers/TourController.cs
# src/Umbraco.Web.BackOffice/Controllers/UserGroupEditorAuthorizationHelper.cs
# src/Umbraco.Web.BackOffice/Filters/FilterAllowedOutgoingContentAttribute.cs
# src/Umbraco.Web.BackOffice/Filters/FilterAllowedOutgoingMediaAttribute.cs
# src/Umbraco.Web.BackOffice/Mapping/ContentMapDefinition.cs
# src/Umbraco.Web.BackOffice/Services/IconService.cs
# src/Umbraco.Web.BackOffice/Trees/ContentTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/ContentTreeControllerBase.cs
# src/Umbraco.Web.BackOffice/Trees/FileSystemTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/MediaTreeController.cs
# src/Umbraco.Web.Common/Extensions/FormCollectionExtensions.cs
# src/Umbraco.Web.UI.Client/src/common/resources/content.resource.js
# src/Umbraco.Web.UI.Client/src/views/content/overlays/publish.html
# src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/editors/media.controller.js
# src/Umbraco.Web.UI.NetCore/umbraco/config/lang/da.xml
# src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
# src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en_us.xml
# src/Umbraco.Web.UI/config/umbracoSettings.Release.config
# src/Umbraco.Web/Cache/MemberCacheRefresher.cs
# src/Umbraco.Web/Composing/ModuleInjector.cs
# src/Umbraco.Web/Editors/BackOfficeController.cs
# src/Umbraco.Web/Editors/Binders/ContentModelBinderHelper.cs
# src/Umbraco.Web/Editors/ContentTypeController.cs
# src/Umbraco.Web/Editors/Filters/ContentSaveValidationAttribute.cs
# src/Umbraco.Web/Editors/Filters/MediaItemSaveValidationAttribute.cs
# src/Umbraco.Web/Editors/Filters/UserGroupAuthorizationAttribute.cs
# src/Umbraco.Web/Editors/TinyMceController.cs
# src/Umbraco.Web/Editors/UserGroupsController.cs
# src/Umbraco.Web/Editors/UsersController.cs
# src/Umbraco.Web/ImageCropperTemplateExtensions.cs
# src/Umbraco.Web/Logging/WebProfiler.cs
# src/Umbraco.Web/Logging/WebProfilerProvider.cs
# src/Umbraco.Web/Macros/PublishedContentHashtableConverter.cs
# src/Umbraco.Web/Mvc/EnsurePublishedContentRequestAttribute.cs
# src/Umbraco.Web/Mvc/JsonNetResult.cs
# src/Umbraco.Web/Mvc/MemberAuthorizeAttribute.cs
# src/Umbraco.Web/Mvc/RenderRouteHandler.cs
# src/Umbraco.Web/PropertyEditors/MediaPickerPropertyEditor.cs
# src/Umbraco.Web/PropertyEditors/MultiNodeTreePickerPropertyEditor.cs
# src/Umbraco.Web/PublishedCache/NuCache/DataSource/DatabaseDataSource.cs
# src/Umbraco.Web/RoutableDocumentFilter.cs
# src/Umbraco.Web/Routing/ContentFinderByUrlAlias.cs
# src/Umbraco.Web/Routing/NotFoundHandlerHelper.cs
# src/Umbraco.Web/Routing/PublishedRouter.cs
# src/Umbraco.Web/Runtime/WebInitialComposer.cs
# src/Umbraco.Web/Scheduling/KeepAlive.cs
# src/Umbraco.Web/Security/AppBuilderExtensions.cs
# src/Umbraco.Web/Security/BackOfficeClaimsIdentityFactory.cs
# src/Umbraco.Web/Security/Providers/UmbracoMembershipProvider.cs
# src/Umbraco.Web/Trees/DictionaryTreeController.cs
# src/Umbraco.Web/Trees/LanguageTreeController.cs
# src/Umbraco.Web/Trees/LogViewerTreeController.cs
# src/Umbraco.Web/Trees/PackagesTreeController.cs
# src/Umbraco.Web/UmbracoApplication.cs
# src/Umbraco.Web/UmbracoApplicationBase.cs
# src/Umbraco.Web/UmbracoInjectedModule.cs
# src/Umbraco.Web/WebApi/Filters/AdminUsersAuthorizeAttribute.cs
# src/Umbraco.Web/WebApi/Filters/CheckIfUserTicketDataIsStaleAttribute.cs
# src/Umbraco.Web/WebApi/Filters/EnsureUserPermissionForContentAttribute.cs
# src/Umbraco.Web/WebApi/Filters/EnsureUserPermissionForMediaAttribute.cs
# src/Umbraco.Web/WebApi/MemberAuthorizeAttribute.cs
2021-03-05 15:36:27 +01:00
Sebastiaan Janssen
e848e396af
Don't auto focus on the third menu item
2021-03-01 13:20:58 +01:00
Mole
70b04e8a8a
Merge remote-tracking branch 'origin/netcore/dev' into netcore/bugfix/packages-with-actions
2021-02-25 13:48:16 +01:00
Mole
f4787f9ae5
Add undo actions to the root node instead of appending them
...
also fix minor UI bug
2021-02-25 12:36:28 +01:00
Mole
2fcae1cc28
Fix installing packages.
2021-02-24 12:54:30 +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
Kenn Jacobsen
2ccd4a61f4
Minify client JS as part of the build conditionally (not for dev) and reference only minified JS libraries
2021-02-18 08:23:14 +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
Bjarke Berg
7c4982a04d
Fixed issues with embed serialization + view
...
added missing view for grid media
+ Fixed null issues in js
2021-02-05 18:41:52 +01:00
Mole
f8c7b9e639
Merge pull request #9748 from umbraco/netcore/feature/healthchecks
...
NetCore: Updated healthchecks
2021-02-05 09:55:07 +01:00
Bjarke Berg
53eff154a6
Cleanup and added missing view
2021-02-03 09:12:39 +01:00
Bjarke Berg
8624a246ba
Updated healthchecks to show a link to documentation instead of trying to fix something that can often not be fixed automatically.
2021-02-03 07:42:56 +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
Bjarke Berg
14284b64c2
Bugfixes..
...
- ModelsBuilder: Inject PublishedValueFallback into static Mixins
- ModelsBuilder: Throw exception if compiler can't compile the code
- CheckIfUserTicketDataIsStaleAttribute: Scope issue
- Ambiguous Actions: Couldn't determine the action when empty arrays was passed. Fixed by using more v8 like solution. (Still stupid the client not just have different endpoints)
- Fixed issue with reading the body from post requests. Often we where not allowed to seek in the stream.
- UmbracoHelper: Made available on UmbracoViewPage
- Client entity.resource.js: Don't ask server when getByIds has 0 ids.
- Client content.resource.js: Renamed endpoint GetEmptyBlueprint to avoid ambiguous action name
2021-02-01 13:04:45 +01: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
Bjarke Berg
4a3941620d
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/net5
2021-01-25 08:54:37 +01:00
Bjarke Berg
08ee15534c
Merge remote-tracking branch 'origin/v8/dev' into netcore/netcore
2021-01-21 09:51:36 +01:00
Bjarke Berg
132c4f7910
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/net5
2021-01-21 09:37:44 +01:00