Commit graph

3838 commits

Author SHA1 Message Date
3053e14be7
Derive default for api request structs, move type enums ()
* Derive default for api request structs, move type enums

* Simplify api by using enum types directly, instead of string

* Add default and clone for most api structs
2022-05-06 20:55:07 +00:00
3aa3d75a1e
Add cargo feature for building lemmy_api_common with mininum deps () 2022-05-03 17:44:13 +00:00
dd5835fb6e
Add restricted community field to CreateCommunity, UpdateCommunity (ref ) () 2022-04-29 14:01:10 +00:00
7058cfa1cf
Implement restricted community (only mods can post) (fixes ) ()
* Implement restricted community (only mods can post) (fixes )

* review fixes

* fix tests
2022-04-28 20:32:32 +00:00
Rens Groothuijsen
9c1b9ff3cf
Update community statistics after post or comment is deleted by user ()
* Update community statistics after post or comment is deleted by user

* Update triggers for site and person aggregates

* Restore comment counts when post is restored

* Simplify insertion/deletion trigger checks before updating statistics
2022-04-27 16:12:41 +00:00
c718882479
Accept comments with hashtags from Friendica () 2022-04-27 16:12:13 +00:00
2e01e8e42c
Remove unused dependencies () 2022-04-27 17:56:05 +02:00
56b7030901
Fix link metadata unit test () 2022-04-27 15:42:10 +00:00
3488b9aeb5
Dont return "admin" for GET user when no id/name is provided (fixes ) () 2022-04-25 21:16:29 +00:00
ae84258c41
Federation: dont overwrite local object from Announce activity ()
* Federation: dont overwrite local object from Announce activity (fixes )

* add missing form fields

* refactoring

* add ap_id, updated fields

* fix
2022-04-25 21:11:34 +00:00
7e13406979
Require registration application by default () 2022-04-19 19:13:20 +00:00
00b0b26dfa
Add default post listing type (fixes ) ()
* Add default post listing type (fixes )

* review fixes

* change column type
2022-04-19 19:05:08 +00:00
Dessalines
24be9f2cd5
Show deny reason to users after a failed login. Fixes ()
* Show deny reason to users after a failed login. Fixes 

* Updating translations.

* Adding registration_denied translated string.
2022-04-19 10:48:59 +00:00
Dessalines
0a36b16e29
Fix allowlist / blocklist description location. Fixes ()
* Fix allowlist / blocklist description location. Fixes 

* Fix allowlist check
2022-04-13 18:27:56 +00:00
3951a16447
Split apart api files () 2022-04-13 18:12:25 +00:00
ce4682caa0
Merge pull request from LemmyNet/change_default_listing_type
Changing default listing type to Local from Subscribed.
2022-04-13 17:48:47 +00:00
0372029e8d Changing default listing type to Local from Subscribed. 2022-04-13 17:35:21 +00:00
e0381df88a
Expose remote site info in GetCommunity API (fixes ) ()
* Expose remote site info in GetCommunity API (fixes )

* use instance_actor_id_from_url()
2022-04-13 16:37:54 +00:00
Dessalines
3d8709780a
Fixing unstable post sorts. Fixes () 2022-04-13 15:33:38 +00:00
Dessalines
0d9b756b75
Adding lemmy_ui_debug for future debug testing. ()
Co-authored-by: Nutomic <me@nutomic.com>
2022-04-13 11:53:21 +00:00
Dessalines
2985e88a49
Fixing generate unique changeme ()
* Fixing generate unique changeme

* Fixing generate unique changeme 2

* Changing link to .invalid domain.

Co-authored-by: Nutomic <me@nutomic.com>
2022-04-13 11:13:29 +00:00
bbd739af9b
Change Person, Instance types () 2022-04-12 17:10:35 +00:00
2180bd0369
Merge pull request from LemmyNet/clippy_fix_2
Clippy fixes.
2022-04-12 10:16:10 +00:00
b47a474863
Merge branch 'main' into clippy_fix_2 2022-04-12 10:03:40 +00:00
fed73a72c1
Write mod log for federated sticky/lock post actions () 2022-04-11 23:03:31 +00:00
0bcdfa8be4 Clippy fixes. 2022-04-11 18:51:11 -04:00
a7540bd59f Adding 0.16.3 release. 2022-04-08 13:09:17 -04:00
c232564fda Version 0.16.3 2022-04-08 10:20:31 -04:00
4878848955 Version 0.16.3-rc.1 2022-04-08 09:17:00 -04:00
4052900d30 Updating translations 2022-04-08 09:13:46 -04:00
8337eaefdd
Federate user account deletion (fixes ) () 2022-04-07 20:52:17 +00:00
9ac1f46a2b
Dont federate initial upvote () 2022-04-07 20:46:10 +00:00
f9d563d80a
Add missing mod log entries for federated actions (fixes ) () 2022-04-07 20:44:28 +00:00
b41f7f3eca
Merge pull request from LemmyNet/mandatory_questionnaire
Make sure application questionaire is required. Fixes 
2022-04-05 10:47:59 +00:00
1e2d2ecbae
Merge branch 'main' into mandatory_questionnaire 2022-04-05 10:36:13 +00:00
b5d0a9322a
Merge pull request from LemmyNet/upgrade_pictrs_8
Upgrading pictrs.
2022-04-05 10:26:00 +00:00
ef08870ce5 Upgrading pictrs. 2022-04-04 21:31:17 -04:00
37c834725c Make sure application questionaire is required. Fixes
Also fix local image domain check. Was failing for blank strings /
replaces.
2022-04-04 20:58:50 +00:00
65cac21713
Fix verify_mod_action check for remote admin actions ()
* Fix verify_mod_action check for remote admin actions

* fix federation test
2022-04-04 14:46:49 +00:00
c7f5337099
Run cargo upgrade ()
* Run cargo upgrade and cargo update

* Fixing validation ()

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2022-04-01 18:37:51 +00:00
bfae246734
Migrate towards using page.attachment field for url (ref ) () 2022-04-01 18:25:19 +00:00
56b275acd4
Exclude removed/deleted posts from community outbox () 2022-04-01 18:18:25 +00:00
589d952a95
Fetch community outbox in parallel (fixes ) () 2022-04-01 18:06:23 +00:00
4597ea2017
Merge pull request from LemmyNet/fix_ban_expires
Adding a ban expires update job. Fixes 
2022-03-31 12:05:17 +00:00
4cf0da7b60 Clippy fixes. 2022-03-30 10:58:03 -04:00
3ad172e8ed Adding a ban expires update job. Fixes 2022-03-30 09:56:23 -04:00
ad7e6d99ed
Add email translations () 2022-03-29 18:23:03 +00:00
Dessalines
2e65b31aa6
Fix arm submodule () 2022-03-29 18:05:18 +00:00
d5a213760d Version 0.16.2 2022-03-29 12:56:21 -04:00
Dessalines
11b7525c41
Add update translations script. () 2022-03-29 16:54:16 +00:00