summaryrefslogtreecommitdiff
path: root/lib/util.php
AgeCommit message (Collapse)Author
2008-06-06move notice-posting stuff from util.php to omb.phpEvan Prodromou
darcs-hash:20080606162226-84dde-a794aede95d78913a21e7e2180d7d04cc47789f0.gz
2008-06-06call postnotice when there's a remote subscriptionEvan Prodromou
darcs-hash:20080606160437-84dde-25d2db21e059159751a27fd77f47764346029dd8.gz
2008-06-05move avatar scaling and saving to Avatar and ProfileEvan Prodromou
Extracted the code for setting a new original avatar to the Profile class, and moved some of it to Avatar, too. This makes it easier to have the same functionality whether an avatar is set using the profile settings (for our users), or on a remote subscription. Necessitated changing the filenaming function to just take an ID. darcs-hash:20080605193708-84dde-a441cc0474951ce7f1a1da9310b5145c0b7c3070.gz
2008-06-05decided to validate tag uris rather than not validating any urisEvan Prodromou
darcs-hash:20080605040153-84dde-5d180f0d8ead2fc7c5eaca3deaf035ba31d3512a.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-06-04full interface for userauthorizationEvan Prodromou
darcs-hash:20080604185131-84dde-2ff45e07ebba18c97803ed4a99121a6244ef1158.gz
2008-06-02correct server error outputEvan Prodromou
darcs-hash:20080602193851-84dde-069af77a95bc89271b75b7e0c7ff965fefa1de34.gz
2008-05-30start handling fancy URLsEvan Prodromou
darcs-hash:20080530212555-84dde-213c04b9cf9048f48bf0b0b4234bcdf49546d4d9.gz
2008-05-30no pid in syslogEvan Prodromou
darcs-hash:20080530185015-84dde-8b4a2f735a530f20a3fd8a2b07b2cc4f038e3846.gz
2008-05-30add debug logging and do some from the remotesubscribe pageEvan Prodromou
darcs-hash:20080530182230-84dde-b9b6f515affcd245abb5e199de02a8891138ff2a.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-30interim commit after pull from serverEvan Prodromou
darcs-hash:20080530142324-84dde-782c9f04f551447514f1557b9e80f8461a17771f.gz
2008-05-29move linkifying so URL links come firstEvan Prodromou
darcs-hash:20080529190743-84dde-849369c3c48006aaf6fcc523c9a952ea5d5bd999.gz
2008-05-29linkify URLsEvan Prodromou
darcs-hash:20080529190702-84dde-ef753ca1864b13e4c2ae0ebbd683c4f593f2f1f0.gz
2008-05-29arEvan Prodromou
darcs-hash:20080529182754-84dde-b5b0d1094b586602e62828995d75d8697ea52cbf.gz
2008-05-29more regex funEvan Prodromou
darcs-hash:20080529182725-84dde-aa343a6ecd3c6ac79adcd96198d1f18b6c56cb79.gz
2008-05-29remove URL check againEvan Prodromou
darcs-hash:20080529182026-84dde-b4ac5b6326476e6913683149db32f1ff46283127.gz
2008-05-29one more try on the preg delimiterEvan Prodromou
darcs-hash:20080529181942-84dde-60f2e659d4d67f085e4f8bc9a1c06753cf4b8924.gz
2008-05-29bad regex againEvan Prodromou
darcs-hash:20080529181623-84dde-90c4ce5306cdc9df2696064184aec122083519c8.gz
2008-05-29use q's for regex delimiterEvan Prodromou
darcs-hash:20080529181549-84dde-bd4ce6c6101268a95aa95a8727c7aaa96f96cac3.gz
2008-05-29remove url regexEvan Prodromou
darcs-hash:20080529181321-84dde-ed6ab6e839787cacc82681617b152106150839aa.gz
2008-05-29linkify URLsEvan Prodromou
darcs-hash:20080529181244-84dde-6b51042c5c92581d8aecfbb83630646afc078793.gz
2008-05-29keep the ampersand in atlinksEvan Prodromou
darcs-hash:20080529173635-84dde-8152ddcd07e094f5478a470f5b1a3ea28ce5421e.gz
2008-05-29special chars for raw links in atlinksEvan Prodromou
darcs-hash:20080529173400-84dde-f0883200a6dac50a3d9022cef82816339f9dd84c.gz
2008-05-29better regular expression for atlinksEvan Prodromou
darcs-hash:20080529173234-84dde-7b1e8fa0af993edd74b11f88bdfbc24e970298a7.gz
2008-05-29don't check for notice in rendering content; just render it!Evan Prodromou
darcs-hash:20080529172549-84dde-12c79e34baa6a19938350447f5939fb25febea21.gz
2008-05-29remove debug stringEvan Prodromou
darcs-hash:20080529172258-84dde-5c413413103946838aaeed249019f168e8f5b601.gz
2008-05-29more debugging crapEvan Prodromou
darcs-hash:20080529172205-84dde-7f4fe045ae9bd93b501087a96dea61914f6eb05f.gz
2008-05-29dummy atlinkinEvan Prodromou
darcs-hash:20080529172107-84dde-5c4fd44c49340e1ef478e1582776a0310365e479.gz
2008-05-29fixup atlink generator a bitEvan Prodromou
darcs-hash:20080529171853-84dde-3c7239cfb22c85b67946787e3cabf5a7583a8d4d.gz
2008-05-29loosen restrictions on names for atlinksEvan Prodromou
darcs-hash:20080529171604-84dde-63bf0f261fe340df7bfec22a0b64daf2ca42615e.gz
2008-05-29@ messagesEvan Prodromou
darcs-hash:20080529170801-84dde-765f70013696c46bee65bf1408ff4a0b379711d7.gz
2008-05-28add doc actionEvan Prodromou
darcs-hash:20080528182707-84dde-5f15e83a1243ec29a890b3b258163d07db5fc329.gz
2008-05-28undo thatEvan Prodromou
darcs-hash:20080528172149-84dde-5ccf267e5b97ad403cf87f4339258f3dda051728.gz
2008-05-28whole footer has greenBgEvan Prodromou
darcs-hash:20080528172041-84dde-afe59aa8a36d72bca5294c9919186b1ab3db268f.gz
2008-05-28add greenBg for licenseEvan Prodromou
darcs-hash:20080528171944-84dde-9de7d48ed96a7bd763a1720a472db1e7a7246000.gz
2008-05-28add span around license linkEvan Prodromou
darcs-hash:20080528171758-84dde-6121afedbce9bbecea09386e347aa3d1c85c8f44.gz
2008-05-28fixed widthsEvan Prodromou
darcs-hash:20080528171626-84dde-860eb9185838f11ae7e68d5381ff3d26a0b71829.gz
2008-05-28try to float license text rightEvan Prodromou
darcs-hash:20080528171543-84dde-3a2ef0070d8c6a64bda036db5a1efde185f78b80.gz
2008-05-28try to float license image left againEvan Prodromou
darcs-hash:20080528171434-84dde-5e0e37212b9de9809fd40304d31f9c8d08450ed0.gz
2008-05-28float text of license stuff right, to make a more pleasing license blockEvan Prodromou
darcs-hash:20080528171232-84dde-3a8155054dacf2859c5544bfa8bc05c46e2115f7.gz
2008-05-28better timestamped avatar filenamesEvan Prodromou
darcs-hash:20080528143030-84dde-c698588b2db9e36a576c402ba685b5d205396948.gz
2008-05-28fix source linkEvan Prodromou
darcs-hash:20080528141555-84dde-deeaf974426d353c6e7573e5c532823001639f36.gz
2008-05-28add timestamp to avatar filenames to prevent overlapEvan Prodromou
darcs-hash:20080528140321-84dde-2dbeb6032e845a23bb1adde1cbc1788333b55156.gz
2008-05-27server-side storage modelEvan Prodromou
First pass at a server-side storage model. New tables for consumers, tokens, and nonces, with associated classes. An OAuthDataStore class interfaces with the OAuth.php library to enable server logic. Some additional work to get pretty-OK random number generation into the utilities library. Use /dev/urandom if available; else use mt_rand(). darcs-hash:20080527200721-84dde-308c047af2ebc2c4d753c1e1e24af20fef862a7e.gz
2008-05-27client side of distributed subscription almost completeEvan Prodromou
darcs-hash:20080527114219-84dde-784ddf4d4650c17bc7a1e3e01219c6948dfc9b3d.gz
2008-05-22add tags on creation of notices and usersEvan Prodromou
darcs-hash:20080522185500-84dde-39a66d36d2c80ff57e2ab2d0274548770c4d06f7.gz
2008-05-22typo in common_mint_tagEvan Prodromou
darcs-hash:20080522184027-84dde-f6e53502335b5cd14bc1a2323b3f3eeb99b33cd4.gz