Commit Graph

28 Commits

Author SHA1 Message Date
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
eaa81d25fa Convert all actions to use new UI functions
I did a massive search-and-replace to get all the action subclasses to
use the new output function (common_element() -> $this->element(), etc.)

There's still a lot to do, but it's a first step
2009-01-15 22:57:15 +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
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
zach
038f762bce Added is_readonly() method to all Actions
darcs-hash:20080722171501-ca946-160bad6c4f80be2b3b105ea9b913f1c0f9edb0ef.gz
2008-07-22 13:15:01 -04:00
Mike Cochrane
0f502b8d86 Remove tralling whitespace on lines and a gettext replacement that I missed.
darcs-hash:20080708095113-533db-ad63bbde67b6275fb7ae944cc9882adf6f3be517.gz
2008-07-08 05:51:13 -04:00
Mike Cochrane
87b494f1eb Convert _t() to _() for gettext.
darcs-hash:20080708094531-533db-83399a46e6ec4c0fcc6249b0235961f969d1ae73.gz
2008-07-08 05:45:31 -04:00
Evan Prodromou
d900e125ac had order of arguments for oid_link_user backwards in finishaddopenid
darcs-hash:20080619155042-5ed1f-d814e2ae7f565e7e5cd8c0389071491705117e73.gz
2008-06-19 11:50:42 -04:00
Evan Prodromou
0ba9948603 move update_user function to openid.php
darcs-hash:20080619135148-84dde-6caaa7f97d2405bc318bfa818c4ac9cbc31cab33.gz
2008-06-19 09:51:48 -04:00
Evan Prodromou
171b4f72ee immediate mode for openid
darcs-hash:20080619134710-84dde-6086a4ac7bbd72a251fe5ce6fe3156e3270ebd74.gz
2008-06-19 09:47:10 -04:00
Evan Prodromou
7258969cd4 use query method to do some transactions
darcs-hash:20080619033619-84dde-e4fcc00f5d86cb0d11feff5f88f719ea72d3318e.gz
2008-06-18 23:36:19 -04:00
Evan Prodromou
e47ba46634 take out check for other user
darcs-hash:20080618210044-84dde-3b064b11117d4c785e4eba7902f1c0298dbbd8a7.gz
2008-06-18 17:00:44 -04:00
Evan Prodromou
7ce5ed8081 small debugging and messaging fixes
darcs-hash:20080618180642-84dde-1e8ee16d2b6497c71854486a687545d948340d69.gz
2008-06-18 14:06:42 -04:00
Evan Prodromou
d9b7f0b706 fix debug to prefix with var name
darcs-hash:20080618162838-84dde-90e6950d9cdfcfee947f504512b7fb529d0db7de.gz
2008-06-18 12:28:38 -04:00
Evan Prodromou
71aadefc3e more debugging output, better check on canonical
darcs-hash:20080618162715-84dde-9a3213796a88cf4f28597553e1834896c7f201a7.gz
2008-06-18 12:27:15 -04:00
Evan Prodromou
d0559fdf4d debugging for addopenid problem
darcs-hash:20080618132613-84dde-a7d78778af37cf3f20bfeb70ae2d381bc9ae92d4.gz
2008-06-18 09:26:13 -04:00
Evan Prodromou
1a112c11b7 change variable name error
darcs-hash:20080618131636-84dde-ef33dcb94c630fdd8831d904caadb9e669ce6cb3.gz
2008-06-18 09:16:36 -04:00
Evan Prodromou
c3adb121ec references
darcs-hash:20080618131519-84dde-a3af7c41be8d9606f39ce4be3029697f913ab053.gz
2008-06-18 09:15:19 -04:00
Evan Prodromou
4a0b1a9ea9 consolidate linking a user to an OpenID
darcs-hash:20080618114310-84dde-15b224bb16d434150af457bc3b08de58e3833abd.gz
2008-06-18 07:43:10 -04:00
Evan Prodromou
dc2e7f4225 voodoo changes
darcs-hash:20080618113720-84dde-4483d18751e7f82480c925cce4d1f84095598742.gz
2008-06-18 07:37:20 -04:00
Evan Prodromou
d1a895c5b1 return true on successful save of openid
darcs-hash:20080618112624-84dde-76bbb4338585852abef7ed6ced26784a77f01a34.gz
2008-06-18 07:26:24 -04:00
Evan Prodromou
c5e8828d7e error on save
darcs-hash:20080618111512-84dde-835a9d92386c5a5a5e51b0879c04575e9a80fdf5.gz
2008-06-18 07:15:12 -04:00
Evan Prodromou
9eb05720a1 debugging on adding OpenID
darcs-hash:20080618110853-84dde-b24a19acffad53362a80c92f1dddafab37a457c6.gz
2008-06-18 07:08:53 -04:00
Evan Prodromou
ec68ae3cb1 better error handling
darcs-hash:20080618071207-84dde-a7903c5a806e16a39101244ef721204a7ce2bd46.gz
2008-06-18 03:12:07 -04:00
Evan Prodromou
eae70d5292 manage existing OpenIDs
Add a settings page to manage existing OpenIDs, or add OpenIDs to an
account.

darcs-hash:20080618065320-84dde-d013191a57a3de66a038feb88ad46ceff1e986ca.gz
2008-06-18 02:53:20 -04:00