Commit graph

103 commits

Author SHA1 Message Date
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
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
Colin Kuskie
f844b0b088 fix a typo in the Asset::Template getList POD 2008-07-07 15:03:11 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
JT Smith
fb434a8b3a fix: content handler and redirects 2008-01-25 01:36:14 +00:00
Colin Kuskie
598a0d0990 fix for choosing uncommitted templates as a User Style Template 2007-10-18 23:17:18 +00:00
JT Smith
f6cab15bd0 removed help links that are referring to help that has been moved to the wiki 2007-07-26 04:53:14 +00:00
Colin Kuskie
8b7bafe1ae fix for editing interfaces to Assets that still display an edit button even if the Asset is edit locked. 2007-04-29 03:16:13 +00:00
Frank Dillon
6b8220f12b not sure if I fixed anything here, but whatever I did seems to have caused the problem to stop happening on plainblack.com 2007-02-02 00:22:23 +00:00
Drake
0d1c1ea96a Make Asset::getContainer no longer change the session asset. 2006-11-07 00:30:44 +00:00
JT Smith
b4727a5739 merging 7.1.3 changes 2006-11-01 16:48:57 +00:00
JT Smith
63b22dc502 - fix: Style Wizard
- fix: content-type
 - fix: Two cookies and incorrect Last-Modified date in HTTP header
 - fix: HTTP status code 404 broken
 - fix: Add missing page on Problem With Request
 - fix: Avatar/photo upload not working
 - fix: Shortcut with content lock fails (Thanks to Michelle Lamar)
2006-07-11 20:08:30 +00:00
Wouter van Oijen
2d9565775f POD fixes and removing debug output 2006-07-11 09:05:22 +00:00
Lucas Bartholemy
466abf8da9 template type was not checked enough 2006-06-06 16:50:17 +00:00
JT Smith
462c12c814 fix for frank's problem 2006-05-12 17:06:57 +00:00
JT Smith
8ad1189b8c added matts thing to prevent template headers from going out multiple times 2006-05-12 15:19:16 +00:00
Colin Kuskie
a88c9b93c5 i18n and docs for the template Style Wizard 2006-04-28 21:13:22 +00:00