Felix Ableitner
8414b58662
helper function, also delete old community/site icons
2024-03-26 15:14:14 +01:00
Felix Ableitner
160d558dd9
no regex
2024-03-26 15:01:04 +01:00
Felix Ableitner
25e83c466e
When uploading new avatar, delete old one
2024-03-18 11:43:52 +01:00
Dessalines
71d8fef10e
Fix tests.
2024-03-15 15:25:32 -04:00
Dessalines
8c73b8d24e
Adding another test.
2024-03-15 09:06:15 -04:00
Dessalines
34938eb4c1
Merge remote-tracking branch 'origin/main' into list_images
2024-03-15 08:51:45 -04:00
Nutomic
9d4299aaac
Dont require leading ! or @ for webfinger resolve ( #4513 )
...
* Dont require leading ! or @ for webfinger resolve
* fmt
* clippy
2024-03-15 08:42:09 -04:00
Nutomic
43378c5bb3
Fix video thumbnail generation ( fixes #3484 ) ( #4539 )
...
* Fix video thumbnail generation (fixes #3484 )
* fix test
2024-03-15 08:41:16 -04:00
flamingos-cant
19a1a077c5
Add a blocklist for URLs. ( #4515 )
...
* Add a blocklist for URLs.
* Fix SQL format
* Make clippy happy.
* Use regex for URL matching.
* Escape regex chars in URLs.
* Use post for modification.
* Make URL block regex static and remove API routes.
* Add date fields to table and use transaction.
* Use Cache for blocklist.
* Rename check_links + move list to parameters of process_markdown.
* SQL format.
* Format, again.
* Remove println.
* Add API test.
* Set a shorter lifetime for regex in debug mode.
* Add missing macro.
* Update lemmy-js-client
* Update api_test/pnpm-lock.yaml
* Don't break other tests
* Use different URL for test
---------
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: Nutomic <me@nutomic.com>
2024-03-15 07:03:29 -04:00
Nutomic
0e7080337b
Dont allow admins to post in community with `posting_restricted_to_mods` ( fixes #3571 ) ( #4534 )
...
* Dont allow admins to post in community with `posting_restricted_to_mods` (fixes #3571 )
* fmt
2024-03-14 17:31:54 -04:00
Nutomic
835d329134
Fix longstanding bug that breaks initial community view ( fixes #3529 ) ( #4535 )
2024-03-14 16:57:56 -04:00
Dessalines
79593fa874
Better call sites.
2024-03-14 15:39:12 -04:00
Dessalines
e19ca1ec6e
Use better logic for no-limit version.
2024-03-14 15:19:47 -04:00
Dessalines
f4bf197518
Add additional test.
2024-03-14 12:34:11 -04:00
Dessalines
91a76dc56c
Merge branch 'main' into list_images
2024-03-14 12:19:47 -04:00
Nutomic
f1de7b7590
Automatically include apub hashtag with posts ( fixes #3906 ) ( #4533 )
2024-03-14 12:16:45 -04:00
Dessalines
42eaa20a87
Forgot to add file.
2024-03-13 17:05:09 -04:00
Dessalines
9e0b91d39a
Adding an endpoint to list all images, for admins only.
2024-03-13 17:02:23 -04:00
Dessalines
3eae5b9d9b
Addressing PR comments.
2024-03-13 15:13:58 -04:00
Dessalines
255e695633
Adding extra fields to PostReport and CommentReport views. ( #4520 )
...
- Fixes #4200
2024-03-13 12:11:24 -04:00
Dessalines
15f02f00a9
Add a vote_display_mode local_user setting. ( #4450 )
...
* Add a vote_display_mode local_user setting.
- Fixes #4449
* Changing HideDownvotes to Score.
* Adding ScoreAndDownvote display mode.
* Adding upvote and downvote mode.
* Extracting vote_display_mode to another table.
* Fixing fmt.
* Remove published and updated columns.
---------
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2024-03-13 12:10:58 -04:00
Dessalines
45c56df4e8
Adding git cliff to help generate changelogs. ( #4522 )
2024-03-12 11:24:27 +01:00
Nutomic
5d361d63ef
Change 2FA to use hostname as issuer ( fixes #4518 ) ( #4525 )
2024-03-11 16:27:05 -04:00
Dessalines
10bf7464b1
Add code of conduct rules to issue template. ( #4523 )
2024-03-08 11:53:57 -05:00
Nutomic
5859502a2a
Fix missing private key for signed fetch ( #4516 )
...
* Fix missing private key for signed fetch (fixes #4451 )
* clippy
* instance actor name and webfinger
* better webfinger handling
* upgrade lib
* update test asset
2024-03-08 10:23:15 -05:00
Nutomic
00f7778485
Store thumbnails in db table local_image ( #4512 )
...
* Store thumbnails in db table local_image
* fmt
2024-03-08 10:17:26 -05:00
Nutomic
bc2e75d5a3
Add @dullbananas to codeowners ( #4521 )
2024-03-08 10:16:05 -05:00
battmdpkq
f228f9d7a9
fix some typos ( #4519 )
...
Signed-off-by: battmdpkq <cmaker@163.com>
2024-03-08 10:38:20 +01:00
Nutomic
fed6b61eaf
Upgrade apub lib, correct webfinger content-type ( #4498 )
...
* Upgrade apub lib, correct webfinger content-type
* fmt
* fix test by avoiding network fetch
2024-03-06 11:21:46 -05:00
Raphael Lullis
bdabc5e827
Add curl to base images ( #4510 )
...
Having a tool like curl or wget can help us to run healthchecks on
docker-based deployments more easily. This commit adds curl to the
list of deb packages that are installed as external dependencies
2024-03-06 11:15:13 +01:00
Dessalines
50731bff53
Forgot to order by published desc
2024-03-05 16:42:45 -05:00
Dessalines
33be4f1106
Fix ts import.
2024-03-05 13:22:33 -05:00
Dessalines
1e3662ac39
Merge remote-tracking branch 'origin/main' into list_images
2024-03-05 13:21:01 -05:00
Nutomic
97e2dbdfd7
Update contact section in readme ( #4508 )
...
* Update contact section in readme
* Update README.md
* Update README.md
2024-03-05 13:07:52 -05:00
Nutomic
22c2e20fc5
Remove contributing.md ( #4507 )
2024-03-05 13:07:20 -05:00
Dessalines
3c51eaeb88
Adding listMedia endpoint, to view all your local image uploads.
...
- Fixes #4445
2024-03-05 13:00:10 -05:00
Dessalines
6778279bb6
When purging a federated user, federate local community removals. ( #4505 )
2024-03-05 09:31:04 -05:00
Nutomic
1ad9a211c9
Improve contributing instructions ( #4504 )
2024-03-05 09:14:15 -05:00
Nutomic
157378b4c9
Clear text of deleted/removed comments ( #4503 )
2024-03-05 08:52:35 -05:00
Dessalines
7f9950fe85
Add alt_text for posts. Fixes #1086 ( #4477 )
...
* Add alt_text for posts. Fixes #1086
* Moving alt_text to attachment name.
* Cleaning up mod action line.
* Addressing PR comments
* Addressing PR comments.
* Fixing clones.
2024-03-05 11:34:57 +01:00
Dessalines
52155c74cb
View report history for a post or comment. Fixes #4190 ( #4492 )
2024-03-05 11:31:40 +01:00
SleeplessOne1917
36ad1868b3
Make SiteAggregates derive Copy and Hash ( #4501 )
...
Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
2024-03-05 11:14:12 +01:00
Dessalines
65da4e7dbd
View mod history for a post or comment. Fixes #4162 ( #4491 )
2024-03-04 11:42:25 -05:00
Nutomic
3c358e5b0b
Mods and admins can comment in locked posts ( fixes #4116 ) ( #4488 )
...
* Mods and admins can comment in locked posts (fixes #4116 )
* fmt
* fix
* fix test
2024-03-04 09:15:21 -05:00
Dessalines
eb1245bceb
When using `saved_only`, sort posts / comments by the saved publish time, not the item creation time ( #4479 )
...
* Work on saved selection.
* Using single value for join.
* Removing unecessary check.
* Remove saved_only pointless block.
2024-03-04 14:19:51 +01:00
Dessalines
7eec8714d7
When site banning a federated user, also remove their content from our local communities. ( #4464 )
...
* When banning a federated user, also remove their content from our local
communities.
- This works by:
- Before a site ban, find all posts and comments to local communities
- Send a federated community ban action for each local comm.
- This also removes their content in the apub receive code.
- Adding back in federated community ban api tests.
- Adding in two more api tests for site bans.
- Fixes #4118
* Add local community ban, and nonlocal person check.
* Ignoring errors.
* Move local check into function.
* Addressing PR comments 2
2024-03-01 13:45:06 -05:00
Nutomic
08b01a377d
Support listing type for person ( fixes #4146 ) ( #4487 )
...
* Support listing type for person (fixes #4146 )
* add test
2024-03-01 11:53:20 -05:00
Nutomic
c5e54a318a
Store password reset token after email successfully sent ( fixes #3757 ) ( #4489 )
2024-03-01 11:32:59 -05:00
Nutomic
a7fa075e8c
Make logs less verbose ( fixes #3627 ) ( #4490 )
2024-03-01 11:32:13 -05:00
Nutomic
c895e57086
Remove unneeded error "last successful id is higher than latest id" ( fixes #4363 ) ( #4486 )
2024-03-01 11:31:37 -05:00