Commit graph

2233 commits

Author SHA1 Message Date
Dessalines
992b3ca95b Some UI fixes. 2020-08-07 23:17:37 -04:00
Dessalines
9c3776d034 Removing community and user favicon setting. 2020-08-07 13:22:03 -04:00
Dessalines
ded7650a60
Merge pull request #1064 from LemmyNet/apub_security_checks
Apub security checks
2020-08-07 11:33:58 -04:00
Dessalines
4896e7d096 Adding tests for admin remove for posts and comments on different
instances.
2020-08-07 10:51:53 -04:00
Dessalines
cabbbf0afd Merge branch 'federation-authorisation' into apub_security_checks 2020-08-07 10:30:57 -04:00
Felix Ableitner
0cc49e6ca9 Merge branch 'main' into federation-authorisation 2020-08-07 15:19:08 +02:00
Felix Ableitner
9b7be1afb6 Some apub fixes 2020-08-07 15:18:06 +02:00
Dessalines
ce8622b9cd Version v0.7.43 2020-08-06 21:22:15 -04:00
Dessalines
2aa6879a44 Merge branch 'front_end_prettying' into main 2020-08-06 21:19:39 -04:00
Dessalines
ad77c3d2d5 Fixed mobile expanding. 2020-08-06 21:19:09 -04:00
Dessalines
3e5d5abd53 Version v0.7.42 2020-08-06 17:37:08 -04:00
Dessalines
c5443b6e82 A better mobile view, upgrading darkly theme. 2020-08-06 17:34:45 -04:00
Felix Ableitner
313f315896 Various adjustments after review 2020-08-06 21:44:47 +02:00
Dessalines
7bb546c7c2 Start adding apub security checks. 2020-08-06 14:30:01 -04:00
Felix Ableitner
cc2c7db9fe Add security checks and slur checks for activitypub inbox 2020-08-06 15:01:42 +02:00
Dessalines
6fa9dc599c Remove double display name. 2020-08-05 17:24:53 -04:00
Dessalines
e645386842 Version v0.7.41 2020-08-05 13:55:14 -04:00
Dessalines
048271f59b Remove allowed thumbnail sizes for now. 2020-08-05 13:53:59 -04:00
Dessalines
88bd368660 Version v0.7.40 2020-08-05 12:41:40 -04:00
Dessalines
0e3f03836a Merge remote-tracking branch 'weblate/main' into main 2020-08-05 12:41:39 -04:00
Dessalines
335ebadbf8 Adding release notes. 2020-08-05 12:39:47 -04:00
Dessalines
464ea862b1
Preferred usernames, banners and icons. (#1055)
* Re-organizing federation tests. #746 #1040

* Adding federation support for user bios. Fixes #992

* Adding icons, banners, and preferred usernames.

- Added optional community icons, and community banners.
- Added user banners.
- Added Site icon and banner, with custom favicon.
- Set up preferred usernames. Fixes #1017
- Added an additional post sort: Active
  - Hot rank now uses the published time.
  - Active uses the most recent comment time, and is default.
- DB Migration was required to add all these fields to the views.
- Added transfercommunity helper function.
- Removed title column from communities page.
- Abstracted an image-upload-form.tsx, and a banner-icon-header.tsx
- Fixes #899

* Some navbar fixes.

* Fixing css

* Some fixes.

- Showing correct user icon and banner after save without page reload.
- Abstracting diesel update overwrite.
- Adding some docs.

* Adding @ when a user doesn't have a preferred username.
2020-08-05 12:03:46 -04:00
nutomic
c34fffc2c4 Proxy pictrs requests through Lemmy (fixes #371) (#77)
fix check_only value for image rate limit

Fix image rate limit

Add rate limit for image uploads

Proxy pictrs requests through Lemmy (fixes #371)

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/77
2020-08-05 16:00:00 +00:00
Felix Ableitner
81d4922740 Instance shouldnt send Announce activities to itself 2020-08-05 17:41:35 +02:00
riccardo
4fcbc3749c Translated using Weblate (Italian)
Currently translated at 100.0% (266 of 266 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/it/

Translated using Weblate (Italian)

Currently translated at 100.0% (266 of 266 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/it/

Translated using Weblate (Italian)

Currently translated at 100.0% (266 of 266 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/it/
2020-08-05 14:12:53 +00:00
Felix Ableitner
233aa34d54 Verify ID of received apub objects against domain allowlist etc 2020-08-05 14:18:08 +02:00
Dessalines
37b438a77f Adding pointer unselectable to display names. 2020-08-04 17:35:57 -04:00
alisapa
1de22f0f10
Clarify community creation form (#1056)
* Clarify community creation form

* Did requested changes

* Removed div, corrected translation file

* Delete en.ts
2020-08-04 17:35:48 -04:00
Dessalines
e9e1497830
Add bio federation. (#1052)
* Re-organizing federation tests. #746 #1040

* Adding federation support for user bios. Fixes #992
2020-08-04 11:06:27 -04:00
Dessalines
6f05d28c56 Merge branch 'main' of https://github.com/lemmynet/lemmy into main 2020-08-04 10:57:41 -04:00
Dessalines
e336e5bcc0
Re-organizing federation tests. #746 #1040 (#1047)
* Re-organizing federation tests. #746 #1040

* Add more checks in inbox, plus some refactoring (#76)

Merge branch 'main' into more-inbox-permissions

Move check_community_ban() into helper function

Move slur check into helper functions

Move Claims::decode and site ban check into helper function

Note: this changes behaviour in that site ban is checked in more
places now. we could easily add a boolean parameter
check_for_site_ban to get the previous behaviour back

Rewrite user_inbox and community_inbox in the same way as shared_inbox

Add check against instance allowlist etc in shared_inbox

Co-authored-by: dessalines <dessalines@noreply.yerbamate.dev>
Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/76

* Adding verbose to test results.

Co-authored-by: nutomic <nutomic@noreply.yerbamate.dev>
Co-authored-by: dessalines <dessalines@noreply.yerbamate.dev>
Co-authored-by: Felix Ableitner <me@nutomic.com>
2020-08-04 10:57:37 -04:00
Dessalines
bdb95db5be Merge remote-tracking branch 'yerba/main' into main 2020-08-04 10:39:48 -04:00
nutomic
76cd6ac6bc Add more checks in inbox, plus some refactoring (#76)
Merge branch 'main' into more-inbox-permissions

Move check_community_ban() into helper function

Move slur check into helper functions

Move Claims::decode and site ban check into helper function

Note: this changes behaviour in that site ban is checked in more
places now. we could easily add a boolean parameter
check_for_site_ban to get the previous behaviour back

Rewrite user_inbox and community_inbox in the same way as shared_inbox

Add check against instance allowlist etc in shared_inbox

Co-authored-by: dessalines <dessalines@noreply.yerbamate.dev>
Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/76
2020-08-04 14:39:55 +00:00
Dessalines
97d2584a3b
Update deps (#1049) 2020-08-03 10:38:36 +00:00
Dessalines
ce874e183b Version v0.7.39 2020-08-02 10:52:42 -04:00
Dessalines
089aefc7af Hide navigation warnings on markdown textarea for site-form and user bios. Fixes #1051 2020-08-02 10:41:17 -04:00
Dessalines
fbd9adb135 Fix user settings sort not working. Fixes #1050 2020-08-02 10:33:14 -04:00
Dessalines
5b23595710 Version v0.7.38 2020-08-01 23:53:32 -04:00
Dessalines
c76e72b747 Fixing an issue with comments clearing out forms. Fixes #1045 2020-08-01 23:52:38 -04:00
Dessalines
dee5c302a8 Version v0.7.37 2020-08-01 20:04:14 -04:00
Dessalines
942e75fa28 Merge branch 'main' of https://github.com/lemmynet/lemmy into main 2020-08-01 20:03:46 -04:00
Dessalines
ad44b7da9c Fix user bio bug. 2020-08-01 20:03:29 -04:00
alltheseteeth
4acd3c5bd2
added trailing slash fix to every nginx conf I could find (#1046) 2020-08-01 19:33:39 -04:00
Dessalines
1a0f70450c Version v0.7.36 2020-08-01 19:17:53 -04:00
Dessalines
701abfa548 Merge remote-tracking branch 'weblate/main' into main 2020-08-01 19:17:52 -04:00
Dessalines
7938e8f5c8 Some front end fixes. 2020-08-01 19:14:54 -04:00
Dessalines
0fccb22cd7 Merge branch 'main' into front_end_prettying 2020-08-01 18:05:30 -04:00
Felix Ableitner
e4d5614f3f Merge remote-tracking branch 'github/main' into main 2020-08-01 17:42:33 +02:00
dessalines
f190b272b9 Merge pull request 'Update activitystreams to 0.7.0-alpha.3 (from crates.io)' (#75) from update-activitystreams into main
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/75
2020-08-01 15:30:04 +00:00
andor0
b6411aba7a
Migrate from failure to anyhow and thiserror (#1042)
* Migrate from failure to anyhow and thiserror

* Replace 'format_err!' to 'anyhow!'
2020-08-01 14:04:42 +00:00