]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
Roland Haeder [Sat, 12 Sep 2015 06:40:19 +0000 (08:40 +0200)]
Yes, you see it? I got confused if it is a Plugin instance or just the plugin's name.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 12 Sep 2015 06:37:58 +0000 (08:37 +0200)]
Always naming it 'plugin' is not good, it can easily confuse. So better name it
'pluginName' when it is actually only the name of the plugin and 'plugin' if it
is the Plugin instance.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 12 Sep 2015 06:36:56 +0000 (08:36 +0200)]
Added type-hint (checked!)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 12 Sep 2015 06:31:50 +0000 (08:31 +0200)]
A bit better test.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 11 Sep 2015 16:51:23 +0000 (18:51 +0200)]
Merge remote-tracking branch 'upstream/master' into social-master
Signed-off-by: Roland Haeder <roland@mxchange.org>
Conflicts:
actions/allrss.php
actions/deletenotice.php
actions/foaf.php
actions/groupbyid.php
actions/grouprss.php
actions/noticesearchrss.php
actions/oauthappssettings.php
actions/oauthconnectionssettings.php
actions/publicrss.php
actions/redirecturl.php
actions/repliesrss.php
actions/robotstxt.php
actions/tagrss.php
actions/userrss.php
classes/Notice.php
lib/rss10action.php
lib/settingsaction.php
plugins/Bookmark/actions/bookmarksrss.php
plugins/DirectMessage/actions/apidirectmessage.php
plugins/Directory/lib/sortablegrouplist.php
plugins/Directory/lib/sortablesubscriptionlist.php
plugins/ExtendedProfile/actions/profiledetail.php
plugins/FacebookBridge/actions/facebooksettings.php
plugins/Favorite/actions/favoritesrss.php
plugins/Favorite/actions/showfavorites.php
plugins/Gravatar/GravatarPlugin.php
plugins/ModLog/ModLogPlugin.php
plugins/SubMirror/actions/mirrorsettings.php
plugins/TwitterBridge/actions/twitterauthorization.php
plugins/TwitterBridge/actions/twitterlogin.php
plugins/TwitterBridge/daemons/twitterstatusfetcher.php
plugins/TwitterBridge/lib/tweetinqueuehandler.php
Mikael Nordfeldth [Sun, 6 Sep 2015 00:04:12 +0000 (02:04 +0200)]
Use Profile objects in Subscription::saveNew
Mikael Nordfeldth [Sun, 6 Sep 2015 00:01:39 +0000 (02:01 +0200)]
Subscription::saveNew is a static function
Mikael Nordfeldth [Sat, 5 Sep 2015 23:54:00 +0000 (01:54 +0200)]
Merge branch 'nightly'
Mikael Nordfeldth [Sat, 5 Sep 2015 23:53:11 +0000 (01:53 +0200)]
introducing html_sprintf for easier sprintf'ing with htmlspecialchars
Mikael Nordfeldth [Fri, 4 Sep 2015 21:12:23 +0000 (23:12 +0200)]
Notice_location class in db/core.php
Mikael Nordfeldth [Fri, 4 Sep 2015 20:30:33 +0000 (22:30 +0200)]
Oops, forgot Notice_location PHP file
Mikael Nordfeldth [Fri, 4 Sep 2015 20:25:11 +0000 (22:25 +0200)]
Move notice location data to Notice_location
Will probably take a _long_ time to do scripts/upgrade.php but don't
worry, it can be aborted and resumed.
Mikael Nordfeldth [Fri, 4 Sep 2015 20:24:01 +0000 (22:24 +0200)]
sys_get_temp_dir was added in PHP 5 >= 5.2.1
Our requirements are higher than that, so let's just remove the workaround
Mikael Nordfeldth [Fri, 4 Sep 2015 18:35:11 +0000 (20:35 +0200)]
Incorrect use of DataObject type matching after ->find()
mmn [Thu, 3 Sep 2015 16:11:28 +0000 (16:11 +0000)]
Merge branch 'configure-docs' into 'nightly'
Add a few missing 'attachments' config options
show_thumbs
show_html
filename_base
See merge request !27
mmn [Thu, 3 Sep 2015 16:11:04 +0000 (16:11 +0000)]
Merge branch 'nightly' into 'nightly'
Adding ChooseTheme plugin into the plugin repository
This merge request propose the plugin ChooseTheme as a part of the plugin repository for GNU social.
See merge request !9
mmn [Thu, 3 Sep 2015 16:10:23 +0000 (16:10 +0000)]
Merge branch 'nginx-sample' into 'nightly'
Add nginx sample configuration
See merge request !23
mmn [Thu, 3 Sep 2015 16:09:38 +0000 (16:09 +0000)]
Merge branch 'webinstaller-faq-link' into 'nightly'
Fix broken link to FAQ in web installer
See merge request !24
Mikael Nordfeldth [Thu, 3 Sep 2015 16:04:13 +0000 (18:04 +0200)]
Suggested edits by hannes2peer
Mikael Nordfeldth [Thu, 3 Sep 2015 15:52:04 +0000 (17:52 +0200)]
Include PHP libraries from system if not packaged and they are installed.
Thanks to:
"Bhuvan Krishna" <bhuvan@swecha.net>
"Sunil Mohan" <sunil@medhas.org>
abjectio [Tue, 18 Aug 2015 20:55:28 +0000 (22:55 +0200)]
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly
Roland Haeder [Sun, 16 Aug 2015 20:46:34 +0000 (22:46 +0200)]
Merge remote-tracking branch 'upstream/master' into social-master
Signed-off-by: Roland Haeder <roland@mxchange.org>
Conflicts:
actions/apitimelinetag.php
Mikael Nordfeldth [Sat, 15 Aug 2015 09:48:39 +0000 (11:48 +0200)]
Mf2 extlib update from https://github.com/indieweb/php-mf2/
Mikael Nordfeldth [Sun, 2 Aug 2015 11:39:38 +0000 (13:39 +0200)]
OpenID extlib updated: Fixes CVE-2014-8150
Mikael Nordfeldth [Sun, 2 Aug 2015 11:39:38 +0000 (13:39 +0200)]
OpenID extlib updated: Fixes CVE-2014-8150
chimo [Sat, 1 Aug 2015 13:24:05 +0000 (09:24 -0400)]
Add a few missing 'attachments' config options
show_thumbs
show_html
filename_base
Chimo [Sat, 25 Jul 2015 14:34:59 +0000 (10:34 -0400)]
Fix broken link to FAQ in web installer
Chimo [Sat, 25 Jul 2015 13:37:10 +0000 (09:37 -0400)]
Add nginx sample configuration
Mikael Nordfeldth [Tue, 21 Jul 2015 00:32:17 +0000 (02:32 +0200)]
UsergroupbyidAction now extends ManagedAction
Mikael Nordfeldth [Tue, 21 Jul 2015 00:17:34 +0000 (02:17 +0200)]
Missing getTarget function in targetedrss10action.php
Mikael Nordfeldth [Sat, 18 Jul 2015 17:19:16 +0000 (19:19 +0200)]
Increased debugging and fixing conversation stitching for saveActivity
Mikael Nordfeldth [Sat, 18 Jul 2015 09:39:34 +0000 (11:39 +0200)]
Exception handling regarding Foreign_link
Mikael Nordfeldth [Sat, 18 Jul 2015 09:04:35 +0000 (11:04 +0200)]
Some missed exception throwing since fixing Foreign_link and Foreign_user
Mikael Nordfeldth [Sat, 18 Jul 2015 00:16:52 +0000 (02:16 +0200)]
Infinite loop on CLI initiated profile deletion for local users
profile deleting user deleting profile deleting user...
Mikael Nordfeldth [Fri, 17 Jul 2015 23:18:08 +0000 (01:18 +0200)]
TwitterBridge working again (for signin and posting to Twitter at least)
Now we just need to make it include the newname suggestion if the form fails
(for example forgetting to check the license checkbox or so).
Mikael Nordfeldth [Fri, 17 Jul 2015 23:09:50 +0000 (01:09 +0200)]
Don't retry unhandled transports in OpportunisticQM
It'd continue trying xmpp transports forever, for example...
Mikael Nordfeldth [Fri, 17 Jul 2015 19:03:37 +0000 (21:03 +0200)]
TwitterBridge is closer to working again
Mikael Nordfeldth [Fri, 17 Jul 2015 16:44:09 +0000 (18:44 +0200)]
TwitterBridge messing about, Twitter OAuth requires Authorization header now?
https://dev.twitter.com/oauth/reference/post/oauth/request_token says that
the request should be a GET with a specific HTTP header instead of query
string parameters for OAuth?
Mikael Nordfeldth [Fri, 17 Jul 2015 15:50:43 +0000 (17:50 +0200)]
Twittersettings now works better as Profilesettings extension
Mikael Nordfeldth [Fri, 17 Jul 2015 15:09:36 +0000 (17:09 +0200)]
SubMirror now works properly as extended from FormAction
Mikael Nordfeldth [Fri, 17 Jul 2015 14:19:02 +0000 (16:19 +0200)]
Poll settings adapted to FormAction
Mikael Nordfeldth [Fri, 17 Jul 2015 14:08:22 +0000 (16:08 +0200)]
OpenID settings aligned with FormAction
Mikael Nordfeldth [Fri, 17 Jul 2015 13:27:47 +0000 (15:27 +0200)]
Early return in FacebookBridge settings action
Mikael Nordfeldth [Fri, 17 Jul 2015 13:24:37 +0000 (15:24 +0200)]
Facebooksettings adapted to FormAction
Mikael Nordfeldth [Fri, 17 Jul 2015 13:16:45 +0000 (15:16 +0200)]
Urlsettings now adapted to FormAction
Mikael Nordfeldth [Fri, 17 Jul 2015 12:40:09 +0000 (14:40 +0200)]
Don't allow imports by default until it works well on large instances.
Mikael Nordfeldth [Fri, 17 Jul 2015 12:29:07 +0000 (14:29 +0200)]
SMS Settings now better adapted to FormAction
Mikael Nordfeldth [Fri, 17 Jul 2015 10:46:24 +0000 (12:46 +0200)]
ExtendedProfile is not something we want by default.
Mikael Nordfeldth [Fri, 17 Jul 2015 10:46:09 +0000 (12:46 +0200)]
ExtendedProfile now works better as extended ProfilesettingsAction
Mikael Nordfeldth [Fri, 17 Jul 2015 10:09:24 +0000 (12:09 +0200)]
ProfilesettingsAction and related stuff modernised
Mikael Nordfeldth [Fri, 17 Jul 2015 09:22:25 +0000 (11:22 +0200)]
Maximum character limit with utf8mb4 is 191 in varchar
Mikael Nordfeldth [Thu, 16 Jul 2015 23:47:43 +0000 (01:47 +0200)]
PasswordsettingsAction aligned with FormAction
Also made some changes in the password "munging" function call
common_munge_password to accept a profile instead of user ID (which
was only there because stoneage StatusNet used the ID to generate a
not-very-random salt, but nowadays we primarily use AuthCrypt plugin).
Mikael Nordfeldth [Thu, 16 Jul 2015 23:18:28 +0000 (01:18 +0200)]
oldschool settings adapted to FormAction
TODO: Rename this "Layout", "Display" or something, since it might
actually be interesting to have non-threaded views for some users.
Mikael Nordfeldth [Thu, 16 Jul 2015 22:20:46 +0000 (00:20 +0200)]
OAuth stuff adapted for FormAction
TODO: Break OAuth out into a plugin.
Mikael Nordfeldth [Thu, 16 Jul 2015 21:58:04 +0000 (23:58 +0200)]
If XMLOutputter $output arg is null, use php://output
Since pushing a null value to the argument actually sets it to null
and not the default fallback (previously $output='php://output');
Mikael Nordfeldth [Thu, 16 Jul 2015 19:18:50 +0000 (21:18 +0200)]
ImSettings adapted to FormAction inheritance
TODO: Get separate Form classes and move User_im_prefs to Profile_prefs
Mikael Nordfeldth [Thu, 16 Jul 2015 17:42:37 +0000 (19:42 +0200)]
EmailSettingsAction adapted to FormAction
TODO: EmailSettingsForm as a separate class would be good!
Mikael Nordfeldth [Thu, 16 Jul 2015 17:21:12 +0000 (19:21 +0200)]
AvatarSettings more aligned to FormAction
TODO: Make classes called AvatarCropForm and AvatarUploadForm
Mikael Nordfeldth [Thu, 16 Jul 2015 17:03:53 +0000 (19:03 +0200)]
SettingsAction now extends FormAction (and thus ManagedAction)
Mikael Nordfeldth [Thu, 16 Jul 2015 16:52:43 +0000 (18:52 +0200)]
OAuth widgets separated into their own files
Mikael Nordfeldth [Thu, 16 Jul 2015 16:45:59 +0000 (18:45 +0200)]
Function declarations to match parent class
Mikael Nordfeldth [Thu, 16 Jul 2015 10:53:10 +0000 (12:53 +0200)]
Non-replies cannot harvest parent notice nicknames
A feature we use of parent notices is that if you use the same @user
as the parent notice, the same @user will be notified, regardless if
there might be @user@site.com as well as @user@example.com and you're
subscribed to just one of them (or both, or none of them!).
But this threw an exception since we tested this on new notice threads.
Mikael Nordfeldth [Wed, 15 Jul 2015 17:21:21 +0000 (19:21 +0200)]
Less redundant code.
Mikael Nordfeldth [Tue, 14 Jul 2015 14:52:20 +0000 (16:52 +0200)]
Removing MicroID as well as simplifying profileaction
sorry, forgot to commit in between
abjectio [Sun, 12 Jul 2015 08:40:24 +0000 (10:40 +0200)]
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly
Mikael Nordfeldth [Sat, 11 Jul 2015 17:48:18 +0000 (19:48 +0200)]
userrss action didn't call parent preparation method
Mikael Nordfeldth [Sat, 11 Jul 2015 17:46:01 +0000 (19:46 +0200)]
Do we update feeduri and salmonuri for Ostatus_profile now?
When changing from HTTP to HTTPS, following up on commit
59763ceecb33ebf842829cac15f922fa19047de2
where http to https Ostatus_profile URI changing was first introduced.
Mikael Nordfeldth [Sat, 11 Jul 2015 09:26:48 +0000 (11:26 +0200)]
More RESTish URL (/notice/:notice/delete) for notice delete
Also returns to 'top' now after notice deletion.
Mikael Nordfeldth [Sat, 11 Jul 2015 09:16:08 +0000 (11:16 +0200)]
DeletenoticeForm is its own class now
Mikael Nordfeldth [Sat, 11 Jul 2015 09:09:16 +0000 (11:09 +0200)]
No limit argument to Rss10Action->getNotices() (use $this->limit)
Mikael Nordfeldth [Sat, 11 Jul 2015 08:49:41 +0000 (10:49 +0200)]
Merge branch 'nightly' into deletenotice_form_fix
Mikael Nordfeldth [Fri, 10 Jul 2015 23:00:04 +0000 (01:00 +0200)]
bump alpha number to ease remote debugging help
Mikael Nordfeldth [Fri, 10 Jul 2015 22:32:05 +0000 (00:32 +0200)]
Forgot to push TargetedRss10Action
Mikael Nordfeldth [Fri, 10 Jul 2015 22:28:32 +0000 (00:28 +0200)]
ShowfavoritesAction now extends ShowstreamAction
Mikael Nordfeldth [Fri, 10 Jul 2015 22:08:23 +0000 (00:08 +0200)]
define Subscription_queue::exists as static
Mikael Nordfeldth [Fri, 10 Jul 2015 21:30:59 +0000 (23:30 +0200)]
$notices and $notice is not the same, silly!
Mikael Nordfeldth [Fri, 10 Jul 2015 21:30:17 +0000 (23:30 +0200)]
ApiAction::dateTwitter was called statically from a plugin
Mikael Nordfeldth [Fri, 10 Jul 2015 21:24:50 +0000 (23:24 +0200)]
MagicEnvelope called DOMDocument::loadXML statically
but apparently we shouldn't do this, despite recommended on https://secure.php.net/manual/en/domdocument.loadxml.php
Mikael Nordfeldth [Fri, 10 Jul 2015 21:19:54 +0000 (23:19 +0200)]
Cleaning up Directory plugin lists
Mikael Nordfeldth [Fri, 10 Jul 2015 21:10:24 +0000 (23:10 +0200)]
FoafAction now a ManagedAction
Mikael Nordfeldth [Fri, 10 Jul 2015 21:09:44 +0000 (23:09 +0200)]
ShowstreamAction no longer has public ->profile
Mikael Nordfeldth [Fri, 10 Jul 2015 20:54:14 +0000 (22:54 +0200)]
Forgotten migrations of ->profile and ->user to ->getTarget()
GalleryAction extends ProfileAction which no longer uses ->profile and ->user
Mikael Nordfeldth [Fri, 10 Jul 2015 20:49:38 +0000 (22:49 +0200)]
The 'target' is an argument to common_local_url not the target profile
Mikael Nordfeldth [Fri, 10 Jul 2015 14:03:41 +0000 (16:03 +0200)]
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly
mmn [Fri, 10 Jul 2015 14:03:30 +0000 (14:03 +0000)]
Merge branch 'jquery-cookie-undefined' into 'nightly'
Updates jquery.cookie usage to match changes from v1.4.0
`$.cookie('name')` returns `undefined` instead of `null` when cookie is not present.
This fixes a problem where the browser was never asking for location,
and the JSON.parse call was throwing an exception when the geolocation
cookie wasn't present.
Deleting a cookie should use `$.removeCookie('name')` instead of `$.cookie('name', null)`.
[Reference](https://github.com/carhartl/jquery-cookie/blob/
7f88a4e631aba8a8c688fd8999ce6b9bcfd50718 /CHANGELOG.md#140).
See merge request !20
Mikael Nordfeldth [Fri, 10 Jul 2015 14:02:55 +0000 (16:02 +0200)]
Merge branch 'master' into nightly
mmn [Fri, 10 Jul 2015 14:01:49 +0000 (14:01 +0000)]
Merge branch 'permissions-fix' into 'master'
Permissions fix
During Debian packaging I noticed that executable permissions on several files are incorrect. In the fist case files such as .gitignore, .png, .ico were wrongly set as executable. In the second case, files that are meant to be running on the command line such as maintenance scripts starting with "#!/usr/bin/env php" do not have executable permissions. These files were identified by lintian automatic checking program. This merge request aims to fix the problem.
See merge request !21
Mikael Nordfeldth [Fri, 10 Jul 2015 11:54:06 +0000 (13:54 +0200)]
Merge branch 'nightly' into deletenotice_form_fix
Mikael Nordfeldth [Fri, 10 Jul 2015 11:44:47 +0000 (13:44 +0200)]
ShowstreamAction tidying up
Lots of these changes mean that we're requiring certain values to
either by typed properly or return the expected value. If it doesn't
there should be a fatal exception thrown which we can followup in the
logs and won't go silently suppressed.
Mikael Nordfeldth [Fri, 10 Jul 2015 10:59:19 +0000 (12:59 +0200)]
static definition of User::getByNickname
Mikael Nordfeldth [Fri, 10 Jul 2015 10:34:06 +0000 (12:34 +0200)]
ShowstreamAction fixes so it's not as horrible
Mikael Nordfeldth [Fri, 10 Jul 2015 10:23:55 +0000 (12:23 +0200)]
Spiff up the PersonalTagCloudSection class
missing a fix in actions/showstream.php for the switched position
of arguments in the constructor
Mikael Nordfeldth [Fri, 10 Jul 2015 10:19:08 +0000 (12:19 +0200)]
Easy comparison of two Profile objects
Mikael Nordfeldth [Fri, 10 Jul 2015 10:08:33 +0000 (12:08 +0200)]
RedirecturlAction now extends ManagedAction
Bhuvan Krishna [Fri, 10 Jul 2015 09:16:08 +0000 (14:46 +0530)]
Add executable permission to script missing it
Bhuvan Krishna [Fri, 10 Jul 2015 08:52:02 +0000 (14:22 +0530)]
Remove executable permissions where unnecessary
Mikael Nordfeldth [Thu, 9 Jul 2015 22:52:22 +0000 (00:52 +0200)]
delete notice form fix
Mikael Nordfeldth [Thu, 9 Jul 2015 22:28:36 +0000 (00:28 +0200)]
Introducing TargetedRss10Action for simplifying RSS 1.0
Mikael Nordfeldth [Thu, 9 Jul 2015 22:27:26 +0000 (00:27 +0200)]
/:nickname/all/rss had to be before /:tagger/all/:tag
...though this makes it impossible to get a list called "rss"
so FIXME, the RSS 1.0 actions should be in the API or something
Mikael Nordfeldth [Thu, 9 Jul 2015 22:08:09 +0000 (00:08 +0200)]
Need to supply data to NoSuchUserException