Commit Graph

914 Commits

Author SHA1 Message Date
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
17ece0777b incorrect label on notice list file comment
darcs-hash:20081223191430-84dde-7f50fbf9c39c3f397196ffca318d51de6624d7c9.gz
2008-12-23 14:14:30 -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
ba31059fef reformat and document lib/mail.php for phpcs conformance
darcs-hash:20081223173330-84dde-8cbbfd3953e8a67d5e58679431f93651ddf3122a.gz
2008-12-23 12:33:30 -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
073ec99c54 bring mailbox.php into line with PEAR Coding Standards (mostly)
darcs-hash:20081222195041-84dde-3cc82f6b0f3e4e753c9525aa9a881cfb0c25830c.gz
2008-12-22 14:50:41 -05:00
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