Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - setekh

Pages: 1 2 [3]
31
How To's / Re: User activity log and reports
« on: January 21, 2009, 05:52:50 pm »
O.K. I'm sorry my english sux :)
About the logs - i see that almost detailed logs are kept in a table, so it's just a matter of accessing them, i will try to do it and send you the code for corrections..

About direct access to php files.. you know..when you write in the url direct path to some file lets say http:\\somesite.com\public\addmessage.php and the file is executed..
I have added in my installation define(_VALID_ACCESS,true) n the init and defined(_VALID_ACCESS) || die('No direct access allowed'); in other files - i hope you get the idea...

Do you have any ideas about the detailed log, also it would be a good idea to keep what and when users have send using the integrated mail and probably a filter for some documents, I have also added in my installation a simple IP white list that can access the site, very simply made.. for example :
if ($_SERVER['HTTP_X_FORWARDED_FOR']) {
$ip=($_SERVER['HTTP_X_FORWARDED_FOR']); } else {
$ip=($_SERVER['REMOTE_ADDR']);}
$startip=ip2long(100.100.100.1);
$endip=ip2long(100.100.100.255);
$whitelist = array (ip2long(127.0.0.1),ip2long(192.168.0.1)) + range($startip, $endip);
if ( in_array(ip2long($ip), $whitelist)) { echo 'ok'; } elses { die("ip not allowed"); }
...
something like that can be added inside OpenGoo.. but that is not as important as the detailed log of user actions...
I will try tomorrow to do it, the idea is - check if the user is admin or has admin priv. , access the application_logs table and read the data, still i am not so sure what every record mean but i'll find out... there are :
taken_by_id, rel_object_id, and so on... what are is_private and is_silent, where do we set that is_silent thing ?
Also about the tags, if someone deletes the object the tag is left behind and can not be removed, there should be a whole tags management tab i have done a simple link that just deletes all tags :) but i'll fix that soon, i'll add an delete tag option when you click on some tag, but if you can do it it would be great as i am not a good php developer, i am/was more of a system programmer, you know asm, c, cpp, delphi - whatever , but php is not so different and i guess it's just a practice thing ...
I will post all i have done soon...
Thanks, and once again, your product is great.
btw where can i upload a translation for OpenGoo 1.2 that you do not have, also i have it for 0.9x ... so you can review it and if you deicide you can post it with the installation, the language is bg_bg

32
How To's / User activity log and reports
« on: January 21, 2009, 06:10:14 am »
How to see what users have done? Is there a log of the users activities?
in 1.2 the only report working is for the Time schedule, what are the others?

If there is no logging module how we can setup one? Is it a good idea to add a table with username, action, object_type, object_name, date, time ... and after each activity taken to write in there ? Let's say after delete from trash we will add in table (for example) og_logs -> user, trash_delete, document, some_name, 20.01.2009,10:10:10 ... Is there something like that already, what kind of information is accessible without logging it myself and where to find it ? Where is best to add such logging functionality ?

I also see that you can call php files direct there is no define(_valid+access) or something ? Is that just in 1.2 beta or ?

I would appreciate if someone can help me in making such logging module for detailed user logs and adding it to the administration panel... I will post what i have done, but my php is not so good, but i'll try anyway and post what i have done.

33
New Community Members / Hi from Bulgaria
« on: January 21, 2009, 03:12:02 am »
I think that OpenGoo is great.. i would like to use it as a production environment is that possible ? Can i use it in a commercial environment ? I would like to donate something if i manage to install your product in a commercial environment - how we can do that. Can i expect some kind of support, i do not expect any better treatment than the other users because i donate, but i will need some help, is the development team willing to help people that are going to distribute and promote opengoo?

Also i can't see how to delete the Tags, if you delete the object the tag stays and can not be removed...

Thanks

34
Feature requests / Rq: Detailed user actions report
« on: January 21, 2009, 03:08:25 am »
Who, when and what have deleted, edited and so on...
It would be great if that was a module that the admin can view, and select what actions will be logged...
But now we can not see when and what someone has deleted.. or am i wrong?

35
Other languages / Question : Language Translation
« on: January 21, 2009, 01:50:20 am »
I have translated the 0.9 version , are the files from 1.1 and 1.2 the same, can we use the same translations, can we think of something so we don't have to re-translate the whole thing again with every new version.
Also it would be sooo great if you can release just update packages for the new versions, so we don't have to reinstall all over again...
Also i hope the DB will be compatible between the releases..
When we Beckup the base and files how we can Import them back ?
Thanks.. your product is great

Pages: 1 2 [3]