Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# pmgahan 3/16/2007 5:02 AM (edited 3/16/2007 5:10 AM)
I've published a new module called Document Manager.

This module provides the following functionalities:

- Save documents by section
- Categorized
- Folder structure
- Version control
- Folder view control by roles

There are still many things to add and correct, but you can start testing it by downloading it from cuyahoga contrib:
https://cuyahogacontrib.svn.sourceforge.net/svnroot/cuyahogacontrib/Cuyahoga.Modules.DocumentManager

Can anyone create the mysql and postgresql install and uninstall scripts?


This is part of a bigger multi-module project to use Cuyahoga as a Project Management tool.


Patrick.
# martijnb 3/18/2007 1:15 PM
Patrick, you rule!

If I have a little bit more time, I'll give it a thorough look.
# pmgahan 3/25/2007 1:02 AM (edited 3/26/2007 1:17 AM)
Great!
I´ve found a bug with docx documents, I will try to correct this and upload a new version.

Patrick.
# pmgahan 3/28/2007 10:03 PM
Hi Martjin,

I have a problem with the new module and I was wondering if you get to experience this kind of issues before.
The first time I call it it works just fine, but after I add a lot of documents and change from one section to another it hangs the IIS server with a SERVICE UNAVAILABLE message.
I couldn't find nothing interesting on the server logs.
I guess this may be related to the memory usage.

Thanks,
Patrick.
# martijnb 3/29/2007 6:15 AM
Yep, feels like a memory leak somewhere in the upload or download code. Maybe you can replace the download code with a simple Response.TransmitFile?

On a side note: please check the naming style of you domain classes. 'cm_dm_document' isn't a proper class name. Did you perhaps use some kind of code generator?
# halu 3/29/2007 10:37 AM
I haven't looked at it yet but I'll try to create an install script for MySQL.

Regards,
HÅkan
# pmgahan 3/29/2007 9:33 PM
Yes Martijn, I used a code generator and didn't modify the names.

I think that the memory hungry part of it is the treeview web control. I will try to optimize the code.
I have just tested it on my production shared server that I guess has a limited amount of ram (shared hosting).
I will try it localy with a big load of documents to see how it works.

Thanks Hakan, let me know if I can help you out with the mysql script.

Patrick.
# pmgahan 3/30/2007 3:10 AM
Hi Martijn,

I think that the problem comes from my module class.
The thing is that to fill in the treeview control I use the Nhibernate classes to fetch the objects and I think that in the process it loads all the data including the content.
the content is the binary data that is stored in the database, so I think that this gets too bigfor the server.

What do you think?

Patrick.
# pmgahan 4/23/2007 10:35 PM
The module is now feature complete.

I've added the following features:
- Delete folders and its elements
- Delete documents
- Move folders and its elements
- Move documents
- Added Edit role permissions

All of this is performed graphically using the treeview control.

Corrected many bugs as well.

Beta testers are welcome.
Someone could help me creating the MySQL scripts?

Patrick.
# gedw99 4/24/2007 10:15 AM
Patrick,

Well done.. Looking forward to giving it a run though.

I dont use mySQL so cant help with the checking of the scripts.


ged
# pmgahan 4/24/2007 9:05 PM
Thanks Ged,

Any suggestions and bug reporting are welcome!
Other language resources as well.

Patrick.