]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
Roland Häder [Thu, 22 Jan 2015 12:37:29 +0000 (13:37 +0100)]
Merge branch 'nightly' of gitorious.org:social/quix0rs-gnu-social into nightly
Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
Roland Häder [Thu, 22 Jan 2015 12:36:26 +0000 (13:36 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Conflicts:
actions/apiaccountverifycredentials.php
actions/apimediaupload.php
actions/public.php
actions/register.php
plugins/OStatus/scripts/update_ostatus_profiles.php
plugins/OpportunisticQM/lib/opportunisticqueuemanager.php
Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
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.
Mikael Nordfeldth [Wed, 21 Jan 2015 21:06:27 +0000 (22:06 +0100)]
Only check if a nickname exists if site is non-private
Mikael Nordfeldth [Wed, 21 Jan 2015 21:06:27 +0000 (22:06 +0100)]
Only check if a nickname exists if site is non-private
Roland Haeder [Wed, 21 Jan 2015 18:40:47 +0000 (19:40 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
Conflicts:
actions/apimediaupload.php
actions/register.php
plugins/OStatus/scripts/update_ostatus_profiles.php
plugins/OpportunisticQM/lib/opportunisticqueuemanager.php
Mikael Nordfeldth [Wed, 21 Jan 2015 16:32:57 +0000 (17:32 +0100)]
MediaFile upload simplifying
Mikael Nordfeldth [Wed, 21 Jan 2015 15:43:46 +0000 (16:43 +0100)]
GIF support (I know you love it)
make sure you have php5-imagick and then enable with addPlugin('ImageMagick')
Mikael Nordfeldth [Wed, 21 Jan 2015 12:02:46 +0000 (13:02 +0100)]
NewmessageAction lacked the $form property
Roland Haeder [Tue, 20 Jan 2015 22:36:16 +0000 (23:36 +0100)]
Merge branch 'social-master' into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 18 Jan 2015 13:09:06 +0000 (14:09 +0100)]
Merge branch 'merge-requests/30' into social-master
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Mon, 19 Jan 2015 19:36:29 +0000 (20:36 +0100)]
xcache plugin is not recommended anymore
Mikael Nordfeldth [Sun, 18 Jan 2015 20:13:52 +0000 (21:13 +0100)]
These were meant for lower classes
Roland Haeder [Sun, 18 Jan 2015 13:09:06 +0000 (14:09 +0100)]
Merge branch 'merge-requests/30' into social-master
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 18 Jan 2015 13:08:57 +0000 (14:08 +0100)]
Merge branch 'merge-requests/29' into social-master
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 18 Jan 2015 13:08:31 +0000 (14:08 +0100)]
Merge commit 'refs/merge-requests/30' of https://gitorious.org/social/mainline into merge-requests/30
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 18 Jan 2015 12:50:37 +0000 (13:50 +0100)]
Yay! Wrong variable, wrong bait, wrong fish.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 18 Jan 2015 12:48:10 +0000 (13:48 +0100)]
Always chmod 0644 to have other processes read the image (e.g. the queue daemon may need to read it for resizing it).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 18 Jan 2015 12:32:28 +0000 (13:32 +0100)]
Avoid invalid width/height (<1) + debug log added
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 18 Jan 2015 12:25:18 +0000 (13:25 +0100)]
Added a lot debug infos.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Sun, 18 Jan 2015 12:06:12 +0000 (13:06 +0100)]
Registration coding cleanup
Mainly there was an Undefined variable: code in apiaccountregister.php
Mikael Nordfeldth [Sun, 18 Jan 2015 11:56:17 +0000 (12:56 +0100)]
Bad variable reference (needed $this->)
Mikael Nordfeldth [Sun, 18 Jan 2015 11:52:33 +0000 (12:52 +0100)]
PHP BUG??? Cannot figure out why this throws warning
I kept getting this on "Quitter España" (which seems to be the name
causing the commotion, as it's part of this sprintf algorithm):
PHP Warning: sprintf(): Argument number must be greater than zero
in /srv/www/vhosts/quitter.es/%/htdocs/lib/action.php on line 1175
I'll just make it quiet for now so it doesn't spam other sites with
UTF-8 characters in their name (if that's what's causing this).
Roland Haeder [Sun, 18 Jan 2015 07:20:32 +0000 (08:20 +0100)]
Added missing method TagSub::getProfile()
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 18 Jan 2015 07:02:49 +0000 (08:02 +0100)]
Added missing SearchSub::getProfile() method.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 18 Jan 2015 05:57:05 +0000 (06:57 +0100)]
$sender cannot be only Profile ... (false found).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 18 Jan 2015 06:07:00 +0000 (07:07 +0100)]
Added fixup script to fix bad profile URLs:
https://social.mxchange.org/conversation/83342#notice-83342
"I have written a small fixup script that fixes invalid profile URLs: If the
group is a remote group but #profileurl shows to
https://your.instance.tld/group/groupname then the profileurl field must be
fixed. cc !gnusocial I will commit it very soon."
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 18 Jan 2015 06:07:00 +0000 (07:07 +0100)]
Added fixup script to fix bad profile URLs:
https://social.mxchange.org/conversation/83342#notice-83342
"I have written a small fixup script that fixes invalid profile URLs: If the
group is a remote group but #profileurl shows to
https://your.instance.tld/group/groupname then the profileurl field must be
fixed. cc !gnusocial I will commit it very soon."
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 18 Jan 2015 05:57:05 +0000 (06:57 +0100)]
$sender cannot be only Profile ... (false found).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Sun, 18 Jan 2015 01:57:08 +0000 (02:57 +0100)]
holy crap, file_put_contents got args in wrong order
Mikael Nordfeldth [Sun, 18 Jan 2015 01:48:39 +0000 (02:48 +0100)]
Keep the old error message on updateAvatar
Mikael Nordfeldth [Sun, 18 Jan 2015 01:44:55 +0000 (02:44 +0100)]
Use HTTPClient to download avatar
also make updateAvatar public so we can call it from update_ostatus_profile.php
Mikael Nordfeldth [Sun, 18 Jan 2015 01:39:08 +0000 (02:39 +0100)]
Loose_Ostatusprofile::updateAvatar was identical to Ostatus_profile
Mikael Nordfeldth [Sun, 18 Jan 2015 00:43:30 +0000 (01:43 +0100)]
A bit more readable code.
Mikael Nordfeldth [Sat, 17 Jan 2015 23:18:28 +0000 (00:18 +0100)]
Don't hide the compose buttons in input_form_nav
Mikael Nordfeldth [Sat, 17 Jan 2015 12:38:59 +0000 (13:38 +0100)]
No need to say we're finished working
Roland Haeder [Sat, 17 Jan 2015 11:39:34 +0000 (12:39 +0100)]
Merge commit 'refs/merge-requests/29' of https://gitorious.org/social/mainline into merge-requests/29
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Sat, 17 Jan 2015 11:09:50 +0000 (12:09 +0100)]
Icons slightly too large, broke the line!
At least on quitter.es
Mikael Nordfeldth [Sat, 17 Jan 2015 11:07:57 +0000 (12:07 +0100)]
twitPic no longer exists/is active
Mikael Nordfeldth [Sat, 17 Jan 2015 11:06:08 +0000 (12:06 +0100)]
spring cleaning in Oembed helper list
Fixed http -> https and removed some dead services
aroquen [Fri, 16 Jan 2015 22:38:54 +0000 (23:38 +0100)]
Fix footer in plugins' notices.
Make it look like like normal notices. Footer element was missing.
roque [Fri, 16 Jan 2015 22:38:54 +0000 (23:38 +0100)]
Fix footer in plugins' notices.
Make it look like like normal notices. Footer element was missing.
aroquen [Fri, 16 Jan 2015 22:37:09 +0000 (23:37 +0100)]
Reduce tag margin in bookmark notice
roque [Fri, 16 Jan 2015 22:37:09 +0000 (23:37 +0100)]
Reduce tag margin in bookmark notice
aroquen [Fri, 16 Jan 2015 22:28:07 +0000 (23:28 +0100)]
Move bookmark's tags after description
roque [Fri, 16 Jan 2015 22:28:07 +0000 (23:28 +0100)]
Move bookmark's tags after description
aroquen [Fri, 16 Jan 2015 22:27:07 +0000 (23:27 +0100)]
Better frame and spacing for bookmark title
roque [Fri, 16 Jan 2015 22:27:07 +0000 (23:27 +0100)]
Better frame and spacing for bookmark title
Mikael Nordfeldth [Fri, 16 Jan 2015 22:27:29 +0000 (23:27 +0100)]
neo-quitter theme from hannesmannerheim
Hopefully we'll maintain it here rather than on the origin repository:
https://github.com/hannesmannerheim/neo-quitter
Mikael Nordfeldth [Fri, 16 Jan 2015 15:36:53 +0000 (16:36 +0100)]
Spacing between .u-photo and .p-name in notices
Roland Häder [Fri, 16 Jan 2015 11:58:23 +0000 (12:58 +0100)]
Merge branch 'master' of gitorious.org:social/mainline into social-master
Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
Mikael Nordfeldth [Fri, 16 Jan 2015 11:10:13 +0000 (12:10 +0100)]
...and don't hide it at all since we don't have a placeholder now
Mikael Nordfeldth [Fri, 16 Jan 2015 11:00:45 +0000 (12:00 +0100)]
Don't close main notice input on init if composing
Roland Häder [Fri, 16 Jan 2015 10:54:27 +0000 (11:54 +0100)]
Merge branch 'master' of gitorious.org:social/mainline into social-master
Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
Mikael Nordfeldth [Fri, 16 Jan 2015 10:19:22 +0000 (11:19 +0100)]
Initially hide input forms on the top
The status input element would attract focus after page load, meaning
if you'd scrolled down a bit then you would be rocketed back up again!
Roland Häder [Fri, 16 Jan 2015 09:56:00 +0000 (10:56 +0100)]
Merge branch 'master' of gitorious.org:social/mainline into social-master
Conflicts:
actions/atompubmembershipfeed.php
actions/atompubshowmembership.php
actions/atompubsubscriptionfeed.php
plugins/OStatus/actions/peopletagsalmon.php
plugins/OStatus/classes/Ostatus_profile.php
plugins/OStatus/lib/salmonaction.php
scripts/stopdaemons.sh
Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
Mikael Nordfeldth [Fri, 16 Jan 2015 00:12:19 +0000 (01:12 +0100)]
version push, we've got some HTML/CSS changes
Mikael Nordfeldth [Fri, 16 Jan 2015 00:10:55 +0000 (01:10 +0100)]
Add nohub config setting to allowed non-PuSH feeds
Mikael Nordfeldth [Thu, 15 Jan 2015 20:14:07 +0000 (21:14 +0100)]
removed debugging lines for FeedPoller
Mikael Nordfeldth [Thu, 15 Jan 2015 20:13:21 +0000 (21:13 +0100)]
RSS feed items did not get a type assigned
Mikael Nordfeldth [Wed, 14 Jan 2015 00:16:28 +0000 (01:16 +0100)]
FeedPoller plugin, for hubless feeds
Mikael Nordfeldth [Tue, 13 Jan 2015 12:43:18 +0000 (13:43 +0100)]
Ensuring unknown profiles in salmon slaps work again
Mikael Nordfeldth [Tue, 13 Jan 2015 12:22:23 +0000 (13:22 +0100)]
Better test to see if uploaded media exists
Mikael Nordfeldth [Tue, 13 Jan 2015 12:18:57 +0000 (13:18 +0100)]
Abort on failure instead of return early success
Mikael Nordfeldth [Tue, 13 Jan 2015 11:56:56 +0000 (12:56 +0100)]
Those variables were set for a reason
The ->_subscription variable etc. were set because they were used later.
Mikael Nordfeldth [Mon, 12 Jan 2015 18:22:10 +0000 (19:22 +0100)]
getUrl() fixed for File and File_thumbnail to correct http/https stuff and other
Mikael Nordfeldth [Mon, 12 Jan 2015 17:56:19 +0000 (18:56 +0100)]
When called in offline queue, File::url was HTTP
Despite having the site configured "always" for HTTPS, File generated
thumbnails and such with HTTP urls.
Mikael Nordfeldth [Mon, 12 Jan 2015 11:13:34 +0000 (12:13 +0100)]
newnotice action always returns the notice's URL
Maybe could return conversation URL, but this will do for now.
Courtesy of the Javascript haters.
Mikael Nordfeldth [Mon, 12 Jan 2015 11:13:03 +0000 (12:13 +0100)]
Make sure we add ajax=1 to inputform if using javascript
Mikael Nordfeldth [Mon, 12 Jan 2015 11:06:19 +0000 (12:06 +0100)]
ArrayWrapper spookiness, must make sure it's a Notice there...
Mikael Nordfeldth [Mon, 12 Jan 2015 10:47:21 +0000 (11:47 +0100)]
ensureActivityObjectProfile is more thorough than createAct...
Mikael Nordfeldth [Mon, 12 Jan 2015 02:15:41 +0000 (03:15 +0100)]
Simplified by adding an abstract AtompubAction
Mikael Nordfeldth [Mon, 12 Jan 2015 01:28:03 +0000 (02:28 +0100)]
The real [Start|End]NewAtomPubActivity event definition
Mikael Nordfeldth [Mon, 12 Jan 2015 01:23:23 +0000 (02:23 +0100)]
Found some unreachable code in Favorite
The portion after StartAtomPubNewActivity would never be reached since
Favorite handles that activity through ActivityHandlerPlugin nowadays.
So I cleaned it up and followed a couple of paths, making stuff prettier.
Mikael Nordfeldth [Mon, 12 Jan 2015 01:01:26 +0000 (02:01 +0100)]
ensureProfile already done and stored in $this->oprofile
Mikael Nordfeldth [Sat, 10 Jan 2015 01:07:39 +0000 (02:07 +0100)]
Support for updated aliases
will verify unknown aliases against old ones if the new identifies as a
previously recognized URI.
Steps:
1. Check the newly received URI. Who does it say it is?
2. Compare these alleged identities to our local database.
3. If we found any locally stored identities, ask it about its aliases.
4. Do any of the aliases from our known identity match the recently introduced one?
Currently we do _not_ update the ostatus_profile table with the new URI.
Mikael Nordfeldth [Sat, 10 Jan 2015 00:46:54 +0000 (01:46 +0100)]
abstract declaration of GroupSection
Mikael Nordfeldth [Fri, 9 Jan 2015 14:46:35 +0000 (15:46 +0100)]
section control over their notice lists + HTML id stuff
Roland Häder [Fri, 9 Jan 2015 08:13:14 +0000 (09:13 +0100)]
Merge branch 'master' into social-master
Conflicts:
lib/menu.php
plugins/AccountManager/AccountManagerPlugin.php
plugins/ActivitySpam/ActivitySpamPlugin.php
plugins/BitlyUrl/BitlyUrlPlugin.php
plugins/Blacklist/BlacklistPlugin.php
plugins/Blog/BlogPlugin.php
plugins/Bookmark/BookmarkPlugin.php
plugins/Directory/DirectoryPlugin.php
plugins/Event/EventPlugin.php
plugins/FacebookBridge/FacebookBridgePlugin.php
plugins/GroupPrivateMessage/GroupPrivateMessagePlugin.php
plugins/OStatus/OStatusPlugin.php
plugins/Poll/PollPlugin.php
plugins/QnA/QnAPlugin.php
plugins/Realtime/RealtimePlugin.php
plugins/Sample/SamplePlugin.php
plugins/SearchSub/SearchSubPlugin.php
plugins/Sitemap/SitemapPlugin.php
plugins/SlicedFavorites/SlicedFavoritesPlugin.php
plugins/SubMirror/SubMirrorPlugin.php
plugins/TagSub/TagSubPlugin.php
plugins/TwitterBridge/TwitterBridgePlugin.php
plugins/UserFlag/UserFlagPlugin.php
plugins/YammerImport/YammerImportPlugin.php
Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
Roland Häder [Fri, 9 Jan 2015 08:08:55 +0000 (09:08 +0100)]
Maybe this message will be needed some day ...
Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
Roland Häder [Fri, 9 Jan 2015 08:01:54 +0000 (09:01 +0100)]
In multiple catch blocks you can always specify the same variable in each block
as it will be reinitialized in the next block.
Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
Roland Häder [Fri, 9 Jan 2015 07:55:34 +0000 (08:55 +0100)]
Merge remote-tracking branch 'upstream/master'
Conflicts:
plugins/Poll/lib/polllistitem.php
Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
Mikael Nordfeldth [Thu, 8 Jan 2015 19:38:11 +0000 (20:38 +0100)]
styling fixes to primary aside section
Mikael Nordfeldth [Thu, 8 Jan 2015 19:29:09 +0000 (20:29 +0100)]
Actually use the PrimaryNoticeList in actions
Mikael Nordfeldth [Thu, 8 Jan 2015 19:19:43 +0000 (20:19 +0100)]
new noticelist classes for primary and section lists
Mikael Nordfeldth [Thu, 8 Jan 2015 19:07:10 +0000 (20:07 +0100)]
Reuse NoticeList for NoticeSection listing
Something smarter than the 'addressees' and 'attachments' booleans etc.
is desired.
Mikael Nordfeldth [Thu, 8 Jan 2015 17:13:33 +0000 (18:13 +0100)]
CC license fixes (no remote image, https for href)
Mikael Nordfeldth [Thu, 8 Jan 2015 17:04:46 +0000 (18:04 +0100)]
status update placeholder removed, javascript not required to post
Mikael Nordfeldth [Thu, 8 Jan 2015 16:33:09 +0000 (17:33 +0100)]
Don't show notice form navs on newnotice action
Mikael Nordfeldth [Thu, 8 Jan 2015 15:48:42 +0000 (16:48 +0100)]
Merge commit 'refs/merge-requests/28' of https://gitorious.org/social/mainline into merge-requests/28
Mikael Nordfeldth [Thu, 8 Jan 2015 15:42:26 +0000 (16:42 +0100)]
HTML5 + CSS adaptions, may cause visual breaks
Joshua Judson Rosen [Wed, 31 Dec 2014 04:56:33 +0000 (23:56 -0500)]
OStatusPlugin: fix ensureProfile catch-22 in onCheckActivityAuthorship()
Use profile URL (not URI), like elsewhere.
Profile::getUri() doesn't actually do anything useful, here--
it does nothing unless a plugin (like OStatus) is already
able to resolve the Profile into a backend object (e.g.: an Ostatus_profile).
If we might not already have an Ostatus_profile for a given Profile,
then we need to use $profile->getUrl() and fetch the data from that URL.