Updated git, svn and Jira.
Added module upload and bugfixes.
Updated git, svn and Jira.
Removed MVC guids (I do not know how they got back in there).
Removed some unrequired files.
Also a note for anyone who is testing: If you simply overwrite your test site with the latest version you must also copy the latest templates from the web/templates folder to your test sites sitedata/{id}/ folder. Failure to do so will not update your templates. This is because there is nothing in the sitedata folder until a site is created. So nothing will be upodated by simply uploading.
To test module upload. A module pack is simply the module folder (the /modules/{modulename} folder) with a 'bin' folder added to it. This will contain the module binary. The module folder and the binary name must be the same.
Eg. Cuyahoga.Modules.TestModule.dll would be in the TestModule/bin/ folder. The zip file would be called TestModule.zip. The zip file will contain the module contents directly and not the module folder containing the module files. Various checks are made when it is uploaded.
Adding, modifying, or deleting assemblies from the application's bin folder causes an app restart.
Nice. I will have a try with this new build under mono. Perhaps it will fare better than the last iteration.
MonkeyfaceNice. I will have a try with this new build under mono. Perhaps it will fare better than the last iteration.
No attempt has been made to make this work with Mono.
@Constructor
Well done and quick!
Eg. Cuyahoga.Modules.TestModule.dll would be in the TestModule/bin/ folder. The zip file would be called TestModule.zip. The zip file will contain the module contents directly and not the module folder containing the module files. Various checks are made when it is uploaded.
I have an issue with the naming restriction!
I have some custom modules with custom names like "Module.RealEstate", Module.RealEstate.dll etc. this custom modules do not work because of the restriction.
Why not create a zip file with the cuyahoga.Web as the root and copy all files and directories the same way as the build events do.
Example of a zip file:
\Bin\Module.RealEstate.dll
\Modules\Module.RealEstate\*.ascx, *.htm, *.aspx, *.sql
\App_Globaresources\Module.RealEstate.resx
\Webservices\Module.RealEstate.asmx
.. and so on..
Updated git, svn and Jira.
Medium Trust
New SEOViewState
Article filtering in the admin
Please test and add to Jira.
Hi,
OK: Viewstate is placed at the bottom of pages, even for admin which is cool ;-)
OK: Article summary: when max chars reached, the extra chars are removed automaticly which is cool again ;-)
NOK: But when saving the validator says "250 character limit".
NOK: article filter: when publish date is a future date the article is not showing when filtering.
NOK: Medium trust dit not work with me, problems with login and a clean install generated this error:
An error occured while creating the site:
Castle.Services.Transaction.TransactionException: Invalid transaction state to perform the requested action at Castle.Services.Transaction.AbstractTransaction.AssertState(TransactionStatus state) at Castle.Services.Transaction.AbstractTransaction.Rollback() at Castle.Services.Transaction.StandardTransaction.Rollback() at Castle.Facilities.AutomaticTransactionManagement.TransactionInterceptor.Intercept(IInvocation invocation) at Castle.DynamicProxy.AbstractInvocation.Proceed() at Cuyahoga.Web.Install.Install.CreateSite() in D:\Projects\!Temp\CuyahogaTest\Cuyahoga.Web\Install\Install.aspx.cs:line 218 at Cuyahoga.Web.Install.Install.BtnCreateSiteClick(Object sender, EventArgs e) in D:\Projects\!Temp\CuyahogaTest\Cuyahoga.Web\Install\Install.aspx.cs:line 572
@constructor, sorry for not using jira, i don't like jira because it is far from user friendly ;-) sorry man
modarkHi,
@constructor, sorry for not using jira, i don't like jira because it is far from user friendly ;-) sorry man
No problem. Thanks for the post.
I have fixed the issues that you posted. I will test further locally before updating the various reps.
Updated git, svn and Jira.
I have clean installed and used this version in medium trust on IIS6 and IIS7.
ConstructorUpdated git, svn and Jira.
I have clean installed and used this version in medium trust on IIS6 and IIS7.
I noticed when I tried this version first, none of the modules would load on startup. Then I changed the Application pool (in IIS Manager) to Integrated pipleline, and things seem to work. (this is on my local machine, I don't have access to a medium-trust only host)
Nice !
ConstructorUpdated git, svn and Jira.
I have clean installed and used this version in medium trust on IIS6 and IIS7.
I just added an issue
CUY-197
Basically when adding a section and if a required module setting is not entered, the error message is not shown.
webolizeI just added an issue CUY-197
Basically when adding a section and if a required module setting is not entered, the error message is not shown.
Thanks. I have resolved this.
Has anyone MySQL scripts for the modules in this version?
I have the site working on MySQL. If someone has the module scripts then this would save time.
what exactly do you want? (something to build .sql files for MySQL)
I have 'DatAdmin' , and It can generates SQL for MS Sql , MySQL , Postgre SQL
goolzwhat exactly do you want? (something to build .sql files for MySQL)
I have 'DatAdmin' , and It can generates SQL for MS Sql , MySQL , Postgre SQL
We need to create MySQL and Postgre scripts (install and uninstall) for:
StaticHtml
User
Search
LanguageSwitcher
UserProfile
SearchInput
Sitemap
RemoteContent
Downloads
Menu
Articles
Categories
For the latest version of this thread.
I have the MySQL for the main installer working on MySQL (without modules). We also need a Postgre script for that.
UPDATE: I have the MySQL installing fully with modules. Now Postgre scripts are required only.
All installers and scripts are now working for MSSql, MySQL and PostgreSQL databases. They have only been tested locally.
New versions of the following files were required:
For MySQL: MySql.Data.dll
For PostgreSQL: Npgsql.dll, Mono.Security.dll
No upgrade scripts exist as yet.
If anyone can test with MySQL and/or Postgre database please say so here.
Nice, I will try to test this ASAP but might be a few days because I'm away from home right now.
I've been running it on MySQL. I did hit some snags and made some notes so I'll need to collect those and report back.
Working on Linux :)
I finally managed to get the thing working under Mono.
The main thing I changed from my earlier failed attempts was to switch to using MySQL rather than PostgreSQL. This allowed me to avoid updating the NHibernate DLLs, which was a source of some of the errors with PostgreSQL.
For now I installed the database on MSSQL then exported it to MySQL but I will try translating the MySQL scripts properly later.
Edit: just notice above someone already translated these... could I have a copy please? :)
Some changes were needed for mono compatibility. First off something in "FixAppDomainRestartWhenTouchingFiles" in Global.asax.cs doesn't sit well with Mono, so I had to comment that out for now.
Also, there are *loads* of case sensitivity problems, so for now I just set up a FAT partition on linux to make it case insensitive. That seemed to do the trick.
I hope to fix the problems properly later so that it's fully Mono compatible, but otherwise I am pleased to report that Cuyahoga 2.0 can be made to work on Mono/Linux :D