Chimo
937adf05c9
Remove NOT NULL restriction on HubSub 'lease'
...
This fixes an issue where INSERTs in HubSub fail if MySQL/MariaDB is
running in "strict mode" since the default lease time in
PushHubAction::subunsub is null.
Permanent subscriptions have been removed in PuSH v0.4, but they are
being kept here for backward-compatibility with previous GS/SN versions.
2015-02-07 10:46:13 -05:00
Mikael Nordfeldth
341ee2c3db
Network public feed name fixed (prev. not "Network")
2015-02-06 12:52:42 +01:00
Mikael Nordfeldth
1c478768ad
True isn't true in Javascript.
...
Apparently True isn't true in javascript. They fiddle around like crazy with
loose typing (causing all kinds of problems) but vars are case sensitive?!
2015-02-05 12:13:01 +01:00
Mikael Nordfeldth
f7548ed7e9
cacheKey change for Status_network class
...
From statusnet to gnusocial.
2015-02-05 12:06:01 +01:00
Mikael Nordfeldth
ad93ad9d07
Only Firefox has predefined js function args (thanks MrB)
2015-02-05 12:05:10 +01:00
Mikael Nordfeldth
1b5af3477d
Memcache is a plugin, also now not explicitly mentioned in CONFIGURE
2015-02-05 11:49:06 +01:00
Mikael Nordfeldth
6d40394212
Replace memcache with opcache in INSTALL instructions.
2015-02-05 11:44:36 +01:00
Mikael Nordfeldth
363d467585
But let's hide external permalink if already linked through 'source'
2015-02-04 22:44:38 +01:00
Mikael Nordfeldth
ff0a93a0ba
No reason to hide external notice permalinks
2015-02-04 22:32:57 +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
5155854339
HTMLOutputter input element can take arbitrary attributes now
2015-02-04 20:52:10 +01:00
Mikael Nordfeldth
33beb83e86
Variable name updates in apigroupleave.php
2015-02-04 17:30:50 +01:00
Mikael Nordfeldth
f141565104
Allow delete-inactive for gcfeeds
...
Garbage collecting should also allow to clean up leftover database entries.
2015-02-04 16:49:03 +01:00
Mikael Nordfeldth
f0a707cfc6
A single user instance also has the same URLs as multiuser instances
2015-02-04 16:47:43 +01:00
Mikael Nordfeldth
6a4cb43f67
showstream for singleuser instance too
...
singleuser instances shouldn't be too special and have too many
alternative methods of doing stuff.
2015-02-03 22:33:01 +01:00
Mikael Nordfeldth
6b638b8e13
User class also needs getConfigPref
2015-02-03 22:04:29 +01:00
Mikael Nordfeldth
7cce2e17ff
FavoritePlugin uses getConfigPref for profile setting
2015-02-03 22:02:19 +01:00
Mikael Nordfeldth
4eea68e557
getConfigPref for globally configurable fallbacks
2015-02-03 21:58:17 +01:00
Mikael Nordfeldth
ff004c5912
Avoid CLI printing some PEAR::DB deprecated stuff
...
We should get rid of PEAR::DB and reenable these logs. Upstream
doesn't seem to update.
2015-02-03 21:27:25 +01:00
Mikael Nordfeldth
9c7f8f1643
Inform API users if notice was deleted.
2015-02-03 21:21:12 +01:00
Mikael Nordfeldth
3f7a305b2a
$this out of context (use $rcpt)
2015-02-03 21:15:37 +01:00
Mikael Nordfeldth
7666ac34f9
Revert "Notices for faves are already sent as they are notices now."
...
This reverts commit 636d5141e9
.
We want the salmon notifyActivity call
2015-02-03 17:50:21 +01:00
Mikael Nordfeldth
9827e6ad84
The favorite activity is an activity.
2015-02-03 16:53:51 +01:00
Mikael Nordfeldth
636d5141e9
Notices for faves are already sent as they are notices now.
2015-02-03 16:44:13 +01:00
Mikael Nordfeldth
adc4dfc081
Wrong variable name (s/fave/object/)
2015-02-03 16:43:56 +01:00
Mikael Nordfeldth
660e8c6efc
Fave::addNew now calls Notice::saveActivity
...
as a bonus we've fixed several FIXME issues for favorite email notification
and updated parts of the codebase for these activities to a more modern style.
2015-02-03 16:34:11 +01:00
Mikael Nordfeldth
0bcecda177
more activity-like terminology in variable names
2015-02-03 15:12:29 +01:00
Mikael Nordfeldth
1104ea2a0e
Fave insert logging directly in insert()
2015-02-03 14:58:22 +01:00
Mikael Nordfeldth
e41d324a53
NoticeStream already handles "getNotices"
2015-02-03 12:12:11 +01:00
Mikael Nordfeldth
40416c2c69
Don't email users who are sandboxed
...
If sandboxed or silenced, don't email the user any notifications.
2015-02-03 11:41:20 +01:00
Mikael Nordfeldth
aaba2036fa
Set a max-height for notice content in base css
2015-02-03 11:40:42 +01:00
Mikael Nordfeldth
fdae6f0fb3
neo-gnu is now default-theme. perty.
2015-02-02 18:22:59 +01:00
Mikael Nordfeldth
b206481860
neo-gnu theme, thanks Meikodis
2015-02-02 18:05:59 +01:00
Mikael Nordfeldth
000b7675d8
Vimeo oEmbed thumbnail host added to whitelist
2015-02-02 11:14:13 +01:00
Mikael Nordfeldth
20e1257e70
Nicer behaviour for the loading of the notice input form.
2015-02-01 21:35:36 +01:00
Mikael Nordfeldth
f05f701764
HTML5 placeholder for notice input form.
2015-02-01 21:35:25 +01:00
Mikael Nordfeldth
eff3256f59
API notice access was not access restricted
2015-01-31 16:27:21 +01:00
Mikael Nordfeldth
c7dd595984
Run onEndSetApiUser also when already logged in!
2015-01-31 16:02:01 +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
dfdfe4143a
Set siteprofile default values for config public/localonly
2015-01-29 20:49:19 +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
eaaef2aec9
'zone' is a valid top domain
...
We should get another form of URL identifier for interpreting links on notices...
It was hard editing this line in vim even, because of wide, multibyte characters...
2015-01-27 15:07:00 +01:00
Mikael Nordfeldth
acec8b8cf2
Default value false for $force on Ostatus updateAvatar
2015-01-27 14:14:24 +01:00
Mikael Nordfeldth
cc996f58db
Test in Ostatus_profile if avatar is an image before writing to filesystem
...
This clears one FIXME...
We also fix HTTPClient::quickGet() (and a related call in OStatus testfeed.php).
2015-01-27 14:00:39 +01:00
Mikael Nordfeldth
cdd3c52633
Handle groups better in Ostatus_profile->updateAvatar
2015-01-27 13:38:11 +01:00