Dev Diary

How to reset the admin password in Umbraco 8

Umbraco

In case this post ever gets deleted, I just wanted to save this here on my site.

Original

This solution works for Umbraco 8

Find an admin user in your database

Update their password to:

WRNIcp5OKxjowAwyBbdXJw==uHFH281pvI0UQJgRdJb95T9gPT1sVXBHKhYcoW5L8LI=

To log in, use their username and that hashed password up there is actually: MyUmbracoPassword1


Cutting Edge: Web Content Development Podcast Episode

Podcasts Umbraco

I had the pleasure of speaking to Jonathan Ames on the Cutting Edge: Web Content Development podcast and the episode has just gone live. 

We had a great discussion about how to create a great editing experience in #Umbraco and how we do things here at ClerksWell

You can watch it on YouTube or listen to it on any of these podcast services:


bCast

Apple Podcast

Spotify

Google Podcast

Cutting Edge: Web Content Development Podcast


Umbraco 13 Issue Found

Umbraco

On Friday I was testing out the Release Candidate for Umbraco 13 and I found an issue with the Angular Filters for ncRichText and truncate. I raised an issue in the Umbraco GitHub Repo and they have been able to test it out and replicate it. 

It's nice to be able to contribute by testing things out and raising issues, especially during the release candidate versions.

Here is a link to the issue I raised 


Code Review Emoji Guide

Community Conferences Tips

Last weekend I went to DDD East Midlands and had a great time with my podcaster friends and I also saw some Umbraco friends there too.

After the conference we played some pool and then went back to our other friend's house for a few drinks and a good catch up.

Whilst we were there I learned about the Code Review Emoji Guide. I thought it was great and worth sharing with you too.

  • Emoji Legend
  • Emoji Examples

A rating on security headers

Umbraco

Last night I made some improvements to the security headers on codeshare, and now when you test it on https://securityheaders.com it gets an A rating.

Security

A rating on securityheaders.com


Find me on Mastodon from now on

Community

I've decided to stop posting on Twitter and start posting on Mastodon instead.

That's where all of the Umbraco Community are moving to.

Here is how to find me on Mastodon:

For the clickers: http://umbracocommunity.social/@CodeSharePaul

For the copy/pasters: @[email protected]


Almost 100 across the board on Lighthouse

Umbraco

Today I did a lighthouse score scan for this site and it got almost 100 across the board.

97

So close to 100 across the board


Slimsy Chat with Jeavon Leopold

Videos

Today I had the pleasure of talking to Jeavon Leopold about Slimsy, what it is and why we should use it.

Jeavon Leopold telling us all about Slimsy


codeshare on Umbraco Cloud using Clean Starter Kit is now LIVE

Finally I have managed to move codeshare over to Umbraco Cloud using my free Umbraco Cloud hosting that I get with my MVP rewards.

It's been a few weeks in the making but I decided to make a go of it when I realised that we at work are going to be using Umbraco Cloud a lot more going forward.

I've enjoyed the process of moving it to Umbraco Cloud using the Clean Starter Kit, especially writing the script to scrape the content from the old site and the Import code to import it into the new site.


Umbraco Cloud Content Transfer Issues

When I used to work with Umbraco Cloud before, one of the problems I had was to do with transferring content from one environment to the next and it failing due to the amount and size of data being transferred.

This came up again today, but I am pleased to find out there is an app setting you can add to get it to put the data into batches and that resolves the issue.

Here's the app setting I ended up using:

{
  "Umbraco": {
    "Deploy": {
      "Settings": {
        "SourceDeployBatchSize": 250
      }
    }
  }
}

Latest Articles Row

I decided to turn the latest articles partial view into a block list row so I could make it configurable.

Now you can choose the article list to display articles from, the number to show per page and whether to show pagination or not.

Latest Articles Row

The configuration in the latest articles row


Fixed the Dev Diary

Umbraco

That was a simple fix.

I was able to fix the dev diary by editing the latest articles partial view.

Where I was getting the first article list page, I changed it to check if the current page is an article list already then use that, otherwise use the first one you can find.

Here is the code:

if(Model is not ArticleList articleList)
{
    articleList = UmbracoContext.Content.GetAtRoot().DescendantsOrSelf<ArticleList>().FirstOrDefault();
}

Updated latest articles partial view code


My First Diary Entry

This is my first diary entry using Clean Starter Kit