Philipp Holzer
6c2cf494b5
Remove DependencyFactory
...
- Include all necessary classes in `dependencies.config.php`
- Add DI-reference to BaseObject (acts as a global registry)
- Refactor all static "init()" methods to use the global registry
- Refactor Logging for Worker-Logger a little bit
2019-07-27 23:54:12 +02:00
Hypolite Petovan
4ec4a04e49
Remove mod/ping from 2fa exception list
...
- Prevent asynchronous calls to redirect to /2fa in case of missing valid 2fa session
2019-07-23 20:03:08 -04:00
Philipp Holzer
a8e6a57e9b
Fixing installer
2019-07-21 14:21:02 +02:00
Philipp Holzer
55999730e0
Introduce DICE
...
- Adding dice library
- Adding dependency config
- Removing Factories
- Refactoring App\Mode constructor
- Refactoring App\Router constructor
- Refactoring BasePath for DI usage
- Refactoring ConfigFileLoader constructor
- Refactoring Profiler constructor
- Adjust entrypoints (index, console, worker, ..)
- Adding functional test for DI
- Fix tests because of refactorings
2019-07-21 01:22:10 +02:00
Hypolite Petovan
f5e07be04e
Fix undefined property notice in L10n\L10n
2019-07-18 21:21:16 -04:00
Hypolite Petovan
11e4f906c2
Hot-fix: Core\L10n::t method passing parameter bug
...
Follow-up to #7379
2019-07-16 21:18:25 -04:00
Hypolite Petovan
0b97b32a59
Merge pull request #7379 from nupplaphil/task/refactor_l10n_for_test
...
Refactor L10n for testing
2019-07-16 16:03:42 -04:00
Philipp Holzer
92fb0a82ca
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 20:16:43 +02:00
Philipp Holzer
eb024a3718
Refactor L10n for testing
...
- Moving L10n to L10n\L10n
- Adding constructor information
- Adding to factory
- simplify/speedup tests
2019-07-16 16:44:47 +02:00
Hypolite Petovan
c6cd2b131d
Add transitive type hints in Core\PConfig
2019-07-16 07:45:24 -04:00
Hypolite Petovan
68f5b639eb
Restore $uid parameter integer type-hint in Config
...
- Add integer type-hint to Feature::isEnabled
2019-07-15 22:00:49 -04:00
Philipp Holzer
f70271aa5d
Allow nullable UID in PConfigCache
2019-07-15 21:14:13 +02:00
Philipp Holzer
d5de5b6789
Bugfixing bad UIDs for PConfig
2019-07-15 21:11:38 +02:00
Philipp Holzer
ebf00e32a1
minor phpdoc fixings
2019-07-15 20:54:33 +02:00
Philipp Holzer
74f7c16585
Fixup phpdoc
2019-07-15 20:19:52 +02:00
Philipp Holzer
9d98a4ce3a
Refactor PConfiguration
2019-07-15 20:13:53 +02:00
Philipp Holzer
6801e8b5ab
Fixing initial load config
2019-07-15 08:58:37 +02:00
Philipp Holzer
4af08d82b2
Added string type-hint for get() and a test case for it
2019-07-14 23:23:20 +02:00
Philipp Holzer
a654470061
fix phpdoc
2019-07-14 22:41:09 +02:00
Philipp Holzer
b48c22dc1a
minor fixing: phpdoc & type-hint
2019-07-14 22:31:53 +02:00
Philipp Holzer
a2c6240da0
some minor fixings
2019-07-14 22:26:36 +02:00
Philipp Holzer
4913502922
bugfix: add lost changes due merge
2019-07-14 22:12:45 +02:00
Philipp Holzer
c293eadb78
Improve & fixing Tests
2019-07-14 22:12:11 +02:00
Philipp Holzer
486f139342
Move Preload/JIT Configuration logic from Adapter to Core-Configuration
2019-07-14 22:09:07 +02:00
Philipp Holzer
c82127ffb7
Splitting ConfigCache & PConfigCache
...
- Remove IConfigCache & IPConfigCache
- Add new PConfigCache
- Add missing Logger::init() (bugfixing tests)
2019-07-12 22:53:37 +02:00
Philipp Holzer
e1d135238a
Revert default password setting & using "HiddenString" even for empty strings
2019-07-09 22:38:54 +02:00
Philipp Holzer
ab7c6499ff
Bugfixing DB/Installer
...
- default value with HiddenString
- Fixing checkDB during installation
2019-07-09 22:22:06 +02:00
Michael
6bb418c5a7
Use "received" instead of "created" when displaying posts in creation order
2019-07-07 21:30:33 +00:00
Michael
6041f74df6
New constant for federated protocols
2019-07-01 18:00:55 +00:00
Hypolite Petovan
b9ab613777
Merge branch 'master' into develop
2019-06-23 17:40:52 -04:00
Hypolite Petovan
d7d44e1af7
Merge pull request #7245 from annando/unify-constants
...
Fix delivery counter for poking / unify delivery commands
2019-06-10 11:59:40 -04:00
Hypolite Petovan
151c026a8a
Merge pull request #7244 from nupplaphil/task/hidden_string
...
Introduce HiddenString for Config-Values
2019-06-10 10:50:41 -04:00
Michael
41dc243186
Fix delivery counter for poking / unify delivery commands
2019-06-10 14:19:24 +00:00
Philipp Holzer
50d8dbb123
Bugfixing wrong typed password setting
2019-06-10 15:46:51 +02:00
Philipp Holzer
4666b18e5b
Bugfixing empty password setting
2019-06-10 15:40:15 +02:00
Philipp Holzer
357d9b5108
Introduce HiddenString for Config-Values
2019-06-10 14:46:31 +02:00
Philipp Holzer
cc7444d84d
Move internal recursion-counter to the end of all cur/fetchUrl parameters
2019-06-10 14:34:54 +02:00
Philipp Holzer
79fe3c92c7
Fixing Installer - ReplaceMacro
2019-06-07 00:36:10 +02:00
Hypolite Petovan
5414d51d4c
Prevent fatal error in ACL::getFullSelectorHTML when accessing a profile as a remote visitor
...
See https://github.com/friendica/friendica/issues/6916#issuecomment-495724811
2019-05-28 21:09:06 -04:00
Hypolite Petovan
01e71254d9
Replace defaults() calls on $_SESSION by Core\Session calls
...
- Replace direct calls to $_SESSION by Core\Session calls in Module\Login
2019-05-26 21:26:59 -04:00
Philipp Holzer
26d4214c19
added suggestions
2019-05-26 21:53:24 +02:00
Philipp Holzer
220f8f0862
friendica-6950 uimport doesn't support "pwdreset_time":null
2019-05-26 15:49:44 +02:00
Hypolite Petovan
08d7d42f81
Ensures Search methods return an empty ResultList instead of null
...
- Addresses https://github.com/friendica/friendica/issues/6916#issuecomment-494876901
2019-05-24 08:13:36 -04:00
Philipp Holzer
3d67987cbc
simplification
2019-05-20 19:27:53 +02:00
Philipp Holzer
5e79d3fc82
Fixing method signature
2019-05-20 19:19:57 +02:00
Philipp Holzer
2bb2bb19fd
refactor method signature
2019-05-20 19:15:47 +02:00
Philipp Holzer
58c8959da0
Add search types
2019-05-20 19:13:37 +02:00
Philipp Holzer
83fd03b124
Add PhpDoc
2019-05-20 18:44:44 +02:00
Philipp Holzer
1e36c68e48
Moving Search to Core, Refactor Objects
2019-05-20 18:42:27 +02:00
Hypolite Petovan
bf82736522
Exclude /api and /proxy from 2fa check
2019-05-15 08:56:02 -04:00