]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
Roland Haeder [Mon, 25 Jan 2016 15:37:38 +0000 (16:37 +0100)]
Added type-hint for StartMakeEntryForm and renamed $out to $action
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 25 Jan 2016 15:35:57 +0000 (16:35 +0100)]
Added type-hint for StartShowEntryForms hook
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 25 Jan 2016 15:33:36 +0000 (16:33 +0100)]
Added type-hint for adaptNoticeListItem() method
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 25 Jan 2016 15:31:46 +0000 (16:31 +0100)]
Added type-hint for constructor of NoticeTreeItem class
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 25 Jan 2016 14:50:45 +0000 (15:50 +0100)]
Added type-hint for StartShowNoticeFormData hook
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 25 Jan 2016 14:50:05 +0000 (15:50 +0100)]
Last type-hint is an array, added.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 25 Jan 2016 14:48:20 +0000 (15:48 +0100)]
Added missing type-hints for EndRssEntryArray hooks.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 25 Jan 2016 14:47:25 +0000 (15:47 +0100)]
Added missing type-hints for EndNoticeSave(Web) (different).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 25 Jan 2016 14:45:49 +0000 (15:45 +0100)]
Added type-hint for EndShowNoticeOptionItems hooks.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 25 Jan 2016 14:44:50 +0000 (15:44 +0100)]
Added type-hint for EndNoticeInScope hook.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 25 Jan 2016 14:44:03 +0000 (15:44 +0100)]
Added missing type-hint for EndPublicGroupNav (it is Menu).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 25 Jan 2016 14:41:43 +0000 (15:41 +0100)]
Added type-hint for StartHostMetaLinks hook
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 25 Jan 2016 14:41:05 +0000 (15:41 +0100)]
Added missing type-hint for StartShowHTML hook
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 25 Jan 2016 14:40:13 +0000 (15:40 +0100)]
Added type-hint for StartNoticeSourceLink hooks.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 25 Jan 2016 14:35:57 +0000 (15:35 +0100)]
Added type-hint for RedirectToLogin hooks. Please note that User $user=null
must beused as one call sets null for $user parameter.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 24 Jan 2016 15:10:23 +0000 (16:10 +0100)]
Introduced common_location_shared() to check if location sharing is always,
never or by-user enabled. This commit also excluded geometa.js if location
sharing is for any reason disabled as this loads an external reference from
Google.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 13 Jan 2016 16:28:28 +0000 (17:28 +0100)]
Save some else blocks that makes the code just more complex.
Signed-off-by: Roland Haeder <roland@mxchange.org>
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>
Roland Haeder [Sat, 4 Jul 2015 14:29:29 +0000 (16:29 +0200)]
Backward-compatiblity hack for PHP 5.4 installations.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 3 Jul 2015 23:29:39 +0000 (01:29 +0200)]
Found these missing, still there is one that says 'Action' as type-hint. Please investigate.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 2 Jun 2015 21:49:18 +0000 (23:49 +0200)]
Added new 'Scroller' plugin from @buttle which aims to replace the out-dated
'InfiniteScroll' plugin.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 1 Jun 2015 02:21:46 +0000 (04:21 +0200)]
.inc.php please ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 29 May 2015 16:39:32 +0000 (18:39 +0200)]
.inc files are mostly readable from the internet, e.g. http://example.org/some/file.inc and should be avoided.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 26 May 2015 01:36:23 +0000 (03:36 +0200)]
Re-added code from upstream (opps).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 22 May 2015 03:18:35 +0000 (05:18 +0200)]
Correct content now ... :-(
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 22 May 2015 03:04:54 +0000 (05:04 +0200)]
*** Privacy Leak fixed: ***
- isCurrentProfileInScope() is now more asked if the current profile is allowed
to see the given notice. It was possible (with upstream master) to see private
messages in RSS and (possible) JSON feeds
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 6 May 2015 07:45:16 +0000 (09:45 +0200)]
Added missing isPrivateScope().
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 19 Apr 2015 13:17:01 +0000 (15:17 +0200)]
Misses this file to merge. I like the comments.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 23:10:06 +0000 (00:10 +0100)]
No more needed (for this fix) but maybe later. So I always only comment them out.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 22:58:05 +0000 (23:58 +0100)]
typo fixed ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 22:56:27 +0000 (23:56 +0100)]
Opps, PEAR sucks. Need to call find() before fetch() ... :-(
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 22:53:57 +0000 (23:53 +0100)]
Needed to add notice_id to selected fields ... :-(
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 22:49:18 +0000 (23:49 +0100)]
fetch() must work to get this check passed.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 22:44:37 +0000 (23:44 +0100)]
??? Not Notice_tag?
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 22:41:39 +0000 (23:41 +0100)]
??? Not callable?
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 22:37:54 +0000 (23:37 +0100)]
Introduced isCurrentProfileInScope() which shall check if current profile is
allowed (in scope of) to see the tag.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 22:22:34 +0000 (23:22 +0100)]
Grrr, not fixed. So adding debug lines.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 22:16:34 +0000 (23:16 +0100)]
Possible hack for tags from private dents in public profile or wrong scope (both privacy leak).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 22:00:21 +0000 (23:00 +0100)]
Profile::current() suits better here.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 21:22:08 +0000 (22:22 +0100)]
Save some memory + added type-hint.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 21:07:51 +0000 (22:07 +0100)]
Added debug lines, the first attempt didn't work and I have *no* development system now. :-(
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Mar 2015 20:55:45 +0000 (21:55 +0100)]
Check scope, else a privacy leaks happens this way:
1) Bob and Alice follow each other and write private notices
(this->scope=2) to each other.
2) Bob uses tags in his private notice to alice (which she can
read from him).
3) Alice adds that notice (with tags) to her favorites
("faving") it.
4) The tags from Bob's private notice becomes visible in Alice's
profile.
This has the simple background that the scope is not being
re-checked. This has to be done here at this point because given
above scenario is a privacy leak as the tags may be *really*
private (nobody else shall see them) such as initmate words or
very political words.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 10 Mar 2015 17:31:46 +0000 (18:31 +0100)]
Added checked type-hints
Signed-off-by: Roland Haeder <roland@mxchange.org>
Conflicts:
classes/Notice.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 9 Mar 2015 00:40:44 +0000 (01:40 +0100)]
'checked' must be false because else the browser won't send any location and it is better for privacy ... :-)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 8 Mar 2015 23:55:35 +0000 (00:55 +0100)]
onArgsInitialize() wants an array and many plugins want to add more elements, so make it everywhere the same.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 6 Mar 2015 23:36:49 +0000 (00:36 +0100)]
rand() is weak on some OSes as it only produces random numbers from -32766 to
32766. So let's get rid of it all together and use mt_rand() (which produces
*way* larger numbers on *all* systems).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Conflicts:
lib/noticeform.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
aroquen [Thu, 5 Mar 2015 21:19:57 +0000 (22:19 +0100)]
Make attachment fit better in notice: drop text and link
Roland Haeder [Thu, 5 Mar 2015 18:18:38 +0000 (19:18 +0100)]
Added more checked type-hints
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 5 Mar 2015 17:43:57 +0000 (18:43 +0100)]
$related must contain class names, no table names ("all" lower-case) + fixed some checked type-hints.
Again, it must be User_flag_profile (class name), not user_flag_profile (table name).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 15 Feb 2015 21:43:20 +0000 (22:43 +0100)]
Fixed more type-hints for safety.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 31 Jan 2015 16:48:04 +0000 (17:48 +0100)]
Type-hint 'Action' for onEndProfileSettingsActions()
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 28 Jan 2015 11:43:02 +0000 (12:43 +0100)]
Added @pztrn@sn.pztrn.name 's wonderful statistics plugin as GIT module and linked all relevant files.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 18 Jan 2015 07:20:32 +0000 (08:20 +0100)]
Added missing method TagSub::getProfile()
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 18 Jan 2015 07:02:49 +0000 (08:02 +0100)]
Added missing SearchSub::getProfile() method.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 18 Jan 2015 06:07:00 +0000 (07:07 +0100)]
Added fixup script to fix bad profile URLs:
https://social.mxchange.org/conversation/83342#notice-83342
"I have written a small fixup script that fixes invalid profile URLs: If the
group is a remote group but #profileurl shows to
https://your.instance.tld/group/groupname then the profileurl field must be
fixed. cc !gnusocial I will commit it very soon."
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 18 Jan 2015 05:57:05 +0000 (06:57 +0100)]
$sender cannot be only Profile ... (false found).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Häder [Fri, 9 Jan 2015 08:08:55 +0000 (09:08 +0100)]
Maybe this message will be needed some day ...
Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
Roland Haeder [Thu, 18 Sep 2014 22:43:52 +0000 (00:43 +0200)]
Fixed:
-----------------------------
Argument 2 passed to Ostatus_profile::notifyDeferred() must be an
instance of Profile, instance of User given, called in
/var/www/htdocs/plugins/OStatus/lib/ostatusqueuehandler.php on line 156 and
defined (/var/www/htdocs/plugins/OStatus/classes/Ostatus_profile.php:363)
[ABORT]
-----------------------------
getProfile() must be called on this->user
Plus fixed/added some type-hints.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 16 Sep 2014 17:13:21 +0000 (19:13 +0200)]
Reoved another to strict type-hint + added check if $args is no array. In this
case the below foreach() is unneccessary as the if() block in it will never
match.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 16 Sep 2014 17:07:39 +0000 (19:07 +0200)]
Added asserts + remove wrong type-hint (was no array).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 12 Sep 2014 20:21:25 +0000 (22:21 +0200)]
Fixed ;-)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 12 Sep 2014 19:58:27 +0000 (21:58 +0200)]
Improved type-hint for following methods:
- handle
- isReadOnly
- prepare
Signed-off-by: Roland Haeder <roland@mxchange.org>
darksider3 [Mon, 3 Mar 2014 16:02:52 +0000 (16:02 +0000)]
Adding htaccess.sample back*shame*
darksider3 [Mon, 3 Mar 2014 15:57:25 +0000 (15:57 +0000)]
oops, DB.txt O_o
darksider3 [Mon, 3 Mar 2014 15:08:22 +0000 (15:08 +0000)]
Add urlshortenerplugin2.php to solve some @todo's and adding exceptions
Roland Haeder [Fri, 12 Sep 2014 19:58:27 +0000 (21:58 +0200)]
Improved type-hint for following methods:
- handle
- isReadOnly
- prepare
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 12 Sep 2014 19:41:53 +0000 (21:41 +0200)]
Added some (good known) type-hints.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 12 Sep 2014 16:48:59 +0000 (18:48 +0200)]
Possible fix for https://bugz.foocorp.net/T41
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 10 Sep 2014 20:06:50 +0000 (22:06 +0200)]
No need for php interpreter again as this script is executable.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 10 Sep 2014 20:06:12 +0000 (22:06 +0200)]
Fixed CHMOD.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 23 Aug 2014 11:16:29 +0000 (13:16 +0200)]
Added additional check.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 18 Aug 2014 19:59:25 +0000 (21:59 +0200)]
Fixes for making Meteor working with HTTPS.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 18 Aug 2014 16:34:36 +0000 (18:34 +0200)]
Usefull line for debugging added.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 18 Aug 2014 07:39:27 +0000 (09:39 +0200)]
Check for valid database connection object.
Signed-off-by: Roland Haeder <roland@mxchange.org>
darksider3 [Mon, 3 Mar 2014 16:02:52 +0000 (16:02 +0000)]
Adding htaccess.sample back*shame*
Miguel Dantas [Wed, 14 Aug 2019 13:25:04 +0000 (14:25 +0100)]
[LinkPreview] Fix 'no candidate for action "embedproxy"'
tenma [Mon, 12 Aug 2019 03:53:43 +0000 (04:53 +0100)]
[CORE] Fix subscription-related functions from the Profile class
The undifined variable $private_stream, from the User class, was causing
undifined behavior from calling requiresSubscriptionApproval. The is_null
test was added to fix this problem.
Miguel Dantas [Mon, 12 Aug 2019 22:16:08 +0000 (23:16 +0100)]
[DOCUMENTATION][SYSADMIN][CONFIGURE] x-static-delivery was in the wrong section
Diogo Cordeiro [Mon, 12 Aug 2019 03:45:25 +0000 (04:45 +0100)]
[NodeInfo] New endpoint and formula for computing active users
Seriously improved documentation
Now NodeInfo 2.0 is available at /api/nodeinfo/2.0.json
For active users we now also consider favourites and recently created accounts
Some further minor bug fixes and full review of the implementation
Diogo Cordeiro [Sun, 11 Aug 2019 13:53:31 +0000 (14:53 +0100)]
[DOCUMENTATION] Late update of CHANGELOG and TODO list
Diogo Cordeiro [Sat, 10 Aug 2019 21:52:00 +0000 (22:52 +0100)]
[DOCUMENTATION][SYSADMIN][CONFIG][profile] Fix default of backup and restore options
Miguel Dantas [Thu, 8 Aug 2019 23:15:38 +0000 (00:15 +0100)]
[REFACTOR] Added explicit return type to all instances of QueueHandler::handle
Miguel Dantas [Wed, 7 Aug 2019 21:47:17 +0000 (22:47 +0100)]
[CORE][QUEUE] Error checking and type declaration on handling notice queue events
Patch submitted by XRevan86
Diogo Cordeiro [Tue, 6 Aug 2019 01:52:47 +0000 (02:52 +0100)]
[PEAR][DB] Import some new commits
Patch submitted by XRevan86
[DB/pgsql.php] Change pg_exec to pg_query
Encouraged by http://php.net/manual/en/function.pg-query.php and enables
improved monitoring by New Relic (https://newrelic.com)
[DB.php] changed count to empty for php7.2
[DB/common.php] change to array cast for php72
From: https://github.com/pear/DB/
Commits:
7d0ddaff ,
d04a42a5 and
ea9fff4a , respectively
Diogo Cordeiro [Wed, 7 Aug 2019 00:31:09 +0000 (01:31 +0100)]
[EXTLIB][VALIDATE] Fix some types
Miguel Dantas [Sun, 4 Aug 2019 19:14:45 +0000 (20:14 +0100)]
[DOCUMENTATION] Added X-Sendfile/X-Accel-Redirect to the sample nginx and apache config files
Diogo Cordeiro [Wed, 7 Aug 2019 00:23:29 +0000 (01:23 +0100)]
[DOCUMENTATION] Add versioning information
Some other minor improvements and a bug fix in the boilerplate
Miguel Dantas [Wed, 7 Aug 2019 22:12:03 +0000 (23:12 +0100)]
[Embed] Fixed error related to oembed action
Diogo Cordeiro [Tue, 6 Aug 2019 00:43:42 +0000 (01:43 +0100)]
[DOCUMENTATION] Fix nginx location rule's regex for install and index
biodantas [Sat, 3 Aug 2019 20:04:14 +0000 (20:04 +0000)]
Merge branch 'master' of biodantas/gnu-social into master
Miguel Dantas [Sat, 3 Aug 2019 20:02:21 +0000 (21:02 +0100)]
[MEDIA] Fixed wrong image cropping
Miguel Dantas [Wed, 24 Jul 2019 07:51:45 +0000 (08:51 +0100)]
[MEDIA] Replaced internal image handling with intervention/image, which is capable of using both GD and ImageMagik
Miguel Dantas [Wed, 24 Jul 2019 06:31:42 +0000 (07:31 +0100)]
[CORE][COMPOSER] Added intervention/image
Diogo Cordeiro [Thu, 25 Jul 2019 00:29:20 +0000 (01:29 +0100)]
[CORE] Bump PHP requirement to PHP7.3+
Miguel Dantas [Tue, 23 Jul 2019 10:08:48 +0000 (11:08 +0100)]
[Embed] Fixed use of undefined variable in fixup_files script
Miguel Dantas [Tue, 23 Jul 2019 10:07:47 +0000 (11:07 +0100)]
[Embed] Resize thumbnails fetched by Embed to avoid keeping original images when we need only 128x128. Size configurable in config.php
Miguel Dantas [Mon, 15 Jul 2019 21:08:19 +0000 (22:08 +0100)]
[FORMAT][Embed] Ran php-cs-fixer on Embed's files and small style fixes
Diogo Cordeiro [Fri, 19 Jul 2019 08:55:39 +0000 (09:55 +0100)]
[DOCUMENTATION] Add a CHANGELOG that includes a TODO list to reach alpha in v2
Diogo Cordeiro [Mon, 15 Jul 2019 03:10:29 +0000 (04:10 +0100)]
[SCRIPTS] Make them work in v2 by setting PUBLICDIR
Miguel Dantas [Sat, 13 Jul 2019 23:05:01 +0000 (00:05 +0100)]
[Embed] Updated fixup_files.php script to be able to fix broken oEmbedinfo using the --broken-oembed flag