Commit graph

5278 commits

Author SHA1 Message Date
Colin Kuskie
bd577a6712 Cache tests for getFirst- and getLastChild, hasChildren.
newByLineage tests, with cache
changed newByLineage to use placeholders
Coverage is 59/55/84
2007-04-15 04:30:55 +00:00
Colin Kuskie
450aab40a0 Some coverage tests for setRank. Added tests and a new folder
for getDescendantCount.
Pushed the reversal of order back into getLineage.  WGBP indentation.
2007-04-15 03:41:38 +00:00
Colin Kuskie
483daf6671 More rank swapping tests, cleaned up a bug in the tests that passed but should
not have.
Updated the POD in AssetLineage to show which methods alter the object's stored
lineage versus the information in the database.
2007-04-15 02:02:03 +00:00
Colin Kuskie
a7cb2133c9 10 tests for rank swap, promote and demote
changed promote and demote to use placeholders in AssetLineage.
Added explicit return values to demote
2007-04-14 01:50:11 +00:00
Colin Kuskie
c9e2a8b9f3 11 more AssetLineage tests for various rank methods.
Have setParent update self's parentId for persistent code.
2007-04-14 00:50:35 +00:00
Colin Kuskie
e894ed29ae Tests for getParent and getParentLineage
Fixed getParentLineage.  The regular expression only matched strings
that were 8 characters long.
2007-04-13 21:45:32 +00:00
Colin Kuskie
a548341aea More AssetLineage tests.
setParent does not clear the internally cached reference to
the parent Asset.  This makes persistent code get the wrong
Asset reference.
2007-04-13 21:01:15 +00:00
Colin Kuskie
9e4216c4a0 Add more AssetLineage tests.
cascadeLineage will crash because it does not check for duplicate lineages.
Removed a duplicate check for $newParent definedness in setParent.
2007-04-13 20:19:23 +00:00
Colin Kuskie
15c245b06a AssetLineage tests, and place holders for AssetLineage 2007-04-13 17:27:51 +00:00
JT Smith
1013381c36 fixed an error in the groups/db system where removing a dblink connected to a group would produce a fatal error 2007-04-11 17:24:56 +00:00
JT Smith
e8afd2ad72 Fixed an unhandled exception in Workflow/Activity/PurgeOldAssetRevisions.pm 2007-04-11 14:36:13 +00:00
Colin Kuskie
76bf1b2ad5 testing for DateTime methods for interval translation and date math. Reformatted some of Session/DateTime for WGBP 2007-04-10 04:51:48 +00:00
Colin Kuskie
d9f2bcde69 fix typo in POD 2007-04-09 18:22:58 +00:00
Colin Kuskie
4cc810faf3 Added tests for mailToEpoch.
Removed the default setting for mailToEpoch that would have assigned
the epoch to the mail field and automatically caused the method
to fail, returning undef.
2007-04-09 18:01:26 +00:00
Colin Kuskie
1a615f8ad8 replaced a literal loop with isIn, WGBP indented 1 line of Group.pm 2007-04-08 05:07:26 +00:00
Colin Kuskie
0587d28026 fix defined variable problems interfering with session scratch variables in the user search/list operation 2007-04-06 21:48:25 +00:00
Nik Ogura
ac01ed4221 added html filters to processing of text messages so that html tags won't show up in posts 2007-04-06 15:57:37 +00:00
Colin Kuskie
88a08fd228 getMimeType returns that string as a default, so the OR will never
be triggered.
2007-04-06 04:59:13 +00:00
Doug Bell
2d9649dc10 fix: EMS now keeps information about registration if a user logs out before they complete their transaction. 2007-04-06 00:55:39 +00:00
Colin Kuskie
108fb76ee6 update POD to note that macros can be used in all NotifyAboutUser specific fields 2007-04-05 23:08:11 +00:00
Colin Kuskie
6cef5a8e02 fix a macro processing bug caused by not sending the session to Macro::process 2007-04-05 16:18:07 +00:00
Nik Ogura
6825adae82 added $self->session to macro calls 2007-04-05 16:07:53 +00:00
Colin Kuskie
8650e34ed4 document the marker for automatic extraction of the synopsis from the post descriptions 2007-04-05 04:11:36 +00:00
JT Smith
e1c86d7f95 - fix: fixed an error in the groups/db system where removing a dblink connected to a group would produce a fatal error 2007-04-05 03:43:37 +00:00
Colin Kuskie
268b56b079 getValue does not look at form values 2007-04-05 03:34:28 +00:00
Nik Ogura
fb0f1ba7ac changed js libraries from yui over to the -min versions to speed up load time when using textareas 2007-04-05 02:40:13 +00:00
Nik Ogura
43f2c14dff Fixed self caused bug that blew all posting permissions 2007-04-04 20:58:56 +00:00
JT Smith
23fc12e462 preparing for 7.3.15 bugfix cycle 2007-04-04 18:51:59 +00:00
JT Smith
fdf9c65ab5 - fix: a typo in DatabaseLink.pm
- fix: a typo in CleanTempSpace.pm
 - fix: an unhandled exception in Asset/File.pm
2007-04-04 16:03:34 +00:00
Nik Ogura
590f8dd479 Added ability to handle unregistered email messages if allowed 2007-04-02 20:57:30 +00:00
Nik Ogura
092d3acbf3 fixed permission bug on line 785: privilege::insufficient changed to privilege->insufficient 2007-04-02 15:16:23 +00:00
Colin Kuskie
133f2010ab isSingleton was not ever in the editSave form for the Workflow! 2007-04-02 04:56:50 +00:00
Nik Ogura
6d79679194 fixed type in pod 2007-04-01 04:01:52 +00:00
Nik Ogura
b4bc36d23d added custom handling to the %D format to remove initial space in single space days. 2007-04-01 00:38:48 +00:00
Nik Ogura
a91bc9c154 Altered regex to allow '+' in email address 2007-03-31 21:24:29 +00:00
Martin Kamerbeek
ba3eedf4a7 Fixed a bug where WG::Sess:Form->param would return duplicate params 2007-03-30 10:51:27 +00:00
Nik Ogura
0c1a2e10b4 Bare skeleton wouldn't compile. Needed $session declared in view method 2007-03-29 21:32:07 +00:00
JT Smith
c70bf5c256 - fix: Caching (last-modified bug) (misja / E-Wise) 2007-03-28 18:45:59 +00:00
Colin Kuskie
9b3a18405a fix calendar typos 2007-03-28 16:13:03 +00:00
Colin Kuskie
9e0c0d2594 add documentation for urlIcal template variable, and make it point to the URL, rather than the method 2007-03-27 20:43:16 +00:00
Nik Ogura
211bbb552a added 'urlIcal' to global variables 2007-03-27 18:11:42 +00:00
Nik Ogura
98a576201e fixed double conversion into seconds (seconds were being stored, and then multiplied by 86400) 2007-03-27 06:09:34 +00:00
Nik Ogura
cb7f79543a changed pod from 'days' to 'seconds' for expireOffset et al. to reflect what's actually happening 2007-03-27 06:07:50 +00:00
Colin Kuskie
c410bfd146 fix for SQLForm database table permissions where the user is granted permission on all databases 2007-03-27 05:40:54 +00:00
Nik Ogura
7329f102bd Fixed typos in the POD 2007-03-25 19:49:38 +00:00
Colin Kuskie
ec707d8041 Only convert to seconds once in CleanLoginHistory. 2007-03-24 22:32:56 +00:00
Colin Kuskie
48a67a803e prototype fix for page hopping after login 2007-03-24 22:19:57 +00:00
Colin Kuskie
e58f062114 Added missing croak arg to use Carp line.
Stored recurId into the object and db after it is created in setRecurrence.
2007-03-24 03:47:44 +00:00
Colin Kuskie
b9e6914f34 fixed a bug where a user could see the Calendar edit form but not save it. Event->canEdit now returns the parent canAddEvent check 2007-03-24 01:09:19 +00:00
Colin Kuskie
fed13bad77 fix typo in WebGUI::Workflow::Cron::delete and reenable default notification to spectre of Cron deletion 2007-03-23 21:11:10 +00:00