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
Michael
23b10cf2ae
Some removed escapeTags calls
2021-11-05 19:59:18 +00:00
fabrixxm
e8c0d5d445
Logs view: remove unneeded tpl var
2021-10-01 17:00:06 +02:00
fabrixxm
0638e23f7a
Mark string translatable in View logs
...
and update messages.po
2021-10-01 16:46:55 +02:00
Tobias Diekershoff
786596fec5
remove superfluous characters from warning messages in the admin panel
...
\r\n was shown in the warning messages of the admin panel log view page. They have
been removed. Additionally the messages.po file has been regenerated.
2021-10-01 14:02:27 +02:00
fabrixxm
ec4f53d56f
Add DI to ParsedLogIterator, replace constructors with fluent api
2021-08-19 14:56:51 +02:00
fabrixxm
84fa668845
Fix code formatting
2021-08-19 14:55:33 +02:00
fabrixxm
5b9aeeeca9
Add search and filter to log view
2021-08-19 14:55:33 +02:00
fabrixxm
9368f5445d
Display structured logs in admin
...
Tries to parse log lines and to display info in a table.
Additional JSON data is parsed and displayed clicking on a row.
File reading and line parsing is handled in iterators, to avoid to keep
too much data in memory.
Search and filter should be trivial to add.
Log file is read backward to display log events newest first.
A "tail" functionality should be easy to implement.
2021-08-19 14:55:33 +02:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Hypolite Petovan
3efa8648c5
Fix security vulnerability in admin modules
...
- The Module\BaseAdmin::post method checked credentials but didn't abort the process when it failed
- Created Module\BaseAdmin::checkAdminAccess method
2020-09-08 12:27:43 -04:00
Hypolite Petovan
9bc2c5a52e
Normalize use of form security tokens in Admin modules
...
# Conflicts:
# src/Module/Admin/Logs/Settings.php
2020-09-08 12:27:36 -04: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
ed9392469e
Remove unneeded Config namespace usages
2020-01-19 22:50:44 +01:00
nupplaPhil
3411ced833
Move Config::set() to DI::config()->set()
2020-01-19 21:21:53 +01:00
nupplaPhil
6c36fd9e01
Move Config::get() to DI::config()->get()
2020-01-19 21:21:13 +01: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
e944d7bed6
Remove deprecated App::getBaseURL() - process methods to DI::baseUrl()->get()
2019-12-29 20:17:48 +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
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
Philipp Holzer
b56b56ccb6
friendica-6379 Monolog - logfile permission denied
2019-05-26 14:33:09 +02:00
Hypolite Petovan
92b415bc36
Fix EOL and EOF in Admin modules
2019-05-02 09:55:50 -04:00
Hypolite Petovan
9774c95b80
Remove duplicate $baseurl template variable
...
- Remove unused $overwriteURL parameter in Renderer::replaceMacros
2019-05-02 09:55:48 -04:00
Hypolite Petovan
db5b66e6f1
Update Smarty input field help comment in Admin\Logs\Settings
2019-05-02 09:52:54 -04:00
Hypolite Petovan
df947ba9db
Move admin/logs to src/Module
2019-05-02 09:52:51 -04:00