Commit graph

112 commits

Author SHA1 Message Date
Tobias Diekershoff
4487b2a923 FR translation of various addons updated 2022-08-19 19:37:09 +02:00
Roland Häder
06b15a6ed0
Changes:
- added missing type-hints
- avoided local variables
- added some documentation
- changed double-quotes to single
2022-06-30 13:33:22 +02:00
Roland Häder
02d4a560a1
Changes:
- added type-hint + intval() (@MrPetovan)
- also changed `if (!$foo == '')` to `if ($foo != '')`
- added some spaces for better readability
2022-06-24 23:35:20 +02:00
Roland Häder
3ab46781b1
Changes:
- if a <addon>_module() function is empty, it is more a statement and not a
  real function
2022-06-24 23:35:16 +02:00
Roland Häder
52d971ceab
Wrong type-hint 2022-06-23 12:05:14 +02:00
Roland Häder
43c0e689f9
Wrong type-hint + renamed $b -> $body 2022-06-23 07:42:35 +02:00
Roland Häder
04df7f6e05
Changes:
- added more type-hints
- cleaned up some files (curly braces, spaces)
2022-06-23 07:17:00 +02:00
Tobias Diekershoff
931be19eca
DA DK translation for various addons added THX atjn 2022-05-02 12:26:36 +02:00
Tobias Diekershoff
ed96e0a2f6
PL translation update THX strebski 2022-03-08 16:26:19 +01:00
Tobias Diekershoff
484482a4ce HU addon translation update THX Balázs Úr 2022-01-22 18:52:30 +01:00
Tobias Diekershoff
631b456755 SV addon translation update THX Kristoffer Grundström 2022-01-22 18:50:50 +01:00
Michael Vogel
8fea67dade
Apply suggestions from code review
Co-authored-by: Philipp <admin+Github@philipp.info>
2021-11-07 14:02:13 +01:00
Michael
cff3dd67b0 "escapeTags" is removed from the addons 2021-11-07 08:49:34 +00: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
Tobias Diekershoff
f5f37842c6 impressum addon ES translation updated THX Senex Petrovic 2021-04-02 08:45:46 +02:00
Tobias Diekershoff
a7ed735ff1 impressum addon DE translation updated 2021-03-29 07:30:40 +02:00
Tobias Diekershoff
ae4c87f6bf impressum addon HU translation added THX Balázs Úr 2021-03-28 19:53:21 +02:00
Tobias Diekershoff
9ec6f00abe impressum addon IT translation update THX Sylke Vicious 2021-03-28 19:02:22 +02: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
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
3f84caeec5 Unneeded "info" messages removed 2020-07-23 03:48:52 +00: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
Hypolite Petovan
d3717045f7 [various] Replace remaining $a->page by DI::page() 2019-12-30 15:53:43 -05:00
Hypolite Petovan
905823ea63 Update obsolete App::getBaseUrl calls to DI::baseUrl 2019-12-29 21:55:10 -05:00
nupplaPhil
99db3452e3
Refactor deprecated App::internalRedirect() to DI::baseUrl()->redirect() 2019-12-27 21:55:16 +01:00
Tobias Diekershoff
6944b54ff7 impressum addon updated CA translation THX Joan Bar 2019-11-06 09:39:30 +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
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
62c43ea2f8 [various] Escape global function get_app calls 2018-12-27 21:03:17 -05: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
dbd93f8351 [impressum] Update config file style/name 2018-11-25 02:12:44 -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