]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
8 years agoAdded type-hints
Roland Haeder [Wed, 11 Nov 2015 22:53:06 +0000 (23:53 +0100)]
Added type-hints

Signed-off-by: Roland Haeder <roland@mxchange.org>
8 years agoMessed up with it ...
Roland Haeder [Tue, 10 Nov 2015 18:19:32 +0000 (19:19 +0100)]
Messed up with it ...

Signed-off-by: Roland Haeder <roland@mxchange.org>
8 years agoMerge remote-tracking branch 'upstream/master' into social-master
Roland Haeder [Tue, 10 Nov 2015 18:05:53 +0000 (19:05 +0100)]
Merge remote-tracking branch 'upstream/master' into social-master

Signed-off-by: Roland Haeder <roland@mxchange.org>
8 years agoMerge branch 'in-reply-to-uf2' into 'master'
mmn [Fri, 6 Nov 2015 12:39:02 +0000 (12:39 +0000)]
Merge branch 'in-reply-to-uf2' into 'master'

Add direct link to parent notice

This is partly for usability, and partly to make Linkbacks for replies work (when the plugin is enabled).

See merge request !37

8 years agoMerge branch 'renew-pshb' into 'master'
mmn [Thu, 5 Nov 2015 15:13:16 +0000 (15:13 +0000)]
Merge branch 'renew-pshb' into 'master'

Actually use the renew code

We have the code to check once a day and renew, but currently it's
just in a script directory.  This change adds an event listener
hook to check and renew subscriptions daily.

Closes #83

See merge request !38

8 years agoMerge branch 'object-types-are-absolute' into 'master'
mmn [Thu, 5 Nov 2015 15:12:41 +0000 (15:12 +0000)]
Merge branch 'object-types-are-absolute' into 'master'

Stop incorrecly changing object_type to relative URI

All other data is using absolute URI for object_type.

See merge request !40

8 years agoMerge branch 'fix-webfinger-link-header' into 'master'
mmn [Thu, 5 Nov 2015 15:12:10 +0000 (15:12 +0000)]
Merge branch 'fix-webfinger-link-header' into 'master'

Add all link headers, not just the last one

Given the way Link headers work, it does not make any sense to
just replace all other ones.  Especially when we ourselves are adding
in a loop.

See merge request !47

8 years agoMerge branch 'pings-interop' into 'master'
mmn [Thu, 5 Nov 2015 15:11:29 +0000 (15:11 +0000)]
Merge branch 'pings-interop' into 'master'

Clean up Linkback plugin and add Webmention support

Closes #82

Fixes Pingback, adds Webmention, makes linkbacks opt-out-able for users (at request of quitter.se admin)

See merge request !36

8 years agoMerge branch 'master' into 'master'
mmn [Thu, 5 Nov 2015 15:05:55 +0000 (15:05 +0000)]
Merge branch 'master' into 'master'

update URL

bugz.foocorp.net and gitorious.net are outdated
git.gnu.io is current

See merge request !58

8 years agoMerge branch 'status-204' into 'master'
mmn [Thu, 5 Nov 2015 15:03:42 +0000 (15:03 +0000)]
Merge branch 'status-204' into 'master'

Accept 204 for PuSH subscription

Some hubs (notably, pushpress, used by wordpress.com) return 204 to mean success.

This used to be allowed by the spec, so no harm in accepting it.

See merge request !48

8 years agoMerge branch 'handle-rss-guid' into 'master'
mmn [Thu, 5 Nov 2015 15:02:20 +0000 (15:02 +0000)]
Merge branch 'handle-rss-guid' into 'master'

Respect isPermalLink=false on RSS guid

See merge request !49

8 years agoMerge branch 'correct-author-for-repeat' into 'master'
mmn [Thu, 5 Nov 2015 15:00:35 +0000 (15:00 +0000)]
Merge branch 'correct-author-for-repeat' into 'master'

Markup correct author for a repeat

The original author is not the author of this entry, but of the original entry.

See merge request !51

8 years agoMerge branch 'support-atom-namespaces-in-rss-author' into 'master'
mmn [Thu, 5 Nov 2015 15:00:07 +0000 (15:00 +0000)]
Merge branch 'support-atom-namespaces-in-rss-author' into 'master'

Support more author types on RSS

Specifically, any ActivityStreams or ATOM namespaces being used on
an rss channel.

See merge request !52

8 years agoupdate URL
Matthias Fritzsche [Wed, 4 Nov 2015 11:31:23 +0000 (12:31 +0100)]
update URL

bugz.foocorp.net and gitorious.net are outdated
git.gnu.io is current

8 years agoSupport more author types on RSS
Stephen Paul Weber [Tue, 27 Oct 2015 18:43:57 +0000 (18:43 +0000)]
Support more author types on RSS

Specifically, any ActivityStreams or ATOM namespaces being used on
an rss channel.

8 years agoMorkup correct author for a repeat
Stephen Paul Weber [Tue, 27 Oct 2015 17:19:03 +0000 (17:19 +0000)]
Morkup correct author for a repeat

The original author is not the author of this entry, but of the original entry.

8 years agoRespect isPermalLink=false on RSS guid
Stephen Paul Weber [Tue, 27 Oct 2015 03:18:04 +0000 (03:18 +0000)]
Respect isPermalLink=false on RSS guid

8 years agoAccept 204 for PuSH subscription
Stephen Paul Weber [Tue, 27 Oct 2015 03:16:39 +0000 (03:16 +0000)]
Accept 204 for PuSH subscription

Some hubs (notably, pushpress, used by wordpress.com) return 204 to mean success.

This used to be allowed by the spec, so no harm in accepting it.

8 years agoAdd all link headers, not just the last one
Stephen Paul Weber [Sun, 25 Oct 2015 18:42:37 +0000 (18:42 +0000)]
Add all link headers, not just the last one

Given the way Link headers work, it does not make any sense to
just replace all other ones.  Especially when we ourselves are adding
in a loop.

8 years agoLinkback to mentioned profiles
Stephen Paul Weber [Sun, 25 Oct 2015 17:22:15 +0000 (17:22 +0000)]
Linkback to mentioned profiles

8 years agoOnly show parent wrapper if there are some
Stephen Paul Weber [Fri, 23 Oct 2015 18:51:33 +0000 (18:51 +0000)]
Only show parent wrapper if there are some

8 years agoStop incorrecly changing object_type to relative URI
Stephen Paul Weber [Thu, 22 Oct 2015 17:14:59 +0000 (17:14 +0000)]
Stop incorrecly changing object_type to relative URI

All other data is using absolute URI for object_type.

8 years agoEnqueue renewals
Stephen Paul Weber [Wed, 21 Oct 2015 01:50:03 +0000 (01:50 +0000)]
Enqueue renewals

Better for request times, etc

8 years agoRenew 1 day *before* the end, not 1 day *after*
Stephen Paul Weber [Wed, 21 Oct 2015 01:49:26 +0000 (01:49 +0000)]
Renew 1 day *before* the end, not 1 day *after*

8 years agoActually use the renew code
Stephen Paul Weber [Wed, 21 Oct 2015 01:10:48 +0000 (01:10 +0000)]
Actually use the renew code

We have the code to check once a day and renew, but currently it's
just in a script directory.  This change adds an event listener
hook to check and renew subscriptions daily.

8 years agoAdd direct link to parent notice
Stephen Paul Weber [Mon, 19 Oct 2015 18:40:40 +0000 (18:40 +0000)]
Add direct link to parent notice

This is partly for usability, and partly to make Linkbacks for replies
work (when the plugin is enabled).

8 years agoAllow users to opt out of sending linkbacks
Stephen Paul Weber [Sun, 18 Oct 2015 21:28:55 +0000 (21:28 +0000)]
Allow users to opt out of sending linkbacks

8 years agoFix Pingback
Stephen Paul Weber [Sat, 17 Oct 2015 13:39:46 +0000 (13:39 +0000)]
Fix Pingback

This code was using the HTTPRequest helpers wrong.  This commit sets the body directly instead of jamming the XML in as a POST param.

8 years agoSend URL we publish
Stephen Paul Weber [Sat, 17 Oct 2015 13:38:13 +0000 (13:38 +0000)]
Send URL we publish

Webmention and Pingback both need the exact URL we are going to claim to link to to be present in our HTML source, so send them our actual original link.

Webmention clients are supposed to resolve this link.  Pingback clients may still fail on shortened links.

8 years agoAdd webmention support
Stephen Paul Weber [Wed, 14 Oct 2015 21:13:58 +0000 (16:13 -0500)]
Add webmention support

8 years agoNote that we should handle relative URIs
Stephen Paul Weber [Wed, 14 Oct 2015 21:13:25 +0000 (16:13 -0500)]
Note that we should handle relative URIs

8 years agoNormalize detection helpers
Stephen Paul Weber [Wed, 14 Oct 2015 20:54:47 +0000 (15:54 -0500)]
Normalize detection helpers

Will make it easier to see what's happening when we add a third one.

8 years agoNotify replies and repeats
Stephen Paul Weber [Wed, 14 Oct 2015 20:47:00 +0000 (15:47 -0500)]
Notify replies and repeats

This is especially useful for partial federation with remote accounts
that are not fully OStatus-enabled but support a pingback protocol.
Such accounts will still be notified of replies and repeats of their
content even without OStatus support, thus adding to the federated
universe.

8 years agoUse the getter, not a direct access
Stephen Paul Weber [Wed, 14 Oct 2015 20:32:12 +0000 (15:32 -0500)]
Use the getter, not a direct access

8 years agoMore robust pingback link detection
Stephen Paul Weber [Wed, 14 Oct 2015 20:28:38 +0000 (15:28 -0500)]
More robust pingback link detection

8 years agoCan't use return-value in empty()
Mikael Nordfeldth [Sun, 4 Oct 2015 20:31:07 +0000 (22:31 +0200)]
Can't use return-value in empty()

8 years agoBring back title to DocAction
Mikael Nordfeldth [Tue, 15 Sep 2015 12:26:33 +0000 (14:26 +0200)]
Bring back title to DocAction

8 years agoDocAction now extends ManagedAction
Mikael Nordfeldth [Tue, 15 Sep 2015 10:07:35 +0000 (12:07 +0200)]
DocAction now extends ManagedAction

8 years agoYes, you see it? I got confused if it is a Plugin instance or just the plugin's name.
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>
8 years agoAlways naming it 'plugin' is not good, it can easily confuse. So better name it
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>
8 years agoAdded type-hint (checked!)
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>
8 years agoA bit better test.
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>
8 years agoMerge remote-tracking branch 'upstream/master' into social-master
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

8 years agoPrepare for ActivityModerationPlugin
Mikael Nordfeldth [Thu, 10 Sep 2015 13:55:37 +0000 (15:55 +0200)]
Prepare for ActivityModerationPlugin

8 years agoCall it compareVerbs when comparing verbs
Mikael Nordfeldth [Thu, 10 Sep 2015 13:27:40 +0000 (15:27 +0200)]
Call it compareVerbs when comparing verbs

8 years agoAnnoying debug messages that were just meant to remind
Mikael Nordfeldth [Wed, 9 Sep 2015 15:48:06 +0000 (17:48 +0200)]
Annoying debug messages that were just meant to remind

8 years agoLet's handle notice dataobjects instead, despite fetching twice from db
Mikael Nordfeldth [Wed, 9 Sep 2015 15:03:52 +0000 (17:03 +0200)]
Let's handle notice dataobjects instead, despite fetching twice from db

Actually the original object should be fixed here, but we'll handle the FIXME's later.

8 years agoSplit classes into their own files
Mikael Nordfeldth [Wed, 9 Sep 2015 14:29:58 +0000 (16:29 +0200)]
Split classes into their own files

8 years agoUse Profile objects in Subscription::saveNew
Mikael Nordfeldth [Sun, 6 Sep 2015 00:04:12 +0000 (02:04 +0200)]
Use Profile objects in Subscription::saveNew

8 years agoSubscription::saveNew is a static function
Mikael Nordfeldth [Sun, 6 Sep 2015 00:01:39 +0000 (02:01 +0200)]
Subscription::saveNew is a static function

8 years agoMerge branch 'nightly'
Mikael Nordfeldth [Sat, 5 Sep 2015 23:54:00 +0000 (01:54 +0200)]
Merge branch 'nightly'

8 years agointroducing html_sprintf for easier sprintf'ing with htmlspecialchars
Mikael Nordfeldth [Sat, 5 Sep 2015 23:53:11 +0000 (01:53 +0200)]
introducing html_sprintf for easier sprintf'ing with htmlspecialchars

8 years agoNotice_location class in db/core.php
Mikael Nordfeldth [Fri, 4 Sep 2015 21:12:23 +0000 (23:12 +0200)]
Notice_location class in db/core.php

8 years agoOops, forgot Notice_location PHP file
Mikael Nordfeldth [Fri, 4 Sep 2015 20:30:33 +0000 (22:30 +0200)]
Oops, forgot Notice_location PHP file

8 years agoMove notice location data to Notice_location
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.

8 years agosys_get_temp_dir was added in PHP 5 >= 5.2.1
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

8 years agoIncorrect use of DataObject type matching after ->find()
Mikael Nordfeldth [Fri, 4 Sep 2015 18:35:11 +0000 (20:35 +0200)]
Incorrect use of DataObject type matching after ->find()

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

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

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

8 years agoMerge branch 'webinstaller-faq-link' into 'nightly'
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

8 years agoSuggested edits by hannes2peer
Mikael Nordfeldth [Thu, 3 Sep 2015 16:04:13 +0000 (18:04 +0200)]
Suggested edits by hannes2peer

8 years agoInclude PHP libraries from system if not packaged and they are installed.
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>

8 years agoMerge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly
abjectio [Tue, 18 Aug 2015 20:55:28 +0000 (22:55 +0200)]
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly

8 years agoMerge remote-tracking branch 'upstream/master' into social-master
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

8 years agoMf2 extlib update from https://github.com/indieweb/php-mf2/
Mikael Nordfeldth [Sat, 15 Aug 2015 09:48:39 +0000 (11:48 +0200)]
Mf2 extlib update from https://github.com/indieweb/php-mf2/

8 years agoOpenID 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

8 years agoOpenID 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

8 years agoAdd a few missing 'attachments' config options
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

8 years agoFix broken link to FAQ in web installer
Chimo [Sat, 25 Jul 2015 14:34:59 +0000 (10:34 -0400)]
Fix broken link to FAQ in web installer

8 years agoAdd nginx sample configuration
Chimo [Sat, 25 Jul 2015 13:37:10 +0000 (09:37 -0400)]
Add nginx sample configuration

8 years agoUsergroupbyidAction now extends ManagedAction
Mikael Nordfeldth [Tue, 21 Jul 2015 00:32:17 +0000 (02:32 +0200)]
UsergroupbyidAction now extends ManagedAction

8 years agoMissing getTarget function in targetedrss10action.php
Mikael Nordfeldth [Tue, 21 Jul 2015 00:17:34 +0000 (02:17 +0200)]
Missing getTarget function in targetedrss10action.php

8 years agoIncreased debugging and fixing conversation stitching for saveActivity
Mikael Nordfeldth [Sat, 18 Jul 2015 17:19:16 +0000 (19:19 +0200)]
Increased debugging and fixing conversation stitching for saveActivity

8 years agoException handling regarding Foreign_link
Mikael Nordfeldth [Sat, 18 Jul 2015 09:39:34 +0000 (11:39 +0200)]
Exception handling regarding Foreign_link

8 years agoSome missed exception throwing since fixing Foreign_link and Foreign_user
Mikael Nordfeldth [Sat, 18 Jul 2015 09:04:35 +0000 (11:04 +0200)]
Some missed exception throwing since fixing Foreign_link and Foreign_user

8 years agoInfinite loop on CLI initiated profile deletion for local users
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...

8 years agoTwitterBridge working again (for signin and posting to Twitter at least)
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).

8 years agoDon't retry unhandled transports in OpportunisticQM
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...

8 years agoTwitterBridge is closer to working again
Mikael Nordfeldth [Fri, 17 Jul 2015 19:03:37 +0000 (21:03 +0200)]
TwitterBridge is closer to working again

8 years agoTwitterBridge messing about, Twitter OAuth requires Authorization header now?
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?

8 years agoTwittersettings now works better as Profilesettings extension
Mikael Nordfeldth [Fri, 17 Jul 2015 15:50:43 +0000 (17:50 +0200)]
Twittersettings now works better as Profilesettings extension

8 years agoSubMirror now works properly as extended from FormAction
Mikael Nordfeldth [Fri, 17 Jul 2015 15:09:36 +0000 (17:09 +0200)]
SubMirror now works properly as extended from FormAction

8 years agoPoll settings adapted to FormAction
Mikael Nordfeldth [Fri, 17 Jul 2015 14:19:02 +0000 (16:19 +0200)]
Poll settings adapted to FormAction

8 years agoOpenID settings aligned with FormAction
Mikael Nordfeldth [Fri, 17 Jul 2015 14:08:22 +0000 (16:08 +0200)]
OpenID settings aligned with FormAction

8 years agoEarly return in FacebookBridge settings action
Mikael Nordfeldth [Fri, 17 Jul 2015 13:27:47 +0000 (15:27 +0200)]
Early return in FacebookBridge settings action

8 years agoFacebooksettings adapted to FormAction
Mikael Nordfeldth [Fri, 17 Jul 2015 13:24:37 +0000 (15:24 +0200)]
Facebooksettings adapted to FormAction

8 years agoUrlsettings now adapted to FormAction
Mikael Nordfeldth [Fri, 17 Jul 2015 13:16:45 +0000 (15:16 +0200)]
Urlsettings now adapted to FormAction

8 years agoDon't allow imports by default until it works well on large instances.
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.

8 years agoSMS Settings now better adapted to FormAction
Mikael Nordfeldth [Fri, 17 Jul 2015 12:29:07 +0000 (14:29 +0200)]
SMS Settings now better adapted to FormAction

8 years agoExtendedProfile is not something we want by default.
Mikael Nordfeldth [Fri, 17 Jul 2015 10:46:24 +0000 (12:46 +0200)]
ExtendedProfile is not something we want by default.

8 years agoExtendedProfile now works better as extended ProfilesettingsAction
Mikael Nordfeldth [Fri, 17 Jul 2015 10:46:09 +0000 (12:46 +0200)]
ExtendedProfile now works better as extended ProfilesettingsAction

8 years agoProfilesettingsAction and related stuff modernised
Mikael Nordfeldth [Fri, 17 Jul 2015 10:09:24 +0000 (12:09 +0200)]
ProfilesettingsAction and related stuff modernised

8 years agoMaximum character limit with utf8mb4 is 191 in varchar
Mikael Nordfeldth [Fri, 17 Jul 2015 09:22:25 +0000 (11:22 +0200)]
Maximum character limit with utf8mb4 is 191 in varchar

8 years agoPasswordsettingsAction aligned with FormAction
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).

8 years agooldschool settings adapted to FormAction
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.

8 years agoOAuth stuff adapted for FormAction
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.

8 years agoIf XMLOutputter $output arg is null, use php://output
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');

8 years agoImSettings adapted to FormAction inheritance
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

8 years agoEmailSettingsAction adapted to FormAction
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!