Commit Graph

48 Commits (10fe02acefca47e6013c4b0f70e4077a6d59d488)

Author SHA1 Message Date
Haelwenn (lanodan) Monnier 85b5c60694
Pleroma.Formatter: width/height to class=emoji
5 years ago
rinpatch 61ca2f7a4e Fix `rights` in TwitterAPI's user entity being present only for
5 years ago
rinpatch 4baea6e6d9 Fix leaking private configuration parameters in Mastodon and Twitter APIs, and add new configuration parameters to Mastodon API
5 years ago
Egor b9cdf6d3b9 Use `User.get_cached*` everywhere
5 years ago
Egor Kislitsyn 1b3d921921 change `Repo.get(User, id)` => `User.get_by_id(id)`
6 years ago
Haelwenn (lanodan) Monnier a3a9cec483
[Credo] fix Credo.Check.Readability.AliasOrder
6 years ago
eugenijm 6b11011039 Added deactivated to the user view
6 years ago
Mark Felder 74518d0b60 hide_followings was renamed to hide_followers in the FE, but never synced up in the BE
6 years ago
eugenijm 035eaeb9b8 Allow to configure visibility for admin and moderator badges
6 years ago
eugenijm 398c81f9c8 Add is_admin and is_moderator boolean fields to the user view
6 years ago
Maxim Filippov 16ce129e38 Split hide_network into hide_followers & hide_followings (fixed)
6 years ago
kaniini 486749064f Revert "Merge branch 'feature/split-hide-network' into 'develop'"
6 years ago
Maxim Filippov 50d6183893 Split hide_network into hide_followers & hide_followings
6 years ago
Maxim Filippov 4333fea1dc Send "hide_network" in user_view
6 years ago
Haelwenn (lanodan) Monnier b43d630f30
Web.TwitterAPI.UserView: Add rights.admin
6 years ago
William Pitcock 3c08d229db tests: add legal boilerplate
6 years ago
Ivan Tashkinov aed0f90287 [#114] Added `pleroma.confirmation_pending` to user views, adjusted view tests.
6 years ago
Maksim Pechnikov 89b3729afa fix warnings
6 years ago
Ivan Tashkinov 7a2162bbcb [#394] User view (Twitter & Mastadon API): wrapped "tags" in "pleroma" map.
6 years ago
Ivan Tashkinov abbf347dc7 [#394] View tests fix.
6 years ago
lain 48b95a9b95 Assorted fixes.
6 years ago
scarlett db78c72868 Twitter API: Add tests for nil names.
6 years ago
Haelwenn (lanodan) Monnier a74daabfae
[Pleroma.Web.TwitterAPI.UserViewTest]: Add test for mastodon-fields
6 years ago
Haelwenn (lanodan) Monnier 82b57ebad1
[Pleroma.Web.TwitterAPI.UserView]: Add mastodon-fields in "fields"
6 years ago
William Pitcock 56577d8b48 twitter api: add no_rich_text option to userview for account prefs
6 years ago
William Pitcock 834515fb51 formatter: don't add XSS emoji
6 years ago
ensra e883587cc3 this should be looking at the follower's bio, not the user's bio.
6 years ago
ensra f533daffdb sync bio sanitization code in tests
6 years ago
eal ed9738e031 Add tests for emoji in user profiles
6 years ago
eal cee63ad3f7 TwitterAPI user view: add screen_name_html and description_html.
6 years ago
William Pitcock 32211c4ada tests: add default_scope where appropriate
6 years ago
William Pitcock c773f42ca4 tests: update twitterapi user view tests for new locked variable
6 years ago
Thog e55c6f311b
Migrate to comeonin 4 and Cachex 3
6 years ago
lain 4afbef39f4 Format the code.
7 years ago
lain 5bc810c452 Add moderator function.
7 years ago
lain 26ccb768d3 Make test output easier to read.
7 years ago
lambda 61c16193de Merge branch 'move-backend-images' into 'develop'
7 years ago
Hakaba Hitoyo ea6d1b2b17 move avi.png & banner.png from /priv/static/static to /priv/static/images
7 years ago
eal ab83e0de6d TwitterAPI: Add is_local to user view.
7 years ago
eal 14b086eec2 Add a default profile picture and banner.
7 years ago
eal 9223038319 Fix some more tests.
7 years ago
eal edc3e5bc30 Make users in tests follow themselves by default.
7 years ago
eal f7fc048aeb TwitterAPI user view: add follows_you.
7 years ago
eal 4656cb9b99 TwitterAPI user view: add blocks.
7 years ago
Roger Braun 50409326a8 Refactor posting and make character limit configurable.
7 years ago
Roger Braun 4b03c43fd7 fix specs.
7 years ago
Roger Braun 72ca58c540 Save follower count and note count in user.
7 years ago
dtluna 069daf644d Replace UserRepresenter with UserView
7 years ago