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 - metabyte

Pages: [1]
1
General Discussion / OpenGoo is now part of our online services
« on: June 30, 2009, 07:32:54 am »
Hello from Canada!

We have been using ProjectPier for quite a few months, but now, with the dynamics of this OpenGoo community, we decided to switch to OpenGoo (starting from version 1.4.2) for our online service eZ Netflow

Check out my blog post about this recent decision

I would like to see some of you register and provide feedback. Our promess is to provide one bugfix for each paying customer and redistribute it to the community.

Cheers

Hicham Jellab

2
Announcements / Re: OpenGoo 1.4.2 released
« on: June 22, 2009, 12:10:40 pm »
Hello,

Any SQL changes for this update?

Thanks

3
Security / Security in RSS feature - Take 2
« on: June 17, 2009, 02:42:59 pm »
Hello,

Using version 1.4.1, it seems that auto-login using the twisted token has been removed. Prior to this, the user could automatically authenticate to the system once he/she got the twisted token.

I would like to restore this functionality (since I will be using OG behind the firewall). How should I proceed?

Thanks

4
Getting Started / Re: How not to create user workspaces
« on: June 09, 2009, 11:04:49 pm »
One last thing to do in Method B:

Replace in application/controllers/UserController.class.php, around line 250
Code: [Select]
  // End: update contact info if user was created from a contact
  DB::commit();
  if (logged_user()->isProjectUser($new_project)) {
  evt_add("workspace added", array(
"id" => $new_project->getId(),
"name" => $new_project->getName(),
"color" => $new_project->getColor()
));
}

by

Code: [Select]
  // End: update contact info if user was created from a contact
  DB::commit();
if (config_option('automatic_personal_workspace_generation')) {
  if (logged_user()->isProjectUser($new_project)) {
  evt_add("workspace added", array(
"id" => $new_project->getId(),
"name" => $new_project->getName(),
"color" => $new_project->getColor()
));
}
  }

5
Getting Started / Re: How not to create user workspaces
« on: June 09, 2009, 10:14:58 pm »
Hi,

I think I just found where the modification is to be done: in the Controller.
Method A: Quick and Dirty Steps:
1) Edit file application/controllers/UserController.class.php
2) Got to line 221 and comment
Code: [Select]
//$project_user->save();
Method B: Configuration Driven (more elegant?):
1) Add to mysql table "og_config_options", assuming "og: your table prefix, the following:

Code: [Select]
INSERT INTO `eznetflow_config_options` VALUES ('', 'general', 'automatic_personal_workspace_generation', '0', 'BoolConfigHandler', '0', '0', 'Enable automatic personal user workspace creation');

2) Edit file application/controllers/UserController.class.php
3) Replace
Code: [Select]

/* create personal project */
$project = new Project();
by
Code: [Select]

/* create personal project */
if (config_option('automatic_personal_workspace_generation')) {
$project = new Project();

4) Replace
Code: [Select]
$project_user->save();
/* end personal project */

by
Code: [Select]
$project_user->save();
}
/* end personal project */


5) Update language files. For english, edit file language/en_us/administration.php and replace
Code: [Select]
   // General
    'config option name site_name' => 'Site name',
by
Code: [Select]
   // General
    'config option name automatic_personal_workspace_generation' => 'Enable automatic users personal workspace generation',
    'config option name site_name' => 'Site name',

Now, you can go to the Administration and configure if you wish to automatically generate user workspaces when you add them.

Now, I may probaby check what happens when we delet a user... TBC

6
Getting Started / How to import contacts, including their companies
« on: June 09, 2009, 11:14:47 am »
Hello,

Right now, I can only import companies or contacts separately, but I can't import contacts and their company in one shot. Could you please indicate a way or a hack to do so?

Thanks

7
Getting Started / How not to create user workspaces
« on: June 09, 2009, 11:05:31 am »
Hi,

I would like to know if there is a config option or dev hack so that when I create users, there is no workspace automatically generated for them.

Thanks

Pages: [1]