]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
9 years agoBring back title to DocAction
Mikael Nordfeldth [Tue, 15 Sep 2015 12:26:33 +0000 (14:26 +0200)]
Bring back title to DocAction

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

9 years agoatom: <link> urls should be attr, not content
Chimo [Tue, 15 Sep 2015 01:25:36 +0000 (21:25 -0400)]
atom: <link> urls should be attr, not content

Some activities (ex: repeats and follows) have <link>s like this:
<link rel="alternate" type="text/html">http://example.org</link>

This commit changes them to:
<link rel="alternate" type="text/html" href="http://example.org"/>

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

9 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

9 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

9 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.

9 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

9 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

9 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

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

9 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

9 years agoAdd default icon to OAuth apps
Chimo [Sat, 5 Sep 2015 21:02:17 +0000 (17:02 -0400)]
Add default icon to OAuth apps

When MySQL runs in strict mode, it doesn't seem possible to add a new OAuth app.

This is because:
 * The 'icon' field has no defaults and also has NOT NULL constraint.
 * GS uploads/sets the icon[1] (if provided) after the SQL insert[2]

The easiest fix seemed to be to provide a default icon value.
This change sets the default to the  "blue peg" default avatar from the base theme.

[1]
https://git.gnu.io/gnu/gnu-social/blob/7f30e614027fa27e83ecc32eb5443ee82d03f0f7/actions/newapplication.php#L176

[2]
https://git.gnu.io/gnu/gnu-social/blob/7f30e614027fa27e83ecc32eb5443ee82d03f0f7/actions/newapplication.php#L186

9 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

9 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

9 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.

9 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

9 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()

9 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

9 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

9 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

9 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

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

9 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>

9 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

9 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/

9 years agomake it possible to erase fields in the profile via the api
Hannes Mannerheim [Tue, 11 Aug 2015 20:18:57 +0000 (22:18 +0200)]
make it possible to erase fields in the profile via the api

9 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

9 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

9 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

9 years agoAdd some bottom margin to space profile items
aroquen [Sun, 26 Jul 2015 17:10:01 +0000 (19:10 +0200)]
Add some bottom margin to space profile items

9 years agoMake group lists look like profile ones in neo-quitter theme
aroquen [Sun, 26 Jul 2015 14:10:34 +0000 (16:10 +0200)]
Make group lists look like profile ones in neo-quitter theme

9 years agoThis margin is not needed anymore
aroquen [Sun, 26 Jul 2015 13:22:11 +0000 (15:22 +0200)]
This margin is not needed anymore

9 years agoRemove bullets from user's groups list
aroquen [Sun, 26 Jul 2015 09:20:33 +0000 (11:20 +0200)]
Remove bullets from user's groups list

9 years agoGroup location on a new line as in profile lists
aroquen [Sun, 26 Jul 2015 10:33:36 +0000 (12:33 +0200)]
Group location on a new line as in profile lists

9 years agoShow full name close to nickname in subscribers list. For consistency with groups...
aroquen [Sun, 26 Jul 2015 10:13:14 +0000 (12:13 +0200)]
Show full name close to nickname in subscribers list. For consistency with groups list

9 years agoBeautify (a bit) groups list
aroquen [Sun, 26 Jul 2015 09:51:00 +0000 (11:51 +0200)]
Beautify (a bit) groups list

* Reduce font size to fit and look better
* Group nickname is bold
* Add @ prefix to location

9 years agoAlign location label (fixes profile and group directory display)
aroquen [Sun, 26 Jul 2015 09:47:16 +0000 (11:47 +0200)]
Align location label (fixes profile and group directory display)

9 years agoDrop dead variable
aroquen [Sun, 26 Jul 2015 09:10:57 +0000 (11:10 +0200)]
Drop dead variable

9 years agoPage notice message as instructions class
aroquen [Sun, 26 Jul 2015 09:10:30 +0000 (11:10 +0200)]
Page notice message as instructions class

9 years agoImprove display of user's groups page.
aroquen [Sat, 25 Jul 2015 19:38:38 +0000 (21:38 +0200)]
Improve display of user's groups page.

* Show page notice as for subscriptions
* Show instructions when user has no groups
* Add explanation of remote groups and link to skilledtest wiki

9 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

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

9 years agoShow page title in user's profile page
aroquen [Sat, 25 Jul 2015 12:45:45 +0000 (14:45 +0200)]
Show page title in user's profile page

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

9 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

9 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

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

9 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

9 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...

9 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).

9 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...

9 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

9 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?

9 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

9 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

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

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

9 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

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

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

9 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.

9 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

9 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.

9 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

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

9 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

9 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).

9 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.

9 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.

9 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');

9 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

9 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!

9 years agoAvatarSettings more aligned to FormAction
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

9 years agoSettingsAction now extends FormAction (and thus ManagedAction)
Mikael Nordfeldth [Thu, 16 Jul 2015 17:03:53 +0000 (19:03 +0200)]
SettingsAction now extends FormAction (and thus ManagedAction)

9 years agoOAuth widgets separated into their own files
Mikael Nordfeldth [Thu, 16 Jul 2015 16:52:43 +0000 (18:52 +0200)]
OAuth widgets separated into their own files

9 years agoFunction declarations to match parent class
Mikael Nordfeldth [Thu, 16 Jul 2015 16:45:59 +0000 (18:45 +0200)]
Function declarations to match parent class

9 years agoNon-replies cannot harvest parent notice nicknames
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.

9 years agoLess redundant code.
Mikael Nordfeldth [Wed, 15 Jul 2015 17:21:21 +0000 (19:21 +0200)]
Less redundant code.

9 years agoRemoving MicroID as well as simplifying profileaction
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

9 years agoMerge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly
abjectio [Sun, 12 Jul 2015 08:40:24 +0000 (10:40 +0200)]
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly

9 years agouserrss action didn't call parent preparation method
Mikael Nordfeldth [Sat, 11 Jul 2015 17:48:18 +0000 (19:48 +0200)]
userrss action didn't call parent preparation method

9 years agoDo we update feeduri and salmonuri for Ostatus_profile now?
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.

9 years agoMore RESTish URL (/notice/:notice/delete) for notice delete
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.

9 years agoDeletenoticeForm is its own class now
Mikael Nordfeldth [Sat, 11 Jul 2015 09:16:08 +0000 (11:16 +0200)]
DeletenoticeForm is its own class now

9 years agoNo limit argument to Rss10Action->getNotices() (use $this->limit)
Mikael Nordfeldth [Sat, 11 Jul 2015 09:09:16 +0000 (11:09 +0200)]
No limit argument to Rss10Action->getNotices() (use $this->limit)

9 years agoMerge branch 'nightly' into deletenotice_form_fix
Mikael Nordfeldth [Sat, 11 Jul 2015 08:49:41 +0000 (10:49 +0200)]
Merge branch 'nightly' into deletenotice_form_fix

9 years agobump alpha number to ease remote debugging help
Mikael Nordfeldth [Fri, 10 Jul 2015 23:00:04 +0000 (01:00 +0200)]
bump alpha number to ease remote debugging help

9 years agoForgot to push TargetedRss10Action
Mikael Nordfeldth [Fri, 10 Jul 2015 22:32:05 +0000 (00:32 +0200)]
Forgot to push TargetedRss10Action

9 years agoShowfavoritesAction now extends ShowstreamAction
Mikael Nordfeldth [Fri, 10 Jul 2015 22:28:32 +0000 (00:28 +0200)]
ShowfavoritesAction now extends ShowstreamAction

9 years agodefine Subscription_queue::exists as static
Mikael Nordfeldth [Fri, 10 Jul 2015 22:08:23 +0000 (00:08 +0200)]
define Subscription_queue::exists as static

9 years ago$notices and $notice is not the same, silly!
Mikael Nordfeldth [Fri, 10 Jul 2015 21:30:59 +0000 (23:30 +0200)]
$notices and $notice is not the same, silly!

9 years agoApiAction::dateTwitter was called statically from a plugin
Mikael Nordfeldth [Fri, 10 Jul 2015 21:30:17 +0000 (23:30 +0200)]
ApiAction::dateTwitter was called statically from a plugin

9 years agoMagicEnvelope called DOMDocument::loadXML statically
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

9 years agoCleaning up Directory plugin lists
Mikael Nordfeldth [Fri, 10 Jul 2015 21:19:54 +0000 (23:19 +0200)]
Cleaning up Directory plugin lists

9 years agoFoafAction now a ManagedAction
Mikael Nordfeldth [Fri, 10 Jul 2015 21:10:24 +0000 (23:10 +0200)]
FoafAction now a ManagedAction

9 years agoShowstreamAction no longer has public ->profile
Mikael Nordfeldth [Fri, 10 Jul 2015 21:09:44 +0000 (23:09 +0200)]
ShowstreamAction no longer has public ->profile

9 years agoForgotten migrations of ->profile and ->user to ->getTarget()
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

9 years agoThe 'target' is an argument to common_local_url not the target profile
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

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