Commit graph

81 commits

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
Tobias Diekershoff
1bc3e6ac46 geonames AR translations updated THX abidin toumi 2021-10-30 08:13:57 +02: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
Tobias Diekershoff
86de95f77b added AR translations to the Friendica addons
Thanks to the work of طاهر, Farida Khalaf, محمد أحمد, abidin toumi, Abdullah Alsabi, ButterflyOfFire and ominds the translation of Friendica into Arabic has crossed the magic 50% progress mark, so we now include their work into the addons repository.
2021-10-10 12:55:16 +02:00
Tobias Diekershoff
25ba6023d0 regenerated all the strings 2021-10-10 08:27:53 +02:00
Philipp
adada10eb6
Rename DI::httpRequest() into DI::httpClient() 2021-08-25 21:54:54 +02:00
Tobias Diekershoff
da66d70e54 geonames addon ES translation updated THX Senex Petrovic 2021-04-02 08:37:45 +02:00
Tobias Diekershoff
4732761c1b geonames addon FR translation updated THX bob lebonche 2021-03-28 19:40:26 +02:00
Tobias Diekershoff
d33bba37a7 geonames addon HU translation updated THX Balázs Úr 2021-03-28 19:22:51 +02:00
Tobias Diekershoff
f5382b8f57 geonames addon IT translation update THX Sylke Vicious 2021-03-28 19:04:52 +02:00
Tobias Diekershoff
095b1057ec DE translation geonames addon updated 2021-03-01 08:04:06 +01:00
Tobias Diekershoff
500aab3c53 regenerated all strings.php files from the current translation strings (message.po) 2021-02-01 18:47:38 +01:00
Tobias Diekershoff
7f3704ae54 regenerated messages.po files of the addons 2021-02-01 18:29:42 +01:00
Tobias Diekershoff
d0894c1851 geonames addon added HU translation THX Balázs Úr 2020-12-23 21:22:25 +01: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
Tobias Diekershoff
a32fd4df56 geonames FR translation update THX ButterflyOfFire 2020-03-29 19:07:57 +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
2f51b9013b [geonames] Add link to base service website in README 2019-05-08 08:51:54 -04: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
Tobias Diekershoff
dcbf2f4416 NL translation THX JeroenED 2018-08-25 21:12:02 +02:00
Hypolite Petovan
6c443aeaf0 Move addon-specific config to config/addon.ini.php 2018-07-11 22:56:52 -04:00
Hypolite Petovan
d96370bfad Update multiple README.md
- Update geonames, impressum, piwik, public_server, testdrive, twitter
2018-07-10 08:41:31 -04:00
Hypolite Petovan
57f6ac5bad [geonames] Add addon config 2018-07-10 08:39:47 -04:00