Commit Graph

60 Commits (39280ea6bdfff518c572d7c5d2fc3c453fc9b84d)

Author SHA1 Message Date
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 Vogel 2c69a9c359
Merge pull request #1006 from MrPetovan/task/curl_DI
Introduce "HTTPRequest" class
2020-07-25 09:50:01 +02:00
Michael 3f84caeec5 Unneeded "info" messages removed 2020-07-23 03:48:52 +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 7eb7706a24 [various] Add rel="noopener noreferrer" to all target="_blank" links
See https://mathiasbynens.github.io/rel-noopener/
2020-02-24 20:08:43 -05: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 665948b37e
sort use 2020-01-18 15:47:19 +01:00
nupplaPhil fbc10c177f
CleanUp Cache namespace
- Introduce enum "Duration"
- Introduce enum "Type"
- Move "Cache\Cache" to "BaseCache"
2020-01-18 15:41:18 +01:00
Hypolite Petovan d0a63610bd [openstreetmap] Fix references to Cache 2020-01-12 09:36:43 -05:00
Hypolite Petovan d3717045f7 [various] Replace remaining $a->page by DI::page() 2019-12-30 15:53:43 -05:00
Michael 141007764b Fix PR 927: Adds forgotten calls 2019-12-30 01:20:55 +00: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
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
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
Hypolite Petovan c27b1cb66f Replace deprecated Addon::*registerHook by Hook::*register 2018-12-26 10:20:18 -05:00
Hypolite Petovan 524937a830 [openstreetmap] Update config file style/name 2018-11-25 02:14:54 -05:00
Adam Magness 4a667f640f Function renamed
update function calls
2018-11-09 13:32:45 -05:00
Adam Magness 1ac32c622e Functions moved to Strings class
implement functions from Strings class
2018-11-09 07:09:15 -05:00
Adam Magness 9079480d4a move to Renderer class
update functions calls for new Renderer class.
2018-10-31 10:55:15 -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
Hypolite Petovan 7a376aeaad
Merge pull request #758 from nupplaphil/move_global_functions_3
Move Global Functions - Part 3
2018-10-20 13:19:49 -04:00
Philipp Holzer e67d810ecd
Move Global Functions - Part 3
- Replaced every CACHE_ definition
2018-10-20 18:22:13 +02:00
Philipp Holzer e4afd1c120
remove z_root() 2018-10-13 19:07:22 +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
Hypolite Petovan d9808fecdf [openstreetmaps] Add addon config
- Update mentions of .htconfig.php
2018-07-10 08:39:48 -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 987b53c6e6 Removed tab 2018-03-20 06:55:00 +00:00
Michael 0f4052ace9 OSM: Results are now cached, format limits to other networks are respected 2018-03-20 06:43:03 +00:00
Adam Magness f151406355 Review updates
update renamed and moved functions
2018-01-27 11:23:04 -05:00
Adam Magness ca3c45101e Network was moved to src
update all function calls to use class, insert use statements and remove require_once statements
2018-01-27 08:52:02 -05:00
Adam Magness f8c162cbfb Update t() calls
Update all t() calls.
2018-01-22 18:09:05 -05:00
Adam Magness c71f7b0e1a Update function names
update function names and hook calls
2018-01-20 08:57:41 -05:00
Adam Magness 0afd633346 Addon class
plugin moved to Addon src class
2018-01-19 07:20:17 -05:00
Hypolite Petovan 27b60e003f Use short form array syntax everywhere 2018-01-15 08:15:33 -05:00
Adam Magness 036754e455 Move Cache to src
Cache class moved to Friendica\Core namespace
2017-11-09 11:08:32 -05:00
Adam Magness 48dcbc6f3f Issue 3873
Replace deprecated functions with new syntax
2017-11-06 18:55:24 -05:00
Michael Vogel 5dc30229d4 New plugin GoogleMaps, changed map format for OSM 2015-06-30 07:31:27 +02:00
fabrixxm cdbde9d1e6 start porting openstreetmap plugin 2015-05-15 20:27:32 +02:00