Alexandre Emsenhuber
bc8abfe5b1
Drop 5.1 compatibility calls to session_set_cookie_params() and setcookie() since we require 5.2.3+ now
2011-04-01 09:50:09 +00:00
Alexandre Emsenhuber
7b79d94515
* Standardised file description headers
...
* Added some descriptions
* Added @file where needed
2010-08-14 17:42:40 +00:00
Mark A. Hershberger
c74fe71cd8
* new FauxResponse class to help with unit testing
...
* Add append() method to FileRepo classes to enable chunked uploading
* Change chunksessionkey to chunksession
* Remove echo json stuff
* Fix a multitude of bugs in my own code
* still to test: mwEmbed use of chunked upload
2010-02-10 10:36:11 +00:00
Aaron Schulz
c155fd4e4a
Revert r43804 'This should probably be in Response, not Request, as we're setting data, not getting it. Nothing's using it yet (fairly new), so nothing to update.'
...
Session id is used by client request to specify its login data from cookie, so the session data, by extensions, is like a sort of request parameter. Also, WebResponse.php seems to be used for data actually sent to the client, like requested cookies.
2008-11-21 09:55:13 +00:00
Chad Horohoe
bf244b740f
This should probably be in Response, not Request, as we're setting data, not getting it. Nothing's using it yet (fairly new), so nothing to update.
2008-11-21 09:01:26 +00:00
Alexandre Emsenhuber
a1ce0224ad
fix some doxygen warnings
2008-09-17 14:26:43 +00:00
Chad Horohoe
3064f477ff
Add @ingroup definitions to these. Created new group HTTP for web-related things (cookies, headers, HTTP requests, etc).
2008-09-03 17:30:20 +00:00
Chad Horohoe
9dc6b435cf
Clarified visibility + docs
2008-08-24 03:06:03 +00:00
Chad Horohoe
88ba444d0d
Remove boneheaded config var $wgEnablePersistentCookies. Setting the default expiration to 0 now makes the cookies session-only (seeing as it was largely ignored)
2008-08-18 19:57:01 +00:00
Chad Horohoe
98c86aa7ff
* Bug 12976: Use $WebResponse->setCookie() rather than raw setcookie() calls.
...
* Moved all of the debugging/logic to WebResponse so it can be properly used elsewhere.
* A bit of cleanup so cookies set by $wgUser->setCookie() use $wgCookiePath as they should.
* Bug 14887: $wgEnablePersistentCookies has been added to allow for disabling of persistent cookies.
2008-08-15 01:54:59 +00:00
Siebrand Mazeland
79d5225c0e
* remove end of line whitespace
...
* remove empty lines at end of file
* remove "?>" where still present
2008-04-14 07:45:50 +00:00
Aryeh Gregor
a15c419b3d
Remove ?>'s from files. They're pointless, and just asking for people to mess with the files and add trailing whitespace. (Yes, I looked over every one and reverted those that were bogus. Slash-enter a million times in less worked well enough, although it was a bit mind-numbing.)
2007-06-29 01:19:14 +00:00
Antoine Musso
16558d1dbc
Added some comments to our classes.
2007-04-21 12:42:27 +00:00
Domas Mituzas
8974bfd94b
add some abstraction for web responses, so far minimal and not that used, requires discussion, conflicts and reverts %)
2006-08-12 23:03:53 +00:00