Commit graph

345 commits

Author SHA1 Message Date
Graham Knop
178d6e787a fix: don't show Admin mode toggle when not in adminModeSubnets 2008-02-12 10:16:41 +00:00
Doug Bell
fa156af1a9 add: i18n for more Gallery templates
add: International macro now takes sprintf arguments as third and subsequent parameters
add: Keywords are now processed and given to the photo template, along with a url to search the gallery for the keyword. 
add: Photos now track views
2008-02-12 00:55:06 +00:00
Colin Kuskie
6c72ee9a41 adding the SpectreCheck Macro, per the RFE 2008-02-11 23:11:27 +00:00
Colin Kuskie
563e3101d9 added POD to the macro skeleton 2008-02-11 21:44:09 +00:00
Colin Kuskie
a21e710c72 um, add enough POD to by syntactically correct 2008-02-09 22:52:31 +00:00
Colin Kuskie
abdf04659a Add POD for the SessionId macro. 2008-02-09 22:45:52 +00:00
Doug Bell
1f10f07338 add: Auth modules now accept a "returnUrl" form parameter when logging in or creating a new account. User will be redirected to the value in "returnUrl" after login / create account is complete.
add: L_LoginBox macro has a form.returnUrl template var that returns a user to the exact page they logged in from
2008-02-09 05:09:33 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
Colin Kuskie
cee13f4a24 fix variable assignment inside of conditional, according to perlcritic 2008-01-28 19:01:24 +00:00
JT Smith
fa09c41598 replaced return; with return undef; 2008-01-24 21:58:15 +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
Doug Bell
4c70aa4c71 re-integrated photogallery branch 2007-12-18 13:05:41 +00:00
Colin Kuskie
96178fd70c first round of Perl::Critic cleanups. Do not use return undef, use a bare return instead 2007-12-05 00:30:43 +00:00
Graham Knop
eb398cbbbc clicking active version tag on admin bar opens tag for editing 2007-09-03 20:03:51 +00:00
JT Smith
2c1f56a009 - rfe: Admin bar doesn't resize with the browser
- fix: Left Admin Bar overlap problem
2007-07-26 23:05:22 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00
Frank Dillon
0dae2cf96f Macro for displaying new private message alerts to users 2007-06-14 20:11:22 +00:00
JT Smith
c9266c4588 - Added a simple Single Sign On mechanism.
- Added the SessionId macro.
2007-06-10 17:52:51 +00:00
JT Smith
3259da6750 - Added a realtime workflow option for content publishing.
- Added switches to auto request commit operations and skip adding comments.
2007-05-30 16:07:43 +00:00
JT Smith
f5f358ccf3 fixed tests
preparing for release
2007-05-23 17:42:51 +00:00
Yung Han Khoe
7377de01f4 fix AOIHits and AOIRank not working 2007-05-15 15:23:52 +00:00
Colin Kuskie
76585a1daa Added a new method to WebGUI::HTML called makeParameter safe. It will
encode commas and single quotes to make the output safe to embed inside
of a macro.
Added tests to verify that it works correctly.
Updated the c_companyName macro to use makeParameterSafe.
Added tests to verify that the changed macro works okay.
Updated the c_companyName documentation.
Added a blurb to the gotchas file to cover the change to the macro.
2007-02-13 23:42:53 +00:00
Colin Kuskie
eabe3ea776 POD tweaks 2007-02-10 21:49:57 +00:00
Colin Kuskie
66b59adde8 the Slash_gatewayUrl and PageUrl macros now accept optional URL arguments 2007-01-23 21:49:34 +00:00
Frank Dillon
19bb2160b3 Removed <labels> for 508 compliance. They exist in the templates. 2006-12-06 19:23:46 +00:00
Frank Dillon
8fa60deb66 added 508 Compliance for form fields. 2006-12-06 19:07:26 +00:00
Colin Kuskie
65374109b1 Final test for L_loginBox, and coverage improvements for RootTitle.
Pod and documentation fixes for L_loginBox macro.
2006-09-15 21:08:04 +00:00
Colin Kuskie
a1bf6a2b21 Coverage fixes for date and last modified macros.
Refactor LastModified macro to use placeholders and remove an unused conditional.
2006-09-14 22:22:35 +00:00
Colin Kuskie
66d98f371c Update some POD in Stow and PageTitle.
Fix several tests with bad coverage.
2006-09-14 15:54:54 +00:00
Frank Dillon
71d6a3bd28 fixed "randomness" to only include CS's that are not empty. Returning an random CS that was empty would throw an error. 2006-09-07 20:47:13 +00:00
Colin Kuskie
d154726bc1 Remove the use trace line from Paginator.t. It's not used.
Yet again, fix a security hole in the Include macro.  If the path used a symlink
then it would bypass one of the three security checks.
2006-07-30 18:10:31 +00:00
Colin Kuskie
b2d4c36080 add Include macro test and fix Include bug 2006-07-28 16:11:47 +00:00
Colin Kuskie
23cc777add remove debugging code 2006-07-27 17:46:47 +00:00
Colin Kuskie
0d769e2e1e remove op2 code from printable macro 2006-07-27 16:49:05 +00:00
Colin Kuskie
5757842e46 Remove unused variable from r_printable.
Modify RootTitle to return root-1 instead of root.
2006-07-27 04:01:35 +00:00
Colin Kuskie
ee59a4bade remove debugging output 2006-07-25 23:12:46 +00:00
Colin Kuskie
f1159269a0 Macro Tests: refactored all macro tests to remove a very evil hack
for inserting macros into the config.  The new method is much cleaner
and uses the Config API.
Updated the docs for the RootTitle macro, both POD and online help.
2006-07-25 20:54:08 +00:00
JT Smith
03b4b0ed33 - fix: Head Block in styles
- fix: select assetVersionTag
 - fix: Infinite recursion
 - fix: assetUiLevel override broken
 - fix: Indexing files failes (derck)
 - fix: Unable to approve New listings on Matrix
2006-07-25 17:15:57 +00:00
Wouter van Oijen
f2bb859a6a oops. tab... 2006-07-24 20:30:35 +00:00
Wouter van Oijen
4e2e5e8c78 fix: Splat_random Macro not so random 2006-07-24 20:27:29 +00:00
Colin Kuskie
654e5751e8 Add tests for GroupDelete and GroupAdd macros.
Fix bugs exposed by the tests.
2006-07-24 19:58:50 +00:00
Colin Kuskie
5dbd9b44c9 Fixed a typo in the POD for Session/Env.pm
Added more docs for find method in Group.pm
Fixed a latent bug that would probably never occur in Macro/GroupAdd.pm
If Group->find is called with the name of a group that doesn't exist,
then Group will return an object with defaults, and the guid of the
group is undef, not ''.  However, since by default autoAdd is off,
the Macro will still do the right thing.
GroupDelete has the same bug, but it shouldn't be patched until there's
a test written for it.
2006-07-24 05:08:17 +00:00
Wouter van Oijen
cfea8f573a Cleaning up FileUrl macro 2006-07-23 09:14:34 +00:00
Colin Kuskie
7033959b5e Add more docs to the Splat_random macro. Change the macro to use Perl's
scaling function of rand instead of an implicit multiply.
2006-07-23 06:17:31 +00:00
Colin Kuskie
c1246444e0 add new error message to FileUrl macro 2006-07-23 01:35:20 +00:00
Colin Kuskie
2b03fdc73d Add another error message to FileUrl so that it's clear that there
are no files, rather than the wrong URL.
Update Page macro docs to show it works on _any_ asset, not just Pages.
2006-07-21 16:10:11 +00:00
Wouter van Oijen
d37cd047e3 fix: FileUrl doesn't handle Snippets 2006-07-21 13:04:17 +00:00
Colin Kuskie
e718fc5b9a update pod and macro docs 2006-07-17 22:54:34 +00:00
Colin Kuskie
3dd45bad6d GroupText macro now returns an error message if group cannot be found. includes test 2006-07-13 05:23:49 +00:00
JT Smith
a511ab9d50 preparing for 7.0.0 release 2006-07-05 15:05:28 +00:00