We check on the content node itself in the info tab for access to the doctype & template based on the section rather than the null presence of this property
* Added content apps for document types
* PR Feedback updates
* Updated the javascript code to use Utilities
* Replace tolowercase comparison with localeCompare
* Fixes incorrect property inheritance logic
* Fixes crash in canVariantPublish when variant.language is null
* Adds variant display name in dropdown
* Logic for invariant properties updated to also support segment invariance
* Properties varied by segment only now properly saved when multiple variants are saved/published
* Logic for disabling property editors moved to function and corrected for all cases of culture/segment properties
* Fixes syntax error in less file
* Fixes empty variants returned from GetEmpty() for a ContentType set to vary by segment
* Replaced _.each with _.find to prevent having to loop through all variants and/or somehow open multiple.
It is not possible to break out of _.each using a return statement, it simply returns that current function
but _.each will continue calling the others after that.
* Added a null check on Culture prop which is now possibly null due to segments
* Makes sure segments are not completely removed when their value is null.
During save/publish, Umbraco first deletes all property data of a specific version
and then adds property values again. However, any segments that were created but had
an empty value would not be added again which meant the segments were entirely gone afterwards.
* GetSegments() updated to always return the default segment, not only when there are no segments at all.
This makes sure that even if there is no property data for the default segment in the database but only for
some segments, the default segment will still be returned here.
* Fixes incorrect property inheritance logic
* Fixes crash in canVariantPublish when variant.language is null
* Adds variant display name in dropdown
* Logic for invariant properties updated to also support segment invariance
* Properties varied by segment only now properly saved when multiple variants are saved/published
* Logic for disabling property editors moved to function and corrected for all cases of culture/segment properties
* Fixes syntax error in less file
* Fixes empty variants returned from GetEmpty() for a ContentType set to vary by segment
* Enable BackOfficeTours to have a bool to hide them in the help drawer
* New hidden tour to display the email marketing option on login to backoffice
* Update to tourService to use the new bool property of hidden to show/hide the tour in the help drawer
* AngularJS Resource to call the Azure Function EmailService proxy code - currently set to DEV
* New method on userService.addUserToEmailMarketing that in turn calls the new emailMarketingResource
* New AngularJS view & controller in the tour step to deal with user clicking yes/accept to the email opt-in
* Modifies the init script to auto launch the hidden email marketing tour at login
If it has been accepted or dismissed before we then try to launch the original intro tour
* Only show the email marketing tour when the intro tour has been dismissed or completed and will appear for one time only the next time you login
* When using X to close email tour, it does not disable and never show it again but just closes it, similar to intro tour
* Adds new localStorageService key for 'emailMarketingTourShown' to prevent the tour being shown again in the same logged in session, if you refresh the backoffice in your browser
* Update URL to email function
* Adding new COMA copy for email marketing tour - needs fine tuning pixel pushing from Niels L
* Prettified layout of e-mail marketing promotion tour
* fixing whitespace
* text=auto
* adding xml to gitattributes
* Ensures the email tour is not shown if you dismiss the intro tour and manually refresh the page
Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>
* Allow explicitly sorting allowed child types for content types
* Allow explicitly sorting allowed child types for media types
* Remove console.log
* Fix the mapping of allowed content types (after introduction of the new mapper)
* Fix sorting after merge