Commit graph

5103 commits

Author SHA1 Message Date
Nik Ogura
ea75fd538f added <> NULL to getLineage call. Prevents recurring events from wiping out other events with null recurId's within their span 2007-05-02 16:42:21 +00:00
Nik Ogura
e9588a0b65 stopped it breaking on MySQL null dates 2007-05-02 16:40:10 +00:00
Graham Knop
ff756eb09c Fix search indexing on Windows and make function savfer overall. 2007-05-02 16:31:49 +00:00
Martin Kamerbeek
2aa202d8d2 Fixed Too many directories in RSS cache 2007-05-02 15:08:52 +00:00
Yung Han Khoe
c13ee87504 Oops, next and previous url where switched in the previous revision. 2007-05-02 15:03:41 +00:00
Colin Kuskie
5247aa80f2 Fixed a typo in the POD for Asset.pm
Fixed a bug in the Help related to HTML::Template v2.9.  It does
not like variables with empty string names.
2007-05-02 14:50:30 +00:00
Martin Kamerbeek
52911b42d5 Let paste also index the descendants of the asset to be pasted. 2007-05-02 14:19:26 +00:00
Martin Kamerbeek
68fa0161c5 Fixed a calendar bug wher the iCal feed url was corrupt 2007-05-02 13:14:22 +00:00
Martin Kamerbeek
dc642f80ba Fixed Asset tree cut and paste not handled by search 2007-05-02 12:04:15 +00:00
Martin Kamerbeek
61641c404b Issue calling shortcut - incorrect template 2007-05-02 11:40:42 +00:00
Martin Kamerbeek
f17c5bc218 fixed: Unable to upload new file to update contents of file asset 2007-05-02 10:06:22 +00:00
Martin Kamerbeek
47d6a95a7f Fixed Image uploads only respect maximum size on update 2007-05-02 09:12:06 +00:00
Colin Kuskie
a5de078f13 fix a bug where userId, ipAddress, submittion time, etc. were omitted from the tab deliniated dump of the DataForm 2007-05-01 21:43:51 +00:00
Colin Kuskie
ec1d8dc2d1 Pre-work for DataForm bug fix.
Added POD to VersionTag.pm showing some of the properties that can be gotten via get.
2007-05-01 21:18:21 +00:00
Colin Kuskie
54e931ebe3 fix for autogenerated wiki links not obeying gateway settings 2007-05-01 20:44:30 +00:00
Yung Han Khoe
39be2887e1 Thread template: next.url and previous.url tmpl_vars are always defined 2007-05-01 13:37:26 +00:00
Colin Kuskie
e48cce07fb 8 more tests for Storage.t for tar and untar.
Reindented untar according to WGBP.
Changed getFileContentsAsScalar to slurp the whole file at once.
2007-04-30 03:55:05 +00:00
Colin Kuskie
8b7bafe1ae fix for editing interfaces to Assets that still display an edit button even if the Asset is edit locked. 2007-04-29 03:16:13 +00:00
Colin Kuskie
38060cc0cb add another privilege method for handling locked assets 2007-04-27 22:20:27 +00:00
Graham Knop
58018d5d69 More image uploading fixes. Copying/pasted code. Should probably be refactored a bit. 2007-04-27 17:12:50 +00:00
Colin Kuskie
885a369c67 fix bad override of isLocked inside WebGUI::Asset::Post::Thread 2007-04-26 23:11:15 +00:00
Graham Knop
abdb789902 Fix images in collaboration systems 2007-04-26 22:11:20 +00:00
Colin Kuskie
54a20b9c65 pod fixes for Form::Image and Form::File 2007-04-26 17:17:22 +00:00
Yung Han Khoe
4112758902 Url's in rss feed don't use http_host because http_host includes port and sitenames in conf don't. 2007-04-25 16:20:45 +00:00
JT Smith
7270f64835 if no url is specified get the media folder instead of root 2007-04-24 16:07:56 +00:00
JT Smith
485eee3808 Fixed a typo in SQLForm.pm (Radix) 2007-04-23 22:36:06 +00:00
Graham Knop
d1ebb39b11 Make sure Event menuTitles are <= 15 characters 2007-04-23 21:23:05 +00:00
Colin Kuskie
8faf7951d0 deleting a file from an Image Storage location did not delete the thumbnail 2007-04-23 05:13:59 +00:00
Graham Knop
531a53f4dc fix incorrect display on calendar week view for events on sundays or if first day of week is not sunday 2007-04-20 23:08:33 +00:00
Martin Kamerbeek
dcf64ed83b Fixed WebGUI::Image->new doesn't obey width and height settings 2007-04-20 15:00:15 +00:00
JT Smith
1c4f84ab13 Added better error handling in asset instanciation. 2007-04-19 03:36:50 +00:00
Graham Knop
886d8215b8 Image::Magick->Scale does nothing if given dimensions < 1, so make sure they are large enough when generating thumbnails in Storage/Image.pm 2007-04-17 22:00:59 +00:00
JT Smith
fc2086e10a - Added better error handling for asset instanciation in version tags. 2007-04-17 18:43:07 +00:00
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