John Morrissey | 2 Jun 2003 03:01
Gravatar

Signup code

Is anyone working on the signup code? I have a project that could really use
queued/approved signups, but it looks like the approval code hasn't been
written. I'll dig into it if I'm not duplicating someone else's effort.

john
-- 
John Morrissey          _o            /\         ----  __o
jwm <at> horde.net        _-< \_          /  \       ----  <  \,
www.horde.net/    __(_)/_(_)________/    \_______(_) /_(_)__

--

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

John Morrissey | 2 Jun 2003 03:04
Gravatar

Auth fixup

Auth:: will take an array argument for $driver, but Horde::getDriverConfig()
expects a string specifying the driver name. Patch attached.

john
-- 
John Morrissey          _o            /\         ----  __o
jwm <at> horde.net        _-< \_          /  \       ----  <  \,
www.horde.net/    __(_)/_(_)________/    \_______(_) /_(_)__
Index: lib/Auth.php
===================================================================
RCS file: /repository/horde/lib/Auth.php,v
retrieving revision 1.84
diff -u -r1.84 Auth.php
--- lib/Auth.php	27 May 2003 12:08:17 -0000	1.84
+++ lib/Auth.php	2 Jun 2003 01:02:08 -0000
 <at>  <at>  -126,7 +126,8  <at>  <at> 
         }

         if (is_null($params)) {
-            $params = Horde::getDriverConfig('auth', $driver);
+            $params = Horde::getDriverConfig('auth',
+                is_array($driver) ? $driver[1] : $driver);
         }

         $signature = serialize(array($driver, $params));
 <at>  <at>  -593,7 +594,8  <at>  <at> 
             $driver = $conf['auth']['driver'];
         }
(Continue reading)

Chuck Hagenbuch | 2 Jun 2003 03:02
Favicon
Gravatar

Re: Auth fixup

Quoting John Morrissey <jwm <at> horde.net>:

> Auth:: will take an array argument for $driver, but
> Horde::getDriverConfig() expects a string specifying the driver name.
Patch
> attached.

Committed, thanks.

-chuck

--
Charles Hagenbuch, <chuck <at> horde.org>
The alligators were there, too, in a bathtub inside the house.

--

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

Marko Djukic | 2 Jun 2003 03:09

Re: Signup code

yes, you're right. signup is missing approval, both in terms of an admin
approving a new user and the user him/herself confirming via email, or maybe
graphical code confirmation on screen (that randomly generated code in a
graphic that one has to type in to confirm).

nobody working, so any contribution most welcome, thanks!

marko

Quoting John Morrissey <jwm <at> horde.net>:

> Is anyone working on the signup code? I have a project that could really use
> queued/approved signups, but it looks like the approval code hasn't been
> written. I'll dig into it if I'm not duplicating someone else's effort.
>
> john
> --
> John Morrissey          _o            /\         ----  __o
> jwm <at> horde.net        _-< \_          /  \       ----  <  \,
> www.horde.net/    __(_)/_(_)________/    \_______(_) /_(_)__
>
> --
> Horde developers mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org
>

--

-- 
Horde developers mailing list
Frequently Asked Questions: http://horde.org/faq/
(Continue reading)

Joe Wilson | 2 Jun 2003 21:08

Re: [cvs] commit: jonah/config prefs.php.dist jonah/lib Jonah.php

I do not believe that nasdaq.com allows these symbols to be queried any longer. 
I do have a fully functioning stock solution based upon the yahoo.php code,
however.  If you would like, I will post the diffs.

J

Quoting Chuck Hagenbuch <chuck <at> horde.org>:

> chuck       2003/06/01 11:08:11 PDT
>
>   Modified files:
>     config               prefs.php.dist
>     lib                  Jonah.php
>   Log:
>   Remove index stocks until someone can explain how to get XML for them
>   again.
>
>   Revision  Changes    Path
>   1.14      +2 -16     jonah/config/prefs.php.dist
>   1.57      +2 -8      jonah/lib/Jonah.php
>
>   Chora Links:
>
> http://cvs.horde.org/diff.php/jonah/config/prefs.php.dist?r1=1.13&r2=1.14&ty=u
>   http://cvs.horde.org/diff.php/jonah/lib/Jonah.php?r1=1.56&r2=1.57&ty=u
>
> --
> To unsubscribe, mail: cvs-unsubscribe <at> lists.horde.org
>

(Continue reading)

Eric Rostetter | 2 Jun 2003 20:33
Picon

Re: Re: [cvs] commit: jonah/config prefs.php.dist jonah/lib Jonah.php

Quoting Joe Wilson <joe.wilson <at> mindcandy.org>:

> I do not believe that nasdaq.com allows these symbols to be queried any
> longer.

You can query them, and it returns valid xml with their copyright and so on,
but no stock data.

> I do have a fully functioning stock solution based upon the yahoo.php code,
> however.  If you would like, I will post the diffs.

Yes, to me this seems to be the way to go.  Please post the patches...

> J
>
> Quoting Chuck Hagenbuch <chuck <at> horde.org>:
>
> > chuck       2003/06/01 11:08:11 PDT
> >
> >   Modified files:
> >     config               prefs.php.dist
> >     lib                  Jonah.php
> >   Log:
> >   Remove index stocks until someone can explain how to get XML for them
> >   again.
> >
> >   Revision  Changes    Path
> >   1.14      +2 -16     jonah/config/prefs.php.dist
> >   1.57      +2 -8      jonah/lib/Jonah.php
> >
(Continue reading)

Chuck Hagenbuch | 2 Jun 2003 20:33
Favicon
Gravatar

Re: Re: [cvs] commit: jonah/config prefs.php.dist jonah/lib Jonah.php

Quoting Joe Wilson <joe.wilson <at> mindcandy.org>:

> I do not believe that nasdaq.com allows these symbols to be queried any
> longer. I do have a fully functioning stock solution based upon the
> yahoo.php code, however.  If you would like, I will post the diffs.

That'd be great.

-chuck

--
Charles Hagenbuch, <chuck <at> horde.org>
The alligators were there, too, in a bathtub inside the house.

--

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

Joe Wilson | 2 Jun 2003 21:31

Re: Re: [cvs] commit: jonah/config prefs.php.dist jonah/lib Jonah.php

Quoting Eric Rostetter <eric.rostetter <at> physics.utexas.edu>:

> Quoting Joe Wilson <joe.wilson <at> mindcandy.org>:
>
> > I do not believe that nasdaq.com allows these symbols to be queried any
> > longer.
>
> You can query them, and it returns valid xml with their copyright and so on,
> but no stock data.

Actually, this is what I meant.  It is also why I presume that it isn't a random
failure since they accept the symbol as a valid symbol but do not provide the
data for it.

> > I do have a fully functioning stock solution based upon the yahoo.php code,
> > however.  If you would like, I will post the diffs.
>
> Yes, to me this seems to be the way to go.  Please post the patches...

Yahoo does not provide all the same data points that Nasdaq does, but all the
major ones are covered (website and market center are the two that come to
mind).  I want to clean it up a bit before sending the diff.  Will do so
tonight.

> > J
> >
> > Quoting Chuck Hagenbuch <chuck <at> horde.org>:
> >
> > > chuck       2003/06/01 11:08:11 PDT
> > >
(Continue reading)

Marko Djukic | 2 Jun 2003 20:48

Re: Re: [cvs] commit: jonah/config prefs.php.dist jonah/lib Jonah.php

it could be just that their xml parsing for indices is on the blink. this seems
to work to fetch the html version (but changing page=xml gets the copyright
only):
http://quotes.nasdaq.com/quote.dll?mode=stock&page=multi&symbol=indu

marko

Quoting Joe Wilson <joe.wilson <at> mindcandy.org>:

> Quoting Eric Rostetter <eric.rostetter <at> physics.utexas.edu>:
>
> > Quoting Joe Wilson <joe.wilson <at> mindcandy.org>:
> >
> > > I do not believe that nasdaq.com allows these symbols to be queried any
> > > longer.
> >
> > You can query them, and it returns valid xml with their copyright and so
> on,
> > but no stock data.
>
> Actually, this is what I meant.  It is also why I presume that it isn't a
> random
> failure since they accept the symbol as a valid symbol but do not provide the
> data for it.
>
> > > I do have a fully functioning stock solution based upon the yahoo.php
> code,
> > > however.  If you would like, I will post the diffs.
> >
> > Yes, to me this seems to be the way to go.  Please post the patches...
(Continue reading)

Eric Rostetter | 2 Jun 2003 21:58
Picon

Re: Re: [cvs] commit: jonah/config prefs.php.dist jonah/lib Jonah.php

Quoting Marko Djukic <marko <at> oblo.com>:

> it could be just that their xml parsing for indices is on the blink. this
> seems
> to work to fetch the html version (but changing page=xml gets the copyright
> only):
> http://quotes.nasdaq.com/quote.dll?mode=stock&page=multi&symbol=indu
>
> marko

It hasn't worked for months, so I don't think it is "on the blink".
If their blinks last that long, we don't really want to use them anyway.

--
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Why get even? Get odd!

--

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


Gmane