]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
hannes [Fri, 29 Jan 2016 00:34:32 +0000 (00:34 +0000)]
the last url in the redirection chain can actually also be a redirection (e.g. if it's one of our /attachment/{file_id} links)
Mikael Nordfeldth [Thu, 28 Jan 2016 13:43:01 +0000 (14:43 +0100)]
Changelog deleted in php-gettext
Mikael Nordfeldth [Thu, 28 Jan 2016 13:40:47 +0000 (14:40 +0100)]
php-gettext extlib updated as req !88
Thanks postblue
Mikael Nordfeldth [Thu, 28 Jan 2016 13:29:24 +0000 (14:29 +0100)]
Markdown library updated to 1.6.0, merge req !90
Thanks postblue
Mikael Nordfeldth [Thu, 28 Jan 2016 13:24:03 +0000 (14:24 +0100)]
htmLawed updated (manually merging !89)
Thanks postblue
Mikael Nordfeldth [Thu, 28 Jan 2016 12:48:44 +0000 (13:48 +0100)]
Meh, let's just remove FirePHP, I don't think anyone uses it
mmn [Thu, 28 Jan 2016 12:41:34 +0000 (12:41 +0000)]
Merge branch 'update-extlib-firephp' into 'nightly'
Update FirefPHP Core to v0.4.0 released on 23 Apr 2013
See merge request !92
Mikael Nordfeldth [Thu, 28 Jan 2016 12:34:45 +0000 (13:34 +0100)]
Manual merge of !87 Update LDAP2 extlib to 2.2.0 (stable) released on 2015-10-30
Thanks postblue
Mikael Nordfeldth [Wed, 27 Jan 2016 22:04:19 +0000 (23:04 +0100)]
Haha, forgot that the $content content must also be there!
Mikael Nordfeldth [Wed, 27 Jan 2016 21:43:37 +0000 (22:43 +0100)]
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into mmn_fixes
Mikael Nordfeldth [Wed, 27 Jan 2016 21:41:53 +0000 (22:41 +0100)]
Don't add space if there's no string in new notice content
Mikael Nordfeldth [Wed, 27 Jan 2016 21:39:43 +0000 (22:39 +0100)]
Allow empty new-notice content via web if there's an upload
mmn [Tue, 26 Jan 2016 21:16:24 +0000 (21:16 +0000)]
Merge branch 'json_encode_fail_branch' into 'nightly'
output error if json_encode fails
See merge request !86
mmn [Tue, 26 Jan 2016 21:15:25 +0000 (21:15 +0000)]
Merge branch 'mention_branch' into 'nightly'
correct mentions if parent mentions multiple users with same nickname (don't use first one for all)
See merge request !82
Mikael Nordfeldth [Tue, 26 Jan 2016 21:10:23 +0000 (22:10 +0100)]
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into mmn_fixes
mmn [Tue, 26 Jan 2016 21:09:07 +0000 (21:09 +0000)]
Merge branch 'oembed_thumbnail_branch' into 'nightly'
add a thumbnail to oembed response
just something i added to quitim
See merge request !85
Mikael Nordfeldth [Mon, 25 Jan 2016 19:22:16 +0000 (20:22 +0100)]
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into mmn_fixes
mmn [Mon, 25 Jan 2016 19:21:52 +0000 (19:21 +0000)]
Merge branch 'file_redirection_cleanup_branch' into 'nightly'
Proper URL redirection fix
This greatly reduces the number of times GNU social looks up the same URL with File_redirection::where().
Someone must have mixed up the exlib's internal setting "follow_redirects" with our own.
This also makes away with the weird backwards recursive handling of protected URLs in File_redirection::lookupWhere(), by saving the chain of redirects the first time HTTPClient:send() looks them up.
See merge request !95
hannes [Mon, 25 Jan 2016 19:10:35 +0000 (19:10 +0000)]
remove my ugly debug info
hannes [Mon, 25 Jan 2016 19:03:26 +0000 (19:03 +0000)]
config['follow_redirects'] is the extlib's config! if max_redirs is set we want to do our own redirection following in this function
hannes [Mon, 25 Jan 2016 19:00:46 +0000 (19:00 +0000)]
add our own protected urls
hannes [Mon, 25 Jan 2016 19:00:05 +0000 (19:00 +0000)]
File and File_redirection records are saved in File_redirection::where() now
hannes [Mon, 25 Jan 2016 18:55:48 +0000 (18:55 +0000)]
save File and File_redirection records in File_redirection::where(), because then we will have to run where() over and over again
Mikael Nordfeldth [Mon, 25 Jan 2016 15:54:40 +0000 (16:54 +0100)]
Show plain text files on attachment page.
postblue [Sun, 24 Jan 2016 20:11:38 +0000 (21:11 +0100)]
Update FirefPHP Core to v0.4.0 released on 23 Apr 2013
Mikael Nordfeldth [Sun, 24 Jan 2016 11:47:31 +0000 (12:47 +0100)]
Harmonize, clarify, categorize URL schemes
Regular expression + avoid-redirection list now match each other.
Mikael Nordfeldth [Sun, 24 Jan 2016 11:42:53 +0000 (12:42 +0100)]
Allow bitcoin scheme to URLs
hannes [Sat, 23 Jan 2016 15:01:27 +0000 (15:01 +0000)]
output error if json_encode fails
Mikael Nordfeldth [Fri, 22 Jan 2016 11:19:17 +0000 (12:19 +0100)]
use connect_timeout value for execution margin
hannes [Thu, 21 Jan 2016 18:48:30 +0000 (18:48 +0000)]
add a thumbnail to oembed response
Mikael Nordfeldth [Thu, 21 Jan 2016 01:49:34 +0000 (02:49 +0100)]
Removing unnecessary debug messages etc.
Mikael Nordfeldth [Thu, 21 Jan 2016 01:37:38 +0000 (02:37 +0100)]
Only set selectVerbs if it's not set in class var
Mikael Nordfeldth [Thu, 21 Jan 2016 01:37:07 +0000 (02:37 +0100)]
i18n
Mikael Nordfeldth [Thu, 21 Jan 2016 01:33:43 +0000 (02:33 +0100)]
We want the profile stream to be as raw as possible!
Mikael Nordfeldth [Thu, 21 Jan 2016 01:20:50 +0000 (02:20 +0100)]
Various last fixes to RSVP I think
Mikael Nordfeldth [Thu, 21 Jan 2016 01:10:34 +0000 (02:10 +0100)]
Working on some RSVP code stuff
Mikael Nordfeldth [Wed, 20 Jan 2016 20:37:14 +0000 (21:37 +0100)]
Throw NoObjectTypeException on Notice->getObjectType if no string
Mikael Nordfeldth [Wed, 20 Jan 2016 20:07:55 +0000 (21:07 +0100)]
Add xcal namespaces to location and url in event
Also, for fun, add stuff for RSS event module, see:
http://web.resource.org/rss/1.0/modules/event/
Mikael Nordfeldth [Wed, 20 Jan 2016 15:10:10 +0000 (16:10 +0100)]
Cancelling RSVPs now seems to work.
Mikael Nordfeldth [Wed, 20 Jan 2016 14:33:18 +0000 (15:33 +0100)]
Merge branch 'master' into mmn_fixes
Mikael Nordfeldth [Wed, 20 Jan 2016 13:55:41 +0000 (14:55 +0100)]
Handle exceptions when salmon slapping
Make it so notifyDeferred actually _always_ throws exceptions and handle
them in the places it is called.
Mikael Nordfeldth [Sat, 16 Jan 2016 16:18:14 +0000 (17:18 +0100)]
In very specific circumstances we can bulkDistribute 0 notices
Seems to be what caused an infinite loop on quitter.es, or I guess so anyway.
Mikael Nordfeldth [Sat, 16 Jan 2016 16:34:27 +0000 (17:34 +0100)]
bulkDistribute won't add empty lists to database
Mikael Nordfeldth [Wed, 20 Jan 2016 13:55:41 +0000 (14:55 +0100)]
Handle exceptions when salmon slapping
Make it so notifyDeferred actually _always_ throws exceptions and handle
them in the places it is called.
hannes [Tue, 19 Jan 2016 13:41:25 +0000 (13:41 +0000)]
correct mentions if parent mention multiple users with same nickname (don't use first one for all)
Mikael Nordfeldth [Tue, 19 Jan 2016 00:41:06 +0000 (01:41 +0100)]
Started fiddling with CancelRSVP but more must be done
Remember to make event_uri be the selector for CancelRSVPForm and
preferrably even merge it into RSVPForm!
Mikael Nordfeldth [Tue, 19 Jan 2016 00:33:09 +0000 (01:33 +0100)]
RSVP stuff, mostly forms.
Now fix CancelRSVP stuff so it gets by event_uri and can cancel existing RSVP.
Mikael Nordfeldth [Tue, 19 Jan 2016 00:10:06 +0000 (01:10 +0100)]
RSVPs seem to be created now, just gotta fix CancelrsvpAction
Mikael Nordfeldth [Mon, 18 Jan 2016 23:21:16 +0000 (00:21 +0100)]
Use "newer" terminology and throw exceptions
Mikael Nordfeldth [Mon, 18 Jan 2016 23:08:31 +0000 (00:08 +0100)]
Save with options so we get source=web
Mikael Nordfeldth [Mon, 18 Jan 2016 23:01:30 +0000 (00:01 +0100)]
end_str, not start_str
Mikael Nordfeldth [Mon, 18 Jan 2016 22:58:32 +0000 (23:58 +0100)]
Events get rendered.
Mikael Nordfeldth [Mon, 18 Jan 2016 21:04:42 +0000 (22:04 +0100)]
Don't include delete verbs in profile notice stream.
Mikael Nordfeldth [Mon, 18 Jan 2016 21:02:05 +0000 (22:02 +0100)]
getVerb function in Notice class
Mikael Nordfeldth [Mon, 18 Jan 2016 21:01:45 +0000 (22:01 +0100)]
default connect_timeout to 5 instead of extlib 10
Mikael Nordfeldth [Mon, 18 Jan 2016 19:57:44 +0000 (20:57 +0100)]
Events are now saved but not displayed properly again
Mikael Nordfeldth [Mon, 18 Jan 2016 18:29:45 +0000 (19:29 +0100)]
Minor improvements on Notice::saveActivity
Mikael Nordfeldth [Mon, 18 Jan 2016 16:23:33 +0000 (17:23 +0100)]
First steps on making NeweventAction a FormAction
Also saving new Happening objects via Notice::saveActivity
Mikael Nordfeldth [Mon, 18 Jan 2016 16:03:37 +0000 (17:03 +0100)]
Use a function to getCreated()
Mikael Nordfeldth [Sat, 16 Jan 2016 23:41:43 +0000 (00:41 +0100)]
Merge branch 'master' into mmn_fixes
Mikael Nordfeldth [Sat, 16 Jan 2016 16:20:26 +0000 (17:20 +0100)]
Initial user doesn't need as strict checking on email
Mikael Nordfeldth [Sat, 16 Jan 2016 23:40:14 +0000 (00:40 +0100)]
Merge branch 'master' of git.gnu.io:gnu/gnu-social
Mikael Nordfeldth [Sat, 16 Jan 2016 16:20:26 +0000 (17:20 +0100)]
Initial user doesn't need as strict checking on email
Mikael Nordfeldth [Sat, 16 Jan 2016 21:39:59 +0000 (22:39 +0100)]
Let the remote side know the Salmon was accepted (sorta)
Mikael Nordfeldth [Sat, 16 Jan 2016 21:36:42 +0000 (22:36 +0100)]
Distinguish notice saving errors from others for Salmon
Mikael Nordfeldth [Sat, 16 Jan 2016 20:19:34 +0000 (21:19 +0100)]
We want exceptions to be noticable in activityhandlerplugin
Mikael Nordfeldth [Sat, 16 Jan 2016 20:13:26 +0000 (21:13 +0100)]
Add a check in Notice->asActivityObject that we're actually returning such a thing!
Mikael Nordfeldth [Sat, 16 Jan 2016 20:12:53 +0000 (21:12 +0100)]
EmptyIdException doesn't carry ->obj
Mikael Nordfeldth [Sat, 16 Jan 2016 20:05:34 +0000 (21:05 +0100)]
dbqueuemanager logic
Mikael Nordfeldth [Sat, 16 Jan 2016 17:04:04 +0000 (18:04 +0100)]
Extremely verbose debugging is annoying
Mikael Nordfeldth [Sat, 16 Jan 2016 16:34:27 +0000 (17:34 +0100)]
bulkDistribute won't add empty lists to database
Mikael Nordfeldth [Sat, 16 Jan 2016 16:25:29 +0000 (17:25 +0100)]
Start handling salmon entries directly with Notice::saveActivity
More to come...
Mikael Nordfeldth [Sat, 16 Jan 2016 16:20:26 +0000 (17:20 +0100)]
Initial user doesn't need as strict checking on email
Mikael Nordfeldth [Sat, 16 Jan 2016 16:18:14 +0000 (17:18 +0100)]
In very specific circumstances we can bulkDistribute 0 notices
Seems to be what caused an infinite loop on quitter.es, or I guess so anyway.
mmn [Fri, 15 Jan 2016 13:11:35 +0000 (13:11 +0000)]
Merge branch 'oembed_branch' into 'nightly'
purify oembed html and don't allow cdata
hopefully we never need stuff in cdata
reason for this is that this link serves javascript in its oembed data: https://www.maketecheasier.com/switch-windows-10-to-linux/
see:
https://www.maketecheasier.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.maketecheasier.com%2Fswitch-windows-10-to-linux%2F
i don't feel we want that in our database.
See merge request !79
Mikael Nordfeldth [Thu, 14 Jan 2016 21:12:36 +0000 (22:12 +0100)]
Removing superflous debug stuff
Mikael Nordfeldth [Thu, 14 Jan 2016 21:05:03 +0000 (22:05 +0100)]
Get uploaded media_ids via File::getByID()
Filters out failed ones...
Mikael Nordfeldth [Thu, 14 Jan 2016 20:28:47 +0000 (21:28 +0100)]
ErrorAction and InfoAction fixes, are now ManagedAction
Mikael Nordfeldth [Thu, 14 Jan 2016 20:21:34 +0000 (21:21 +0100)]
ErrorAction to autodiscoverable file.
Mikael Nordfeldth [Thu, 14 Jan 2016 19:34:12 +0000 (20:34 +0100)]
role examples in userrole.php
Mikael Nordfeldth [Thu, 14 Jan 2016 19:24:01 +0000 (20:24 +0100)]
Accept media_ids parameter from Twitter API v1.1 clients
They upload the media first and then provide media IDs in a comma
separated parameter (but we just split it to all whole integers).
Mikael Nordfeldth [Thu, 14 Jan 2016 18:15:02 +0000 (19:15 +0100)]
Media files are accepted and uploaded via Twitter API now
Mikael Nordfeldth [Thu, 14 Jan 2016 18:14:24 +0000 (19:14 +0100)]
Minor fixes in Linkback plugin
Mikael Nordfeldth [Thu, 14 Jan 2016 17:51:46 +0000 (18:51 +0100)]
Exception object was not supplied there
Mikael Nordfeldth [Thu, 14 Jan 2016 17:29:21 +0000 (18:29 +0100)]
Make Twitter Media upload API v1.1 reach us
Now we just have to accept the 'media' or 'media_data' (base64 encoded)
POST arguments instead of $_FILES uploads.
Mikael Nordfeldth [Thu, 14 Jan 2016 17:11:54 +0000 (18:11 +0100)]
Use the Action class itself as error handler
Mikael Nordfeldth [Thu, 14 Jan 2016 12:52:11 +0000 (13:52 +0100)]
Debug message formatting gone wrong
Mikael Nordfeldth [Thu, 14 Jan 2016 12:48:33 +0000 (13:48 +0100)]
Actually throw NoQueueHandlerException too.
Mikael Nordfeldth [Thu, 14 Jan 2016 12:15:31 +0000 (13:15 +0100)]
Incorrect use of getByHashKey in HubSub
Mikael Nordfeldth [Thu, 14 Jan 2016 12:11:27 +0000 (13:11 +0100)]
Documentation fix from master
Mikael Nordfeldth [Thu, 14 Jan 2016 12:07:00 +0000 (13:07 +0100)]
Mikael Nordfeldth [Thu, 14 Jan 2016 12:06:37 +0000 (13:06 +0100)]
Don't try to replace http with https if https already exists
mmn [Thu, 14 Jan 2016 12:03:11 +0000 (12:03 +0000)]
Merge branch 'fix_readme' into 'master'
update readme for OpportunisticQM: array need to contain key/value pairs
according to the doc-block of addPlugin() the array should contain key/value pairs, see https://git.gnu.io/gnu/gnu-social/blob/master/lib/gnusocial.php#L46
I updated the readme for the OpportunisticQM plugin to reflect this.
See merge request !81
Björn Schießle [Thu, 14 Jan 2016 11:39:39 +0000 (12:39 +0100)]
array need to contain key/value pairs
Mikael Nordfeldth [Thu, 14 Jan 2016 02:45:11 +0000 (03:45 +0100)]
Salmon debugging
Mikael Nordfeldth [Thu, 14 Jan 2016 01:47:28 +0000 (02:47 +0100)]
Making ClientExceptions turn into ClientErrorAction
Got some 404s which were presented as 500
Mikael Nordfeldth [Thu, 14 Jan 2016 01:22:47 +0000 (02:22 +0100)]
Don't LOG_ERR missing paths (misspelling clients aren't errors)
Mikael Nordfeldth [Thu, 14 Jan 2016 01:09:12 +0000 (02:09 +0100)]
Fake oEmbed version in OpenGraph return object
Mikael Nordfeldth [Thu, 14 Jan 2016 01:05:33 +0000 (02:05 +0100)]
Forgot semicolon
Mikael Nordfeldth [Thu, 14 Jan 2016 01:04:15 +0000 (02:04 +0100)]
Exception handling in queue handler logic