Commit graph

321 commits

Author SHA1 Message Date
Michael
85e2328b23 Issue 10640: Some more inversed settings 2021-08-31 19:26:17 +00:00
Michael
3944e5d38e Disable mail setting when imap support is disabled 2021-08-30 21:17:03 +00:00
Michael
e3c7cd25e1 Issue 10640: Use consistent settings to enable protocol support 2021-08-30 19:46:10 +00:00
Philipp
13a91e63aa
Rename DI::httpRequest() into DI::httpClient() 2021-08-25 21:54:54 +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
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
Michael
a6e7b5f295 GContact discovery added 2020-03-05 22:03:24 +00:00
Hypolite Petovan
6ae5f705b6 Rename Item::delete* methods to Item::markForDeletion* 2020-03-03 01:48:29 -05:00
Hypolite Petovan
ad2b9198a4 Remove last on/off data occurrences in additional features
- Address https://github.com/friendica/friendica/issues/7999#issuecomment-589808923
2020-03-01 14:15:08 -05:00
nupplaPhil
811f075aa1
Rename method name 2020-02-29 17:10:34 +01:00
nupplaPhil
ed422be734
Improve start/count parameter 2020-02-29 17:10:33 +01:00
nupplaPhil
2adc6a0974
Add list command 2020-02-29 17:10:31 +01:00
nupplaPhil
ecf7f40704
Admin page improvements 2020-02-29 17:10:31 +01:00
nupplaPhil
0fade7fc0a
Fix Admin page 2020-02-29 17:10:30 +01:00
nupplaPhil
4f2bea5cb1
Move "regmod" functionality into Admin Users page 2020-02-29 17:10:29 +01:00
nupplaPhil
0c3f8b124b
Add "User::block()" to console command 2020-02-29 17:10:28 +01:00
nupplaPhil
b4f6e8fda1
Move "User::deny()" to own method and update usages 2020-02-29 17:10:28 +01:00
nupplaPhil
6aee153bbd
Move "User::allow()" to own method and update usages 2020-02-29 17:10:27 +01:00
nupplaPhil
f3f764bc39
Add new possibility to add a user per console 2020-02-29 17:10:27 +01:00
Hypolite Petovan
b100b9600e Add rel="noopener noreferrer" to all target="_blank" links
See https://mathiasbynens.github.io/rel-noopener/
2020-02-24 20:07:34 -05:00
Andy
699b567d97 modified: src/Module/Admin/Users.php 2020-02-23 03:31:59 +00:00
Hypolite Petovan
561472b975 Add L10n parameter to Pager classes 2020-02-16 12:50:39 -05:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes 2020-02-09 15:45:36 +01:00
Hypolite Petovan
a7a38da62d Remove yesno option from Storage backend 2020-02-05 21:37:32 -05:00
nupplaPhil
0b94b84dc7
simplify mail creation 2020-02-04 21:05:33 +01:00
nupplaPhil
7fb913eb86
Add extra email banner (including setting) 2020-02-02 22:43:44 +01:00
nupplaPhil
262c94f12f
Fix indents 2020-02-02 22:43:43 +01:00
nupplaPhil
97e708f2e2
Remove DI::app() dependency again 2020-02-02 22:43:41 +01:00
nupplaPhil
9428466d1d
Set Sitename / site email as sender for system emails 2020-02-02 22:43:39 +01:00
nupplaPhil
3291728059
Extract System emails from enotify
- Removed every SYSTEM_EMAIL occurrence in enotify
- Introduced a "SystemMailBuilder" for build system emails
- Replaced every SYSTEM_EMAIL usage in the classes with calling this builder
- Added tests for this new Builder
- Split the email templates between "base" template for email and concrete usages for different use cases
2020-02-02 22:43:35 +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
d5a473abda
Shorten "PConfiguration" to "PConfig" again, since the Wrapper is gone 2020-01-19 22:23:44 +01:00
nupplaPhil
a6a2efa18a
Move Config::delete() to DI::config()->delete() 2020-01-19 21:22:33 +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
d83f6335eb
Move L10n::getCurrentLang() calls to DI::l10n()->getCurrentLang() calls 2020-01-19 16:31:19 +01:00
nupplaPhil
a9a36fb302
Move L10n::tt() calls to DI::l10n()->tt() calls 2020-01-19 16:31:17 +01:00
nupplaPhil
5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:16 +01:00
Michael
0a4119adaf @brief is removed completely 2020-01-19 06:05:23 +00:00
Michael
7b060aa3f5 User lowercase for platform data 2020-01-12 21:07:40 +00:00
Hypolite Petovan
4dacd5db44
Merge pull request #8100 from annando/statistics
Combine matching systems
2020-01-12 06:55:55 -05:00
Michael
a357b0bf37 Combine matching systems 2020-01-12 11:22:36 +00:00
Tobias Diekershoff
3c1f127e3c
Merge pull request #8099 from annando/statistics
The federation statistics now contain all systems
2020-01-12 11:44:45 +01:00
Michael
3f8b6cb118 Improved order of systems 2020-01-12 09:40:17 +00:00
Michael
1a2a260e9a Improved documentation 2020-01-12 08:36:11 +00:00
Michael
3d1be9f2d1 The federation statistics now contain all systems 2020-01-12 08:14:32 +00:00
nupplaPhil
016cfcd846
Fixings
- Rename "facStorage" to "storageManager"
- Fix indentation
- Fix tests
2020-01-10 13:22:03 +01:00
nupplaPhil
08edeae2f9
Make Storage testable & add tests
- Making StorageManager dynamic (DI::facStorage())
- Making concrete Storage dynamic (DI::storage())
- Add tests for Storage backend and failure handling
- Bumping Level-2/Dice to "dev-master" until new release
- Using Storage-Names instead of Storage-Classes in config (includes migration)
2020-01-10 13:21:57 +01:00
Michael
274788807d Fix a missing ")" 2020-01-05 17:19:37 +00:00
nupplaPhil
48baa0be4b
Remove get_server() in favor of Search::getGlobalDirectory() 2020-01-05 00:04:55 +01:00