Commit graph

77 commits

Author SHA1 Message Date
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
Doug Bell
ac1a7dc3a3 fix: CS posts get re-ordered when copy/paste 2007-12-13 17:26:28 +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
Graham Knop
d42f568456 fix: Copy operations create version tags even with auto-commit turned on 2007-11-15 08:23:54 +00:00
Graham Knop
f8781fede9 setHelp not used anymore, clean up tests 2007-09-21 02:30:12 +00:00
Graham Knop
27b3a4d644 Add indicator to trash and clipboard for assets with children 2007-07-31 16:38:29 +00:00
James Tolley
f33e7533f4 copy asset pop-up menu 2007-07-11 00:07:17 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00
Graham Knop
a0522d4d29 fix: Copying threads, posts, or wiki pages creates inactive version tag 2007-05-21 12:50:44 +00:00
Martin Kamerbeek
52911b42d5 Let paste also index the descendants of the asset to be pasted. 2007-05-02 14:19:26 +00:00
Martin Kamerbeek
dc642f80ba Fixed Asset tree cut and paste not handled by search 2007-05-02 12:04:15 +00:00
Colin Kuskie
f8c0cb1041 s/descendent/descendant/msg when calling getLineage 2007-03-13 19:45:38 +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
Colin Kuskie
e1c69f91d9 fix display of assets in clipboard that cannot be trashed 2007-03-03 22:25:36 +00:00
Colin Kuskie
fcaf782f5b ODBC dsns need long lengths like Oracle 2007-03-01 23:27:24 +00:00
JT Smith
b92da4afab Asset->get should return a copy of the properties hashref 2007-01-29 17:53:56 +00:00
JT Smith
f94791fed0 fixed a duplicate bug where the original asset would get trashed 2007-01-26 04:50:33 +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
Drake
0ffb28436b Fix inability to create shortcuts to threads. 2006-11-07 15:52:25 +00:00
Drake
0d1c1ea96a Make Asset::getContainer no longer change the session asset. 2006-11-07 00:30:44 +00:00
Roy Johnson
030b9043ff This is actually a better fix 2006-10-04 15:16:04 +00:00
Roy Johnson
dba346de69 fix - Shortcut causes endless loop 2006-10-04 15:10:40 +00:00
Drake
c438d55310 Normalized signature of Asset::duplicate. This involved going through
existing overrides and callers for that method and making sure they followed
the correct signature.  Various related cleanups.

This should fix those bugs with collaboration systems refusing to be copied
or deployed as packages.
2006-09-23 01:33:46 +00:00
Drake
31cbd665e6 Back out r2910 for now since it doesn't seem quite right. This
needs further examination.
2006-09-21 08:19:15 +00:00
Drake
fcbefb7286 Make clipboard copies not do the bizarre thing that duplicate usually does
where the duplicate asset becomes a child of the original.  This fixes the
error with copying Collaboration System assets.
2006-09-21 01:12:56 +00:00
Frank Dillon
b104bacc32 fixed issue where clipboard select all was not working in IE. 2006-06-23 21:20:52 +00:00
Roy Johnson
67cc512c6c fix my doof 2006-06-23 20:34:30 +00:00
Roy Johnson
37c7f002ac fix - Deleted assets reappear upon paste of parent 2006-06-23 19:34:53 +00:00
JT Smith
6f96677a5e - fix: Tinymce insertImage
- fix: Edit Style returns wrong page
 - fix: Can not make Shortcut for CollaborationSystem
2006-06-12 21:35:49 +00:00
Wouter van Oijen
684f08649d Fixing stuff 2006-05-21 14:49:40 +00:00
JT Smith
414dfde9c3 removed old macros from default config file
added duplicate button
2006-05-19 05:29:34 +00:00
Lucas Bartholemy
612f08b37c added privilege check - only content managers can create shortcuts 2006-05-17 19:38:55 +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
JT Smith
b55a7252e8 removed border= from image tags 2006-03-21 21:13:36 +00:00