Commit graph

112 commits

Author SHA1 Message Date
Paul Driver
ae3e49d622 Versioned Metadata 2011-02-17 14:46:50 -06:00
Colin Kuskie
5b07ab3113 Allow anyone who can edit an asset to create a shortcut to it. 2011-02-01 14:10:12 -08:00
Colin Kuskie
8c2958b042 Do not send emails when a Post or Thread is copied inside WebGUI. Fixes bug #12024. 2011-01-19 18:43:33 -08:00
Doug Bell
93525126a4 fix 11975 cannot paste threads: Cannot call method isa() 2011-01-03 21:42:30 -06:00
Paul Driver
21ae5f0094 Better @INC fiddling and degenerate case for ProgressTree 2010-11-08 07:57:40 -06: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
Paul Driver
e238f72278 www_copy and www_pasteList Forkified 2010-10-06 08:54:17 -07:00
Colin Kuskie
927b986795 Forbid pasting content below a shortcut, to prevent loops on purge and other operations. Fixes bug #11855. 2010-09-13 18:47:17 -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
2c75ab27e6 migrate to getLineageIterator to save memory 2010-06-01 16:23:49 -05:00
Colin Kuskie
4db2408a18 Pass duplicate the skipAutoCommitWorkflows switch. Fixes bug #11581. 2010-05-22 12:43:27 -07:00
Paul Driver
503a378756 ProgressBar::run and now Asset->www_copy has a bar 2010-05-11 15:34:22 -07:00
Colin Kuskie
c8414bee52 Check for lack of existence of an asset before logging an error. Fixes bug #11526 2010-04-19 08:22:01 -07:00
Graham Knop
c472e0c4b8 add clipboard admin setting 2009-10-28 11:10:31 -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
Colin Kuskie
e4b99f1d6c Clear cache on assets in trash and clipboard limbo states. fixes bug #11027 2009-09-23 15:39:56 -07:00
Colin Kuskie
6b1fde7038 Log an error if duplicate cannot make a copy of itself. 2009-09-05 09:59:53 -07: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
Graham Knop
2ab07179bd fixed: Only users in 'Content Managers' can create shortcuts 2009-08-11 16:31:33 +00:00
Colin Kuskie
9a6d5d6eb0 Add CSRF token to manage clipboard screen. 2009-07-17 18:09:49 +00:00
Colin Kuskie
60c74a2a58 Fix pasting from the AdminBar macro due to CSRF requirements. 2009-07-14 23:39:14 +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
fb38e45343 Mark www_paste as deprecated. 2009-06-19 00:59:10 +00:00
Colin Kuskie
5bcd1a7fc4 Fix poor i18n code, and add notifications about assets that are skipped to the paste progress bar. 2009-06-19 00:04:39 +00:00
Colin Kuskie
db49a54e28 i18n the clipboard pasting progress bar data. 2009-06-18 23:40:41 +00:00
JT Smith
0a004d72a0 spew forth more data! 2009-06-18 22:36:42 +00:00
Colin Kuskie
156025d03c Tell Content/Asset that the paste status method did a redirect. 2009-06-18 20:37:45 +00:00
Colin Kuskie
fb6b201e77 Make it work with debug mode turned on. 2009-06-18 20:16:14 +00:00
Colin Kuskie
8be0a5c734 Add a progress bar for long running ops. First implementation is
with paste.  Also fix bugs with redirecting from the admin bar back to a
page instead of staying in the Asset Manager.
2009-06-18 19:39:35 +00:00
Colin Kuskie
4320d39b1c Pasting from the AdminBar in the AssetManager should leave you in the manager. 2009-06-17 15:38:08 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Colin Kuskie
99d6796675 Prevent Event, WikiPage and Thread from being pasted places where they don't
belong.  This allows chained method calls to "getMyParent", getParent, getWiki, getCalendar, etc.
to work.
Adds the new canPaste and validParent method to Asset and AssetClipboard.
2009-02-03 04:43:11 +00:00
Colin Kuskie
101e95fd63 Prevent Wiki Pages from being pasted to anywhere but a Wiki Master.
Add provisions for other assets to behave similarly.
2009-01-30 23:49:19 +00:00
Colin Kuskie
b4db7e4391 Prevent redirects from happening when cutting images and files. 2009-01-22 21:22:55 +00:00
Colin Kuskie
1c8dbfe5b4 fix POD related to asset mixin classes, Asset*.pm 2008-11-24 22:22:39 +00:00
Graham Knop
26790fd1dd fix some issues with autocommit 2008-10-23 10:20:53 +00:00
Graham Knop
99a9da626d rfe #640: Refactored autocommit and autocomment
Autocommit assets like CS posts or Calendar Events can now be added before the
parent is committed.  They will go into the same version tag as their parent.
2008-10-22 16:04:10 +00:00
Graham Knop
fe07152853 fixed #8776: duplicate does not duplicate keywords 2008-10-09 14:34:45 +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
Colin Kuskie
24339ba1e2 internationalize word copy in clipboard copies 2008-09-16 20:14:06 +00:00
Colin Kuskie
578d28537a op=manageAssets => op=assetManager 2008-06-12 04:44:15 +00:00
Graham Knop
5b78160079 fixed: Creating a shortcut creates a version tag even with autocommit turned on 2008-06-11 19:17:28 +00:00
Doug Bell
f3996eb316 Complete asset manager rewrite. 2008-05-26 22:07:16 +00:00
Graham Knop
cb6a1c94c4 fixed: Clipboard select all doesn't work with one item in IE 2008-04-09 22:27:30 +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
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
JT Smith
fb434a8b3a fix: content handler and redirects 2008-01-25 01:36:14 +00:00
JT Smith
fa09c41598 replaced return; with return undef; 2008-01-24 21:58:15 +00:00