Jason Keltz | 22 Apr 03:14 2015
Picon

script for regenerate and activate all filters

Hi.

I hope I'm writing to the right list.    I'm switching our mail format 
from mbox to maildir, and I need to regenerate the Ingo procmail filters 
on my system.  I'm close coming up with a basic script to do this, but 
having some trouble, and hoping for some advice..

This part is fine..

#!/usr/bin/php
<?php

 <at> define('HORDE_BASE', '/local/horde');

set_include_path(get_include_path() . PATH_SEPARATOR . HORDE_BASE . 
"/pear/php");

require_once HORDE_BASE . '/lib/Application.php';

Horde_Registry::appInit('ingo', array('cli' => true));

$user="jas";

   echo "$user";
   $registry->setAuth($user, array());
   $session->set('ingo', 'current_share', ':' . $user);
   $ingo_storage = $injector->getInstance('Ingo_Factory_Storage')->create();
print_r($ingo_storage->retrieve(Ingo_Storage::ACTION_WHITELIST)->getWhitelist());

   ^--- since this prints my whitelist, I know I'm close...
(Continue reading)

Jan Schneider | 20 Mar 12:59 2015

Fwd: [VOTE][Accept] PSR-7: HTTP message interfaces

Hi,

voting on PSR-7 has started, and I'd welcome you to give some  
feedback, especially regarding future direction of Horde_Http, before  
I give a vote on behalf of the project.

https://github.com/php-fig/fig-standards/blob/master/proposed/http-message.md
https://github.com/php-fig/fig-standards/blob/master/proposed/http-message-meta.md

----- Weitergeleitete Nachricht von Beau Simensen <simensen <at> gmail.com>
-----
     Datum: Thu, 19 Mar 2015 11:30:08 -0700 (PDT)
       Von: Beau Simensen <simensen <at> gmail.com>
Antwort an: php-fig <at> googlegroups.com
   Betreff: [VOTE][Accept] PSR-7: HTTP message interfaces
        An: php-fig <at> googlegroups.com

    The required review period has passed. During the review period a number
of issues were raised and several of them were addressed by making
clarifications to PSR-7 and its associated meta document. None of the
changes constituted a fundamental change.
    
   As the coordinator of this PSR, I hereby announce that as of 6:30PM UTC
on Thursday, March 19th, 2015, PSR-7 HTTP Message Interface is now
officially up for vote.
    
   There are 39 current voting members, which means there must be 13 votes
to pass quorum, and half or more of the /votes cast/ must be "in favor" in
order for PSR-7 to be Accepted.

(Continue reading)

Steffen | 20 Mar 10:48 2015
Picon

suggestions for database use from new horde app

Hi,

I'm developing a new Horde app, which hooks shall be able to store 
arbitary data, mostly to record status information from call to call. The 
intended useage is less than 1KB, but I do not have no idea, what can be 
"sane", so the data may become GB in size. It's an admin-supplied value 
after all.

I intend to offer the hooks an API like these snippets sketch:

putData(mixed $data);
$data = getData();

with this implemenation:

putData($data)
  // INSERT / UPDATE data for primary key $user and field hook
  this->lowLevelPut(this->$user, 'hook', serialize($data));

getData()
  return unserialize(this->lowLevelGet(this->$user, 'hook'));

There are no searches, no calculations, no constrains or whatsoever. 
'hook' is the fixed name of the attribute / SQL field name, user is the 
current user. There shall exist one record per user at most, which is 
updated or created by putData().

A SQL table would look like:

CREATE TABLE name (
(Continue reading)

Kambey L. Kisambu | 18 Mar 15:16 2015
Picon

Horde Kronolith Calendar through website

Hello team,
I'm using Horde webmail integrated with kronolith calendar.
I want to create some events and use in the website (externaly) based on
calendar Id.
I've try to use some embeded code below but only works if i've logged to
horde in that browser.
How can i fetch and display the events without necessarily login to horde?

The embed code is :-
<div id="kronolithCal"></div>
<script src="
http://192.168.20.110/horde/services/ajax.php/kronolith/embed?container=kronolithCal&view=Summary&display_cal=JppdKTOvug46cu8ViWPkFA1"
type="text/javascript"></script>

Also kindly assist if i want to customize the display of the events or the
best alternative if any.

Regards,
Kambey
--

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org

SSRI | 6 Mar 17:26 2015
Picon

Auth driver : validateAuth false and imp still try to login to Imap


Hi,

We use a custom authentication backend and have implemented a  
validateAuth() function.

When validateAuth() returns false, we have noticed that imp still try  
to login to our IMAP server 3 times before user is logged out.

Why user isn't disconnected immediatly after the first time  
validateAuth() returns false ?

Regards.

SSRI Team.
IT Services.
Université Panthéon-Assas ( Paris 2 ).
--

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org
Jan Schneider | 25 Feb 10:24 2015

Horde is FIG member

Hi,

FYI, Horde is now an official, voting member of FIG, the PHP Framework  
Interop Group [1]. Which means we can take influence on and vote on  
any future PSRs.

Anyone can take part on PSR discussions, so if you see anything in the  
currently open proposals for future PSRs [2] that you find  
interesting, don't hesitate to voice your opinion.

Jan.

[1] http://www.php-fig.org/
[2]
https://github.com/php-fig/fig-standards/tree/master/proposed
https://github.com/php-fig/http-message, https://github.com/php-fig/psr-6
https://groups.google.com/forum/?fromgroups#!forum/php-fig
https://groups.google.com/forum/?fromgroups#!forum/php-fig-task-psr
https://groups.google.com/forum/?fromgroups#!forum/php-fig-psr-9-discussion

-- 
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject

--

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org
(Continue reading)

Michael J Rubinsky | 30 Jan 22:41 2015

Re: Still Failing: horde/horde#5535 (master - eea8d2e)


Quoting Travis CI <builds <at> travis-ci.org>:

> Build Update for horde/horde
> -------------------------------------
>
> Build: #5535
> Status: Still Failing

Since I just started receiving these notices again, I'm not sure if  
everyone gets them or just the committer so, just in case it wasn't  
obvious, the recent Horde_Db changes broke the tests on Travis, though  
they pass for me locally.

-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
Attachment (smime.p7s): application/pkcs7-signature, 7930 bytes
--

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org
Sebastian Birnbach | 30 Jan 11:04 2015
Picon

Horde_View_Helper_Form->label

I wrote a little test page to get to grips with Horde_Forms. I have files
moreview.php and viewtest/moretemplate.php, please see below.

Problem is, I can't get the label() method to output 'for' tags as
described in
https://dev.horde.org/api/master/lib/View/class-Horde_View_Helper_Form.html#_label
:

$this->label('post', 'title');// => <label for="post_title">Title</label>

I do, however, get the the 'for' tag when I specify it as an array of
options.

What am I doing wrong?

Another thing: Horde_View_Helper_Form->radioButton() takes $objectName and
$method as the first two parameters. I assume $objectName stands for the
group of radiobuttons and $method for the form the group is in. Shouldn't
that be usable for setting the id of the radioButton?

Thanks

  Sebastian

***
moreview.php:
***

<?php

(Continue reading)

denis bahati | 28 Jan 14:22 2015
Picon

Horde Errors

Dear Team,
horde error messages have been too many and comes frequently when say connection is lost. Is there a way to
control the messages for example change the red box to yellow for instance or even disable the error
messages completely and let it log in the log error file only?? Any ideas??
Thanks in advance.

--

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org

Sebastian Birnbach | 24 Jan 09:19 2015
Picon

Horde View

Dear all,

I am trying to work my way up to writing an app for Horde. I see my
programming skills got a bit rusty over the years so please forgive my
stupid questions.

Encouraged by the information that templates are no longer supported and
starting from http://wiki.horde.org/Doc/Dev/Horde_View, I am playing with
Horde Views.

1.) The template "decides" what of data of the provided model will be
displayed and how. Shouldn't Helpers therefore be added in the template?

2.) In order to display a form I need Horde_View_Helper_Form (say, for a
radiobutton) and Horde_View_Helper_Form_Builder (for the submit button).
Why are these components in different helpers? Every form needs a submit
button, doesn't it? Also, I can't seem to get the submit() method to work,
somehow the Form_Builder behaves different from the Form class.

3.) I have a hard time finding examples for the usage of Horde Views. Are
thre any examples around? I keep 'grep'ping my installation up and down but
find nothing useful. As templates are no longer supported, Views should be
a bit more popoular that it appears.

A word on documentation in general:

it is either me or the higher level Horde documentation is quite
nonexistent. I hazard to say that a lot more developers would work with
horde if the concepts were documented a little better. That is: Howtos,
where to start, using libraries, sample code, brief overviews. The deeper I
(Continue reading)

Jan Schneider | 22 Jan 10:27 2015

Travis passing again

Hi,

thanks to Mike's work, Travis builds are generally passing again. A  
commit that breaks the build should thus be reviewed again.

Jan.

-- 
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject

--

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org


Gmane