Commit graph

95 commits

Author SHA1 Message Date
Paul Driver
21ae5f0094 Better @INC fiddling and degenerate case for ProgressTree 2010-11-08 07:57:40 -06:00
Paul Driver
c86ee12651 Fixing some failing tests 2010-10-07 16:14:48 -07:00
Paul Driver
93ce217ad9 Added pod for trashInFork 2010-10-07 09:12:19 -07:00
Paul Driver
04fa1ca794 VersionTag rollback moved to Fork 2010-10-06 08:54:18 -07:00
Paul Driver
895ce37917 Move trash functions to Fork 2010-10-06 08:54:17 -07:00
Colin Kuskie
61008c8bb8 Check that the Purge workflow exists before trying to run it. Fixes bug #11698 2010-07-01 11:08:44 -07:00
Colin Kuskie
05a19ff7b8 Display assets, regardless of their status, in the Clipboard and Trash. Fixes bug #11550. 2010-06-22 22:31:07 -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
Paul Driver
99fbe6d155 escape asset titles in manageTrash 2010-05-27 11:30:12 -07:00
Colin Kuskie
195218cbaf when purging from system trash, return to system trash. Fixes bug #11509. 2010-03-31 17:24:00 -07:00
Graham Knop
c1ce7470b9 added: Manage System Trash group setting 2009-10-28 11:10:58 -05: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
Wes Morgan
4d22e7bcd6 fixed bug where shortcuts weren't purged along with assets when both were in the trash 2009-09-26 01:43:57 -06:00
Graham Knop
c7570ac645 fix invalid i18n label in AssetTrash 2009-09-24 18:55:23 -05:00
Colin Kuskie
e4b99f1d6c Clear cache on assets in trash and clipboard limbo states. fixes bug #11027 2009-09-23 15:39:56 -07:00
Graham Knop
977b1f2b6d fix error logging when unable to purge children 2009-09-20 14:38:30 -05:00
Colin Kuskie
d8ae7fc68e When purging an asset, clean up all version tags for this asset, which may
contain only this asset. Fixes #10872
2009-09-01 22:13:17 +00:00
Colin Kuskie
327efb2f1b Fix broken i18n for the progress bar in deleting assets. 2009-08-23 23:51:13 +00:00
Colin Kuskie
0511af269d Make Threads recalculate the number of replies when restoring a Post from the Trash.
Fixes bug #10758.
2009-08-17 22:25:24 +00:00
Colin Kuskie
92815bb75d Change www_delete and www_cut to use either the container, or the parent
as the asset to return the user to after their actions.
Subclass getContainer in the Story, and alias it to getArchive.
Fixes bug 10657.
2009-08-14 19:43:14 +00:00
Colin Kuskie
0bfc16bf9a Forward porting viewing pending assets in the trash and clipboard. Also
allowing restore of pending assets in the trash.
2009-08-06 17:56:56 +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
299442662a Add a progress bar to Delete in the AssetManager. 2009-06-25 15:33:43 +00:00
Colin Kuskie
7b5cf7518c Add progress bars for rollback, trash and their www methods. 2009-06-24 22:30:41 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Colin Kuskie
1c8dbfe5b4 fix POD related to asset mixin classes, Asset*.pm 2008-11-24 22:22:39 +00:00
JT Smith
ef120fb06b Added isVisitor, isAdmin, and isRegistered methods to User object instead
of hard coding checks everywhere with group ids. And updated the code base 
   to match.
2008-09-16 22:32:36 +00:00
Graham Knop
778a32df19 remove Do Nothing On Delete workflow and allow none to be selected for on delete etc workflow
remove remnants of realtime workflow selection code
2008-08-22 16:10:00 +00:00
Colin Kuskie
578d28537a op=manageAssets => op=assetManager 2008-06-12 04:44:15 +00:00
Doug Bell
f3996eb316 Complete asset manager rewrite. 2008-05-26 22:07:16 +00:00
JT Smith
01d9af6222 The concept of "realtime" workflow has been eliminated. Instead all workflows are now realtime (synchronous), and roll over to be asynchronous if they cannot complete succesfully and immediately. 2008-05-03 05:38:13 +00:00
Graham Knop
59282033ea fixed: Can't purge uncommitted assets if not using its version tag 2008-03-24 09:43:29 +00:00
Graham Knop
72b8e1d630 fixed: Able to cut or trash system assets 2008-03-24 09:43:20 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
Graham Knop
29045734e5 fix: No current asset when ending up on Not Found page 2008-01-29 15:43:18 +00:00
JT Smith
fa09c41598 replaced return; with return undef; 2008-01-24 21:58:15 +00:00
Graham Knop
1149fd54ed merging 7.4 changes 2008-01-23 23:48:35 +00:00
Graham Knop
ba44d57e9f Merged revisions 5224 via svnmerge from
https://svn.webgui.org/plainblack/branch/WebGUI_7.4

........
  r5224 | graham | 2008-01-02 16:18:53 -0600 (Wed, 02 Jan 2008) | 1 line
  
  fix: Assets with no committed versions may be left as orphans when parent is purged
........
2008-01-02 22:26:42 +00:00
Doug Bell
5222ad6be1 merged with SVN HEAD 2007-12-18 12:22:37 +00:00
Doug Bell
d0a97d0bff fix: Import Package does nothing when re-importing trashed package 2007-12-13 16:19:59 +00:00
Colin Kuskie
96178fd70c first round of Perl::Critic cleanups. Do not use return undef, use a bare return instead 2007-12-05 00:30:43 +00:00
Doug Bell
5746ded766 Added more tests. Cleaned up the OO of File and Image a bit (removed a healthy bit of unnecessary code from Image). Done with File and Image for the time being... 2007-10-09 07:36:54 +00:00
Doug Bell
f684e728c8 fix: Shortcuts now follow their linked asset when trashing, purging, and restoring from trash 2007-10-05 00:27:14 +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
Colin Kuskie
0ff54153aa Fix a bug in removing keywords related to assets being purged. 2007-07-11 17:58:09 +00:00
JT Smith
23fa0283b3 - Added keyword tagging api. 2007-07-07 04:37:38 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00
Yung Han Khoe
7a4a0be5d4 fix: Incomplete assets cause manage Trash to fail, added test for valid object creation 2007-02-16 13:52:16 +00:00