Commit graph

442 commits

Author SHA1 Message Date
Colin Kuskie
6d4d51c6ee Use placeholder parameters to prevent string interpolation in SQL queries. 2010-06-16 08:55:25 -07:00
Colin Kuskie
7057e92248 Use the Plack::Request object to get the server hostname. 2010-06-16 08:42:15 -07:00
Graham Knop
89d4f46a18 Merge branch 'psgi' into WebGUI8 2010-06-11 23:05:06 -05:00
Colin Kuskie
ef32e856bf Exception handling for the Template in UsersOnline macro. 2010-06-10 19:11:04 -07:00
Patrick Donelan
f16ba76b86 Merge branch 'WebGUI8' into psgi
Conflicts:
	sbin/testEnvironment.pl
2010-06-04 21:01:03 -04:00
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
f2ce1eff85 convert performance indicators to a Plack::Middleware::Debug panel 2010-04-16 20:56:09 -05:00
Graham Knop
373be0881d Merge branch 'WebGUI8' into HEAD 2010-04-16 20:52:46 -05:00
Patrick Donelan
4d703ffd47 Added preloading
Removed evil overload
Removed references to Apache2:: from codebase
Attempted to remove circular references
2010-04-14 19:36:41 -04:00
Graham Knop
2400f19099 Merge branch 'master' into WebGUI8 2010-04-13 07:50:02 -05:00
Patrick Donelan
2516ff12c1 Added URLMap support (e.g. virtual hosts and mounting) 2010-04-06 18:21:47 -04: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