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
Mikael Nordfeldth
48680942fd
Avoid undefined variables.
2014-12-06 19:56:21 +01:00
Mikael Nordfeldth
e006b73505
Revert "Report a 404 not found if no posts found for User timeline"
...
This reverts commit 5295e8d4de
.
Just reply with an empty timeline...
2014-12-04 19:45:27 +01:00
Hannes Mannerheim
b81857656f
delete groups from groups directory, for admins
2014-12-02 15:31:27 +01:00
Mikael Nordfeldth
5295e8d4de
Report a 404 not found if no posts found for User timeline
2014-11-22 12:29:13 +01:00
Mikael Nordfeldth
d1b10ee92b
Don't define a variable in a function call
2014-11-22 12:26:51 +01:00
Mikael Nordfeldth
046d070ad4
MessageCommand moved to DirectMessage plugin
2014-11-07 16:23:34 +01:00
Mikael Nordfeldth
68143ff916
DirectMessage moved into a plugin, not done yet
...
We still have to move some API calls into the new plugin.
2014-11-07 15:53:35 +01:00
Mikael Nordfeldth
7ea067a0dc
Notice_source checks in better code style
2014-11-05 19:44:22 +01:00
Roland Haeder
db704b5d10
Fixed type-hints + added assert + method getGroup().
...
Signed-off-by: Roland Haeder <roland@mxchange.org>
2014-10-25 14:26:18 +02:00
Hannes Mannerheim
54e27bc30c
shows which user we are confirming to delete
2014-10-20 16:25:42 +02:00
Mikael Nordfeldth
56b07d84c5
AtomPub missing georss namespace merge from chimo
2014-08-24 13:08:41 +02:00
chimo
e3e076a935
Adds missing georss xmlns in subscriptions AtomPub
...
Fixes 'unbound prefix: georss' validation issue.
2014-08-13 00:45:34 -04:00
Mikael Nordfeldth
9a192473d5
declared "next_id" used to set the max_id for next link
2014-08-08 11:35:38 +02:00
Mikael Nordfeldth
2766c2aeec
User timeline ActivityStreams output now has paging data
2014-08-07 22:40:55 +02:00
Mikael Nordfeldth
55db74291c
Using empty on a function return value (thanks mrvdb)
...
Source: https://gist.github.com/mrvdb/0b49dd3c580bcfbe1358
2014-07-15 18:15:36 +02:00
Mikael Nordfeldth
eb955fe629
"Notice posted" message in Ajax title for NewnoticeAction
2014-07-14 17:11:54 +02:00
Mikael Nordfeldth
ae62b91940
Unifying HTML stripping functions to common_strip_html
2014-07-14 13:52:23 +02:00
Mikael Nordfeldth
0a20abf1d8
Email notify-on-fave moved to Profile_prefs (run upgrade.php)
2014-07-13 19:46:40 +02:00
Mikael Nordfeldth
933bf0b026
Start and End EmailSaveForm events now take a scoped profile
2014-07-13 15:42:15 +02:00
Mikael Nordfeldth
c8873de08b
Start and End EmailFormData events include current profile
2014-07-13 15:33:44 +02:00
Mikael Nordfeldth
9ce06f3e82
Adapt NewnoticeAction to latest Form- and ManagedAction
2014-07-06 13:10:22 +02:00