]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
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!

8 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

8 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)

8 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

8 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

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

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

8 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

8 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

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

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

8 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

8 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)

8 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

8 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

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

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

8 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

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

8 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

8 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

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

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

8 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

8 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

8 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

8 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

8 years agoMerge branch 'jquery-cookie-undefined' into 'nightly'
mmn [Fri, 10 Jul 2015 14:03:30 +0000 (14:03 +0000)]
Merge branch 'jquery-cookie-undefined' into 'nightly'

Updates jquery.cookie usage to match changes from v1.4.0

`$.cookie('name')` returns `undefined` instead of `null` when cookie is not present.

This fixes a problem where the browser was never asking for location,
and the JSON.parse call was throwing an exception when the geolocation
cookie wasn't present.

Deleting a cookie should use `$.removeCookie('name')` instead of `$.cookie('name', null)`.

[Reference](https://github.com/carhartl/jquery-cookie/blob/7f88a4e631aba8a8c688fd8999ce6b9bcfd50718/CHANGELOG.md#140).

See merge request !20

8 years agoMerge branch 'master' into nightly
Mikael Nordfeldth [Fri, 10 Jul 2015 14:02:55 +0000 (16:02 +0200)]
Merge branch 'master' into nightly

8 years agoMerge branch 'permissions-fix' into 'master'
mmn [Fri, 10 Jul 2015 14:01:49 +0000 (14:01 +0000)]
Merge branch 'permissions-fix' into 'master'

Permissions fix

During Debian packaging I noticed that executable permissions on several files are incorrect.  In the fist case files such as .gitignore, .png, .ico were wrongly set as executable.  In the second case, files that are meant to be running on the command line such as maintenance scripts starting with "#!/usr/bin/env php" do not have executable permissions.  These files were identified by lintian automatic checking program.  This merge request aims to fix the problem.

See merge request !21

8 years agoMerge branch 'nightly' into deletenotice_form_fix
Mikael Nordfeldth [Fri, 10 Jul 2015 11:54:06 +0000 (13:54 +0200)]
Merge branch 'nightly' into deletenotice_form_fix

8 years agoShowstreamAction tidying up
Mikael Nordfeldth [Fri, 10 Jul 2015 11:44:47 +0000 (13:44 +0200)]
ShowstreamAction tidying up

Lots of these changes mean that we're requiring certain values to
either by typed properly or return the expected value. If it doesn't
there should be a fatal exception thrown which we can followup in the
logs and won't go silently suppressed.

8 years agostatic definition of User::getByNickname
Mikael Nordfeldth [Fri, 10 Jul 2015 10:59:19 +0000 (12:59 +0200)]
static definition of User::getByNickname

8 years agoShowstreamAction fixes so it's not as horrible
Mikael Nordfeldth [Fri, 10 Jul 2015 10:34:06 +0000 (12:34 +0200)]
ShowstreamAction fixes so it's not as horrible

8 years agoSpiff up the PersonalTagCloudSection class
Mikael Nordfeldth [Fri, 10 Jul 2015 10:23:55 +0000 (12:23 +0200)]
Spiff up the PersonalTagCloudSection class

missing a fix in actions/showstream.php for the switched position
of arguments in the constructor

8 years agoEasy comparison of two Profile objects
Mikael Nordfeldth [Fri, 10 Jul 2015 10:19:08 +0000 (12:19 +0200)]
Easy comparison of two Profile objects

8 years agoRedirecturlAction now extends ManagedAction
Mikael Nordfeldth [Fri, 10 Jul 2015 10:08:33 +0000 (12:08 +0200)]
RedirecturlAction now extends ManagedAction

8 years agoAdd executable permission to script missing it
Bhuvan Krishna [Fri, 10 Jul 2015 09:16:08 +0000 (14:46 +0530)]
Add executable permission to script missing it

8 years agoRemove executable permissions where unnecessary
Bhuvan Krishna [Fri, 10 Jul 2015 08:52:02 +0000 (14:22 +0530)]
Remove executable permissions where unnecessary

8 years agodelete notice form fix
Mikael Nordfeldth [Thu, 9 Jul 2015 22:52:22 +0000 (00:52 +0200)]
delete notice form fix

8 years agoIntroducing TargetedRss10Action for simplifying RSS 1.0
Mikael Nordfeldth [Thu, 9 Jul 2015 22:28:36 +0000 (00:28 +0200)]
Introducing TargetedRss10Action for simplifying RSS 1.0

8 years ago/:nickname/all/rss had to be before /:tagger/all/:tag
Mikael Nordfeldth [Thu, 9 Jul 2015 22:27:26 +0000 (00:27 +0200)]
/:nickname/all/rss had to be before /:tagger/all/:tag

...though this makes it impossible to get a list called "rss"

so FIXME, the RSS 1.0 actions should be in the API or something

8 years agoNeed to supply data to NoSuchUserException
Mikael Nordfeldth [Thu, 9 Jul 2015 22:08:09 +0000 (00:08 +0200)]
Need to supply data to NoSuchUserException

8 years agoRss10Action migrated to ManagedAction
Mikael Nordfeldth [Thu, 9 Jul 2015 21:14:23 +0000 (23:14 +0200)]
Rss10Action migrated to ManagedAction

8 years agoStartpageAction essentially duplicated TopAction
Mikael Nordfeldth [Thu, 9 Jul 2015 21:01:50 +0000 (23:01 +0200)]
StartpageAction essentially duplicated TopAction

8 years agoPEAR's Mail_mimeDecode updated
Mikael Nordfeldth [Thu, 9 Jul 2015 20:29:23 +0000 (22:29 +0200)]
PEAR's Mail_mimeDecode updated

8 years agoNo static calls (PEAR sucks ass)
Mikael Nordfeldth [Thu, 9 Jul 2015 20:26:03 +0000 (22:26 +0200)]
No static calls (PEAR sucks ass)

8 years agosearchsubmenu item() function definition
Mikael Nordfeldth [Thu, 9 Jul 2015 20:19:19 +0000 (22:19 +0200)]
searchsubmenu item() function definition

8 years agostatic function definitions and minor simplifying
Mikael Nordfeldth [Thu, 9 Jul 2015 20:16:14 +0000 (22:16 +0200)]
static function definitions and minor simplifying

8 years agoRss10Action now in an autodetected file.
Mikael Nordfeldth [Thu, 9 Jul 2015 12:22:22 +0000 (14:22 +0200)]
Rss10Action now in an autodetected file.

8 years agoCSS can handle alternating row colouring now
Mikael Nordfeldth [Thu, 9 Jul 2015 12:04:07 +0000 (14:04 +0200)]
CSS can handle alternating row colouring now

8 years agoType controlling in lib/atomnoticefeed.php
Mikael Nordfeldth [Thu, 9 Jul 2015 11:56:02 +0000 (13:56 +0200)]
Type controlling in lib/atomnoticefeed.php

8 years agoAPI actions are not ManagedAction yet
Mikael Nordfeldth [Thu, 9 Jul 2015 11:46:03 +0000 (13:46 +0200)]
API actions are not ManagedAction yet

8 years agoDelete notice script added. Give an ID or URI.
Mikael Nordfeldth [Wed, 8 Jul 2015 10:30:21 +0000 (12:30 +0200)]
Delete notice script added. Give an ID or URI.

8 years agoGravatar relies on closed source 3rd party
Mikael Nordfeldth [Wed, 8 Jul 2015 05:57:27 +0000 (07:57 +0200)]
Gravatar relies on closed source 3rd party

8 years agoFile_redirection static fixes and simplifying
Mikael Nordfeldth [Tue, 7 Jul 2015 18:16:05 +0000 (20:16 +0200)]
File_redirection static fixes and simplifying

8 years agohandle function declaration to match parent
Mikael Nordfeldth [Tue, 7 Jul 2015 18:02:41 +0000 (20:02 +0200)]
handle function declaration to match parent

8 years agoFile_redirection minor coding layout fix
Mikael Nordfeldth [Tue, 7 Jul 2015 17:59:43 +0000 (19:59 +0200)]
File_redirection minor coding layout fix

8 years agoFile_redirection is called statically
Mikael Nordfeldth [Tue, 7 Jul 2015 17:48:18 +0000 (19:48 +0200)]
File_redirection is called statically

8 years agoRobotstxtAction migrated to ManagedAction
Mikael Nordfeldth [Tue, 7 Jul 2015 17:45:01 +0000 (19:45 +0200)]
RobotstxtAction migrated to ManagedAction

8 years agoprepare and handle function to match parents
Mikael Nordfeldth [Tue, 7 Jul 2015 17:34:42 +0000 (19:34 +0200)]
prepare and handle function to match parents

8 years agoDon't statically call Validate functions
Mikael Nordfeldth [Tue, 7 Jul 2015 17:30:14 +0000 (19:30 +0200)]
Don't statically call Validate functions

8 years agoDirectMessagePlugin actions modernified
Mikael Nordfeldth [Tue, 7 Jul 2015 17:18:45 +0000 (19:18 +0200)]
DirectMessagePlugin actions modernified

8 years agoJanrain OpenID extlib updated
Mikael Nordfeldth [Sun, 5 Jul 2015 21:07:41 +0000 (23:07 +0200)]
Janrain OpenID extlib updated

From their tree on a4090d0b30f850044413630333341cd327cbb55a
Source: https://github.com/openid/php-openid

8 years agoMismatching function declarations.
Mikael Nordfeldth [Sat, 4 Jul 2015 17:51:36 +0000 (19:51 +0200)]
Mismatching function declarations.

8 years agoI had some inheritance the wrong way around.
Mikael Nordfeldth [Sat, 4 Jul 2015 17:48:35 +0000 (19:48 +0200)]
I had some inheritance the wrong way around.

8 years agoForgot NoticestreamAction, thanks roland.
Mikael Nordfeldth [Fri, 3 Jul 2015 22:02:05 +0000 (00:02 +0200)]
Forgot NoticestreamAction, thanks roland.

8 years agoStronger typing and fixes in RequireValidatedEmail
Mikael Nordfeldth [Fri, 3 Jul 2015 08:17:15 +0000 (10:17 +0200)]
Stronger typing and fixes in RequireValidatedEmail

8 years agoonly variables can be sent by reference (strict standards)
Mikael Nordfeldth [Thu, 25 Jun 2015 18:13:27 +0000 (20:13 +0200)]
only variables can be sent by reference (strict standards)

8 years agonon-static method was called statically, now defined static
Mikael Nordfeldth [Tue, 23 Jun 2015 11:24:19 +0000 (13:24 +0200)]
non-static method was called statically, now defined static

8 years agostricter typing in GroupsNav menu widget
Mikael Nordfeldth [Tue, 23 Jun 2015 10:56:19 +0000 (12:56 +0200)]
stricter typing in GroupsNav menu widget

8 years agoSelftagWidget had mismatching url() definition
Mikael Nordfeldth [Tue, 23 Jun 2015 10:37:00 +0000 (12:37 +0200)]
SelftagWidget had mismatching url() definition

8 years agoFeedList widget had mismatching show() definition
Mikael Nordfeldth [Tue, 23 Jun 2015 10:26:44 +0000 (12:26 +0200)]
FeedList widget had mismatching show() definition

8 years agoAccessibility fix, make yes button more explicit
Mikael Nordfeldth [Mon, 22 Jun 2015 21:40:51 +0000 (23:40 +0200)]
Accessibility fix, make yes button more explicit

8 years ago$.cookie('n', null) -> $.removeCookie as of 1.4.0
Chimo [Sat, 20 Jun 2015 23:35:43 +0000 (19:35 -0400)]
$.cookie('n', null) -> $.removeCookie as of 1.4.0