Commit Graph

191 Commits

Author SHA1 Message Date
Philipp Holzer 5c6108b3cc
Dynamic config loading
- Move settings, defaults and dbstructure to directory 'static'
- Dynamic loading of config files (after the static loading)
- Filter out '-sample.config.php' and '-sample.ini.php' files
- Remove unnecessary ConfigFileManager
- Move ConfigFileLoader to Utils
- Add tests for multi-loading for INI, config and sample-filtering
2019-07-16 21:44:54 +02:00
Michael a5c3ef99ef Don't store non federated contacts in gcontact 2019-07-02 17:55:03 +00:00
Philipp Holzer 8562422ee2
Move internal recursion-counter to the end of all cur/fetchUrl parameters 2019-06-10 14:34:53 +02:00
Michael f034f97f8a Remove the queue from the addons 2019-04-05 18:07:57 +00:00
Michael b1b5815055 Removed useless stuff 2019-04-04 14:22:15 +00:00
Michael d6578733be Replace the "Queue" mechanism with deferred workers 2019-04-04 14:14:55 +00:00
Hypolite Petovan c2970ad6d5 [various] Replace HTML string by structured array in jot_networks hook 2019-03-24 22:44:50 -04:00
Philipp Holzer c8a63f6b9c
Moving/Renaming ConfigCacheLoader to ConfigFileLoader 2019-03-24 22:52:43 +01:00
Philipp Holzer 2e33d99f18
Moved method names & class 2019-02-18 01:22:09 +01:00
Hypolite Petovan 37dd8a938b
Merge pull request #803 from nupplaphil/config_refact
Config Refactoring
2019-02-06 10:52:02 -05:00
Philipp Holzer 7aa0760742
Refactoring ConfigCacheLoader methods 2019-02-05 22:27:56 +01:00
Philipp Holzer 2ba4c95f4b
Bugfixing Addon-config 2019-02-04 02:07:58 +01:00
Philipp Holzer b541efc5e6
3) Introducing ConfigFactory 2019-02-03 22:22:03 +01:00
Tobias Diekershoff 08206fdcc0 Merge branch 'master' into develop 2019-01-21 10:04:26 +01:00
Hypolite Petovan c27b1cb66f Replace deprecated Addon::*registerHook by Hook::*register 2018-12-26 10:20:18 -05:00
Hypolite Petovan 85b5715a44 Remove require include/* 2018-12-26 00:36:43 -05:00
Michael 6048a2c304 Some notice in pump.io removed 2018-12-03 06:52:46 +00:00
Hypolite Petovan d27ac641fc [pumpio] Update config file style/name 2018-11-25 02:16:04 -05:00
Michael d1919f0497 Added a hook to check if the hook needs to be forked at all 2018-11-10 16:20:19 +00:00
Adam Magness 1ac32c622e Functions moved to Strings class
implement functions from Strings class
2018-11-09 07:09:15 -05:00
Adam Magness 1af505701b Revert "update function calls"
This reverts commit b8df74beca.
2018-11-05 13:09:22 -05:00
Adam Magness b8df74beca update function calls
update function calls to new class
2018-11-05 07:47:04 -05:00
Adam Magness 7f1fda43ae Update function calls
update function calls to new names
2018-11-04 08:24:49 -05:00
Adam Magness 1a2b0b2565 Implement xml functions
implement functions moved to xml class
2018-11-03 13:16:21 -04:00
Adam Magness c9a8974165 Logger Levels
update logger levels
2018-10-30 09:48:09 -04:00
Adam Magness 49eff56e5d Core Logger
implement log() function.
more to squash


Core Logger Class

implement log() function
2018-10-29 19:40:18 -04:00
Tobias Diekershoff 3f6239bb2b some more get_hostname to getHostName changes 2018-10-11 13:24:39 +02:00
Philipp Holzer 2e8d9ba39b
Bugfixing for CurlResult 2018-10-11 07:40:57 +02:00
Philipp Holzer 1454abfdb4
rename App Methods
- rename get_baseurl() to getBaseURL()
2018-10-10 00:04:49 +02:00
Michael a5183985d1 One single notice ... 2018-09-09 06:25:55 +00:00
Michael 2db9b497bd removed code 2018-08-29 17:55:36 +00:00
Michael 5e86fb1b9e Pumpio does connect now again. 2018-08-29 17:09:19 +00:00
Michael 564235debd Removed notices that still had been creeping around ... 2018-08-17 03:23:00 +00:00
Michael Vogel 28b699573c Use the Item class instead of DBA calls when possible (#705) 2018-08-15 07:23:53 +02:00
Michael Vogel 10086f940d And again removed notices (#700)
* And again removed notices

* Sometimes there doesn't seem to be a content, then we don't continue
2018-08-12 07:52:21 +02:00
Roland Häder c8371bc521 Rewrite: (#680)
- replace usage of deprecated NETWORK_* with Protocol::*
2018-08-11 22:40:48 +02:00
Michael c0d7330b45 We should quit on not getting data 2018-08-01 19:14:28 +00:00
Michael 74353e7f2d Some more notices in addons 2018-08-01 17:28:55 +00:00
Michael 06c6bfc88d And some more notices ... 2018-07-31 18:10:34 +00:00
Michael 7f02ca32c9 And now for something complete different ... notices 2018-07-31 16:22:05 +00:00
Michael 8e77528e23 Notice fix: The variabe had never been defined 2018-07-31 02:04:45 +00:00
Roland Häder 93fb5a6151 [cross] Moved CONTACT_* constants to class Friendica\Model\Contact (#670)
* [cross] Moved CONTACT_* constants to class Friendica\Model\Contact

* Other PR request:
- renamed Contact::CONTACT_IS_* to just plain Contact::* :-) (MrPetovan)
2018-07-28 01:34:38 -04:00
Michael Vogel 31d0fac64a Some more notices fixed (#672) 2018-07-26 15:20:12 -04:00
Michael Vogel 429b9c9f4a
Merge branch 'develop' into notices-again 2018-07-24 04:19:48 +02:00
Hypolite Petovan 522e8e58c2 [multiple] Rename dbesc to DBA::escape 2018-07-23 15:35:22 -04:00
Hypolite Petovan f4ad0d3721 Rename DBA::is_result to DBA::isResult 2018-07-23 15:02:59 -04:00
Hypolite Petovan 332ea212b5 Rename DBM method calls to DBA method calls 2018-07-23 15:02:10 -04:00
Roland Häder a9da9db7eb [pumpio] Fixes/imports: (#661)
* [pumpio] Fixes/imports:
- added curly braces and spaces for better readability
- merged 2 `if()` blocks into one for lesser nested code blocks
- added type-hint `App` and `array` where applyable
- better "import" (`use` under PHP) classes and not reference them directly,
  reducing and improving readability

* [pumpio] Fixes:
- x() is deprecated, let's use !empty() instead
- added spaces for better readability

* [pumpio] Fixes:
- added missing App "imports" (thanks to MrPetovan)
- added type-hint array for $b
- added some spaces
2018-07-22 12:01:05 -04:00
Michael 1f9c353bae And again some removed notices 2018-07-22 06:41:30 +00:00
Hypolite Petovan 57505bdf82 [multiple] Rename Friendica\Database\dba to Friendica\Database\DBA 2018-07-20 08:20:48 -04:00