Commit graph

580 commits

Author SHA1 Message Date
Doug Bell
69b7fe0465 fix jsontable and use it for Calendar feeds 2010-07-13 13:12:47 -05:00
kimd
fa04d01518 o Allow return from photo edit view to gallery edit view (RFE 11571)
o Reject form submissions without image selected for upload in edit view of Photo asset
2010-06-09 15:28:42 -05:00
Doug Bell
cc87552a22 weaken all session refs 2010-06-01 16:23:48 -05:00
Doug Bell
09092a13b6 performance enhancement 2010-04-29 12:21:50 -05:00
Colin Kuskie
a0253fa599 Remove really old code from the old Rss From Parent asset. 2010-04-07 14:50:51 -07:00
Luke Robinson
017a9a7fc2 allow field overrides in the config file 2010-01-27 15:57:26 -08:00
Colin Kuskie
38dedef368 Remove debug from Asset.pm 2010-01-21 11:55:49 -08:00
Colin Kuskie
be7cd328cf Add POD for getIsa. Enforce a repeatable order for testing. 2010-01-12 11:07:25 -08:00
Colin Kuskie
27a7c099ba fix: getIsa returns undef for pending assets.
Add a new option flag to getIsa, called returnAll.  If returnAll = 1, then
assets are returned regardless of status.  Otherwise, getIsa will only
return committed assets.
2009-12-08 17:22:59 -08:00
Colin Kuskie
f96c2f7af1 Change assetManager search to work like assetManager manage. Fixes bug #11272
Force all actions to be routed through asset methods with Csrf and
permission checks.
2009-11-24 22:53:20 -08:00
Colin Kuskie
da6743c211 Add the code to actually generate the hexadecimal assetId for templates. 2009-11-24 22:53:12 -08:00
Colin Kuskie
74f7038ec1 Fix a bad comment. 2009-11-02 09:05:36 -08:00
Colin Kuskie
edcbd95250 Have getIsa throw exceptions, instead of croaking. 2009-10-27 13:49:13 -07:00
Colin Kuskie
5bd5bb48a9 Central cache access for Assets to handle SSL caching. Fixes bug #11131. 2009-10-20 15:15:38 -07:00
Colin Kuskie
2250ab0452 Fix a typo in Asset->checkView, which redirected assets in the clipboard to the trash instead. Fixes bug #11139. 2009-10-16 14:31:26 -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
Colin Kuskie
9d438f7266 Fix bad URLs from happening when inheritUrlFromParent is used. Fixes bug #11011 2009-09-22 11:45:06 -07:00
Graham Knop
4fc3e55a3a remove debug logging statements 2009-09-22 11:28:13 -05:00
Colin Kuskie
3ff88580e8 Update POD for getIsa 2009-09-18 13:29:58 -07:00
Colin Kuskie
633f10d1b0 Remove debug code. 2009-09-11 08:25:37 -07:00
Colin Kuskie
2948e68781 Fix 10939, commit with approval breaks on assets with autocommit children, Post, Story, Wiki, Event, etc.
Encapsulate a new method to get a fresh asset from the db.  With tests.
2009-09-08 21:17:41 -07:00
Colin Kuskie
13cceb9c1a Check JSON deserialization, and make Assets do it. 2009-08-26 17:13:00 +00:00
Colin Kuskie
18a52b9aa2 Refactor out the JSON collateral code from FilePump/Bundle.pm to make an aspect
that can be used by assets, operations and any other modules in WebGUI.
2009-08-26 15:42:18 +00:00
Paul Driver
0a0ee3e6df Fixed semi-rare memory leak in getLineage 2009-08-19 20:32:05 +00:00
Colin Kuskie
1c9908f490 Encapsulate logic for determining if an SSL request has been made.
Refactor core modules to use that.
2009-08-19 18:25:00 +00:00
Graham Knop
4350966866 fixed: Copied assets don't always get URL extensions added 2009-08-19 16:28:38 +00:00
Colin Kuskie
1704618d6b Update the POD for checkView 2009-08-18 01:19:29 +00:00
Colin Kuskie
7a3213b373 Allow autocommit workflows to do apply (save & re-edit). 2009-08-12 17:35:36 +00:00
Graham Knop
686d79d76d small fix to regex for asset class names 2009-08-11 22:30:18 +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
183431b00a Remove debug code. 2009-07-08 05:18:11 +00:00
Colin Kuskie
b7358fbceb Forward port fix for updating property cache on editSave with autoCommit
so that the asset does not lie about its autocommit status.
2009-07-08 04:29:27 +00:00
Colin Kuskie
02e9354c15 Automatically add a token to any autogenerated form.
Refactor previous commits to take advantage of that.
2009-07-06 17:20:27 +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
f0eaa51d3a If adding an asset is added to another asset with an open version tag, put the
new asset in that version tag, too.
2009-06-23 19:32:40 +00:00
Colin Kuskie
cd0bf74fc7 Add a method that returns the URL for the assetManager. 2009-06-19 18:05:22 +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
801efdbda7 Encapsulate a method to get the list of content prototypes.
Performance improvements for the list retrieval.
2009-06-17 01:57:26 +00:00
Kaleb Murphy
9fbd21ee9e Removed debug line, whups. 2009-06-08 17:03:41 +00:00
Kaleb Murphy
34429aec62 Changed survey .js/css files to remove hardcoded absolute extras paths. 2009-06-08 16:58:44 +00:00
Colin Kuskie
9d5f979c15 Allow any Asset to use the proceed=goBackToPage;returnUrl=url url parameter coda. 2009-06-04 21:26:43 +00:00
Colin Kuskie
a5f798d339 Remove debuggin output. 2009-06-02 21:33:12 +00:00
Colin Kuskie
6ac30bb2ea Add noFormPost to packed content in the asset tables to prevent them
from overwriting the data that has been packed from the filter function.
Rerun the upgrade script to repack all areas that use packing.
2009-06-02 20:30:48 +00:00
Colin Kuskie
b0a1e20053 Refactor processStyle so there's no duplicated code. Make Wobject call
SUPER.  Add an option to skip adding getExtraHeadTags, so that Shortcut
doesn't add them an extra time.  Remove the subclassed getExtraHeadTags,
since prepareView will add them, which prevents adding them a 3rd time.
2009-05-29 23:30:04 +00:00
Colin Kuskie
91694a2e97 Revert previous bugfix for MetaData list type form controls, and change the
hoverhelp instead.
2009-05-29 15:37:16 +00:00
Colin Kuskie
ece881d855 Fix the parsing of possible values for list type metadata fields. 2009-05-27 22:43:28 +00:00
Doug Bell
28311c08d4 fix default value for packed head tags. too dangerous to make default to on right now 2009-05-07 17:30:25 +00:00
JT Smith
2b6b8872dd URLs that shouldn't happen (#10353) 2009-05-07 16:26:32 +00:00
Graham Knop
4ec14bc026 some image cropper cleanups 2009-04-30 18:17:12 +00:00
Doug Bell
faca68256c Added: Packing of templates, snippets, and head tags. 2009-04-30 17:57:26 +00:00