Commit Graph

10816 Commits

Author SHA1 Message Date
Shannon
eba3c82a86 Changes startup logic, no more "Boot" method, the component just handles events 2021-05-24 12:51:40 -07:00
Shannon
be3bfe1b63 Removes Booting event, backports lazy changes for PublishedSnapshotService from v9. 2021-05-24 12:32:57 -07:00
Shannon
43ee6f288e fixes initialize flag 2021-05-24 11:25:03 -07:00
Shannon
053a56a45b Removes the callbacks from DatabaseServerMessenger, moves logic for cold boot into the components responsible for what needs to happen in cold boot. This is still not ideal but we are stuck with backwards compat. In netcore the initialization will be fixed up (if not already). Ensure examine rebuilds don't occur until the first http request is done instead of on a timer which could be problematic with cold boots. 2021-04-26 18:07:23 +10:00
Shannon Deminick
dccec91073 Merge pull request #9859 from nzdev/v8/bugfix/fix-cold-boot
Reduce cold boot times by loading content and media only once on cold boot
2021-04-26 15:52:41 +10:00
nzdev
306c82f871 Change log to Info 2021-04-23 17:03:32 +12:00
Jeavon
c8b6841ef1 Allow KeepAlive controller Ping method to be requested by non local requests (#10126)
* Allow KeepAlive controller Ping method to be requested by non local requests and accept head requests

* removed unused references
2021-04-13 03:10:44 +02:00
Sebastiaan Janssen
ecf67669ce Attributes could be multiple items, test specifically if Directory is an attribute 2021-04-07 16:25:46 +02:00
Sebastiaan Janssen
d85d0d75f3 Revert "Updated LightInject to v6.4.0"
This reverts commit fc77252ec7.
2021-04-06 16:13:40 +02:00
Sebastiaan Janssen
c84f616a17 Remove HtmlSanitizer once more - see #9803 2021-04-06 10:08:10 +02:00
Dave de Moel
fc77252ec7 Updated LightInject to v6.4.0 2021-04-06 09:35:12 +02:00
Sebastiaan Janssen
e8a9c4da2e Merge branch 'v8/dev' into v8/contrib 2021-03-31 13:01:25 +02:00
Sebastiaan Janssen
2f60a471b3 Merge branch 'v8/8.12' into v8/dev 2021-03-31 13:00:32 +02:00
Nathan Woulfe
958e25d4ba Revert updating deprecated WriterName/CreatorName refs
Changing the properties to use the extensions is a good thing (given the props are deprecated), but causes issues deep in tests. I'm reverting that change to fix the tests, and all refs to the deprecated properties should be updated in one sweep, to deal with any other test issues that might crop up.
2021-03-30 13:22:04 +02:00
Andy Butland
6299ea0862 Orders member type grouping of members alphabetically, matching the listing of member types. 2021-03-30 17:31:46 +10:00
Ronald Barendse
dcc07fd612 Add Root<T> and Breadcrumbs extension methods for IPublishedContent (#9033)
* Fix usage of obsolete CreatorName and WriterName properties

* Add generic Root extension method

* Add Breadcrumbs extension methods
2021-03-29 09:13:53 +10:00
Callum Whyte
121ae2e8a9 Handling multiple values per field in Examine Management 2021-03-29 08:34:55 +10:00
nzdev
5f9d126ab7 fix support for non run states 2021-03-26 16:13:47 +13:00
Elitsa Marinovska
f68d4d6968 Taking AllowContentDashboardAccessToAllUsers prop from GlobalSettings to ContentDashboardSettings and saving AccessRulesFromConfig into a backing field 2021-03-25 11:11:41 +01:00
Elitsa Marinovska
6e54c6fefd Implementation for IContentDashboardSettings 2021-03-24 15:34:05 +01:00
Michael Latouche
88611f30b5 9097 add contextual password helper (#9256)
* update back-office forms

* Display tip on reset password page as well

* add directive for password tip

* integrate directove in login screen

* forgot the ng-keyup :-)

* adapt tooltip directive to potential different Members and Users password settings

* remove watcher

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-03-23 08:07:50 +10:00
Bjarne Fyrstenborg
3d05bd6917 Update casing of listview layout name 2021-03-23 07:56:51 +10:00
Shannon Deminick
f8f2029637 Improve performance, readability and handling of FollowInternalRedirects (#9889)
* Improve performance, readability and handling of FollowInternalRedirects

* Logger didn't like string param

Passing string param to _logger.Debug<PublishedRouter, int> wasn't happy. Changed to pass existing internalRedirectAsInt variable.

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-03-23 07:53:21 +10:00
Bjarne Fyrstenborg
046d6351d2 Copy member type (#10020)
* Add copy dialog for member type

* Implement copy action for member type

* Create specific localization for content type, media type and member type

* Handle "foldersonly" querystring

* Add button type attribute

* Add a few missing changes of anchor to button element
2021-03-21 03:09:20 +01:00
Benjamin Carleski
7f1d5fe7cc 8539: Allow alias in image cropper (#9266)
Co-authored-by: Owain Williams <owaingdwilliams@gmail.com>
2021-03-18 22:04:03 +00:00
Bjarke Berg
e17bf386a4 Merge pull request #9994 from umbraco/v8/bugfix/9993
Fixes #9993 - Cannot save empty image in Grid

(cherry picked from commit 0ecc933921)
2021-03-18 10:59:36 +01:00
Bjarke Berg
0ecc933921 Merge pull request #9994 from umbraco/v8/bugfix/9993
Fixes #9993 - Cannot save empty image in Grid
2021-03-18 09:28:58 +01:00
Jeavon Leopold
2b9eaeee8a Fix for #9950 - HttpsCheck will now retry using the login background image if inital request returns 301/302. Excessvie Headers check will now check the root url instead of the backoffice 2021-03-18 02:54:07 +01:00
Elitsa Marinovska
3393ac8d03 Adds additional params indicating whether user is admin 2021-03-17 14:05:47 +01:00
Elitsa Marinovska
ab16a408a8 Adds a config for configuring the access rules on the content dashboard - by default it granted for all user groups 2021-03-17 14:04:48 +01:00
Michael Latouche
156c1c9416 Revert "The Value() method for IPublishedContent was not working with the defaultValue parameter" (#9989) 2021-03-17 10:29:31 +01:00
Sebastiaan Janssen
cf4c163131 Fixes #9993 - Cannot save empty image in Grid 2021-03-17 09:58:17 +01:00
Shannon Deminick
d0f047e729 Fixes and Updates for DB Scope and Ambient Context leaks (#9953)
* Adds some scope tests (ported back from netcore) and provides a much better error message, ensure execution context is not flowed to child tasks that shouldn't leak any current ambient context

* updates comment

* Ensure SqlMainDomLock suppresses execution context too

* Since we're awaiting a task in a library method, ConfigureAwait(false)

* missing null check

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
2021-03-15 12:56:38 +01:00
Sebastiaan Janssen
ef60a98fe1 Merge branch 'v8/8.12' into v8/dev 2021-03-12 09:29:44 +01:00
Sebastiaan Janssen
a997f0c1e5 Merge branch 'v8/dev' into v8/contrib
# Conflicts:
#	src/Umbraco.Web/Editors/BackOfficeServerVariables.cs
2021-03-09 15:02:46 +01:00
Sebastiaan Janssen
44e68543d4 Merge branch 'v8/8.12' into v8/dev 2021-03-09 14:56:26 +01:00
Sebastiaan Janssen
e43ff6cff1 Merge branch 'v8/8.11' into v8/8.12 2021-03-09 14:55:50 +01:00
Sebastiaan Janssen
5582b09614 Merge branch 'v8/8.10' into v8/8.11 2021-03-09 14:55:25 +01:00
Sebastiaan Janssen
8f59bbc3b3 Merge branch 'v8/8.9' into v8/8.10 2021-03-09 14:55:05 +01:00
Sebastiaan Janssen
c474f41b86 Merge branch 'v8/8.8' into v8/8.9 2021-03-09 14:54:31 +01:00
Sebastiaan Janssen
41283aead9 Fix wrong version reference 2021-03-09 14:54:13 +01:00
Sebastiaan Janssen
7dc95b55d3 Merge branch 'v8/8.11' into v8/8.12
# Conflicts:
#	src/Umbraco.Web/Services/IconService.cs
2021-03-09 14:51:54 +01:00
Sebastiaan Janssen
edab3507ec Merge branch 'v8/8.10' into v8/8.11 2021-03-09 14:49:08 +01:00
Sebastiaan Janssen
1d3d83466c Merge branch 'v8/8.9' into v8/8.10 2021-03-09 14:48:22 +01:00
Sebastiaan Janssen
4481e90f10 Merge branch 'v8/8.8' into v8/8.9
# Conflicts:
#	src/Umbraco.Web.UI/Umbraco/Views/Default.cshtml
2021-03-09 14:33:01 +01:00
Kenn Jacobsen
b7553e311a Cache the SVG icons serverside to boost performance (#9200)
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
(cherry picked from commit 8e01ac30d6)

# Conflicts:
#	src/Umbraco.Web.UI/Umbraco/Views/Default.cshtml
#	src/Umbraco.Web/Services/IconService.cs
2021-03-09 14:22:22 +01:00
Chad
16573446db Fixes #9615 - Upgrade to Htmlsanitizer v5 (#9856) 2021-03-09 13:54:45 +01:00
Kenn Jacobsen
8e01ac30d6 Cache the SVG icons serverside to boost performance (#9200)
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-03-09 12:58:10 +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
7d0b5ecd14 Merge branch 'v8/dev' into v8/contrib 2021-03-03 17:57:00 +01:00