summaryrefslogtreecommitdiff
path: root/lib/util.php
AgeCommit message (Collapse)Author
2009-01-21Add fancy urls for new urlsEvan Prodromou
2009-01-21Fix redirect functionEvan Prodromou
2009-01-21Define URLs for groupsEvan Prodromou
2009-01-19Update tag to use new frameworkEvan Prodromou
Broke up the tag action into two different actions (publictagcloud and tag). Brought it up-to-date with the new framework, but haven't fixed it for phpcs yet.
2009-01-17Break up settings into two tabsetEvan Prodromou
Made two tabsets: account and connect. Removed "Invite" from the global nav to make room.
2009-01-16Markup update for common_tag_link(), common_at_link(),sarven
common_at_hash_link()
2009-01-14Remove block form functions from lib/util.phpEvan Prodromou
2009-01-14Move message form to its own moduleEvan Prodromou
2009-01-14Move subscribe and unsubscribe forms to their own classesEvan Prodromou
2009-01-14Move nudge form to its own classEvan Prodromou
2009-01-14Move favor and disfavor form to their own classesEvan Prodromou
2009-01-13Modify public stream to use new UI frameworkEvan Prodromou
I modified public.php to use the new UI framework. Since the Action class isn't functional yet, I don't know if it works. I took some of the functionality, like the public tabs nav and the feeds list, and made them widgets. I also moved the navigation from common_navigation() to a method of Action.
2009-01-13Move page-generation code from lib/util.php to Action classEvan Prodromou
We moved the page generation code from lib/util.php to the action class. We also broke up the page generation code into a big recipe, where each element of the page has a corresponding method in the Action class. Action classes can override parts of the recipe to make their custom output, and leave the rest up to the parent class. NOTE: this change BREAKS pretty much everything. lib/action.php probably does not compile, and everything that uses it needs to be fixed to use the new framework. Stay tuned for more fun!
2009-01-13Extract HTML outputting code to a class HTMLOutputterEvan Prodromou
Moved the common_* methods for low-level HTML output to its own class, HTMLOutputter in lib/htmloutputter.php.
2009-01-13Remove XML-generating function from lib/util.phpEvan Prodromou
2008-12-25Twitter-bridge: fix for Twitter's new strict policy of rejecting HTTP POSTs ↵Zach Copley
with invalid "expect" headers darcs-hash:20081225152207-7b5ce-fe890baabaa8f0bf60b05f7558c1ece3544d9906.gz
2008-12-23TRUEEvan Prodromou
More PEAR coding standards global changes. Here, I've changed all instances of TRUE to true and FALSE to false. darcs-hash:20081223194428-84dde-cb1a1e6f679acd68e864545c4d4dd8752d6a6257.gz
2008-12-23change function headers to K&R styleEvan Prodromou
Another huge change, for PEAR code standards compliance. Function headers have to be in K&R style (opening brace on its own line), instead of having the opening brace on the same line as the function and parameters. So, a little perl magic found all the function definitions and move the opening brace to the next line (properly indented... usually). darcs-hash:20081223193323-84dde-a28e36ecc66672c783c2842d12fc11043c13ab28.gz
2008-12-20reformatting for phpcs in lib/util.phpEvan Prodromou
darcs-hash:20081221003016-84dde-0e80268e95235462e069d4d1e6b949bc891ccdbd.gz
2008-12-14get rid of hcard in @-repliesEvan Prodromou
darcs-hash:20081214204557-84dde-92dbf80aa81d55c9ef23faa14bc209183fdcf883.gz
2008-12-12remove spaces from atlink for unfound nameEvan Prodromou
darcs-hash:20081212174414-84dde-03713508050c326904594057e6e2d3f3b1ca6437.gz
2008-12-11fix id of common_unsubscribe_formEvan Prodromou
darcs-hash:20081211200239-5ed1f-b8829a657dcb6b9f1ec6134d61de5340414a10d4.gz
2008-12-08Fixed duplicate @class assignment to elementcsarven
darcs-hash:20081208215420-eefa4-25bc0ed6c14d9031e8343e89c2cf6bde6ce35521.gz
2008-12-08add an unblock formEvan Prodromou
darcs-hash:20081208173722-5ed1f-fcdcb49e4958854ce9872beecee409737cacecb5.gz
2008-12-08add returnto information to the block formEvan Prodromou
darcs-hash:20081208170931-5ed1f-e7c5853e6a222b04723f20c01ebaae15eeab3687.gz
2008-12-08add block name to block formEvan Prodromou
darcs-hash:20081208072519-5ed1f-10e7d3e14e54f0d67c58504adbc4c81f3228944a.gz
2008-12-08add fancy url for block actionEvan Prodromou
darcs-hash:20081208071521-5ed1f-1178a3c50f94c039d98112620e8bf78836e659bc.gz
2008-12-08add block form to subscribers list and profile pageEvan Prodromou
I added a small form for blocking users to profiles in the profile list, and also to the profile page. I also added an action to handle the results of blocking someone. This required some changes to the profile list class (so I could add the block form), so I made them. And the gallery class lets its subclasses return a subclass of ProfileList for their profile list. darcs-hash:20081208055511-5ed1f-e2e09986bd3b9cbb6a00a0c6b94f49ea78b7bdab.gz
2008-12-07don't save replies from a blocked profile to the blocking userEvan Prodromou
darcs-hash:20081208031408-5ed1f-dfdb46fbcf5390d890b4db47c64da0b70ace8096.gz
2008-12-07pass profile id for subscriptions rather than user nameEvan Prodromou
darcs-hash:20081208031312-5ed1f-b570b86b28e8eda763c51be1ae091034f76bd984.gz
2008-12-08add class to body elementEvan Prodromou
darcs-hash:20081208055023-84dde-5ae95497ae63584f7b86e63eb62ed13607ee1ee8.gz
2008-12-05trac855 trac856 and Feed list for the Favorited pagecsarven
darcs-hash:20081205221402-eefa4-9c765fe3c7a6e0cf9cdee1749ed2bebb24d3deaf.gz
2008-12-04trac494 email is now in recipient's languagemillette
darcs-hash:20081204203433-099f7-41be8f47b2a8e647414225f26318da005144006d.gz
2008-12-04done delete own profile (see other settings)millette
darcs-hash:20081204180233-099f7-7728ee57876b789278aa1cc35f54e0a422593e5d.gz
2008-12-03unsubscribe from a remote profileEvan Prodromou
darcs-hash:20081203180945-5ed1f-747b3c0e00ced81c02953e1095a9b866a7876c43.gz
2008-12-02fix conflict with Robin's changes on trunkEvan Prodromou
darcs-hash:20081203041730-5ed1f-1e1910cec75546291b14386d91f3bd22ae06b750.gz
2008-12-02better microformats from @singpolymaEvan Prodromou
darcs-hash:20081203035947-84dde-68ce5b3ba2b49bd76e9ef8572cea7857cd05a659.gz
2008-11-28use label tab for checkboxesmillette
darcs-hash:20081128223646-099f7-79b7c961b4494ff7430bd3c0a0f4742888098ede.gz
2008-11-28shorten urls for posts > 140 chars only, from anywhere. Only show long urls ↵millette
in title attributes for links we shortened ourselves. darcs-hash:20081128210114-099f7-4e4cde0a983c2ac6d41efb59b46cb7dbf45dc7a6.gz
2008-11-28only expand URLs we shortened ourselves + only shorten if notice > 140 charsmillette
darcs-hash:20081128200004-099f7-085c833e3e34b2a13b5b3ec3b1316e7948ff196f.gz
2008-11-23a step closer to deleting a user and hosts posts from the dbmillette
darcs-hash:20081124005054-099f7-a7b20c1e15900e1c696a33902a6612b8be2387fa.gz
2008-12-09add some transaction voodoo to the insert for rememberme cookiesEvan Prodromou
darcs-hash:20081209185424-84dde-d439346477811043ae471c5e68644b326b016713.gz
2008-12-09slightly better reporting when setting rememberme cookiesEvan Prodromou
darcs-hash:20081209175446-84dde-ae63433fa42debe8fb2eb3862cac0b9f81f1e6de.gz
2008-12-09common_warning() doesn't existEvan Prodromou
darcs-hash:20081209174233-84dde-a5593f20cce3af07909ef9b3af7497ff61565fd3.gz
2008-12-09cache current user in a global variableEvan Prodromou
darcs-hash:20081209173402-84dde-eb1c47ddbf45a831379f6571729187267411ed07.gz
2008-12-09better error reporting for rememberme cookie handlingEvan Prodromou
rememberme cookies are probably the most complained-about parts of the system. We use "weak", one-use, low-info cookies that don't allow changing settings like passwords or email addresses. This change adds some better error-reporting to the rememberme function. Hopefully we'll find out if there are other rm problem. darcs-hash:20081209170413-84dde-6845ae5524d3ee1d1a491548bb22386f11f0e867.gz
2008-12-02whitespace cleanupEvan Prodromou
darcs-hash:20081203032743-5ed1f-87f9b170e87d5e010564b6f3c6dc7b3ca2b9c719.gz
2008-12-02add common_compatible_license() functionEvan Prodromou
darcs-hash:20081203032705-5ed1f-c425d8aef897b4223db3f2cb0250ed6fbe816f67.gz
2008-11-24correct the output formats for api user timelinesEvan Prodromou
darcs-hash:20081124234115-5ed1f-4a136027fddd625c39f14b5ec2e3e9d0fd0a6b3b.gz
2008-11-24support microsummariesEvan Prodromou
darcs-hash:20081124223533-5ed1f-1ae78e694043cef14d528dcd4201301eec8ad61b.gz