Commit Graph

34 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
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
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
b5956e5b76 fixup the problems with the repo patch
darcs-hash:20081205153325-5ed1f-f663ec459d8d5067505ff28be39dee8c382e5814.gz
2008-12-05 10:33: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
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
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
zach
e0c3bf5a75 Better UTF-8 escaped entity handling. Fixed bad chars in all RSS feeds.
darcs-hash:20081104084027-462f3-ea7ab93938358bf90a1c1851d6f665973beae767.gz
2008-11-04 03:40:27 -05:00
zach
7e6870db91 base class is_readonly() now returns false by default
darcs-hash:20080722212056-ca946-e4bd9eef8e3d8991414932e9fc7b8c9a31f818c0.gz
2008-07-22 17:20:56 -04:00
Earle Martin
e5f26f8b2e Link author avatars to posts directly.
darcs-hash:20080716183052-68ac8-ad94d5e0195ea861cd65b9b3abf8b56824906794.gz
2008-07-16 14:30:52 -04:00
Evan Prodromou
e858ee49c6 creator_url
darcs-hash:20080716163339-84dde-b6d10e042e3168afa07eb6738dae9714b402dbe2.gz
2008-07-16 12:33:39 -04:00
Evan Prodromou
68cf99a53f use root url of site, not hard-coded identi.ca URL
darcs-hash:20080716152906-84dde-6b28a9c29901274ecef255f8b34839445d6e3d7b.gz
2008-07-16 11:29:06 -04:00
Evan Prodromou
eb9715992c utility function for getting a profile URI
I added a utility function for getting a profile URI. At some point we
need to push commonalities between Remote_profile and User into the
Profile class; single-table inheritance. We do a lot of switching
around for no good reason on users and profiles.

darcs-hash:20080716152511-84dde-6f73d947d11083e7235756fde635e145f02e2483.gz
2008-07-16 11:25:11 -04:00
Evan Prodromou
9b0ae9dd82 slight code hygiene for rssaction
I moved the $creators array from being a global variable to being an
instance variable.

I also changed the URL that was used for the user, based on whether
they're a remote or local user.

Finally, I changed instances of $config to calls to common_config().

darcs-hash:20080716152009-84dde-8d077ab92d1252c252ab722ba887a57b177c8f65.gz
2008-07-16 11:20:09 -04:00
Earle Martin
40b73c829f Add SIOC data to global RSS feed.
darcs-hash:20080714191328-68ac8-7b525eb8d85ed77599231b7d7456eaccc8a5ff15.gz
2008-07-14 15:13:28 -04:00
Earle Martin
f5bddd414a Include user name in item titles for RSS aggregator users.
darcs-hash:20080714153859-68ac8-8c370d385fd060d2fcebc118c3000f3c383fb4dc.gz
2008-07-14 11:38:59 -04:00
Evan Prodromou
1f434f502b invert title and content in rss action
darcs-hash:20080702214011-84dde-a40f7dc3906e32b087023e5d7e593f80eb46a1e8.gz
2008-07-02 17:40:11 -04:00
Evan Prodromou
f4a0c2b801 limit rss streams to 100 items by default
darcs-hash:20080626213018-34904-d5efe7ae9489afa9f07e0336902c713ac731d948.gz
2008-06-26 17:30:18 -04:00
Evan Prodromou
202f80511a some whitespace
darcs-hash:20080620072125-84dde-777b0a5405ea8ffc2436f711d60ab515d803b987.gz
2008-06-20 03:21:25 -04:00
Evan Prodromou
704155647f better titles in RSS
darcs-hash:20080613153303-84dde-556ed40d75c3701df3a3ce7b5415896f9ac66d12.gz
2008-06-13 11:33:03 -04:00
Evan Prodromou
1c50e11077 add author information for RSS
darcs-hash:20080613153012-84dde-3b5b4670681fc40dc62d82a1609ebca69a921bda.gz
2008-06-13 11:30:12 -04:00
Evan Prodromou
afeb31af63 use rdf:resource for license urls
darcs-hash:20080608203314-84dde-6553bea647ce5e712a7615ece83840e1e14a33d4.gz
2008-06-08 16:33:14 -04:00
Evan Prodromou
a00b9c0fdc forgot config in channel
darcs-hash:20080608201957-84dde-a092da20de695cfd6a910c38b24a607fe678159c.gz
2008-06-08 16:19:57 -04:00
Evan Prodromou
53ae2cc3f9 add cc:license to RSS streams
darcs-hash:20080608201917-84dde-ba5c877c01c0200f379c4433799b1f752a9817df.gz
2008-06-08 16:19:17 -04:00
Evan Prodromou
9210f95633 don't render content in RSS feeds
darcs-hash:20080529192510-84dde-eedf578cb3cb06dd019b8a613192adb467cfab4a.gz
2008-05-29 15:25:10 -04:00
Evan Prodromou
c36c7db82c fix notice generation in rss channels
darcs-hash:20080522191436-84dde-a24bd6fa5e9d5fc9af03d64d199ad827c8eb38ec.gz
2008-05-22 15:14:36 -04:00
Evan Prodromou
3381ec439d use notice URI in channel items list
darcs-hash:20080522191028-84dde-802a85a8838bfe04347c172dc7c7df51367e11e6.gz
2008-05-22 15:10:28 -04:00
Evan Prodromou
139fd492ff use notice URIs in RSS feeds
darcs-hash:20080522184434-84dde-0d698f3e34301c2a5600ce5e828db4402d070808.gz
2008-05-22 14:44:34 -04:00
Evan Prodromou
310ef22fd9 abstract out RSS 1.0 generation to allow multiple streams
darcs-hash:20080522112954-84dde-aa5087977298f5169148383e82e22241e613b1f2.gz
2008-05-22 07:29:54 -04:00