Hypolite Petovan
a91944af24
Fix constructor compatibility with BaseSettings parent class
...
- Address https://paste.metaversum.wtf/?fc75de3f8eba6e7d#813SFjJwWWaJERQyrEpGAVnL33xZpTRV4MZeKmzsAvK8
2022-11-19 13:33:05 -05:00
Philipp
eecc456e0c
UserSession class [5] - Refactor src/Module/ files with DI
2022-10-20 22:59:39 +02:00
Michael
ae6d67ed1f
old boot.php functions replaced in src/module (3)
2022-10-19 09:14:24 -04:00
Philipp
a2eb0c7378
Move Core\Session::remove() to DI::session()->remove()
2022-10-18 21:13:28 +02:00
Philipp
3a8bcb3fbf
Move Core\Session::set() to DI::session()->set()
2022-10-18 21:12:23 +02:00
Philipp
7ac86e49d1
Move Core\Session::get() to DI::session()->get()
2022-10-18 21:10:37 +02:00
Michael
fdfa1f8630
The notice and info have been moved
2022-10-17 18:55:22 +00:00
Philipp
e4a83eafb8
Add a lot of log-points
2022-07-07 21:33:41 +02:00
Philipp
b67e488236
adaptions
2022-06-26 10:13:32 +02:00
Philipp
0223c030a9
Improve 2 factor usage
2022-06-25 23:04:00 +02:00
Hypolite Petovan
1a4ec00fec
Handle null value for last_used fields in TrustedBrowsers and AppSpecificPassword
...
- Remove obsolete reference to DBA::NULL_DATETIME
2022-01-22 21:10:20 -05:00
Balázs Úr
733f3de9ed
Add missing copyright text
2022-01-02 10:49:50 +01:00
Philipp
322b7c856c
Merge pull request #11129 from urbalazs/copyright-2022
...
Update copyright
2022-01-02 09:45:35 +01:00
Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
Philipp
95fbe45bcc
Bump bacon/bacon-qr-code to 2.0.4
2021-12-11 17:26:39 +01:00
Philipp
2e4d654c0a
Make $_REQUEST processing independent of sub-calls
...
- Move HTTPInputData::process() into App::runFrontend()
- Pass $_REQUEST (including processed Input) to every Module method
- Delete $_POST parameters at Module post() calls because of $_REQUEST
2021-11-30 01:07:58 -05:00
Philipp
561aba18e3
Introduce Response
for Modules to create a testable way for module responses
2021-11-27 12:40:38 +01:00
Philipp
8bdd90066f
Make BaseModule
a real entity
...
- Add all dependencies, necessary to run the content (baseUrl, Arguments)
- Encapsulate all POST/GET/DELETE/PATCH/PUT methods as protected methods inside the BaseModule
- Return Module content ONLY per `BaseModule::run()` (including the Hook logic there as well)
2021-11-27 12:40:36 +01:00
Hypolite Petovan
23e1130264
Move title attribute to <time> tag
...
- Use correct machine-readable value in datetime attribute
2021-11-21 22:51:21 -05:00
Philipp
645e4edc63
Revert "Revert "Replace Module::init() with Constructors""
...
This reverts commit 89d6c89b67
.
2021-11-19 20:18:48 +01:00
Hypolite Petovan
89d6c89b67
Revert "Replace Module::init() with Constructors"
2021-11-19 07:23:23 -05:00
Philipp
dab9e13c69
Replace $this->l10n->t() with $this->t() for Modules
2021-11-18 23:23:58 +01:00
Philipp
ce578a7745
Replace Module::init() with Constructors
2021-11-17 22:14:33 +01:00
Philipp
489cd0884a
Make BaseModule methods dynamic
2021-11-14 23:49:06 +01:00
Philipp
714f0febc4
Replace $parameters
argument per method with static::$parameters
2021-11-14 23:49:05 +01:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Hypolite Petovan
5a949911ba
Add trusted browsers user setting module
...
- Add trusted browsers help section
2021-01-23 05:42:59 -05:00
Hypolite Petovan
3e257d4266
Move all two-factor authentication classes in Security\TwoFactor
2021-01-23 05:42:58 -05:00
Hypolite Petovan
b0234f4ef9
Remove autocomplete from 2FA code input fields
2020-12-21 00:25:21 -05:00
Hypolite Petovan
65f74da45b
Add translation to required labels on input fields
...
- Normalize display of required label
- Remove unused field_richtext template
2020-12-19 22:52:45 -05:00
Michael
f56e765158
Issue 9153 Use "info" instead of "notice" on successful operations
2020-09-07 10:17:42 +00:00
Tobias Diekershoff
3a0e1eea04
Tyoi reported by silkevicious on Transifex
2020-09-04 14:17:58 +02:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes
2020-02-09 15:45:36 +01:00
Hypolite Petovan
5670c19d5c
Move/rename base module classes
2020-01-29 23:23:07 -05:00
nupplaPhil
d6efc90194
cleanup namespace usages for L10n
2020-01-19 16:31:33 +01:00
nupplaPhil
5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls
2020-01-19 16:31:16 +01:00
nupplaPhil
800694e9b3
Remove unused use
statements & remove PConfig class
2020-01-18 17:02:59 +01:00
nupplaPhil
b5c0df439f
Move PConfig::delete() to DI::pConfig()->delete()
2020-01-18 16:56:46 +01:00
nupplaPhil
88bb66371c
Move PConfig::set() to DI::pConfig()->set()
2020-01-18 16:54:50 +01:00
nupplaPhil
9e9429b56d
Move PConfig::get() to DI::pConfig()->get()
2020-01-18 16:50:57 +01:00
nupplaPhil
8e6973b774
Refactor deprecated App::internalRedirect() to DI::baseUrl()->redirect()
2019-12-29 20:17:43 +01:00
nupplaPhil
1de3f186d7
Introduce new DI container
...
- Adding Friendica\DI class for getting dynamic classes
- Replacing BaseObject::getApp() with this class
2019-12-29 20:16:55 +01:00
nupplaPhil
aa5771cf3e
Move Login/Logout/TwoFactor to bundled submodule "Security"
2019-12-27 22:19:28 +01:00
Michael
8c03bdada9
parameters now are having a default value and are optional
2019-11-05 21:48:54 +00:00
Michael
bd62d548db
Added parameters
2019-11-05 20:22:54 +00:00
Hypolite Petovan
f59ea2af55
Replace deprecated defaults() calls by ?? and ?: operators in src/Module/
2019-10-15 09:20:32 -04:00
Hypolite Petovan
8677428edb
Remove debug
2019-07-22 17:41:21 -04:00
Hypolite Petovan
1a164b0dc5
Add two-factor app-specific password settings page
...
- Add two-factor app-specific model
- Add link to new page from 2fa settings index page
2019-07-22 07:56:00 -04:00
Hypolite Petovan
a149d6ec44
Move recovery code model to sub-folder
2019-07-22 07:41:01 -04:00
Hypolite Petovan
5c59c57b14
Improve template args visual alignment in two-factor modules
2019-05-13 13:31:08 -04:00