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 - andy.hoyle

Pages: 1 [2]
16
Older versions / Re: Exception when viewing document
« on: June 30, 2009, 07:18:51 pm »
Any news guys? I'm rolling out OpenGoo in the next couple of days and this feature will be used extensively.

17
Security / Allow Non Admin Access to Administration Area
« on: June 25, 2009, 11:04:35 am »
I have groups:

Admin
Managers
Users

My Managers (Group ID: 10000001) could not get into admin area because they were not admin - even though I had given this group permission to create their own workspaces.

Fix:
application/models/groups/Group.class.php - line 14:
Code: [Select]
++ const CONST_MANAGER_GROUP_ID = 10000001;
appication/models/users/Users.class.php - line 279:
Code: [Select]
-- $this->is_administrator = GroupUsers::isUserInGroup($this->getId(),Group::CONST_ADMIN_GROUP_ID );
++ $this->is_administrator = GroupUsers::isUserInGroup($this->getId(),Group::CONST_ADMIN_GROUP_ID ) ||
GroupUsers::isUserInGroup($this->getId(),Group::CONST_MANAGER_GROUP_ID );

My managers now have an Admin link and can only see the Workspace Icon in Administration area

:D

18
Older versions / Exception when viewing document
« on: June 25, 2009, 07:37:39 am »
Version 1.4.2

Documents > New > Document

Typed content, clicked save, viewed document - I get this:

-------------------------------------------------------

Caught Exception in AutoLoader:

exception 'Exception' with message

'Could not find class file for "FILTERITERATOR"' in

/var/home/opengoo/opengoo.prometheanplanet.com/www/environment/classes/AutoLoader.class.php:105 Stack trace:

#0 /var/home/opengoo/opengoo.prometheanplanet.com/www/environment/classes/AutoLoader.class.php(111): AutoLoader->loadClass('FILTERITERATOR')
#1 /var/home/opengoo/opengoo.prometheanplanet.com/www/application/functions.php(33): AutoLoader->loadClass('FILTERITERATOR')
#2 /var/home/opengoo/opengoo.prometheanplanet.com/www/library/htmlpurifier/HTMLPurifier.standalone.php(6222): __autoload('FilterIterator')
#3 /var/home/opengoo/opengoo.prometheanplanet.com/www/environment/functions/general.php(588): require_once('/var/home/openg...')
#4 /var/home/opengoo/opengoo.prometheanplanet.com/www/application/controllers/Files

19
1.4 final / Missing lang: mime type
« on: June 03, 2009, 07:11:50 am »
Missing lang: mime type:

application/vnd.openxmlformats-officedocument.wordprocessingml.document

20
1.4 final / Re: Download Document broken
« on: June 03, 2009, 07:07:03 am »
Only in IE

Only when "Checkout notification dialog for documents" is switched on

21
1.4 final / Download Document broken
« on: June 03, 2009, 07:04:31 am »
When I click the down arrow next to the document or go into the document and click download I get JS error:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.2; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Wed, 3 Jun 2009 10:00:10 UTC

Message: Object doesn't support this property or method
Line: 9
Char: 3263
Code: 0
URI: http://myurl.com/public/assets/javascript/extjs/ext-all.js

Version 1.4.1 btw

22
Ideas / Re: Timeline Display for Workspaces
« on: May 22, 2009, 09:40:53 am »
alvarotm01 could you explain step 2?

23
1.4 final / Re: 1.4 final - Missing lang
« on: May 20, 2009, 10:51:18 am »
In lang.js:

This line is missing:

'file revision comments required': 'File revision comments are mandatory',

25
Ideas / Re: Timeline Display for Workspaces
« on: April 20, 2009, 09:36:36 am »
Yes please!!!!

26
Older versions / User can work on more than one task at one
« on: April 20, 2009, 06:27:07 am »
When viewing tasks and the Time alarm clock icon is visible, users can work on multiple tasks at once.

If this is by design - can we have the option to turn "working on multiple tasks" on or off?

There seems to be a check in application/models/ProjectDataObject.php line 739 to check if the user already has a task open but it doesn't seem to work:

if ($this->hasOpenTimeslots($user))
         throw new Error("Cannot add timeslot: user already has an open timeslot");


27
Development / List more than 8 tasks on a page
« on: April 16, 2009, 10:41:38 am »
Code: [Select]
public\assets\javascript\og\tasks\drawing.js
line 8:
+
+ var no_of_tasks = 20;

line 152:
- if (i == 8){ //Draw expander if group has more than 8 tasks
+ if (i == no_of_tasks){ //Draw expander if group has more than 8 tasks

line 158:
- for (var j = 8; j < group.group_tasks.length; j++)
+ for (var j = no_of_tasks; j < group.group_tasks.length; j++)

line 214:
- for (var i = 8; i < group.group_tasks.length; i++)
+ for (var i = no_of_tasks; i < group.group_tasks.length; i++)


Does anyone know how to specify this in config/config.php and pull that value into the above js file?

28
Uploaded .xlsx Excel 2007 file

File type encountered:
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Fix - change:
og_project_file_revisions.type_string
varchar(50) -> varchar(256)

29
Older versions / Missing argument 3 for strpos_utf()
« on: April 15, 2009, 12:54:54 pm »
Error log full of:

[Wed Apr 15 15:29:42 2009] [error] [client 172.20.12.36] PHP Notice:  Undefined variable: offset in C:\\Web\\opengoo\\environment\\functions\\utf.php on line 49, referer: http://pcid1367.emea.local/opengoo/
[Wed Apr 15 15:29:42 2009] [error] [client 172.20.12.36] PHP Warning:  Missing argument 3 for strpos_utf(), called in C:\\Web\\opengoo\\application\\models\\searchable_objects\\SearchableObjects.class.php on line 107 and defined in C:\\Web\\opengoo\\environment\\functions\\utf.php on line 47, referer: http://pcid1367.emea.local/opengoo/

30
Trying to add value 246 to og_project_tasks.from_template_id which is tinyint(1)

Full error dump:

========================

Query failed with message 'Out of range value for column 'from_template_id' at row 1'
Error params:
File: C:\Web\opengoo\environment\library\database\adapters\AbstractDBAdapter.class.php 
Line: 386 
Sql: INSERT INTO `og_project_tasks` (`parent_id`, `text`, `assigned_to_user_id`, `assigned_to_company_id`, `completed_on`, `due_date`, `start_date`, `completed_by_id`, `created_on`, `created_by_id`, `updated_on`, `updated_by_id`, `order`, `milestone_id`, `title`, `is_private`, `started_on`, `priority`, `state`, `project_id`, `started_by_id`, `assigned_on`, `assigned_by_id`, `time_estimate`, `is_template`, `from_template_id`, `trashed_on`, `trashed_by_id`) VALUES ('252', '', '0', '0', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0', '2009-04-15 15:45:27', '1', '2009-04-15 15:45:27', '1', '1', '0', '- Set language to Arabic', '0', '0000-00-00 00:00:00', '200', '0', '47', '0', '2009-04-15 15:45:27', '1', '0', '0', '246', '0000-00-00 00:00:00', '0') 
Error number: 1264 
Error message: Out of range value for column 'from_template_id' at row 1 
Backtrace:
#0 C:\Web\opengoo\environment\library\database\adapters\AbstractDBAdapter.class.php(272): AbstractDBAdapter->prepareAndExecute('INSERT INTO `og...', NULL)
#1 C:\Web\opengoo\environment\library\database\DB.class.php(145): AbstractDBAdapter->execute('INSERT INTO `og...', NULL)
#2 C:\Web\opengoo\environment\classes\dataaccess\DataObject.class.php(571): DB::execute('INSERT INTO `og...')
#3 C:\Web\opengoo\environment\classes\dataaccess\DataObject.class.php(418): DataObject->doSave()
#4 C:\Web\opengoo\application\models\ApplicationDataObject.class.php(125): DataObject->save()
#5 C:\Web\opengoo\application\models\ProjectDataObject.class.php(1124): ApplicationDataObject->save()
#6 C:\Web\opengoo\application\models\project_tasks\ProjectTask.class.php(1000): ProjectDataObject->save()
#7 C:\Web\opengoo\application\models\project_tasks\ProjectTasks.class.php(476): ProjectTask->save()
#8 C:\Web\opengoo\application\controllers\TemplateController.class.php(237): ProjectTasks->copySubTasks(Object(ProjectTask), Object(ProjectTask), false)
#9 C:\Web\opengoo\environment\classes\controller\Controller.class.php(75): TemplateController->instantiate()
#10 C:\Web\opengoo\environment\classes\controller\PageController.class.php(62): Controller->execute('instantiate')
#11 C:\Web\opengoo\environment\classes\Env.class.php(133): PageController->execute('instantiate')
#12 C:\Web\opengoo\init.php(146): Env::executeAction('template', 'instantiate')
#13 C:\Web\opengoo\index.php(9): require('C:\Web\opengoo\...')
#14 {main}
Autoglobal varibles:
$_GET: Array (
  ['active_project'] => (string) '47'
  ['ajax'] => (string) 'true'
  ['c'] => (string) 'template'
  ['a'] => (string) 'instantiate'
  ['id'] => (string) '8'
  ['current'] => (string) 'tasks-panel'
  ['_dc'] => (string) '1239810327520'

$_POST: 
$_COOKIE: Array (
  ['id'] => (string) '1'
  ['token'] => (string) '2ee7a71e5008223ae4ff4ff0d6557951cbdef243'
  ['PHPSESSID'] => (string) '8scfniagc1jtlc0c10smrcflh3'

$_SESSION: Array (
  ['cal_version'] => true
  ['month'] => (string) '4'
  ['year'] => (string) '2009'
  ['day'] => (string) '15'

Execution time:
Total execution time: 0.188774 seconds

Pages: 1 [2]