Mikael Nordfeldth
29d0871e5a
Making many of the API actions more consistent with coding style
...
clientError and serverError exit after they're done so no need for
break or return. Also, $this->format is default.
We also got rid of the incredibly verbose version of $this->isPost()
which was spread all over the place.
Not all of this cleaning up is done yet.
2013-10-15 03:07:40 +02:00
Mikael Nordfeldth
a9c4bcd71f
Removing unnecessary require_once lines (autoload!)
2013-09-09 23:06:56 +02:00
Siebrand Mazeland
a12474a99d
* i18n/L10n fixes.
...
* translator documentation updated.
* superfluous whitespace removed.
2010-10-28 01:21:09 +02:00
Siebrand Mazeland
1603b7afc9
i18n/L10n updates, translator comments added/fixed, superfluous whitespace removed.
2010-10-21 01:53:42 +02:00
Siebrand Mazeland
a9fad9a7ac
Add translator hint.
2010-09-12 17:08:49 +02:00
Zach Copley
923d9ef71c
- Fix bugs with block and friendship API methods
...
- Friendship API methods now use a Profile instead of User for target
2010-06-28 16:54:39 -07:00
Evan Prodromou
2ae04bb6d5
add events for unblocking a profile
2009-12-28 10:50:12 -08:00
Siebrand Mazeland
221b779e88
Harmonise UI message "No such user."
2009-11-08 23:10:44 +01:00
Zach Copley
870b091693
Added in credits.
2009-10-12 16:36:00 -07:00
Zach Copley
061af8fa06
CamelCase all function names in the API code
2009-10-09 17:53:35 -07:00
Zach Copley
743c844084
Move all basic auth output and processing to base classes
2009-10-09 16:57:22 -07:00
Zach Copley
f746993c2b
$format is used by every API action. Set it in the base class.
2009-10-09 14:42:01 -07:00
Zach Copley
09f4d1ef23
New actions for blocks via API
2009-10-09 13:35:54 -07:00