]>
git.mxchange.org Git - friendica.git/log
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>
Roland Haeder [Sat, 25 Mar 2017 11:43:07 +0000 (12:43 +0100)]
added spaces, removed parentheses. there is more ahead than just this one.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 24 Mar 2017 21:44:18 +0000 (22:44 +0100)]
space-time season continues ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 24 Mar 2017 21:40:25 +0000 (22:40 +0100)]
it is space-time! ;-)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 24 Mar 2017 21:36:13 +0000 (22:36 +0100)]
added more spaces (CR request)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 24 Mar 2017 21:33:57 +0000 (22:33 +0100)]
added more curly braces/spaces
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 24 Mar 2017 20:17:00 +0000 (21:17 +0100)]
killme() does the same here + added curly braces
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 24 Mar 2017 20:15:14 +0000 (21:15 +0100)]
Opps, became lazy here, thanks to @Hypolite finding it.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 24 Mar 2017 20:08:03 +0000 (21:08 +0100)]
Continued:
- some spaces added
- removed parentheses as requested by @Hypolite
- added really important TODO as remote-inclusion is not what you want
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 24 Mar 2017 20:05:08 +0000 (21:05 +0100)]
removed parentheses + added TODO about a small rewrite
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 24 Mar 2017 19:57:52 +0000 (20:57 +0100)]
Continued:
- marked commented-out code as possible old-lost
- added more curly braces
- used more dbm::is_result() where SELECT is stated
- ! added quotes in array element, else (here) >thumb< (without quotes) is
considered as a constant and causes an E_NOTICE
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 24 Mar 2017 19:50:10 +0000 (20:50 +0100)]
fixed parser error
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 24 Mar 2017 19:39:00 +0000 (20:39 +0100)]
Continued:
- converted multiple single-line comments into one multi-line comment (please
stop abusing programming languages!)
- added more TODO tags for type-hints (upcoming rewrite)
- opps, one space was only fixed in develop branch, not in this PR branch
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 23 Mar 2017 22:37:58 +0000 (23:37 +0100)]
fixed comment and explained one
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 23 Mar 2017 22:07:29 +0000 (23:07 +0100)]
Continued with #3254:
- added curly braces + spaces
- converted multiple single-line comments to one multi-line comment
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 23 Mar 2017 22:05:53 +0000 (23:05 +0100)]
added more curly braces + spaces for #3254
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 23 Mar 2017 22:01:04 +0000 (23:01 +0100)]
Continued #3254:
- thrown out old lost-code
- add curly braces (not curely ;-) ) and spaces
- exit is not a keyword, it is a function, so use () here
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 23 Mar 2017 21:51:52 +0000 (22:51 +0100)]
added curely braces + TODO for maybe avoiding multi-lined if() blocks as it confuses #3254
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 23 Mar 2017 21:49:05 +0000 (22:49 +0100)]
old behaviour restored
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 23 Mar 2017 21:43:46 +0000 (22:43 +0100)]
added more spaces and curely braces
killed ?> as it is discouraged
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 23 Mar 2017 21:33:12 +0000 (22:33 +0100)]
added curely branches + reverted back to old behaviour (may come back one day)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 23 Mar 2017 21:26:07 +0000 (22:26 +0100)]
better comment added by @Hypolite
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 23 Mar 2017 21:22:18 +0000 (22:22 +0100)]
more spaces added (CR by @Hypolite)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 23 Mar 2017 21:19:10 +0000 (22:19 +0100)]
it is space-season ... ;-) #3254
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 23 Mar 2017 21:16:04 +0000 (22:16 +0100)]
closed internal TODO, merged 2 if() to one + added spaces
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 23 Mar 2017 21:12:51 +0000 (22:12 +0100)]
yet another one removed, thanks to @Hypolite for CR
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 23 Mar 2017 21:10:37 +0000 (22:10 +0100)]
removed no longer old stuff, let's don't stuff code with commented-out code
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 23 Mar 2017 21:08:33 +0000 (22:08 +0100)]
added more spaces #3254
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 23 Mar 2017 20:46:49 +0000 (21:46 +0100)]
No parantheses here + no @ (which surpresses warnings and such) #3254
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 23 Mar 2017 20:45:00 +0000 (21:45 +0100)]
Opps, missed one ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 23 Mar 2017 20:39:03 +0000 (21:39 +0100)]
added curly braces #3254
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 23 Mar 2017 19:48:48 +0000 (20:48 +0100)]
replaced some tabs -> spaces + added curly braces #3254
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Häder [Thu, 26 Jan 2017 13:28:43 +0000 (14:28 +0100)]
added missing spaces/curly braces
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 26 Jan 2017 08:38:52 +0000 (09:38 +0100)]
Continued:
- added missing space/curly braces
- added TODOs for later adding a lot type-hints, without these (and they are
long time around in PHP) anything can be handled over to the method/function.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 25 Jan 2017 14:59:27 +0000 (15:59 +0100)]
added more curly braces + a bit more usage of dbm::is_result()
Signed-off-by: Roland Häder <roland@mxchange.org>
Hypolite Petovan [Tue, 21 Mar 2017 16:04:19 +0000 (12:04 -0400)]
Merge pull request #3253 from friendica/revert-3112-rewrites/coding-convention
Revert "Coding convention applied - part 1"
Hypolite Petovan [Tue, 21 Mar 2017 16:02:59 +0000 (12:02 -0400)]
Revert "Coding convention applied - part 1"
Hypolite Petovan [Tue, 21 Mar 2017 14:19:53 +0000 (10:19 -0400)]
Merge pull request #3112 from Quix0r/rewrites/coding-convention
Coding convention applied - part 1
Tobias Diekershoff [Tue, 21 Mar 2017 06:27:10 +0000 (07:27 +0100)]
Merge pull request #3246 from annando/1701-poco
Split poco discovery in smaller function calls
Roland Haeder [Mon, 20 Mar 2017 19:51:32 +0000 (20:51 +0100)]
Merge remote-tracking branch 'upstream/develop' into rewrites/coding-convention
Signed-off-by: Roland Haeder <roland@mxchange.org>
Hypolite Petovan [Mon, 20 Mar 2017 17:18:18 +0000 (13:18 -0400)]
Merge pull request #3241 from rabuzarus/20170316_-_fix_event_edit
add dop event & fix event edit
rabuzarus [Mon, 20 Mar 2017 16:19:24 +0000 (17:19 +0100)]
add missed NULL_DATE
rabuzarus [Mon, 20 Mar 2017 16:16:39 +0000 (17:16 +0100)]
Merge origin/20170316_-_fix_event_edit into 20170316_-_fix_event_edit
Conflicts:
mod/events.php
rabuzarus [Mon, 20 Mar 2017 15:59:21 +0000 (16:59 +0100)]
add NULL_DATE & coding standard work
rabuzarus [Mon, 20 Mar 2017 15:46:36 +0000 (16:46 +0100)]
Merge develop into 20170316_-_fix_event_edit
Conflicts:
mod/events.php
Hypolite Petovan [Mon, 20 Mar 2017 15:08:07 +0000 (11:08 -0400)]
Merge branch 'develop' into 20170316_-_fix_event_edit
Michael Vogel [Mon, 20 Mar 2017 07:40:37 +0000 (08:40 +0100)]
Merge pull request #3250 from tobiasd/
20170320 -msg
regenerated master messages.po file
Tobias Diekershoff [Mon, 20 Mar 2017 07:27:10 +0000 (08:27 +0100)]
regenerated master messages.po file
Tobias Diekershoff [Mon, 20 Mar 2017 06:20:23 +0000 (07:20 +0100)]
Merge pull request #3247 from annando/issue-3242-b
If the maintenance reason is a url, then redirect to this address
Michael [Mon, 20 Mar 2017 04:37:59 +0000 (04:37 +0000)]
Test code removed
Michael [Mon, 20 Mar 2017 04:37:13 +0000 (04:37 +0000)]
Enhanced explanation
Hypolite Petovan [Mon, 20 Mar 2017 01:00:55 +0000 (21:00 -0400)]
Merge pull request #3249 from annando/bugfix-dbstructure
Bugfix for issue 3242 - forgotten "use"
Michael [Sun, 19 Mar 2017 22:58:35 +0000 (22:58 +0000)]
Bugfix for issue 3242 - forgotten "use"
Michael [Sun, 19 Mar 2017 21:32:11 +0000 (21:32 +0000)]
Standards and just some more poco slitting
Michael [Sun, 19 Mar 2017 19:03:09 +0000 (19:03 +0000)]
If the maintenance reason is a url, then redirect to this address
Michael [Sun, 19 Mar 2017 18:24:49 +0000 (18:24 +0000)]
Added documention
Michael [Sun, 19 Mar 2017 17:43:59 +0000 (17:43 +0000)]
Split the POCO discovery process in several small processes
Michael [Sun, 19 Mar 2017 15:36:41 +0000 (15:36 +0000)]
Merge remote-tracking branch 'upstream/develop' into 1701-poco
Conflicts:
include/socgraph.php
Hypolite Petovan [Sun, 19 Mar 2017 15:06:25 +0000 (11:06 -0400)]
Merge pull request #3245 from annando/issue-3242
Issue 3242: Define a maintenance reason
Hypolite Petovan [Sun, 19 Mar 2017 15:03:32 +0000 (11:03 -0400)]
Merge pull request #3243 from annando/1702-null-date
Datetime compatibility to MySQL restored
Michael [Sun, 19 Mar 2017 14:57:36 +0000 (14:57 +0000)]
Standards, like always
Michael [Sun, 19 Mar 2017 14:43:24 +0000 (14:43 +0000)]
Some more standards
Michael [Sun, 19 Mar 2017 13:24:07 +0000 (13:24 +0000)]
Issue 3242: Define a maintenance reason
Michael [Sun, 19 Mar 2017 08:06:02 +0000 (08:06 +0000)]
Merge remote-tracking branch 'upstream/develop' into 1702-null-date
Michael [Sun, 19 Mar 2017 08:04:04 +0000 (08:04 +0000)]
Standards, what else?
Michael [Sat, 18 Mar 2017 23:32:59 +0000 (23:32 +0000)]
You shoudln't use a text variable like an array.
Roland Haeder [Sun, 19 Mar 2017 00:04:30 +0000 (01:04 +0100)]
added spaces according to coding-convention
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 19 Mar 2017 00:03:14 +0000 (01:03 +0100)]
old-lost update way, no need for TODO around.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 19 Mar 2017 00:02:01 +0000 (01:02 +0100)]
removed MyISAM ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 19 Mar 2017 00:00:35 +0000 (01:00 +0100)]
added logger ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 18 Mar 2017 23:58:46 +0000 (00:58 +0100)]
added spaces around + curly braces ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 18 Mar 2017 23:56:58 +0000 (00:56 +0100)]
better log here ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Häder [Tue, 7 Feb 2017 08:36:16 +0000 (09:36 +0100)]
Continued:
- added curly braces
- added TODO
- removed TODO (no change needed, is fine)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 7 Feb 2017 08:06:33 +0000 (09:06 +0100)]
don't quit silently, at least a TODO is now around
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 7 Feb 2017 08:05:19 +0000 (09:05 +0100)]
Missed a 't', thanks to @annando
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 26 Jan 2017 15:07:30 +0000 (16:07 +0100)]
more spaces + some curly spaces added
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 26 Jan 2017 15:01:56 +0000 (16:01 +0100)]
added spaces + some curly braces
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 26 Jan 2017 14:23:30 +0000 (15:23 +0100)]
added spaces + some curly braces + some usage of dbm::is_result()
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 26 Jan 2017 09:01:15 +0000 (10:01 +0100)]
Continued:
- added missing spaces/curly braces
- some more usage of dbm::is_result()
- 2 oppsite if() statements can be mored to else
- added more TODOs for type-hinting
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 26 Jan 2017 08:38:52 +0000 (09:38 +0100)]
Continued:
- added missing space/curly braces
- added TODOs for later adding a lot type-hints, without these (and they are
long time around in PHP) anything can be handled over to the method/function.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 25 Jan 2017 15:02:02 +0000 (16:02 +0100)]
Opps ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 25 Jan 2017 14:59:27 +0000 (15:59 +0100)]
added more curly braces + a bit more usage of dbm::is_result()
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 24 Jan 2017 16:55:31 +0000 (17:55 +0100)]
added more spaces/curly braces
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 23 Jan 2017 09:14:48 +0000 (10:14 +0100)]
unified most db upgrades:
- common way is to check on result ($r mostly) of db upgrade
- on success, return UPDATE_SUCCESS
- on failure, return UPDATE_FAILED
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 31 Jan 2017 07:57:16 +0000 (08:57 +0100)]
added curly braces + removed more useless intval() calls on file_exists()
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 27 Jan 2017 15:53:38 +0000 (16:53 +0100)]
fixed chmod
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 27 Jan 2017 10:58:40 +0000 (11:58 +0100)]
Continued a bit:
- converted some else if to elseif (only PHP)
- converted some space -> tab (intending)
Signed-off-by: Roland Häder <roland@mxchange.org>
rabuzarus [Sat, 18 Mar 2017 23:51:57 +0000 (00:51 +0100)]
Merge pull request #3244 from annando/bugfix-text
You shouldn't use a text variable like an array.
Roland Häder [Fri, 27 Jan 2017 10:53:56 +0000 (11:53 +0100)]
added spaces (coding convention)
Signed-off-by: Roland Häder <roland@mxchange.org>