Commit graph

61 commits

Author SHA1 Message Date
Philipp Holzer 65e4726718
Remove unneeded Config namespace usages 2020-01-19 22:50:43 +01:00
Philipp Holzer 1ce63185ab
Move Config::get() to DI::config()->get() 2020-01-19 21:21:12 +01:00
Philipp Holzer f2fc22227a
cleanup namespace usages for L10n 2020-01-19 16:31:47 +01:00
Philipp Holzer 48fecb9a40
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:46 +01:00
Philipp Holzer b6fd3f71f0
Remove get_server() in favor of Search::getGlobalDirectory() 2020-01-05 00:04:04 +01:00
Philipp Holzer 19fd0a22d7
Remove get_server() in favor of Config::get() 2020-01-04 23:59:19 +01:00
Hypolite Petovan 905823ea63 Update obsolete App::getBaseUrl calls to DI::baseUrl 2019-12-29 21:55:10 -05: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 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
Hypolite Petovan d836593a3b Replace x() by !empty() or defaults()
- Remove extraneous parentheses around !empty()
2018-11-30 09:11:56 -05:00
Hypolite Petovan 336276727f [testdrive] Update config file style/name 2018-11-25 02:16:20 -05: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 522e8e58c2 [multiple] Rename dbesc to DBA::escape 2018-07-23 15:35:22 -04:00
Hypolite Petovan ed8eb47b11 [testdrive] Fix Friendica official URL 2018-07-15 12:52:24 -04:00
Hypolite Petovan 6c443aeaf0 Move addon-specific config to config/addon.ini.php 2018-07-11 22:56:52 -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 d96370bfad Update multiple README.md
- Update geonames, impressum, piwik, public_server, testdrive, twitter
2018-07-10 08:41:31 -04:00
Hypolite Petovan 9f0a441fe4 [testdrive] Add addon config
- Update mentions of .htconfig.php
2018-07-10 08:41:31 -04:00
Tobias Diekershoff 24781527ee ZH CN testdrive addon 2018-06-18 11:19:22 +02:00
Tobias Diekershoff fed141ba05 update to the FI translations THX kris 2018-05-20 19:38:15 +02:00
Tobias Diekershoff 8da85c1d56 FI translation updates THX Kris 2018-04-18 08:32:45 +02:00
Tobias Diekershoff 85815a8810 added FI translations to many addons THX Kris 2018-04-06 13:58:38 +02:00
Tobias Diekershoff 16ccacb440 testdrive PL translation 2018-04-01 19:27:39 +02:00
fabrixxm bfd8e37fb8 Update IT strings 2018-03-19 21:28:00 +01:00
Hypolite Petovan 1900da6c42 Move Temporal::convert() to DateTimeFormat::convert() 2018-02-03 11:40:39 -05:00
Hypolite Petovan e4f32f8ac8 Add Temporal::utcNow() 2018-02-03 11:40:38 -05:00
Hypolite Petovan b24690e8df Refactor datetime_convert() into Temporal::convert() 2018-02-03 11:40:38 -05:00
Adam Magness b191d5716c Remove sprintf with translations
don't use sprintf with translation functions
2018-01-23 22:59:20 -05:00
Adam Magness f8c162cbfb Update t() calls
Update all t() calls.
2018-01-22 18:09:05 -05:00
Adam Magness 96c41e5623 Update strings
update strings to contain addon
2018-01-20 11:01:59 -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
Hypolite Petovan ec0c2e837d Move Contact to src
- Add relevant use statements
- Change method calls
- Remove mentions to include/Contact.php
2017-11-19 17:09:54 -05:00
Adam Magness 48dcbc6f3f Issue 3873
Replace deprecated functions with new syntax
2017-11-06 18:55:24 -05:00
Tobias Diekershoff 87697cc233 ES translation work THX Albert 2016-11-19 06:17:07 +01:00
Tobias Diekershoff 4b6209eace PL update to the testdrive translation 2015-09-24 22:16:55 +02:00
Tobias Diekershoff 797ee03eb8 IT update to the addon translations 2015-08-31 18:52:41 +02:00
Tobias Diekershoff 9201c92223 DE update the testdrive translation 2015-08-24 14:23:58 +02:00
Tobias Diekershoff 381aa3e9f9 updated messages.po for testdrive addon 2015-08-23 17:31:14 +02:00
Michael Vogel 7baebfe513 Make the directory configurable 2015-08-23 11:32:47 +02:00
Tobias Diekershoff 4533ed9a34 updating the addon translations, missed some files due missing git fu 2015-04-03 13:17:32 +02:00