Mikael Nordfeldth
62596d462b
Get the values from the correct object.
2015-03-06 00:47:18 +01:00
Mikael Nordfeldth
f35ea45e09
Values of 0 would not be updated because of DB_DataObject
...
Upstream bug causing (int)0 to be interpreted as a "null string":
https://pear.php.net/bugs/bug.php?id=20291
2015-03-06 00:44:00 +01:00
Mikael Nordfeldth
ec4e432d55
Subscription::ensureStart skips AlreadyFulfilledException
...
Sometimes we just want to accept the user's wrong, but when it comes
to remote APIs etc. we probably want to let the client know it has
done something already (in this case multiple identical subscription
requests - which might indicate to it that it should refresh the sub
lists or something).
2015-03-04 11:38:04 +01:00
Mikael Nordfeldth
19bf975e56
Aahhh, gotta run php -l before pushing stuff!!!
2015-03-01 12:47:48 +01:00
Mikael Nordfeldth
1227d2d710
Forgot to make syntax edits on last commit.
2015-03-01 12:45:58 +01:00
Mikael Nordfeldth
bece816ec7
User class throws exception on register failure
2015-03-01 12:36:19 +01:00
Mikael Nordfeldth
8fac7a9f6c
StatusNet class renamed GNUsocial
...
also added backward compatible StatusNet class for the two calls I know
third party plugins use, isHTTPS and getActivePlugins
2015-02-27 12:44:15 +01:00
Mikael Nordfeldth
f7553d73a2
501 Not Implemented on timelines for remote users.
2015-02-25 16:31:02 +01:00
buttle
b9d4a9c9f9
added DocNav EVENT
...
Event to overide DocNav
two small css changes to indent notice footer correctly.
2015-02-24 21:51:31 +01:00
Mikael Nordfeldth
df2cc09362
$this->scoped->getUser() instead of common_current_user();
2015-02-19 17:46:37 +01:00
Mikael Nordfeldth
042cb1604a
ROLLBACK if query failed in email settings savePreferences
2015-02-19 17:43:08 +01:00
Mikael Nordfeldth
0deaf6c50c
use common_purify to purify HTML, one function to rule them all
2015-02-18 00:14:28 +01:00
Mikael Nordfeldth
282f4d6a89
Various $this->scoped fixes and protected prepare/handle in API actions
2015-02-17 17:20:00 +01:00
Mikael Nordfeldth
901a825b61
Non-functional "retweeted to me" API call modified (but not fixed)
...
For some reason the "retweeted to me" part of the Twitter API was removed
when Evan made some inbox changes back in the StatusNet days. We might
recover this functionality, but not yet. The proper function calls are
however fixed in this commit.
2015-02-17 16:48:24 +01:00
Mikael Nordfeldth
75f35bcfe7
apiauth action with ->user changed to ->scoped
2015-02-17 16:39:27 +01:00
Chimo
7cea3f9f11
Add 'statusnet_textarea' backward-compatibility
2015-02-10 10:53:24 -05:00
Chimo
d816af9aa9
Prepopulate newnotice from URL arg
2015-02-09 18:06:26 -05:00
Mikael Nordfeldth
8616055959
Can now delete lists/peopletags (thanks MrB)
...
Reported on https://bugz.foocorp.net/T79
Fix by MrB: https://gist.github.com/mrvdb/0f5d84c9b56c0a390c4a
2015-02-08 23:48:35 +01:00
Mikael Nordfeldth
341ee2c3db
Network public feed name fixed (prev. not "Network")
2015-02-06 12:52:42 +01:00
Mikael Nordfeldth
a89e91da79
By default, don't allow nick changes for profiles
...
This goes for both users and groups, since they share nickname namespace.
If you want to enable nickname changes, just add this to your config:
$config['profile']['changenick'] = true;
This commit should cover all changes in our usual web forms as well as through
the API.
2015-02-04 21:25:14 +01:00
Mikael Nordfeldth
33beb83e86
Variable name updates in apigroupleave.php
2015-02-04 17:30:50 +01:00
Mikael Nordfeldth
9c7f8f1643
Inform API users if notice was deleted.
2015-02-03 21:21:12 +01:00
Mikael Nordfeldth
eff3256f59
API notice access was not access restricted
2015-01-31 16:27:21 +01:00
Mikael Nordfeldth
d1ac9a4b44
this->target was not available in the listitem
2015-01-30 00:15:55 +01:00
Mikael Nordfeldth
acd36698b4
A bunch of clientError that were called as serverError
...
Calling serverError with a clientError status code (4xx) means it will
automatically default to Internal Server Error (500) which is in the
server error status code range (5xx). That is undesirable.
2015-01-29 23:35:49 +01:00
Mikael Nordfeldth
95751331de
Network wide public feed auth check fix
2015-01-29 23:30:13 +01:00
Mikael Nordfeldth
4c14794cae
ApiTimelineNetworkPublicAction available now
...
Feeds added in NetworkpublicAction too.
2015-01-29 23:01:53 +01:00
Mikael Nordfeldth
14e22b2985
Let an administrator set config public/localonly
...
Available on /panel/access
2015-01-29 21:07:23 +01:00
Mikael Nordfeldth
4daa2e4644
Use 'StartpageAction' to determine what to show on /
2015-01-29 20:48:49 +01:00
Mikael Nordfeldth
a5d27d9ce7
/main/all will give a network-wide public stream
...
Qvitter had implemented this as a "PublicAndExternal" stream, but
I figured we might as well put it into the GNU social core.
2015-01-28 20:25:39 +01:00
Mikael Nordfeldth
12058c30b4
Managed_DataObject->updateWithKeys throws its own exception
2015-01-25 12:54:08 +01:00
Mikael Nordfeldth
4917a422a1
updateKeys -> updateWithKeys (w/ functionality)
2015-01-25 12:07:26 +01:00
Mikael Nordfeldth
132ac624a2
Attachment_thumbnailAction is a ManagedAction (doPreparation)
2015-01-25 11:23:04 +01:00
Mikael Nordfeldth
4b65275e41
AttachmentAction is a ManagedAction, don't implement handle()
...
This also gives us more freedom in Attachment_thumbnailAction for example
2015-01-25 02:25:28 +01:00
Mikael Nordfeldth
ce8389443b
Let's not risk mixing two object types up
2015-01-25 02:24:41 +01:00
Mikael Nordfeldth
ef0a703bdd
No need to pre-generate thumbnails anymore
...
Qvitter fixed their queet-expand-view! By not making thumbnails on upload
we'll save a bit of time and resources, saving the post much quicker.
2015-01-24 11:38:10 +01:00
Mikael Nordfeldth
09de2a17b5
Hack to force thumbnail generation directly on upload
...
Remove this when we know that third party frontends like Qvitter have
improved attachment handling.
2015-01-23 14:52:02 +01:00
Mikael Nordfeldth
6f410eda5c
scoped instead of auth_user->getProfile()
2015-01-23 14:32:39 +01:00
Mikael Nordfeldth
fac9f4e545
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
2015-01-21 23:45:49 +01:00
Mikael Nordfeldth
ce9d18c29d
Only check if a nickname exists if site is non-private
2015-01-21 22:08:21 +01:00
Mikael Nordfeldth
fcc97c87d1
Only check if a nickname exists if site is non-private
2015-01-21 22:07:41 +01:00
Mikael Nordfeldth
8b585ff647
MediaFile upload simplifying
2015-01-21 17:39:48 +01:00
Mikael Nordfeldth
305c9f33a7
Registration coding cleanup
...
Mainly there was an Undefined variable: code in apiaccountregister.php
2015-01-18 13:06:12 +01:00
Mikael Nordfeldth
98afab74e2
Bad variable reference (needed $this->)
2015-01-18 12:56:17 +01:00
Mikael Nordfeldth
1d339bb118
Better test to see if uploaded media exists
2015-01-13 13:22:23 +01:00
Mikael Nordfeldth
bc51c6b64f
Those variables were set for a reason
...
The ->_subscription variable etc. were set because they were used later.
2015-01-13 12:56:56 +01:00
Mikael Nordfeldth
65c540478e
newnotice action always returns the notice's URL
...
Maybe could return conversation URL, but this will do for now.
Courtesy of the Javascript haters.
2015-01-12 12:13:34 +01:00
Mikael Nordfeldth
c7df5594d0
Simplified by adding an abstract AtompubAction
2015-01-12 03:15:41 +01:00
Mikael Nordfeldth
930b09677c
Actually use the PrimaryNoticeList in actions
2015-01-08 20:29:09 +01:00
Mikael Nordfeldth
370341ce31
Don't show notice form navs on newnotice action
2015-01-08 17:33:09 +01:00