Revisions for framework/Token/Token.php

Location: [ Horde ] / framework / Token / Token.php View: Logs | Branches | Statistics
Search Revisions:
Show diffs between and
Show Differences shows diffs to the previous revision. If you select a revision by clicking its row, Show Differences will show the differences to the selected row.
Show Branch:
  Revision Date Author Log Message
1.33.6.17 FRAMEWORK_3 (+2 -2 lines) 12/01/2008 11:55 AM Chuck Hagenbuch chuck

MFH 1.55

1.55 (+2 -2 lines) 12/01/2008 11:43 AM Chuck Hagenbuch chuck

raw_output parameter is PHP 5 only

1.33.6.16 FRAMEWORK_3 (+2 -3 lines) 11/24/2008 02:43 PM Chuck Hagenbuch chuck

MFH 1.54

1.54 (+2 -3 lines) 11/24/2008 02:40 PM Chuck Hagenbuch chuck

misplaced comma meant we weren't getting raw output from sha1.

1.33.6.15 FRAMEWORK_3 (+3 -2 lines) 11/24/2008 02:11 PM Michael M Slusarz slusarz

MFH 1.53

1.53 (+3 -2 lines) 11/24/2008 02:05 PM Michael M Slusarz slusarz

Not sure if I am missing something here, but revision 1.52 broke token
checking in two places: 1) the value was being B64 encoded but then never
being B64 decoded later, and 2) sha1 returns a 40-byte code but the
SQL schema only allows 32-byte IDs.  Go back to using md5() and decode token
when verifying, but I'm not sure this is what was originally intended (although
it makes it possible for me to send messages in IMP again).

1.33.6.14 FRAMEWORK_3 (+4 -5 lines) 11/15/2008 12:27 AM Chuck Hagenbuch chuck

MFH 1.52

1.52 (+4 -5 lines) 11/15/2008 12:25 AM Chuck Hagenbuch chuck

get rid of microtime based tokens and use a true(ish) random value

1.33.6.13 FRAMEWORK_3 (+2 -5 lines) 06/06/2008 12:17 AM Chuck Hagenbuch chuck

MFH:
1.239     +2 -6      framework/Browser/Browser.php
1.49      +2 -6      framework/Crypt/Crypt.php
1.100     +2 -5      framework/Data/Data.php
1.188     +2 -5      framework/DataTree/DataTree.php
1.25      +2 -6      framework/Editor/Editor.php
1.30      +2 -5      framework/Form/Form/Action.php
1.221     +2 -5      framework/Form/Form/Renderer.php
1.18      +2 -6      framework/IMAP/IMAP/ACL.php
1.68      +2 -5      framework/Image/Image.php
1.122     +2 -6      framework/NLS/NLS.php
1.40      +2 -5      framework/Net_IMSP/IMSP.php
1.13      +2 -5      framework/Prefs/Identity.php
1.51      +2 -5      framework/Token/Token.php
1.7       +2 -5      framework/VFS/lib/VFS.php

Tags: HORDE_3_3, HORDE_3_3_RC1, HORDE_3_2_2, HORDE_3_2_1

1.51 (+2 -5 lines) 06/06/2008 12:15 AM Chuck Hagenbuch chuck

Short syntax for static initializers
Bug: 6837
Submitted by: Thomas Jarosch <thomas (dot) jarosch (at) intra2net (dot) com>

1.50 (+2 -2 lines) 02/25/2008 06:28 PM Jan Schneider jan

MFB: 1.33.6.12

1.33.6.12 FRAMEWORK_3 (+2 -2 lines) 02/25/2008 06:20 PM Jan Schneider jan

Remove useless characters and base64 encoding, and use finer grained time salt.

Tags: HORDE_3_2, HORDE_3_2_RC4, HORDE_3_2_RC3

1.33.6.11 FRAMEWORK_3 (+2 -2 lines) 01/02/2008 06:30 AM Jan Schneider jan

Happy New Year

Tags: HORDE_3_2_RC2

1.49 (+2 -2 lines) 01/02/2008 06:12 AM Jan Schneider jan

Happy New Year

1.33.6.10 FRAMEWORK_3 (+19 -12 lines) 12/20/2007 08:50 AM Jan Schneider jan

Merge from HEAD.

1.48 (+1 -2 lines) 11/07/2007 12:45 PM Jan Schneider jan

Copyright assignments from Max.

Tags: BEFORE_MERGE_3_2, HORDE_3_2_RC1

1.47 (+2 -2 lines) 06/27/2007 01:23 PM Jan Schneider jan

Bump year, looks like a missed a few last time.

Tags: HORDE_3_2_ALPHA

1.33.6.9 FRAMEWORK_3 (+3 -3 lines) 01/02/2007 08:54 AM Jan Schneider jan

Happy New Year

Tags: HORDE_3_1_9, HORDE_3_1_8, HORDE_3_1_7, HORDE_3_1_6, HORDE_3_1_5, HORDE_3_1_4, HORDE_3_1_4_RC1

1.46 (+2 -2 lines) 01/02/2007 07:47 AM Jan Schneider jan

Happy New Year

1.45 (+2 -2 lines) 01/01/2007 07:40 PM Jan Schneider jan

Assign copyright to The Horde Project for those copyright holders that already agreed to it.

1.44 (+6 -2 lines) 06/09/2006 12:08 AM Chuck Hagenbuch chuck

Handle 'none' as a valid (sort of) driver type.

1.43 (+16 -18 lines) 05/11/2006 04:27 PM Chuck Hagenbuch chuck

- don't silence file* calls when they really shouldn't fail (ie,
failing is a programmatic error, not a user/runtime error)

- rework factories to only include class files when the class doesn't
already exist (always allow a custom class to be included _before_ the
factory is called).

1.33.6.8 FRAMEWORK_3 (+5 -2 lines) 04/19/2006 05:14 PM Jan Schneider jan

MFH: 1.42

Tags: HORDE_3_1_3, HORDE_3_1_2

1.42 (+5 -2 lines) 04/19/2006 01:17 PM Jan Schneider jan

Catch errors.

1.33.6.7 FRAMEWORK_3 (+3 -3 lines) 01/01/2006 04:28 PM Jan Schneider jan

Happy new year

Tags: HORDE_3_1_1, HORDE_3_1, HORDE_3_1_RC3, HORDE_3_1_RC2, HORDE_3_1_RC1

1.41 (+3 -3 lines) 01/01/2006 04:10 PM Jan Schneider jan

Happy new year\!

1.40 (+9 -3 lines) 11/25/2005 01:50 PM mdjukic

some failover if now SQL DB and split the read/writes

1.33.6.6 FRAMEWORK_3 (+6 -3 lines) 11/07/2005 10:35 AM Chuck Hagenbuch chuck

MFH Structure.php 1.93, Token.php 1.39

1.39 (+6 -3 lines) 11/07/2005 10:34 AM Chuck Hagenbuch chuck

More reference fixes.

1.33.6.5 FRAMEWORK_3 (+1 -3 lines) 10/26/2005 02:25 PM Michael M Slusarz slusarz

MFH: Remove obsolete @since tags.

1.38 (+1 -3 lines) 10/26/2005 02:22 PM Michael M Slusarz slusarz

Remove obsolete @since tags.

1.33.6.4 FRAMEWORK_3 (+10 -1 lines) 10/18/2005 07:01 AM Jan Schneider jan

Merged from HEAD.

1.37 (+10 -1 lines) 10/16/2005 08:52 PM Chuck Hagenbuch chuck

constructors

Bug: #2788

Tags: BEFORE_MERGE_3_1

1.33.6.3 FRAMEWORK_3 (+32 -34 lines) 05/21/2005 01:19 PM Matt Selsky selsky

MFH: Clean up ws and return types in phpdoc.

Tags: HORDE_3_0_12, HORDE_3_0_11, HORDE_3_0_10, HORDE_3_0_9, HORDE_3_0_8, HORDE_3_0_7, HORDE_3_0_6, HORDE_3_0_6_RC1, HORDE_3_0_5, HORDE_3_0_5_RC2, HORDE_3_0_5_RC1

1.36 (+32 -34 lines) 05/21/2005 11:48 AM Matt Selsky selsky

Clean up ws and return types in phpdoc.

1.33.6.2 FRAMEWORK_3 (+1 -2 lines) 01/08/2005 09:51 PM Chuck Hagenbuch chuck

MFH: fix length of token_address SQL field.

Tags: HORDE_3_0_4, HORDE_3_0_4_RC2, HORDE_3_0_4_RC1, HORDE_3_0_3, HORDE_3_0_3_RC1

1.35 (+1 -2 lines) 01/08/2005 09:49 PM Chuck Hagenbuch chuck

Fix length of the token_address field.

1.34 (+2 -2 lines) 01/03/2005 08:09 AM Jan Schneider jan

Happy New Year

1.33.6.1 FRAMEWORK_3 (+4 -4 lines) 01/03/2005 07:19 AM Jan Schneider jan

Happy New Year

Tags: HORDE_3_0_2, HORDE_3_0_1

1.33 (+9 -6 lines) 11/23/2004 10:46 AM Chuck Hagenbuch chuck

Don't throw errors when giving an IPv6 address. Any reason this had to be hex? I'm just base64-ing it to make sure it's filesystem/db safe.

Tags: FRAMEWORK_3, HORDE_3_0, HORDE_3_0_RC3

1.32 (+5 -11 lines) 11/20/2004 11:37 AM Chuck Hagenbuch chuck

Just include PEAR.php for outside-framework compatibility.

1.31 (+9 -0 lines) 11/20/2004 06:10 AM Jan Schneider jan

Revert. This package can be used without the framework. Not sure if the same applies to the DataTree package.

1.30 (+2 -11 lines) 11/19/2004 09:37 PM Chuck Hagenbuch chuck

Just include PEAR.php in core.php and be done with it.

1.29 (+11 -2 lines) 11/11/2004 12:17 PM Chuck Hagenbuch chuck

raiseError wrapper to make sure PEAR.php is included.

1.28 (+4 -4 lines) 07/03/2004 11:26 AM Chuck Hagenbuch chuck

Eventual PHP5 fixes.

1.27 (+14 -19 lines) 03/30/2004 03:54 PM Chuck Hagenbuch chuck

Make sure that the base Token:: class can act as a dummy driver,
allowing all Token values.

Tags: HORDE_3_0_ALPHA

1.26 (+4 -4 lines) 01/01/2004 10:14 AM Jan Schneider jan

Happy new year everyone.

1.25 (+3 -3 lines) 10/30/2003 06:38 PM Jan Schneider jan

PHP 5 fixes.

1.24 (+2 -5 lines) 10/28/2003 06:06 PM Jan Schneider jan

Move Token classes to the framework module.

1.23 (+6 -10 lines) 10/01/2003 03:32 AM Jan Schneider jan

Looks like I missed that file. *Now* Horde_Token is an independant library.

1.22 (+3 -3 lines) 09/16/2003 12:25 AM mdjukic

this should not be done, forms should always get validated

1.21 (+3 -3 lines) 09/15/2003 09:05 PM mdjukic

don't bother checking for tokens which are NULL, they can't be sent by a valid form - anyone can think of any exceptions or reasons this could break something?

1.6.2.8 RELENG_2 (+2 -2 lines) 04/28/2003 03:59 PM Jan Schneider jan

require_once => include_once and some other small nits.

Tags: HORDE_2_2_4_RC2, HORDE_2_2_4_RC1, HORDE_2_2_4

1.20 (+3 -3 lines) 04/28/2003 03:31 PM Jan Schneider jan

It's a VERY bad idea to silence require[_once] calls because the scripts
die without ANY further notice (in the output or the logs).
And it's unecessary because our factory() methods check the existance of
the expected classes and return a PEAR_Error if they can't be found.

1.19 (+4 -2 lines) 01/03/2003 10:20 AM Jan Schneider jan

Add and fix @since tags.

1.6.2.7 RELENG_2 (+2 -2 lines) 01/03/2003 07:48 AM Jan Schneider jan

Bump year.

Tags: HORDE_2_2_3, HORDE_2_2_2, HORDE_2_2_1, HORDE_2_2_1_RC1, HORDE_2_2, HORDE_2_2_RC2, HORDE_2_2_RC1

1.18 (+4 -4 lines) 01/02/2003 09:32 PM Jan Schneider jan

Bump year.

1.17 (+7 -17 lines) 12/31/2002 09:20 AM Chuck Hagenbuch chuck

Simplify a lot of driver code; serialize() is faster than md5(), so we
can remove some code. Add a bunch of missing basename() calls, fix
some places where we shouldn't have returned a base class object, etc.

1.16 (+5 -5 lines) 12/29/2002 07:55 AM Jan Schneider jan

More strtolower() replacements.

1.15 (+46 -26 lines) 10/31/2002 11:26 PM Chuck Hagenbuch chuck

- Token:: renamed to Horde_Token:: for consistency and future packaging
- Horde_Forms now use Horde_Token by default to prevent them from
  being reloaded.
- A bunch of Whups bugs fixed
- A few minor Horde_Form ones, too.

1.6.2.6 RELENG_2 (+2 -2 lines) 09/13/2002 05:42 PM Jan Schneider jan

Bump version numbers. We very likely will never have x.x.1 releases.

1.14 (+74 -96 lines) 08/31/2002 06:46 PM Chuck Hagenbuch chuck

Cleanups, updates, and modernization of Token:: framework.

1.6.2.5 RELENG_2 (+71 -13 lines) 08/28/2002 03:17 PM Jan Schneider jan

MFH:
* Add Auth::isAdmin()
* Allow loading of sub-classes from several additional sources

1.13 (+3 -4 lines) 08/01/2002 12:37 PM Chuck Hagenbuch chuck

style nit (Roman Neuhauser <cynic@mail.cz>)

1.12 (+7 -3 lines) 07/28/2002 02:10 AM Chuck Hagenbuch chuck

use Horde::getDriverConfig()

1.6.2.4 RELENG_2 (+9 -1 lines) 07/26/2002 07:08 PM Jan Schneider jan

MFH: Added LGPL license information to the top of all Horde library files.

1.11 (+10 -2 lines) 07/26/2002 03:58 PM Michael M Slusarz slusarz

Added LGPL license information (per CODING_STANDARDS) to the top of all
Horde library files.  My fingers hurt.

1.10 (+70 -14 lines) 07/03/2002 12:46 AM Chuck Hagenbuch chuck

Update all factory() methods to allow loading of subclasses from an individual
application's lib/ directory or from the include_path.

1.6.2.3 RELENG_2 (+3 -3 lines) 06/25/2002 07:53 PM Jan Schneider jan

MFH:
* Add Horde::createTempDir().
* Add Horde::usingSSLConnection().
* Replace <?= with <?php echo to remove the short_open_tags requirement.
* Add Text::toHTML(), Text::highlightQuotes() and Text::dimSignature().
* Add Registry::listApps().
* Add Prefs::getPref() for getting preferences for someone other than the
  logged-in user.
* Add the ability to load identities for someone other than the logged-in
  user.
* Add Horde::removeParameter().
* Add Browser::downloadHeaders().
* Add detection for UTF capability to Browser class.

1.6.2.2 RELENG_2 (+3 -5 lines) 06/19/2002 10:58 AM Jan Schneider jan

Use superglobal arrays.

Submitted by: Nuno Loureiro <nuno@co.eth.pt>

1.9 (+3 -3 lines) 06/14/2002 01:57 PM Chuck Hagenbuch chuck

Remove most instances of @ before include_once or require_once. We'll
probably want to trap some of these potential errors and handle them
more gracefully, but hiding them this way can make things like a
syntax error in a config file _very_ opaque and hard to debug.

1.8 (+3 -5 lines) 04/23/2002 05:28 AM Jan Schneider jan

The last bunch of superglobals patches.

Submitted by: Nuno Loureiro <nuno@eth.pt>

1.6.2.1 RELENG_2 (+7 -7 lines) 04/04/2002 08:24 PM jon

Kill trailing whitespace (to reduce diffs with HEAD).

Tags: HORDE_2_1, HORDE_2_1_RC3, HORDE_2_1_RC2

1.7 (+7 -7 lines) 03/21/2002 11:41 AM jon

Kill trailing whitespace.

1.6 (+3 -3 lines) 11/07/2001 04:21 AM Chuck Hagenbuch chuck

a lot of references cleanup/optimization

Tags: RELENG_2, HORDE_2_1_RC1, HORDE_2_0_RC4, HORDE_2_0_RC3, HORDE_2_0, HORDE_2_0_RC2

1.5 (+32 -20 lines) 08/22/2001 07:01 PM Chuck Hagenbuch chuck

lots and lots of phpdoc fixes
style
cleanup

Tags: HORDE_2_0_0_RC1

1.4 (+3 -3 lines) 08/22/2001 05:41 PM Chuck Hagenbuch chuck

update @package declarations. Each class is not it's own package!

1.3 (+8 -8 lines) 08/20/2001 09:36 PM Chuck Hagenbuch chuck

CONN_ => TOKEN_

1.2 (+3 -3 lines) 08/15/2001 01:28 PM Chuck Hagenbuch chuck

use basename() in factory calls to make sure that only expected subclasses
are loaded.

1.1 05/16/2001 10:58 PM Chuck Hagenbuch chuck

rename ObjectStore to SessionCache and Connection to Token

Tags: HORDE_1_3_4