Colin Kuskie
be37f12ab1
Clone stopped working in several tests in 5.14.2. Remove it in favor of Storable::dclone.
...
Clone handles being passed scalar data, but dclone does not.
2012-10-23 10:00:53 -07:00
Colin Kuskie
4c31d182f8
Allow template diagnostics to work when a session asset is not set. Add a way to get the raw, encoded URL from the request object.
2012-08-15 08:39:54 -07:00
David Delikat
db46cad887
fixed bug in error message in sub process: check caught exception for reference or scalar before processing
2011-12-12 16:46:07 -06:00
Colin Kuskie
7a89bf19c7
Remove a template attachment in the Search namespace. Add tests to check all other template attachments. Fixes bug #12238 .
2011-08-28 17:28:47 -07:00
Paul Driver
3531c4d913
Snippets can now select a template parser
...
(instead of being restricted to the configured default)
2011-03-31 15:21:07 -05:00
Paul Driver
61245baaaa
Fix template preview to work with chunked content and template post-processing (in Layout, for instance)
2011-01-06 14:35:56 -06:00
Paul Driver
41ac1f153e
Template Preview button
2011-01-05 12:40:35 -06:00
Doug Bell
97020f69bf
fix 11941 cannot edit default templates
2010-11-01 16:06:07 -05:00
Paul Driver
895ce37917
Move trash functions to Fork
2010-10-06 08:54:17 -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
2eed74891a
Restore addAttachments and restoreAttachments to the 7.x series. In 8.x, the object property will act like an arrayref, so they won't be necessary. Fixes bug #11861 .
2010-09-14 10:42:59 -07:00
Colin Kuskie
b1adfd2621
Fix missing Attachment label in the Template.
2010-09-02 14:07:21 -07:00
Doug Bell
4e9a2c07c2
fix possible vulnerability loading template parser
2010-08-11 15:37:34 -05:00
Colin Kuskie
30f3897fda
Handle import of templates with old attachments the correct way.
2010-07-27 18:14:06 -07:00
Colin Kuskie
5bc83c4b17
If the User Function Style template is cut or deleted, use the Fail Safe template instead. Fixes bug #11729
2010-07-26 09:01:21 -07:00
Doug Bell
b4f47dba7b
read template attachments from prior versions
2010-07-13 13:41:29 -05:00
Doug Bell
0b87ce3e65
fix package import problem
2010-07-13 13:20:41 -05:00
Doug Bell
65e9902001
migrate to JsonTable to edit template attachments
2010-07-13 13:12:46 -05:00
Doug Bell
60a813169a
migrate attachments to JsonTable
2010-07-13 12:39:43 -05:00
Doug Bell
097fb4c4a3
add style picker during setup
2010-04-26 19:09:05 -05:00
Doug Bell
23d80cfa5c
add: example images to templates
2010-04-26 19:09:05 -05:00
Colin Kuskie
d0884afb59
Do not remove newlines from Templates (or Snippets) since HTML::Packer does not handle newlines with H::T syntax. Fixes bug #11458
2010-03-08 11:38:29 -08:00
Colin Kuskie
3570411a7b
Fix bad path to a YUI JS library. Fixes bug #11387
2010-02-02 06:59:06 -08:00
Colin Kuskie
6fe662ef83
Make sure template attachments are duplicated. Fixes bug #11355 .
2010-01-18 10:58:03 -08:00
Colin Kuskie
7b810ec227
i18n the template attachments, fixes bug #11186
...
Also, rework some of the JS code according to jslint.
2009-11-09 13:28:53 -08:00
Colin Kuskie
ece9d56a9e
Rekey the template_attachments table. Fixes bug #11063 .
...
Also, prevent template attachments from throwing an error on duplicate
URLs, and fix the purge method added earlier.
2009-10-21 16:11:22 -07:00
Colin Kuskie
365d4bfef2
template attachments are not cleaned up on purge.
2009-10-21 12:37:24 -07:00
Colin Kuskie
8276336cbe
Templates in the trash or clipboard now log and return warnings. fixes bug #11031
2009-09-23 15:40:35 -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
2bbf81417b
Force the isLockedBy flag to be reset when autocommitting the tag for a duplicated template.
...
Fixes #10795
2009-08-20 03:58:34 +00:00
Colin Kuskie
c557949ef0
Request objects are optional, so check for one before trying to pull
...
the HTTP headers for it.
2009-08-14 01:36:46 +00:00
Martin Kamerbeek
46829ac970
Adding return JSON on specific requeest feature to template.
2009-08-10 12:42:33 +00:00
Colin Kuskie
cc1110a48d
Add missing POD to these assets.
2009-07-04 20:22:21 +00:00
Colin Kuskie
8a683d1aef
Better template diagnostics on failure. It now also includes the template URL, and templateId
...
in both the onscreen and logged output.
2009-06-08 16:53:53 +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
Graham Knop
c0d7357429
fixed: Template parser cannot be set
2009-05-29 20:22:08 +00:00
Doug Bell
18460256df
template attachments now work with packages. head_attachments and body_attachments are now documented
2009-05-07 17:35:43 +00:00
Paul Driver
f4df3b1280
template attachments (scripts and stylesheets)
2009-05-01 23:03:36 +00:00
Colin Kuskie
9b20ce2fe7
Add note about packed templates to process method sub.
2009-04-30 19:42:47 +00:00
Doug Bell
faca68256c
Added: Packing of templates, snippets, and head tags.
2009-04-30 17:57:26 +00:00
Graham Knop
cc1c1d165a
fixed: Template parser cannot be set
2009-03-04 22:09:08 +00:00
Colin Kuskie
01caef804c
parser should be a selectbox, not a selectlist.
2009-03-04 18:08:35 +00:00
Graham Knop
24da723629
updating copyright year
2009-02-20 23:47:30 +00:00
Colin Kuskie
09f7caab40
Provide a way for Template to import old packages that have headBlock properties, with tests.
2008-12-10 18:29:18 +00:00
Colin Kuskie
2b3b3fd458
Remove the headblock property from the Template Asset, and merge
...
it into extra head tags. Style templates are not allowed to
have extra head tags.
2008-11-26 21:24:44 +00:00
JT Smith
ee84cc7611
Deprecated WebGUI::Storage::Image. WebGUI::Storage can now do everything
...
WebGUI::Storage::Image can do.
2008-11-26 16:06:18 +00:00
Colin Kuskie
e3eb287d3e
style->sent check only needs to be done once. style->sent does that itself
2008-11-21 16:56:40 +00:00
Colin Kuskie
913ed8ec26
reset isDefault to 0 on copy, 8921
2008-10-25 20:33:24 +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
Doug Bell
810c8247cc
added: "EditArea" code highlighter and editing tool for WebGUI::Form::Codearea, used
...
in Template, Snippet, SQLReport, and more
2008-10-14 00:06:08 +00:00