Graham Knop
bd80af6b60
fix packing in templates and snippets
2010-04-19 18:57:02 -05:00
Graham Knop
6298d394ff
don't recompute packed template on object instantiation
2010-04-19 18:57:02 -05:00
Graham Knop
0efa62a73c
asset immutability
2010-04-19 18:57:01 -05:00
Graham Knop
2400f19099
Merge branch 'master' into WebGUI8
2010-04-13 07:50:02 -05:00
Colin Kuskie
c35f3b9ffb
Moose subclassing for Asset/*.pm.
2010-04-09 10:30:54 -07:00
Colin Kuskie
c786395eb4
Moose overriding for indexContent.
2010-04-07 15:07:20 -07:00
Colin Kuskie
dee5bbe5d0
Proper Moose setup for addRevision...
2010-04-06 16:13:02 -07: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
814c2af249
Change calls to new to newById across Asset/
2010-03-03 16:27:45 -08:00
Colin Kuskie
117c7897bb
Closer to Roles. Remove also from WebGUI::Definition, and put use Moose in all Asset classes.
2010-02-26 12:01:25 -08:00
Graham Knop
20ee527dbd
change aspect to define
2010-02-17 16:31:10 -06:00
Colin Kuskie
ec5208839e
Remove getValue from Assets, except for those in getEditForm which will go away later.
2010-02-16 15:51:01 -08:00
Colin Kuskie
dc2d086b2a
Fix a whole bunch of aspect comma/semicolon changes.
2010-02-15 13:52:11 -08:00
Colin Kuskie
d1572c4257
Make sure that all builder methods that use session sare set to be lazy.
2010-02-05 15:41:01 -08:00
Colin Kuskie
86dd8ab23e
Lots of syntax fixes, and convert to Moose accessors.
2010-02-04 13:26:38 -08:00
Colin Kuskie
2f8aff55e2
Remove deprecated code, overriding update in Template.pm
2010-02-04 12:51:49 -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
d4f31870a3
change the name attribute to aspect to denote asset level static attributes like tableName, et. al.
2010-01-25 19:16:05 -08:00
Colin Kuskie
f0b263df6c
Quick conversion of Template.pm to Moose.
2010-01-21 21:31:43 -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
Doug Bell
b102e4c0ed
- added: "Duplicate this template and edit" now updates the asset we came from, if any
2008-10-12 02:32:49 +00:00
Doug Bell
82a7e5dfd2
fixed problem with showing other assets' edit forms
...
fixed utility skeleton to be more complete and less annoying
added warning message when editing default templates
2008-09-21 22:56:42 +00:00
Doug Bell
a239c98820
insert TODO messages for a future API fix
2008-08-25 21:07:21 +00:00
Chris Nehren
36eb8db8fc
add ability to show metadata values in head blocks.
2008-08-21 18:51:16 +00:00