Commit Graph

23 Commits

Author SHA1 Message Date
Evan Prodromou
865b716f09 change LACONICA to STATUSNET 2009-08-25 18:42:34 -04:00
Evan Prodromou
ae883ceb9b change controlyourself.ca to status.net 2009-08-25 18:19:04 -04:00
Evan Prodromou
d35b2d3f3c change laconi.ca to status.net 2009-08-25 18:16:46 -04:00
Evan Prodromou
c8b8f07af1 change Laconica and Control Yourself to StatusNet in PHP files 2009-08-25 18:12:20 -04:00
Evan Prodromou
e9e75fc9d5 isReadOnly() now takes arguments
Add an array of arguments to isReadOnly() method of actions, to let
them change their results depending on what actions are called.
Primarily used by the 'api' action. Ideally in the future that will be
multiple actions. But this might still be useful.
2009-04-13 15:49:26 -04:00
Robin Millette
0f6bc2190a mark a bunch of actions read-only 2009-01-23 09:15:15 +00:00
Zach Copley
61850ceb55 Converted ShowmessageAction to work with new uiredesign 2009-01-20 19:16:52 -08:00
Evan Prodromou
4b0cf99e56 Convert use of common_server_error and common_user_error to methods on Action 2009-01-15 23:03:38 +00:00
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
ffeeec392e change handle() to use message-getting helper
darcs-hash:20080924202211-5ed1f-a39e520b113a843bee6dd9e2e56c1a7afb2bb896.gz
2008-09-24 16:22:11 -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
64c27d57cf incorrect message info shown in title
darcs-hash:20080923063029-5ed1f-de15e9af49acb7e402127b45cd5b6c2814f559bb.gz
2008-09-23 02:30:29 -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
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
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
130ba28886 newmessage and showmessage
darcs-hash:20080917174741-5ed1f-c090055487bab0df52d25ad6550d3850ef5f7661.gz
2008-09-17 13:47:41 -04:00