Commit Graph

2213 Commits

Author SHA1 Message Date
Evan Prodromou 93e249de2a Move page-generation code from lib/util.php to Action class
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-13 13:41:39 -05:00
Evan Prodromou 2e5b342693 Change related classes doc for HTMLOutputter 2009-01-13 13:38:58 -05:00
Evan Prodromou 10fcbe9da3 Make XMLOutputter work with phpcs
A couple of small changes to comply with code standards.

Also, note that the second param of element() and elementStart() can
be a string.
2009-01-13 11:47:01 -05:00
Evan Prodromou bbb32dd2f6 Extract HTML outputting code to a class HTMLOutputter
Moved the common_* methods for low-level HTML output to its own
class, HTMLOutputter in lib/htmloutputter.php.
2009-01-13 11:44:09 -05:00
Evan Prodromou 81745625aa Remove XML-generating function from lib/util.php 2009-01-13 11:02:34 -05:00
Evan Prodromou 2ff7bcfc5d Move low-level xml outputting code to a class
Made a class for outputting XML code
2009-01-13 10:56:50 -05:00
Zach Copley 125f05563b trac750 Add prefix string option in Facebook app for notice sync 2009-01-12 05:25:07 +00:00
Zach Copley 10e32eca5c trac750 Better workflow for inviting friends to use the Facebook app 2009-01-12 03:16:22 +00:00
Zach Copley 7ce7c756e8 trac750 Exclude Facebook friends who are already using Identi.ca app from invitee list 2009-01-12 00:42:42 +00:00
Zach Copley a373e6f500 trac750 Automatically update Identi.ca profile box with user's latest dent 2009-01-11 08:33:28 +00:00
Zach Copley 689be14215 trac750 - Facebook app now uses XMLWriter for output (much cleaner!) 2009-01-11 07:03:59 +00:00
Zach f0436655c8 Merge branch 'master' of /var/www/trunk 2009-01-11 04:38:51 +00:00
Zach Copley a7cd01aadd Twitter settings: show success color for msg on save settings 2009-01-10 20:27:53 -08:00
Zach 2d6d2ee8e2 Merge branch 'master' of /var/www/trunk 2009-01-11 04:27:13 +00:00
Zach Copley b98d8b2500 Make git ignore TextMate project files 2009-01-10 20:26:01 -08:00
Zach d96de79888 trac750 Facebook app's invite tab now works 2009-01-11 03:00:12 +00:00
Evan Prodromou 2d456a15e5 Merge branch 'master' of ../laconica-stable 2009-01-08 16:01:54 -05:00
Evan Prodromou 93cb7e07f7 Add _darcs to .gitignore 2009-01-08 20:56:59 +00:00
Evan Prodromou 07e9e2dc32 Remove _darcs from git repository
Not sure how or why this got in there.
2009-01-08 20:56:09 +00:00
Evan Prodromou 28d17d8d90 OpenMicroBlogging spec moved to its own source tree
I've moved the OpenMicroBlogging spec to its own project on Gitorious,
at http://gitorious.org/projects/openmicroblogging . It can be
retrieved at:

  git://gitorious.org/openmicroblogging/mainline.git
2009-01-07 18:24:41 -05:00
Ori Avtalion 2a58260b82 Update README to refer to the git repository 2009-01-07 17:38:32 -05:00
Evan Prodromou b5a197217c Upgrade included OpenID libraries to version 2.1.2 2009-01-06 22:54:10 -05:00
Evan Prodromou b1142ed3ab Revert "XRDS namespace fix"
This reverts commit 6d1d59a36b.

It seems to interfere with the Yadis discovery.
2009-01-06 22:43:43 -05:00
Evan Prodromou 6d1d59a36b XRDS namespace fix 2009-01-06 22:24:28 -05:00
root e67affdbbc Correct syntax in .gitignore 2009-01-06 23:07:30 +00:00
root 11351ea90d Add a git ignore file for avatars, files, config.php, and .htaccess 2009-01-06 23:06:05 +00:00
Evan Prodromou 02877224b2 Merge branch 'master' into devel
Conflicts:

	classes/CommandInterpreter.php
	lib/twitter.php
	lib/util.php
2009-01-06 17:09:39 -05:00
Zach Copley 4bb522c3fa trac750 better settings tab workflow
darcs-hash:20090106205738-7b5ce-e80f73130a1f699e8d33f31c63cf90ee259b72cd.gz
2009-01-06 15:57:38 -05:00
Evan Prodromou d3b1c1af16 add 'dm' as a synonym for 'd' command
darcs-hash:20081231032227-84dde-671346360e569522d5384663d4b808e329d4cf0c.gz
2008-12-30 22:22:27 -05:00
Zach Copley 174412018b Twitter-bridge: fix for Twitter's new strict policy of rejecting HTTP POSTs with invalid "expect" headers (not the same patch as in trunk)
darcs-hash:20081226051716-7b5ce-82040320785bab9438aa11cf5efa63fa4cba10ae.gz
2008-12-26 00:17:16 -05:00
Zach Copley 5e061d2060 Some fixups of patches not already migrated to trunk to bring inline with PEAR coding stds
darcs-hash:20081225144601-7b5ce-4846f3d036c36037836d15ed672c10ba33f9f84c.gz
2008-12-25 09:46:01 -05:00
Evan Prodromou 29b6858f23 bugpatch release code
darcs-hash:20081220204852-34904-d63d2050408db9eeaea0af8e81c5b5c9e0c8f227.gz
2008-12-20 15:48:52 -05:00
Evan Prodromou 9d7a567ecc two undefined variables in noticelist.php
darcs-hash:20081220204320-84dde-cc64afc5ad47f07ace499fe932f59f898dd8f0dd.gz
2008-12-20 15:43:20 -05:00
Sarven Capadisli 946eee4256 Direct message XHR response fix for IE and minor tweaks
darcs-hash:20081216071818-efd22-d2e59bb60a236538452be356f38d0974f35f0107.gz
2008-12-16 02:18:18 -05:00
Sarven Capadisli c0977dfa1b XHR response fix for IE
darcs-hash:20081216063751-efd22-42fa56ae88c444b80d96c25236733e90f8609fc5.gz
2008-12-16 01:37:51 -05:00
Zach Copley b801f73b1f Twitter-compatible API - update verify_credentials to return profile
darcs-hash:20081216030455-7b5ce-552516bfb34cb0ae1550787813feb4a4514d6c53.gz
2008-12-15 22:04:55 -05:00
Evan Prodromou 9ef3f7cee6 correctly handle remote re-subscribe
darcs-hash:20081215134824-84dde-de48c99b6cb45cc461125a7f8f382eb57de0bf28.gz
2008-12-15 08:48:24 -05:00
Evan Prodromou 0860791f3f bug with remote subscriptions and blocks
darcs-hash:20081215132806-84dde-0319e95259047d652214c151326aff64e746d532.gz
2008-12-15 08:28:06 -05:00
Zach Copley 3e70bfa287 Fixed Popular tab (hopefully)
darcs-hash:20081212075617-7b5ce-c56db92d928c58eaa3fed7e4f226e0fca62e2bbf.gz
2008-12-12 02:56:17 -05:00
Sarven Capadisli 2dc27116ce Setting font-weight to normal for nicknames within notices
darcs-hash:20081212062337-efd22-8adadf1810c253e27b573727c2ff5372d264fcd2.gz
2008-12-12 01:23:37 -05:00
Evan Prodromou 36aff8bafb get rid of hcard in @-replies
darcs-hash:20081214204557-84dde-92dbf80aa81d55c9ef23faa14bc209183fdcf883.gz
2008-12-14 15:45:57 -05:00
Evan Prodromou b6820b4f61 trim some output to avoid excessive whitespace
darcs-hash:20081214161942-84dde-bfb91a534eb01d3e16b364937dcf405277e75a6a.gz
2008-12-14 11:19:42 -05:00
Evan Prodromou aa4fb6b71e trim the body of an incoming message
darcs-hash:20081214002239-84dde-9d4d15f37b48ed1830c0423e7e34cb11c7cf9c2d.gz
2008-12-13 19:22:39 -05:00
Evan Prodromou fe932da971 remove content:items from rss output
darcs-hash:20081212195520-84dde-d464ee28ab9a9757b889fad437e310056f4c576a.gz
2008-12-12 14:55:20 -05:00
Evan Prodromou 6a54572577 remove spaces from atlink for unfound name
darcs-hash:20081212174414-84dde-03713508050c326904594057e6e2d3f3b1ca6437.gz
2008-12-12 12:44:14 -05:00
Evan Prodromou fd13272206 don't show form if subscription can't be found (weirdly)
darcs-hash:20081212055713-84dde-1b2aa99861ee0ab7c63a48152a5590b4d2f360d9.gz
2008-12-12 00:57:13 -05:00
Evan Prodromou 816f87fd27 link error with notice sources
darcs-hash:20081212054448-84dde-14b0bdbd5ce2848a171d565bc0b17902ddb10ed3.gz
2008-12-12 00:44:48 -05:00
Evan Prodromou 9855fc003b don't block yourself!
darcs-hash:20081212051830-84dde-4db7b40c27b20bd37bac261a68bd11051d263c25.gz
2008-12-12 00:18:30 -05:00
Sarven Capadisli 596c1b7f5a Using single id for both profile block and unblock
darcs-hash:20081212043240-efd22-99f6754e2b76eed06237414955d6c01b4137cba5.gz
2008-12-11 23:32:40 -05:00
Evan Prodromou 09dd39a434 stub out facebook app and delete profile
darcs-hash:20081212044600-84dde-b9fa8240a83457f9ed41c0bcdac4b20aff1f8aed.gz
2008-12-11 23:46:00 -05:00