Hypolite Petovan
c19e57e176
Use L10n->tt instead of t() for plural strings in Module\Admin\Federation
2022-08-08 02:08:40 -04:00
Hypolite Petovan
1810b32c26
Move server domain pattern blocklist features to its own class
...
- Update tests
2022-07-28 05:38:50 -04:00
Michael
ff9dc1e291
Merge remote-tracking branch 'upstream/develop' into untrusted
2022-07-27 17:56:56 +00:00
Michael
86105635ca
Improved message handling / new activity relay handling
2022-07-27 17:39:00 +00:00
Hypolite Petovan
e11d3cfeb0
Add upload feature for domain pattern block list
...
- Add new /admin/blocklist/server/import route
- Add form on domain pattern blocklist index page
2022-07-27 11:54:50 -04:00
Michael
8b7cb5d9ef
Merge remote-tracking branch 'upstream/develop' into server-detection
2022-07-16 12:44:21 +00:00
Michael
85c7bacb00
Improved server detection
2022-07-10 13:01:47 +00:00
Hank Grabowski
e57e1ba1e5
Make network counts at the group level system level configurable
2022-07-08 15:29:34 -04:00
Michael
cc75eb5d18
Improved server detection
2022-07-05 05:04:05 +00:00
Roland Häder
44a9ec9b17
Rewrite:
...
- avoid having array|string for $table to have a "string" type-hint for $table
- you now have to do it for yourself by giving 'schema.table' as parameter
2022-06-21 13:47:38 +02:00
Hypolite Petovan
1301a53f20
Remove relocation form from Admin Site settings
2022-05-29 13:15:23 -04:00
Hypolite Petovan
7d09ce86c4
Move relocation feature in its separate class
...
- Create Database->replaceInTableFields method
2022-05-29 12:11:18 -04:00
Michael
f6167b4cfd
New function to exit the program
2022-05-18 02:13:54 +00:00
Michael
4e9d7df31a
Add missing DI
2022-05-17 21:26:35 +00:00
Michael
4016a576d5
Log the execution time
2022-05-17 20:47:23 +00:00
Michael Vogel
6b9f543c4e
GoToSocial added to the federation admin page
2022-05-08 20:50:11 +02:00
atjn
31ed9b450d
Update default icon
2022-04-28 12:41:26 +02:00
Michael
30e5ef928a
Avoid wrong server type detection / Owncast added
2022-04-12 05:34:34 +00:00
Philipp Holzer
e299fc67c8
Introduce "accept_header" as specific argument to the http client
2022-04-02 21:16:53 +02:00
Philipp Holzer
73c3b21665
Move ACCEPT constants to own "enum" class
2022-04-02 20:26:11 +02:00
Michael
1fae0123ec
Some more "accept" parameters are added
2022-03-29 06:24:20 +00:00
Michael
351e9a307c
Fixed placeholder
2022-03-19 11:24:09 +00:00
Michael
4e45987f74
Merge remote-tracking branch 'upstream/develop' into fetch-usage
2022-03-19 11:21:38 +00:00
Hypolite Petovan
d15ebb6fd3
Normalize base URL usage in admin templates
2022-03-11 23:14:21 -05:00
Tobias Diekershoff
d65357dd92
added two help texts in the admin panel site config
2022-02-10 09:04:48 +01:00
Michael
061a6d9239
Use a thousands_separator to improve readability of the federation statistics
2022-02-07 19:21:39 +00:00
Michael
cda348def2
Fixed grammar
2022-02-07 06:53:44 +00:00
Michael
8e70e19061
Improved texts
2022-02-07 06:43:37 +00:00
Michael
384fe562a8
More statistics
2022-02-07 06:23:49 +00:00
Michael
bdba75ec47
Show detailled statistics per platform
2022-02-07 06:11:37 +00:00
Michael
58b4ecd6ae
Show month/halfyear usage
2022-02-07 05:29:00 +00:00
Michael
92a71f8c27
Store wekk/month&halfyear usage / number of posts
2022-02-06 20:03:19 +00:00
Michael
585af09b7d
Only display federated servers
2022-02-06 05:58:37 +00:00
Michael
650f90df25
Platforms: only use and show trusted detections
2022-02-05 22:14:19 +00:00
Michael
3a6491f994
More system are added to the federation page
2022-02-04 20:45:27 +00:00
Philipp Holzer
c588b280d7
Fix all license header & be less aggressive
2022-01-07 00:35:28 +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
Michael
7488a793a8
Don't count the system user on the administration page
2021-12-24 12:36:44 +00:00
Balázs Úr
48a0049adc
Fix typo
2021-12-03 01:14:29 +01:00
Philipp Holzer
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 Holzer
e8ee312d80
Fix Tos Module
2021-11-27 14:11:48 +01:00
Philipp Holzer
561aba18e3
Introduce Response
for Modules to create a testable way for module responses
2021-11-27 12:40:38 +01:00
Philipp Holzer
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
Philipp Holzer
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 Holzer
dab9e13c69
Replace $this->l10n->t() with $this->t() for Modules
2021-11-18 23:23:58 +01:00
Philipp Holzer
ce578a7745
Replace Module::init() with Constructors
2021-11-17 22:14:33 +01:00
Philipp Holzer
5879535822
Switch static::$parameters
to $this->parameters
2021-11-14 23:49:07 +01:00
Philipp Holzer
489cd0884a
Make BaseModule methods dynamic
2021-11-14 23:49:06 +01:00
Philipp Holzer
714f0febc4
Replace $parameters
argument per method with static::$parameters
2021-11-14 23:49:05 +01:00
Michael
359dad4244
Some more "escapeTags" removed
2021-11-06 20:25:21 +00:00
Hypolite Petovan
41062eb7e4
Add new purge contacts option to admin server blocklist
...
- Move adding a server domain pattern to the blocklist in a separate module to allow reviewing the list of known servers that would be affected
2021-11-06 01:36:53 -04:00
Hypolite Petovan
068c567b3d
Move server block list HTML escaping to templating
2021-11-06 01:34:16 -04:00
Hypolite Petovan
edcfeaf66d
Merge pull request #10956 from annando/escapetags
...
Some removed escapeTags calls
2021-11-06 00:04:17 -04:00
Michael
23b10cf2ae
Some removed escapeTags calls
2021-11-05 19:59:18 +00:00
Philipp Holzer
62bacbb833
Remove 'maxloadavg_frontend' restriction in Friendica
2021-11-05 20:52:43 +01:00
Michael
63da4a75e9
The boot.php had been cleared of most functions
2021-11-04 20:29:59 +00:00
Michael
516018861e
Merge remote-tracking branch 'upstream/develop' into error-handling
2021-10-31 05:25:39 +00:00
Michael
4236a9a105
Improved http error handling
2021-10-29 23:21:07 +00:00
Philipp Holzer
d778af0b0e
Cleanup namespaces
2021-10-27 20:16:34 +02:00
Philipp Holzer
2ab0d06996
Restructure Storage to new paradigm
2021-10-27 20:00:19 +02:00
Philipp Holzer
b216317477
Refactoring Core class structures ...
2021-10-26 22:11:09 +02:00
Philipp Holzer
ab83d0dd27
Restructure (P)Config to follow new paradigm
2021-10-26 22:11:06 +02:00
Michael
7ebf211ad2
Fixed indention
2021-10-23 17:23:11 +00:00
Michael
8185c591d8
New option to activate/deactivate contact avatar cache
2021-10-23 17:18:30 +00:00
Hypolite Petovan
aea07a7c15
Add new purge contact content option to admin contact blocklist
2021-10-16 19:29:38 -04:00
martincodes
aa433f9d87
add condition to count accounts that arent removed
2021-10-13 18:54:22 +02:00
Philipp Holzer
065b46c721
Split Storage usage and Storage configuration
2021-10-05 20:07:12 +02: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
Philipp Holzer
27e4586597
Move path determination logic into the ConfigFactory
2021-09-12 13:44:29 +02:00
Philipp Holzer
5702944116
Add the possibility to use a different configuration directory
2021-09-11 14:33:26 +02:00
Michael
634db1ec85
Changed text
2021-09-10 00:30:11 +00:00
Michael
bdb5aa6bd9
Make the proxy functionality optional
2021-09-09 12:40:19 +00:00
Michael
52ca3e5417
Remove all traces of "rino"
2021-09-05 18:34:44 +00:00
Philipp Holzer
687e6841bc
Rename Storage Backend labels
2021-09-02 23:27:35 +02:00
Philipp Holzer
728e82d8b0
Improve translation for Storage module
2021-09-01 14:00:23 +02:00
Hypolite Petovan
1665b54c6f
Fix variable assignment alignment in Module\Admin\Site
2021-08-31 16:01:20 -04:00
Michael
13ae96e9e1
Some more "enable"
2021-08-31 19:54:05 +00:00
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 Holzer
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 Holzer
99239e3d99
Fix usage
2021-08-16 23:27:43 +02:00
Philipp Holzer
c17bc55158
Introduce InvalidClassStorageException and adapt the code for it
2021-08-16 23:27:42 +02:00
Philipp Holzer
d0536ebea7
Rename ISelectableStorage to IWritableStorage
2021-08-16 23:27:42 +02:00
Philipp Holzer
29c7552df5
Refactor IStorage
2021-08-16 23:27:42 +02:00
Philipp Holzer
839b5b5859
Fix legacy storage config
2021-07-31 20:56:32 +02:00
Philipp Holzer
4be4498b13
Update UX for Storage administration
2021-07-24 19:01:01 +02:00
Philipp Holzer
1e4f9f62fe
Rename buttons
2021-07-24 19:01:00 +02:00
Philipp Holzer
e19b9824cd
Allow setting & saving storages per type
2021-07-24 19:00:58 +02:00
Philipp Holzer
2fe28af74f
PHP-CS fixing
2021-07-24 19:00:58 +02:00
Philipp Holzer
cbe522ee82
Fixings
2021-07-24 19:00:58 +02:00
Philipp Holzer
3647f6f031
Refactor storage admin setting
2021-07-24 19:00:58 +02:00
Philipp Holzer
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