Commit graph

420 commits

Author SHA1 Message Date
Colin Kuskie
c2e6978873 Add a template variable for the current language, for better user feedback. Fixes bug #11573. 2010-05-25 14:14:58 -07:00
Colin Kuskie
b9c2a3b0ad Make the Date macro handle leading and trailing whitespace. Fixes bug #11542. 2010-05-02 01:07:35 -07:00
Colin Kuskie
9810b57f40 Fix double slash removal in FilePump macro. Fixes bug #11478. 2010-03-16 12:07:25 -07: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
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