aboutsummaryrefslogtreecommitdiff
path: root/js/lib/security.js
AgeCommit message (Collapse)Author
2013-03-05fixed token refresh interval - introduced during development for this releasecash
2013-02-23Fixes #4997 stop requesting a token after a failed requestcash
2011-11-10Fixes #4010 not sending naked query strings into add ajax tokens and also ↵cash
fixed a few related bugs in JavaScript
2011-10-29Fixes #4010, refs #3927. Fixed elgg.security.addToken() to work with query ↵Brett Profitt
strings, relative URLs, and full URLs.
2011-10-14Fixes #3927. elgg.security.addToken() works for URLs without query strings.Brett Profitt
2011-04-28Fixes #3408. During token refresh, only touching hrefs that contain ↵brettp
__elgg_ts and __elgg_token to avoid changing selector-only hrefs since fragment-only hrefs are normalized by the browser. Not sure how this didn't show up until now. git-svn-id: http://code.elgg.org/elgg/trunk@9049 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-15Refs #2538. Loading js/configuration.js again. Only updating tokens on ↵brettp
success and showing a basic warning if refresh fails. git-svn-id: http://code.elgg.org/elgg/trunk@8719 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-15Refs #2538: Added documentation to most of the JS methods missing it.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8717 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-12Fixes #3065, #3089. Merged JS events and hooks to a single system. Updated ↵brettp
plugins and core to use it. Added elgg.getURLFragment() and using it elgg.ui.popsUp(). git-svn-id: http://code.elgg.org/elgg/trunk@8671 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-04Refs #2771: Removing CRLFs from javascript files.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7826 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-20Fixes #2620: Security token refresh action is now security/refreshtokenewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7367 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-20Utilizing elgg.extend, rather than jQuery.extendewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7363 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-09jsLinted security.js + using elgg typecheckers rather than ===ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7259 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-02Refs #2538: Moved js directory to elgg root.ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7189 36083f99-b078-4883-b0ff-0f9b5a30f544