Commit graph

400 commits

Author SHA1 Message Date
Patrick Donelan
df611653ea Made FilePump work for Print CSS too.
Factored out the functions that generate the <script> and <link> tags
in the FilePump macro, and added the (optional) extras param so
that you can do: FilePump(my-printable-bundle,css,'media="print"'); and
have the media attribute set on your Print CSS <link> tag.
2009-07-16 00:21:53 +00:00
Colin Kuskie
60c74a2a58 Fix pasting from the AdminBar macro due to CSRF requirements. 2009-07-14 23:39:14 +00:00
Colin Kuskie
b8ae0f8da8 Fix the if macro to recognize that 0 is a false value. 2009-07-12 20:44:00 +00:00
Patrick Donelan
7110febecd FilePump bug fixes
Restricted file uris to uploads and extras dirs
Validation messages for invalid file uris
Updated i18n
Added more tests
2009-07-10 03:33:06 +00:00
Stephen Opal
8aecdbc1cc Macro for converting UTC stored dates from SQL Reports to user or developer formatted date-time timezone text.
w
2009-06-22 14:29:00 +00:00
Colin Kuskie
d9afb768f5 Fixing fractional array indexes in the RandomAssetProxy macro. 2009-06-19 18:09:37 +00:00
Colin Kuskie
8be0a5c734 Add a progress bar for long running ops. First implementation is
with paste.  Also fix bugs with redirecting from the admin bar back to a
page instead of staying in the Asset Manager.
2009-06-18 19:39:35 +00:00
Colin Kuskie
801efdbda7 Encapsulate a method to get the list of content prototypes.
Performance improvements for the list retrieval.
2009-06-17 01:57:26 +00:00
Colin Kuskie
7016594da1 If adding content from the asset manager, return user to the asset manager. 2009-06-05 23:31:28 +00:00
Colin Kuskie
de3b249a2b Fill out FilePump macro tests and fix bugs. 2009-05-18 17:57:20 +00:00
Colin Kuskie
d8a1623ea0 adding FilePump 2009-05-18 16:03:50 +00:00
Patrick Donelan
b269822678 Merge commit 'tags/WebGUI_7.7.4-beta' into filepump
* commit 'tags/WebGUI_7.7.4-beta': (384 commits)
  Release 7.7.4-beta
  preparing for 7.7.4 release
  Add back code for throwing exceptions when session is not passed
  Fixed bug with Survey True/False multi-choice bundle defaults so that
  Added another Survey ResponseJSON test
  remove tests for the old, removed, getTaxRate method which was
  Handle automatically cleaning up users at the end of a test.
  Finish cleaning up after the move of getTaxRate from the Sku to the TaxDriver.
  Add missing POD and legal statements for many Shop modules.
  Add missing POD for the new ThingFieldsList form handler.
  Add missing POD from new SKU based collateral modules.
  Survey slider answer updates, now update all the answers for max,min,step settings since only the first answers values are used anyways.
  fix Post test cleaning up core groups
  fix syntax and help issues
  some POD fixes
  fixing lib paths on some tests
  log asset exports
  restore original user when running workflows
  enable workflow helper operation
  prevent tripping slow script warnings when viewing large folders
  ...
2009-04-27 14:26:08 +10:00
Graham Knop
a4b05556f6 fixed: New Mail macro never returns any messages 2009-03-12 19:15:38 +00:00
Patrick Donelan
fa04ab1288 Added Build.pm macro, which will be completely re-written into FilePump 2009-03-03 10:58:32 +11:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Graham Knop
e5ede77c29 use char instead of varchar 2009-02-18 03:18:20 +00:00
Graham Knop
fd48c81e76 fixing placement of head tags in widgets 2009-02-10 21:41:53 +00:00
Colin Kuskie
787697adce Add stub POD to these modules to get them to pass the POD test. 2009-01-26 23:35:51 +00:00
Kaleb Murphy
d8127aec73 Macro Widgets now take a style, defaulting to the users. 2009-01-23 19:50:49 +00:00
Colin Kuskie
8fa164200a Add more AdminBar tests.
Fix adminbar macro to handle bad asset classes without dying.
2008-12-12 03:24:09 +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
Patrick Donelan
3f25f2668f Updated Macro API documentation to distinguish whether macros accept template arguments by templateId or by templateUrl 2008-11-25 03:51:40 +00:00
Graham Knop
758a321e70 modules, tests, etc shouldn't be set as executable 2008-11-24 04:01:23 +00:00
Frank Dillon
2945189adb wrong constructor called on WebGUI::Storage::Image 2008-11-19 05:06:10 +00:00
Doug Bell
7349633d63 reverted FileUrl macro, added new StorageUrl macro 2008-11-19 00:17:34 +00:00
Frank Dillon
1574d5927c Deactivate macro no longer needs a template. HasValueText macro is now called If 2008-11-18 16:55:41 +00:00
Frank Dillon
32979d75e1 Replaced the account.options loop in the displayAccount auth methods with new macros for displaying deactivate account and back to site links. Another macro which allows text to be displayed according to whether the value passed in is empty or not was added to allow functionality similar to that which currently exists. 2008-11-18 07:05:23 +00:00
Frank Dillon
4ff722bd5d Pluggable Account system added to WebGUI with new Profile, Inbox, Friends, User, and Shop interfaces. 2008-11-15 11:39:23 +00:00
Frank Dillon
11d18075fa Account release candidate - final changes before merge 2008-11-15 02:39:23 +00:00
Frank Dillon
615e0e3746 lots of changes 2008-11-12 23:03:42 +00:00
Kaleb Murphy
70a0a422b7 Removed all instances of srand. This is called implicitily by rand and be dangerous if called mulitple times by the same process. 2008-11-10 21:53:30 +00:00
JT Smith
b41c1639a1 - Inclusion of UsersOnline macro into the core (#766) 2008-10-21 19:54:51 +00:00
Kaleb Murphy
77913e956b RFE 549 commits now check for spectre connectivity before commiting and a new macro for showing spectre status. 2008-10-21 16:54:00 +00:00
JT Smith
2a66f149e8 - Removed cart icon from ViewCart macro.
- Updated WebGUI::Shop::PayDriver::processTransaction() to accept a 
   transaction as a param.
2008-10-07 18:04:38 +00:00
JT Smith
72edbfd628 various fixes and enhancements for the asset configuration stuff i checked in earlier 2008-09-29 00:14:49 +00:00
JT Smith
564fea1583 - Rebuilt AdminBar. Now renders faster, and has categories in the new content
menu.
 - Reconfigured asset configuration file properties
2008-09-28 19:50:31 +00:00
Graham Knop
7bf06aab7b make sure we are using var->isAdminOn instead of var->get('adminOn') 2008-09-18 19:51:25 +00:00
JT Smith
ef120fb06b Added isVisitor, isAdmin, and isRegistered methods to User object instead
of hard coding checks everywhere with group ids. And updated the code base 
   to match.
2008-09-16 22:32:36 +00:00
Colin Kuskie
586164d8d0 rfe: VIM perl mode for skeletons 2008-09-16 22:28:17 +00:00
Graham Knop
95ea885cdc fixed: AssetProxy allows proxying content in the trash or clipboard 2008-09-15 21:51:26 +00:00
Doug Bell
57b8cc4bae fixed: loginBox macro can no longer return the user to the logout page, logging them out 2008-08-19 20:39:43 +00:00
Graham Knop
91a83974cf admin bar shouldn't double includes 2008-07-25 04:03:11 +00:00
Chris Nehren
bebd82d47b $content was used where $output should have been used. Fix the problem and give
the variables better names.
2008-07-22 20:07:24 +00:00
Doug Bell
6f90867d26 fixed: issue with asset export HTML and putting head tags ABOVE <!doctype> and <html> tags. Now creates
a new session for each asset that it exports.
fixed: Widget gear now does not move user to a different part of the page
added a nice error message when the Widget macro can't find a URL.
2008-07-18 21:09:11 +00:00
Colin Kuskie
81bdc7640c Fix a typo in the PageUrl POD.
Add tests for the new query argument to the PageUrl macro.
2008-07-13 02:03:21 +00:00
JT Smith
cc0105a9a4 move product import to shelf 2008-07-12 21:40:27 +00:00
Chris Nehren
5dfc9e3bfc bug fixes for widgets and exports. snippets were exported as index.html or the
like, and widget toolboxes weren't popping up in a widgetized view.
2008-05-31 19:42:38 +00:00
Yung Han Khoe
65a6de8038 Changed AssetProxy macro's error handling 2008-05-30 16:32:32 +00:00
JT Smith
17c7a0ad7a AssetProxy macro can now use asset id as a parameter like so: ^AssetProxy(abcdefghijklmnopqrstuv,assetId);
subscriptionitem macro is now autoconverted to assetproxy
2008-05-28 17:14:05 +00:00
JT Smith
be8ce29f57 getting rid of old commerce code. bye bye! 2008-05-27 20:26:16 +00:00