Graham Knop
24da723629
updating copyright year
2009-02-20 23:47:30 +00:00
Graham Knop
ede922e060
fix small issue in addChild
2009-02-06 01:04:27 +00:00
Martin Kamerbeek
1dde85aad0
Merging fixed #8775 : Miscount in number of replies in CS Thread.
2008-12-03 15:39:33 +00:00
Colin Kuskie
1c8dbfe5b4
fix POD related to asset mixin classes, Asset*.pm
2008-11-24 22:22:39 +00:00
Graham Knop
3cb07d4152
fix lineage cache clearing, syntax warning, db cache storable usage
2008-11-04 22:47:11 +00:00
Graham Knop
b7937249d6
sped up lineage changes significantly
2008-11-04 22:46:55 +00:00
Graham Knop
d529da257d
improve documentation of lineage iterator
2008-09-23 21:32:40 +00:00
Graham Knop
a2757494af
use Module::Find instead of enumerating over the files
2008-09-17 15:38:01 +00:00
Frank Dillon
1eeb3e0eea
Fixed a bug in getLineageSql which was returning an empty array ref in certain cases.
2008-09-07 16:30:17 +00:00
Graham Knop
29a419e1eb
added: getLineageIterator method to simplify working on large sets of assets
2008-09-05 22:14:04 +00:00
Frank Dillon
102fb221f9
Added a new method getLineageSql() which is called the same was that getLineage is called but returns the SQL that is generated by the getLineage call rather than and arrayRef of assetIds or instantiated assets. This method is now called by getLineage.
2008-09-05 17:47:56 +00:00
Chris Nehren
a57f091370
Fix the "get all assets" code example in getLineage to show that getRoot needs a $session.
2008-07-03 19:33:41 +00:00
JT Smith
f88cf54053
shelves can see skus under them as well as by keyword
2008-05-18 17:23:03 +00:00
Graham Knop
74381281fa
fixed: getLineage with joinClass only joins first table in definition
2008-04-10 22:15:09 +00:00
Graham Knop
35bfeac0ef
fixed: Wiki attachments uploaded by non-Content Managers deleted by maintenance workflow
...
fixed: Non-Content managers unable to paste assets even with edit privileges
2008-04-01 14:42:11 +00:00
Graham Knop
77b09dee37
fixed: Child assets not indicated by plus sign in uncommited tags
2008-03-05 04:56:44 +00:00
JT Smith
93b5ca16e4
updating copyright year
2008-02-07 23:28:18 +00:00
Colin Kuskie
53b7a7bfcb
convert AssetLineage from stringy to blocky eval
2007-12-24 06:50:02 +00:00
Doug Bell
01c6379224
fixed some Gallery tests failing. removed some unnecessary ones. still bunch more to go...
2007-12-19 16:41:39 +00:00
Doug Bell
5222ad6be1
merged with SVN HEAD
2007-12-18 12:22:37 +00:00
Doug Bell
82e9bf8448
Finished? Ready for merge at least.
2007-12-17 22:22:06 +00:00
Doug Bell
ac1a7dc3a3
fix: CS posts get re-ordered when copy/paste
2007-12-13 17:26:28 +00:00
Colin Kuskie
185a582ef9
State and status fix for AssetLineage->getDescendantCount, and tests to
...
double check it.
2007-11-21 03:43:20 +00:00
Colin Kuskie
80333b1141
add more tests to cover AssetLineage->getChildCount. Optimize the new SQL query in getChildCount
2007-11-20 21:15:06 +00:00
Colin Kuskie
0799d70428
Fix for AssetLineage's getChildCount. It did not consider the
...
asset's status, only the state. Change the SQL query to always
look at status, and consider state based on the options passed
to the method.
Add two quick tests to test that. More to follow.
2007-11-20 04:46:45 +00:00
Colin Kuskie
d9fc434a78
POD documentation for the argument to getChildcount
2007-11-19 04:46:37 +00:00
Graham Knop
ad85d802fe
lineage protection
2007-10-17 00:53:49 +00:00
Graham Knop
901480f57c
pedigree lineage fixes
2007-10-12 20:36:16 +00:00
Yung Han Khoe
6beff86e65
fix: Navigation with pedigree on site with multiple roots
2007-10-12 13:13:00 +00:00
Graham Knop
27b3a4d644
Add indicator to trash and clipboard for assets with children
2007-07-31 16:38:29 +00:00
JT Smith
884953607c
- fix: A bug where it was possible to delete a system page if it were made
...
the child of a non-system page that you had edit rights to.
- api: Added a unified contraints system for the file and image assets.
- fixed several problems with the new attachments control, setup, and tempspace
2007-07-26 16:08:27 +00:00
JT Smith
6524a3c815
Asset properties that have default values are now enforced by the API as they always have been by the user interface.
2007-07-19 23:08:02 +00:00
JT Smith
a7dde82421
updated copyright
2007-07-01 16:09:42 +00:00
Colin Kuskie
cab4e0bccd
fix API docs for getLineage. joinClass takes 1 class only, as a string
2007-05-15 17:26:37 +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
Colin Kuskie
c3052fcd67
1) Fixed a bad module name that prevented the updated WeatherData from running.
...
2) Heavy refactor of getAssetsInClipboard to make it use getLineage instead of
custom SQL.
Made Workflow/Activity/TrashClipboard use the same method.
Updated getLineage so that the whereClause key must not only exist, but actually
have something in it. Otherwise it generates an empty pair of parens, which is
a SQL error.
2007-03-05 17:47:30 +00:00
Roy Johnson
30a0cda342
fix - lack of testing for valid object creation
2007-01-30 16:09:41 +00:00
JT Smith
528d9af4f6
fix: No closure
2007-01-26 03:17:42 +00:00
Frank Dillon
7a1f7b414b
added statusToInclude flag in getLineage which allows you to filter assets by assetData.status. Completely backward compatible.
2007-01-21 16:48:52 +00:00
Doug Bell
cdaef9d5e3
Multiple fixes in the code Doug wrote for 7.3 - Calendar / DateTime / Event
...
- fix: Calendar now reports proper product ID on iCal feed
- fix: Calendar now tries to use the feed ID when sending uid of event on iCal
feeds (to prevent over-propagation of events shared between calendars).
- fix: Bug in AssetLineage->getLineage documentation.
- rfe: Event now has a template var to toggle if an event only lasts one day
- rfe: WebGUI::DateTime->toMysql now automatically adjusts to UTC. NOTE:
toMysqlDate and toMysqlTime do NOT adjust for timezones. If you are
using them you must adjust manually.
- fix: Bug in WebGUI::DateTime documentation
- fix: Calendar default date of "first event" or "last event" now works.
- fix: Calendar now handles Events that have ' in titles appropriately.
- rfe: Added a "dateSpan" Event template variable that will show a properly
formatted date/time span depending on how the event's start and end are.
2006-12-23 02:22:02 +00:00
JT Smith
430583ef1c
fixed a couple of bugs with the new autocommit functionality for cs posts and the like
2006-12-07 00:17:54 +00:00
JT Smith
eb580be7f1
removing the autocommit jury rig that posts and wikipage's were using
2006-12-06 17:35:36 +00:00