summaryrefslogtreecommitdiff
path: root/lib/util.php
AgeCommit message (Collapse)Author
2008-06-26fancy URLs for IM settingsEvan Prodromou
darcs-hash:20080626184931-34904-d83ce6fc0f3d126929e01804dafea466249b329b.gz
2008-06-26show checkbox as checked or notEvan Prodromou
darcs-hash:20080626182705-34904-893d72f480c330beb2d8f871da0d2cd9b902ffbf.gz
2008-06-26move text out of input, into a separate spanEvan Prodromou
darcs-hash:20080626182231-34904-e8d139c2a8b5cd07fa0179b0bcf5cd41f1a1217b.gz
2008-06-26get rid of label on checkbox, just include it as contentsEvan Prodromou
darcs-hash:20080626181726-34904-c21801c5f2a74b6e66130308cdc106429cf7f43c.gz
2008-06-26some UI changes to the IM settingsEvan Prodromou
darcs-hash:20080626181144-34904-87503e70e6705b06ebb6c19910583f4fba1b22e0.gz
2008-06-24less tricky with recoverpasswordEvan Prodromou
darcs-hash:20080624220626-34904-94cb8a4cd1f1a7a96e78ab57e760f8de42f4eaca.gz
2008-06-24url for confirmation email is better, fancy urlEvan Prodromou
darcs-hash:20080624220335-34904-2c4089bf6d1b37b6f613ce89c6fad104727e7487.gz
2008-06-24using bogus attribute of $rmEvan Prodromou
darcs-hash:20080624040234-34904-bf5e87a55ee94c74b840c6a62e78e476c7b5f8d3.gz
2008-06-24think && was binding too closely in remembered_userEvan Prodromou
darcs-hash:20080624040058-34904-0f16041ec545e1a42384178f6cd52edcae967d2a.gz
2008-06-23check session name COOKIE before ensuring sessionEvan Prodromou
darcs-hash:20080624034906-34904-a21bab1db498d69c616606126f6b788a2188b1e2.gz
2008-06-23better cookie buildingEvan Prodromou
darcs-hash:20080624033223-34904-39ffa0aebcb9d173a7e5dd09870681ebb6e7313d.gz
2008-06-23set user takes a nickname, not a user objectEvan Prodromou
darcs-hash:20080624032818-34904-bf8c5594c42c797820e080250c955645a5a84aa1.gz
2008-06-23change some things around to see if we can get the cookies rightEvan Prodromou
darcs-hash:20080624032408-34904-1437e0359bd81c780e8ab12bdcbd1f9d8c87ef1c.gz
2008-06-23force session again and correctly get IDEvan Prodromou
darcs-hash:20080624031746-34904-3719874e1e0afa201e5c81e267531f0768ddacd9.gz
2008-06-23use the correct field for Remember_meEvan Prodromou
darcs-hash:20080624031057-34904-7a2597a8f56d9d49ad8f126c55058893a922c89f.gz
2008-06-23typo in name of common_set_cookieEvan Prodromou
darcs-hash:20080624030834-34904-6efc827f64aebc23a1d2f3602c562fff69b9a0df.gz
2008-06-23bad function callEvan Prodromou
darcs-hash:20080624030741-34904-e5b601dd4d76b367ae09a61923b062f6a36702f7.gz
2008-06-23switch order for checkbox, instructioEvan Prodromou
darcs-hash:20080624030034-34904-bdcb6197d2050bc37f9daaf6f849aed5890bce53.gz
2008-06-23implement rememberme functionalityEvan Prodromou
Added a checkbox on login or register to remember the current user. If the login is successful, this sets a cookie with a random code (saved in the DB). If they come back, and they aren't logged in "normally", we check to see if they have a rememberme cookie. If so, we log them in. However, they can't change settings -- cookie theft is too prevalent. So we mark a session as having a "real" (password or OpenID) login, or not. In settings pages, we check to see if the login is "real", and if not, we redirect to the login page. darcs-hash:20080624025234-34904-ad20001bf35bf41fcb63a0c357fd929aacc55fdb.gz
2008-06-23broadcast notices to jabberEvan Prodromou
darcs-hash:20080624014241-34904-39ace8e82e50e5f50c5980b5fb3256184a7c9050.gz
2008-06-23add jabber library and use itEvan Prodromou
darcs-hash:20080624001523-34904-8d0c052f12301d86aeb9107149b34f22c94da1c4.gz
2008-06-22use a static rather than a constant for code charsEvan Prodromou
darcs-hash:20080622163458-34904-1be378ff9765dcfdf491ea8d38ef6c157ebe99ce.gz
2008-06-22special function for generating confirmation codesEvan Prodromou
darcs-hash:20080622163241-34904-199b3654328d78c0b9fe2fa85a3ecc1ab0b1262a.gz
2008-06-22move confirmemail to confirmaddressEvan Prodromou
Rename the confirmemail to more general confirmaddress so we can use it for Jabber, SMS, or whatever. darcs-hash:20080622155250-34904-0cbc2895c01769dfb5e7393e6534355b6f5c2ac3.gz
2008-06-22typo in objstringEvan Prodromou
darcs-hash:20080622142906-34904-0699374fa0a88a1e4c004deb2a2f96b775fb98e5.gz
2008-06-22reference calling for objstringEvan Prodromou
darcs-hash:20080622142713-34904-1cee0bb3dbf54ad9ebb27b9c99fe4166dca3f9e2.gz
2008-06-22add better debuggingEvan Prodromou
darcs-hash:20080622140941-34904-2a0eda21f6a374a9d26107a4bc627fc6de2a7063.gz
2008-06-20change from using tag uris to http urls for identifiersEvan Prodromou
Weirdly, I got in an argument with Tim Berners-Lee in #swig about the tag URIs I was using in FOAF documents. Eventually, I was convinced that it's a better thing to use HTTP URLs instead. So, now we have HTTP URLs. The tricky thing was for users. Since they can change their names, we can't use their profile URL, since it includes the name. Instead, I made up a new action, which simply redirects from a user ID to their current profile URL. This should be sufficiently long-term. darcs-hash:20080620071700-84dde-c6145243dc45dd2dff621aff421375d05796057e.gz
2008-06-20go back to ensuring sessionEvan Prodromou
darcs-hash:20080620070256-84dde-215e2ccf2cc037208837353a3d979d69770301f6.gz
2008-06-20strip some whitespaceEvan Prodromou
darcs-hash:20080620065619-84dde-9c207b2a898ff0a16b45f5f1b28565aaa85f9e65.gz
2008-06-20don't keep cached userEvan Prodromou
darcs-hash:20080620065455-84dde-0c3bd495205e49ba2c5a8e040495339f35f9b215.gz
2008-06-20fancy url for confirmation of emailEvan Prodromou
darcs-hash:20080620062847-84dde-e7dd5ea325b1cbbf3cb5e3668851750497242e64.gz
2008-06-20skip a DB hit, and better regexEvan Prodromou
darcs-hash:20080620203449-84dde-b878277e0ad5a5478b7396fbca7e42feb39715f8.gz
2008-06-20Fix for bug #00019 (Linkified all @ addresses in a message)matthew.gregg
darcs-hash:20080620181136-982e4-ee4bb812b3db0f1d0e0b7961bc9aa6beec74096b.gz
2008-06-19posting from a form takes you back to the same page0.3.3Evan Prodromou
darcs-hash:20080619161814-5ed1f-5add55346470e71a53a676d39617062acc0f19bf.gz
2008-06-19copy args functionEvan Prodromou
darcs-hash:20080619141107-84dde-a5e018fdac3f72eee13b3093fbd871299cda0739.gz
2008-06-18switch password and id in munge_passwordEvan Prodromou
I think this is the less effective way to salt a password, BUT... I had a big bug in my code! All the code that was calling this function got the order of the params mixed up. So, to save heartache, I just reversed the order of the parameters, and reversed how the were used in the function. It should be functionally the same as before, but better documented. darcs-hash:20080618211454-84dde-4772135cc92f2a51faa072e4470da3c628e1510c.gz
2008-06-18change references from subscribed to subscribersEvan Prodromou
darcs-hash:20080618171622-84dde-abe0986279b106ff651913d759828d6d945adf0f.gz
2008-06-18add a little XML goodness to redirectEvan Prodromou
darcs-hash:20080618202500-84dde-66eeb8af0e26d9723b89831a6ba7bb82b09dbe09.gz
2008-06-18add xrds for trust root URLEvan Prodromou
darcs-hash:20080618182647-84dde-e75e2c3441e8441ad6602f36fd9b7bf6ca39e70d.gz
2008-06-18link in the branding pEvan Prodromou
darcs-hash:20080618154643-84dde-e77d6bf486806725579cdfe922ccbe3e59e008e1.gz
2008-06-18classEvan Prodromou
darcs-hash:20080618153258-84dde-48204f3d9d3d6c710d73bad4b390877cb34e2991.gz
2008-06-18more rigorous check on site logoEvan Prodromou
darcs-hash:20080618153036-84dde-06329e00661924826d6fd2b5b0682957c21c06d9.gz
2008-06-18change sitename h2 to branding pEvan Prodromou
darcs-hash:20080618152004-84dde-4d97997a9842ff1db550152266b51048df9e7281.gz
2008-06-17fake spaces in textareas to fakeout XMLWriterEvan Prodromou
darcs-hash:20080618030019-84dde-194b5591d9da98c74a513db540b802ed56455ae1.gz
2008-06-17don't put fake spaces in the text areaEvan Prodromou
darcs-hash:20080618025253-84dde-3a9f3dceccc366b069b931b4159d8160c1ad62ce.gz
2008-06-18add submit class to all buttonsEvan Prodromou
darcs-hash:20080618163516-84dde-ab4d9daa4180d75da0813bed03f6c824577a87a0.gz
2008-06-18fancified openidsettings URLEvan Prodromou
darcs-hash:20080618161321-84dde-366f585399c0dc0b8412596ebd0abcc61cfc904d.gz
2008-06-18better URLs for OpenID stuffEvan Prodromou
darcs-hash:20080618160733-84dde-cb233a9b2073b6333f2944682bb3ab0c1a7a547a.gz
2008-06-17filename in jqueryEvan Prodromou
darcs-hash:20080617044054-84dde-67eb7cd429c8f5bef64273c73a58dcb43816de02.gz