]>
git.mxchange.org Git - friendica.git/log
Roland Häder [Sat, 1 Apr 2017 20:16:08 +0000 (22:16 +0200)]
Merge branch 'develop' into rewrites/coding-convention-split2
Roland Haeder [Sat, 1 Apr 2017 19:46:57 +0000 (21:46 +0200)]
added spaces + used x ()
Signed-off-by: Roland Haeder <roland@mxchange.org>
Hypolite Petovan [Sat, 1 Apr 2017 18:32:27 +0000 (14:32 -0400)]
Merge pull request #3280 from annando/issue-3142-2
Issue 3142: mcrypt is no more (as well as phpseclib)
Michael [Sat, 1 Apr 2017 17:08:11 +0000 (17:08 +0000)]
Standards ...
Michael [Sat, 1 Apr 2017 10:07:12 +0000 (10:07 +0000)]
More mcrypt is removed
Michael [Sat, 1 Apr 2017 09:05:56 +0000 (09:05 +0000)]
Documentation added
Michael [Sat, 1 Apr 2017 08:28:42 +0000 (08:28 +0000)]
Issue 3142: mcrypt is no more (as well as phpseclib)
Roland Haeder [Fri, 31 Mar 2017 19:04:08 +0000 (21:04 +0200)]
Continued with CR:
- added spaces as requested
- removed parentheses from include/require calls as they are no functions
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 31 Mar 2017 18:55:50 +0000 (20:55 +0200)]
space-time contines ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 31 Mar 2017 18:52:32 +0000 (20:52 +0200)]
space-time!
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 31 Mar 2017 18:51:18 +0000 (20:51 +0200)]
Continued a bit:
- converted multiple single-line comments into one multi-line comment
- added spaces (space-time!)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 31 Mar 2017 18:49:43 +0000 (20:49 +0200)]
added space, marked rest 86 occurrences in todos.txt
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 31 Mar 2017 18:47:23 +0000 (20:47 +0200)]
added spaces, marked in todos.txt as usual
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 31 Mar 2017 18:44:38 +0000 (20:44 +0200)]
$tagged is being initialized but not written to until the foreach() loop is
being executed. Maybe here is old-lost code anyway?
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 31 Mar 2017 18:41:32 +0000 (20:41 +0200)]
Continued a bit:
- added 'array' type-hint which is valid for many versions back
- added spaces as requested by CR
- removed $a = get_app(); call, $a was no longer needed here
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 31 Mar 2017 18:36:01 +0000 (20:36 +0200)]
Continued a bit:
- recommended way is to use foreach() instead of own looping through arrays
- even when you need the index:
<?php
foreach ($someArray as $key => $value) {
// Handle $key/$value somehow
}
?>
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 31 Mar 2017 18:32:52 +0000 (20:32 +0200)]
added spaces (space-time!) and TODO that x() is maybe proper way?
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 31 Mar 2017 18:30:21 +0000 (20:30 +0200)]
Continued a bit:
- removed parentheses from include/require as they are no functions
- added type-hint for $a which is unused btw.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 31 Mar 2017 18:05:15 +0000 (20:05 +0200)]
fixed parser error
Signed-off-by: Roland Haeder <roland@mxchange.org>
Hypolite Petovan [Fri, 31 Mar 2017 15:02:30 +0000 (11:02 -0400)]
Merge pull request #3277 from annando/issue-3142
Replaces mcrypt with phpsec.
Michael [Fri, 31 Mar 2017 06:25:48 +0000 (06:25 +0000)]
We don't need this include anymore
Michael [Fri, 31 Mar 2017 06:22:43 +0000 (06:22 +0000)]
Now it's openssl - and no copy&paste failure anymore
Michael [Thu, 30 Mar 2017 23:21:52 +0000 (23:21 +0000)]
Test with OpenSSL
Roland Haeder [Thu, 30 Mar 2017 19:51:31 +0000 (21:51 +0200)]
whoops, parser error fixed
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 30 Mar 2017 19:50:19 +0000 (21:50 +0200)]
it is space-time! ;-)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 30 Mar 2017 19:48:46 +0000 (21:48 +0200)]
merged 2 if() into one three times
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 30 Mar 2017 19:45:35 +0000 (21:45 +0200)]
merged 2 if() into one as requested by CR
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 30 Mar 2017 19:44:32 +0000 (21:44 +0200)]
added spaces + removed parentheses (include/require are no functions)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 30 Mar 2017 19:42:00 +0000 (21:42 +0200)]
added spaces
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 30 Mar 2017 19:38:22 +0000 (21:38 +0200)]
removed old-lost code by CR request
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 30 Mar 2017 19:36:34 +0000 (21:36 +0200)]
Please use x() correctly:
<?php
if (x($someArray, 'element')) {
// Do something
}
?>
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 30 Mar 2017 19:32:12 +0000 (21:32 +0200)]
Continued a bit:
- added spaces / curly braces
- converted multiple single-line comments into one multi-line comment
- used more dbm::is_result()
- include/require are no functions, let's not abuse them ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 30 Mar 2017 18:33:38 +0000 (20:33 +0200)]
space to the rescue ... ;-) CR request
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 30 Mar 2017 18:30:23 +0000 (20:30 +0200)]
it is ... SPACE TIME! ;-)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Michael [Thu, 30 Mar 2017 18:29:12 +0000 (18:29 +0000)]
Replaces mcrypt with phpsec.
Roland Haeder [Thu, 30 Mar 2017 18:26:36 +0000 (20:26 +0200)]
removed old-lost code by CR request + spaces added ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 30 Mar 2017 18:24:55 +0000 (20:24 +0200)]
removed commented-out by CR request + it is ... SPACE TIME! ;-)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 30 Mar 2017 18:22:03 +0000 (20:22 +0200)]
spaces added according code convention and CR + fixed tzpo in function name (opps)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Michael Vogel [Tue, 28 Mar 2017 04:18:58 +0000 (06:18 +0200)]
Merge pull request #3275 from tobiasd/
20170327 -es
ES translation THX Albert
Hypolite Petovan [Tue, 28 Mar 2017 03:44:09 +0000 (23:44 -0400)]
Merge pull request #3276 from annando/issue-2959
Reestablish the communication with Mastodon
Michael [Mon, 27 Mar 2017 21:02:56 +0000 (21:02 +0000)]
Doing some Hypolyzation
Michael [Mon, 27 Mar 2017 20:58:15 +0000 (20:58 +0000)]
Reestablish the communication with Mastodon
Tobias Diekershoff [Mon, 27 Mar 2017 20:06:56 +0000 (22:06 +0200)]
ES translation THX Albert
Tobias Diekershoff [Mon, 27 Mar 2017 07:26:39 +0000 (09:26 +0200)]
Merge pull request #3271 from Hypolite/issue/#3189
Fix Diaspora code blocks being mangled
Tobias Diekershoff [Mon, 27 Mar 2017 07:24:41 +0000 (09:24 +0200)]
Merge pull request #3272 from annando/issue-2364
Only import new OStatus posts if they are from our followers
Michael [Mon, 27 Mar 2017 06:11:45 +0000 (06:11 +0000)]
Prevent Hypolite from doing comments about standards ;-)
Michael [Mon, 27 Mar 2017 05:33:43 +0000 (05:33 +0000)]
Only import new OStatus posts if they are from our followers
Hypolite Petovan [Sun, 26 Mar 2017 23:06:22 +0000 (19:06 -0400)]
Improve babel page display for diaspora2bb mode
- Fix formatting
Hypolite Petovan [Sun, 26 Mar 2017 23:00:04 +0000 (19:00 -0400)]
Fix Diaspora code blocks being mangled
- Remove whitespace removal code from `diaspora2bb()`
- Add code block skipping the HTML transforms removing whitespace in
`htm2bbcode()`
Hypolite Petovan [Sun, 26 Mar 2017 22:59:32 +0000 (18:59 -0400)]
Merge remote-tracking branch 'refs/remotes/friendica/develop' into develop
Hypolite Petovan [Sun, 26 Mar 2017 14:35:42 +0000 (10:35 -0400)]
Merge pull request #3270 from annando/1703-no-spam
The "spam" libary is not in use, so we remove it completely
Michael [Sun, 26 Mar 2017 14:19:34 +0000 (14:19 +0000)]
library/oauth.php is not in use as well.
Michael [Sun, 26 Mar 2017 14:06:26 +0000 (14:06 +0000)]
The "spam" libary is not in use, so we remove it completely
Hypolite Petovan [Sun, 26 Mar 2017 13:24:42 +0000 (09:24 -0400)]
Merge pull request #3269 from annando/1703-nodeinfo
We now return basic system data via nodeinfo at every time.
Michael [Sun, 26 Mar 2017 13:12:02 +0000 (13:12 +0000)]
Remove parendingsdas
Michael [Sun, 26 Mar 2017 12:51:25 +0000 (12:51 +0000)]
We now return basic system data via nodeinfo at every time.
Tobias Diekershoff [Sun, 26 Mar 2017 06:03:46 +0000 (08:03 +0200)]
Merge pull request #3267 from annando/issue-3248
Issue 3248: Make communityhome work again.
Michael [Sun, 26 Mar 2017 05:29:24 +0000 (05:29 +0000)]
Issue 3248: Make communityhome work again.
Hypolite Petovan [Sun, 26 Mar 2017 00:16:27 +0000 (20:16 -0400)]
Merge branch 'develop' of https://github.com/friendica/friendica into develop
Roland Haeder [Sat, 25 Mar 2017 20:21:50 +0000 (21:21 +0100)]
used ltrim() for removing (any) trailing space
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 20:19:52 +0000 (21:19 +0100)]
added spaces
Signed-off-by: Roland Haeder <roland@mxchange.org>
Hypolite Petovan [Sat, 25 Mar 2017 20:13:31 +0000 (16:13 -0400)]
Merge pull request #3251 from rabuzarus/20170320_-_fix_fbrowser
Bugfix: fbrowser did insert 2 Pictures instead of only 1
rabuzarus [Sat, 25 Mar 2017 20:10:57 +0000 (21:10 +0100)]
Remove the AjaxUpload element when jot modal is closed
Hypolite Petovan [Sat, 25 Mar 2017 20:09:10 +0000 (16:09 -0400)]
Merge remote-tracking branch 'refs/remotes/friendica/develop' into develop
Hypolite Petovan [Sat, 25 Mar 2017 20:06:53 +0000 (16:06 -0400)]
Merge pull request #3265 from annando/1703-remove-linefeeds
Remove unneeded linefeeds in HTML output
Hypolite Petovan [Sat, 25 Mar 2017 19:35:41 +0000 (15:35 -0400)]
Merge pull request #3257 from annando/1703-gcontact
Improved gcontact handling
Michael [Sat, 25 Mar 2017 19:31:32 +0000 (19:31 +0000)]
Remove unneeded linefeeds
Michael [Sat, 25 Mar 2017 18:00:56 +0000 (18:00 +0000)]
Remove the "call by reference"
Roland Haeder [Sat, 25 Mar 2017 17:32:33 +0000 (18:32 +0100)]
strange that this curly brace didn't make it in. now it is, thanks to @annando
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 17:32:11 +0000 (18:32 +0100)]
some spaces ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Michael [Sat, 25 Mar 2017 16:56:04 +0000 (16:56 +0000)]
Use of exceptions
Tobias Diekershoff [Sat, 25 Mar 2017 15:26:21 +0000 (16:26 +0100)]
Merge pull request #3263 from annando/1601-api-statuses-lookup
More GNU Social compatibility for the API
Tobias Diekershoff [Sat, 25 Mar 2017 15:25:20 +0000 (16:25 +0100)]
Merge pull request #3264 from annando/1703-avoid-api-error
Avoid API error when calling "/api/friendica/profile/show"
Michael [Sat, 25 Mar 2017 14:16:21 +0000 (14:16 +0000)]
Avoid API error when calling "/api/friendica/profile/show"
Roland Haeder [Sat, 25 Mar 2017 14:13:28 +0000 (15:13 +0100)]
and without self:: ;-(
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 14:12:24 +0000 (15:12 +0100)]
there is already $this->backend around, needs renaming
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 13:57:40 +0000 (14:57 +0100)]
fixed another parser error, opps
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 13:56:23 +0000 (14:56 +0100)]
Opps, fixed parser error. indending was confusing here
+ added much more curly braces
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 13:32:49 +0000 (14:32 +0100)]
rewrote for() loop to foreach() + added curly braces/spaces
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 13:07:26 +0000 (14:07 +0100)]
Continued:
- added curly braces/spaces
- converted multiple single-line comments into one multi-line comment
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 12:56:56 +0000 (13:56 +0100)]
Convention:
- comment blocks with 2 stars at beinging are doc-tags, with only star is a
regular multi-line comment
- added curly braces + spaces
- removed TODO, there needs to be a way of writing this better than using @
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 12:46:28 +0000 (13:46 +0100)]
was a bit confusing for me or I was not sleeping to much ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 12:40:43 +0000 (13:40 +0100)]
don't kill when no result is found, this may break communication, thanks to @annando explaining it
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 12:37:15 +0000 (13:37 +0100)]
PHP5 does not support native type-hints, except `array` + used dbm::is_result()
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 12:33:15 +0000 (13:33 +0100)]
fixed indending + closed own internal todo: better usage of x()
removed todo
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 12:30:12 +0000 (13:30 +0100)]
closed internal TODO, added parentheses as this is a minimized if/else block
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 12:27:38 +0000 (13:27 +0100)]
added a space
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 12:25:33 +0000 (13:25 +0100)]
Continued:
- added spaces
- made a code block even
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 12:22:39 +0000 (13:22 +0100)]
Continued:
- used dbm::is_result() to avoid E_WARNING when false is returned
- added curly braces + some spaces
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 12:18:28 +0000 (13:18 +0100)]
added spaces and curly braces
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 12:14:50 +0000 (13:14 +0100)]
Continued:
- added curly braces/spaces
- changed lower-case SQL keywords to upper-case
- used dbm::is_result() instead of count() (avoids warning in case of false is
returned)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 12:12:25 +0000 (13:12 +0100)]
removed old-lost code + internal TODO closed
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 12:08:38 +0000 (13:08 +0100)]
merged 2 if() into one, closes internal TODO
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 12:07:19 +0000 (13:07 +0100)]
removed parentheses, added curly ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 12:01:41 +0000 (13:01 +0100)]
removed TODO, one day this all needs refacturizing ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 11:59:37 +0000 (12:59 +0100)]
rewrote to static approach and if() condition can be simplified.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 11:55:13 +0000 (12:55 +0100)]
removed parentheses and indended it for better readability
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 11:53:01 +0000 (12:53 +0100)]
added spaces/curly braces and TODO for better using trim()
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 11:49:09 +0000 (12:49 +0100)]
removed old-lost code
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 25 Mar 2017 11:47:31 +0000 (12:47 +0100)]
changed "and" -> && according to CR
Signed-off-by: Roland Haeder <roland@mxchange.org>