Commit graph

37605 commits

Author SHA1 Message Date
Gidi Kroon 6a5266c6b8 Add Vary header in case of content negotiation
Sometimes we return different content depending on whether JSON, XML or
HTML was requested in the Accept request header. The Vary response
header should list that header in these cases, to allow caching
frameworks to determine what to cache.
2023-06-25 03:22:41 +02:00
Philipp ff1409e626
Merge pull request #13231 from AlfredSK/AlfredSK-fix-typo-alias
Fiy typo in author-alias
2023-06-24 15:45:17 +02:00
Steffen K9 30ce6f1ed3
Fiy typo in author-alias
Added a missing `a` .
2023-06-24 12:38:14 +02:00
Hypolite Petovan f9f85e3865
Merge pull request #13230 from annando/warnings
Fix warnings because of missing field
2023-06-23 17:54:22 -04:00
Michael 201d5ac364 Fix warning "Undefined array key "alias"" 2023-06-23 21:50:35 +00:00
Michael 0da2391c49 Fix warnings because of missing field 2023-06-23 21:27:34 +00:00
Hypolite Petovan b731f8a0ad
Merge pull request #13226 from annando/lemmy
Better support for "audience" / simplified Lemmy processing
2023-06-23 17:12:38 -04:00
Michael 968c935bf7 Changes variable names / fetch the alias / improved group handling 2023-06-23 21:05:45 +00:00
Hypolite Petovan 2bdb492834
Merge pull request #13229 from HankG/fix-mastodon-status-context-returning-deleted-statuses
Fix Mastodon API Status->Context endpoint so doesn't return deleted statuses
2023-06-22 23:40:43 -04:00
Hank Grabowski 031ef6a05a Fix Mastodon API Status->Context endpoint so doesn't return deleted statuses 2023-06-22 21:56:38 -04:00
Michael 8a50101eea Merge remote-tracking branch 'upstream/develop' into lemmy 2023-06-18 17:38:39 +00:00
Michael 8a6ff014d6 Updated database.sql / messages.po 2023-06-18 17:34:19 +00:00
Michael 75f8b3374e Improved basepath detection for Magic Auth 2023-06-18 17:18:40 +00:00
Michael 3951a77318 Set the owner for group posts 2023-06-18 16:52:49 +00:00
Michael 4f6c1ec556 Ensure to transmit the audience if the parent does so 2023-06-18 16:50:45 +00:00
Michael 4c3f2441f7 Display the contact alias if the URL is no HTTP link 2023-06-18 16:49:38 +00:00
Hypolite Petovan 721ffcfe06
Merge pull request #13223 from git-marijus/develop
fix issue #13174
2023-06-17 17:34:32 -04:00
git-marijus 0af73775be fix issue #13174 2023-06-17 22:31:25 +02:00
Michael 6d911a8f39 Better support for "audience" / simplified Lemmy processing 2023-06-15 22:04:28 +00:00
Hypolite Petovan 353be860b7
Merge pull request #13218 from anubis2814/develop
[frio] Added content warning button
2023-06-15 14:15:18 -04:00
anubis2814 db3604b479
Update Post.php
made code neater
2023-06-15 14:04:34 -04:00
anubis2814 ad225e4cff
Update Conversation.php
made code neater.
2023-06-15 14:02:54 -04:00
Anubis2814 1f06089e5e Added content warning button 2023-06-15 12:55:54 -04:00
Tobias Diekershoff 2468089d70
Merge pull request #13212 from jlamothe/cheshire
fixed spelling of Cheshire
2023-06-13 07:46:02 +02:00
Jonathan Lamothe 32755444ed fixed spelling of Cheshire 2023-06-12 23:45:46 -04:00
Hypolite Petovan d0b8d78cad
Merge pull request #13208 from Quix0r/fixes/type-hints-indenting
Added type-hints, reformatted arrays
2023-06-09 16:33:44 -04:00
Roland Häder 818a7fb451
Fixed some stuff from PR #13208 feedback:
- HTTPException is already imported
- same-value-assignment not needed
2023-06-09 22:21:59 +02:00
Hypolite Petovan 5386180c0b
Merge pull request #13207 from anubis2814/develop
Fix to "on this day"
2023-06-09 16:15:10 -04:00
anubis2814 2632875bab
Update src/Content/Widget.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-06-09 16:07:11 -04:00
Roland Häder 993d45d2f5
Continued:
- replace double-quotes with single
2023-06-09 21:50:00 +02:00
Roland Häder 80afe13a26
Changed:
- added missing type-hint
2023-06-09 21:46:44 +02:00
Roland Häder c5a4a07a55
Changed:
- added missing type-hints
- changed array initialization
2023-06-09 21:46:22 +02:00
Roland Häder 99a92db0aa
Changed:
- array initialization
2023-06-09 21:45:59 +02:00
Roland Häder d4b25cb3ff
Changes:
- rewrote:
````
$arr[];
$arr['foo'] = $foo;
$arr['bar'] = $bar;
````

To:
````
	$arr = [
		'foo' => $foo,
		'bar' => $bar,
	];
````
- "imported" class name instead of referencing it everywhere
- changed some double-quotes to single
2023-06-09 21:45:04 +02:00
Roland Häder e9a8882f84
Changes:
- reformatted array a bit
- double-quote to single
2023-06-09 21:44:14 +02:00
Roland Häder 241c221e4b
Changed:
- added missing type-hints
- added some missing `@return void`
2023-06-09 21:42:40 +02:00
Roland Häder 01632b11c7
Changed:
- added missing type-hints
2023-06-09 21:42:23 +02:00
anubis2814 14b83def60
Fix to on this day 2023-06-09 01:39:07 -04:00
anubis2814 24e7605c60
Fix to on this day
Thanks to my system messing up I thought it was working right.
2023-06-09 01:37:20 -04:00
Hypolite Petovan ed6a537dc5
Merge pull request #13204 from AlfredSK/AlfredSK-fix-nonexistent-css-file
Remove reference to nonexistent CSS file
2023-06-07 12:06:39 -04:00
Steffen K9 70540e59e1
Remove reference to nonexistent CSS file
This removes the only occasion I found for the nonexistent file `/view/js/button/frio.css`.

Fixes #13201
2023-06-07 17:52:15 +02:00
Hypolite Petovan 50988bf5f1
Merge pull request #13203 from annando/styled-url
Remove the "www." from the styled URL
2023-06-06 17:04:06 -04:00
Michael 09ce625d50 Remove the "www." from the styled URL 2023-06-06 20:41:54 +00:00
Hypolite Petovan ae45a177a5
Merge pull request #13198 from anubis2814/develop
On this date option in the archives
2023-06-06 08:54:26 -04:00
Hypolite Petovan 3e3f48e5ec [frio] On this date option in the archives 2023-06-06 08:42:34 -04:00
Hypolite Petovan 8ec3f17138
Merge pull request #13196 from anubis2814/develop
[frio] New Group button on group widget
2023-06-05 09:02:27 -04:00
Hypolite Petovan e8a2dd285b Updated main translation file after adding a string 2023-06-05 08:59:54 -04:00
anubis2814 e9b9058e16 Update view/templates/widget/group_list.tpl
Co-authored-by: Philipp <admin+Github@philipp.info>
2023-06-05 08:40:12 -04:00
anubis2814 60211fdd8d Update src/Content/GroupManager.php
Co-authored-by: Philipp <admin+Github@philipp.info>
2023-06-05 08:40:12 -04:00
anubis2814 f3ad2c4ad9 fix group sidebar ID missmatch 2023-06-05 08:40:11 -04:00