Commit Graph

78 Commits (3dc77b21023c1258d2a7a23033f6ff6d0300b215)

Author SHA1 Message Date
Philipp 648fadedd3
[various] Adapt BaseURL calls for new UriInterface 2023-02-18 21:04:47 +01:00
Hypolite Petovan 39c654da00 [various] Remove App dependency from hook functions 2023-01-13 21:16:09 -05:00
Hypolite Petovan 5a9b63ff3b [public_server] Add expected "event" key in public_server_cron()
- Address https://github.com/friendica/friendica/issues/12488#issuecomment-1372634282
2023-01-09 09:22:30 -05:00
Philipp 005f9af69b
Introduce ConfigFileManager for config files 2023-01-01 20:21:56 +01:00
Hypolite Petovan 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
Philipp b0eb28143a
UserSession class - Refactor addon 2022-10-20 23:51:49 +02:00
Michael 5d8129600d Replace all functions from boot.php 2022-10-19 09:47:36 -04: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 04df7f6e05
Changes:
- added more type-hints
- cleaned up some files (curly braces, spaces)
2022-06-23 07:17:00 +02:00
Hypolite Petovan fd29c1a074 [various] Replace references to UTC_TIMESTAMP in SQL queries with a DateTimeFormat generated parameter 2021-12-03 07:35:02 -05: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
Michael 6b0172d093 Replace calls to "notification" with the new function 2021-10-19 19:53:10 +00:00
Michael 16d7eafd41 More replaced "q" calls 2021-10-07 05:53:16 +00:00
Hypolite Petovan 6d1ac20281 [various] Fix Notification class paths
- Address https://github.com/friendica/friendica/issues/9896
- Follow-up to https://github.com/friendica/friendica/pull/9860
2021-02-03 17:29:09 -05:00
Hypolite Petovan 00e8602892 [various] Move notification classes 2021-01-23 15:36:36 -05:00
Michael 6272ee3d09 Removed unneeded data for notifications 2020-11-28 17:24:51 +00: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
Andy 4757132840 Changes to be committed: 2020-02-23 05:13:30 +00:00
Andy 7509ce88b9 modified: public_server/public_server.php 2020-02-23 05:06:03 +00:00
nupplaPhil 6cc04a3ebc
Move Notify::TYPE_SYSTEM 2020-02-05 21:43:31 +01: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 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 c5f5965148 [public_server] Update config file style/name 2018-11-25 02:15: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
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
Hypolite Petovan 6c9788aa04 [public_server] Move NULL_DATE to DBA::NUL_DATETIME
- Remove useless DBA::escape when used with database constant
2018-10-21 02:54:09 -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