Commit Graph

45 Commits (d93c8d8984838a85d54f8488d545917f2087ab86)

Author SHA1 Message Date
Hypolite Petovan 779b38ec09 [various] Convert addon_settings hook functions to the new data array format
- Add separate template files to several addons
- Remove superfluous addon settings CSS files
2021-11-29 06:55:16 -05:00
Hypolite Petovan f0522a998b [various] Use __DIR__ constant in all Page registerStylesheet and registerFooterScript calls 2021-11-29 06:54:59 -05:00
Philipp 63fca0af29
Refactoring Core class structures ... 2021-10-26 21:44:28 +02:00
Philipp ae86b2e806
Restructure (P)Config to follow new paradigm 2021-10-23 11:29:15 +02:00
Michael 0bf6612ea3 "log" is replaced with the corresponding logging functions 2021-10-21 06:04:27 +00:00
Philipp adada10eb6
Rename DI::httpRequest() into DI::httpClient() 2021-08-25 21:54:54 +02: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 19b2c8d833 Rename "fetchUrl" and "fetchUrlFull" to "fetch" and "fetchFull" 2020-07-21 03:32:23 -04:00
nupplaPhil 40ff1d7fda Make "HTTPRequest::fetchUrl" dynamic 2020-07-21 03:30:37 -04:00
nupplaPhil 9640142a72 Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest" 2020-07-21 03:27:52 -04:00
Philipp 6520bd77d9
Template Engine with Subdirectory
- Use explicit root path for template engine
- Replace "__DIR__" calls in addons with subdirectories
- Fixes local tests, where call is made out of '/' and not '/vagrant/'
2020-04-26 15:45:25 +02:00
nupplaPhil 65e4726718
Remove unneeded Config namespace usages 2020-01-19 22:50:43 +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 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 4b6527e273
Remove deprecated App::registerStylesheet()/FooterScript() - replace with DI::page()->registerStylesheet()/FooterScript() 2019-12-27 21:55:17 +01: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
Hypolite Petovan f93a1a45cc [geonames] Remove unused admin settings functions
- Reformat code
- Remove uninstall function that doesn't include specific code besides hooks
2019-05-08 00:44:43 -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
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 d836593a3b Replace x() by !empty() or defaults()
- Remove extraneous parentheses around !empty()
2018-11-30 09:11:56 -05:00
Hypolite Petovan b87b840db5 [geonames] Update config file style/name 2018-11-25 02:11:53 -05: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
Philipp Holzer 1454abfdb4
rename App Methods
- rename get_baseurl() to getBaseURL()
2018-10-10 00:04:49 +02:00
Hypolite Petovan 6c443aeaf0 Move addon-specific config to config/addon.ini.php 2018-07-11 22:56:52 -04:00
Hypolite Petovan 57f6ac5bad [geonames] Add addon config 2018-07-10 08:39:47 -04: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
Tobias Diekershoff f8d9efe8c7 some files were executable, now they are not 2017-12-07 14:26:26 +01:00
Adam Magness 48dcbc6f3f Issue 3873
Replace deprecated functions with new syntax
2017-11-06 18:55:24 -05:00
Tobias Diekershoff ccc6c2b785 wording submit -> save settings 2013-11-19 13:57:51 +01:00
pokerazor d59553b098 Changes to OpenStreetMap, show map inline, also lookup lat lon from location name 2013-01-09 00:41:27 +01:00
friendica fbc44b2135 add geonames plugin 2012-02-05 20:14:57 -08:00