Commit graph

568 commits

Author SHA1 Message Date
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
Colin Kuskie
1b8ad91605 Add in StoryManager, 3 assets for managing news content in WebGUI.
Several small API changes to Keyword and AssetExportHtml to support StoryManager functionality.
2009-04-24 18:31:06 +00:00
JT Smith
7376100540 Apply button applies but reloads old content in editor (#9827) 2009-04-14 20:05:53 +00:00
Colin Kuskie
ba156edb5a Refix synopsis output as metadata. 2009-04-14 19:33:16 +00:00
Graham Knop
7f2b6dfc83 fix allowEmpty and bugs it caused 2009-04-03 00:40:23 +00:00
Graham Knop
a829304bae improving RSSCapable upgrade procedure, adding feed header selection 2009-04-03 00:07:19 +00:00
Graham Knop
7064eb1a2a Keywords form control, Keywords API enhancements, Keywords format change 2009-03-26 20:52:19 +00:00
Brian Medley
4c408da55a Image Asset tests, upgrade package, and code.
RSS Limiter tests, upgrade package, and code.
2009-03-23 21:11:10 +00:00
Brian Medley
446cf883f5 Remove warnings 2009-03-23 08:44:46 +00:00
Brian Medley
fe54073536 checkpoint 2009-03-22 20:47:46 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Graham Knop
fd48c81e76 fixing placement of head tags in widgets 2009-02-10 21:41:53 +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