Commit Graph

272 Commits (6a1cbe9040d13de472f4924f4fe44ee1e2524ffc)

Author SHA1 Message Date
Michael 6c4482234e Pumpio: Minor fixes to avoid notices and editor warning 2020-10-05 06:51:07 +00:00
Hypolite Petovan 203672cf27 [various] Remove redundant uninstall functions
- All hooks (current and obsolete) are removed automatically during addon uninstall
2020-07-27 08:30:41 -04:00
Michael cc7a1b181c Rearranged order for the "updateAvatar" function 2020-07-25 11:49:44 +00:00
nupplaPhil 72c24efe5b Rename "HTTPRequest::curl()" to HTTPRequest::get() 2020-07-21 03:31:49 -04:00
nupplaPhil 688c556739 Make "HTTPRequest::curl" dynamic 2020-07-21 03:28:28 -04:00
nupplaPhil 9640142a72 Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest" 2020-07-21 03:27:52 -04:00
Hypolite Petovan 5a36205139 [pumpio] Remove references to include/items.php 2020-07-14 10:22:01 -04:00
Hypolite Petovan a786d34ad3 [pumpio] Update getShareOpeningTag::getShareOpeningTag method signature 2020-06-21 09:50:01 -04:00
Hypolite Petovan e5d3bab855 [pumpio] Replace share_header calls with BBCode::getShareOpeningTag 2020-06-18 11:25:14 -04:00
Michael b406d737b5 Replacing numberic values with constants for the BBCode conversion 2020-05-16 16:48:08 +00:00
Michael 225243645e Fixing some notices 2020-04-04 11:15:13 +00:00
Hypolite Petovan acc013f287 [pumpio] Rename Item::delete to Item::markForDeletion 2020-03-10 18:54:46 -04:00
nupplaPhil 65e4726718
Remove unneeded Config namespace usages 2020-01-19 22:50:43 +01:00
nupplaPhil 75143e27b5
Move Config::set() to DI::config()->set() 2020-01-19 21:21:52 +01:00
nupplaPhil 1ce63185ab
Move Config::get() to DI::config()->get() 2020-01-19 21:21:12 +01:00
nupplaPhil f2fc22227a
cleanup namespace usages for L10n 2020-01-19 16:31:47 +01:00
nupplaPhil 48fecb9a40
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:46 +01:00
nupplaPhil a26bfe79e9
Remove unused `use` statements & remove PConfig class 2020-01-18 17:02:59 +01:00
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
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
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
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 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
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