Commit graph

5634 commits

Author SHA1 Message Date
Colin Kuskie
ecf6e51ad4 refactor PassiveProfiling into using placeholders for speedup 2008-01-10 16:25:38 +00:00
Chris Nehren
81736fb322 Add the Widget macro. This enables assets to be widgetized (easily embedded in
another page). Usage as such: ^Widget(assetId, width, height, templateId);
assetId is the ID of the asset to widgetize, width and height are the size of
the iframe, templateId is the template ID of the template to use for the widget
itself. This will pop up an icon that shows you some markup to put on another
page to embed the asset in widget form. If no template given, will use the
ajaxInlineView of the asset.
2008-01-09 23:24:16 +00:00
Colin Kuskie
4f6dad9bc5 remove more bad whitespace from Gallery/Utility.pm 2008-01-09 17:18:44 +00:00
Graham Knop
15b22ab4ca Merged revisions 5264 via svnmerge from
https://svn.webgui.org/plainblack/branch/WebGUI_7.4

........
  r5264 | graham | 2008-01-09 10:59:46 -0600 (Wed, 09 Jan 2008) | 1 line
  
  reverting UTF-8 change
........
2008-01-09 17:16:20 +00:00
Graham Knop
71192f3c8b Merged revisions 5259 via svnmerge from
https://svn.webgui.org/plainblack/branch/WebGUI_7.4

........
  r5259 | graham | 2008-01-09 06:35:57 -0600 (Wed, 09 Jan 2008) | 1 line
  
  Use UTF8 for database connection when connecting to MySQL
........
2008-01-09 12:40:54 +00:00
Graham Knop
4b561a1a63 Merged revisions 5256 via svnmerge from
https://svn.webgui.org/plainblack/branch/WebGUI_7.4

........
  r5256 | graham | 2008-01-09 05:43:02 -0600 (Wed, 09 Jan 2008) | 1 line
  
  fix: Tag cloud was limited to 50 least commonly used tags
........
2008-01-09 11:45:31 +00:00
Doug Bell
6fcfa3f80d fixes for Gallery and Gallery Utility 2008-01-09 04:23:52 +00:00
Colin Kuskie
fca9e9c633 Add a method that returns the regexp used to validate generated GUIDs. This should
prevent the regexp from proliferating all through tests and code.
Also, add a test for the method, which just checks that it returns a regexp.
2008-01-08 20:43:39 +00:00
Doug Bell
f56c0873d8 Added userDefined fields to GalleryAlbum assets. Modified Gallery::Utility to migrate userDefined fields from Threads to GalleryAlbums. Added tests for the previous. 2008-01-07 22:38:59 +00:00
Colin Kuskie
b6324d17a5 remove whitespace interfering with POD formatting 2008-01-05 20:01:23 +00:00
Chris Nehren
1651cbd3fb Add a check in update() for whether isExportable exists, preventing problems
with users upgrading from previous versions of WebGUI. Tested in an upgrade
from 7.4.0 -> SVN head (i.e., 7.5.0).
2008-01-05 00:39:14 +00:00
Doug Bell
c6106634fe Removed old .tmpl files from upgrades. All upgrade collateral must now be in .wgpkg packages 2008-01-04 20:53:06 +00:00
JT Smith
c6660242de converted to use WebGUI::Pluggable 2008-01-04 20:09:36 +00:00
JT Smith
3f62be51ec migrated forms system to use WebGUI::Pluggable 2008-01-04 19:57:54 +00:00
JT Smith
1b4022205a converted workflow system to use WebGUI::Pluggable 2008-01-04 19:15:13 +00:00
Doug Bell
0e55ec42cd Added migration utility for Gallery 2008-01-04 06:23:38 +00:00
JT Smith
07646144cb converted WebGUI::Operation to use WebGUI::Pluggable 2008-01-04 01:24:42 +00:00
JT Smith
1066bb4dba switched macro system to use WebGUI::Pluggable 2008-01-04 01:06:54 +00:00
Chris Nehren
f6f20d27d6 Maintain status quo and keep the default of exporting all assets. 2008-01-02 23:01:16 +00:00
Chris Nehren
7accc3c57f Add fine-grained export controls. You can now specify whether you want specific
assets to be exportable. If any of an asset's parents aren't exportable, that
asset also won't be exportable.
2008-01-02 22:32:40 +00:00
Graham Knop
ba44d57e9f Merged revisions 5224 via svnmerge from
https://svn.webgui.org/plainblack/branch/WebGUI_7.4

........
  r5224 | graham | 2008-01-02 16:18:53 -0600 (Wed, 02 Jan 2008) | 1 line
  
  fix: Assets with no committed versions may be left as orphans when parent is purged
........
2008-01-02 22:26:42 +00:00
Colin Kuskie
9581ce5c9e Switch to using WebGUI::Pluggable.
Remove tabs and prettify the code.
2007-12-30 22:40:45 +00:00
JT Smith
7c15225372 oops, forgot to add this to svn 2007-12-30 04:32:10 +00:00
JT Smith
de0ac26cd1 Added a new plugin handler system that is both faster and more secure. 2007-12-28 18:25:02 +00:00
Colin Kuskie
abf56513c7 Add a test for getting the whole language property hash.
Reformat the getLanguage method according to WGBP.
2007-12-28 00:15:15 +00:00
Colin Kuskie
cf968818b4 WGBP indent Asset::canView.
Add coverage tests for canView.
2007-12-27 06:36:04 +00:00
Doug Bell
0cfe03726a proposed fix for strange cache issue 2007-12-27 05:01:16 +00:00
Colin Kuskie
2fa12f41b7 Fix a failing International.t test I caused.
WGBP the conditionals in getLanguages
Fix a typo in a comment
2007-12-27 04:38:21 +00:00
Doug Bell
af271b9f26 fixed a bunch of GalleryAlbum/Photo tests 2007-12-26 00:39:08 +00:00
Colin Kuskie
53b7a7bfcb convert AssetLineage from stringy to blocky eval 2007-12-24 06:50:02 +00:00
Colin Kuskie
c8a1bb6a7c Convert WebGUI::International to use blocky eval instead of stringy eval.
Add 1 test for getLanguage to check for refactoring.
2007-12-24 06:38:36 +00:00
Colin Kuskie
1989242c8e remove double sigil and dereference instead 2007-12-24 04:23:32 +00:00
Colin Kuskie
9ebae3087e Untab canAdd and canEdit.
Tweak the POD docs for formatting.
2007-12-23 05:39:02 +00:00
Colin Kuskie
060dd85963 Add tests to cover fixId and one test for fixTitle.
Fix a bug where fixId would pass integers of any length.
2007-12-21 22:57:06 +00:00
Doug Bell
52c351b3db fix: Added default assetIds for templates 2007-12-20 23:39:09 +00:00
Colin Kuskie
8d1e47a6ce Storage/Image: resize works with ImageMagick again. Add diagnostics to tests for easy debug 2007-12-19 18:04:50 +00:00
Doug Bell
01c6379224 fixed some Gallery tests failing. removed some unnecessary ones. still bunch more to go... 2007-12-19 16:41:39 +00:00
Doug Bell
53a1cbc7c2 fixes to the Gallery 2007-12-18 21:17:44 +00:00
Colin Kuskie
99274cd4ee variables entry needs to be an array ref, not a hash ref 2007-12-18 19:05:39 +00:00
Doug Bell
30f22c9b7a fixed some bugs in URL/Content handlers. fixed some bugs in Gallery. 2007-12-18 15:38:06 +00:00
Doug Bell
4c70aa4c71 re-integrated photogallery branch 2007-12-18 13:05:41 +00:00
Doug Bell
5222ad6be1 merged with SVN HEAD 2007-12-18 12:22:37 +00:00
Doug Bell
82e9bf8448 Finished? Ready for merge at least. 2007-12-17 22:22:06 +00:00
Colin Kuskie
8e52096a0a Re-indent some fixUrl code and realign comments.
Add more fixUrl tests for coverage.  Leading zeroes are
handled strangely.
2007-12-16 22:59:00 +00:00
JT Smith
1ce61982ed some bug fixing
added some tests
2007-12-16 18:56:36 +00:00
Colin Kuskie
b70ef9d23a Add tests to cover the removal of extensions in the "directory"
parts of the path.  Refactor out the while loop with match and
nested s/// into a single regexp.
2007-12-16 04:13:53 +00:00
Colin Kuskie
cda571c3ef fix syntax error with using WebGUI::Content::Asset standalone 2007-12-16 00:28:23 +00:00
JT Smith
09ac71093b added a not found handler, and better debug handling 2007-12-14 22:43:08 +00:00
JT Smith
1fc11fbda8 Added pluggable URL and content handlers. 2007-12-14 22:08:09 +00:00
Doug Bell
fb33859cc6 fix: when upgrading, two revisions of same asset in same second broke upgrade 2007-12-13 20:13:27 +00:00