]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
8 years agoOnly allow our specified URI schemes
Mikael Nordfeldth [Wed, 3 Feb 2016 13:31:16 +0000 (14:31 +0100)]
Only allow our specified URI schemes

8 years agoHacky support for geo URI detection
Mikael Nordfeldth [Wed, 3 Feb 2016 13:19:08 +0000 (14:19 +0100)]
Hacky support for geo URI detection

Won't work with common_purify yet because there is no geo uri scheme for it

8 years agoConfigurable linkify for bare IPv4/IPv6
Mikael Nordfeldth [Wed, 3 Feb 2016 11:55:00 +0000 (12:55 +0100)]
Configurable linkify for bare IPv4/IPv6

8 years agoBackupaccount is always readonly
Mikael Nordfeldth [Wed, 3 Feb 2016 00:15:35 +0000 (01:15 +0100)]
Backupaccount is always readonly

8 years agoDon't allow account backups by default.
Mikael Nordfeldth [Wed, 3 Feb 2016 00:08:36 +0000 (01:08 +0100)]
Don't allow account backups by default.

8 years agoSet time limit to increase time backupaccount can take
Mikael Nordfeldth [Wed, 3 Feb 2016 00:04:14 +0000 (01:04 +0100)]
Set time limit to increase time backupaccount can take

Wills till run out of memory probably, we should fix that.

8 years agoProper error message on too much POST data
Mikael Nordfeldth [Wed, 3 Feb 2016 00:03:58 +0000 (01:03 +0100)]
Proper error message on too much POST data

8 years agoDon't process further in redirection if HEAD gives 400 Bad request
Mikael Nordfeldth [Tue, 2 Feb 2016 23:34:49 +0000 (00:34 +0100)]
Don't process further in redirection if HEAD gives 400 Bad request

8 years agoFile::isProtected is static
Mikael Nordfeldth [Tue, 2 Feb 2016 23:22:18 +0000 (00:22 +0100)]
File::isProtected is static

8 years agoGet URL schemes by URL type
Mikael Nordfeldth [Tue, 2 Feb 2016 23:18:37 +0000 (00:18 +0100)]
Get URL schemes by URL type

8 years agoBump beta number to 4
Mikael Nordfeldth [Fri, 29 Jan 2016 23:04:18 +0000 (00:04 +0100)]
Bump beta number to 4

We have better webfinger @mention@capability.example at least and
OpportunisticQM is somewhat refined.

8 years agoMerge branch 'master' into mmn_fixes
Mikael Nordfeldth [Fri, 29 Jan 2016 23:03:25 +0000 (00:03 +0100)]
Merge branch 'master' into mmn_fixes

8 years agoMerge branch 'master' of git.gnu.io:gnu/gnu-social
Mikael Nordfeldth [Fri, 29 Jan 2016 23:02:56 +0000 (00:02 +0100)]
Merge branch 'master' of git.gnu.io:gnu/gnu-social

8 years agoDon't trust local HTML either
Mikael Nordfeldth [Fri, 29 Jan 2016 23:00:37 +0000 (00:00 +0100)]
Don't trust local HTML either

If we reallyreally want to include <img> or <script> or whatever then we
have to do that after Notice::saveActivity sets ->rendered.

8 years agoDon't trust local HTML either
Mikael Nordfeldth [Fri, 29 Jan 2016 23:00:37 +0000 (00:00 +0100)]
Don't trust local HTML either

If we reallyreally want to include <img> or <script> or whatever then we
have to do that after Notice::saveActivity sets ->rendered.

8 years agoisPerson did not exist for Ostatus_profile
Mikael Nordfeldth [Fri, 29 Jan 2016 15:15:06 +0000 (16:15 +0100)]
isPerson did not exist for Ostatus_profile

8 years agoAllow @localuser@mysite.example to be looked up as a mention
Mikael Nordfeldth [Fri, 29 Jan 2016 15:06:16 +0000 (16:06 +0100)]
Allow @localuser@mysite.example to be looked up as a mention

8 years agoDon't match @nickname on @nickname@server.com
Mikael Nordfeldth [Fri, 29 Jan 2016 14:53:58 +0000 (15:53 +0100)]
Don't match @nickname on @nickname@server.com

8 years agoUse the profile URI when linking instead of URL
Mikael Nordfeldth [Fri, 29 Jan 2016 14:21:01 +0000 (15:21 +0100)]
Use the profile URI when linking instead of URL

since we'll then get to /user/$id instead of /$nickname which is
good for future archives if someone changes their nickname...

8 years agoDon't use system include path
Mikael Nordfeldth [Thu, 28 Jan 2016 19:31:46 +0000 (20:31 +0100)]
Don't use system include path

Sometimes systems have _old_ DB_DataObject classes lying around that
get included by default, so we just try to avoid anything that we don't
ship ourselves.

<MMN-o> BeS: I'll commit a patch that will make this issue go away
<BeS> MMN-o: that would be awesome!
<MMN-o> but it might upset bashrc who's working on a Debian package (where you're _supposed_ to include from /usr/php etc. :P)
<MMN-o> but I'll leave a comment along with it

8 years agoStrict Standards: Declaration of MysqlSchema::get()
Mikael Nordfeldth [Thu, 28 Jan 2016 19:18:06 +0000 (20:18 +0100)]
Strict Standards: Declaration of MysqlSchema::get()

should be compatible with Schema::get($conn = NULL)

8 years agoFullname and location are now text, not varchar, and can be >191|255
Mikael Nordfeldth [Thu, 28 Jan 2016 18:11:43 +0000 (19:11 +0100)]
Fullname and location are now text, not varchar, and can be >191|255

8 years agomigrateProfilePrefs added to scripts/upgrade.php
Mikael Nordfeldth [Thu, 28 Jan 2016 18:03:24 +0000 (19:03 +0100)]
migrateProfilePrefs added to scripts/upgrade.php

Makes it easier for plugin developers to change the topics set in Profile_prefs

8 years agoPurify oembed html (again)
Mikael Nordfeldth [Thu, 28 Jan 2016 18:01:45 +0000 (19:01 +0100)]
Purify oembed html (again)

For a commit or two we didn't do this, because htmLawed failed to filter
out CDATA javascript properly, but now we use HTML Purifier which works.

8 years agoReplace htmLawed with HTMLPurifier
Mikael Nordfeldth [Thu, 28 Jan 2016 17:57:36 +0000 (18:57 +0100)]
Replace htmLawed with HTMLPurifier

8 years agoMerge branch 'nightly' of git.gnu.io:gnu/gnu-social into mmn_fixes
Mikael Nordfeldth [Thu, 28 Jan 2016 16:27:08 +0000 (17:27 +0100)]
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into mmn_fixes

8 years agoMerge branch 'oembed_fb_wp_branch' into 'nightly'
mmn [Thu, 28 Jan 2016 16:26:33 +0000 (16:26 +0000)]
Merge branch 'oembed_fb_wp_branch' into 'nightly'

Oembed: Fix UTF-8 bug and better wp&fb data (updated!)

See merge request !97

8 years agoupdateWithKeys now understands multi-column keys
Mikael Nordfeldth [Thu, 28 Jan 2016 15:42:59 +0000 (16:42 +0100)]
updateWithKeys now understands multi-column keys

and automatically identifies _which_ columns are the right ones,
so for example 'uri' primary keys don't need to be explicitly set

8 years agoadd comment that DOMDocument('1.0', 'UTF-8') does not work
hannes [Thu, 28 Jan 2016 15:32:11 +0000 (15:32 +0000)]
add comment that DOMDocument('1.0', 'UTF-8') does not work

8 years agofixes two issues when the oembed thumbnail is blank
hannes [Thu, 28 Jan 2016 15:19:29 +0000 (15:19 +0000)]
fixes two issues when the oembed thumbnail is blank

8 years agoChangelog deleted in php-gettext
Mikael Nordfeldth [Thu, 28 Jan 2016 13:43:01 +0000 (14:43 +0100)]
Changelog deleted in php-gettext

8 years agophp-gettext extlib updated as req !88
Mikael Nordfeldth [Thu, 28 Jan 2016 13:40:47 +0000 (14:40 +0100)]
php-gettext extlib updated as req !88

Thanks postblue

8 years agoMarkdown library updated to 1.6.0, merge req !90
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

8 years agohtmLawed updated (manually merging !89)
Mikael Nordfeldth [Thu, 28 Jan 2016 13:24:03 +0000 (14:24 +0100)]
htmLawed updated (manually merging !89)

Thanks postblue

8 years agoMerge branch 'upstream-changes/google-analytics-removal' into 'master'
mmn [Thu, 28 Jan 2016 12:55:10 +0000 (12:55 +0000)]
Merge branch 'upstream-changes/google-analytics-removal' into 'master'

Removed plugin Google-Analytics

... as this is free/libre and decentralized software and should not promote centralized proprietary software. Please see the included Piwik plugin for a more decentralized alternative!

See merge request !94

8 years agoMeh, let's just remove FirePHP, I don't think anyone uses it
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

8 years agoMerge branch 'update-extlib-firephp' into 'nightly'
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

8 years agoManual merge of !87 Update LDAP2 extlib to 2.2.0 (stable) released on 2015-10-30
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

8 years agoHaha, forgot that the $content content must also be there!
Mikael Nordfeldth [Wed, 27 Jan 2016 22:04:19 +0000 (23:04 +0100)]
Haha, forgot that the $content content must also be there!

8 years agoMerge branch 'nightly' of git.gnu.io:gnu/gnu-social into mmn_fixes
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

8 years agoDon't add space if there's no string in new notice content
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

8 years agoAllow empty new-notice content via web if there's an upload
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

8 years agoMerge branch 'json_encode_fail_branch' into 'nightly'
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

8 years agoMerge branch 'mention_branch' into 'nightly'
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

8 years agoMerge branch 'nightly' of git.gnu.io:gnu/gnu-social into mmn_fixes
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

8 years agoMerge branch 'oembed_thumbnail_branch' into 'nightly'
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

8 years agodon't mess upp charsets in oembed/og! check for utf-8 in http header and meta tags...
hannes [Tue, 26 Jan 2016 13:37:52 +0000 (13:37 +0000)]
don't mess upp charsets in oembed/og! check for utf-8 in http header and meta tags, and add prolog when loading html with DOMDocument()

8 years agosilence errors on these xpath queries
hannes [Tue, 26 Jan 2016 11:28:24 +0000 (11:28 +0000)]
silence errors on these xpath queries

8 years agocommon_purify() doesn't remove wordpress' and facebook's javascript properly, maybe...
hannes [Tue, 26 Jan 2016 01:10:15 +0000 (01:10 +0000)]
common_purify() doesn't remove wordpress' and facebook's javascript properly, maybe better to keep the data intact, and do strip_tags or something similar when using the data

8 years agodetab
hannes [Tue, 26 Jan 2016 01:07:44 +0000 (01:07 +0000)]
detab

8 years agonot pretty, but gives us better oembed data for wordpress and facebook
hannes [Tue, 26 Jan 2016 01:05:53 +0000 (01:05 +0000)]
not pretty, but gives us better oembed data for wordpress and facebook

8 years agoMerge branch 'nightly' of git.gnu.io:gnu/gnu-social into mmn_fixes
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

8 years agoMerge branch 'file_redirection_cleanup_branch' into 'nightly'
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

8 years agoremove my ugly debug info
hannes [Mon, 25 Jan 2016 19:10:35 +0000 (19:10 +0000)]
remove my ugly debug info

8 years agoconfig['follow_redirects'] is the extlib's config! if max_redirs is set we want to...
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

8 years agoadd our own protected urls
hannes [Mon, 25 Jan 2016 19:00:46 +0000 (19:00 +0000)]
add our own protected urls

8 years agoFile and File_redirection records are saved in File_redirection::where() now
hannes [Mon, 25 Jan 2016 19:00:05 +0000 (19:00 +0000)]
File and File_redirection records are saved in File_redirection::where() now

8 years agosave File and File_redirection records in File_redirection::where(), because then...
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

8 years agoShow plain text files on attachment page.
Mikael Nordfeldth [Mon, 25 Jan 2016 15:54:40 +0000 (16:54 +0100)]
Show plain text files on attachment page.

8 years agoRemoved plugin Google-Analytics as this is free/libre and decentralized upstream-changes/google-analytics-removal
Roland Haeder [Mon, 25 Jan 2016 12:19:43 +0000 (13:19 +0100)]
Removed plugin Google-Analytics as this is free/libre and decentralized
software and should not promote centralized proprietary software. Please see
the included Piwik plugin for a more decentralized alternative!

Signed-off-by: Roland Haeder <roland@mxchange.org>
8 years agoUpdate FirefPHP Core to v0.4.0 released on 23 Apr 2013
postblue [Sun, 24 Jan 2016 20:11:38 +0000 (21:11 +0100)]
Update FirefPHP Core to v0.4.0 released on 23 Apr 2013

8 years agoHarmonize, clarify, categorize URL schemes
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.

8 years agoAllow bitcoin scheme to URLs
Mikael Nordfeldth [Sun, 24 Jan 2016 11:42:53 +0000 (12:42 +0100)]
Allow bitcoin scheme to URLs

8 years agooutput error if json_encode fails
hannes [Sat, 23 Jan 2016 15:01:27 +0000 (15:01 +0000)]
output error if json_encode fails

8 years agoDid the OpportunisticQM fixes in the wrong order upstream-master
Mikael Nordfeldth [Mon, 11 Jan 2016 12:35:29 +0000 (13:35 +0100)]
Did the OpportunisticQM fixes in the wrong order

8 years agouse connect_timeout value for execution margin
Mikael Nordfeldth [Fri, 22 Jan 2016 11:19:17 +0000 (12:19 +0100)]
use connect_timeout value for execution margin

8 years agodefault connect_timeout to 5 instead of extlib 10
Mikael Nordfeldth [Mon, 18 Jan 2016 21:01:45 +0000 (22:01 +0100)]
default connect_timeout to 5 instead of extlib 10

8 years agouse connect_timeout value for execution margin
Mikael Nordfeldth [Fri, 22 Jan 2016 11:19:17 +0000 (12:19 +0100)]
use connect_timeout value for execution margin

8 years agoadd a thumbnail to oembed response
hannes [Thu, 21 Jan 2016 18:48:30 +0000 (18:48 +0000)]
add a thumbnail to oembed response

8 years agoRemoving unnecessary debug messages etc.
Mikael Nordfeldth [Thu, 21 Jan 2016 01:49:34 +0000 (02:49 +0100)]
Removing unnecessary debug messages etc.

8 years agoOnly set selectVerbs if it's not set in class var
Mikael Nordfeldth [Thu, 21 Jan 2016 01:37:38 +0000 (02:37 +0100)]
Only set selectVerbs if it's not set in class var

8 years agoi18n
Mikael Nordfeldth [Thu, 21 Jan 2016 01:37:07 +0000 (02:37 +0100)]
i18n

8 years agoWe want the profile stream to be as raw as possible!
Mikael Nordfeldth [Thu, 21 Jan 2016 01:33:43 +0000 (02:33 +0100)]
We want the profile stream to be as raw as possible!

8 years agoVarious last fixes to RSVP I think
Mikael Nordfeldth [Thu, 21 Jan 2016 01:20:50 +0000 (02:20 +0100)]
Various last fixes to RSVP I think

8 years agoWorking on some RSVP code stuff
Mikael Nordfeldth [Thu, 21 Jan 2016 01:10:34 +0000 (02:10 +0100)]
Working on some RSVP code stuff

8 years agoThrow NoObjectTypeException on Notice->getObjectType if no string
Mikael Nordfeldth [Wed, 20 Jan 2016 20:37:14 +0000 (21:37 +0100)]
Throw NoObjectTypeException on Notice->getObjectType if no string

8 years agoAdd xcal namespaces to location and url in event
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/

8 years agoCancelling RSVPs now seems to work.
Mikael Nordfeldth [Wed, 20 Jan 2016 15:10:10 +0000 (16:10 +0100)]
Cancelling RSVPs now seems to work.

8 years agoMerge branch 'master' into mmn_fixes
Mikael Nordfeldth [Wed, 20 Jan 2016 14:33:18 +0000 (15:33 +0100)]
Merge branch 'master' into mmn_fixes

8 years agoHandle exceptions when salmon slapping
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.

8 years agoIn very specific circumstances we can bulkDistribute 0 notices
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.

8 years agobulkDistribute won't add empty lists to database
Mikael Nordfeldth [Sat, 16 Jan 2016 16:34:27 +0000 (17:34 +0100)]
bulkDistribute won't add empty lists to database

8 years agoHandle exceptions when salmon slapping
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.

8 years agocorrect mentions if parent mention multiple users with same nickname (don't use first...
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)

8 years agoStarted fiddling with CancelRSVP but more must be done
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!

8 years agoRSVP stuff, mostly forms.
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.

8 years agoRSVPs seem to be created now, just gotta fix CancelrsvpAction
Mikael Nordfeldth [Tue, 19 Jan 2016 00:10:06 +0000 (01:10 +0100)]
RSVPs seem to be created now, just gotta fix CancelrsvpAction

8 years agoUse "newer" terminology and throw exceptions
Mikael Nordfeldth [Mon, 18 Jan 2016 23:21:16 +0000 (00:21 +0100)]
Use "newer" terminology and throw exceptions

8 years agoSave with options so we get source=web
Mikael Nordfeldth [Mon, 18 Jan 2016 23:08:31 +0000 (00:08 +0100)]
Save with options so we get source=web

8 years agoend_str, not start_str
Mikael Nordfeldth [Mon, 18 Jan 2016 23:01:30 +0000 (00:01 +0100)]
end_str, not start_str

8 years agoEvents get rendered.
Mikael Nordfeldth [Mon, 18 Jan 2016 22:58:32 +0000 (23:58 +0100)]
Events get rendered.

8 years agoDon't include delete verbs in profile notice stream.
Mikael Nordfeldth [Mon, 18 Jan 2016 21:04:42 +0000 (22:04 +0100)]
Don't include delete verbs in profile notice stream.

8 years agogetVerb function in Notice class
Mikael Nordfeldth [Mon, 18 Jan 2016 21:02:05 +0000 (22:02 +0100)]
getVerb function in Notice class

8 years agodefault connect_timeout to 5 instead of extlib 10
Mikael Nordfeldth [Mon, 18 Jan 2016 21:01:45 +0000 (22:01 +0100)]
default connect_timeout to 5 instead of extlib 10

8 years agoEvents are now saved but not displayed properly again
Mikael Nordfeldth [Mon, 18 Jan 2016 19:57:44 +0000 (20:57 +0100)]
Events are now saved but not displayed properly again

8 years agoMinor improvements on Notice::saveActivity
Mikael Nordfeldth [Mon, 18 Jan 2016 18:29:45 +0000 (19:29 +0100)]
Minor improvements on Notice::saveActivity

8 years agoFirst steps on making NeweventAction a FormAction
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

8 years agoUse a function to getCreated()
Mikael Nordfeldth [Mon, 18 Jan 2016 16:03:37 +0000 (17:03 +0100)]
Use a function to getCreated()

8 years agoMerge branch 'master' into mmn_fixes
Mikael Nordfeldth [Sat, 16 Jan 2016 23:41:43 +0000 (00:41 +0100)]
Merge branch 'master' into mmn_fixes

8 years agoInitial user doesn't need as strict checking on email
Mikael Nordfeldth [Sat, 16 Jan 2016 16:20:26 +0000 (17:20 +0100)]
Initial user doesn't need as strict checking on email