Search found 66 matches

Go to advanced search

by richarddodd
Mon Jul 14, 2014 1:57 pm
Forum: Development Chats
Topic: Feature suggestion: cloning \GO\Base\Db\FindParams
Replies: 0
Views: 2669

Feature suggestion: cloning \GO\Base\Db\FindParams

Hi It would be good if you could use php5's `clone` keyword, for example if you needed 2 similar queries. All you would need to do to provide this functionality is adding the following method to FindParams: function __clone() {     $this->criteriaObject = clone $this->criteriaObject; }   To make sur...
by richarddodd
Mon Jul 14, 2014 1:54 pm
Forum: Development Chats
Topic: how does this code work missing actionStore function in cont
Replies: 1
Views: 2378

Re: how does this code work missing actionStore function in

checkout \GO\Base\Controller\AbstractModelController. It implements a lot of stuff for you. :)
by richarddodd
Fri Jul 04, 2014 10:41 am
Forum: Development Chats
Topic: Addressbook Contact Model esoterics
Replies: 0
Views: 2314

Addressbook Contact Model esoterics

Hi Merijn I was wondering if you would consider 2 things for groupoffice 1) In the addressbook, i) The 'first_name' and 'email' fields are required for a contact, but in function init() they are not marked required. Would it be ok to make them required, so I can auto-detect this for an import into c...
by richarddodd
Mon Jun 30, 2014 10:05 am
Forum: Feature requests
Topic: OpenID support
Replies: 2
Views: 2296

Re: OpenID support

If anyone fancies implementing this I would suggest looking at the code for LDAP integration.
by richarddodd
Mon Jun 30, 2014 10:04 am
Forum: Development Chats
Topic: Development Howto
Replies: 3
Views: 2996

Re: Development Howto

I found it tricky to start writing my own php/modules. The key points are (I think) - Groupoffice uses directories in the `modules` directory for modules - each folder is a module - Groupoffice uses ModulenameModule.php to autoload the module - Groupoffice uses a very object-oriented approach to bac...
by richarddodd
Mon Jun 30, 2014 9:46 am
Forum: Development Chats
Topic: Composer.phar
Replies: 2
Views: 2622

Re: Composer.phar

The other cool thing is that you can use 2 different versions of the same package side-by-side (if some code uses v3 but other uses v2 for example).

I should also mention bower for managing client-side code is cool as well.
by richarddodd
Mon Jun 30, 2014 9:43 am
Forum: Development Chats
Topic: Composer.phar
Replies: 2
Views: 2622

Re: Composer.phar

Also I guess it would be a big change, but you could change the preferred install method from debian packages to fetching a tarball. Then the install would be something like - Fetch dependencies (apt-get | yum | pacman | manual | windows(manual I'm guessing)) - Make a webserver point at groupoffice ...
by richarddodd
Mon Jun 30, 2014 9:31 am
Forum: Development Chats
Topic: Composer.phar
Replies: 2
Views: 2622

Composer.phar

Have you thought about using a composer.phar for managing dependencies.

It's way cool :). Also could be configured to fetch module dependencies (for custom modules).
by richarddodd
Thu Jun 12, 2014 1:20 pm
Forum: Development Chats
Topic: [Bug] [Fixed] Addressbook module namespace
Replies: 1
Views: 2476

[Bug] [Fixed] Addressbook module namespace

modules/addressbook/AddressbookModule.php line 50:

GO should be in global namespace
by richarddodd
Wed Jun 11, 2014 8:24 am
Forum: General help
Topic: JsonStore error (mailbox)
Replies: 1
Views: 1277

Re: JsonStore error (mailbox)

When you get the JsonStore error - it means that what was returned wasn't json. If you have debug='true' in /etc/groupoffice/config.php, it will probably contain the error message, so if you create the error when you have (firebug/chrome dev tools/ie dev tools) open, you can look at the specific aja...
by richarddodd
Wed Jun 11, 2014 8:20 am
Forum: Development Chats
Topic: [FIXED] Bug in v6.0
Replies: 2
Views: 2460

Re: Bug in v6.0

thanks :)
by richarddodd
Wed Jun 11, 2014 8:20 am
Forum: Development Chats
Topic: Bug in v6.0 chat module
Replies: 2
Views: 2536

Re: Bug in v6.0 chat module

I'm using chrome and don't have firephp installed
by richarddodd
Mon Jun 09, 2014 4:28 pm
Forum: Development Chats
Topic: Complex query using ORM
Replies: 1
Views: 2389

Complex query using ORM

Hi I've been using the GO ORM and I like it, but sometimes I struggle to do more complex queries, falling back on raw sql. For example: SELECT `ta`.`a`, `ta`.`b`, `ta`.`c` ...., `tb`.`a`, `tb`.`b`, `tb`.`c`, .... FROM `table_a` `ta` INNER JOIN `table_b` `tb` ON `tb`.`ta_id` = `ta`.`id` WHERE 1 AND N...
by richarddodd
Fri Jun 06, 2014 5:36 pm
Forum: Contributed development
Topic: Portlet-based DisplayPanel
Replies: 0
Views: 2845

Portlet-based DisplayPanel

Hi I've uploaded a portlet-based alternative to the display-panel. It's not a drop-in replacement - at the moment you have to load the data manually using Ext.Ajax, but the layout stuff is working nicely. I'll try to make it close to a drop-in replacement in future. Please open issues/fork me/send p...
by richarddodd
Fri Jun 06, 2014 4:20 pm
Forum: Contributed development
Topic: documentation configuration file
Replies: 1
Views: 2628

Re: documentation configuration file

you might need to create `doc` and `doc/cache` folders

cron