Commit graph

107 commits

Author SHA1 Message Date
Graham Knop
d9d524a2fe Use UTF8 for database connection when connecting to MySQL 2008-03-07 17:45:19 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
JT Smith
fa09c41598 replaced return; with return undef; 2008-01-24 21:58:15 +00:00
Graham Knop
15b22ab4ca Merged revisions 5264 via svnmerge from
https://svn.webgui.org/plainblack/branch/WebGUI_7.4

........
  r5264 | graham | 2008-01-09 10:59:46 -0600 (Wed, 09 Jan 2008) | 1 line
  
  reverting UTF-8 change
........
2008-01-09 17:16:20 +00:00
Graham Knop
71192f3c8b Merged revisions 5259 via svnmerge from
https://svn.webgui.org/plainblack/branch/WebGUI_7.4

........
  r5259 | graham | 2008-01-09 06:35:57 -0600 (Wed, 09 Jan 2008) | 1 line
  
  Use UTF8 for database connection when connecting to MySQL
........
2008-01-09 12:40:54 +00:00
Colin Kuskie
96178fd70c first round of Perl::Critic cleanups. Do not use return undef, use a bare return instead 2007-12-05 00:30:43 +00:00
Graham Knop
6c5453cf9b i'm dumb 2007-10-05 16:21:13 +00:00
Colin Kuskie
a9f45865e6 Add optional database connection parameters to the DatabaseLink. This
replaces the old, automatic setting of LongReadLen and LongTruncOk in
SQL.pm, and is much more flexible.
Fix some documentation with allowMacroAccess in the DatabaseLink.
Additional tests for DatabaseLink.
Document the new parameter behavior in the changelog and gotchas file.
2007-07-25 23:46:20 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00
James Tolley
c09b2cae1b EMS import/export, Form::*::getValueFromPost(alt_values), and tests 2007-05-29 23:39:24 +00:00
Nik Ogura
7329f102bd Fixed typos in the POD 2007-03-25 19:49:38 +00:00
JT Smith
172985e2a0 - fix: 7.4 Editing SQL Form seems to break site ...? 2007-03-09 05:38:44 +00:00
Colin Kuskie
1412f023f1 Fixed a bug in WebGUI::User::profileField, where the check for whether or not
a profile field existed in the db always passed because it used quickArray in
scalar context.  Since quickArray always returns 1 element, this was always true
and it never returned undef like it was supposed to.

To fix this, I added a new method called quickScalar that returns the first column
from the row as a scalar.  It has a basic test in SQL.t.

Then there's the new test in User.t for coverage that exposed this problem, and
I also removed a whole slew of duplicate tests.
2007-03-04 04:18:59 +00:00
Colin Kuskie
fcaf782f5b ODBC dsns need long lengths like Oracle 2007-03-01 23:27:24 +00:00
Colin Kuskie
211e9bd8a7 fix some bad POD in SQL.pm pertaining to how buildHash* works 2007-02-28 21:26:34 +00:00
Drake
b8f173fefe Add progressive tasks to the Task Manager; these are distinct from the
existing timed tasks and milestones in that they have a duration that
increases based on the amount of time tracked for them, and no set
completion time.  Nearby minor fixes.
2006-10-02 22:33:00 +00:00
Drake
1ad3f6e3b3 Make DBI connect errors not infinitely recurse. 2006-09-21 00:25:01 +00:00
Wouter van Oijen
2d9565775f POD fixes and removing debug output 2006-07-11 09:05:22 +00:00
JT Smith
9eee3fb891 clarification 2006-05-16 23:43:10 +00:00
Matthew Wilson
5b80488c5a updating POD 2006-05-12 15:10:33 +00:00
Matthew Wilson
046796c383 probably better order this thing. 2006-05-12 15:07:44 +00:00
Matthew Wilson
1401a22377 new convenience method. 2006-05-12 11:59:58 +00:00
Matthew Wilson
fd32315866 fix 2006-05-07 14:40:07 +00:00
Matthew Wilson
067170b8c9 more consistent indenting and more efficient buildArrayRefOfHashRefs 2006-05-07 14:38:56 +00:00
Matthew Wilson
82403c108c oops. 2006-04-17 08:52:02 +00:00
Matthew Wilson
2b8d4c247b um, weird. 2006-04-17 08:50:18 +00:00
Matthew Wilson
2c60283ba3 first major round of EMS changes. much more to come late tonight. 2006-04-07 00:02:45 +00:00
Colin Kuskie
510c1f5ca5 Modify User.pm and Group.pm to consider external means of defining users,
such as a dbQuery.  This would happened coincidently before, but required
doing a User->isInGroup and only added members who were searched for rather
than all members.
Modify Group.t to test this.
Update POD in SQL.pm.
2006-04-05 18:35:26 +00:00
JT Smith
6171357937 some bug fixes 2006-02-09 20:06:37 +00:00
JT Smith
ec5193e5d3 more workflow stuff 2006-02-09 18:45:14 +00:00
Matthew Wilson
4a3121960f removal of dumpSession. 2006-01-26 05:39:16 +00:00
JT Smith
74b01f732e added search to asset manager 2006-01-23 19:56:00 +00:00
Matthew Wilson
6f112057bb still more fixes. 2006-01-18 07:05:19 +00:00
Matthew Wilson
09483e18c5 a ton of $session fixes (thanks to Colin), and a new $session checker, that supposedly, shouldn't be needed now. It can be backed out, however, easily. 2006-01-16 22:45:21 +00:00
Colin Kuskie
197dacadec no more getSlave, convert code to use dbSlave instead
more form accessor fixes
Form/Template.pm, all asset calls need a session var
2006-01-16 00:08:58 +00:00
Colin Kuskie
a531ade065 POD typo 2006-01-15 06:16:56 +00:00
JT Smith
98cfe21ffe fix 2006-01-14 22:34:26 +00:00
JT Smith
7aede0fcb7 more bug fixes 2006-01-14 22:32:26 +00:00
JT Smith
72956a255e more session related bug fixes 2006-01-14 21:54:44 +00:00
JT Smith
b1ab07d24f more session related bug fixes 2006-01-14 21:30:49 +00:00
JT Smith
970eeb048a adding deconstructors 2006-01-13 17:53:53 +00:00
JT Smith
a3adaee3a0 removing unnecessary use lines 2006-01-12 22:27:20 +00:00
JT Smith
925906ca7e refactored WebGUI::Id to use new session api 2006-01-11 23:34:02 +00:00
JT Smith
a194408513 changing copyright year 2006-01-09 23:51:04 +00:00
JT Smith
024514c549 more session related changes 2006-01-09 19:56:26 +00:00
Matthew Wilson
e4bf3c60b0 fixing some typos. also the File/Storage bug. also fixing the changelogs. 2006-01-03 05:12:51 +00:00
JT Smith
d4b7f2ce59 first round of changes for the new session system 2005-12-31 21:54:06 +00:00
Matthew Wilson
f5f73c1681 - Converted all the max((assetData.)revisionDate) calls to use mysql5/(4.1)
nested queries.
 - fix [ 1323184 ] CS Submissions Not Sorting on multiple sites
 - fixed some major oversights in the new profile system.
2005-12-12 10:34:39 +00:00
JT Smith
f76da3335a making the much needed user profile api 2005-12-07 06:05:23 +00:00
JT Smith
9722bad470 fixed a bug in SQL::quote
fixed the logging bug
2005-12-04 23:40:55 +00:00