Commit graph

84 commits

Author SHA1 Message Date
Colin Kuskie
1331bf9828 Remove more instances of direct hash access for properties. 2010-01-14 10:31:38 -08:00
Colin Kuskie
ce3edcf743 Move get_tables from Meta/Class into Meta/Asset. s/getTables/meta->get_tables/; 2010-01-04 15:34:24 -08:00
JT Smith
3938f9ff0d removed last remnants of old definition 2009-10-22 17:00:45 -05:00
JT Smith
ccff9c7014 Converted all existing uses of cache. 2009-09-25 22:24:33 -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
JT Smith
3df71a5351 - fix: Direct 6.8.10-7.2+ Upgrade Problem 2007-01-30 20:47:50 +00:00
JT Smith
17238f7d37 fixed my bad 2007-01-26 15:42:27 +00:00
JT Smith
e56bbe371f - security: A vulnerability was found and fixed this morning that could allow a
malicious user to delete assets that they don't have rights to.
2007-01-26 14:54:09 +00:00
Roy Johnson
4215a57fca Added a stop gap to assetTrash to keep it from dying if someone tries to purge an asset and the object is not defined.
Also added a note to gotchas warning that the upgrade can take a very long time.
2006-12-07 04:46:21 +00:00
Drake
aa2327141d Fix missing require in AssetTrash that was making some tests fail. 2006-11-06 23:49:21 +00:00
Drake
a1120bc987 Add workflow activity, workflow, and hooks for deletion of exported files
on asset trash, purge, and changeUrl.  This is kind of crufty.  :-\
2006-11-03 01:21:50 +00:00
Colin Kuskie
c68fa20512 update POD to reference correct group 2006-07-12 05:31:06 +00:00
JT Smith
5c16bd4d82 fix: Search displays already deleted files 2006-06-23 22:35:16 +00:00
JT Smith
d77c6ed89f [ 1475220 ] some 6.99 templates have double slashes 2006-04-28 17:21:58 +00:00
JT Smith
24bc7149ca fixed [ 1412525 ] 6.9: Restore from trash 2006-04-28 15:57:46 +00:00
JT Smith
1efaec679a more changes for better xhtml compatibility 2006-03-21 23:31:34 +00:00