summaryrefslogtreecommitdiff
path: root/lib/common.php
AgeCommit message (Collapse)Author
2008-06-26new version number0.3.5Evan Prodromou
darcs-hash:20080626205409-34904-62ff39380f8fc22085825d0cee5fe8cf356459e5.gz
2008-06-26handle host !Evan Prodromou
darcs-hash:20080626075920-34904-0aad06d788f8dbf3a03d17752ba49d866322594e.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-22first pass at a daemon to receive XMPP messagesEvan Prodromou
darcs-hash:20080623022710-84dde-bf3d3e3ce87957b9a91d38c16cf834d07b9933ea.gz
2008-06-22disallow nicknames on a blacklistEvan Prodromou
darcs-hash:20080622180437-34904-4b6313f6fd8845232031663c5c2df00dff725183.gz
2008-06-22version number changedEvan Prodromou
darcs-hash:20080622172354-34904-6d09d8e6cceafb348b88528fe15e907bf1244347.gz
2008-06-22require the right classEvan Prodromou
darcs-hash:20080622155454-34904-2598501f3d1788eb1ead9252e5925637e721a525.gz
2008-06-20confirm email addressesEvan Prodromou
darcs-hash:20080620051536-5ed1f-231e427832dd20c861eb7a6dc1171315e90f455b.gz
2008-06-19update version0.3.2Evan Prodromou
darcs-hash:20080619150158-5ed1f-e488de5630d8ca131b3ad95c6701bfb3c1e5d569.gz
2008-06-18default DB driver is DBEvan Prodromou
darcs-hash:20080619020634-84dde-37a8f87b9f293534ed167e183fa2d08f6714c2ad.gz
2008-06-14email notification on new subscriptionsEvan Prodromou
darcs-hash:20080615030202-84dde-ebed7919c227ce280dc818f301e15001eb8b5926.gz
2008-06-13mark off some todos, add a version number, and put code info at the bottom ↵0.3.0Evan Prodromou
of the page darcs-hash:20080613184638-84dde-aa7059348899949f3e0c6cfa02d08c41458384a1.gz
2008-06-11change default avatars from config vars to theme filesEvan Prodromou
darcs-hash:20080611190230-84dde-78ff0d6f6c370a33aabc4f0053651b6629f85499.gz
2008-06-10first steps towards new skinEvan Prodromou
darcs-hash:20080610185238-84dde-c073065f5f802be39b97a23105613fac1eeb0bea.gz
2008-06-04move filename stuff to debug functionEvan Prodromou
darcs-hash:20080605024717-84dde-dc897a855af13ea30bb670daf94749e9f14fa7ad.gz
2008-06-04automatically prepend filename to debug outputEvan Prodromou
darcs-hash:20080605024035-84dde-bc3abc4329f3181cffd26e83d37968ee6a02a26e.gz
2008-05-30start handling fancy URLsEvan Prodromou
darcs-hash:20080530212555-84dde-213c04b9cf9048f48bf0b0b4234bcdf49546d4d9.gz
2008-05-30remotesubscribe formEvan Prodromou
darcs-hash:20080530174310-84dde-1e05966eb48573ced8e73acf3f3b59e7bc4f1170.gz
2008-05-30common function for turning a relative path into a full URLEvan Prodromou
darcs-hash:20080530162429-84dde-12336814d3a01b4937ab574741fa4987484be62d.gz
2008-05-28fix cc license urlEvan Prodromou
darcs-hash:20080528171012-84dde-bf66fac5e9ca78881d3d3dfd08d76b22aeb84a2f.gz
2008-05-22tags and XRDSEvan Prodromou
Starting the process of remote subscriptions. First, add the capacity to mint tags. May in the future want to allow some kind of UUID or URL for unique URIs. New config options for tag authority and date, and a function for minting tags. Store URIs in the DB. If the admin changes his/her tag config, this shouldn't change the URIs in the DB. Unless they really want to make that happen. Generate an XRDS document with the appropriate URLs for microblogging. Also, redefined some stuff in openmicroblogging.txt. And moved the file. darcs-hash:20080522183421-84dde-fe46f32e4050f2c4b6c850334103007ed7feabf7.gz
2008-05-21fixup default avatar urls by using common functionEvan Prodromou
darcs-hash:20080521155448-84dde-0e71fe5dccea49162911f80c65cd1e2a46043b14.gz
2008-05-21fix path to default avatarsEvan Prodromou
darcs-hash:20080521154234-84dde-e83305636b6bc2bb158db8588838c8b62b1b7af0.gz
2008-05-21default avatarEvan Prodromou
darcs-hash:20080521115727-84dde-73b58873e08c936139bd63cffab0c30883c9f8a5.gz
2008-05-20trim whitespaceEvan Prodromou
darcs-hash:20080520191412-84dde-a607dbe848279639630edd1ab4616d05cc2318d1.gz
2008-05-20add image to configEvan Prodromou
darcs-hash:20080520171711-84dde-37d126ca0ccc8658fe2806a8f7f97ee0807783ba.gz
2008-05-20license block and move theme stuffEvan Prodromou
darcs-hash:20080520171353-84dde-5a04033ee8ef19da25ffa9e5c68d2cb18fc71b04.gz
2008-05-20break out utility functions to util.phpEvan Prodromou
darcs-hash:20080520130535-84dde-5414005cdbd8d39bb548c75388893c7827f2fb16.gz
2008-05-19better headersEvan Prodromou
Added H1 headers to all pages. Added H2 headers to sections of pages, where appropriate. Moved a lot of TODOs around. Made the public stream the default if no action is specified. darcs-hash:20080519141219-84dde-f9917a8351596060faa7ff5d231417773764a8fd.gz
2008-05-19add common_passwordEvan Prodromou
darcs-hash:20080519131808-84dde-af9d0bf03a963f7b0bdaed3b973a38998f9e806e.gz
2008-05-18change defaults to use avatar dirEvan Prodromou
darcs-hash:20080518191849-84dde-ecaf7a36d27378d707d0a08b3948bcc2af24374f.gz
2008-05-18fix path to files, some TODOsEvan Prodromou
darcs-hash:20080518191056-84dde-c7b52e98b4b9642788c82f28cdf16ff6af9f45c3.gz
2008-05-17smaller packetEvan Prodromou
darcs-hash:20080518015551-84dde-65964e140ed0b6c23aeee368fcffccdc14d71c61.gz
2008-05-17save profile urlEvan Prodromou
darcs-hash:20080517202132-84dde-78c7fe9f22aa28f33e9e00432f5cf6436b64e6b5.gz
2008-05-17dates are already stringsEvan Prodromou
darcs-hash:20080517201719-84dde-ad4d5d935f510bedbd965c9c4c93550c50820454.gz
2008-05-17use cast object for datetimesEvan Prodromou
darcs-hash:20080517201411-84dde-7a6195517a5bded7b84266f61c035e2adbc49edd.gz
2008-05-17fix created, messagesEvan Prodromou
darcs-hash:20080517195201-84dde-8f8269284e5fc00e9f2a6d8187059d0f59eae007.gz
2008-05-17fix typo in common_date_stringEvan Prodromou
darcs-hash:20080517194133-84dde-7fc79724a9036b6d98c44c3369aac6a5a3ee931f.gz
2008-05-17ensure rather than check for sessionEvan Prodromou
darcs-hash:20080517193520-84dde-e0e0ad44fa0b87e7964fa36375b656e7cfabf865.gz
2008-05-17fixup some nickname handlingEvan Prodromou
darcs-hash:20080517175022-84dde-475a63e7f8d400c508d259fcbc9959588720316b.gz
2008-05-17fix INSTALLDIR use in common.phpEvan Prodromou
I was using $INSTALLDIR instead of INSTALLDIR darcs-hash:20080517173424-84dde-6fe6df2e710f1a19db97a93682f41cf01034952f.gz
2008-05-17path separator problem in data classesEvan Prodromou
darcs-hash:20080517172654-84dde-83b31bcf0f9497bf6a1d3d3bc498312e50b6b9da.gz
2008-05-17require data classes in commonEvan Prodromou
darcs-hash:20080517172528-84dde-99ef7b8b71e3229d54697a84ac7f9f3d8cbd77db.gz
2008-05-17add stub email canonicalizerEvan Prodromou
Added a stub function to stand in for eventual email canonicalizer. darcs-hash:20080517172110-84dde-d2c83cb5e88693100c444b0ed088eed327f8a77d.gz
2008-05-17add action class to default loadsEvan Prodromou
darcs-hash:20080517161817-84dde-a28288b093f40eda0d8444f54eca818b2c65a735.gz
2008-05-17handle empty path betterEvan Prodromou
darcs-hash:20080517161548-84dde-8b011466dcf6a0e95e5e0b9c6a5ddcf4cd4bd145.gz
2008-05-17common_local_url() second parameter optionalEvan Prodromou
darcs-hash:20080517160908-84dde-c176f1fa4c4026a84efac994e65db0158935cb11.gz
2008-05-17correct path to DB_DataObjectEvan Prodromou
darcs-hash:20080517155326-84dde-2da05716ece2cce3c3f2f790d326c5333417ef9e.gz
2008-05-17fixes to make it all lintEvan Prodromou
Ran everything through php -l, found out that it didn't compile. So: fixed the am-I-running-in-Laconica check at the top of each file. Some syntax fixes in shownotice, showstream, common. darcs-hash:20080517154701-84dde-8d38da89c5b9cb3b40704adb04a4de880c204181.gz
2008-05-17make config kinda workEvan Prodromou
darcs-hash:20080517152958-84dde-1170f017a6cf42845d74f75057c923be91404c29.gz