]> git.mxchange.org Git - friendica.git/log
friendica.git
6 years agoForgotten "use"
Michael [Sat, 21 Jul 2018 05:09:09 +0000 (05:09 +0000)]
Forgotten "use"

6 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

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

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

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

6 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

6 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

6 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

6 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

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

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

6 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

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

6 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

6 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

6 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

6 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

6 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

6 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>
6 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

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

6 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

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

6 years agoWorkerqueue param reformat (#5403)
Jeroen De Meerleer [Thu, 19 Jul 2018 13:52:48 +0000 (15:52 +0200)]
Workerqueue param reformat (#5403)

* Prettified the parameter layout of workerqueue

* Updated to code standards :)

* Where did I go wrong?

* Seems like someone needs to sleep ;)

6 years agoNew item field "Post-type" and new table "permissionset" (#5408)
Michael Vogel [Thu, 19 Jul 2018 13:52:05 +0000 (15:52 +0200)]
New item field "Post-type" and new table "permissionset" (#5408)

* "post-type" replaces "bookmark" and "type"

* Removed some more type

* Added index to permission set

* The permission set is now stored

* The permission set is now removed upon expiry

* Post update now stores the permission set

* New file

* Permissions are now sorted

* Changed documentation

6 years agoFixes applied: (#5399)
Roland Häder [Thu, 19 Jul 2018 11:11:03 +0000 (13:11 +0200)]
Fixes applied: (#5399)

- $_SESSION['remember_user'] did only exist here and no where else
- it seems to be accient old-lost code, so I fixed it to $a->user['nickname']
  instead
- used multi-line comment for multiple lines of on-line comments

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoFixes: (#5404)
Roland Häder [Thu, 19 Jul 2018 11:07:14 +0000 (13:07 +0200)]
Fixes: (#5404)
- fixed E_NOTICE in mod/follow.php
- fixed 2 E_NOTICE in src/Protocol/Diaspora.php
- added more type-hints for `array` type where known

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoMerge pull request #5406 from tobiasd/20180717-msg
Michael Vogel [Thu, 19 Jul 2018 06:45:54 +0000 (08:45 +0200)]
Merge pull request #5406 from tobiasd/20180717-msg

regen master messages.po

6 years agoregen master messages.po
Tobias Diekershoff [Thu, 19 Jul 2018 04:40:31 +0000 (06:40 +0200)]
regen master messages.po

6 years agoAdded warning for special characters in docs and template (#5402)
Jeroen De Meerleer [Wed, 18 Jul 2018 21:30:34 +0000 (23:30 +0200)]
Added warning for special characters in docs and template (#5402)

6 years agoAccording to @annando and @MrPetovan, $emailcc is no `item` field (column) and (...
Roland Häder [Wed, 18 Jul 2018 21:26:14 +0000 (23:26 +0200)]
According to @annando and @MrPetovan, $emailcc is no `item` field (column) and (#5401)

should be initialized empty (I did it above the `if()` block).

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoFix tests (#5400)
Pierre Rudloff [Wed, 18 Jul 2018 20:30:55 +0000 (22:30 +0200)]
Fix tests (#5400)

* Avoid argc side-effects

* Fix undefined array keys in JITConfigAdapter::set()

* Avoid argv side effects in ApiTest

6 years agoPrettified the parameter layout of workerqueue (#5397)
Jeroen De Meerleer [Wed, 18 Jul 2018 20:24:35 +0000 (22:24 +0200)]
Prettified the parameter layout of workerqueue (#5397)

* Prettified the parameter layout of workerqueue

* Updated to code standards :)

* Where did I go wrong?

6 years agoFixed E_NOTICE when no 'term' was provided (#5391)
Roland Häder [Wed, 18 Jul 2018 19:41:24 +0000 (21:41 +0200)]
Fixed E_NOTICE when no 'term' was provided (#5391)

* Fixed E_NOTICE when no 'term' was provided, maybe better encapsulate this whole
$_GET, $_POST and $_SESSION thing into a `Request` class?

Signed-off-by: Roland Häder <roland@mxchange.org>
* Rewrote to recommendation by @MrPetovan which results in really nicer code.

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoFix silent exit in ApiTest::testApiMediaUploadWithMedia() (#5398)
Pierre Rudloff [Wed, 18 Jul 2018 19:36:51 +0000 (21:36 +0200)]
Fix silent exit in ApiTest::testApiMediaUploadWithMedia() (#5398)

6 years agoswitch the Vagrant VM to the new config system (#5396)
Tobias Diekershoff [Wed, 18 Jul 2018 19:32:24 +0000 (21:32 +0200)]
switch the Vagrant VM to the new config system (#5396)

6 years agosimplifying unittests (#5395)
Philipp [Wed, 18 Jul 2018 19:04:18 +0000 (21:04 +0200)]
simplifying unittests (#5395)

* simplifying unittests

- use @requires instead class_exist
- define @small and @medium

* simplifying unittests

- removed unnecessary throwings

6 years agoMerge pull request #5394 from MrPetovan/bug/fix-config-set-return-value
Michael Vogel [Wed, 18 Jul 2018 09:07:10 +0000 (11:07 +0200)]
Merge pull request #5394 from MrPetovan/bug/fix-config-set-return-value

Change (P)Config::set return value to bool

6 years agoMerge pull request #5295 from MrPetovan/task/4889-move-config-to-config
Michael Vogel [Wed, 18 Jul 2018 09:04:35 +0000 (11:04 +0200)]
Merge pull request #5295 from MrPetovan/task/4889-move-config-to-config

Move configuration to config/

6 years agoChange (P)Config::set return value to bool
Hypolite Petovan [Wed, 18 Jul 2018 06:32:35 +0000 (02:32 -0400)]
Change (P)Config::set return value to bool

6 years agoFix notice in Util\Network
Hypolite Petovan [Wed, 18 Jul 2018 01:00:22 +0000 (21:00 -0400)]
Fix notice in Util\Network

6 years agoFixes for E_NOTICE in mod/item.php (#5393)
Roland Häder [Tue, 17 Jul 2018 22:18:42 +0000 (00:18 +0200)]
Fixes for E_NOTICE in mod/item.php (#5393)

* Fixes applied:
- `if (is_array($some_array))` is better code style than `if ($some_array)` as
  the `if()` block really needs an array to be found
- same with `if ($some_id)`, maybe `if ($some_id > 0)` is a more proper check
- added missing field 'emailcc' to Item::ITEM_FIELDLIST

Signed-off-by: Roland Häder <roland@mxchange.org>
* Fixes E_NOTICE of missing variable (PHP's lazyness again).

Signed-off-by: Roland Häder <roland@mxchange.org>
* Use !empty() to avoid accessing empty array.

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoFixes for OEmbed class (#5392)
Roland Häder [Tue, 17 Jul 2018 20:28:20 +0000 (22:28 +0200)]
Fixes for OEmbed class (#5392)

* Fixes:
- stdClass is clearly an object of `\stdClass`, so let's import it and set it
  as type-hint here
- if $o->type is not found, don't continue

Signed-off-by: Roland Häder <roland@mxchange.org>
* Fix for a fix due to 02:51 a.m. (!) edits ...

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoImprove Console/Config display for array values
Hypolite Petovan [Tue, 17 Jul 2018 06:15:05 +0000 (02:15 -0400)]
Improve Console/Config display for array values

- Prevent setting a config key that is an array

6 years agoAdd support for legacy $lang config in App->loadConfig
Hypolite Petovan [Tue, 17 Jul 2018 06:05:52 +0000 (02:05 -0400)]
Add support for legacy $lang config in App->loadConfig

6 years agoRemove exception for legacy config file in App->loadDatabase
Hypolite Petovan [Tue, 17 Jul 2018 06:05:36 +0000 (02:05 -0400)]
Remove exception for legacy config file in App->loadDatabase

6 years agoFix config value type in MemcachedCacheDriver
Hypolite Petovan [Tue, 17 Jul 2018 06:05:06 +0000 (02:05 -0400)]
Fix config value type in MemcachedCacheDriver

- Remove default config values set in CacheDriverFactory

6 years agoImprove help/Config page
Hypolite Petovan [Tue, 17 Jul 2018 06:03:39 +0000 (02:03 -0400)]
Improve help/Config page

- Remove obsolete file-only config list
- Fix heading level
- Add transition instruction for $lang
- Add reference to config.ini.php, settings.ini.php and addon.ini.php
- Add link to help page in admin warning about legacy config file

6 years agoFixed E_NOTICE when 'title' is absent (uninitialized array key) (#5390)
Roland Häder [Tue, 17 Jul 2018 05:13:22 +0000 (07:13 +0200)]
Fixed E_NOTICE when 'title' is absent (uninitialized array key) (#5390)

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoSeparate default config values between file-only and admin settings
Hypolite Petovan [Mon, 16 Jul 2018 23:07:46 +0000 (19:07 -0400)]
Separate default config values between file-only and admin settings

6 years agoEnforce systen.register_policy value type
Hypolite Petovan [Sun, 15 Jul 2018 19:04:48 +0000 (15:04 -0400)]
Enforce systen.register_policy value type

6 years agoCode standards in App
Hypolite Petovan [Sun, 15 Jul 2018 16:44:32 +0000 (12:44 -0400)]
Code standards in App

6 years agoFix typo in mod/admin
Hypolite Petovan [Sun, 15 Jul 2018 16:44:19 +0000 (12:44 -0400)]
Fix typo in mod/admin

6 years agoRemove remaining references to Config::get in include/dba
Hypolite Petovan [Sun, 15 Jul 2018 16:44:10 +0000 (12:44 -0400)]
Remove remaining references to Config::get in include/dba

6 years agoImprove console/config display
Hypolite Petovan [Thu, 12 Jul 2018 03:00:44 +0000 (23:00 -0400)]
Improve console/config display

- Add visual distinction between get/set value

6 years agoFix undefined index in mod/settings
Hypolite Petovan [Thu, 12 Jul 2018 02:58:52 +0000 (22:58 -0400)]
Fix undefined index in mod/settings

6 years agoMove the addon-specific config in config/addon.ini.php
Hypolite Petovan [Thu, 12 Jul 2018 02:58:37 +0000 (22:58 -0400)]
Move the addon-specific config in config/addon.ini.php

- Add sample addon.ini.php file
- Add config/addon.ini.php file to git ignore

6 years agoFix missing use in mod/ping
Hypolite Petovan [Thu, 12 Jul 2018 02:41:52 +0000 (22:41 -0400)]
Fix missing use in mod/ping

6 years agoFix segfault in PHP 5.6 parsing INI strings
Hypolite Petovan [Thu, 12 Jul 2018 02:24:52 +0000 (22:24 -0400)]
Fix segfault in PHP 5.6 parsing INI strings

- add documentation to generated local.ini.php file

6 years agoFix JITConfigAdapter to retrieve non-db config.* values
Hypolite Petovan [Thu, 12 Jul 2018 02:24:20 +0000 (22:24 -0400)]
Fix JITConfigAdapter to retrieve non-db config.* values

6 years agoFix urlpath determination on the root page
Hypolite Petovan [Thu, 12 Jul 2018 02:23:57 +0000 (22:23 -0400)]
Fix urlpath determination on the root page

6 years agoFix undefined index notice messages in mod/install
Hypolite Petovan [Thu, 12 Jul 2018 02:23:35 +0000 (22:23 -0400)]
Fix undefined index notice messages in mod/install

6 years agoRemove global $db variable
Hypolite Petovan [Tue, 10 Jul 2018 02:40:10 +0000 (22:40 -0400)]
Remove global $db variable

6 years agoReplace global $a with BaseObject::getApp()
Hypolite Petovan [Tue, 10 Jul 2018 02:39:59 +0000 (22:39 -0400)]
Replace global $a with BaseObject::getApp()

6 years agoReplace global $lang with system.language
Hypolite Petovan [Tue, 10 Jul 2018 02:37:51 +0000 (22:37 -0400)]
Replace global $lang with system.language

6 years agoRemove deprecated functions in include/text
Hypolite Petovan [Tue, 10 Jul 2018 02:11:39 +0000 (22:11 -0400)]
Remove deprecated functions in include/text

6 years agoFix formatting in mod/help
Hypolite Petovan [Tue, 10 Jul 2018 01:53:19 +0000 (21:53 -0400)]
Fix formatting in mod/help

6 years agoChasing a segfault in PHP 5.6 tests
Hypolite Petovan [Mon, 9 Jul 2018 13:22:01 +0000 (09:22 -0400)]
Chasing a segfault in PHP 5.6 tests

6 years agoRemove api test pconfig debug
Hypolite Petovan [Sun, 8 Jul 2018 07:28:29 +0000 (03:28 -0400)]
Remove api test pconfig debug

6 years agoFix wrong mode for App since local conf file wasn't present
Hypolite Petovan [Sun, 8 Jul 2018 07:16:38 +0000 (03:16 -0400)]
Fix wrong mode for App since local conf file wasn't present

6 years agoFix debug
Hypolite Petovan [Sun, 8 Jul 2018 07:16:20 +0000 (03:16 -0400)]
Fix debug

6 years agoAdd yet more pconfig debug to testApiGetUserWithCustomFrioSchema
Hypolite Petovan [Sun, 8 Jul 2018 07:07:38 +0000 (03:07 -0400)]
Add yet more pconfig debug to testApiGetUserWithCustomFrioSchema

6 years agoWrong table name
Hypolite Petovan [Sun, 8 Jul 2018 06:57:00 +0000 (02:57 -0400)]
Wrong table name

6 years agoAdd more api test debug
Hypolite Petovan [Sun, 8 Jul 2018 06:49:12 +0000 (02:49 -0400)]
Add more api test debug

6 years agoAdd api test debug
Hypolite Petovan [Sun, 8 Jul 2018 06:32:51 +0000 (02:32 -0400)]
Add api test debug

6 years agoPut base test config in Yaml dataset
Hypolite Petovan [Sun, 8 Jul 2018 05:59:52 +0000 (01:59 -0400)]
Put base test config in Yaml dataset

6 years agoFix Memached config value format usage
Hypolite Petovan [Sun, 8 Jul 2018 05:46:46 +0000 (01:46 -0400)]
Fix Memached config value format usage

6 years agoSet system.hostname in test bootstrap
Hypolite Petovan [Sun, 8 Jul 2018 05:46:22 +0000 (01:46 -0400)]
Set system.hostname in test bootstrap

6 years agoMove meaningful message inside Exception thrown in Cache tests
Hypolite Petovan [Sun, 8 Jul 2018 05:46:06 +0000 (01:46 -0400)]
Move meaningful message inside Exception thrown in Cache tests

6 years agoRevert using Config class in dba
Hypolite Petovan [Sun, 8 Jul 2018 05:45:22 +0000 (01:45 -0400)]
Revert using Config class in dba

6 years agoRestore system.url declaration in tests
Hypolite Petovan [Sat, 7 Jul 2018 22:03:59 +0000 (18:03 -0400)]
Restore system.url declaration in tests

6 years agoRemove direct App instantiation from tests
Hypolite Petovan [Sat, 7 Jul 2018 22:03:45 +0000 (18:03 -0400)]
Remove direct App instantiation from tests

6 years agoFix uses in include/dba
Hypolite Petovan [Sat, 7 Jul 2018 21:55:06 +0000 (17:55 -0400)]
Fix uses in include/dba

6 years ago[tests] Prevent bin/worker.php from being called during tests
Hypolite Petovan [Sat, 7 Jul 2018 21:46:51 +0000 (17:46 -0400)]
[tests] Prevent bin/worker.php from being called during tests

6 years agoReplace direct accesses to App->config by Config::get/set calls
Hypolite Petovan [Sat, 7 Jul 2018 21:46:30 +0000 (17:46 -0400)]
Replace direct accesses to App->config by Config::get/set calls

6 years agoAdd missing default config keys
Hypolite Petovan [Sat, 7 Jul 2018 21:46:20 +0000 (17:46 -0400)]
Add missing default config keys

- Add config.admin_nickname
- Add config.info
- Add featurelock section

6 years agoFix dbesc as a constant notice message
Hypolite Petovan [Sat, 7 Jul 2018 20:31:03 +0000 (16:31 -0400)]
Fix dbesc as a constant notice message

6 years agoAdd optimize_max_tablesize to default config file
Hypolite Petovan [Sat, 7 Jul 2018 01:46:51 +0000 (21:46 -0400)]
Add optimize_max_tablesize to default config file

6 years agoMove forbidden_nicknames default to config file
Hypolite Petovan [Sat, 7 Jul 2018 01:46:35 +0000 (21:46 -0400)]
Move forbidden_nicknames default to config file

6 years agoFix set_baseurl() notice messages in worker during tests
Hypolite Petovan [Sat, 7 Jul 2018 01:39:24 +0000 (21:39 -0400)]
Fix set_baseurl() notice messages in worker during tests

6 years agoImprove comparison in App->loadDatabase()
Hypolite Petovan [Sat, 7 Jul 2018 01:24:40 +0000 (21:24 -0400)]
Improve comparison in App->loadDatabase()

6 years agoFix test bootstrap namespace issue
Hypolite Petovan [Sat, 7 Jul 2018 01:24:17 +0000 (21:24 -0400)]
Fix test bootstrap namespace issue

6 years agoInstantiate the App in test bootstrap
Hypolite Petovan [Sat, 7 Jul 2018 01:20:29 +0000 (21:20 -0400)]
Instantiate the App in test bootstrap

- Remove wrong App instantiation in Lock test

6 years agoRemove .htconfig.php reference from DatabaseTest
Hypolite Petovan [Sat, 7 Jul 2018 01:17:04 +0000 (21:17 -0400)]
Remove .htconfig.php reference from DatabaseTest

6 years agoUpdate use of environment variables in loadDatabase
Hypolite Petovan [Sat, 7 Jul 2018 01:08:48 +0000 (21:08 -0400)]
Update use of environment variables in loadDatabase

6 years agoAdd load_config hook doc
Hypolite Petovan [Sun, 1 Jul 2018 19:27:05 +0000 (15:27 -0400)]
Add load_config hook doc

6 years agoBump minimum PHP version to 5.6.1
Hypolite Petovan [Sun, 1 Jul 2018 19:15:17 +0000 (15:15 -0400)]
Bump minimum PHP version to 5.6.1

6 years agoFix Database connexion in tests
Hypolite Petovan [Sun, 1 Jul 2018 08:05:20 +0000 (04:05 -0400)]
Fix Database connexion in tests

6 years agoReplace system.proc_windows config by PHP_OS test
Hypolite Petovan [Sun, 1 Jul 2018 08:04:42 +0000 (04:04 -0400)]
Replace system.proc_windows config by PHP_OS test