friendica.git
5 years agoShould be DBA::isResult() fixes/e-notice-mod-item-preview
Roland Häder [Tue, 24 Jul 2018 21:15:03 +0000 (23:15 +0200)]
Should be DBA::isResult()

5 years agoFixes:
Roland Häder [Tue, 24 Jul 2018 01:42:40 +0000 (03:42 +0200)]
Fixes:
- got rid of x() in whole mod/item.php file
- added missing 'prv' and 'forum' columns, maybe one day, let's rewrite this
  again. it is kinda a maintenance nightmare, keeping up with column renames and
  such. Well, for now it should be okay.

5 years agoFallback to Diaspora if DFRN transmission fails (#5487)
Michael Vogel [Tue, 24 Jul 2018 18:12:09 +0000 (20:12 +0200)]
Fallback to Diaspora if DFRN transmission fails (#5487)

5 years agoMerge pull request #5452 from MrPetovan/bug/5443-fix-worker-notices
Michael Vogel [Tue, 24 Jul 2018 15:11:53 +0000 (17:11 +0200)]
Merge pull request #5452 from MrPetovan/bug/5443-fix-worker-notices

Fix notices in OEmbed et al.

5 years agoReduce cache time for OEmbed error
Hypolite Petovan [Tue, 24 Jul 2018 15:05:09 +0000 (11:05 -0400)]
Reduce cache time for OEmbed error

5 years ago[frio] Fix profile edit links. [#5474] (#5475)
Andreas Neustifter [Tue, 24 Jul 2018 14:20:16 +0000 (16:20 +0200)]
[frio] Fix profile edit links. [#5474] (#5475)

5 years agoStore guid and plink with event (#5485)
Michael Vogel [Tue, 24 Jul 2018 14:01:31 +0000 (16:01 +0200)]
Store guid and plink with event (#5485)

* Store guid and plink with event

* One space too much

5 years agoMove addLanguageToItemArray call when body is ensured
Hypolite Petovan [Tue, 24 Jul 2018 12:52:25 +0000 (08:52 -0400)]
Move addLanguageToItemArray call when body is ensured

5 years agoAdded bootstrap tables to queues (#5484)
Jeroen De Meerleer [Tue, 24 Jul 2018 12:10:20 +0000 (14:10 +0200)]
Added bootstrap tables to queues (#5484)

* Added bootstrap tables to queues

* Changed to double quotes

5 years agoFix undefined oembed properties
Hypolite Petovan [Sun, 22 Jul 2018 17:01:53 +0000 (13:01 -0400)]
Fix undefined oembed properties

- Add Object\OEmbed class

5 years agoFix Undefined index: nurl in Protocol\PortableContact
Hypolite Petovan [Sun, 22 Jul 2018 16:50:13 +0000 (12:50 -0400)]
Fix Undefined index: nurl in Protocol\PortableContact

5 years agoFix by reference notice in Protocol\PortableContact
Hypolite Petovan [Sun, 22 Jul 2018 16:45:24 +0000 (12:45 -0400)]
Fix by reference notice in Protocol\PortableContact

5 years agoFix undefined index body in Model\Item
Hypolite Petovan [Sun, 22 Jul 2018 16:41:48 +0000 (12:41 -0400)]
Fix undefined index body in Model\Item

5 years agoFix getimagesizefromstring() read errors
Hypolite Petovan [Sun, 22 Jul 2018 16:38:53 +0000 (12:38 -0400)]
Fix getimagesizefromstring() read errors

5 years agoSome removed notices when viewing events (#5483)
Michael Vogel [Tue, 24 Jul 2018 11:51:50 +0000 (13:51 +0200)]
Some removed notices when viewing events (#5483)

5 years agoFixes for E_NOTICE in editpost.php (#5480)
Roland Häder [Tue, 24 Jul 2018 11:47:25 +0000 (13:47 +0200)]
Fixes for E_NOTICE in editpost.php (#5480)

* Added missing columns 'wall' and 'post-type'.

* Convention:
- curly brace after a a method/function declaration belongs to next line
- added space for better readability

5 years agoMerge pull request #5482 from annando/issue-5467a
Tobias Diekershoff [Tue, 24 Jul 2018 06:57:28 +0000 (08:57 +0200)]
Merge pull request #5482 from annando/issue-5467a

Issue 5467: Cron jobs hadn't been executed

5 years agoIssue 5467: Cron jobs hadn't been executed
Michael [Tue, 24 Jul 2018 06:15:58 +0000 (06:15 +0000)]
Issue 5467: Cron jobs hadn't been executed

5 years agoMerge pull request #5481 from annando/issue-5467
Tobias Diekershoff [Tue, 24 Jul 2018 04:27:05 +0000 (06:27 +0200)]
Merge pull request #5481 from annando/issue-5467

Issue 5467: Fix worker and daemon

5 years agoSome code cleanup
Michael [Tue, 24 Jul 2018 04:15:19 +0000 (04:15 +0000)]
Some code cleanup

5 years agoIssue 5467: Fix worker and daemon
Michael [Tue, 24 Jul 2018 03:42:44 +0000 (03:42 +0000)]
Issue 5467: Fix worker and daemon

5 years agoMerge pull request #5478 from MrPetovan/task/5410-add-missing-use-statements
Michael Vogel [Tue, 24 Jul 2018 01:57:20 +0000 (03:57 +0200)]
Merge pull request #5478 from MrPetovan/task/5410-add-missing-use-statements

Add missing use statements after dbesc conversion

5 years agoFixes: (#5477)
Roland Häder [Mon, 23 Jul 2018 22:52:48 +0000 (00:52 +0200)]
Fixes: (#5477)
- use DBA::isResult() and not count()
- fixed 4 E_NOTICE when POST fields are not set

5 years agoAvoid no needed call on parse2str() when there is nothing to parse (#5476)
Roland Häder [Mon, 23 Jul 2018 22:52:07 +0000 (00:52 +0200)]
Avoid no needed call on parse2str() when there is nothing to parse (#5476)

5 years agoAd missing use statements after dbesc conversion
Hypolite Petovan [Mon, 23 Jul 2018 22:44:05 +0000 (18:44 -0400)]
Ad missing use statements after dbesc conversion

5 years agoMerge pull request #5439 from MrPetovan/task/5410-remove-dbesc
Michael Vogel [Mon, 23 Jul 2018 19:51:49 +0000 (21:51 +0200)]
Merge pull request #5439 from MrPetovan/task/5410-remove-dbesc

Move DBA to src/ part 4.1: Remove dbesc()

5 years agoAdded true to json_decode (#5471)
Jeroen De Meerleer [Mon, 23 Jul 2018 19:51:08 +0000 (21:51 +0200)]
Added true to json_decode (#5471)

5 years agoRemove dbesc() and dba_timer() function declarations
Hypolite Petovan [Sat, 21 Jul 2018 13:17:10 +0000 (09:17 -0400)]
Remove dbesc() and dba_timer() function declarations

5 years agoRename dbesc to DBA::escape
Hypolite Petovan [Sat, 21 Jul 2018 13:10:13 +0000 (09:10 -0400)]
Rename dbesc to DBA::escape

5 years agoUpdate DBA::escape to match dbesc()
Hypolite Petovan [Sat, 21 Jul 2018 13:07:20 +0000 (09:07 -0400)]
Update DBA::escape to match dbesc()

5 years agoMerge pull request #5438 from MrPetovan/task/5410-remove-dbm-class
Michael Vogel [Mon, 23 Jul 2018 19:05:32 +0000 (21:05 +0200)]
Merge pull request #5438 from MrPetovan/task/5410-remove-dbm-class

Move DBA to src/ part 3.2: Remove DBM class

5 years agoDelete Database\DBM class file
Hypolite Petovan [Sat, 21 Jul 2018 12:49:18 +0000 (08:49 -0400)]
Delete Database\DBM class file

5 years agoRename DBA::esc_array to DBA::escapeArray
Hypolite Petovan [Sat, 21 Jul 2018 12:48:29 +0000 (08:48 -0400)]
Rename DBA::esc_array to DBA::escapeArray

- Rename internal method DBA::esc_array_callback to
DBA::escapeArrayCallback

5 years agoRename DBA::is_result to DBA::isResult
Hypolite Petovan [Sat, 21 Jul 2018 12:46:04 +0000 (08:46 -0400)]
Rename DBA::is_result to DBA::isResult

5 years agoRename DBM method calls to DBA method calls
Hypolite Petovan [Sat, 21 Jul 2018 12:40:21 +0000 (08:40 -0400)]
Rename DBM method calls to DBA method calls

5 years agoUse DateTimeFormat::utc() instead of DBM::date()
Hypolite Petovan [Sat, 21 Jul 2018 12:25:11 +0000 (08:25 -0400)]
Use DateTimeFormat::utc() instead of DBM::date()

5 years agoAdd Database\DBM methods to Database\DBA
Hypolite Petovan [Sat, 21 Jul 2018 12:21:23 +0000 (08:21 -0400)]
Add Database\DBM methods to Database\DBA

5 years agoAdd missing space between PHP path and script in App->proc_run (#5468)
Hypolite Petovan [Mon, 23 Jul 2018 14:43:39 +0000 (10:43 -0400)]
Add missing space between PHP path and script in App->proc_run (#5468)

5 years agoMerge pull request #5431 from MrPetovan/task/5410-rename-database-methods
Michael Vogel [Mon, 23 Jul 2018 13:18:58 +0000 (15:18 +0200)]
Merge pull request #5431 from MrPetovan/task/5410-rename-database-methods

Move DBA to src/ part 3.1: Rename DBA methods

5 years agoFix Fatal errors in Protocol\OStatus (#5466)
Hypolite Petovan [Mon, 23 Jul 2018 11:48:44 +0000 (07:48 -0400)]
Fix Fatal errors in Protocol\OStatus (#5466)

5 years agoAnd some more removed notices in the core (#5465)
Michael Vogel [Mon, 23 Jul 2018 11:43:18 +0000 (13:43 +0200)]
And some more removed notices in the core (#5465)

5 years agoUsing getopt for CLI arguments (#5446)
Philipp [Mon, 23 Jul 2018 11:40:52 +0000 (13:40 +0200)]
Using getopt for CLI arguments (#5446)

* Adding Argument class to Friendica

* Adding Argument class to Friendica

* Adding Argument class to Friendica

* fixing arguments for `spawnWorker`

* Adding `use Friendica\BaseObject` to `ApiTest.php`

* Refactoring the argument-usages of Friendica

* Refactoring the argument-usages of Friendica

* removing superfluous []

5 years agoCleaned up: (#5461)
Roland Häder [Mon, 23 Jul 2018 01:19:28 +0000 (03:19 +0200)]
Cleaned up: (#5461)

- no more x() (deprecated) usage but empty() instead
- fixed mixing of space/tab indending
- merged else/if block goether in elseif() (lesser nested code blocks)

5 years agoCleanup: (#5463)
Roland Häder [Mon, 23 Jul 2018 01:18:21 +0000 (03:18 +0200)]
Cleanup: (#5463)

- rewrote x() to empty() as it is deprecated
- fixed indending for some entries

5 years agoFixes: (#5462)
Roland Häder [Mon, 23 Jul 2018 01:17:44 +0000 (03:17 +0200)]
Fixes: (#5462)
- fixed E_NOTICE about missing array element "page-flags-raw" (should be
  "page_flags_raw"?)
- same with account-type-raw -> account_type_raw
- added spaces to nicely indent code

5 years agoPrevents 4 E_NOTICEs when POST fields are not set. (#5458)
Roland Häder [Sun, 22 Jul 2018 23:49:16 +0000 (01:49 +0200)]
Prevents 4 E_NOTICEs when POST fields are not set. (#5458)

* Prevents 4 E_NOTICEs when POST fields are not set.

* Don't use x().

* Replaced usage of x() which is deprecated with !isset().

* Use empty() according to MrPetovan

5 years agoRename DBA::get_db to DBA::getConnection
Hypolite Petovan [Sat, 21 Jul 2018 02:11:11 +0000 (22:11 -0400)]
Rename DBA::get_db to DBA::getConnection

- Rename DBA::$db to DBA::$connection

5 years agoRename DBA::num_rows to DBA::numRows
Hypolite Petovan [Sat, 21 Jul 2018 02:05:12 +0000 (22:05 -0400)]
Rename DBA::num_rows to DBA::numRows

5 years agoRename DBA::server_info to DBA::serverInfo
Hypolite Petovan [Sat, 21 Jul 2018 02:04:43 +0000 (22:04 -0400)]
Rename DBA::server_info to DBA::serverInfo

5 years agoRename DBA::inArray to DBA::toArray
Hypolite Petovan [Sat, 21 Jul 2018 02:03:40 +0000 (22:03 -0400)]
Rename DBA::inArray to DBA::toArray

5 years agoRename DBA::fetch_first to DBA::fetchFirst
Hypolite Petovan [Sat, 21 Jul 2018 02:01:53 +0000 (22:01 -0400)]
Rename DBA::fetch_first to DBA::fetchFirst

5 years agoRename DBA::database_name to DBA::databaseName
Hypolite Petovan [Sat, 21 Jul 2018 02:00:16 +0000 (22:00 -0400)]
Rename DBA::database_name to DBA::databaseName

5 years agoRename DBA::clean_query to DBA::cleanQuery
Hypolite Petovan [Sat, 21 Jul 2018 01:59:17 +0000 (21:59 -0400)]
Rename DBA::clean_query to DBA::cleanQuery

5 years agoRename DBA::any_value_fallback to DBA::anyValueFallback
Hypolite Petovan [Sat, 21 Jul 2018 01:58:30 +0000 (21:58 -0400)]
Rename DBA::any_value_fallback to DBA::anyValueFallback

5 years agoRename DBA::affected_rows to DBA::affectedRows
Hypolite Petovan [Sat, 21 Jul 2018 01:58:15 +0000 (21:58 -0400)]
Rename DBA::affected_rows to DBA::affectedRows

5 years agoNeed to load "verb" from notify table, too. This whole thing is a maintenance (#5459)
Roland Häder [Sun, 22 Jul 2018 23:25:07 +0000 (01:25 +0200)]
Need to load "verb" from notify table, too. This whole thing is a maintenance (#5459)

nightmare. Let's use the new database frontend/backend system and load all
columns anywhere the "entity" is requested.

5 years agoFix Fatal error in Protocol\Diaspora (#5460)
Hypolite Petovan [Sun, 22 Jul 2018 23:22:41 +0000 (19:22 -0400)]
Fix Fatal error in Protocol\Diaspora (#5460)

5 years agoFixed E_NOTICE when no valid result has been returned. (#5457)
Roland Häder [Sun, 22 Jul 2018 22:05:10 +0000 (00:05 +0200)]
Fixed E_NOTICE when no valid result has been returned. (#5457)

5 years agoFixed E_NOTICEs when uploading profile picture (#5456)
Roland Häder [Sun, 22 Jul 2018 20:01:14 +0000 (22:01 +0200)]
Fixed E_NOTICEs when uploading profile picture (#5456)

* Fixed E_NOTICEs when uploading profile picture.

* Fixed E_NOTICEs when $_POST doesn't contain these fields.

5 years agoUncommon logger levels in Friendica (#5453)
Roland Häder [Sun, 22 Jul 2018 18:07:44 +0000 (20:07 +0200)]
Uncommon logger levels in Friendica (#5453)

* "normal" is an uncommon logger level:
- changed LOGGER_NORMAL -> LOGGER_INFO
- added LOGGER_WARNING (a common logger level)

* Used constants instead of values (MrPetovan)

5 years agoFix yet another Fatal Error in Protocol\OStatus (#5454)
Hypolite Petovan [Sun, 22 Jul 2018 17:32:34 +0000 (13:32 -0400)]
Fix yet another Fatal Error in Protocol\OStatus (#5454)

5 years ago Fix another Fatal error in Protocol\OStatus (#5451)
Hypolite Petovan [Sun, 22 Jul 2018 16:57:33 +0000 (12:57 -0400)]
 Fix another Fatal error in Protocol\OStatus (#5451)

* Fix Fatal error in Protocol\OStatus

* Fix another Fatal error in Protocol\OStatus

5 years agoFixed E_NOTICE in boot.php and DBA class (#5430)
Roland Häder [Sun, 22 Jul 2018 16:53:46 +0000 (18:53 +0200)]
Fixed E_NOTICE in boot.php and DBA class (#5430)

* Fixes:
- fixed missing variable $port (MySQL: 3306)
- "imported" mysqli class

Signed-off-by: Roland Häder <roland@mxchange.org>
* Fixed:
- better use `false` and `$port > 0`

* And better only provide `$port` when larger zero.

* Initialize `$port` with zero value (int) and not `false` (bool).

* Removed duplicate mysqli "import".

* `$post_update` is no longer used. Instead `$prefix` needs to be checked.

5 years agoFix Fatal error in Protocol\OStatus (#5450)
Hypolite Petovan [Sun, 22 Jul 2018 16:52:38 +0000 (12:52 -0400)]
Fix Fatal error in Protocol\OStatus (#5450)

5 years agoFixes/tye-hints (#5449)
Roland Häder [Sun, 22 Jul 2018 16:35:20 +0000 (18:35 +0200)]
Fixes/tye-hints (#5449)

- added type-hints for DOMDocument, DOMXPath and array
- added missing documentation about optional parameter
- `if ($foo['bar'])` is not a good choice, better use
  `if (!empty($foo['bar']))` instead

5 years agoThere is no LOGGER_WARNING (triggering E_NOTICE about absent constant). Either (...
Roland Häder [Sun, 22 Jul 2018 16:33:28 +0000 (18:33 +0200)]
There is no LOGGER_WARNING (triggering E_NOTICE about absent constant). Either (#5448)

declare it and push all other numbers higher or use LOGGER_NORMAL.

5 years agoFixes: (#5447)
Roland Häder [Sun, 22 Jul 2018 16:28:39 +0000 (18:28 +0200)]
Fixes: (#5447)
- rewrote to first check if PID file is readable, then if found load it
- next addition is to cast it's content to int. Any non-integer content will
  result in 0 (as I know).
- Give warnings a voice! (xdebug's scream option showed a warning)
- added some spaces for better readability

5 years agoAdded a for-loop (#5442)
Jeroen De Meerleer [Sat, 21 Jul 2018 21:29:39 +0000 (23:29 +0200)]
Added a for-loop (#5442)

* Using json_decode instead of reinventing hot water

Guys, you could have told me ;)

* changed spaces to tabs

* Guess I'll need a beer ;)

5 years agoWorker-details: Using json_decode instead of reinventing hot water (#5441)
Jeroen De Meerleer [Sat, 21 Jul 2018 17:24:03 +0000 (19:24 +0200)]
Worker-details: Using json_decode instead of reinventing hot water (#5441)

* Using json_decode instead of reinventing hot water

Guys, you could have told me ;)

* changed spaces to tabs

5 years agoDBStructure enhancements (#5437)
Philipp [Sat, 21 Jul 2018 12:43:43 +0000 (14:43 +0200)]
DBStructure enhancements (#5437)

* Adding DBStructure enhancements

- Added DBStructure::rename()
- Added DBStructure::existTable()
- Added DBStructure::existColumn()

(cherry picked from commit 4ae06ec)

* Adding `pre_update_1279` method

- Added DBStructure::rename()
- Added DBStructure::existTable()
- Added DBStructure::existColumn()

(cherry picked from commit 8496d84)

* code standards

(cherry picked from commit 551d09b)

* simplify to `empty` instead `is_null`

(cherry picked from commit ce68835)

5 years agoMake frio more consistent by replacing textual links with icons everywhere. (#5415)
Andreas Neustifter [Sat, 21 Jul 2018 11:31:05 +0000 (13:31 +0200)]
Make frio more consistent by replacing textual links with icons everywhere. (#5415)

* Make frio more consistent by replacing textual links with icons everywhere I could find them.

* [frio] Move profile add link to icon.

5 years agoMerge pull request #5435 from annando/htaccess
Tobias Diekershoff [Sat, 21 Jul 2018 05:48:15 +0000 (07:48 +0200)]
Merge pull request #5435 from annando/htaccess

Automatically create a .htaccess when not existing

5 years agoAutomatically create a .htaccess when not existing
Michael [Sat, 21 Jul 2018 05:41:19 +0000 (05:41 +0000)]
Automatically create a .htaccess when not existing

5 years agoMerge pull request #5433 from annando/mysqli
Tobias Diekershoff [Sat, 21 Jul 2018 05:18:10 +0000 (07:18 +0200)]
Merge pull request #5433 from annando/mysqli

Forgotten "use"

5 years agoForgotten "use"
Michael [Sat, 21 Jul 2018 05:09:09 +0000 (05:09 +0000)]
Forgotten "use"

5 years agoOne more notice (#5429)
Michael Vogel [Sat, 21 Jul 2018 00:43:22 +0000 (02:43 +0200)]
One more notice (#5429)

* Some more notices

* And some more notice in the worker

5 years agorenamed .htaccess to .htaccess-dist and ignored .htaccess afterwards (#5428)
Roland Häder [Sat, 21 Jul 2018 00:27:37 +0000 (02:27 +0200)]
renamed .htaccess to .htaccess-dist and ignored .htaccess afterwards (#5428)

* renamed .htaccess to .htaccess-dist and ignored .htaccess afterwards. This
allows local changes to it without having a dirty checkout directory.

Signed-off-by: Roland Häder <roland@mxchange.org>
* Some fixes:
- removed non-neutral words
- added examples for Linux/Windows

* Better documentation and added note about **not** renaming the file.

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoWe now have a pre update script (#5425)
Michael Vogel [Fri, 20 Jul 2018 19:47:16 +0000 (21:47 +0200)]
We now have a pre update script (#5425)

* We now have a pre update script

* Some optimized stuff

5 years ago[frio] Restyle album edit header. (#5426)
Andreas Neustifter [Fri, 20 Jul 2018 19:23:51 +0000 (21:23 +0200)]
[frio] Restyle album edit header. (#5426)

5 years ago[frio] Restyle photo upload (#5427)
Andreas Neustifter [Fri, 20 Jul 2018 19:23:12 +0000 (21:23 +0200)]
[frio] Restyle photo upload (#5427)

* Better wording in photo upload.

* [frio] Restyle photo uploader to conform to frio style.

5 years agoSome more notices (#5424)
Michael Vogel [Fri, 20 Jul 2018 18:07:54 +0000 (20:07 +0200)]
Some more notices (#5424)

5 years agoMerge pull request #5422 from MrPetovan/task/5410-rename-dba-to-DBA
Michael Vogel [Fri, 20 Jul 2018 17:44:54 +0000 (19:44 +0200)]
Merge pull request #5422 from MrPetovan/task/5410-rename-dba-to-DBA

Rename Friendica\Database\dba to Friendica\Database\DBA

5 years agoRename Friendica\Database\dba to Friendica\Database\DBA
Hypolite Petovan [Fri, 20 Jul 2018 12:19:26 +0000 (08:19 -0400)]
Rename Friendica\Database\dba to Friendica\Database\DBA

5 years agoMerge pull request #5420 from annando/notices
Tobias Diekershoff [Fri, 20 Jul 2018 10:46:42 +0000 (12:46 +0200)]
Merge pull request #5420 from annando/notices

Just some more fixed notice

5 years agoMerge pull request #5421 from annando/fatal
Tobias Diekershoff [Fri, 20 Jul 2018 10:45:00 +0000 (12:45 +0200)]
Merge pull request #5421 from annando/fatal

Wrong "use" for config

5 years agoWrong "use" for config
Michael [Fri, 20 Jul 2018 06:04:23 +0000 (06:04 +0000)]
Wrong "use" for config

5 years agoJust some more fixed notice
Michael [Fri, 20 Jul 2018 05:31:26 +0000 (05:31 +0000)]
Just some more fixed notice

5 years agoMerge pull request #5419 from annando/fixes
Michael Vogel [Fri, 20 Jul 2018 05:13:24 +0000 (07:13 +0200)]
Merge pull request #5419 from annando/fixes

Makes Diaspora working again

5 years agoMakes Diaspora working again
Michael [Fri, 20 Jul 2018 05:10:16 +0000 (05:10 +0000)]
Makes Diaspora working again

5 years agoMerge pull request #5418 from MrPetovan/task/5410-move-dba-to-src
Michael Vogel [Fri, 20 Jul 2018 04:50:36 +0000 (06:50 +0200)]
Merge pull request #5418 from MrPetovan/task/5410-move-dba-to-src

Move \dba to \Friendica\Database\dba

5 years agoAdd missing PDO* use statements in Database\dba
Hypolite Petovan [Fri, 20 Jul 2018 02:24:03 +0000 (22:24 -0400)]
Add missing PDO* use statements in Database\dba

5 years agoRemove class \dba from include/dba
Hypolite Petovan [Fri, 20 Jul 2018 02:15:57 +0000 (22:15 -0400)]
Remove class \dba from include/dba

5 years agoUpdate use statement lists with new Friendica\Database\dba class
Hypolite Petovan [Fri, 20 Jul 2018 02:15:21 +0000 (22:15 -0400)]
Update use statement lists with new Friendica\Database\dba class

- Remove unused use statement
- Remove superfluous use statements (classes in the same namespace)
- Add missing use statements

5 years agoAdd new Friendica\Database\dba class
Hypolite Petovan [Fri, 20 Jul 2018 02:06:13 +0000 (22:06 -0400)]
Add new Friendica\Database\dba class

5 years agoMisc cleanups (#5417)
Roland Häder [Fri, 20 Jul 2018 00:52:18 +0000 (02:52 +0200)]
Misc cleanups (#5417)

* Fixed http://github to https://github

Signed-off-by: Roland Häder <roland@mxchange.org>
* reverted back

Signed-off-by: Roland Häder <roland@mxchange.org>
* Added type-hint 'array' as the method uses foreach() on it.

Signed-off-by: Roland Häder <roland@mxchange.org>
* Tpzo fixed ...

Signed-off-by: Roland Häder <roland@mxchange.org>
* Added missing new-line at end of file, will make some POSIX parsers being lesser
confused ...

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoLittle fixes (#5414)
Michael Vogel [Thu, 19 Jul 2018 22:40:39 +0000 (00:40 +0200)]
Little fixes (#5414)

* We now store the item delivery data in a separate table

* Reorganized table structure

* Fix  a notice when using the profiler / ensure that permissions are strings

5 years agoSmall cleanup (#5416)
Roland Häder [Thu, 19 Jul 2018 22:39:05 +0000 (00:39 +0200)]
Small cleanup (#5416)

- added internal TODO to decide about is_result() usage
- removed semicolon (not needed here) from SQL query
- added empty line

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoFix photo-upload and croping. (#5412)
Andreas Neustifter [Thu, 19 Jul 2018 21:59:18 +0000 (23:59 +0200)]
Fix photo-upload and croping. (#5412)

5 years agoWe now store the item delivery data in a separate table (#5413)
Michael Vogel [Thu, 19 Jul 2018 21:56:52 +0000 (23:56 +0200)]
We now store the item delivery data in a separate table (#5413)

* We now store the item delivery data in a separate table

* Reorganized table structure

5 years agoIssue 5407: Workers didn't start anymore (#5409)
Michael Vogel [Thu, 19 Jul 2018 15:05:17 +0000 (17:05 +0200)]
Issue 5407: Workers didn't start anymore (#5409)