Commit Graph

954 Commits

Author SHA1 Message Date
Evan Prodromou 9de0583196 reformat lib/language.php for PEAR Coding Standards
darcs-hash:20081222193029-84dde-8d0f64d0fad2a2854d1a3a294a30e74d73fd1bd1.gz
2008-12-22 14:30:29 -05:00
Evan Prodromou 8cd89d80f1 reformat lib/jabber.php for phpcs, including doc comments
darcs-hash:20081222173249-84dde-202ba409e32e2b27089a1bc5431507c9d8a2782e.gz
2008-12-22 12:32:49 -05:00
Evan Prodromou 5d76234a60 reformat for phpcs
darcs-hash:20081221005837-84dde-07cd6bb27d5f601360a686538dd76f1dca9af3c4.gz
2008-12-20 19:58:37 -05:00
Evan Prodromou f3c0d31688 reformat lib/daemon.php for phpcs
darcs-hash:20081221004607-84dde-d83d0661b29e532b8842b7ae45c961446669fb74.gz
2008-12-20 19:46:07 -05:00
Evan Prodromou 01a548a9fb some modifications to assuage phpcs
darcs-hash:20081221003955-84dde-d6e8067a579f70dcb707f4525e588920a2375f5c.gz
2008-12-20 19:39:55 -05:00
Evan Prodromou ee4db3d21c reformatting for phpcs in lib/util.php
darcs-hash:20081221003016-84dde-0e80268e95235462e069d4d1e6b949bc891ccdbd.gz
2008-12-20 19:30:16 -05:00
Evan Prodromou d18c621bcf more information in subscription notices
darcs-hash:20081212171135-84dde-543176e3a8190699e44fc896ba90f6ea776057d4.gz
2008-12-12 12:11:35 -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 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
Zach Copley 3e70bfa287 Fixed Popular tab (hopefully)
darcs-hash:20081212075617-7b5ce-c56db92d928c58eaa3fed7e4f226e0fca62e2bbf.gz
2008-12-12 02:56:17 -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 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 816f87fd27 link error with notice sources
darcs-hash:20081212054448-84dde-14b0bdbd5ce2848a171d565bc0b17902ddb10ed3.gz
2008-12-12 00:44:48 -05:00
Evan Prodromou 203bc45842 documentation and version number
darcs-hash:20081212043201-84dde-1bf07467f85f743fb5cb4ec92e5b8934bfb49578.gz
2008-12-11 23:32:01 -05:00
Evan Prodromou da32755959 fix source name
darcs-hash:20081212041543-84dde-47540bac9f755be3101b7e403ae8940c90003f33.gz
2008-12-11 23:15:43 -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 40fd5d2f8b switch labels for tabs on subs
darcs-hash:20081211234741-84dde-d20d0f7e5e850a2d045fb95f5b75157076f7b7b6.gz
2008-12-11 18:47:41 -05:00
Evan Prodromou 677a05ff1e $profile -> $this->profile in noticelistitem
darcs-hash:20081211233039-84dde-9bcacf8f114025052a208e1068e58d570db05f15.gz
2008-12-11 18:30:39 -05:00
Evan Prodromou b1838f14b6 fixup function names for show_avatar() and show_nickname()
darcs-hash:20081211232921-84dde-9dba2a8d0fe3aa970f433973ef8c4ddf7c5e8928.gz
2008-12-11 18:29:21 -05:00
Evan Prodromou 801af524e4 remove unused $notice param from NoticeListItem::show()
darcs-hash:20081211232811-84dde-658ffc41153b3ffcf7243baa0faa0c3b09a493f0.gz
2008-12-11 18:28:11 -05:00
Evan Prodromou 170c457c96 don't use undefined source_link; instead, just link
darcs-hash:20081211231925-5ed1f-b01d6ef925de540f4a671c0814d8715127a4c98d.gz
2008-12-11 18:19:25 -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
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
Evan Prodromou bf5abbf12b fix id of common_unsubscribe_form
darcs-hash:20081211200239-5ed1f-b8829a657dcb6b9f1ec6134d61de5340414a10d4.gz
2008-12-11 15:02:39 -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 fb837b86c5 add a menu to subs
darcs-hash:20081211180622-5ed1f-ab61ae0e19506b9686cd560ff262d29a6d0ac267.gz
2008-12-11 13:06:22 -05:00
Evan Prodromou 4b93bc9924 on broadcast jabber and sms to people with the flags set
darcs-hash:20081210024706-5ed1f-fd54b76630656f7d4f7617309d2e4f87f25b006b.gz
2008-12-09 21:47:06 -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 3f8e60a8fc trac750 add timestamp to CSS file to keep Facebook's caching from ignoring our changes
darcs-hash:20081208051859-7b5ce-5d777044f81edd562a4fe825cfcc12233e2bc5dc.gz
2008-12-08 00:18:59 -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 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
csarven 8286fd1281 Fixed duplicate @class assignment to element
darcs-hash:20081208215420-eefa4-25bc0ed6c14d9031e8343e89c2cf6bde6ce35521.gz
2008-12-08 16:54:20 -05:00
Evan Prodromou d8c933cd54 pass profile correctly to show_owner_controls
darcs-hash:20081208201351-5ed1f-e74df1c59589816c24a0ccd867cbae714cd7daec.gz
2008-12-08 15:13:51 -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 17fd7b1850 add returnto information to the block form
darcs-hash:20081208170931-5ed1f-e7c5853e6a222b04723f20c01ebaae15eeab3687.gz
2008-12-08 12:09:31 -05:00
Evan Prodromou 5915e15412 add block name to block form
darcs-hash:20081208072519-5ed1f-10e7d3e14e54f0d67c58504adbc4c81f3228944a.gz
2008-12-08 02:25:19 -05:00
Evan Prodromou 49adb8b552 add fancy url for block action
darcs-hash:20081208071521-5ed1f-1178a3c50f94c039d98112620e8bf78836e659bc.gz
2008-12-08 02:15:21 -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 71b682453d remove unused code from profile list
darcs-hash:20081208033132-5ed1f-ee93e5b26353c097ee1bdb8d3e4cedad5763548e.gz
2008-12-07 22:31:32 -05:00
Evan Prodromou ba8cc0df59 don't save replies from a blocked profile to the blocking user
darcs-hash:20081208031408-5ed1f-dfdb46fbcf5390d890b4db47c64da0b70ace8096.gz
2008-12-07 22:14:08 -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 81a81baf83 low-level management of blocks
darcs-hash:20081208031008-5ed1f-c96006b5c05fa0e68f9adaacd0518016aedfee2a.gz
2008-12-07 22:10:08 -05:00
Evan Prodromou 71c8d90378 add class to body element
darcs-hash:20081208055023-84dde-5ae95497ae63584f7b86e63eb62ed13607ee1ee8.gz
2008-12-08 00:50:23 -05:00
Evan Prodromou 49644b05d8 Favorited -> Popular
darcs-hash:20081208053543-84dde-039dcb947f0c6c2cd01ab7065b8c807000f59b3a.gz
2008-12-08 00:35:43 -05:00
Evan Prodromou b5956e5b76 fixup the problems with the repo patch
darcs-hash:20081205153325-5ed1f-f663ec459d8d5067505ff28be39dee8c382e5814.gz
2008-12-05 10:33:25 -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 7def4d227f set email content type to text/plain; utf-8
darcs-hash:20081204213414-099f7-631e8aecc8ce2d8725b93e23e15e6e97f06a6bac.gz
2008-12-04 16:34:14 -05:00
millette e508fd5b5e send all emails in the destination's language.
darcs-hash:20081204212455-099f7-a3a325852f55b94e4b81c84dbb301ae2eebf48b4.gz
2008-12-04 16:24:55 -05:00
millette 9c3c1e0272 trac494 email is now in recipient's language
darcs-hash:20081204203433-099f7-41be8f47b2a8e647414225f26318da005144006d.gz
2008-12-04 15:34:33 -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
csarven 2670324ca8 Using abbr.published @title and ISO8601
darcs-hash:20081203220637-eefa4-5a9db2b3b178c6a7e4edb43b72c392215ed3e004.gz
2008-12-03 17:06:37 -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 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 54df7dcbbd rollback removing init from rssaction
darcs-hash:20081203172856-5ed1f-78a27cd47a2b5733bd55d0acfd7c399c5818ba08.gz
2008-12-03 12:28:56 -05:00
Evan Prodromou f41e531737 fix conflict with Robin's changes on trunk
darcs-hash:20081203041730-5ed1f-1e1910cec75546291b14386d91f3bd22ae06b750.gz
2008-12-02 23:17:30 -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 31bb9d07dc cleanup whitespace in rssaction
darcs-hash:20081202045856-5ed1f-3b14fafd709eb5f4e1c4ea74bce067a1429f03d7.gz
2008-12-01 23:58:56 -05:00
Evan Prodromou 0464a10202 remove init from rssaction
darcs-hash:20081202045825-5ed1f-5bbbf3954610442bdd123f720b1c85ec85c4449e.gz
2008-12-01 23:58:25 -05:00
Evan Prodromou df5ce60edc better HTTP timestamp
darcs-hash:20081202044441-5ed1f-63025fde108bff917253995f448f841160c8e394.gz
2008-12-01 23:44:41 -05:00
Evan Prodromou be33850c5f add ETag handling
darcs-hash:20081202044211-5ed1f-d8779be7681fc21eebff3c0c56fdde892c2fa3da.gz
2008-12-01 23:42:11 -05:00
Evan Prodromou cad6f78fe6 better header for not-modified message
darcs-hash:20081202042334-5ed1f-47957bc0ad54d0250a0638b4e6e5a200dac1d335.gz
2008-12-01 23:23:34 -05:00
Evan Prodromou fd7bc1f565 better logic for if-modified-since
darcs-hash:20081202042159-5ed1f-16cbaa0253b6b60033bf842dff88b097a41ea328.gz
2008-12-01 23:21:59 -05:00
Evan Prodromou cb3862b43e whitespace changes in action.php
darcs-hash:20081202041532-5ed1f-8c392967eb14d726bc1b761a39c6dce0097879c0.gz
2008-12-01 23:15:32 -05:00
Evan Prodromou b58eee26e8 copy-and-paste typo
darcs-hash:20081202041508-5ed1f-d54be6a7ec9aedebf10b813ee7e102c0c053f6cf.gz
2008-12-01 23:15:08 -05:00
Evan Prodromou 09a9b76ffe init() returns boolean success value
darcs-hash:20081202040549-5ed1f-b23a6b80b6e1823a97a7b446d9c4e59f8744b904.gz
2008-12-01 23:05:49 -05:00
Evan Prodromou d268703d69 add init, last_modified to actions
darcs-hash:20081202034736-5ed1f-e096ab5e9a77d2bb74c949659966d400cbc9a149.gz
2008-12-01 22:47:36 -05:00
millette 70c90b50b0 fix shorturl_api so it works even when 3rd party is down.
darcs-hash:20081129012446-099f7-e2d0398dc22fc3e83398920f46da6cf1691544b3.gz
2008-11-28 20:24:46 -05:00
millette 5878647c55 use label tab for checkboxes
darcs-hash:20081128223646-099f7-79b7c961b4494ff7430bd3c0a0f4742888098ede.gz
2008-11-28 17:36:46 -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 15f780a535 only shorten >
darcs-hash:20081125010332-099f7-f851f7c6217a1a2c65cd0f8ca28a9b6eb8c19764.gz
2008-11-24 20:03:32 -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
Zach Copley 1e4e6eee32 Ban certain users from posting by nickname and/or ID
darcs-hash:20081210191337-7b5ce-f9a083596b3f5627405c9e233c1994d8338f5731.gz
2008-12-10 14:13:37 -05:00
Evan Prodromou a143b64666 edit throttling
darcs-hash:20081210174722-84dde-4c79d7f73230d008195bd19738bc9a6017b940e9.gz
2008-12-10 12:47:22 -05:00
Evan Prodromou 44a683bfab add some transaction voodoo to the insert for rememberme cookies
darcs-hash:20081209185424-84dde-d439346477811043ae471c5e68644b326b016713.gz
2008-12-09 13:54:24 -05:00
Evan Prodromou 60a43519b9 slightly better reporting when setting rememberme cookies
darcs-hash:20081209175446-84dde-ae63433fa42debe8fb2eb3862cac0b9f81f1e6de.gz
2008-12-09 12:54:46 -05:00
Evan Prodromou 7cbd2c4e1e common_warning() doesn't exist
darcs-hash:20081209174233-84dde-a5593f20cce3af07909ef9b3af7497ff61565fd3.gz
2008-12-09 12:42:33 -05:00
Evan Prodromou 6179d2d236 cache current user in a global variable
darcs-hash:20081209173402-84dde-eb1c47ddbf45a831379f6571729187267411ed07.gz
2008-12-09 12:34:02 -05:00
Evan Prodromou ed440c734e better error reporting for rememberme cookie handling
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-09 12:04:13 -05:00
Evan Prodromou a61c7546c8 HTML output in RSS 2.0 and Atom
darcs-hash:20081205160205-84dde-68363153ee7f4f75a7c25ca6546816b648406b8b.gz
2008-12-05 11:02:05 -05:00
Evan Prodromou e5ef205a5b whitespace changes in rssaction
darcs-hash:20081205152521-84dde-6487a2769943da5dc70b9425d00c17d2c53270d0.gz
2008-12-05 10:25:21 -05:00
Evan Prodromou 3568b56793 use content namespace to add HTML to the notice output
darcs-hash:20081205152445-84dde-62b3560fae1b1505528826e91939af89b8afd971.gz
2008-12-05 10:24:45 -05:00
Evan Prodromou 5eb729b5d5 whitespace cleanup
darcs-hash:20081203032743-5ed1f-87f9b170e87d5e010564b6f3c6dc7b3ca2b9c719.gz
2008-12-02 22:27:43 -05:00
Evan Prodromou 06c7933168 add common_compatible_license() function
darcs-hash:20081203032705-5ed1f-c425d8aef897b4223db3f2cb0250ed6fbe816f67.gz
2008-12-02 22:27:05 -05:00
Evan Prodromou cad5603978 use full alphanum for incoming email addresses
darcs-hash:20081129233637-5ed1f-2f428e859daebe6e1e68a9ce2c5fa7f5de12d2fb.gz
2008-11-29 18:36:37 -05:00
Evan Prodromou 7324f907da don't use list display -- it's the default
darcs-hash:20081127162805-5ed1f-0342777b88a70a734c4cdd35cbece8c37d83407a.gz
2008-11-27 11:28:05 -05:00
Evan Prodromou 6b18253170 lost the URL
darcs-hash:20081127162720-5ed1f-3962aa9b288ab8aedf81c2c7c743147f3cf3122b.gz
2008-11-27 11:27:20 -05:00
Evan Prodromou 1a0dc49098 better link
darcs-hash:20081127162551-5ed1f-7ccfe9c5d84149c5d5aa507e70d555003c200b39.gz
2008-11-27 11:25:51 -05:00
Evan Prodromou 6d355a9d60 correct the output formats for api user timelines
darcs-hash:20081124234115-5ed1f-4a136027fddd625c39f14b5ec2e3e9d0fd0a6b3b.gz
2008-11-24 18:41:15 -05:00
Evan Prodromou a1da43417e support microsummaries
darcs-hash:20081124223533-5ed1f-1ae78e694043cef14d528dcd4201301eec8ad61b.gz
2008-11-24 17:35:33 -05:00
Evan Prodromou c9430ab312 correct self_url without cookie stuff
darcs-hash:20081124052250-5ed1f-158956ba8a735e5bfe4f7199c17596e13357cf5f.gz
2008-11-24 00:22:50 -05:00
Evan Prodromou 9c6caac8b8 redirect on a post from tag dropdown
darcs-hash:20081124051429-5ed1f-f47de55517ac9762ad6f1b7520c758359b0958bc.gz
2008-11-24 00:14:29 -05:00
Evan Prodromou 8d7af455cf retain links in List and Icon switch
darcs-hash:20081124045924-5ed1f-2a8c374362334914fe37aad1fc8be2a661d54675.gz
2008-11-23 23:59:24 -05:00