Commit Graph

20870 Commits

Author SHA1 Message Date
Eliseu Amaro
9d3ddfe916
[CSS] .section-panel height fix, better section hierarchy
.section-panel is now only allowed to have the height it's allowed on view, .section-details hierarchy is now better represented through a bigger padding for titles, and a button-like consistent padding for subtitles; buttons' padding now dependent on font-size.
2022-11-25 15:42:41 +01:00
Eliseu Amaro
87559e9a8c
[CSS] Improved reset.css, better and more granular sizes added
Search form dimensions fixed, page header alignment issues fixed, and consistent font sizes used throughout
2022-11-25 14:51:39 +01:00
Hugo Sales
9cf83db62a
[CORE][GNUSocial] Prevent multiple initializations 2022-11-20 21:54:36 +00:00
Hugo Sales
360a95c7aa
[TESTS] Use custom test bootstrap to only to only setup the database once and wrap everything in a transaction that gets rolled back at the end of each test 2022-10-29 19:56:03 +01:00
Hugo Sales
b41de11364
[TESTS] Remove environment setup from script 2022-10-29 19:54:37 +01:00
Hugo Sales
88e513c610
[TESTS] Make all services accessible in test environment 2022-10-29 19:53:26 +01:00
Hugo Sales
5829e77edd
[TESTS][TOOLS] Clarify make target names 2022-10-29 19:52:35 +01:00
Hugo Sales
334de7c739
[TESTS] Speedup container startup 2022-10-29 16:57:40 +01:00
Hugo Sales
fe21796e79
[TESTS] Tweak tests 2022-10-29 16:45:49 +01:00
Hugo Sales
789b1499c5
[TESTS] Fix deprecation warnings caused by removing xdebug 2022-10-29 16:40:28 +01:00
Hugo Sales
daec26f2d8
[TESTS] Speed up test runs 2022-10-28 19:22:30 +01:00
Hugo Sales
46fcab2e94
[TESTS] Fix deprecations and unstable tests 2022-10-28 18:49:03 +01:00
Hugo Sales
e44bef6de7
[TESTS] Use paratest and PHPUnit cache
This speeds up tests from 90s to 44s on my machine
2022-10-28 00:22:42 +01:00
Hugo Sales
857e5a9c6f
[TESTS] Update PHPUnit config to use coverage cache 2022-10-28 00:04:25 +01:00
Hugo Sales
1749cd81e4
[DEPENDENCIES] Update all dependencies 2022-10-28 00:03:42 +01:00
Hugo Sales
5521792169
[TESTS] Add paratest 2022-10-27 23:39:30 +01:00
Hugo Sales
9679e766d2
[DOCKER] Small fixes in docker startup scripts 2022-10-26 13:59:10 +01:00
Hugo Sales
adb7fbe1b0
[TOOLS] Finish build files for Debian package 2022-10-26 00:37:34 +01:00
Hugo Sales
af1779fdd8
[DEPENDENCIES] Update dependencies and use my version of XML_XRD while it get's merged upstream (fixes deprecation warnings) 2022-10-26 00:35:37 +01:00
Hugo Sales
584a0d8fed
[DOCKER][Redis][PLUGIN][OAuth2] Temporarily disable redis protected mode and fix permission of OAuth2 keys 2022-10-25 22:25:44 +01:00
Hugo Sales
a44e64ed7a
[DEPENDENCIES] Explicitly add pear/xml_xrd as a dependency 2022-10-25 22:20:37 +01:00
Hugo Sales
fb127e2d05
[PLUGIN][OAuth2] Fix OAuth2 install script 2022-10-25 22:15:42 +01:00
Hugo Sales
9703b059da
[TOOLS] Add PKGBUILD for Arch Linux 2022-10-25 19:55:51 +01:00
Hugo Sales
293c6fe078
[DEPENDENCIES] Update dependencies 2022-10-25 19:01:44 +01:00
tsmethurst
56cdc192ca [PLUGIN][ActivityPub][TEST] Add http signature tests 2022-10-25 16:36:41 +02:00
tsmethurst
a123e152d5 [PLUGIN][ActivityPub][TEST] Parse + validate GoToSocial fixtures 2022-10-23 15:19:11 +02:00
tsmethurst
f61cb2d4f6 [PLUGIN][ActivityPub] Check more thoroughly for note 'title' 2022-10-23 15:18:34 +02:00
tsmethurst
2da614e344 [PLUGIN][ActivityPub] Improve has/get checks
Fixes an issue where GtS posts were not being processed because of stripped @context
2022-10-22 17:47:14 +02:00
tsmethurst
c3477ea56b [PLUGIN][ActivityPub] Log unused core activity to help debug 2022-10-22 17:46:19 +02:00
tsmethurst
49a80a3c40 [PLUGIN][ActivityPub][TESTS] Add GoToSocial test fixtures 2022-10-21 13:01:32 +02:00
tsmethurst
97114e38e0
[PLUGIN][ActivityPub][TESTS] Replace invalid URL in fixtures 2022-10-21 11:47:27 +01:00
tsmethurst
2df30e2987
[PLUGIN][ActivityPub] Sign outgoing GET requests on behalf of relevant actor 2022-10-21 11:31:35 +01:00
tsmethurst
3b3ded5212
[PLUGIN][ActivityPub] Fix incorrect use of ActivityPubActor::create, should be ::createOrUpdate 2022-10-21 11:31:35 +01:00
tsmethurst
dc240fae49
[DOCKER] Fix incorrect script mount in worker 2022-10-21 11:31:35 +01:00
Hugo Sales
5cbb1627f2
[COMPONENT][Language] Fix collection query build event incorrectly not setting 'actor_language' join
Thanks to tsmethurst <tobi.smethurst@protonmail.com> for finding the error
2022-10-21 11:31:35 +01:00
Hugo Sales
46ff8aacd2
[UTIL][TemporaryFile] Silence warnings in critical section inside TemporaryFile 2022-10-21 11:30:47 +01:00
Hugo Sales
c4d6df4637
[TESTS] Fixup failing tests
Not a permanent solution
2022-10-21 11:30:37 +01:00
Hugo Sales
053bc38792
[TESTS] Fix tests 2022-10-19 22:39:17 +01:00
Hugo Sales
2fd46ca886
[TOOLS] Continue raising PHPStan level to 6 2022-10-19 22:39:17 +01:00
Hugo Sales
c31f3d4997
[TOOLS] Continue raising PHPStan to level 6 2022-10-19 22:39:17 +01:00
Hugo Sales
e6bb418fe6
[TOOLS] Begin raising PHPStan level to 6 2022-10-19 22:38:49 +01:00
Hugo Sales
fed2242a56
[TOOLS] Raise PHPStan level to 5 and fix associated error, fixing some bugs in the process 2022-10-19 22:38:49 +01:00
Hugo Sales
edeee49af9
[TOOLS] Fix errors pointed out by PHPStan level 4 2022-10-19 22:38:49 +01:00
Hugo Sales
4d7742e0e1
[OAuth2] Fix error in plugin install 2022-10-19 22:38:49 +01:00
Hugo Sales
76f2cdd212
[DEPENDENCIES] Update dependencies 2022-10-19 22:38:44 +01:00
Hugo Sales
a2aa45fb1f
[DOCS] Expand developer Event documentation 2022-04-03 22:05:19 +01:00
Hugo Sales
d4b7e990ce
[CORE][Event] Make all events return \EventResult, enforced at container build time 2022-04-03 21:40:32 +01:00
Hugo Sales
aef1fac536
[SECURITY] Refactor security hardening code and disable unused stream wrappers
Ensure unwanted enviorment variables are removed from the actual
global environment rather than just the `$_ENV` superglobal variable

Disable stream wrappers, as this is an unexpected feature for most
developers and can be exploited. For instance, `phar://` can be used
to override any class and thus provide code execution (through
`__wakeup` or `__costruct`, for instance). Not a complete solution, as
`php://` can also be abused, but we can't disable it as it gets used
_somewhere_ in our dependencies
2022-04-03 18:02:54 +01:00
Hugo Sales
556ac85061
[PLUGIN][Pinboard] For tag list request, respond with the most common variant and the corresponding count for each canon tag 2022-04-01 02:10:12 +01:00
Hugo Sales
539104ec33
[PLUGIN][Pinboard] Refactor and cleanup code 2022-04-01 00:17:57 +01:00