Commit graph

46 commits

Author SHA1 Message Date
ab5aea8328
[gravatar] Use addon config entries instead of the db 2023-01-04 23:24:39 +01:00
005f9af69b
Introduce ConfigFileManager for config files 2023-01-01 20:21:56 +01:00
2fc7356cf4 [various] Set config loaded from default values to SOURCE_STATIC
- This prevents from clobbering values loaded from base `config/` folder
2022-11-20 12:44:53 -05:00
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
04df7f6e05
Changes:
- added more type-hints
- cleaned up some files (curly braces, spaces)
2022-06-23 07:17:00 +02: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
cff3dd67b0 "escapeTags" is removed from the addons 2021-11-07 08:49:34 +00:00
63fca0af29
Refactoring Core class structures ... 2021-10-26 21:44:28 +02:00
ae86b2e806
Restructure (P)Config to follow new paradigm 2021-10-23 11:29:15 +02:00
428c6876f0 Replacing "q" calls with "DBA" calls 2021-10-03 17:35:20 +00:00
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
3f84caeec5 Unneeded "info" messages removed 2020-07-23 03:48:52 +00:00
65e4726718
Remove unneeded Config namespace usages 2020-01-19 22:50:43 +01:00
75143e27b5
Move Config::set() to DI::config()->set() 2020-01-19 21:21:52 +01:00
1ce63185ab
Move Config::get() to DI::config()->get() 2020-01-19 21:21:12 +01:00
f2fc22227a
cleanup namespace usages for L10n 2020-01-19 16:31:47 +01:00
48fecb9a40
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:46 +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
c8a63f6b9c
Moving/Renaming ConfigCacheLoader to ConfigFileLoader 2019-03-24 22:52:43 +01:00
2e33d99f18
Moved method names & class 2019-02-18 01:22:09 +01:00
7aa0760742
Refactoring ConfigCacheLoader methods 2019-02-05 22:27:56 +01:00
2ba4c95f4b
Bugfixing Addon-config 2019-02-04 02:07:58 +01:00
b541efc5e6
3) Introducing ConfigFactory 2019-02-03 22:22:03 +01:00
c27b1cb66f Replace deprecated Addon::*registerHook by Hook::*register 2018-12-26 10:20:18 -05:00
d836593a3b Replace x() by !empty() or defaults()
- Remove extraneous parentheses around !empty()
2018-11-30 09:11:56 -05:00
b1295c2eaa [gravatar] Update config file style/name 2018-11-25 02:12:24 -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
49eff56e5d Core Logger
implement log() function.
more to squash


Core Logger Class

implement log() function
2018-10-29 19:40:18 -04:00
Jonny Tischbein
0bb8fdfde2 renaming and moving from security to Model/Item and BaseModule 2018-10-17 21:34:15 +02:00
Jonny Tischbein
e7f4dc8454 Move include/security to /src/Core/Authentication.php and /src/Util/Security.php 2018-10-17 18:58:05 +02:00
Hypolite Petovan
522e8e58c2 [multiple] Rename dbesc to DBA::escape 2018-07-23 15:35:22 -04:00
Hypolite Petovan
990b5bf231 [gravatar] Add addon config
- Update mentions to .htconfig.php
2018-07-10 08:39:47 -04: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
48dcbc6f3f Issue 3873
Replace deprecated functions with new syntax
2017-11-06 18:55:24 -05:00
Taekus
f884900a1b Update gravatar.php
changed from http://www.gravatar.com to https://secure.gravatar.com. This should have been default so that any friendica site using ssl would not have to edit this to have a completed ssl setup.
2015-05-18 07:45:41 -07:00
ccc6c2b785 wording submit -> save settings 2013-11-19 13:57:51 +01:00
Zach Prezkuta
c12542ef96 revert addon Smarty3 templates to non-variable-based includes 2012-12-25 13:25:09 -07:00
Zach Prezkuta
3da6f1471c update addons to support Smarty3 2012-12-22 13:36:35 -07:00
Klaus Weidenbach
1aaecea8db Add check if libravatar addon is enabled, too.
Added a check to gravatar if the libravatar addon is also enabled.
Only one of these two addons should be anabled and libravatar will fall back to gravatar if it found nothing at libravatar.
2012-07-14 21:11:43 +02:00
friendica
9295f179b1 slight change to get_avatar hook, also provided readable text for gravatar default options - the admin settings part of this plugin needs some work. 2012-04-10 16:03:22 -07:00
Klaus Weidenbach
d0fa37e8ea Add Gravatar plugin.
This plugin provides the default gravatar lookup feature that has been in friendica's core before.
In addition it lets you choose the default avatar image type and select the allowed image rating.
2012-04-09 12:58:06 +02:00