Code Monkey home page Code Monkey logo

cws-start's Introduction

Hi there ๐Ÿ‘‹

  • ๐Ÿ”ญ Iโ€™m currently working on hacking & building things to make lives easier for developers
  • ๐ŸŒฑ Iโ€™m always learning & enjoy pulling things apart to understand how things work
  • ๐Ÿ’ฌ Ask me about any of my projects or something related to Umbraco CMS
  • ๐Ÿ“ซ How to reach me: @[email protected] on Mastodon is best

cws-start's People

Contributors

bokmadsen avatar greystate avatar mptrs avatar warrenbuckley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cws-start's Issues

Umbraco 6.1.6 compatability?

Hello friends,

After several tries installing 0.0.4 against a clean Umbraco 6.1.6 I'm having nothing but trouble getting any of the Membership functionality to work. Registration takes almost three minutes to complete (though the page never truly refreshes). Logging in never occurs either...the page simply processes the request indefinitely. We're running in a typical local dev environment using SQL 2008 RS and IIS7. Any insight would be greatly appreciated!

Thank you and keep up the amazing work!

Incorrect profile URL in Our project page

Hey Warren,

Just a quick one - on the Our Umbraco project page, the public url for member profiles is site.co.uk/profile/warrenbuckley. It should be site.co.uk/user/warrenbuckley. Confused me for a moment or two. Really useful seeing custom routes in action (and seeing a good reason for doing one too!)

Lotte

Error installing CWS Start pakage

Since the package is 5 Mb I had to increase the maxRequestLength="" above 4024. and then was able to load the installer. After get the package to the point of accepting the install agreement. I receive the attached error. This is running on a Win 64 2008 R2 and Umbraco 6.1.3. This

cws_start_error

Webforms

This is a great starting point however would it not be better if you only use MVC rather than webforms.

For example the admin dashboard file ViewcontactLogs.ascx

It would also be helpful if this example page showed how to edit , delete, filter and download the records.

Keep up the great work

BUG: SMTP User

Error in current master branch EmailHelper.cs

Line 27 references incorrect "smtpUser" property alias:
var user = homepage.GetPropertyValue("smtpUser", SMTPUser).ToString();

The correct alias is "smtpUsername"

Gallery photo needs a back link or next /prev functionality

When viewing a photo in the gallery it was a bit of a pain to get back to the gallery to then view the next photo. You had to select the drop down menu, pick the gallery and then pick your next photo. That's 3 clicks where there could be just one if we have next/prev navigation.

The type or namespace name 'EmailAddressAttribute' could not be found

I've used NuGet to install the package into my VS 2010 project which already has Umbraco 6.1.6 installed.

With the CWS package installed I cannot compile the project due to the following error:

Error 1 The type or namespace name 'EmailAddressAttribute' could not be found (are you missing a using directive or an assembly reference?) D:\Websites\UmbracoCWSStarterKit\UmbracoCWSStarterKit\Models\AuthModel.cs 18 10 UmbracoCWSStarterKit

My project targets .Net 4.0 and so does Umbraco 6.1 I believe.

Any idea on what is missing?

Umbraco 7 compatability

Just tried to install CWS-Start on a new installation of Umbraco 7, but I get the following error during installation. Has anyone got this working?

Also just noticed that the path shown in the error is not where I have the Umbraco installation, so I'm not sure why that path is like that.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
umbraco.cms.businesslogic.web.Access.RenameMemberShipRole(String oldRolename, String newRolename) +97
umbraco.cms.businesslogic.member.MemberGroup.Save() +114
CWSStart.Web.CWSExtensions.RegisterStartupEvents.AddCustomMemberGroup() in c:\inetpub\wwwroot\Personal\CWS-Start\CWSStart.Web\CWSStart.Web\CWSExtensions\RegisterStartupEvents.cs:82

How about moving all the PartialViews?

I think it would be nice to move all the views from the viewcontrollers to the /Partials folder. That way you can edit them from the backend. Or will that break anything in MVC (don't know much about MVC)

/Bo

Maximum request length exceeded

Not really an issue with the package but something to keep in mind, when doing a brand new install on 6.1.3 this message appeared due to the package being 5.67mb.

There is no view profile or members page

It would be good to have a page of members (like on umblondon site). I couldn't find a link anywhere to view my profile, only to edit it. If I typed in the url manually it showed me my profile with a photo.

Fails to install on Umbraco 7 and now my whole site is inaccessible including admin section

Stack Trace:

[DuplicateNameException: An item with the alias CWSMember already exists]
Umbraco.Core.Persistence.Repositories.ContentTypeBaseRepository2.PersistNewBaseContentType(ContentTypeDto dto, IContentTypeComposition entity) +2742 Umbraco.Core.Persistence.Repositories.MemberTypeRepository.PersistNewItem(IMemberType entity) +337 Umbraco.Core.Persistence.Repositories.RepositoryBase2.PersistNewItem(IEntity entity) +156
Umbraco.Core.Persistence.UnitOfWork.PetaPocoUnitOfWork.Commit(Action1 transactionCompleting) +217 Umbraco.Core.Persistence.UnitOfWork.PetaPocoUnitOfWork.Commit() +7 Umbraco.Core.Services.MemberTypeService.Save(IMemberType memberType, Int32 userId) +182 umbraco.cms.businesslogic.member.MemberType.MakeNew(User u, String Text) +174 CWSStart.Web.CWSExtensions.RegisterStartupEvents.AddCustomMemberType() in c:\inetpub\wwwroot\Personal\CWS-Start\CWSStart.Web\CWSStart.Web\CWSExtensions\RegisterStartupEvents.cs:92 CWSStart.Web.CWSExtensions.RegisterStartupEvents.ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) in c:\inetpub\wwwroot\Personal\CWS-Start\CWSStart.Web\CWSStart.Web\CWSExtensions\RegisterStartupEvents.cs:48 Umbraco.Core.ApplicationEventHandler.OnApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) +37 Umbraco.Core.CoreBootManager.<Complete>b__5(IApplicationEventHandler x) +36 Umbraco.Core.EnumerableExtensions.ForEach(IEnumerable1 items, Action1 action) +141 Umbraco.Core.CoreBootManager.Complete(Action1 afterComplete) +93
Umbraco.Web.WebBootManager.Complete(Action`1 afterComplete) +39
Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e) +166
Umbraco.Core.UmbracoApplicationBase.Application_Start(Object sender, EventArgs e) +9

[HttpException (0x80004005): An item with the alias CWSMember already exists]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +398
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +850
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +675
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +183
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +280
System.Web.HttpApplicationFactory.GetPipelineApplicationInstance(IntPtr appContext, HttpContext context) +56
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +174

[HttpException (0x80004005): An item with the alias CWSMember already exists]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +527
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +84
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +166

Exception during install

I get the following exception when I install the package. Version 0.0.4 on umbraco 6.1.5.

[NullReferenceException: Object reference not set to an instance of an object.]
umbraco.cms.businesslogic.web.Access.RenameMemberShipRole(String oldRolename, String newRolename) +97
umbraco.cms.businesslogic.member.MemberGroup.Save() +114
CWSStart.Web.CWSExtensions.RegisterStartupEvents.AddCustomMemberGroup() in c:\inetpub\wwwroot\Personal\CWS-Start\CWSStart.Web\CWSStart.Web\CWSExtensions\RegisterStartupEvents.cs:82
CWSStart.Web.CWSExtensions.RegisterStartupEvents.ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) in c:\inetpub\wwwroot\Personal\CWS-Start\CWSStart.Web\CWSStart.Web\CWSExtensions\RegisterStartupEvents.cs:37
Umbraco.Core.EnumerableExtensions.ForEach(IEnumerable1 items, Action1 action) +147
Umbraco.Core.CoreBootManager.Complete(Action1 afterComplete) +143 Umbraco.Web.WebBootManager.Complete(Action1 afterComplete) +364

[HttpException (0x80004005): Object reference not set to an instance of an object.]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +12864673
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +175
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +304
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475

[HttpException (0x80004005): Object reference not set to an instance of an object.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12881540
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12722601

Move Email Settings onto Content Node

Rather than the email settings be hard coded in the email helper class or even be in the smtp section of the web.config allow user to define directly on homenode as some kind of global setting for all emails perhaps?

Make an Nuget version.

Initialising code on app startup event.
Most files can be copied in.

Doctypes & properties need to be created.

Templates need to be created as well as still DB entries required.

Install Error: No User exists with ID -1

Umbraco 6.1.3 running SQLCE fresh install - suspect i've missed something

[ArgumentException: No User exists with ID -1]
umbraco.BusinessLogic.User.setupUser(Int32 ID) +499
umbraco.BusinessLogic.User..ctor(String Login) +75
CWSStart.Web.CWSExtensions.RegisterStartupEvents.AddCustomMemberGroup() in c:\inetpub\wwwroot\Personal\CWS-Start\CWSStart.Web\CWSStart.Web\CWSExtensions\RegisterStartupEvents.cs:76
CWSStart.Web.CWSExtensions.RegisterStartupEvents.ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) in c:\inetpub\wwwroot\Personal\CWS-Start\CWSStart.Web\CWSStart.Web\CWSExtensions\RegisterStartupEvents.cs:37
Umbraco.Core.ApplicationEventHandler.OnApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) +37
Umbraco.Core.CoreBootManager.b__4(IApplicationEventHandler x) +19
Umbraco.Core.EnumerableExtensions.ForEach(IEnumerable1 items, Action1 action) +141
Umbraco.Core.CoreBootManager.Complete(Action1 afterComplete) +119 Umbraco.Web.WebBootManager.Complete(Action1 afterComplete) +26
Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e) +157
Umbraco.Core.UmbracoApplicationBase.Application_Start(Object sender, EventArgs e) +9

Blank Templates

If I view the templates within the Umbraco backend, they are blank. However, they all exist within the Views folder.

If I create a new template, it gets created in the Masterpage folder.

I tried changing the defaultRenderingEngine to Mvc but it didn't seem to have any effect.

This is on a new install of Umbraco 6.1.5

Update: I restarted the website in IIS and it seems to recognise the templates now, in conjunction with that config file change.

Split auth controller

IMHO authcontroller do more then one thing. It should be split:
one controller for login/logout
one for password reset
one for register new members

Specify Custom SMTP Port

Any way to easily modify the port number being used with an SMTP server? For example, using smtp.gmail.com typically requires a port of 587.

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.