summaryrefslogtreecommitdiff
path: root/lib/common.php
AgeCommit message (Collapse)Author
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
2008-05-17more twiddlingEvan Prodromou
Placeholder for broadcasting notice updates. Fixup the local url function to include server and path. Add server and path to configuration array. Make new notice 303 redirect to shownotice. Make redirects work. Add link in streams to notices. darcs-hash:20080517144642-84dde-c267a6e3bb0717ad5a3a819a7cf65fdd5817ea8e.gz
2008-05-17move the goal postsEvan Prodromou
change the version numbers for an internal 0.1 test release (putting it on the server!). Also, added some tweedly date formatting, just to have something there. Needs some thought. darcs-hash:20080517140532-84dde-b316b4b425cced5c31fc2ecd0dd81217d5f91365.gz
2008-05-17bogus version of common_local_url()Evan Prodromou
Threw together a bogus version of common_local_url(), which should work for now. But eventually it should use pretty URLs if possible. darcs-hash:20080517135138-84dde-3c69c89ee8080568e92f655cbb3171867a7b38ce.gz
2008-05-17upload and change avatarsEvan Prodromou
code to upload and change avatars. combined some code in the settings area, too. darcs-hash:20080517122045-84dde-8e13994e627805f29679c9533c2f62db81dc0925.gz
2008-05-15settings and avatarsEvan Prodromou
Did considerable work on the settings section. Redesigned the DB to allow avatars. Each avatar image has a size and an URL. There can be multiple avatars per profile, just different sizes. Added accessors in Profile for avatar. Show the avatar in lots of places, where it makes sense. Constants for avatar sizes in common.php. darcs-hash:20080515162844-84dde-fe0630366e247c02ca8ca9d1cc6b963cfce57a26.gz
2008-05-14license block for source codeEvan Prodromou
Added GNU Affero GPL license block to source code. Added name "LACONICA". I think it should work fine. darcs-hash:20080514192648-84dde-a430dc438a4e3741c62ccf30ee7f85ecc968b159.gz
2008-05-14move library files to libEvan Prodromou
darcs-hash:20080514190300-84dde-626b88c9da510c8830d2eff2d36b72f18e6353d4.gz