Doug Bell
5e6483e97f
add lineage increment_step and _offset for multi-master DB clusters
2011-03-21 18:26:18 -05:00
Colin Kuskie
16173f8aaa
Don't call newByLineage, if we know there's no lineage.
2010-07-27 10:30:19 -07:00
Colin Kuskie
08ee8153b3
Document that the whereClause will be prepended with "AND ".
2010-06-22 22:30:38 -07:00
Colin Kuskie
ee179911cf
Document that getLineage*'s excludeClasses are appended with wildcards, so sub-classes are also excluded.
2010-06-22 13:27:34 -07:00
Colin Kuskie
73d6ed7800
returnSQL has been superseded by the ability to call getLineageSql directly.
2010-06-21 14:37:04 -07:00
Colin Kuskie
2c08b4e712
Fix a bug in getLineageSql, where it would return the empty string. This could cause downstream problems. Fixes bug #11616
2010-06-08 09:22:28 -07:00
Doug Bell
247c607393
fixes for weaken and iterator
2010-06-01 19:37:53 -05:00
Doug Bell
2c75ab27e6
migrate to getLineageIterator to save memory
2010-06-01 16:23:49 -05:00
Colin Kuskie
1eeb76e96f
newByLineage should log its own error. Fixes bug #11192
2009-11-02 18:30:45 -08:00
Colin Kuskie
72bd5d5f16
Clarify the POD for addChild.
2009-10-26 13:39:02 -07:00
Graham Knop
60a4a9b140
mark $session->datetime->time as deprecated and remove its use from core code
2009-10-05 20:56:37 -05:00
Doug Bell
5c03cfbfbe
fixed #10544 : Child assets under uncommitted parents
2009-10-02 01:03:34 -05:00
Paul Driver
2621f92471
Small bug with the memory leak fix... fixed
2009-08-19 21:37:17 +00:00
Paul Driver
0a0ee3e6df
Fixed semi-rare memory leak in getLineage
2009-08-19 20:32:05 +00:00
Colin Kuskie
5e4db3adb4
Provide a framework for CSRF protection, with tests.
...
Add CSRF protection to Asset editSave, AssetManager, VersionTags and Group operations.
2009-07-06 16:58:57 +00:00
Colin Kuskie
8bcfa301b3
Make the AssetManager use Asset*.pm for cut, copy, paste, rank and duplicate.
2009-06-25 14:40:22 +00:00
Colin Kuskie
35749ff8c6
Add a progress bar for reordering rank in the Asset Manager.
2009-06-19 18:06:46 +00:00
Colin Kuskie
e518dbe1b3
Instrument www_demote, www_promote, demote, promote and swapRank with ProgressBar code.
2009-06-19 15:34:31 +00:00
Graham Knop
269227aa07
setParent shouldn't check user permissions, only www_ methods should
2009-04-03 19:26:13 +00:00
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