Commit graph

598 commits

Author SHA1 Message Date
Doug Bell
270f52aaaa fix 11954 Can't clear packed head tags 2010-11-16 18:47:51 -06:00
Paul Driver
c86ee12651 Fixing some failing tests 2010-10-07 16:14:48 -07: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
5ff871f2d5 Fix loose calls to $form->param('key') 2010-10-05 16:03:33 -07:00
Colin Kuskie
86ecb10198 Keep comments when packing asset content, since it will also remove conditional comments for IE. Fixes bug #11876 2010-09-20 13:37:12 -07:00
Colin Kuskie
09ff64334e Explicit scalar for getting the URL form param in Asset.pm. 2010-08-17 11:13:29 -07:00
Colin Kuskie
fff5bcfcd8 Better handling of fragment null string. Return chunked for errors in www_view. 2010-08-10 10:27:45 -07:00
Colin Kuskie
8a448e8f96 Tests for methods that die. Strange tom-foolery to get $@ into the logged message... 2010-08-10 10:27:45 -07:00
Colin Kuskie
3a9a3dd8e9 Add retry in case of problems in dispatch. Add tests for logging errors for bad templates. 2010-08-10 10:27:45 -07:00
Colin Kuskie
25fb019a18 Prepare a test method for throwing Template exceptions. Add code to handle HTTP 304 for visitors. 2010-08-10 10:27:45 -07:00
Colin Kuskie
1e00e6a93f Complete refactor, to handle defaulting to www_view. 2010-08-10 10:27:45 -07:00
Colin Kuskie
c987747409 Explicit return of undef in the fall through case. Test for notFound now look for undef. Added POD. 2010-08-10 10:27:45 -07:00
Colin Kuskie
7e96b15141 Check for fragment existance. Clarify a test. 2010-08-10 10:27:44 -07:00
Colin Kuskie
a649816db8 handle query params before URLs 2010-08-10 10:27:44 -07:00
Colin Kuskie
cb4189b7da Initial pass at dispatch 2010-08-10 10:27:44 -07:00
Colin Kuskie
092e3502c2 Add stub dispatch sub to Asset.pm 2010-08-10 10:27:44 -07:00
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