Commit graph

95 commits

Author SHA1 Message Date
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
Matthew Wilson
09bf2b263f Lots more Dashboard features/changes.
Internationalization and Help to come.
Default dashlet demos/walkthroughs to come.
2005-12-01 15:46:04 +00:00
JT Smith
ea868a8c0e moved uploadsAccessHandler into the main webgui handler mechanism
converted macros to use references
fixed some other various bugs
2005-11-07 01:40:07 +00:00
JT Smith
0dd6b7b660 bug fixes 2005-09-09 19:30:28 +00:00
JT Smith
f6c2dfe6fb - fix [ 1275024 ] Can not edit layout on 6.7.2
- fix [ 1262235 ] sql report form params
 - fix [ 1277529 ] Extra radio buttons in Settings console
 - Removed the last remnants of wobject ids.
 - Fixed a GUID case sensitivity problem.
 - Fixed several large security holes. See the security advisory on
   getwebgui.com for details.
 - fix [ 1279157 ] showInForms option not stored
 - fix [ 1250290 ] ECommerce state field broken on Plainblack.com
 - fix [ 1261985 ] (Fix?) sortby.lastreply.url (Andreas Graf)
2005-09-01 17:41:05 +00:00
Colin Kuskie
5a47ca6f1b example for execute is wrong, takes an array ref, not array 2005-07-25 20:48:03 +00:00
Martin Kamerbeek
f032cfcd79 Fixing fatalError method calls 2005-04-25 22:36:55 +00:00
JT Smith
6aa9f76a71 added a new logger 2005-04-01 03:24:23 +00:00
JT Smith
3b713d22d1 fixing some more bugs 2005-02-16 04:57:27 +00:00
JT Smith
55c709a051 updated copyright 2005-02-07 00:52:47 +00:00
JT Smith
d47830aceb merging 6.2.10 and 6.2.11 changes 2005-01-28 22:19:39 +00:00
JT Smith
a287beda58 converting nav and more asset manager fixes 2004-12-28 05:01:04 +00:00
JT Smith
382ced9ffe first run on new asset system 2004-12-17 05:41:22 +00:00