Commit Graph

742 Commits

Author SHA1 Message Date
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
Evan Prodromou 858e55f5b4 change how Foreign_link fetches, and fix mixup between user-ids and foreign-ids in twittersettings
darcs-hash:20080923054413-5ed1f-a317e07925101215e87d2db0c574d20c1cfac665.gz
2008-09-23 01:44:13 -04:00
Evan Prodromou 44f7dc2a76 403 for a message that isn't yours.
darcs-hash:20080923050637-5ed1f-c568033b5c00ac32d9ad63b5a4d18a81c09ad525.gz
2008-09-23 01:06:37 -04:00
Evan Prodromou d2fb829296 CSRF protection in newmessage.php
darcs-hash:20080923031419-5ed1f-5435509496b882de27d4c3acca4697cc410ee7be.gz
2008-09-22 23:14:19 -04:00
Evan Prodromou 6e646570de Fix quotes in favorite notification
darcs-hash:20080922232328-5ed1f-846910a5f0bb379130055d035c3686e3e639912d.gz
2008-09-22 19:23:28 -04:00
Evan Prodromou c060a84c5b check for cur before message link
darcs-hash:20080922225620-5ed1f-0dd8e76bcb8850744040e234e04b3182a0e13add.gz
2008-09-22 18:56:20 -04:00
Evan Prodromou ac60342e89 merge CiaranG's changes for subs
darcs-hash:20080922225031-84dde-c6967f46ae642f8943b0de77d9a82892ecadb4ce.gz
2008-09-22 18:50:31 -04:00
Evan Prodromou d73ed53535 don't notify you favor your own notice
darcs-hash:20080918152823-5ed1f-bc7bea3305c39cfbc41f4a116b9a602ada556365.gz
2008-09-18 11:28:23 -04:00
Evan Prodromou bd828b9fc7 add favor/disfavor to profile
darcs-hash:20080918152612-5ed1f-5ce8b0a834ffa50e04d6b47d1cac4c4b94f28e9e.gz
2008-09-18 11:26:12 -04:00
Evan Prodromou 054b4d0be6 if favor/disfavor submitted through ajax, return micro-html of form
darcs-hash:20080918135608-5ed1f-d753cb01f96e04871eb4f503ccd258674a03623a.gz
2008-09-18 09:56:08 -04:00
Evan Prodromou 560cab3427 remove tabs from showmessage
darcs-hash:20080918025713-5ed1f-8bb2f106a567ef657a314f800da32efb7409ce2b.gz
2008-09-17 22:57:13 -04:00
Evan Prodromou ff5f0a15a6 more id -> message shenanigans
darcs-hash:20080918025543-5ed1f-c017a351fce611516b18d64724ee2d7977a0bd47.gz
2008-09-17 22:55:43 -04:00
Evan Prodromou d5b4dbbca3 fetch -> find
darcs-hash:20080918025232-5ed1f-825b72c981ee5e03391d5c84eca5dc4f9805227c.gz
2008-09-17 22:52:32 -04:00
Evan Prodromou 35bf8d7eaf return correct data structure for messages in showmessage
darcs-hash:20080918023032-5ed1f-e8789b391eb88a181bb6232a5e5f199b0ccb2098.gz
2008-09-17 22:30:32 -04:00
Evan Prodromou 8ef9d9d0cc no instructions for 'to' dropdown
darcs-hash:20080918022410-5ed1f-0c4f5ca478246d4d8e56a0b71419d179ea66ff2b.gz
2008-09-17 22:24:10 -04:00
Evan Prodromou 892132549e change id of message textarea
darcs-hash:20080918021926-5ed1f-93d05fdd25606664a619e027178d188a46cbde83.gz
2008-09-17 22:19:26 -04:00
Evan Prodromou edc11b1157 rearrange paragraphs in message form
darcs-hash:20080918021727-5ed1f-ad74f71450db27e587b04fe19dfbbaf51f4d0300.gz
2008-09-17 22:17:27 -04:00
Evan Prodromou 671282fcd5 some minor fixes for new messages
darcs-hash:20080917192121-5ed1f-15603b7f7d5246caed3e1633cc3361e1288d8653.gz
2008-09-17 15:21:21 -04:00
Evan Prodromou 823737891b fix titles in showmessage
darcs-hash:20080917190745-5ed1f-c9305b7ee5f4cd79524491e8e0d676cf42f6ebc1.gz
2008-09-17 15:07:45 -04:00
Evan Prodromou 24496bafd2 skip over Mailbox::handle to Action::handle
darcs-hash:20080917190445-5ed1f-4fdf97356c40eb076185eff790ce0d34b5117699.gz
2008-09-17 15:04:45 -04:00
Evan Prodromou 46965a816d not a nickname so don't canonicalize
darcs-hash:20080917185723-5ed1f-1795b591692f804df3140012af69560aa8204b77.gz
2008-09-17 14:57:23 -04:00