]> git.mxchange.org Git - friendica.git/log
friendica.git
5 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

5 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

5 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

5 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

5 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

5 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

5 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

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

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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

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

5 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()

5 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

5 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

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

5 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

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

5 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

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

5 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

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

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

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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

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

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

5 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

5 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

5 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

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

5 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

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

5 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

5 years agoAdd system.groupedit_image_limit config key to defaults.ini.php
Hypolite Petovan [Sun, 1 Jul 2018 04:12:57 +0000 (00:12 -0400)]
Add system.groupedit_image_limit config key to defaults.ini.php

5 years agoRework App modes
Hypolite Petovan [Sat, 30 Jun 2018 18:40:09 +0000 (14:40 -0400)]
Rework App modes

- Replace App mode constants with capability-based flags
- Add App->isInstallMode()
- Add file config fallback in (P)Config abstraction
- Removed logger disabling code

5 years agoStandards: Rename App methods
Hypolite Petovan [Sat, 30 Jun 2018 18:07:01 +0000 (14:07 -0400)]
Standards: Rename App methods

- Rename App->max_processes_reached to App->isMaxProcessesReached
- Rename App->maxload_reached to App->isMaxLoadReached

5 years agoFix wrong urlpath determination
Hypolite Petovan [Sat, 30 Jun 2018 15:11:22 +0000 (11:11 -0400)]
Fix wrong urlpath determination

5 years agoUpdate config/defaults.ini.php
Hypolite Petovan [Fri, 29 Jun 2018 04:31:22 +0000 (00:31 -0400)]
Update config/defaults.ini.php

- Move sections around
- Update config.admin_email value type

5 years agoFix INSTALL
Hypolite Petovan [Fri, 29 Jun 2018 04:27:21 +0000 (00:27 -0400)]
Fix INSTALL

- Change config file permissions
- Remove leading slash of config/

5 years agoUpdate documentation
Hypolite Petovan [Fri, 29 Jun 2018 04:26:53 +0000 (00:26 -0400)]
Update documentation

- Add line breaks on periods
- Remove obsolete text

5 years agoRevert doc/Config title
Hypolite Petovan [Fri, 29 Jun 2018 04:26:00 +0000 (00:26 -0400)]
Revert doc/Config title

5 years agoReorganize .gitignore
Hypolite Petovan [Fri, 29 Jun 2018 04:25:43 +0000 (00:25 -0400)]
Reorganize .gitignore

- Delete duplicates
- Add leading slash to /doc/html
- Typo

5 years agoMove doc/htconfig.md to doc/Config.md
Hypolite Petovan [Thu, 28 Jun 2018 03:07:38 +0000 (23:07 -0400)]
Move doc/htconfig.md to doc/Config.md

- Updated all .htconfig.php references in other documentation pages
- Added migration part

5 years agoFix config mentions (no doc)
Hypolite Petovan [Thu, 28 Jun 2018 03:06:23 +0000 (23:06 -0400)]
Fix config mentions (no doc)

5 years agoAdd addon config hook
Hypolite Petovan [Thu, 28 Jun 2018 03:05:38 +0000 (23:05 -0400)]
Add addon config hook

5 years agoUpdated configuration files
Hypolite Petovan [Thu, 28 Jun 2018 03:05:01 +0000 (23:05 -0400)]
Updated configuration files

- Added system.account_abandon_days and system.addon to defaults.ini.php
- Fixed database section key names in local-sample.ini.php

5 years agoUpdate install procedure
Hypolite Petovan [Tue, 26 Jun 2018 01:00:58 +0000 (21:00 -0400)]
Update install procedure

- Fix Notice messages in Core\Install and Database\DBStructure
- Move local config file template from htconfig.tpl to local.ini.tpl
- Remove htconfig.php

5 years agoUpdate config console command
Hypolite Petovan [Tue, 26 Jun 2018 00:59:02 +0000 (20:59 -0400)]
Update config console command

5 years agoRemove stray include of .htconfig.php in index.php
Hypolite Petovan [Tue, 26 Jun 2018 00:58:33 +0000 (20:58 -0400)]
Remove stray include of .htconfig.php in index.php

5 years agoPrevent infinite loops with Config when App is in install mode
Hypolite Petovan [Tue, 26 Jun 2018 00:57:57 +0000 (20:57 -0400)]
Prevent infinite loops with Config when App is in install mode

5 years agoUpdate support for daemon pidfile config
Hypolite Petovan [Tue, 26 Jun 2018 00:56:35 +0000 (20:56 -0400)]
Update support for daemon pidfile config

5 years agoRemove extraneous dba::connect calls
Hypolite Petovan [Tue, 26 Jun 2018 00:56:07 +0000 (20:56 -0400)]
Remove extraneous dba::connect calls

5 years agoSet BaseObject::setApp in App
Hypolite Petovan [Tue, 26 Jun 2018 00:44:35 +0000 (20:44 -0400)]
Set BaseObject::setApp in App

5 years agoRename App->path to App->urlpath
Hypolite Petovan [Tue, 26 Jun 2018 00:39:56 +0000 (20:39 -0400)]
Rename App->path to App->urlpath

5 years agoCentralize startup steps in Friendica\App
Hypolite Petovan [Tue, 26 Jun 2018 00:38:41 +0000 (20:38 -0400)]
Centralize startup steps in Friendica\App

- Add loadDatabase startup step
- Add loadConfigFiles startup step
- Remove startup() in boot.php
- Replace App::checkMaintenanceMode() with App::determineMode()

5 years agoAdd new INI config files
Hypolite Petovan [Mon, 25 Jun 2018 00:26:00 +0000 (20:26 -0400)]
Add new INI config files

- Add new local.ini.tpl template
- Change all references from .htconfig.php to config/local.ini.php

5 years agoAdd config/local.ini.php to gitignore
Hypolite Petovan [Sun, 24 Jun 2018 18:02:57 +0000 (14:02 -0400)]
Add config/local.ini.php to gitignore

5 years agoRemove dependency to App in dba::connect
Hypolite Petovan [Sun, 24 Jun 2018 15:15:26 +0000 (11:15 -0400)]
Remove dependency to App in dba::connect

- Remove timing (can be done centrally)
- Add charset parameter to dba::connect and dba::reconnect

5 years agotypo correction of try_files directive (#5387)
rebeka-catalina [Mon, 16 Jul 2018 06:53:50 +0000 (08:53 +0200)]
typo correction of try_files directive (#5387)

5 years agoMerge pull request #5386 from annando/dfrn-unknown-owner
Tobias Diekershoff [Mon, 16 Jul 2018 06:50:55 +0000 (08:50 +0200)]
Merge pull request #5386 from annando/dfrn-unknown-owner

Don't accept posts from unknown owners

5 years agoEnsure that "follow" requests can be processed
Michael [Mon, 16 Jul 2018 06:34:12 +0000 (06:34 +0000)]
Ensure that "follow" requests can be processed

5 years agoDon't accept posts from unknown owners
Michael [Mon, 16 Jul 2018 05:48:51 +0000 (05:48 +0000)]
Don't accept posts from unknown owners

5 years agoMerge pull request #5384 from annando/item-uri
Tobias Diekershoff [Mon, 16 Jul 2018 04:45:41 +0000 (06:45 +0200)]
Merge pull request #5384 from annando/item-uri

Fix for missing username in uri for comments to public posts

5 years agoMerge pull request #5385 from annando/public-items
Tobias Diekershoff [Mon, 16 Jul 2018 04:44:50 +0000 (06:44 +0200)]
Merge pull request #5385 from annando/public-items

Fix for displaying public items

5 years agoFix for displaying public items
Michael [Mon, 16 Jul 2018 04:00:57 +0000 (04:00 +0000)]
Fix for displaying public items

5 years agoFix for missing username in uri for comments to public posts
Michael [Mon, 16 Jul 2018 03:56:36 +0000 (03:56 +0000)]
Fix for missing username in uri for comments to public posts

5 years agoNext item structure works (#5380)
Michael Vogel [Sun, 15 Jul 2018 18:36:20 +0000 (20:36 +0200)]
Next item structure works (#5380)

* Use "LEFT JOIN" to always fetch the item. Needed for update routines.

* New conversion routine that now covers every item

* Post update is now activated

* We now use a hash based upon RIPEMD-320 for content and activity

* The hash doesn't contain the plink anymore

* Legacy item fields are now "null"able

* New hash function for a server unique item hash

* Introduction of the legacy mode (usage of old item fields)

* Code simplification

* We don't need the "uri" fields anymore in item-activity and item-content

* Use the "created" and not the "received" date for the hash

* Avoiding several notices

* Some more warnings removed

* Improved uri-hash / Likes on Diaspora are now getting a creation date

* Corrected the post update version

* Ensure an unique uri-hash

* Don't delete orhaned item data at the moment

* Partly reworked, due to strange behaviour

* Some more parts reworked

* Using the uri currently seems to be more reliable

* Using the uri here as well

* Use the hash values again

* Grouped item fields in different categories

* Notices again

* use the gravity (we always should)

* Added hint for disabled post updates

* Notices ...

* Issue #5337: Personal notes are displayed again

* Use the gravity again

5 years agoMerge pull request #5372 from MrPetovan/task/add-mastodoncustomemojis-addon
Michael Vogel [Sun, 15 Jul 2018 14:31:13 +0000 (16:31 +0200)]
Merge pull request #5372 from MrPetovan/task/add-mastodoncustomemojis-addon

Add mastodoncustomemojis support

5 years agoImprove Addons documentation
Hypolite Petovan [Sat, 14 Jul 2018 17:50:57 +0000 (13:50 -0400)]
Improve Addons documentation

5 years agoRework smilies class and module
Hypolite Petovan [Sat, 14 Jul 2018 09:14:11 +0000 (05:14 -0400)]
Rework smilies class and module

- Add new replaceFromArray function to enable smilies replacement with
an arbitrary array
- Moved $sample logic from class to module

5 years agoFix function comments in Util\Network
Hypolite Petovan [Sat, 14 Jul 2018 08:58:19 +0000 (04:58 -0400)]
Fix function comments in Util\Network

5 years agoAdd new put_item_in_cache hook in include/text
Hypolite Petovan [Sat, 14 Jul 2018 08:58:05 +0000 (04:58 -0400)]
Add new put_item_in_cache hook in include/text

5 years agoMerge pull request #5370 from MrPetovan/develop
Michael Vogel [Sun, 15 Jul 2018 11:37:23 +0000 (13:37 +0200)]
Merge pull request #5370 from MrPetovan/develop

 [ImgBot] optimizes images

5 years agoFix Broken Profile Links (#5286)
miqrogroove [Sat, 14 Jul 2018 20:31:46 +0000 (16:31 -0400)]
Fix Broken Profile Links (#5286)

* Expose the block_public setting to head.tpl

* Do not include hovercard.js if block_public

5 years agoAdd worker queue details (#5375)
Jeroen De Meerleer [Sat, 14 Jul 2018 18:01:17 +0000 (20:01 +0200)]
Add worker queue details (#5375)

* Added Worker queue page

* Added worker queue template

* Added translation strings

* Added en-US translation

* #TGWHT: Thank god we have Typo

* Where donkey == true

* Added in to menu correctly

* Updated link in summary page

* Updated link on summary page for frio theme

* Updated q() to dba::select()

* Revert "Added translation strings"

This reverts commit f1f3694a2412f69c39559650759b6483013f0f17.

* Revert "Added en-US translation"

This reverts commit 61777489e3add56e81c4f976599d8a2e025265cb.

5 years agoregen master messages.po (#5376)
Tobias Diekershoff [Sat, 14 Jul 2018 17:18:50 +0000 (19:18 +0200)]
regen master messages.po (#5376)

5 years agodocs for explicit content (#5374)
Tobias Diekershoff [Sat, 14 Jul 2018 17:12:43 +0000 (19:12 +0200)]
docs for explicit content (#5374)

5 years agoadmins can mark their nodes for explicit content (#5373)
Tobias Diekershoff [Sat, 14 Jul 2018 16:08:06 +0000 (18:08 +0200)]
admins can mark their nodes for explicit content (#5373)

* added field explicidContent to the metadata in the nodeinfo

* admins can mark their nodes for explicit content

* booleans shall be small