Commit Graph

288 Commits (63fca0af29909286f0b2d59a46e9afb82486e7db)

Author SHA1 Message Date
nupplaPhil 346bf125a7
Move PConfig::delete() to DI::pConfig()->delete() 2020-01-18 16:56:45 +01:00
nupplaPhil febc835a2d
Move PConfig::set() to DI::pConfig()->set() 2020-01-18 16:54:49 +01:00
nupplaPhil ea3a9052d8
Move PConfig::get() to DI::pConfig()->get() 2020-01-18 16:50:56 +01:00
nupplaPhil 2ca621a92a
Replace deprecated $a->page with DI::page() 2019-12-30 20:02:08 +01:00
nupplaPhil 335fcf670f
Remove deprecated App::getBaseURL() - process methods to DI::baseUrl()->get() 2019-12-27 21:55:17 +01:00
nupplaPhil 0775c28854
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName() 2019-12-27 21:55:16 +01:00
nupplaPhil 5d4d175bf9
Introduce new DI container
- Adding Friendica\DI class for getting dynamic classes
- Replacing BaseObject::getApp() with this class
2019-12-27 21:55:14 +01:00
Philipp Holzer e92a154a6c
Move Namespace of ActivityNamespace 2019-10-25 00:41:37 +02:00
Philipp Holzer 65250b3fa5
Move Namespace of ActivityNamespace 2019-10-25 00:34:46 +02:00
Philipp Holzer 2c5fe26ae9
Renamed to ActivityNamespace 2019-10-25 00:32:35 +02:00
Philipp Holzer 9bd0609625
Add docs 2019-10-25 00:10:19 +02:00
Philipp Holzer a555820111
Rename namespace 2019-10-24 09:06:21 +02:00
Philipp Holzer 46bccdc9e0
Move Activity/Namespaces defines to constants 2019-10-24 00:25:42 +02:00
Hypolite Petovan acdd62da3e [various] Replace deprecated defaults() calls by ?? operator 2019-10-17 11:08:46 -04:00
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
Tobias Diekershoff dcbf2f4416 NL translation THX JeroenED 2018-08-25 21:12:02 +02: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
Tobias Diekershoff 9944a5696c PL translation pumpio THX waldis 2018-08-06 14:00:34 +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
Tobias Diekershoff 9463696159
Merge pull request #650 from annando/post-type
We don't store the "type" parameter anymore
2018-07-20 12:53:12 +02:00
Hypolite Petovan abc76a42ae [multiple] Move \dba to \Friendica\Database\dba
- Updated use statement lists
2018-07-19 22:18:02 -04:00
Michael Vogel 3940618a4a
Merge pull request #633 from MrPetovan/task/4889-move-config-to-config
Move configuration to config/
2018-07-18 11:04:38 +02:00
Michael cdd510909f We don't store the "type" parameter anymore 2018-07-18 05:49:41 +00:00
Michael Vogel e74ccf35c9 Some notices had been removed / expiring of item related tables in twitter (#643)
* Some notices had been removed / expiring of item related tables in twitter

* Some more ...
2018-07-15 14:40:20 -04:00
Hypolite Petovan 6c443aeaf0 Move addon-specific config to config/addon.ini.php 2018-07-11 22:56:52 -04:00
Hypolite Petovan d86bf8eb45 [pumpio/twitter] Replace global $a with BaseObject::getApp() 2018-07-10 08:41:32 -04:00
Hypolite Petovan 9e1e088c09 [various] Replace direct accesses to $a->config with Config::get 2018-07-10 08:41:32 -04:00
Hypolite Petovan 9cc5f29dad [pumpio] Add addon config
- Update mentions of .htconfig.php
2018-07-10 08:41:31 -04:00
Michael Vogel 475299e642 Avoid warnings in addons (#639)
* Avoid warnings in addons

* And some warnings removed

* And more ...

* And some more ...

* Added comment

* And again ...

* And again ...

* Partly reworked "newmemberwidget"

* And more warnings ...

* The next round
2018-07-10 08:30:23 -04:00
Michael 5e72da205c And again .. 2018-06-28 16:43:06 +00:00
Michael a4b61a4157 Even more standards 2018-06-28 16:39:25 +00:00
Michael 26541c5b75 It's all about standards ... 2018-06-28 05:21:13 +00:00
Michael 337464c6b0 Fix: Wrong variable name in "if" / Some reworked parts 2018-06-24 05:02:09 +00:00
Michael f8916bf9d9 Pumpio: Fix for wrong item class function call 2018-06-23 10:51:45 +00:00
Tobias Diekershoff 9bec9f2e9a missing use DBM 2018-06-19 18:34:40 +02:00
Michael 0d204c07da More item calls have been converted to current functions 2018-06-18 05:15:46 +00:00
Michael 392bb7d5aa Remove direct item sql queries 2018-06-17 06:20:47 +00:00
Michael e1714de8ad New function for generating item URIs 2018-06-16 06:46:25 +00:00
Tobias Diekershoff 93c564ecc5 updated CS translation of the pumpio addon THX Aditoo 2018-06-12 16:19:21 +02:00
Hypolite Petovan 97108080c2
Merge pull request #608 from annando/delete
Changed function that will be private in the future
2018-05-29 10:00:18 -04:00
Michael 476302afc5 Return values 2018-05-29 12:36:44 +00:00
Michael 5c668bd6e9 Changed function that will be private in the future 2018-05-29 05:24:25 +00:00
Tobias Diekershoff fed141ba05 update to the FI translations THX kris 2018-05-20 19:38:15 +02:00
Tobias Diekershoff 50f5c7e251 update to the FI translation THX Kris 2018-04-17 07:21:08 +02:00
Tobias Diekershoff eb5eb5986d update to the FI translations 2018-04-09 15:00:17 +02:00
Tobias Diekershoff 85815a8810 added FI translations to many addons THX Kris 2018-04-06 13:58:38 +02:00
Tobias Diekershoff 29b930ade4 pumpio PL translation 2018-04-01 18:45:34 +02:00
fabrixxm 3f7685d8a8 Merge branch 'master' into develop 2018-03-23 11:52:12 +01:00
fabrixxm bfd8e37fb8 Update IT strings 2018-03-19 21:28:00 +01:00
Hypolite Petovan ab0f359602 Replace htmlt2* with HTML class methods
- Remove references to include/html2*.php
2018-03-07 16:48:34 -05:00
Hypolite Petovan 88ca2f5a1e Remove references to include/bbcode.php 2018-02-14 22:04:06 -05:00
Hypolite Petovan 91fd77af3b Refactor bbcode() into BBCode::convert() 2018-02-14 21:43:40 -05:00
Hypolite Petovan f4e38b6ee9 Fix use statements 2018-02-14 21:43:27 -05:00