]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
Mikael Nordfeldth [Thu, 5 Feb 2015 10:49:06 +0000 (11:49 +0100)]
Memcache is a plugin, also now not explicitly mentioned in CONFIGURE
Mikael Nordfeldth [Thu, 5 Feb 2015 10:44:36 +0000 (11:44 +0100)]
Replace memcache with opcache in INSTALL instructions.
Mikael Nordfeldth [Wed, 4 Feb 2015 21:44:38 +0000 (22:44 +0100)]
But let's hide external permalink if already linked through 'source'
Mikael Nordfeldth [Wed, 4 Feb 2015 21:32:57 +0000 (22:32 +0100)]
No reason to hide external notice permalinks
Mikael Nordfeldth [Wed, 4 Feb 2015 20:25:14 +0000 (21:25 +0100)]
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.
Mikael Nordfeldth [Wed, 4 Feb 2015 19:52:10 +0000 (20:52 +0100)]
HTMLOutputter input element can take arbitrary attributes now
Mikael Nordfeldth [Wed, 4 Feb 2015 16:30:50 +0000 (17:30 +0100)]
Variable name updates in apigroupleave.php
Mikael Nordfeldth [Wed, 4 Feb 2015 15:48:12 +0000 (16:48 +0100)]
Allow delete-inactive for gcfeeds
Garbage collecting should also allow to clean up leftover database entries.
Mikael Nordfeldth [Wed, 4 Feb 2015 15:47:43 +0000 (16:47 +0100)]
A single user instance also has the same URLs as multiuser instances
Mikael Nordfeldth [Tue, 3 Feb 2015 21:33:01 +0000 (22:33 +0100)]
showstream for singleuser instance too
singleuser instances shouldn't be too special and have too many
alternative methods of doing stuff.
Mikael Nordfeldth [Tue, 3 Feb 2015 21:04:29 +0000 (22:04 +0100)]
User class also needs getConfigPref
Mikael Nordfeldth [Tue, 3 Feb 2015 20:58:58 +0000 (21:58 +0100)]
FavoritePlugin uses getConfigPref for profile setting
Mikael Nordfeldth [Tue, 3 Feb 2015 20:58:17 +0000 (21:58 +0100)]
getConfigPref for globally configurable fallbacks
Mikael Nordfeldth [Tue, 3 Feb 2015 20:27:25 +0000 (21:27 +0100)]
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.
Mikael Nordfeldth [Tue, 3 Feb 2015 20:21:12 +0000 (21:21 +0100)]
Inform API users if notice was deleted.
Mikael Nordfeldth [Tue, 3 Feb 2015 20:15:37 +0000 (21:15 +0100)]
$this out of context (use $rcpt)
Mikael Nordfeldth [Tue, 3 Feb 2015 16:50:21 +0000 (17:50 +0100)]
Revert "Notices for faves are already sent as they are notices now."
This reverts commit
636d5141e994297749a78190a19b62a94f41884f .
We want the salmon notifyActivity call
Mikael Nordfeldth [Tue, 3 Feb 2015 15:53:51 +0000 (16:53 +0100)]
The favorite activity is an activity.
Mikael Nordfeldth [Tue, 3 Feb 2015 15:44:13 +0000 (16:44 +0100)]
Notices for faves are already sent as they are notices now.
Mikael Nordfeldth [Tue, 3 Feb 2015 15:43:56 +0000 (16:43 +0100)]
Wrong variable name (s/fave/object/)
Mikael Nordfeldth [Tue, 3 Feb 2015 15:28:33 +0000 (16:28 +0100)]
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.
Mikael Nordfeldth [Tue, 3 Feb 2015 14:12:29 +0000 (15:12 +0100)]
more activity-like terminology in variable names
Mikael Nordfeldth [Tue, 3 Feb 2015 13:58:22 +0000 (14:58 +0100)]
Fave insert logging directly in insert()
Mikael Nordfeldth [Tue, 3 Feb 2015 11:12:11 +0000 (12:12 +0100)]
NoticeStream already handles "getNotices"
Mikael Nordfeldth [Tue, 3 Feb 2015 10:41:20 +0000 (11:41 +0100)]
Don't email users who are sandboxed
If sandboxed or silenced, don't email the user any notifications.
Mikael Nordfeldth [Tue, 3 Feb 2015 10:40:42 +0000 (11:40 +0100)]
Set a max-height for notice content in base css
Mikael Nordfeldth [Mon, 2 Feb 2015 17:22:59 +0000 (18:22 +0100)]
neo-gnu is now default-theme. perty.
Mikael Nordfeldth [Mon, 2 Feb 2015 17:05:59 +0000 (18:05 +0100)]
neo-gnu theme, thanks Meikodis
Mikael Nordfeldth [Mon, 2 Feb 2015 10:13:52 +0000 (11:13 +0100)]
Vimeo oEmbed thumbnail host added to whitelist
Mikael Nordfeldth [Sun, 1 Feb 2015 20:35:36 +0000 (21:35 +0100)]
Nicer behaviour for the loading of the notice input form.
Mikael Nordfeldth [Sun, 1 Feb 2015 20:35:25 +0000 (21:35 +0100)]
HTML5 placeholder for notice input form.
Mikael Nordfeldth [Sat, 31 Jan 2015 15:27:21 +0000 (16:27 +0100)]
API notice access was not access restricted
Mikael Nordfeldth [Sat, 31 Jan 2015 15:02:01 +0000 (16:02 +0100)]
Run onEndSetApiUser also when already logged in!
Mikael Nordfeldth [Thu, 29 Jan 2015 23:15:55 +0000 (00:15 +0100)]
this->target was not available in the listitem
Mikael Nordfeldth [Thu, 29 Jan 2015 22:35:49 +0000 (23:35 +0100)]
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.
Mikael Nordfeldth [Thu, 29 Jan 2015 22:30:13 +0000 (23:30 +0100)]
Network wide public feed auth check fix
Mikael Nordfeldth [Thu, 29 Jan 2015 21:16:30 +0000 (22:16 +0100)]
ApiTimelineNetworkPublicAction available now
Feeds added in NetworkpublicAction too.
Mikael Nordfeldth [Thu, 29 Jan 2015 20:07:23 +0000 (21:07 +0100)]
Let an administrator set config public/localonly
Available on /panel/access
Mikael Nordfeldth [Thu, 29 Jan 2015 19:49:19 +0000 (20:49 +0100)]
Set siteprofile default values for config public/localonly
Mikael Nordfeldth [Thu, 29 Jan 2015 19:48:49 +0000 (20:48 +0100)]
Use 'StartpageAction' to determine what to show on /
Mikael Nordfeldth [Wed, 28 Jan 2015 19:25:39 +0000 (20:25 +0100)]
/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.
Mikael Nordfeldth [Tue, 27 Jan 2015 14:07:00 +0000 (15:07 +0100)]
'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...
Mikael Nordfeldth [Tue, 27 Jan 2015 13:14:24 +0000 (14:14 +0100)]
Default value false for $force on Ostatus updateAvatar
Mikael Nordfeldth [Tue, 27 Jan 2015 12:49:26 +0000 (13:49 +0100)]
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).
Mikael Nordfeldth [Tue, 27 Jan 2015 12:38:11 +0000 (13:38 +0100)]
Handle groups better in Ostatus_profile->updateAvatar
Mikael Nordfeldth [Tue, 27 Jan 2015 12:37:50 +0000 (13:37 +0100)]
a group's Profile will now correctly update group original avatar
Mikael Nordfeldth [Tue, 27 Jan 2015 12:37:35 +0000 (13:37 +0100)]
Corrected message in NoSuchGroupException
Mikael Nordfeldth [Tue, 27 Jan 2015 12:23:49 +0000 (13:23 +0100)]
OStatusSub should use inherent attributes
No need to make several common_current_user calls and then getProfile
directly after that, since we have stuff like $this->scoped.
Mikael Nordfeldth [Mon, 26 Jan 2015 22:32:08 +0000 (23:32 +0100)]
Default textlimit for notices is now 1000 chars
Mikael Nordfeldth [Mon, 26 Jan 2015 16:43:09 +0000 (17:43 +0100)]
Ostatus_profile smarter test if avatar exists
If you accidentally deleted a remote user's avatar from filesystem,
it'd take until its URL was updated that you got it back. Now it
happens if the local avatar file doesn't exist.
Mikael Nordfeldth [Mon, 26 Jan 2015 16:25:46 +0000 (17:25 +0100)]
Force updateAvatar if desired
Mikael Nordfeldth [Mon, 26 Jan 2015 15:33:39 +0000 (16:33 +0100)]
Improved animated image thumbnail freedom of choice
Default is now to take still thumbnails of animated GIFs and then
show them as originals in an AttachmentListItem. The still frames
are mostly used with front-ends like qvitter.
Mikael Nordfeldth [Mon, 26 Jan 2015 11:10:27 +0000 (12:10 +0100)]
Differentiate on group and user for WebFinger data
Mikael Nordfeldth [Mon, 26 Jan 2015 11:10:15 +0000 (12:10 +0100)]
Only report local URLs for local groups
Mikael Nordfeldth [Mon, 26 Jan 2015 00:16:28 +0000 (01:16 +0100)]
Unnecessarily spammy logs for getThumbnail()
When trying to create thumbnails for remote media that don't have the
filename field set, we got a lot of output in the debug log.
Mikael Nordfeldth [Sun, 25 Jan 2015 21:56:55 +0000 (22:56 +0100)]
Animated GIF restructuring, ImageMagick only used for resizing animated sequences.
Mikael Nordfeldth [Sun, 25 Jan 2015 21:45:25 +0000 (22:45 +0100)]
No need for ImageMagick to detected animated GIF
Mikael Nordfeldth [Sun, 25 Jan 2015 21:32:01 +0000 (22:32 +0100)]
No reason to stop the event
Mikael Nordfeldth [Sun, 25 Jan 2015 21:10:57 +0000 (22:10 +0100)]
Maybe we can detect animated files in core
Mikael Nordfeldth [Sun, 25 Jan 2015 12:13:01 +0000 (13:13 +0100)]
File_thumbnail uses file_id as PRI
Mikael Nordfeldth [Sun, 25 Jan 2015 11:45:26 +0000 (12:45 +0100)]
Managed_DataObject->updateWithKeys throws its own exception
Mikael Nordfeldth [Sun, 25 Jan 2015 11:29:28 +0000 (12:29 +0100)]
updateWithKeys reworked to more reliable execution
Throws exception on UPDATE fails.
Mikael Nordfeldth [Sun, 25 Jan 2015 11:07:26 +0000 (12:07 +0100)]
updateKeys -> updateWithKeys (w/ functionality)
Mikael Nordfeldth [Sun, 25 Jan 2015 10:58:35 +0000 (11:58 +0100)]
updateKeys (for classes with PRI id) now in Managed_DataObject
Mikael Nordfeldth [Sun, 25 Jan 2015 10:23:04 +0000 (11:23 +0100)]
Attachment_thumbnailAction is a ManagedAction (doPreparation)
Mikael Nordfeldth [Sun, 25 Jan 2015 10:18:57 +0000 (11:18 +0100)]
Regexp for Oembed domain matching
Mikael Nordfeldth [Sun, 25 Jan 2015 01:43:29 +0000 (02:43 +0100)]
1.1.3-beta2
Mikael Nordfeldth [Sun, 25 Jan 2015 01:42:02 +0000 (02:42 +0100)]
Display attached inline images on its own row
Mikael Nordfeldth [Sun, 25 Jan 2015 01:34:40 +0000 (02:34 +0100)]
Remote thumbnail fetching from trusted sources
So far we only trust i.ytimg.com for YouTube thumbnails, but you can
configure the Oembed plugin in config.php by setting the plugin's class vars:
addPlugin('Oembed', array('param'=>'value', ...));
Some might think this is a security risk or privacy invasive, but as the Oembed
script is already calling remote sites to get information _about_ linked media,
the way to stop it is to disable the Oembed plugin. However it is not certain
it has been migrated out into a plugin properly yet. But try it if you want to.
Mikael Nordfeldth [Sun, 25 Jan 2015 01:32:57 +0000 (02:32 +0100)]
Primarily the getUrl call is fixed. Also some new class calls
The getUrl call would think that a File_thumbnail object was the child
of a local File if its filename was set. That has been true up to recent
development code where a File_thumbnail can have a 'filename' value,
but the original File does not. Only look at the File object to indicate
whether it's a local or remote file!
Mikael Nordfeldth [Sun, 25 Jan 2015 01:32:04 +0000 (02:32 +0100)]
File_oembed::byFile to avoid littering with getKV
Mikael Nordfeldth [Sun, 25 Jan 2015 01:27:37 +0000 (02:27 +0100)]
File class improved debugging and filename generation
In some development code I noticed that when handling File objects without
filename values, there would be problems calling getPath and such.
The width and height value testing will be validated later anyway, and by
removing such a narrow test we can use events to generate thumbnails of
media formats supported by recently added plugins on demand.
Mikael Nordfeldth [Sun, 25 Jan 2015 01:27:02 +0000 (02:27 +0100)]
barename wasn't used, let's rename it filename and use it
Mikael Nordfeldth [Sun, 25 Jan 2015 01:25:28 +0000 (02:25 +0100)]
AttachmentAction is a ManagedAction, don't implement handle()
This also gives us more freedom in Attachment_thumbnailAction for example
Mikael Nordfeldth [Sun, 25 Jan 2015 01:24:41 +0000 (02:24 +0100)]
Let's not risk mixing two object types up
Mikael Nordfeldth [Sat, 24 Jan 2015 12:06:09 +0000 (13:06 +0100)]
Store remote magicsig public keys locally
Mikael Nordfeldth [Sat, 24 Jan 2015 11:47:39 +0000 (12:47 +0100)]
Added Magicsig onProfileDeleteRelated
Mikael Nordfeldth [Sat, 24 Jan 2015 11:22:29 +0000 (12:22 +0100)]
Documentation update (clarifying need for php5-gmp in comment)
Mikael Nordfeldth [Sat, 24 Jan 2015 11:08:05 +0000 (12:08 +0100)]
const'ifying bits and sigalg
Also we should move away from 1024 bit keys as soon as we can.
Mikael Nordfeldth [Sat, 24 Jan 2015 10:52:40 +0000 (11:52 +0100)]
Documentation update for ImageMagick
Mikael Nordfeldth [Sat, 24 Jan 2015 10:38:10 +0000 (11:38 +0100)]
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.
Mikael Nordfeldth [Sat, 24 Jan 2015 10:36:02 +0000 (11:36 +0100)]
resize_animated declared public in ImageMagickPlugin
Mikael Nordfeldth [Fri, 23 Jan 2015 14:04:54 +0000 (15:04 +0100)]
Default value for max thumbnail size increased
Because people have high resolution screens nowadays ;)
Mikael Nordfeldth [Fri, 23 Jan 2015 13:52:02 +0000 (14:52 +0100)]
Hack to force thumbnail generation directly on upload
Remove this when we know that third party frontends like Qvitter have
improved attachment handling.
Mikael Nordfeldth [Fri, 23 Jan 2015 13:46:47 +0000 (14:46 +0100)]
MediaFile->getFile() instead of accessing fileRecord
Mikael Nordfeldth [Fri, 23 Jan 2015 13:32:39 +0000 (14:32 +0100)]
scoped instead of auth_user->getProfile()
Mikael Nordfeldth [Fri, 23 Jan 2015 11:41:51 +0000 (12:41 +0100)]
MapstractionPlugin didn't handle notices without URLs
Mikael Nordfeldth [Fri, 23 Jan 2015 11:40:37 +0000 (12:40 +0100)]
RealtimePlugin didn't handle notices without URLs
Mikael Nordfeldth [Fri, 23 Jan 2015 11:39:08 +0000 (12:39 +0100)]
Allow fallback to local URL on Notice->getUrl()
To avoid verbose exception handling in other parts of the code.
Mikael Nordfeldth [Fri, 23 Jan 2015 11:37:27 +0000 (12:37 +0100)]
Prefer local URLs for all locally generated notices.
Mikael Nordfeldth [Fri, 23 Jan 2015 10:58:11 +0000 (11:58 +0100)]
user is a protected property in UAS/AtomUserNoticeFeed
The bug made it impossible to backup with Favorite ;)
Thanks postblue for reporting.
Mikael Nordfeldth [Thu, 22 Jan 2015 11:38:57 +0000 (12:38 +0100)]
Non-ajax file submissions should throw NoUploadedMediaException
Mikael Nordfeldth [Thu, 22 Jan 2015 11:21:57 +0000 (12:21 +0100)]
ssl_verify_host option in config (default is true)
Mikael Nordfeldth [Thu, 22 Jan 2015 11:16:01 +0000 (12:16 +0100)]
Added a quickGet in HTTPClient
Mikael Nordfeldth [Thu, 22 Jan 2015 10:30:36 +0000 (11:30 +0100)]
Replace file_get_contents with HTTPClient in testfeed
Mikael Nordfeldth [Wed, 21 Jan 2015 22:45:49 +0000 (23:45 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Mikael Nordfeldth [Wed, 21 Jan 2015 22:43:04 +0000 (23:43 +0100)]
Enable AntiBrute by default.
Mikael Nordfeldth [Wed, 21 Jan 2015 22:35:48 +0000 (23:35 +0100)]
AntiBrute plugin, delay + log multiple fail logins
Mikael Nordfeldth [Wed, 21 Jan 2015 21:59:15 +0000 (22:59 +0100)]
Add simpler delete preference for Profile and User
Mikael Nordfeldth [Wed, 21 Jan 2015 21:31:05 +0000 (22:31 +0100)]
EndCheckPassword should run after Start even if pre-exited
StartCheckPassword can exit beforehand either with success or failure,
and we want EndCheckPassword to check for stuff like failed login attempts.