GoToSocial/internal/api/client/accounts
Vyr Cossont 5e2d4fdb19
[feature] User muting (#2960)
* User muting

* Address review feedback

* Rename uniqueness constraint on user_mutes to match convention

* Remove unused account_id from where clause

* Add UserMute to NewTestDB

* Update test/envparsing.sh with new and fixed cache stuff

* Address tobi's review comments

* Make compiledUserMuteListEntry.expired consistent with UserMute.Expired

* Make sure mute_expires_at is serialized as an explicit null for indefinite mutes

---------

Co-authored-by: tobi <tobi.smethurst@protonmail.com>
2024-06-06 16:38:02 +00:00
..
account_test.go [feature] Add experimental `instance-federation-spam-filter` option (#2685) 2024-02-27 12:22:05 +00:00
accountalias.go [feature] Account alias / move API + db models (#2518) 2024-01-16 16:22:44 +00:00
accountcreate.go [feature] Self-serve email change for users (#2957) 2024-06-06 14:43:25 +01:00
accountcreate_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
accountdelete.go [feature] Self-serve email change for users (#2957) 2024-06-06 14:43:25 +01:00
accountdelete_test.go [chore/bugfix/horror] Allow `expires_in` and poll choices to be parsed from strings (#2346) 2023-11-10 16:42:48 +00:00
accountget.go [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
accountmove.go [chore] Expose move endpoint again, small settings panel fixes (#2752) 2024-03-13 14:45:50 +01:00
accounts.go [feature] User muting (#2960) 2024-06-06 16:38:02 +00:00
accountupdate.go [feature] Option to hide followers/following (#2788) 2024-04-02 10:42:24 +01:00
accountupdate_test.go [chore] Move local account settings to separate db table (#2770) 2024-03-22 14:03:46 +01:00
accountverify.go [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
accountverify_test.go [chore] Move local account settings to separate db table (#2770) 2024-03-22 14:03:46 +01:00
block.go [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
block_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
follow.go [feature] Process outgoing Move from clientAPI (#2750) 2024-03-13 13:53:29 +01:00
follow_test.go [bugfix] further paging mishaps (#2884) 2024-04-30 16:22:23 +02:00
followers.go [feature] Option to hide followers/following (#2788) 2024-04-02 10:42:24 +01:00
following.go [feature] Option to hide followers/following (#2788) 2024-04-02 10:42:24 +01:00
lists.go [feature] User-selectable preset CSS themes for accounts (#2777) 2024-03-25 17:32:24 +00:00
lists_test.go [bugfix] Rework MultiError to wrap + unwrap errors properly (#2057) 2023-08-02 17:21:46 +02:00
lookup.go [feature] Process outgoing Move from clientAPI (#2750) 2024-03-13 13:53:29 +01:00
mute.go [feature] User muting (#2960) 2024-06-06 16:38:02 +00:00
mute_test.go [feature] User muting (#2960) 2024-06-06 16:38:02 +00:00
note.go [feature] Process outgoing Move from clientAPI (#2750) 2024-03-13 13:53:29 +01:00
profile.go [feature] Implement profile API (#2926) 2024-05-29 12:57:44 +02:00
profile_test.go [feature] Implement profile API (#2926) 2024-05-29 12:57:44 +02:00
relationships.go [chore] Swagger: correct names and formats for several array params (#2758) 2024-03-15 11:31:58 +01:00
search.go [feature] Process outgoing Move from clientAPI (#2750) 2024-03-13 13:53:29 +01:00
search_test.go [bugfix] Rework MultiError to wrap + unwrap errors properly (#2057) 2023-08-02 17:21:46 +02:00
statuses.go [feature] User-selectable preset CSS themes for accounts (#2777) 2024-03-25 17:32:24 +00:00
statuses_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
themesget.go [feature] User-selectable preset CSS themes for accounts (#2777) 2024-03-25 17:32:24 +00:00
unblock.go [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
unfollow.go [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
unmute.go [feature] User muting (#2960) 2024-06-06 16:38:02 +00:00
unmute_test.go [feature] User muting (#2960) 2024-06-06 16:38:02 +00:00