Commit graph

433 commits

Author SHA1 Message Date
Colin Kuskie
97d5caab17 Exception handling for Thumbnail macro. 2010-05-09 15:37:13 -07:00
Colin Kuskie
a2feddc3b5 Exception handling. 2010-05-09 15:35:07 -07:00
Colin Kuskie
2c80c501c6 Test assets for valid methods before calling them. 2010-05-09 15:05:41 -07:00
Colin Kuskie
0bef2b2839 Change the core to use newById instead of new. 2010-05-09 14:30:47 -07:00
Graham Knop
2400f19099 Merge branch 'master' into WebGUI8 2010-04-13 07:50:02 -05:00
Colin Kuskie
9810b57f40 Fix double slash removal in FilePump macro. Fixes bug #11478. 2010-03-16 12:07:25 -07:00
Graham Knop
2af4c4de63 clean up WebGUI::Utility imports 2010-03-10 12:59:51 -06:00
Colin Kuskie
f17fc5c7ad Update Macros for wg8 instanciators. 2010-03-04 08:48:27 -08:00
Colin Kuskie
c7f6d4c267 Fix an exceptional typo. 2010-01-29 17:53:29 -08:00
Colin Kuskie
360e6be6c5 Fix the RandomThread macro. 2010-01-27 22:05:50 -08:00
Colin Kuskie
136c8cdc73 Fix the AssetProxy macro. 2010-01-27 22:00:56 -08:00
Colin Kuskie
972ba033ec Fix the FileUrl macro. 2010-01-27 21:50:06 -08:00
Colin Kuskie
9ef7ee79fa Fix the Widget macro. 2010-01-27 21:44:06 -08:00
Colin Kuskie
b3faecae9b Fix RandomAssetProxy macro. 2010-01-27 21:42:27 -08:00
Colin Kuskie
193d30ec41 Fix the RootTitle macro. 2010-01-27 21:38:12 -08:00
Colin Kuskie
49bd7f5032 newByDynamicClass changed to newById 2009-12-27 19:08:15 -08:00
Colin Kuskie
a7aa1d2fb2 Fix epoch=0 issues with Session/DateTime and D_date macro.
Add an edge case test for D_date macro.
2009-12-01 17:08:12 -08:00
Colin Kuskie
ae08335e9c Add test for SpectreTest macro. Handle fall-through condition in Macro itself. 2009-12-01 15:40:24 -08:00
Colin Kuskie
ddf3fa108f Remove unneeded checks for session user existance. 2009-11-28 11:33:05 -08:00
Luke Robinson
64640003af ConvertUTCToTZ.pm macro and test
Conflicts:

	lib/WebGUI/Macro/ConvertUTCToTZ.pm
2009-11-18 10:44:34 -08:00
Colin Kuskie
7b5b493d9d Add tests for NewMail macro. Small refactoring for NewMail macro. 2009-11-08 09:11:40 -08:00
Colin Kuskie
37689843a3 Update the POD for the AssetProxy macro, re the displaying of edit controls. Fixes bug #11189 2009-11-02 09:43:12 -08:00
Colin Kuskie
21223657a1 Extend the PickLanguage macro to let the user clear their overrides. 2009-10-30 09:16:38 -07:00
Colin Kuskie
25083b27e3 Merge commit 'haarg/bart-i18n' 2009-10-28 11:15:12 -07:00
Bart Jol
af2b09e871 added default template 2009-10-28 12:48:45 -05:00
Bart Jol
951439a017 added picklanguage macro to international 2009-10-28 12:41:56 -05:00
Colin Kuskie
2c3904a800 Fix incorrect POD. 2009-10-28 08:10:40 -07:00
Graham Knop
60a4a9b140 mark $session->datetime->time as deprecated and remove its use from core code 2009-10-05 20:56:37 -05:00
Colin Kuskie
2f602dfdb1 Force userId comparisons in SQL to use strings, not numbers.
Use WGBP for reference syntax.
2009-09-05 10:04:16 -07:00
Colin Kuskie
4f23d88b19 Use the new User API for determining if session user is visitor. 2009-08-23 19:09:14 +00:00
Patrick Donelan
f3c3bfb4dc Fixed GUID string comparisons (eq instead of ==) 2009-08-23 07:44:41 +00:00
Graham Knop
a5afa49169 fixed: Admin bar won't show multiple packages or prototypes with the duplicate titles 2009-08-11 16:31:39 +00:00
Colin Kuskie
dd9b46272b Fix Commit from the Admin Bar. Only seen when there's no autocommit, and comments
are disabled.  Added a button/form to the subpanel with CSRF.
2009-07-27 20:24:22 +00:00
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