Commit Graph

762 Commits

Author SHA1 Message Date
Evan Prodromou
613b75e7b7 add a little debugging for replyto
darcs-hash:20081020171033-5ed1f-00bdf131a25c86ae1d400a238eee070cb19ebec9.gz
2008-10-20 13:10:33 -04:00
Evan Prodromou
f2e3021b59 try to make replies point to the clicked-on notice
darcs-hash:20081020170245-5ed1f-b84f63d9d9b589bd18f97924db547e348beb6647.gz
2008-10-20 13:02:45 -04:00
zach
b2f0ad1ccc Twitter-compatible API:
- Filled in favorites tags in statuses
  - Filled in more tags in user/show, including undocumented features
  - Better error handling and more consistent error messages
  - Code clean-up and refactoring
  - Removed huge obnoxious comments

darcs-hash:20081017023638-462f3-27b5d2709e423c616723d4bcfbc9d7d30a4ad161.gz
2008-10-16 22:36:38 -04:00
zach
9b75a8ea9f Twitter-compatible API - added favorites/favorites to list of methods only requiring bare auth
darcs-hash:20081015163112-462f3-ca22e3fcf4a5d3ad4613dd08c4bf7ce59e296385.gz
2008-10-15 12:31:12 -04:00
zach
738d50a631 Added OnCommand and OffCommand to the list of cmds the Twitter API
supports thru statuses/update

darcs-hash:20081005183850-462f3-1fcbf873c14f1048ba7c3ac23f6cd394066170c7.gz
2008-10-05 14:38:50 -04:00
zach
2c2821799d Twitter-compatible API - hooked in command interpreter
darcs-hash:20081005030915-462f3-0c0541f062020ee958f1df0361e27f44d6c35e95.gz
2008-10-04 23:09:15 -04:00
zach
6beddfdbb9 Twitter-compatible API - cleaned up sloppy control flow: exit() statements everywhere
darcs-hash:20081001025421-462f3-3bf666327de3a3c5ea506b2c387741dc3d0e82bf.gz
2008-09-30 22:54:21 -04:00
zach
dec2f29c6a Twitter-compatible API - Added content-type checks to several methods. Calling an API
method with a bad content type used to return a blank page.

darcs-hash:20081001020959-462f3-83b0241ba7dc99c4e3a52148a46deb8182e005b0.gz
2008-09-30 22:09:59 -04:00
mac65
c08a67094c Add support for since_id and before_id to Twitter API. Ticket #540.
darcs-hash:20081001001233-e558a-3fcc269985050021ec9b44c052206c731cc4689d.gz
2008-09-30 20:12:33 -04:00
zach
1c4f7722da Twitter-compatible API - factored out redundant JSON printing functions
darcs-hash:20080930212526-462f3-abe9f1f2fc395c751b2861e686d638ea0a8ca001.gz
2008-09-30 17:25:26 -04:00
zach
37b3bd5489 Twitter-compatible API - Favorites now working!
darcs-hash:20080930194435-462f3-a0a7fec3f0d05dc3b1fe8a9219155f4d59092e43.gz
2008-09-30 15:44:35 -04:00
Zach Copley
924491f08a Twitter-compatible API: Direct messages work (everything but destroy())
darcs-hash:20080929050826-7b5ce-201624b32e174ae85b906b92353e39aa043838fa.gz
2008-09-29 01:08:26 -04:00
Zach Copley
10f4ee7abb Twitter-compatible API - rss and atom feeds for direct messages
darcs-hash:20080926012015-7b5ce-da94465ff9c027183e0e674b6152902c302d0131.gz
2008-09-25 21:20:15 -04:00
Zach Copley
d687f16525 Twitter-API: Viewing direct msgs in xml and json now work
darcs-hash:20080924234857-7b5ce-2f0c60901ee582bdd76ae9596253c2efcc6dc50d.gz
2008-09-24 19:48:57 -04:00
Evan Prodromou
bdeba50c34 text -> content in newnotice
darcs-hash:20081004170136-5ed1f-4eca2ee2c7ebb7f2d3c6b49ecd634a8ceee28054.gz
2008-10-04 13:01:36 -04:00
Evan Prodromou
f072147e4e add channels and use command interpreter in different channels
darcs-hash:20081004163213-5ed1f-684ecb464e843b1bbe456c348e56b40a39a83ecd.gz
2008-10-04 12:32:13 -04:00
Evan Prodromou
fa2d50f481 move fave notification to mail library
darcs-hash:20081004154454-5ed1f-6b5b66945d415690f4cac5e66c1edad71ec031a5.gz
2008-10-04 11:44:54 -04:00
Evan Prodromou
a43d24b1b8 better instructions in the password recovery page
darcs-hash:20081004232554-5ed1f-06b3464638a6dbd6d4090afafa600578ad151b39.gz
2008-10-04 19:25:54 -04:00
support
3bd710d153 Fix replies tab pagination issue
Problem:
Before / After links in replies tab don't work. When clicked they show "No such user" error.
How to reproduce:
1. Access http://identi.ca/evan/replies
2. Click on Before button

darcs-hash:20081001010741-352e0-4cbf4afc0f12aa850c1cc7145324477157f24d98.gz
2008-09-30 21:07:41 -04:00
CiaranG
411db90e25 Fix problem with tags in different locales (Ticket #679)
darcs-hash:20080924092031-f6e2c-8def504406ee1a13273bb67faafe3a3327ae4a44.gz
2008-09-24 05:20:31 -04:00
Evan Prodromou
ce1002c7be use two-arg constructor for confirmation code
darcs-hash:20080930130530-5ed1f-48d4d4a503a6bb37c91d828139d652a272b9734a.gz
2008-09-30 09:05:30 -04:00
Evan Prodromou
15a089f46e log a warning on recovery of old recovery codes
darcs-hash:20080930124452-5ed1f-31cc4ff18994880f9ab36b57cdfc6d9fb19b99d1.gz
2008-09-30 08:44:52 -04:00
Evan Prodromou
d1660b3c4d trying to fix up pages in tags
darcs-hash:20080929230047-5ed1f-1fee58a5bb18c71de7abeef67d89b087d84cc853.gz
2008-09-29 19:00:47 -04:00
Evan Prodromou
ddf2dce601 fixup tag display code
darcs-hash:20080928181503-5ed1f-4a4046000646530b8462f06d0cfc0d2fe862dc48.gz
2008-09-28 14:15:03 -04:00
Evan Prodromou
fc7f32e35d pass tag parameter along to stream query
darcs-hash:20080928181255-5ed1f-fd49afc180bda9ae7875ad7b70a337e4cd5771d2.gz
2008-09-28 14:12:55 -04:00
Evan Prodromou
8d53a7d463 cache tag streams in Memcached, too
darcs-hash:20080928180904-5ed1f-ebf95f6f04ee4128a1ab2bb9a6a06a946926665d.gz
2008-09-28 14:09:04 -04:00
Evan Prodromou
b204650242 add favoritesrss
darcs-hash:20080928180132-5ed1f-6e8ab82b22e71ad59b83579f17b9c3d01fcc29e2.gz
2008-09-28 14:01:32 -04:00
Evan Prodromou
dc5f47ab4a remove unneeded find() in userrss.php
darcs-hash:20080928175156-5ed1f-f33007b9dd9ee73632e48fc4bf45f29fb63ae494.gz
2008-09-28 13:51:56 -04:00
Evan Prodromou
d3d5942ae3 change arguments to Notice::publicStream
darcs-hash:20080928132747-5ed1f-9e9b6d8b91f855758ca4b269418f6d5d6e4a2ae0.gz
2008-09-28 09:27:47 -04:00
Evan Prodromou
3544fca932 shownotices takes user rather than profile in showstream
darcs-hash:20080928120616-5ed1f-fc0b136afff897a2d69f88dd83b6fc5df4f675b6.gz
2008-09-28 08:06:16 -04:00
Evan Prodromou
02a3f24b92 single function for important streams, with memcached support
I moved the 4 streams for a user (with friends, faves, replies,
personal) into functions on the User object. Added a helper function
in Notice for making notice streams. Also, will fetch notice streams
out of the memcached server, if possible. Made the API, RSS, and HTML
output all use the same streams (hopefully cached).

Added some code to Notice to blow the cache when a notice is posted.
Also, added code to favor and disfavor actions to blow the faves
cache, too.

darcs-hash:20080928120119-5ed1f-ead542348bcd3cf315be6f42934353154402eb16.gz
2008-09-28 08:01:19 -04:00
Evan Prodromou
7ff02bb7d4 try to clean up user-without-profile errors
darcs-hash:20080926145008-5ed1f-8a60ed3c5adbfe75aa044732e8d10dbdb9b93089.gz
2008-09-26 10:50:08 -04:00
Evan Prodromou
cb265a2d8d better redirect to outbox
darcs-hash:20080924210757-5ed1f-beca326b5c38b086f5ab195b7478c944881ca469.gz
2008-09-24 17:07:57 -04:00
Evan Prodromou
362a854cb1 redirect to outbox after posting
darcs-hash:20080924210459-5ed1f-8fb83a73373b4077a47a7f78b26161adcbe1f977.gz
2008-09-24 17:04:59 -04:00
Evan Prodromou
fc7663e86a put message form on inbox and outbox
darcs-hash:20080924204131-5ed1f-099c73720b3a4f2263ca28566fcd6b4c809fd4ab.gz
2008-09-24 16:41:31 -04:00
Evan Prodromou
ffeeec392e change handle() to use message-getting helper
darcs-hash:20080924202211-5ed1f-a39e520b113a843bee6dd9e2e56c1a7afb2bb896.gz
2008-09-24 16:22:11 -04:00
Evan Prodromou
f112b4e1fd default sending local @ replies to Twitter
darcs-hash:20080924161708-5ed1f-c215f149abc11b07c34fda59c90a26d8b7603d38.gz
2008-09-24 12:17:08 -04:00
mac65
b0b1d201d7 Fix ticket 460
The show action for the twitter user API was using subscribed instead of
subscriber to grab the friends_count.

darcs-hash:20080922223429-e558a-4b456954f475c022be288e85a186ffa8794fad03.gz
2008-09-22 18:34:29 -04:00
mac65
3017ad3f01 Fix ticket 662
The user_timeline action for the Twitter API was not reading the page
argument. Added in one line to assign the page argument. Tested on local
install and it worked.

darcs-hash:20080922213314-e558a-1e429af6660de21990236b2bb444f2b6f36e08df.gz
2008-09-22 17:33:14 -04:00
Evan Prodromou
392137b403 change foreign links flags code to use bitmasks
Zach was doing a lot of integer comparisons on the Foreign_link sync
fields. I switched them to use named bitmasks instead. I also switched
the semantics of bit 3 to be the opposite of what Zach had -- I find
lots of double-negatives in a checkbox to be hard to read.

darcs-hash:20080924150834-5ed1f-54cd945f61e43bc06768037c60c1e6180a8feead.gz
2008-09-24 11:08:34 -04:00
Zach Copley
845db5ec16 Twitter bridge - Was using the wrong idiom to update foreign_link
objs, which was causing UI inconsistencies. Fixed.

darcs-hash:20080924060455-7b5ce-71ac4bb3a80ca44e6ae758d2287d50c918d1d908.gz
2008-09-24 02:04:55 -04:00
Zach Copley
e8b6e394dc Twitter bridge - fixed another bug that kept prefs from saving properly
darcs-hash:20080924052431-7b5ce-589a3f5352f241c5c938ed855601d971e8d69fff.gz
2008-09-24 01:24:31 -04:00
Zach Copley
06859cc14e Twitter bridge - pref setting to turn off sending @-replies to Twitter
darcs-hash:20080924023615-7b5ce-c747e8236b3967824ed93f18285e1b6e0b46c3f0.gz
2008-09-23 22:36:15 -04:00
Evan Prodromou
60baacf80e better logic around protecting messages
darcs-hash:20080923182024-5ed1f-cd751ae81cde929ab377734a41e0cdad321ffec5.gz
2008-09-23 14:20:24 -04:00
Evan Prodromou
49a79590b0 rationalize Zach's change of length with my added _ and caps
darcs-hash:20080923174302-5ed1f-bf1e3339745eb497523912c2e58298b25ebe89d5.gz
2008-09-23 13:43:02 -04:00
Zach Copley
cbd8f39f24 Twitter bridge - Changed Twitter username length check from 64 chars to Twitter max of 15.
darcs-hash:20080923084145-7b5ce-25cfef64778010135234046be25294a3c7860419.gz
2008-09-23 04:41:45 -04:00
Evan Prodromou
394a37fc0a was notifying user name not object
darcs-hash:20080923080246-5ed1f-a14a101fe2c8cb436ba278dc1b1af9ca3a02f634.gz
2008-09-23 04:02:46 -04:00
Zach Copley
80cd381ab0 Twitter bridge - fix to allow linking to 'protected' Twitter users
darcs-hash:20080923074529-7b5ce-818fc75dd3a59ae2f1de1b73e1884dd8a826bd6e.gz
2008-09-23 03:45:29 -04:00
Evan Prodromou
64c27d57cf incorrect message info shown in title
darcs-hash:20080923063029-5ed1f-de15e9af49acb7e402127b45cd5b6c2814f559bb.gz
2008-09-23 02:30:29 -04:00
Evan Prodromou
b2b475d313 change twitter username to allow uppercase letters and underscores
darcs-hash:20080923060314-5ed1f-2ec4894251b99a2f9e9763ecc41659533bfab2eb.gz
2008-09-23 02:03:14 -04:00