Commit graph

267 commits

Author SHA1 Message Date
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
Philipp
99239e3d99
Fix usage 2021-08-16 23:27:43 +02:00
Philipp
c17bc55158
Introduce InvalidClassStorageException and adapt the code for it 2021-08-16 23:27:42 +02:00
Philipp
d0536ebea7
Rename ISelectableStorage to IWritableStorage 2021-08-16 23:27:42 +02:00
Philipp
29c7552df5
Refactor IStorage 2021-08-16 23:27:42 +02:00
Philipp
839b5b5859
Fix legacy storage config 2021-07-31 20:56:32 +02:00
Philipp
4be4498b13
Update UX for Storage administration 2021-07-24 19:01:01 +02:00
Philipp
1e4f9f62fe
Rename buttons 2021-07-24 19:01:00 +02:00
Philipp
e19b9824cd
Allow setting & saving storages per type 2021-07-24 19:00:58 +02:00
Philipp
2fe28af74f
PHP-CS fixing 2021-07-24 19:00:58 +02:00
Philipp
cbe522ee82
Fixings 2021-07-24 19:00:58 +02:00
Philipp
3647f6f031
Refactor storage admin setting 2021-07-24 19:00:58 +02:00
Philipp
97bafb3a59
Extract Storage admin section to own page 2021-07-24 19:00:58 +02:00
Michael
dac27ead7a Proxy settings removed 2021-07-06 06:44:18 +00:00
Michael
a06d699480 Item cache related functionality removed 2021-07-05 04:57:50 +00:00
Michael
6b46fdb54e Don't count the system user as user 2021-06-21 04:03:20 +00:00
Michael
bf8cb39102 Diaspora relay functionality is removed 2021-06-13 11:15:04 +00:00
Michael
b7f12051a8 Small fixes 2021-06-12 11:19:23 +00:00
Michael
c21cbd936e Changed sorting 2021-06-12 10:12:02 +00:00
Michael
b8da971fac Server statistics: New section for relais and nomads 2021-06-12 08:08:35 +00:00
Tobias Diekershoff
f57ddee31c the command was missing from the worker queue overview 2021-05-02 09:55:19 +02:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael
45c80ab52f Added support for Mobilizon on the federation page 2021-03-25 18:52:50 +00:00
Hypolite Petovan
393de1a283 Use system.allowed_oembed config to allow iframe source 2021-03-14 14:19:35 -04:00
Michael
972c9f7bc0 Issue 9743: Added translatable texts 2021-03-08 21:17:27 +00:00
Michael
e515ac11ed Don't check for table_open_cache when pdo_emulate_prepares is activated 2021-03-08 10:38:53 +00:00
Michael
8f27715d8b "item" is replaced whenever possible at the moment 2021-02-06 13:42:21 +00:00
Michael
8eb3bddc2a Reduce the parameter chaos by splitting the update function 2021-01-30 13:31:59 +00:00
Michael
2fa692bcce New post class in the rest of the classes 2021-01-16 04:16:09 +00:00
Michael
a81ac835a1 The frontend worker is removed 2021-01-01 23:05:26 +00: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
Hypolite Petovan
fc19d98392
Merge pull request #9680 from annando/issue-9402
Issue 9402: Avoid message "invalid storage backend settings" on empty value
2020-12-19 13:07:02 -05:00
Michael Vogel
e66fba9757 Issue 9402: Avoid message "invalid storage backend settings" on empty value 2020-12-19 18:17:12 +01:00
Hypolite Petovan
0dac6e9d34 Add general information header translation to admin site template 2020-12-17 22:52:30 -05:00
Hypolite Petovan
99828c0fea Suppress notice message when guid isn't supplied in Module\Admin\Item\Source
- https://github.com/friendica/friendica/issues/9252#issuecomment-740052103
2020-12-08 10:00:09 -05:00
Michael
aec9f1ebf0 Remove unused config variable 2020-11-21 15:15:58 +00:00
Hypolite Petovan
a35707ec8f Improve admin user field is_deletable to check user.account_removed 2020-11-09 10:08:33 -05:00
Hypolite Petovan
ae00111f5b Fix redirect/form paths in Module\Admin\Users\Index|Active 2020-11-08 20:09:10 -05:00
Hypolite Petovan
388c0b69d6 Split admin/users into 6 separate modules
- They now feature working pagination
2020-11-08 12:53:12 -05:00
Michael
d639912f38 Disable the "proc_open" option when it isn't available 2020-10-24 19:33:38 +00:00
Tobias Diekershoff
c06197377f
Merge pull request #9322 from annando/issue-9305
Issue 9305: Relay deny tags are added
2020-09-30 07:21:59 +02:00
Michael
15e61e78ac Issue 9305: Relay deny tags are added 2020-09-29 19:48:26 +00:00
Tobias Diekershoff
c317acc53b Hotfix releases were not detected in the admin panel 2020-09-29 08:06:05 +02:00
Michael
b0c9c9b7cb Relay settings are now valid for the ActivityRelay as well 2020-09-22 15:48:44 +00:00
Michael
38635b1544 Issue 8961: Move default value for site settings to settings.config.php 2020-09-19 17:52:11 +00:00
Michael
efb461583b Move default setting to the configuration file 2020-09-16 06:08:30 +00:00
Michael
351d14d6f5 Replaced the defunct relay server at another place as well 2020-09-16 05:29:33 +00:00
Michael
6a505372fa Changed name for the sample relay server 2020-09-16 05:20:38 +00:00
Hypolite Petovan
fb7f7435c0 Merge branch 'bug/phpinfo-accessible-hotfix' into 2020.09-rc
# Conflicts:
#	src/Module/Admin/DBSync.php
#	src/Module/Admin/Logs/Settings.php
#	src/Module/Admin/Themes/Details.php
#	src/Module/Admin/Themes/Embed.php
2020-09-08 14:07:46 -04: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
Hypolite Petovan
2ce15cae1a Use router parameters in Admin modules
- Remove 10 @TODO tags

# Conflicts:
#	src/Module/Admin/DBSync.php
#	src/Module/Admin/Themes/Details.php
#	src/Module/Admin/Themes/Embed.php
2020-09-08 12:27:15 -04:00
Michael
f56e765158 Issue 9153 Use "info" instead of "notice" on successful operations 2020-09-07 10:17:42 +00:00
Michael
6fd0848cde Ensure that the actor name can't be changed 2020-08-22 19:40:31 +00:00
Michael
b12a2c486e Use "getActorName" 2020-08-22 18:52:37 +00:00
Michael
7dbf72e454 We now fetch data with an automatically generated system user 2020-08-22 14:48:09 +00:00
Michael
d153db44ac Periodically run an "optimize table" command for cache tables 2020-08-04 12:24:24 +00:00
Hypolite Petovan
a74c547af4 Move ContactRelation class to Contact\Relation
- Update references in GContact
2020-08-03 13:38:26 -04:00
Michael
03e2cbbf3d Merge remote-tracking branch 'upstream/develop' into remove-poco 2020-08-02 01:28:47 +00:00
Michael
0c73531da1 Poco and gcontact (mostly) removed 2020-08-01 16:15:18 +00:00
Michael
2976211992 Add "Nextcloud" to the statisrics 2020-08-01 09:26:41 +00:00
Michael
d9a9876ddd Synchronize contacts with the directory server 2020-07-31 09:08:51 +00:00
Michael
18617f6c48 Fetch followers/followings of contacts 2020-07-26 07:34:33 +00:00
Michael Vogel
398e65d66b
Merge pull request #8911 from MrPetovan/task/curl_DI
Introduce "HTTPRequest" class
2020-07-25 09:50:20 +02:00
Michael
cb830c9ad3 Translation function added 2020-07-23 06:32:31 +00:00
Michael
0007da8630 EOL removed 2020-07-23 06:25:01 +00:00
Michael
3fc3ded750 Useless info messages removed 2020-07-23 06:11:21 +00:00
nupplaPhil
7029012f27 Rename "HTTPRequest::curl()" to HTTPRequest::get() 2020-07-21 03:14:01 -04:00
nupplaPhil
2973ed6448 Make "HTTPRequest::curl" dynamic 2020-07-21 03:01:12 -04:00
nupplaPhil
5344efef71 Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest" 2020-07-21 02:56:10 -04:00
Michael
5bf813d0ec Use "failed" field 2020-07-19 11:42:23 +00:00
Hypolite Petovan
9c6fbc6a74 Update references to the friendica/friendica stable branch 2020-06-30 15:25:16 -04:00
Michael
c947b7f211 "print_r" in logging replaced / obsolete stuff removed 2020-06-29 20:22:00 +00:00
Hypolite Petovan
7d726dbb0c Improve Module\Admin\Item\Source
- Use router parameter
- Accept full URLs with GUID in form
- Fix 500 error when item with guid doesn't exist
2020-06-28 07:51:17 -04:00
Michael Vogel
c5e5defc29
Update src/Module/Admin/Site.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-06-16 14:37:36 +02:00
Michael
016c99935c Different comment limits for single view 2020-06-16 06:49:53 +00:00
Hypolite Petovan
8eeb7807d3 Replace remaining instances with "allowlist", "denylist" and "blocklist" 2020-06-07 11:24:56 -04:00
Hypolite Petovan
346f99b877 Add new TemplateEngine->testInstall method
- Add admin summary template engine error messages
2020-05-18 01:20:47 -04:00
Michael
7a82171bfe The "term" table is removed 2020-05-15 06:50:20 +00:00
Michael
d67b9cb693 Formula according to documentation 2020-05-05 16:01:20 +00:00
Michael
7de6e60328 Merge remote-tracking branch 'upstream/develop' into issue-8550 2020-05-05 15:56:24 +00:00
Michael
ac2957c4dd Some more "term" to "tag" conversion 2020-05-01 10:57:32 +00:00
Michael
6487daa4a9 Issue 8550: Check for a good table_definition cache value 2020-04-29 06:28:06 +00:00
Michael
70e5639e29 Merge 2020-04-28 13:33:03 +00:00
Michael
e52e505a48 Merge 2020-04-28 08:00:38 +00:00
Michael
f75009c20c Some more forgotten DBA::close 2020-04-28 07:10:18 +00:00
Michael
0c4dde8e68 Fix issue 8551: Last item is now displayed again 2020-04-28 05:22:29 +00:00
Michael
7d111e2a6f Duplicated fields renamed 2020-04-25 07:29:02 +00:00
Michael
02aed490e2 Owner-view added 2020-04-24 11:04:50 +00:00
Hypolite Petovan
6bb210ff7a Refactor features pages
- Create frio template for admin features page
- Fix header hierarchy
2020-04-01 19:06:10 -04:00
Hypolite Petovan
fd89572606 Refactor admin site settings templates
- Fix header hierarchy in admin/site.tpl
- Fix panel display in frio/templates/admin/site.tpl
2020-04-01 19:06:10 -04:00
Michael
01c6179feb Check for Antelope and convert to Barracuda 2020-04-01 18:11:06 +00:00
Hypolite Petovan
737b04d7e2
Merge pull request #8401 from annando/gfollower-epilogue
Reduce the load of "gfollower"
2020-03-10 18:52:31 -04:00
Michael
59f58f999d Small fixes 2020-03-10 22:51:05 +00:00
Michael
f27900ad78 Reduce the load of "gfollower" 2020-03-10 21:10:59 +00:00
Michael
8e421f0893 Fix uninstall of installed addons 2020-03-09 23:28:37 +00:00
Michael
d6905e29cf Query the same contact only once a month 2020-03-07 05:31:03 +00:00