Commit Graph

1272 Commits

Author SHA1 Message Date
Zach Copley 047c87d1cc Converted DeleteAction and DeletenoticeAction to new uiredesign zeitgeist 2009-01-20 22:20:17 -08:00
sarven f76b565c16 Merge branch 'master' of ../trunk 2009-01-21 05:26:56 +00:00
sarven db4993970e (Un)subscribe AJAX forms 2009-01-21 04:08:05 +00:00
Evan Prodromou 724abe9ea9 Remove "finishimmediate" action 2009-01-21 03:59:47 +00:00
Evan Prodromou afde3c62d8 Remove deleteprofile.php 2009-01-21 03:59:30 +00:00
Zach Copley d6da9779f7 Merge branch 'master' of ssh://zach@dev.controlyourself.ca/var/www/trunk 2009-01-20 19:18:02 -08:00
Zach Copley 61850ceb55 Converted ShowmessageAction to work with new uiredesign 2009-01-20 19:16:52 -08:00
sarven e9b9795eeb (dis)favor form method call fix 2009-01-21 02:52:16 +00:00
Zach Copley 624ca93c9d Converted direct messaging actions to new uiredesign 2009-01-20 17:49:47 -08:00
sarven f51984175a Matching markup for tags 2009-01-21 01:22:08 +00:00
Robin Millette 560374e170 uiredesign + phpdocs 2009-01-21 00:07:15 +00:00
Robin Millette 592403cdc3 uiredesign + phpdocs 2009-01-21 00:06:56 +00:00
sarven 1ab0de3ddd If user has fn, then it will not link to their own profile with @class
'fn'. Only put @class 'fn' on the anchor if there is no fn.
2009-01-20 23:50:52 +00:00
sarven bb4a6a514b user_actions form markup and styling 2009-01-20 22:36:57 +00:00
Robin Millette 1cf469e244 uiredesign + phpdocs 2009-01-20 21:31:56 +00:00
Robin Millette cadad55379 uiredesign + phpdocs 2009-01-20 21:21:00 +00:00
Robin Millette 6e6d651b25 uiredesign + phpdocs. 2009-01-20 21:05:55 +00:00
Robin Millette 4471f62bc5 uiredesign + phpdocs 2009-01-20 20:55:16 +00:00
Robin Millette 1526432842 tiny phpdoc fixes 2009-01-20 20:44:03 +00:00
Robin Millette 5abdf8aae1 Merge branch 'master' of /var/www/trunk 2009-01-20 20:38:05 +00:00
Robin Millette f93575bd46 uiredesign and phpdocs 2009-01-20 20:29:31 +00:00
sarven 96dc058bfa Using nickname only for uid 2009-01-20 05:58:35 +00:00
sarven 27308afe85 Added mark_hash for content (i.e., to indicate tags with the
character '#')
2009-01-20 05:11:45 +00:00
sarven 918bd84c0d Removed extra div 2009-01-20 05:06:46 +00:00
sarven 7f60558cbb User subscriptions markup 2009-01-20 05:04:41 +00:00
sarven ec1249d3ad User statistics markup 2009-01-20 04:57:15 +00:00
sarven 8e8c580586 showPageTitle() and showPageNoticeBlock()
and using url on nickname instead of fullname
2009-01-19 23:19:05 +00:00
sarven 774fc5378b user_profile markup 2009-01-19 22:40:21 +00:00
Evan Prodromou 0b9cda03d5 Merge branch 'master' of /var/www/trunk 2009-01-19 18:22:03 +00:00
Evan Prodromou 930f82a951 Update tag to use new framework
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-19 18:21:14 +00:00
Evan Prodromou 7c0286bfcc Favorites is readonly 2009-01-19 18:10:20 +00:00
Evan Prodromou 8b89fbb3f0 Mark featured users as readonly 2009-01-19 18:09:59 +00:00
Evan Prodromou 4f100c8159 Update featured for new framework, but not phpcs-clean yet 2009-01-19 17:49:12 +00:00
sarven a5f3e3b759 Removed unnecessary empty containers (page_notice, aside, local
navigation)
2009-01-19 17:12:35 +00:00
Evan Prodromou 8a537a3a61 Merge branch 'master' of /var/www/trunk 2009-01-19 16:57:04 +00:00
Evan Prodromou 7ca32eb2e6 Upgraded showstream, didn't make it phpcs-compatible 2009-01-19 16:56:41 +00:00
sarven bc15d027a8 Changed @id to @class for notices ul 2009-01-19 16:50:22 +00:00
Evan Prodromou b635b6de04 Update showfavorites 2009-01-19 15:28:27 +00:00
Evan Prodromou 9145794400 Update facebook stuff to use new methods
change facebook stuff to use new methods for XML and HTML.
2009-01-19 13:44:10 +00:00
Evan Prodromou 12c475c101 Merge branch 'master' of /var/www/trunk
Conflicts:

	actions/facebookhome.php
	actions/facebooksettings.php
2009-01-19 13:35:17 +00:00
Evan Prodromou e703f5e347 First pass at with-friends; doesn't pass phpcs 2009-01-19 13:27:45 +00:00
Evan Prodromou 6edbf3ca78 Update favorited for new layout and framework 2009-01-19 13:22:22 +00:00
Evan Prodromou 264ab53953 Merge branch 'uiredesign' of /var/www/trunk into uiredesign 2009-01-19 12:28:45 +00:00
Zach Copley 739baf0396 trac750 Add notice input box to FB app and ability to post notices 2009-01-19 07:24:12 +00:00
sarven 0b5f0f4faa Renamed form_datas to form_data 2009-01-19 03:09:13 +00:00
Zach Copley cd6b9d6c46 trac750 fix method calls to get CSS files 2009-01-19 02:13:25 +00:00
Zach Copley 12f7ec980c trac750 Better workflow for asking user for status update permission 2009-01-19 00:50:45 +00:00
sarven 9d384aadb1 @id for site_nav_global_primary items in order to target for styling 2009-01-18 22:08:51 +00:00
sarven 7749228f52 OpenID settings remove style 2009-01-18 21:22:31 +00:00
sarven 061de33e57 SMS settings markup and styles. Minor check with twitter settings form_datas 2009-01-18 21:14:47 +00:00
Zach Copley aea172bee0 trac750 Removed psychotic FB redirect hack. Found a better way with document.setLocation() 2009-01-18 21:08:56 +00:00
sarven d46c2cc8a7 IM settings markup and style.
Added confirmed/unconfirmed styles
2009-01-18 20:36:50 +00:00
sarven 5da9511c31 Markup and styles for the Register page 2009-01-18 19:42:08 +00:00
Evan Prodromou f2b06b8bbd update commitaddress 2009-01-18 18:41:41 +00:00
Evan Prodromou c0f23a2703 Update shownotice for new framework, make phpcs-clean 2009-01-18 18:35:11 +00:00
Evan Prodromou 2c4db393f5 Fix output of email settings for confirmed address 2009-01-18 18:32:33 +00:00
Evan Prodromou 727d9e8865 Change use of self_url to selfUrl 2009-01-18 17:11:18 +00:00
Evan Prodromou 321d52a15c Make newnotice work 2009-01-18 17:06:38 +00:00
Evan Prodromou df58688a58 Fix comment blocks for login 2009-01-18 13:38:29 +00:00
Evan Prodromou 4163f45004 Update register action to match phpcs and new framework 2009-01-18 13:37:58 +00:00
Evan Prodromou b4b686c118 Fix file and class descriptors 2009-01-18 12:55:07 +00:00
Evan Prodromou 5a313fef6e Add tabset to login and make it phpcs-compliant 2009-01-18 12:48:47 +00:00
Evan Prodromou 71d5c6335f Merge branch 'uiredesign' of /var/www/trunk into uiredesign 2009-01-18 12:29:22 +00:00
Zach Copley 8fdf888edb trac750 Javascript file for Facebook app 2009-01-18 06:12:47 +00:00
sarven 4b1cc73a58 Favor/Disfavor form @class
Created icon, and add style
JS selector change
Fixed return actions
2009-01-18 03:12:39 +00:00
Zach Copley 3e18c2f0f8 trac750 Facebook App - generate HTML similar to uiredisign for everything 2009-01-18 01:31:39 +00:00
sarven 88c7da66f0 Minor cleanup for login style 2009-01-18 01:02:42 +00:00
sarven 620d0594fc Reusing @class form_settings 2009-01-18 00:58:43 +00:00
sarven 4687f6dac9 Other settings markup 2009-01-17 23:52:37 +00:00
sarven 0ecdd5363d Profile settings styles 2009-01-17 23:49:12 +00:00
Evan Prodromou d3f27765d9 Adapt replies to new framework 2009-01-17 23:17:57 +00:00
Evan Prodromou 99a4daa501 Bring othersettings up to date 2009-01-17 22:42:53 +00:00
Evan Prodromou 97c98cf59a Break up settings into two tabset
Made two tabsets: account and connect. Removed "Invite" from
the global nav to make room.
2009-01-17 22:30:44 +00:00
sarven 05b00cc7df Login styles 2009-01-17 16:22:36 +00:00
sarven 3e40a564bd twitter settings markup 2009-01-17 01:50:21 +00:00
sarven b2f16c5234 SMS form settings 2009-01-17 01:08:55 +00:00
sarven 0b947a33bc Minor 2009-01-17 00:49:48 +00:00
sarven 42977cac5e Merge branch 'uiredesign' of ../trunk into uiredesign 2009-01-17 00:48:42 +00:00
sarven b9fb70ee70 Markup clean up and styles 2009-01-17 00:46:33 +00:00
sarven 2561199e59 OpenID form settings markup 2009-01-17 00:06:31 +00:00
sarven 0a5125675b Updates to form styling 2009-01-17 00:01:53 +00:00
sarven f46fd284e4 Update to forms and email settings 2009-01-16 23:41:46 +00:00
Evan Prodromou 1b7b58192b Split avatar upload to its own page 2009-01-16 22:29:13 +00:00
Evan Prodromou d1b5233eac Update IM settings to new system 2009-01-16 21:39:39 +00:00
Evan Prodromou d5a876865b Update twittersettings to new framework 2009-01-16 21:18:30 +00:00
Evan Prodromou c0a5ade1e7 SMS settings updated to new framework 2009-01-16 20:56:39 +00:00
Evan Prodromou 2f99a257a0 Make the OpenID settings work with new framework 2009-01-16 20:25:46 +00:00
Zach Copley 2c9759c3b3 trac750 Don't accidentally show login form after user logs in 2009-01-16 20:23:11 +00:00
Evan Prodromou aedf9942b4 Convert emailsettings to use new framework 2009-01-16 20:00:52 +00:00
sarven dce8cf6845 Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-16 17:03:37 +00:00
sarven 877327a18e Update to XHR post notice 2009-01-16 17:02:46 +00:00
Evan Prodromou 1a02d681fa Merge branch 'master' of /var/www/trunk into uiredesign 2009-01-16 16:42:34 +00:00
sarven d3092274c2 Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 23:47:43 +00:00
Evan Prodromou c73ed29cb7 Some work to make the all action work 2009-01-15 23:46:22 +00:00
sarven 041c3ae151 Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 23:19:15 +00:00
Evan Prodromou e20309315f Correct error var in login 2009-01-15 23:17:04 +00:00
sarven 39b5957068 Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 23:10:44 +00:00
Evan Prodromou ba9f1f603b All actions now use isReadOnly() 2009-01-15 23:09:16 +00:00
sarven 0357ea505d Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 23:05:57 +00:00
sarven 8d9fb7711f Unnecessary wrapper 2009-01-15 23:05:36 +00:00
Evan Prodromou 4b0cf99e56 Convert use of common_server_error and common_user_error to methods on Action 2009-01-15 23:03:38 +00:00
Evan Prodromou eaa81d25fa Convert all actions to use new UI functions
I did a massive search-and-replace to get all the action subclasses to
use the new output function (common_element() -> $this->element(), etc.)

There's still a lot to do, but it's a first step
2009-01-15 22:57:15 +00:00
Evan Prodromou 10a4d9ea1e Revert "section for export data"
This reverts commit 4cee28ace9.
2009-01-15 22:23:40 +00:00
Evan Prodromou 4cee28ace9 section for export data 2009-01-15 22:17:18 +00:00
Evan Prodromou 37350e873d Make the feedlist work -- kinda 2009-01-15 20:22:14 +00:00
Evan Prodromou 082db2ad7d A little further with notice lists 2009-01-15 20:19:32 +00:00
Evan Prodromou b32a47807e Include PublicGroupNav in publicaction 2009-01-15 20:13:11 +00:00
Zach Copley 3bb7ea79c0 Twitter bridge: verify creds was taking user ID from the status instead
of the user object, and failing if user hadn't ever posted on Twitter.
2009-01-15 11:29:45 -08:00
Evan Prodromou 0093b035c1 Modify public stream to use new UI framework
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-13 23:48:05 -05:00
Ori Avtalion 1636da829c Removed double spaces from strings 2009-01-12 16:27:33 -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 d96de79888 trac750 Facebook app's invite tab now works 2009-01-11 03:00:12 +00:00
Evan Prodromou 44ec22c0f2 Fix database fetch and bad var name in tagrss 2009-01-10 15:05:16 -05:00
Evan Prodromou a3b72d9e3b Better check on blank tag 2009-01-10 14:57:37 -05:00
Evan Prodromou 7c54239fc0 Return an error in tagrss if no tag is provided 2009-01-10 14:55:53 -05:00
Evan Prodromou 01d1c3bd5f Corrected links to tagrss and add fancy URL for tag rss 2009-01-10 14:53:14 -05:00
Evan Prodromou 0f8b902004 Revert "Twitter-compatible API - update verify_credentials to return profile"
This reverts commit b801f73b1f.

Twhirl assumes we return the old kind of results, so we have to do that.
2009-01-08 16:15:08 -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
Zach Copley 4bb522c3fa trac750 better settings tab workflow
darcs-hash:20090106205738-7b5ce-e80f73130a1f699e8d33f31c63cf90ee259b72cd.gz
2009-01-06 15:57:38 -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
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
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
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 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
Sarven Capadisli 867d723548 Indenting the XML response
darcs-hash:20081212030820-efd22-3ee6f5ab50c821e3da5dd6785abb765af168058a.gz
2008-12-11 22:08:20 -05:00
Zach Copley 6a0873e30d Better titles and instructions for Featured and Popular tabs
(Do not be afraid of this patch!)

darcs-hash:20081211235341-7b5ce-98bae58e267b4e4b0adb5835e5a05e19cd910363.gz
2008-12-11 18:53:41 -05:00
Evan Prodromou 7ed9530273 misspelled INSTALLDIR in newnotice.php
darcs-hash:20081211233515-84dde-184e46fdee817baa3df8e066ca49d759f3b1a899.gz
2008-12-11 18:35:15 -05:00
Evan Prodromou 724a11c250 take out c&p code from newnotice, use noticelist classes instead
darcs-hash:20081211232000-5ed1f-5ed2008f6c8273b7fa653396bff090afb10b030e.gz
2008-12-11 18:20:00 -05:00
Evan Prodromou 8dcce13297 make a new NoticeList widget and call it from StreamAction
I made a new notice-list widget (like the profile list) and call it
from StreamAction. This cleans up some of the mess in the various
notice-stream-showing classes.

I also changed show-stream so it uses a subclass of NoticeList that
doesn't show author info (which is unnecessary).

darcs-hash:20081211231252-5ed1f-ee6e551ed5a029406748120f12e2ff57c4a86493.gz
2008-12-11 18:12:52 -05:00
Sarven Capadisli d3f0a9eeee Setting nudge XHR response to utf-8 and indenting
darcs-hash:20081211212046-efd22-5face1c2bfaf0dd43dc7ffcc4eec639fdb4b5fe5.gz
2008-12-11 16:20:46 -05:00
Sarven Capadisli 8dd513a8e4 Standardising XHR responses to utf-8 and indenting
darcs-hash:20081211211814-efd22-a41a2b123fcd08945370e868431dc1b2feda4dfe.gz
2008-12-11 16:18:14 -05:00
Zach Copley 64c57b7c77 Fix bad arguments that were throwing PHP warnings
darcs-hash:20081211203659-7b5ce-43cfb2067c296374779a532410f186c42e8d2f99.gz
2008-12-11 15:36:59 -05:00
Zach Copley 466e8d1ed1 Array needs initializing before it's returned. How did this code ever work?
darcs-hash:20081211022557-7b5ce-8040947f258db638bd68fe2620381b3c078a4c31.gz
2008-12-10 21:25:57 -05:00
Evan Prodromou 06f99d4b55 add User-Agent to OMB requests
darcs-hash:20081211185525-5ed1f-ea300a9f824163ea7989baae4e4b439e58fd0881.gz
2008-12-11 13:55:25 -05:00
Evan Prodromou 897aa87c8a better output in subscribe
darcs-hash:20081211183756-5ed1f-d4c430397d6356ede7873d3790a61fd822a96e60.gz
2008-12-11 13:37:56 -05:00
Evan Prodromou 3210cd69cc set jabber and sms flags on subscriptions
darcs-hash:20081210024416-5ed1f-ec3b22136883f66c49473a10e09c06b6b9573a22.gz
2008-12-09 21:44:16 -05:00
csarven 33196c24f4 Jcrop v2 (POST cropping to be completed)
darcs-hash:20081210021607-eefa4-c3590f3e734255faf098bf5ca09fc17901a6db70.gz
2008-12-09 21:16:07 -05:00
Zach Copley e0fbf02bbf trac750 configurable sync flags for Facebook app (noticesync, replysync)
darcs-hash:20090105040212-7b5ce-37f6195649dc673241e4566a93183b13e428d98f.gz
2009-01-04 23:02:12 -05:00
Zach Copley fd6f9b9d76 trac750 Automatically update linked Facebook users' statuses
darcs-hash:20090105010407-7b5ce-559da13720b18e3c570e730326f5e5ef2b2dc1ab.gz
2009-01-04 20:04:07 -05:00
Evan Prodromou d57c06b417 wrapper element for config.xml
darcs-hash:20081230212202-84dde-d6439ad7061a56c9de0168ced3d95436ca20cb59.gz
2008-12-30 16:22:02 -05:00
Evan Prodromou 76d91a358b better serialization of arrays and booleans in config output
darcs-hash:20081230211957-84dde-ea044934e16bb8ef89e762159ecea1fa008b65b9.gz
2008-12-30 16:19:57 -05:00
Evan Prodromou 91a41242ef implement the api/laconica/config method
darcs-hash:20081230211444-84dde-d36ece807afedfa6f918923ba9074f774cbcb5ec.gz
2008-12-30 16:14:44 -05:00
Evan Prodromou 481c6d2316 add some breaks so that switch statement works
darcs-hash:20081230210114-84dde-4fbf5b718841ae1c46129a6b58d6b4e239d8be09.gz
2008-12-30 16:01:14 -05:00
Evan Prodromou a3f601cd4e implement api/laconica/version method
darcs-hash:20081230205939-84dde-4b6096859c6b44169dd3d809442fab15337061b2.gz
2008-12-30 15:59:39 -05:00
Evan Prodromou 2047c68d71 add laconica methods to unauthed ones
darcs-hash:20081230203747-84dde-dbdb783c8883097af0f69b4c06c2425c54964773.gz
2008-12-30 15:37:47 -05:00
Evan Prodromou 9da3091b2e Laconica-specific extensions for Twitter API
darcs-hash:20081230202019-84dde-0aab26044f990fc1039c669cd36860b5389fab64.gz
2008-12-30 15:20:19 -05:00
Evan Prodromou a53860f6cf whitespace changes in actions/register.php after global search-and-replace
darcs-hash:20081223195722-84dde-7416c826728867e431511266ce18699d129a60ed.gz
2008-12-23 14:57:22 -05:00
Evan Prodromou b264c03d32 move opening brace of class declaration to next line
Another gigantor PEAR coding standards patch. Here, I've moved the
opening curly bracket on a class statement to the following line.

darcs-hash:20081223194923-84dde-77a93de314caadbcb5b70bf346a4648be77a864e.gz
2008-12-23 14:49:23 -05:00
Evan Prodromou 7ad2f2a371 TRUE
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-23 14:44:28 -05:00
Evan Prodromou 04ef1ba8ee change function headers to K&R style
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-23 14:33:23 -05:00
Evan Prodromou eb2f9c98ac replace NULL with null
Another global search-and-replace update. Here, I've replaced the PHP
keyword 'NULL' with its lowercase version. This is another PEAR code
standards change.

darcs-hash:20081223192129-84dde-4a0182e0ec16a01ad88745ad3e08f7cb501aee0b.gz
2008-12-23 14:21:29 -05:00
Evan Prodromou edbc0c665c replace all tabs with four spaces
The PEAR coding standards decree: no tabs, but indent by four spaces.
I've done a global search-and-replace on all tabs, replacing them by
four spaces. This is a huge change, but it will go a long way to
getting us towards phpcs-compliance. And that means better code
readability, and that means more participation.

darcs-hash:20081223191907-84dde-21e8efe210e6d5d54e935a22d0cee5c7bbfc007d.gz
2008-12-23 14:19:07 -05:00
Evan Prodromou 20af192796 bring lib/noticelist.php into line with PEAR code standards
darcs-hash:20081223190851-84dde-ecad63595159aca2ae014325c9af29a9ace21c3d.gz
2008-12-23 14:08:51 -05:00
Evan Prodromou 2d0aec255f bring messaging section (inbox, outbox, mailbox) into PEAR Code Standards compliance
Actually refactored the method names on these classes to come into
complete compliance with the code standards. Untested; maybe there are
some bad method names now.

darcs-hash:20081222201304-84dde-3effcce0f9ef25fbe0bfebd505037d9ff37252fa.gz
2008-12-22 15:13:04 -05:00
Evan Prodromou b9fdc2c419 resolve conflicts
darcs-hash:20081210014619-5ed1f-b78d0990f80f7fee6f31424bc1e366d08767af9d.gz
2008-12-09 20:46:19 -05:00
Zach Copley 407ce3bd8f New AjaxWebChannel for returning ajaxy responses to notice input box commands
darcs-hash:20081209210654-7b5ce-2ef432aa8cb7bf5cc1a973a71eb70e6b2aae4ab6.gz
2008-12-09 16:06:54 -05:00
Zach Copley 792cb7a535 fix registration bug - fatal error when sending email confirmation
darcs-hash:20081209082750-7b5ce-6d06a7b1cda2a9afb6ce8ea64d65df81cc063139.gz
2008-12-09 03:27:50 -05:00
Zach Copley 1a8869424b trac750 Use Facebook dialogs for success and error messages during initial setup / login
darcs-hash:20081208015412-7b5ce-c899a3b743621f7d003b93f383b78a2c8ba9fb52.gz
2008-12-07 20:54:12 -05:00
Zach Copley ff766572e7 trac750 Remove foreign link when Facebook user removes our app
darcs-hash:20081208005522-7b5ce-84325ed13fd5e59ac07640089806a507c7168170.gz
2008-12-07 19:55:22 -05:00
Zach Copley bdb27cfce8 trac750 - linked in CSS file and added CSS for profile box
- added button for adding a box to the profile on settings

darcs-hash:20081207235925-7b5ce-224fd2482f66c2c9ac9da9ce72c1c0da0243bd83.gz
2008-12-07 18:59:25 -05:00
Zach Copley dccf8374cf trac750 - Exoskeleton of a nascent Facebook app
darcs-hash:20081206030132-7b5ce-96c38ab67edd3d58f8722ef25852a6143f05a86b.gz
2008-12-05 22:01:32 -05:00
Zach Copley 92ea88fd60 trac540 - Add 'since' param to Twitter-compatible API calls
darcs-hash:20081209055345-7b5ce-e48fd4c87963b8ae15859fd03d2f1f86a16f3a2b.gz
2008-12-09 00:53:45 -05:00
Evan Prodromou ed70d73c1b pass returnto info from subscribers to block form
darcs-hash:20081208201453-5ed1f-fe423d57a54d482b95c0dc22ab46e6e0a5ea060a.gz
2008-12-08 15:14:53 -05:00
Evan Prodromou fa81041ec7 correctly init the document type for block API actions
darcs-hash:20081208193939-5ed1f-3275ec50dd2dbb23689710f9e52a071bcba94cc9.gz
2008-12-08 14:39:39 -05:00
Evan Prodromou ef3d487ae0 enable block API
darcs-hash:20081208185728-5ed1f-8d5f6be6decfbb50deb4ca50bee13404d0c51b72.gz
2008-12-08 13:57:28 -05:00
Evan Prodromou cd5eec767a add an unblock form
darcs-hash:20081208173722-5ed1f-fcdcb49e4958854ce9872beecee409737cacecb5.gz
2008-12-08 12:37:22 -05:00
Evan Prodromou ef0b45c0f1 error in figuring out actions to return to
darcs-hash:20081208172812-5ed1f-58ce42160f0ea5330de578c310897906d0012c5c.gz
2008-12-08 12:28:12 -05:00
Evan Prodromou 17fd7b1850 add returnto information to the block form
darcs-hash:20081208170931-5ed1f-e7c5853e6a222b04723f20c01ebaae15eeab3687.gz
2008-12-08 12:09:31 -05:00
Evan Prodromou 2ced62bd7e change element_start to element for instructions
darcs-hash:20081208072629-5ed1f-90935f7a2a3d99a4c21b6390eb3fc941117c2580.gz
2008-12-08 02:26:29 -05:00
Evan Prodromou 96128353d0 return true from block action
darcs-hash:20081208071720-5ed1f-82ff38a26edc9254883bd22e055b7a883b07081c.gz
2008-12-08 02:17:20 -05:00
Evan Prodromou ad3fcbce43 add header and footer
darcs-hash:20081208063056-5ed1f-ff1fdbc345395661c19699c6c76cc1d1f6ea8d25.gz
2008-12-08 01:30:56 -05:00
Evan Prodromou 3e496c19f9 fixup handle function in block action
darcs-hash:20081208062841-5ed1f-be70623070712b4877c8d2fd8aaadba33ebd2180.gz
2008-12-08 01:28:41 -05:00
Evan Prodromou 9b4df5056f add block form to subscribers list and profile page
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-08 00:55:11 -05:00
Evan Prodromou 5477532ea3 don't allow remote subscribes from blocked profiles
darcs-hash:20081208031532-5ed1f-6094c6425b73e45589de282fa482b912fb686fae.gz
2008-12-07 22:15:32 -05:00
Evan Prodromou fd6df5402e pass profile id for subscriptions rather than user name
darcs-hash:20081208031312-5ed1f-b570b86b28e8eda763c51be1ae091034f76bd984.gz
2008-12-07 22:13:12 -05:00
Evan Prodromou 6e856cf7ee remove favoritedrss
I've removed the favoritedrss action, and removed the links from the
favorited page.

Most-favorited is not a good candidate for an RSS format. RSS works
well for series that work sequentially -- new things always come in at
the top.

This just isn't the case with "most favorited". The favorited notices
list on Identi.ca is sorted by how many times a message is favorited.

What happens if a notice used to be on that list, then falls off
because other messages get more faves, then gets back on because it
gets faved again? Or if a notice moves "up" on the list?

darcs-hash:20081207165900-84dde-23afe73c9c61cfb259ec5dc0cac5030643b31f2c.gz
2008-12-07 11:59:00 -05:00
csarven 33a054ccc0 trac855 trac856 and Feed list for the Favorited page
darcs-hash:20081205221402-eefa4-9c765fe3c7a6e0cf9cdee1749ed2bebb24d3deaf.gz
2008-12-05 17:14:02 -05:00
millette 6eb5060621 done delete own profile (see other settings)
darcs-hash:20081204180233-099f7-7728ee57876b789278aa1cc35f54e0a422593e5d.gz
2008-12-04 13:02:33 -05:00
millette 2c7518873e moving delete profile to its own space.
darcs-hash:20081203192658-099f7-37d26abf7409ab2996a22de4aa71cb7a5f68d205.gz
2008-12-03 14:26:58 -05:00
millette 51dda41211 delete user and all traces from the db.
darcs-hash:20081203164942-099f7-ea511948139c9c18b1c8b7de018aa4f0ee5ff624.gz
2008-12-03 11:49:42 -05:00
csarven 2670324ca8 Using abbr.published @title and ISO8601
darcs-hash:20081203220637-eefa4-5a9db2b3b178c6a7e4edb43b72c392215ed3e004.gz
2008-12-03 17:06:37 -05:00
Evan Prodromou 64411ff957 prepare the action obj for API
darcs-hash:20081203210358-5ed1f-3ff0de9c00c72de6bde703b150b24597ff8fadf4.gz
2008-12-03 16:03:58 -05:00
Evan Prodromou 6c9031cc7b don't allow new users if the site is closed or invite only in OpenID
darcs-hash:20081203185022-5ed1f-a618527f069301c34b3fd6a75ae5676f45e64d39.gz
2008-12-03 13:50:22 -05:00
Evan Prodromou 8c10b0ac4d fine-tuning the privacy flag
darcs-hash:20081203183432-5ed1f-7626661b797f64594f990ee06d9e13b73b265b49.gz
2008-12-03 13:34:32 -05:00
Evan Prodromou acb00a903e unsubscribe from a remote profile
darcs-hash:20081203180945-5ed1f-747b3c0e00ced81c02953e1095a9b866a7876c43.gz
2008-12-03 13:09:45 -05:00
Evan Prodromou 63500f10f8 permanent redirect on non-canonical nickname
darcs-hash:20081203174646-5ed1f-8f9f050a7e8c217872c283f299d790252c205920.gz
2008-12-03 12:46:46 -05:00
Evan Prodromou b7385b2306 parent::init() -> parent::prepare()
darcs-hash:20081203173423-5ed1f-95de0f98aba4be527cd59d7297bc4f7b712713bd.gz
2008-12-03 12:34:23 -05:00
Evan Prodromou 96df5916ad change Action::init() to Action::prepare() to avoid conflict with RSS10Action::init()
darcs-hash:20081203173225-5ed1f-e5ebfb202ed4a84c90851d0faa025ad09774d2c3.gz
2008-12-03 12:32:25 -05:00
Evan Prodromou 4b586436c8 better microformats from @singpolyma
darcs-hash:20081203035947-84dde-68ce5b3ba2b49bd76e9ef8572cea7857cd05a659.gz
2008-12-02 22:59:47 -05:00
Evan Prodromou e0995d2fb7 add attributes for shownotice
darcs-hash:20081202050200-5ed1f-1ba5a3573e2276eac22a018ce26cc76b1ed7275f.gz
2008-12-02 00:02:00 -05:00
Evan Prodromou 0498aa94ec end ETag with quotes
darcs-hash:20081202045544-5ed1f-ac8df1a1c8ae9b2cd72e952144a8c2cb001868c4.gz
2008-12-01 23:55:44 -05:00
Evan Prodromou 28751ef554 notices have a create stamp not a modified stamp
darcs-hash:20081202045320-5ed1f-583091191425d10b695107ddc2e1a5e72b60130d.gz
2008-12-01 23:53:20 -05:00
Evan Prodromou c3f2d195f9 generate an etag for shownotice
darcs-hash:20081202045021-5ed1f-ca0f14051507602bab8898e1e99d9cdb69f2eadc.gz
2008-12-01 23:50:21 -05:00
Evan Prodromou 99db5f5e1c trim whitespace
darcs-hash:20081202041243-5ed1f-7f30aeaa43160bddacc7d5300627964417aff3ec.gz
2008-12-01 23:12:43 -05:00
millette ce08833303 shorten urls for posts > 140 chars only, from anywhere. Only show long urls in title attributes for links we shortened ourselves.
darcs-hash:20081128210114-099f7-4e4cde0a983c2ac6d41efb59b46cb7dbf45dc7a6.gz
2008-11-28 16:01:14 -05:00
millette 4fca9960cd only expand URLs we shortened ourselves + only shorten if notice > 140 chars
darcs-hash:20081128200004-099f7-085c833e3e34b2a13b5b3ec3b1316e7948ff196f.gz
2008-11-28 15:00:04 -05:00
millette aa29ebf9f4 a step closer to deleting a user and hosts posts from the db
darcs-hash:20081124005054-099f7-a7b20c1e15900e1c696a33902a6612b8be2387fa.gz
2008-11-23 19:50:54 -05:00
millette daf14886b3 trac155 first step to delete account
darcs-hash:20081123215059-099f7-a0a969229b20fc01ca54f15b166333b3e5a32137.gz
2008-11-23 16:50:59 -05:00
millette 50450dab83 fix text describe shortening service usage.
darcs-hash:20081125010516-099f7-626c76d9f09efee56a713518a32b0f8e89670dd1.gz
2008-11-24 20:05:16 -05:00
Zach Copley a5d0b0ff81 Twitter bridge: update to handle Twitter API changes to verify_credentials method
darcs-hash:20081211100106-7b5ce-c8dfd1f3ded2b9f1258d11457a1c2669a4858185.gz
2008-12-11 05:01:06 -05:00
Zach Copley 6d464ec91b Remove a bunch of extraneous logging statements
darcs-hash:20081211024233-7b5ce-e4911c049adf067f24821f868a27bdf67c324caf.gz
2008-12-10 21:42:33 -05:00
millette 9553072e49 api posts cannot use one of the reserved sources: web, omb, mail or xmpp.
darcs-hash:20081210173726-099f7-5fc908c7330ec8b21d101c1498d5b78ab09ee490.gz
2008-12-10 12:37:26 -05:00
Evan Prodromou 3909544f9e slightly better rememberme logic in finishopenidlogin
darcs-hash:20081209180330-84dde-ba48eed8a9a557bac90d3869d60b24a4b9683e61.gz
2008-12-09 13:03:30 -05:00
Evan Prodromou 8b3080faf4 whitespace fixup in userauthorization
darcs-hash:20081203032650-5ed1f-1f9affd557cf958cdfe7ed224433199b22e1c56a.gz
2008-12-02 22:26:50 -05:00
Evan Prodromou 58beea9798 check for license compatibility
darcs-hash:20081203032632-5ed1f-2213efd018913e3253082dbe83d7b906c4f0ff76.gz
2008-12-02 22:26:32 -05:00
Evan Prodromou f84dbce164 better instructions
darcs-hash:20081202194816-5ed1f-93a18c7b978950a770b833e7dea9e1fd5bb71de8.gz
2008-12-02 14:48:16 -05:00
Evan Prodromou 6a96639b24 better registration instructions
darcs-hash:20081202194633-5ed1f-ebf0c5f54f4080dc70489d58777ad66d4f1b9bc8.gz
2008-12-02 14:46:33 -05:00
Evan Prodromou e7853982b1 cleanup whitespace in public.php
darcs-hash:20081202194043-5ed1f-35ee3a57c08febe282082d829063489b51a8fb96.gz
2008-12-02 14:40:43 -05:00
Evan Prodromou a8551093e2 better formatting for home page
darcs-hash:20081202194027-5ed1f-5ebbc762496b6f6675a98271acbdd1851439471b.gz
2008-12-02 14:40:27 -05:00
Evan Prodromou 4c26cb1a81 add instructions to the public page for people who aren't logged in
darcs-hash:20081202193857-5ed1f-1705c3f615b96790dcae30ec240c25721ea443cc.gz
2008-12-02 14:38:57 -05:00
Evan Prodromou de9ea671fc whitespace in actions/register
darcs-hash:20081202185444-5ed1f-a84761dfb4ffb40d6e90c79d92dcd4b029745300.gz
2008-12-02 13:54:44 -05:00
Evan Prodromou c3b884e707 check for blank email when rejecting a dupe
darcs-hash:20081202185343-5ed1f-99c314aac9e59ddbddd59ee403d4111c3639aa98.gz
2008-12-02 13:53:43 -05:00
Evan Prodromou a6a0cf08a2 don't show self-subscriptions in FOAF
darcs-hash:20081130213755-5ed1f-bfece58a97ae85f959eb27a38d9bbb622e178793.gz
2008-11-30 16:37:55 -05:00
Evan Prodromou fb312a9de9 fix problems with blank tag strings (!)
darcs-hash:20081125000556-5ed1f-d19f3a1e723695122a8e75fb881846bcbc48ebda.gz
2008-11-24 19:05:56 -05:00
Evan Prodromou a9d628c2b3 better output for microsummary
darcs-hash:20081124223848-5ed1f-754db592b88dfc577370c77415ae1c96e09a188a.gz
2008-11-24 17:38:48 -05:00
Evan Prodromou eea7e46e41 microsummary doesn't need stream stuff
darcs-hash:20081124223733-5ed1f-48a17c80c49f5d35b1f45b113b863913cdd703ae.gz
2008-11-24 17:37:33 -05:00
Evan Prodromou a1da43417e support microsummaries
darcs-hash:20081124223533-5ed1f-1ae78e694043cef14d528dcd4201301eec8ad61b.gz
2008-11-24 17:35:33 -05:00
Evan Prodromou 138b1b2767 whitespace and fixup problem with blank string
darcs-hash:20081124150638-5ed1f-994af62567660c7f09985bf449a344df104548eb.gz
2008-11-24 10:06:38 -05:00
Zach Copley 8d8bc706d8 Allow the toggling of XMLWriter's indenting on and off
IE needs and unindented XML response in for ajax calls.

darcs-hash:20081123211348-7b5ce-426c07ee1d1884c691b659e8a9b359bb95afc61e.gz
2008-11-23 16:13:48 -05:00
Zach Copley 63a1b9151a Send raw UTF-8 chars instead of escaped entities in newnotice.php's ajax response
darcs-hash:20081123193727-7b5ce-0771232a9771e1325f937ccc87e6ba319dd97590.gz
2008-11-23 14:37:27 -05:00
Zach Copley 7cb0609e72 Set encoding for xml response in newnotice.php to UTF-8
darcs-hash:20081123183613-7b5ce-9c6bd2b2efb679bce9f710f5f5ad9c48bf652e29.gz
2008-11-23 13:36:13 -05:00
Zach Copley fbfbe7fbc7 Don't display avatars when posting to personal streams via ajax
darcs-hash:20081123022902-7b5ce-fbdd4e9a3df3e206caec0ca37c10a2e0a58cef85.gz
2008-11-22 21:29:02 -05:00
csarven 04a4e883f0 PostNotice AJAX working in all browsers except IE
darcs-hash:20081123015559-eefa4-5ce05e6e79236c6d5ebc87f0aa3ec4de51bae130.gz
2008-11-22 20:55:59 -05:00
Evan Prodromou cc10e1505f merge save and ajax save
darcs-hash:20081123014003-84dde-ea8f5d167a544617efb22bb0c553f18d718a65c6.gz
2008-11-22 20:40:03 -05:00
Zach Copley b2285dcb56 EXPERIMENTAL PATCH #3 - ajax response for newnotice.php
darcs-hash:20081122043145-7b5ce-0fc4b2ed06e29437c54e3c2f1a64b6d0fbeb9058.gz
2008-11-21 23:31:45 -05:00
millette 095ff0feed conflict resolution on people search
darcs-hash:20081123190555-099f7-cd09b07e99355e2f61562324221840f869fea5bb.gz
2008-11-23 14:05:55 -05:00
millette 6b29f6ed70 sphinx integration for notices and profiles
darcs-hash:20081123185136-099f7-ca600dbdfff09762802e1cc58cf8777c45a24402.gz
2008-11-23 13:51:36 -05:00
millette bf72cde96f sphinx search for notices
darcs-hash:20081120215041-099f7-db396a60755d551099122b58634b7550d5606d88.gz
2008-11-20 16:50:41 -05:00
csarven ca8f45fc6e Tag markup and styling for tag_self, tag_user, form#tag_user
darcs-hash:20081121023827-eefa4-ed91f63cac35c078dc385546a69209cbef2a0d5e.gz
2008-11-20 21:38:27 -05:00
Zach Copley dac0314e0a Public 'Featured' tab now shows profiles instead of notices!
darcs-hash:20081121005338-7b5ce-1e2b30a5f7de6900cdc865246c1ed65d0dfe29f6.gz
2008-11-20 19:53:38 -05:00
csarven 7b099a4c6b Don't allow user to send a new message or nudge right after subscribing to another contact
darcs-hash:20081120235752-eefa4-42e67140086035ae57c4db38aea48cabb0486d75.gz
2008-11-20 18:57:52 -05:00
Evan Prodromou b2fcbba665 missed $tags in setTags
darcs-hash:20081121003655-84dde-56051867f44c63546a972dd55d364e3dc43f799c.gz
2008-11-20 19:36:55 -05:00
Evan Prodromou 9325fec4f0 a little better presentation for tag-other
darcs-hash:20081121003608-84dde-1bae74a9d4635423965c8f18a7555c2b0eab982e.gz
2008-11-20 19:36:08 -05:00
Evan Prodromou 909b0d9311 fix some stuff with tagother link
darcs-hash:20081121003338-84dde-45745ca353eb5a68627335115d2993fd15a38498.gz
2008-11-20 19:33:38 -05:00
Evan Prodromou 6dac9870bb tag other users
darcs-hash:20081121002038-84dde-2d9800f8c0ad3d22d13ca7b497f2914c9d9719fd.gz
2008-11-20 19:20:38 -05:00
csarven 171bedf24b (Un)Subscribe form using ajaxForm()
darcs-hash:20081120232655-eefa4-cf6a71e246828793d3bfa413db724ab33bc58bcf.gz
2008-11-20 18:26:55 -05:00
Zach Copley 41f29ab662 Public tabs - added instructions for 'Featured' and 'Favorited'; removed notice input boxes
darcs-hash:20081120214557-7b5ce-df1993ee7a761d109e9346d9817ead147d015962.gz
2008-11-20 16:45:57 -05:00
Zach Copley f3b5b5de8a Only show 'Recent tags' tab for tag cloud, not for tag streams
darcs-hash:20081120212142-7b5ce-9b0325c43a423de108b221325446969dc240d916.gz
2008-11-20 16:21:42 -05:00