Commit graph

344 commits

Author SHA1 Message Date
Colin Kuskie
4c31d182f8 Allow template diagnostics to work when a session asset is not set. Add a way to get the raw, encoded URL from the request object. 2012-08-15 08:39:54 -07:00
Colin Kuskie
d38992cea6 Update the POD for Session/Url 2011-09-08 16:35:55 -07:00
Colin Kuskie
944c76040a Make makeUrlCompliant as deprecated, and updated POD and subroutines accordingly. 2011-05-02 08:20:33 -07:00
Colin Kuskie
33698fcfde Remove old debugging code for validToken. 2011-01-10 10:16:34 -08:00
Doug Bell
f727fe354b fix 11974 toolbar icons broken in webkit html5 2010-11-23 14:33:29 -06:00
Colin Kuskie
6fced77b37 Make the display of a textarea instead of an HTMLarea independent of whether mobile styles are configured for the site. Refixes #11902. 2010-10-25 15:30:23 -07:00
Colin Kuskie
aabb9ed214 Getting cookies can croak. Eval the fetching of cookies and do error handling. Fixes bug #11912. 2010-10-19 09:21:37 -07:00
Colin Kuskie
19a87ea003 Variable hour formats don't add an extra space any longer. Fixes bug #11915. 2010-10-18 10:32:45 -07:00
Colin Kuskie
927781526f Move logging level for validToken debugging from WARN to INFO. Fixes bug #11868 2010-09-20 08:04:26 -07:00
Colin Kuskie
49374b43eb Operations should be able to handle UTF-8 urls, too. Fixes bug #11683 2010-07-27 15:37:53 -07:00
Colin Kuskie
5ced1c3bcf Note in several packages when the gateway URL is appended to input. Fixes bug #11621 2010-07-12 10:43:33 -07:00
Colin Kuskie
1abe035183 Refactor test to move makeCompliant tests out of urlize. Tweak makeCompliant for speed and clarity. 2010-07-06 10:21:41 -07:00
Graham Knop
596420cd1f generate better hex ids for manually created badly formed guids 2010-06-10 11:32:32 -05:00
Colin Kuskie
8edcab37a6 Fix a whitespace POD issue. 2010-06-09 17:24:21 -07:00
Colin Kuskie
e222b6c4ef Document that url's passed to Session/Icon methods will have the gateway URL prepended to that URL. 2010-06-09 13:20:54 -07:00
Doug Bell
cc87552a22 weaken all session refs 2010-06-01 16:23:48 -05:00
Colin Kuskie
f1ea8105d4 Allow users to unsubscribe via email address, without logging in. Fixes bug #11559. 2010-05-18 15:58:24 -07:00
Graham Knop
30ed305b62 put all url validation in WebGUI::Session::Url instead of i18n 2010-05-08 12:22:01 -05:00
Graham Knop
d0bc628ff8 make setting set/add update or replace existing settings 2010-04-02 18:39:16 -05:00
Colin Kuskie
3b3347c4a8 Restore ErrorHandler->fatal handling of no DB connection. Fixes bug #11494. 2010-03-30 15:11:26 -07:00
Doug Bell
f240635a3d style doesn't need WebGUI all the time 2010-02-22 18:07:56 -06:00
Colin Kuskie
3b2d8498c0 Document where HTTP_SSLPROXY comes from, and why. 2010-02-16 16:52:28 -08:00
Colin Kuskie
fb3211aa3c IE8 on XP demands that onclick actions return false, otherwise it submits the form twice. Fixes bug #11336. 2010-02-09 12:06:25 -08:00
Colin Kuskie
ae8c1a6124 Set cache control to "none" if the DataForm uses a captcha. Fixes bug #11381. 2010-02-08 14:42:42 -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
e1c77cf314 Fix the issue with Assets with macro based content not showing the new content to Visitors. Fixes bug #11200. 2009-11-19 10:04:19 -08:00
Colin Kuskie
25083b27e3 Merge commit 'haarg/bart-i18n' 2009-10-28 11:15:12 -07:00
Bart Jol
bb4d14d944 Language override file changes 2009-10-28 12:41:55 -05:00
Graham Knop
19e4c96b38 fix silly typo 2009-10-05 20:58:58 -05: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
Graham Knop
b28452bb63 change CSRF token messages from warn to debug 2009-09-07 00:34:06 -05:00
Colin Kuskie
084da8e159 fix #10891: Change session->output->print to skip macros based on detecting the mime-type. 2009-09-04 09:06:23 -07:00
Colin Kuskie
48be049930 Update POD to show new default mime type. 2009-09-04 09:06:16 -07:00
Graham Knop
743e615fd8 improve handling of proxied SSL connections 2009-08-19 19:08:56 +00:00
Colin Kuskie
1c9908f490 Encapsulate logic for determining if an SSL request has been made.
Refactor core modules to use that.
2009-08-19 18:25:00 +00:00
Colin Kuskie
9259e1db23 And restore the original method, and add tests to catch the approximation in Session/DateTime.t instead
of relying on Asset/Story.t
2009-07-24 00:12:56 +00:00
Colin Kuskie
3c4ae9aa82 Refactor exact duration intervals into a separate method. 2009-07-23 23:47:45 +00:00
Graham Knop
56773eefc1 fixed #10590: Session::DateTime->secondsToInterval doesn't allow 7 weeks 2009-07-23 22:04:27 +00:00
Colin Kuskie
5e4db3adb4 Provide a framework for CSRF protection, with tests.
Add CSRF protection to Asset editSave, AssetManager, VersionTags and Group operations.
2009-07-06 16:58:57 +00:00
Colin Kuskie
91029e8140 Remove inline JS from the Date and DateTime forms by putting the user's firstDayOfWeek preference
into the getWebuiProps.
2009-06-23 19:25:50 +00:00
Colin Kuskie
1441fe2e88 Forward port urlize changes, and tests. 2009-06-10 03:34:09 +00:00
Graham Knop
4636041f5e fixed: assets can have urls with /./ or /../ in them, making them inaccessible 2009-06-10 00:42:37 +00:00
Doug Bell
25ff0dae0e Added: Google map asset.
Added a way for authors to prevent debugging output on page requests
2009-05-17 22:44:27 +00:00
Graham Knop
1f3ab6a419 export cleanups and mobile style 2009-05-15 09:30:20 +00:00
Randall Schwartz
2fc4f3b54d CDN: perltidy on new/changed code 2009-05-14 00:35:41 +00:00
Randall Schwartz
acd3fded45 Content Delivery Network (CDN) - optional, for either uploads only or both uploads & extras (rfe 9134) 2009-05-13 21:12:05 +00:00
Colin Kuskie
b19279a13d Add a has method to Session/Setting, so that it's easy to check if a setting
already exists.  Very handy for upgrade scripts.
2009-05-13 17:32:49 +00:00
Paul Driver
f4df3b1280 template attachments (scripts and stylesheets) 2009-05-01 23:03:36 +00:00
Doug Bell
faca68256c Added: Packing of templates, snippets, and head tags. 2009-04-30 17:57:26 +00:00
Doug Bell
026f7ff47e Added #10145: Global Head Tags in Settings 2009-04-29 21:51:22 +00:00