Commit graph

369 commits

Author SHA1 Message Date
Michael
ec92f7a81c Fix memory issue on displaying conversations 2022-11-16 04:57:46 +00:00
Hypolite Petovan
18f54f4425 New area "moderation"
- Moved several admin pages to the moderation area
- ACL still is checking for administrator credentials
2022-11-08 02:28:42 -05:00
Michael Vogel
a20c6e3216
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-11-03 21:13:03 +01:00
Michael
0f9e2b6da4 Issue 12097: Notify for each new user registration 2022-11-03 19:59:33 +00:00
Roland Häder
5306bb3e31
Changes:
- added more missing type-hints (checked them in body of the method)
- reformatted code a little (code-style)
- moved '/.well-known/host-meta' to constant Probe::HOST_META
2022-10-25 20:25:13 +02:00
Roland Häder
e8fe0c52e7
Hotfix: One $ to much ... 2022-10-23 13:15:34 +02:00
Philipp
a9963dc54b
Remove Core\Session 2022-10-21 19:36:42 +02:00
Philipp
eecc456e0c
UserSession class [5] - Refactor src/Module/ files with DI 2022-10-20 22:59:39 +02:00
Michael
d3e167c77c All references to boot.php are now removed 2022-10-19 20:38:25 +00:00
Michael
d47d78f2d4 old boot.php functions replaced in src/module (4) 2022-10-19 09:23:12 -04:00
Michael
ae6d67ed1f old boot.php functions replaced in src/module (3) 2022-10-19 09:14:24 -04:00
Michael
c9f17e1ef5 old boot.php functions replaced in src/module (2) 2022-10-19 09:06:09 -04:00
Michael
fdfa1f8630 The notice and info have been moved 2022-10-17 18:55:22 +00:00
Michael
62a0d55fc8 The friendica constants have been moved to the app class 2022-10-17 10:37:48 +00:00
Michael
9bac8153ae Some more constants are moved to their specific classes 2022-10-17 09:24:32 +00:00
Michael
018858934b The priority is now a class constant 2022-10-17 05:49:55 +00:00
Michael
4c8a58c445 Akkoma is added to the federation statistics 2022-10-06 04:57:43 +00:00
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
e299fc67c8
Introduce "accept_header" as specific argument to the http client 2022-04-02 21:16:53 +02:00
Philipp
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
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
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
e8ee312d80
Fix Tos Module 2021-11-27 14:11:48 +01: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
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
5879535822
Switch static::$parameters to $this->parameters 2021-11-14 23:49:07 +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
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
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
d778af0b0e
Cleanup namespaces 2021-10-27 20:16:34 +02:00
Philipp
2ab0d06996
Restructure Storage to new paradigm 2021-10-27 20:00:19 +02:00
Philipp
b216317477
Refactoring Core class structures ... 2021-10-26 22:11:09 +02:00
Philipp
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
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
27e4586597
Move path determination logic into the ConfigFactory 2021-09-12 13:44:29 +02:00
Philipp
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
687e6841bc
Rename Storage Backend labels 2021-09-02 23:27:35 +02:00
Philipp
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