Commit graph

36849 commits

Author SHA1 Message Date
Hypolite Petovan
0681f94334
Merge pull request #12700 from Quix0r/features/blocklist-gserver
Blocked domains flood gserver entries
2023-01-20 22:39:12 -05:00
Roland Häder
27969e8ca6
Continued:
- moved if() block to suggested position by MrPetovan, for me I want to have all
  conditions checked at the start of the method, e.g. no unwanted null
  references or (in this case) if the URL is blacklisted
- normalized URLs are without SSL, means http://host/path/file.ext so they exist
  only once for contacts and servers (aka. instances)
- documented returned type `void`
2023-01-21 01:07:14 +01:00
Roland Häder
ba08692403
Continued:
- just for consistency ...
2023-01-20 02:43:59 +01:00
Roland Häder
a0704db43a
Continued:
- some trolls managed to flood gserver with useless URLs. They can be blocked
  by domain blocking them, but still it floods gserver table with dead entries
- this hack tries to change that so they won't enter gserver at all. Let's hope
  these trolls as `activitypub-trolls.cf` learn a lesson (and get adults soon)

Signed-off-by: Roland Häder <roland@mxchange.org>
2023-01-20 01:50:55 +01:00
Hypolite Petovan
208d6db776
Merge pull request #12699 from damianwajer/frio-ux-improvements
[frio] Various UX improvements (mostly larger clickable areas)
2023-01-19 17:05:22 -05:00
Damian Wajer
15a60d3b20 [frio] Regular size profile extra links 2023-01-19 19:49:22 +01:00
Damian Wajer
4b1328afa6 Regular-size primary buttons on compose page 2023-01-19 19:49:22 +01:00
Damian Wajer
6ec49afa10 [frio] Ensure access to all user menu items on low screens 2023-01-19 19:49:14 +01:00
Damian Wajer
b86663dd1f [frio] Adjust font-size 2023-01-19 19:49:10 +01:00
Damian Wajer
b735c40b27 [frio] Contact actions size 2023-01-19 19:49:06 +01:00
Damian Wajer
0344a84543 [frio] Larger clickable area for batch actions 2023-01-19 19:49:01 +01:00
Damian Wajer
4d0684d3d5 [frio] Improve responses markup and alignment
Reduce additional spacing between button groups and use the correct markup according to the docs:
https://getbootstrap.com/docs/3.4/components/#btn-groups
2023-01-19 19:48:55 +01:00
Damian Wajer
33d0505ce3 [frio] New design for mobile responses 2023-01-19 19:48:46 +01:00
Damian Wajer
fc25a3ce5f [frio] Improve spacing for responses items 2023-01-19 19:48:41 +01:00
Damian Wajer
5b01c7c977 [frio] Regular size thread action buttons on mobile 2023-01-19 19:48:33 +01:00
Damian Wajer
ec2bfbdf10 [frio] Regular size comment button 2023-01-19 19:48:27 +01:00
Damian Wajer
53ba26b991 [frio] Larger clickable area for off-canvas user menu 2023-01-19 19:48:19 +01:00
Damian Wajer
f6e63a641d [frio] Larger clickable area for dropdown menus 2023-01-19 19:48:16 +01:00
Damian Wajer
aa3e3307d7 [frio] Use regular font-size for comments 2023-01-19 19:48:11 +01:00
Damian Wajer
3d929e1f52 [frio] Make the whole accordion area clickable 2023-01-19 19:48:02 +01:00
Damian Wajer
9dcc0f6f20 [frio] Larger clickable area for aside links 2023-01-19 19:47:57 +01:00
Damian Wajer
1e21945658 [frio] Larger clickable area for tabs 2023-01-19 19:47:49 +01:00
Philipp
15938c5b87
Merge pull request #12695 from MrPetovan/bug/fatal-errors
Address a few fatal errors
2023-01-19 08:09:03 +01:00
Philipp
9c0f4dd9e5
Merge pull request #12694 from MrPetovan/task/allow-colon
Allow colon in password
2023-01-19 08:08:35 +01:00
Hypolite Petovan
c05956137a Default maintenance reason to empty string in Module\Maintenance
- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1383250546
2023-01-18 21:01:07 -05:00
Hypolite Petovan
3b99b98678 Truncate integer values before inserting them
- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1383250353
2023-01-18 20:58:49 -05:00
Hypolite Petovan
594f738c6d Create base sub/direction.tpl template from vier
- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1383249754
2023-01-18 20:49:08 -05:00
Hypolite Petovan
da4441875d Updated main translation file after editing strings 2023-01-18 20:42:10 -05:00
Hypolite Petovan
d2033d4c92 Allow colon in password
- It was disallowed because of a too strict intepretation of RFC2617
2023-01-18 20:34:20 -05:00
Hypolite Petovan
81cd334664 Fix wrong logic in password allowed regular expression 2023-01-18 20:27:29 -05:00
Hypolite Petovan
16e1c8f893
Merge pull request #12690 from annando/statistics
Nodeinfo data has moved to key values
2023-01-18 08:37:20 -05:00
Michael
73e163100c Nodeinfo data has moved to key values 2023-01-18 05:04:37 +00:00
Hypolite Petovan
c7e944e793
Merge pull request #12680 from nupplaphil/feat/addon_logger
Introduce new Hook logic
2023-01-17 16:37:03 -05:00
Hypolite Petovan
4b73335def
Merge pull request #12688 from annando/blocked-server
News "blocked" field on the gserver table
2023-01-17 16:02:21 -05:00
Michael
259fe7fcf2 Merge remote-tracking branch 'upstream/develop' into blocked-server 2023-01-17 19:25:09 +00:00
Philipp
5358e195d7
Fix Introspection 2023-01-17 20:11:48 +01:00
Philipp
8eed43a7dd
Add whitespace .. 2023-01-17 19:23:20 +01:00
Philipp
3b262f44a3
Adhere feedback 2023-01-17 19:15:37 +01:00
Philipp
eed6db2465
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-01-17 19:12:33 +01:00
Michael
356a2a9a5a News "blocked" field on the gserver table 2023-01-17 17:25:19 +00:00
Hypolite Petovan
02a1b4eb17
Merge pull request #12687 from DanielSiepmann/12686-fix-feed-creation-date-with-whitespace
Properly handle feed item creation date with surrounding whitespace
2023-01-17 10:19:02 -05:00
Daniel Siepmann
da58b894a4
Properly handle feed item creation date with surrounding whitespace
Some feeds might have whitespace around the creation date.
This can't be parsed by DateTimeFormat methods.
Therefore the incoming creation date is trimmed to not contain any
surrounding whitespace for proper handling.

Relates: #12686
2023-01-17 07:18:47 +01:00
Philipp
293c121c48
Adhere PHP-CS.. 2023-01-16 22:25:26 +01:00
Philipp
f609e38600
Introduce new Hook logic
- InstanceManager for computing strategies and to allow decorators
- Adapting Core\Logger to use it
2023-01-16 22:20:33 +01:00
Philipp
d17a21601c
Add Dice.php patch 2023-01-16 21:55:23 +01:00
Hypolite Petovan
3749892f59
Merge pull request #12679 from nupplaphil/feat/reduce_config_dependency
Replace Config-Cache dependency with Config-Model
2023-01-15 11:13:41 -05:00
Philipp
ab6efea9b2
Replace Config-Cache dependency with Config-Model (no more DB-waiting necessary) 2023-01-15 16:17:08 +01:00
Philipp
a6fb683bcd
Remove BasePath dependency from App\Mode 2023-01-15 16:17:07 +01:00
Philipp
dd6d96d048
Merge pull request #12678 from MrPetovan/bug/12677-addon_admin
Remove App dependency from addon admin form method
2023-01-15 15:55:08 +01:00
Hypolite Petovan
6e4663e747 Remove App dependency from addon admin form method 2023-01-15 09:42:18 -05:00