Commit Graph

3496 Commits (dfe5c958eb94326f5a7743c9de0de073260db926)

Author SHA1 Message Date
Haelwenn cde7711b12 Merge branch 'bugfix/relax-spam-protection' into 'develop'
6 years ago
Normandy d4a749cfb2 Handle new-style mastodon follow lists
6 years ago
William Pitcock 750b369d04 activitypub: allow indirect messages from users being followed at a personal inbox
6 years ago
Hakurei Reimu 6e26ac10a3 make Pleroma.Endpoint use extra_cookie_attrs in config
6 years ago
lain 76999c73a7 Conversation: Add accounts to output.
6 years ago
lain 0da985182f Conversation: Return full status object, id is a string.
6 years ago
lambda 56956de6fa Merge branch 'fix/status-reblogged' into 'develop'
6 years ago
lambda f358295cbe Merge branch 'unfollow-oneself' into 'develop'
6 years ago
eugenijm 27d78dc526 Use User.get_cached_by*
6 years ago
rinpatch 5d73dca064 Remove inReplyToStatusId
6 years ago
eugenijm 507e7821e3 Handle follow/unfollow directed to themselves
6 years ago
eugenijm 679a8ef629 Assign reblogged in the Mastodon reblog status view
6 years ago
Egor f9af90c5aa Revert "simplify mentions escape"
6 years ago
lambda 184ae60b21 Merge branch 'bugfix/pleroma-email-naming' into 'develop'
6 years ago
lambda 0a09692c7d Merge branch 'features/mastoapi/2.6.0-min_id-pagination' into 'develop'
6 years ago
lambda 57d5ff57d6 Merge branch 'fix/732-password-align' into 'develop'
6 years ago
Alexander Strizhakov 711ade961e adding destroy multiple for mastofe
6 years ago
Alexander Strizhakov e03d24af96 in_reply_to_id - null
6 years ago
kaniini 31c06dba5a Merge branch 'fix/hackney_max_body_param' into 'develop'
6 years ago
Roman Chvanikov 4615e56219 Add `with_body: true` to requests relying on `max_body: val`
6 years ago
Mark Felder d6d5f46bae Update OAuth web template
6 years ago
Egor Kislitsyn db4badc6aa move user disable into deactivation
6 years ago
Egor Kislitsyn 0f2f7d2cec Merge remote-tracking branch 'pleroma/develop' into feature/disable-account
6 years ago
Ivan Tashkinov c3f12cf3c3 [#923] OAuth consumer params handling refactoring.
6 years ago
lain c352a0aba6 Conversations: Make tests run.
6 years ago
lain 280172f6f6 Conversations: Create or bump on inserting a dm.
6 years ago
lambda e5d553aa45 Merge branch 'feature/767-multiple-use-invite-token' into 'develop'
6 years ago
Sadposter be8350baa2
Merge branch 'develop' into feature/user-status-subscriptions
6 years ago
lambda c8440b5e0c Merge branch 'fix/emoji-api-nonsense' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier 9c1b36856b
s/Pleroma.UserEmail/Pleroma.Emails.UserEmail/
6 years ago
Haelwenn (lanodan) Monnier cae0231731
s/Pleroma.AdminEmail/Pleroma.Emails.AdminEmail/
6 years ago
Haelwenn (lanodan) Monnier 1791ee8ec4
s/Pleroma.Mailer/Pleroma.Emails.Mailer/
6 years ago
kaniini 0ab563d334 Merge branch 'hotfix/fix_undefined_summary' into 'develop'
6 years ago
kaniini 97395e013e Merge branch 'notification-pleroma-settings' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier cf9ba8fe1b
transmogrifier.ex: Add fix_summary/1
6 years ago
rinpatch b57b43027c Change response format of /api/pleroma/emoji to the one that actually makes sense
6 years ago
Sadposter 589629cf3e
Used cached user resources in subscriptions
6 years ago
lain a9f805c871 Merge remote-tracking branch 'origin/develop' into features/mastoapi/2.6.0-conversations
6 years ago
Egor Kislitsyn 9abf832b03 Merge remote-tracking branch 'pleroma/develop' into use-jobs-in-webpush
6 years ago
lambda e19590c93f Merge branch 'improve_upgrade_user_from_ap_id' into 'develop'
6 years ago
lambda fd45cab9ec Merge branch 'twitter_oauth' into 'develop'
6 years ago
Alexander Strizhakov 36c0a10fdf adding language tag
6 years ago
lambda 23067908de Merge branch 'feature/770-add-emoji-tags' into 'develop'
6 years ago
Egor Kislitsyn c3d5c3513a Merge remote-tracking branch 'pleroma/develop' into use-jobs-in-webpush
6 years ago
Egor Kislitsyn a1a854646e Merge branch 'develop' into use-jobs-in-webpush
6 years ago
Ivan Tashkinov bffddf5e31 [#923] Merge remote-tracking branch 'remotes/upstream/develop' into twitter_oauth
6 years ago
lambda b4da2bc1d0 Merge branch 'develop' into 'improve_upgrade_user_from_ap_id'
6 years ago
lambda b177e1e7f3 Merge branch 'scheduled-activities' into 'develop'
6 years ago
Alex S 012bb5dcc9 renaming expire_at -> expires_at
6 years ago
Sadposter 76fdfd1c7f Add check on activity visibility in sub notification
6 years ago
Alex S 56c75aec12 credo fix
6 years ago
Alex S b810aac117 added docs to docs/api/admin_api.md
6 years ago
Ivan Tashkinov e3328bc138 [#923] Removed <br> elements from auth forms, adjusted docs, minor auth settings refactoring.
6 years ago
feld fb2040d061 Merge branch 'fix/deactivated-user-error' into 'develop'
6 years ago
eugenijm 2056efa714 Add scheduler for sending scheduled activities to the queue
6 years ago
eugenijm fc92a0fd8d Added limits and media attachments for scheduled activities.
6 years ago
eugenijm b3870df51f Handle `scheduled_at` on status creation.
6 years ago
eugenijm 7bf622ce73 Add scheduled activities
6 years ago
eugenijm 7aa53d52bd Return 403 on oauth token exchange for a deactivated user
6 years ago
Sadposter c05fe4da0a
Document subscription endpoints, fix typos
6 years ago
feld 9aeac7dcca Merge branch 'feature/prometheus' into 'develop'
6 years ago
Alex S a53d591ac5 code style
6 years ago
Alex S 7410aee886 Merge develop to 770-add-emoji-tags
6 years ago
Alex S dcc54f8cfa admin api endpoints for invites
6 years ago
Alex S 47b07cec49 token -> invite renaming
6 years ago
Alex S be54e40890 twitter api registration
6 years ago
Sergey Suprunenko 325a268017 Redirect to the referer url after mastofe authorization
6 years ago
Mark Felder b5a2d384f7 Redundant Repo.get_by usage was recently removed from the codebase
6 years ago
Roger Braun 7895ee37fa Add user following / unfollowing to the admin api.
6 years ago
Sadposter 9ca91cbb87 Change relationship direction of subscriptions
6 years ago
Sadposter d35f6551c1 Move subscriptions endpoint to be under /pleroma
6 years ago
Sadposter d56866c824 Add subscribed status to user view
6 years ago
Sadposter 316fe20d86 Make subscriptions the same direction as blocks
6 years ago
Sadposter 23c4f49494 Fix subscription endpoint return formats
6 years ago
Sadposter 007762e767 Add notification checks
6 years ago
Sadposter 79910ce5cc Add API endpoints and user column for subscription
6 years ago
Egor Kislitsyn 1c2e4f88d1 fix credo
6 years ago
Egor Kislitsyn f1712cd2f1 Use PleromaJobQueue in Pleroma.Web.Push
6 years ago
rinpatch f0f30019e1 Refactor html caching functions to have a key instead of a module, use more correct terminology and fix summaries in mastoapi
6 years ago
Ivan Tashkinov 47a236f753 [#923] OAuth consumer mode refactoring, new tests, tests adjustments, readme.
6 years ago
Ivan Tashkinov 3e7f2bfc2f [#923] OAuthController#callback adjustments (with tests).
6 years ago
Ivan Tashkinov 45765918c3 [#923] Merge remote-tracking branch 'remotes/upstream/develop' into twitter_oauth
6 years ago
Ivan Tashkinov f7cd9131d4 [#923] OAuth consumer controller tests. Misc. improvements.
6 years ago
href bc3618a38d Set up telemetry and prometheus
6 years ago
Egor Kislitsyn cfa6e7289f Improve Transmogrifier.upgrade_user_from_ap_id/2
6 years ago
Haelwenn (lanodan) Monnier af0065a71f
mastodon_api_controller.ex: Add pleroma-tan to initial_state
6 years ago
rinpatch 79cb34a4b0 Fix preview not being usable in form data
6 years ago
Haelwenn 0cb94cfa94 Merge branch 'fix-slow-relationships' into 'develop'
6 years ago
lambda 256b492a58 Merge branch 'bugfix/wrong-date-format' into 'develop'
6 years ago
lambda a79ce94dd4 Merge branch 'feature/fake-statuses' into 'develop'
6 years ago
lain 39bcf93007 Merge remote-tracking branch 'origin/develop' into fix-slow-relationships
6 years ago
lain fd07745d1b ActivityPub Utils: Greatly speed up the follow / block activity fetching.
6 years ago
Alex S fa8483cb80 Merging develop into feature/770-add-emoji-tags
6 years ago
lambda 180b87257c Merge branch 'bugfix/share-mastodon' into 'develop'
6 years ago
lambda b95cf3d490 Merge branch 'get_by_id' into 'develop'
6 years ago
Alex S 9e0567ec52 Merge develop into feature/770-add-emoji-tags
6 years ago
rinpatch fdb4357e9b Rename fake param to preview and make the tests check that the object was not inserted to the db
6 years ago
Ivan Tashkinov 37925cbe78 Merge remote-tracking branch 'remotes/upstream/develop' into twitter_oauth
6 years ago
lambda 091baf9316 Merge branch 'features/mastoapi/2.6.0-force-login-option' into 'develop'
6 years ago
Ivan Tashkinov 590c935d95 [#923] Merge remote-tracking branch 'remotes/upstream/develop' into twitter_oauth
6 years ago
Egor Kislitsyn 88d3cb44c3 replace `Repo.get_by(User, nickname: nickname)` with `User.get_by_nickname(nickname)`
6 years ago
Egor Kislitsyn 1b3d921921 change `Repo.get(User, id)` => `User.get_by_id(id)`
6 years ago
Egor Kislitsyn 4212527928 change `Repo.get(Activity, id)` => `Activity.get_by_id(id)`
6 years ago
Sergey Suprunenko 3db9235150
Ignore dates in wrong formats
6 years ago
Sachin Joshi f20e8d28de add support for all status type (ostatus) and replase case with if
6 years ago
Ivan Tashkinov aac48d0cc6 Merge remote-tracking branch 'remotes/upstream/develop' into features/mastoapi/2.6.0-conversations
6 years ago
Sachin Joshi 6386c1c9c1 fetch url for OStatus to know if it is a/c or status
6 years ago
Haelwenn (lanodan) Monnier f56eef8d8c
router: Add fake identity proof endpoint
6 years ago
Sergey Suprunenko b6f9f7b8aa
Handle dates in the Unix timestamp format (Fixes #763)
6 years ago
Sachin Joshi 1d01e8e656 [OStatus] adds status to pleroma instance if the url given is a status
6 years ago
Ivan Tashkinov 6910fb371b Fixed local MastoFE authentication / `force_login` option.
6 years ago
Ivan Tashkinov cbe09d94d1 Added `force_login` authentication option (previously applied by default).
6 years ago
Alex S 3601f03147 Adding tag to emoji ets table
6 years ago
rinpatch fe5145eeaa Move putting fake attribute to lib/pleroma/web/activity_pub/utils.ex
6 years ago
rinpatch 975482f091 insert object defaults for fake activities and make credo happy
6 years ago
rinpatch d866b59eea oof
6 years ago
rinpatch 45ba10bf47 Fix the issue with HTML scrubber
6 years ago
Ivan Tashkinov 804173fc92 [#923] Minor code readability fix.
6 years ago
Ivan Tashkinov eadafc88b8 [#923] Deps config adjustment (no `override` for `httpoison`), code analysis issues fixes.
6 years ago
Ivan Tashkinov baffdcc480 [#923] Merge remote-tracking branch 'remotes/upstream/develop' into twitter_oauth
6 years ago
rinpatch cd387f8693 Add a fake option to lazy_put_actvity_defaults
6 years ago
rinpatch 1bb4d5d65b Implement fake status submit
6 years ago
Egor 9a39d1d846 Replace Pleroma.Jobs with `pleroma_job_queue`
6 years ago
Haelwenn (lanodan) Monnier c8abef373b
mastodon_api_controller.ex: fallback to first for min_id
6 years ago
Haelwenn (lanodan) Monnier 6b407872b4
mastodon_api_controller.ex: Use min_id in link header instead of since_id
6 years ago
Haelwenn (lanodan) Monnier 6f15224053
activity_pub.ex: Move limit/max_id restrictions to Pagination helpers
6 years ago
eugenijm cd90695a34 Add PUT /api/pleroma/notification_settings endpoint
6 years ago
eugenijm 10c81fc902 Add user show endpoint for Pleroma admin API
6 years ago
Alex S 3ca6c4f443 password reset page labels align
6 years ago
Ivan Tashkinov 20e0f36605 Merge remote-tracking branch 'remotes/origin/develop' into twitter_oauth
6 years ago
Ivan Tashkinov 2a95014b9d [#923] OAuth consumer improvements, fixes, refactoring.
6 years ago
lambda 926bf114b7 Merge branch 'feature/more-user-filters' into 'develop'
6 years ago
rinpatch ce6d64bbd8 Fix missing announces in MastoAPI home timeline
6 years ago
Maxim Filippov 3cf7539bca Add more user filters + move search to its own module
6 years ago
eugenijm a4ab60ac54 Add vapid_key to the `POST /api/v1/apps` response
6 years ago
eugenijm 691d1208b5 Add GET /api/v1/apps/verify_credentials
6 years ago
lambda ff3b09f6b3 Merge branch 'fix/ap-icon' into 'develop'
6 years ago
lambda c6ab5ebe7c Merge branch 'features/mastoapi/2.7.2-instance-attributes' into 'develop'
6 years ago
lain 10a7a4a868 AP UserView: Refactor banner / avatar display code, add test.
6 years ago
lambda 9e3899bf36 Merge branch 'features/mastoapi/2.7.0-auth-error-messages' into 'develop'
6 years ago
lambda 21ff78cd40 Merge branch 'replies-count' into 'develop'
6 years ago
rinpatch 406d19331f Remove ActivityRepresenter
6 years ago
Ivan Tashkinov eef1042b16 Mastodon 2.7.2 instance attributes (registrations, languages).
6 years ago
eugenijm 568e348588 Increment replies_count on replies (MastoAPI)
6 years ago
Ivan Tashkinov b0759f821b Comments split.
6 years ago
Ivan Tashkinov 263ca3dea2 Mastodon-based auth error messages. Defaulted User#auth_active?/1 to `true`.
6 years ago
Mark Felder c410296120 Try sending an empty map
6 years ago
Mark Felder 6f090f981b Attempt to fix incorrect federation of default instance avatars
6 years ago
kaniini 63ffa4842c Merge branch 'fix/mastoapi-liked' into 'develop'
6 years ago
rinpatch a7f58b3c13 Serve non-public activities in /api/v1/favourites
6 years ago
rinpatch 750de7d842 Merge branch 'features/mrf-keyword-nil-summary' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier eab9425cc4
mrf/keyword_policy.ex: Fix when summary == nil, do not whitelist content == nil
6 years ago
William Pitcock debf7f016d ostatus: use preload objects with Object.normalize() when opportunistic
6 years ago
William Pitcock 8c70156157 activitypub: object view: use preloaded object when possible
6 years ago
William Pitcock ce47eb8b29 activitypub: when fetching objects, use the preloaded object from the synthesized activity
6 years ago
William Pitcock 07cdd9ed02 streamer: use the preloaded object if possible
6 years ago
William Pitcock c62220c500 rich media: helpers: only crawl Create activities
6 years ago
William Pitcock 4cedf45423 relay: use preloaded object since we always have it
6 years ago
William Pitcock e430a71d37 ostatus: fetch preloaded object in note handler for testsuite
6 years ago
William Pitcock 73efe95368 activitypub: allow skipping preload in some cases (like certain tests where the preload is obnoxious)
6 years ago
William Pitcock ba7299fc87 activitypub: add missing with_preloaded_object()
6 years ago
William Pitcock e4307cadc8 activitypub: splice in the child object if we have one
6 years ago
William Pitcock a6973a668e formatting
6 years ago
William Pitcock b3bf523c09 rich media: use optimized Object.normalize()
6 years ago
William Pitcock e75e43b949 common api: use the optimized Object.normalize whenever possible
6 years ago
William Pitcock 9aea7cc224 activitypub: preload child objects when fetching timelines
6 years ago
rinpatch 1b33986bfa Fix text being nullable in TwitterAPI
6 years ago
lambda fee360e581 Merge branch 'safe-mentions' into 'develop'
6 years ago
lain e2afce34b6 NodeInfo: Return safe_dm_mentions feature flag.
6 years ago
kaniini 1c3d3d0c2b Merge branch 'safe-mentions' into 'develop'
6 years ago
William Pitcock 3cc2554fa3 mastodon api: add conversation_id extension (ref #674)
6 years ago
William Pitcock fea3696799 common api: move context functions from twitterapi
6 years ago
rinpatch b92a16aa00 Merge branch 'ecto-3-migration' into 'develop'
6 years ago
lain bf27190f7f UtilController: Return state of safe dm mentions.
6 years ago
lain 8468f3f6d4 Add safe dm mode option.
6 years ago
Ivan Tashkinov af68a42ef7 [#923] Support for multiple OAuth consumer strategies.
6 years ago
rinpatch 9a7b817c9a Ecto 3.0.5 migration
6 years ago
Ivan Tashkinov e17a9a1f66 [#923] Nickname & email selection for external registrations, option to connect to existing account.
6 years ago
William Pitcock 1685e4258f transmogrifier: upgrade: when upgrading OStatus users to AP, ensure we always use the fake collection
6 years ago
William Pitcock cd055983c3 transmogrifier: when determining followers collection URI, we may need to fetch the actor
6 years ago
William Pitcock d487b753c3 activitypub: transmogrifier: do not allow missing lists to be interpreted as nil
6 years ago
William Pitcock 798da28812 activitypub: transmogrifier: ensure as:Public activities are delivered to followers
6 years ago
Ivan Tashkinov 8d21859717 [#923] External User registration refactoring, password randomization.
6 years ago
Ivan Tashkinov 26b6354095 [#923] Support for multiple (external) registrations per user via Registration.
6 years ago
Zachary Dunn 5ba14c664b Fix missing end brace
6 years ago
Zachary Dunn a2e03d4f3c Initial attempt at updating return type
6 years ago
eugenijm 1588688a11 Added support for exclude_types, limit, and min_id in Mastodon
6 years ago
Ivan Tashkinov 2a96283efb [#923] Merge remote-tracking branch 'remotes/upstream/develop' into twitter_oauth
6 years ago
Haelwenn (lanodan) Monnier f6fab01ba7
Web.Router: Add routes for Conversation mastoAPI
6 years ago
kaniini 6d6f48d079 Merge branch 'feature/federated-flags' into 'develop'
6 years ago
lambda 28df397454 Merge branch 'feature/oauth-me' into 'develop'
6 years ago
kaniini c69dc2acf1 Merge branch 'feature/reblog-muting' into 'develop'
6 years ago
William Pitcock e0edc706cf oauth: add me property to token responses
6 years ago
eugenijm 43fb03be5a Allow to mark a single notification as read
6 years ago
kaniini 8b352af4dd Merge branch 'feature/openldap-support' into 'develop'
6 years ago
Ivan Tashkinov 2739057442 Merge remote-tracking branch 'remotes/upstream/develop' into twitter_oauth
6 years ago
Ivan Tashkinov aacbf0f570 [#923] OAuth: prototype of sign in / sign up with Twitter.
6 years ago
Karen Konou d8244c2a1b remove unused function
6 years ago
Karen Konou dfeb3aec44 fix credo warning
6 years ago
Karen Konou da53c079db Refactor to store user ap_id, add tests
6 years ago
Karen Konou be465c762b formatting
6 years ago
Karen Konou 15b21d1983 refactor filtering mechanism
6 years ago
Karen Konou aa71139e4a Fix elixir 1.8 vs 1.7 format conflict
6 years ago
Karen Konou fe4c1d26fc Add ActivityPub.contain_activity checks to streamer
6 years ago
Karen Konou c8f31e0bc2 Implement mastodon's reblog hiding feature
6 years ago
Haelwenn 41fc67aa49 Merge branch 'mastoapi/mime_type' into 'develop'
6 years ago
rinpatch d7a34b604b Extend MastoAPI to provide attachment mimetypes
6 years ago
kaniini 0f42ea87d6 Merge branch 'notifications-is-seen' into 'develop'
6 years ago
kaniini c708656b5e Merge branch 'robotstxt' into 'develop'
6 years ago
William Pearson 3dadaa4432 robots.txt
6 years ago
eugenijm 100413bf2c Add `is_seen` to MastoAPI notifications, extract rendering logic into separate NotificationView, add tests
6 years ago
William Pitcock 423fd07928 activitypub: inject to/cc fields on non-forwarded reports since Flag activities are now Forwardable
6 years ago
William Pitcock 5c7b774f09 reports: unify sending e-mail for both remote and local reports
6 years ago
William Pitcock 64b0120d67 activitypub: add support for forwarding reports
6 years ago
William Pitcock 3b48d5f0c2 common api: add support for forwarding reports
6 years ago
William Pitcock 379442ad17 activitypub: utils: also match Activity objects
6 years ago
William Pitcock 0f3ecb2bfb activitypub: transmogrifier: accept remote Flag activities
6 years ago
William Pitcock f86f7dbb8f activitypub: utils: rework make_flag_data to accept either activity payloads or IRIs
6 years ago
rinpatch 34fc0dca2e Merge branch 'hotfix/delete-activities' into 'develop'
6 years ago
rinpatch e630e5e135 Fix delete activities not federating
6 years ago
link0ff 54e7087ab4 Merge remote-tracking branch 'upstream/develop' into feature/openldap-support
6 years ago
kaniini 59333f2d56 Merge branch 'admin-api-account-view-namespace' into 'develop'
6 years ago
kaniini 86871c8a04 Merge branch 'feature/add-local-to-users-admin-api' into 'develop'
6 years ago
Maxim Filippov f3964f4024 Ensure empty array is returned for tags
6 years ago
Maxim Filippov 257d8e78e5 Add tags
6 years ago
kaniini 4e72762322 Merge branch 'mastofe-content-types' into 'develop'
6 years ago
eugenijm e416c344dd Unify unfollow, accept and reject follow requests using CommonAPI
6 years ago
Maxim Filippov 490d9cf7b1 Add "local" to users admin API
6 years ago
Haelwenn (lanodan) Monnier cc0f2f8ba3
MastodonAPI.Admin.AccountView → AdminAPI.AccountView
6 years ago
Haelwenn (lanodan) Monnier d43b1c0b5d
Pleroma.Web.TwitterAPI.Controller: Remove duplicated alias/es
6 years ago
Haelwenn (lanodan) Monnier 4b73ca638e
[Credo][CI] Add readability as it’s fixed
6 years ago
Haelwenn (lanodan) Monnier 23960309a0
[Credo] Change quoted string with 3+ quotes to sigils
6 years ago
Haelwenn (lanodan) Monnier c42d34b2ec
[Credo] fix Credo.Check.Readability.MaxLineLength
6 years ago
Haelwenn (lanodan) Monnier 8cd3eada7d
[Credo] write large numbers with underscore separation
6 years ago
Haelwenn (lanodan) Monnier c3d41b2b6e
[Credo] make all variables use snake_case
6 years ago
Haelwenn (lanodan) Monnier fb82f6fc7c
[Credo] Remove parentesis on argument-less functions
6 years ago
Haelwenn (lanodan) Monnier a3a9cec483
[Credo] fix Credo.Check.Readability.AliasOrder
6 years ago
Haelwenn (lanodan) Monnier 4c440f12c3
[Credo] Fix the consistency
6 years ago
Haelwenn (lanodan) Monnier 6c8743d0c0
[Credo] Fix the warnings
6 years ago
Maxim Filippov 25eb6cf1cb Add "roles" to users admin API
6 years ago
kaniini c231ed610a Merge branch 'masto-api-followers-following' into 'develop'
6 years ago
link0ff 9338f061a3 Support LDAP method start_tls
6 years ago
eugenijm 984b5f8adf MastoAPI followers/following endpoints
6 years ago
kaniini 4aa285e6ce Merge branch 'add-screenname-extension-to-masto-api' into 'develop'
6 years ago
lain 07277879e5 Linting.
6 years ago
lain 600f428db4 WebPush: Add activity id to the push messages.
6 years ago
Ivan Tashkinov 63ab61ed3f Sign in via Twitter (WIP).
6 years ago
lain 3474066f6d MastoAPI Accounts: Add fetching by nickname.
6 years ago
lambda 2c8deecdd2 Merge branch 'add-local-field-to-status' into 'develop'
6 years ago
lambda d9ae2d00a1 Merge branch 'feat/style-oauth-login-page' into 'develop'
6 years ago
Shpuld Shpuldson 50edead11c Remove chromium input hilight that clashes with our own
6 years ago
Shpuld Shpuldson 8ddbedcd9a Style again the login page to fit pleroma more
6 years ago
lain 4811eefa6e MastoAPI StatusView: Add locality indicator.
6 years ago
eugenijm 6038c8a753 Broadcast deleted activity id on deletion to conform to MastoAPI streamig spec
6 years ago
William Pitcock 19afd9f81f http: rework connection timeouts to match hackney docs, enforce 1 second max TCP connection timeout
6 years ago
kaniini 735f40047a Merge branch 'delete-status' into 'develop'
6 years ago
kaniini 130fc9eae6 Merge branch 'fetch-posts-on-first-federation' into 'develop'
6 years ago
eugenijm 2827dfea50 Allow an admin to delete a user status
6 years ago
Ekaterina Vaartis 5021b7836f Fetch user's outbox posts on first federation with that user
6 years ago
William Pitcock e53a9fd15e MRF: anti followbot: gracefully handle accounts without a display name
6 years ago
rinpatch 992145e64c Merge branch 'bugfix/delete-activity-audience' into 'develop'
6 years ago
Karen Konou c2faae70df Adjust delete activity audience to match the deleted object
6 years ago
Karen Konou 6a69ece437 Revert existing object check
6 years ago
eugenijm 7342b5a45f Preserve parameters in link headers (Mastodon API)
6 years ago
kaniini 0fe715f3ba Merge branch 'chore/merge-search-into-list-users' into 'develop'
6 years ago
kaniini 07f8c79a69 Merge branch 'bugfix/rel-me_list' into 'develop'
6 years ago
Maksim bc7570c282 [#647] tests for web push
6 years ago
Karen Konou 28d5b40d0a Add handling of objects not in database
6 years ago
rinpatch bcd8ef65e0 Merge branch 'add-admin-to-node-info' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier 788a354ce0
Web.RelMe: Fix having other values in rel attr
6 years ago
eugenijm d1de0a30cc Include admins in nodeinfo
6 years ago
Maxim Filippov 2d30fc279f Typo
6 years ago
William Pitcock b7aa1ea9e6 rich media: helpers: rework validate_page_url()
6 years ago
William Pitcock 9f3cb38012 helpers: use AutoLinker to validate URIs as well as the other tests
6 years ago
William Pitcock d38d537bee rich media: don't crawl bogus URIs
6 years ago
kaniini d45dbdce5a Merge branch 'feature/add-status-text-to-notifications' into 'develop'
6 years ago
Maxim Filippov f620199836 Merge search endpoint into /users
6 years ago
Maxim Filippov 0245ce842f Remove unused code
6 years ago
Maxim Filippov cc7b35e097 Add status text to notifications (mentions and reposts)
6 years ago
kaniini ca5d894e68 Merge branch 'fix/like-adressing' into 'develop'
6 years ago
rinpatch 33c614bce0 Stop adresssing like activities to actor's follower collection on non-public posts
6 years ago
Egor Kislitsyn 22ac2288be Merge remote-tracking branch 'pleroma/develop' into feature/disable-account
6 years ago
kaniini 10248d86a2 Merge branch 'unify-follow' into 'develop'
6 years ago
Egor Kislitsyn eb84de0143 allow users to disable their own account
6 years ago
KokaKiwi bf43f055dd Set content types settings on mastofe endpoint.
6 years ago
Karen Konou 1445dc25d4 fix format
6 years ago
Karen Konou aab86698a5 Expand "to" of delete activities
6 years ago
eugenijm 86e4b48a5e Fix DM visibility for blocking users
6 years ago
eugenijm 594694607c Unify Mastodon and Twitter follow implementations using CommonAPI
6 years ago
kaniini dd5865535e Merge branch 'muting' into 'develop'
6 years ago
William Pearson 818a7894da Don't stream muted accounts
6 years ago
link0ff 88a672fe88 Move LDAP code to LDAPAuthenticator. Use Authenticator for token_exchange with grant_type as well
6 years ago
link0ff 19e2b85247 Merge remote-tracking branch 'upstream/develop' into feature/openldap-support
6 years ago
kaniini ace4231628 Merge branch 'features/bio_rel_me' into 'develop'
6 years ago
kaniini 6c6a2dbfdd Merge branch 'feature/add-pagination-to-users-admin-api' into 'develop'
6 years ago
kaniini c93479c6f5 Merge branch 'count-only-public-statuses' into 'develop'
6 years ago
eugenijm d5418e9ff7 Remove follow_request_count as it's not needed for FE anymore.
6 years ago
lambda 9b63fda9c7 Merge branch 'fix/dont-show-dms-in-mentions-timeline' into 'develop'
6 years ago
eugenijm c46950d3b1 Increment user note count only on public activities
6 years ago
Maxim Filippov 2ec8cf5665 Add pagination to search
6 years ago
rinpatch f38c316e6e Merge branch 'bugfix/oauth-scopes-join' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier 8e6f7fdb86
RelMe.maybe_put_rel_me/2: When true put "me" otherwise nil
6 years ago
Haelwenn (lanodan) Monnier 9b83236fb0
Pleroma.Web.RelMe: fixups
6 years ago
Haelwenn (lanodan) Monnier 56d4e39012
Pleroma.User: Add rel=me to URLs where it linkbacks to the profile
6 years ago
Haelwenn (lanodan) Monnier b6a001a34c
Web.OAuth.OAuthController: Fix scopes Enum.join for OAuth response
6 years ago
Maxim Filippov f635b675b2 Refactor a little bit
6 years ago
Maxim Filippov f1a4c3163b Show current user in users list as well
6 years ago
Maxim Filippov 5b08b470f6 Add "local" params to users search
6 years ago
William Pitcock 689b0730f8 activitypub: fix date header format
6 years ago
lambda 2f00814475 Merge branch 'bugfix/236-ambiguous-route-for-numerical-handles' into 'develop'
6 years ago
rinpatch 1341ee650e [#675] Do not show DMs in mentions timeline
6 years ago
William Pitcock 28b4093233 mastodon websocket: return errors using ok, not stop
6 years ago
William Pitcock 388a3f4ca2 mastodon websocket: bring back infinity timeout
6 years ago
Maxim Filippov 46f29b9da1 Add search users endpoint
6 years ago
William Pitcock f1d37a5e23 mastodon websocket: use pattern match to get query data, robustly handle errors
6 years ago
William Pitcock bc53dff5b6 mastodon api: websocket: update code for cowboy 2.x
6 years ago
Maxim Filippov 72b7a0797e Use Mastodon API views in Admin API
6 years ago
href a47cc5a2cf Merge branch 'customizable_auth' into 'develop'
6 years ago
Ivan Tashkinov 3281a3f074 Renamed *DatabaseAuthenticator to *Authenticator.
6 years ago
Ivan Tashkinov 4e77f68414 Added `auth_template/0` to DatabaseAuthenticator.
6 years ago
kaniini cf426a719d Merge branch 'with-mutes' into 'develop'
6 years ago
href 90a24fbf95 Merge branch 'customizable_auth' into 'develop'
6 years ago
kaniini 3c849d0438 Merge branch 'deactivated-in-user-view' into 'develop'
6 years ago
Ivan Tashkinov b6f915313f Made auth customization be runtime-configurable.
6 years ago
eugenijm 6b11011039 Added deactivated to the user view
6 years ago
Maxim Filippov 2883f75a3a Add pagination to users admin API
6 years ago
lain bbbdbec4fd Remove parts of the old activity view.
6 years ago
lain 9ade1242c2 Add user muted status info to twitterapi.
6 years ago
lain c1ae495878 Add user muted status info to MastodonAPI.
6 years ago
lain c4235f96bd Add `with_muted` param.
6 years ago
William Pitcock 1536640962 mastodon api: embed relationship card under account card for Pleroma FE convenience
6 years ago
Egor Kislitsyn 5d961d536c fix formatter
6 years ago
Egor c3ac9424d2 AutoLinker
6 years ago
Maxim Filippov 90d0d055fc Add more admin actions
6 years ago
Ivan Tashkinov e98d34e5fb Added missing copyright headers.
6 years ago
Ivan Tashkinov fd46edb473 Merge remote-tracking branch 'remotes/origin/develop' into customizable_auth
6 years ago
Ivan Tashkinov e82b70eb53 Database authenticator behaviour / Pleroma implementation refactoring.
6 years ago
William Pitcock fc9d895ebc twitter card: remove IO.inspect() spam
6 years ago
11backslashes efa506b874 delegate user retrieval to the User module
6 years ago
link0ff e278d47023 OpenLDAP support
6 years ago
lain 9e0686efa6 Move visibility into own module.
6 years ago
lain 62296f5a25 Fix private post card handling.
6 years ago
Ivan Tashkinov afddce45b3 Minor setting name adjustment (:app_template -> :app_layout).
6 years ago
kaniini 5a4e2905fe Merge branch 'fix/twittercards' into 'develop'
6 years ago
KZ 7c722c08f5 Fix: Fixing an outbox related bug when local user activity is empty
6 years ago
Ivan Tashkinov 1097ce6d9f Auth customization support.
6 years ago
lambda 2813f28b6f Merge branch 'bugfix/httpsig-sign-date' into 'develop'
6 years ago
William Pitcock f8a72f2997 activitypub: sign http date header
6 years ago
William Pitcock 1803d9a022 fix fetching AP objects with application/json
6 years ago
William Pitcock 22e2ed235d logging: only return ISE reasons in API responses when in dev or test mode
6 years ago
William Pitcock 8b08096436 logging: improve visibility into ISE errors
6 years ago
Egor bff9eb5ef7 Reports
6 years ago
lain 59c27f29c8 Add some nicer urls in status view.
6 years ago
Ivan Tashkinov b574d97c2e [#468] Added support for `push` OAuth scope (Mastodon 2.4+).
6 years ago
Ivan Tashkinov 6fe7acd58e [#468] Merged `upstream/develop`.
6 years ago
lambda 11b3c10c54 Merge branch 'muting' into 'develop'
6 years ago
Ivan Tashkinov 3ad91ec3c1 [#468] Adjusted scope restriction for MastodonAPIController#index.
6 years ago
Ekaterina Vaartis 5a46d37af9 Update the mute implementation to the current codebase
6 years ago
Ekaterina Vaartis da64ea4a55 Implement mastodon mutes endpoint
6 years ago
Ekaterina Vaartis f41f017bbc Implement muting, add it to the mastodon API
6 years ago
href f4bfc628ca
Player: allow styles on CSP, loop videos
6 years ago
href aa9af1d639
CSP: Allow iframes on embed player
6 years ago
Mark Felder 2d21ea1a0e Merge branch 'develop' into fix/twittercards
6 years ago
href 10a11f083c
Embed player suitable for Twitter Cards
6 years ago
eugenijm 25b9e7a8c3 Added admin API for changing user activation status
6 years ago
Ivan Tashkinov c0ecbf6669 [#468] Merged `upstream/develop`.
6 years ago
lambda f25a3f4f78 Merge branch 'fix/check-follower-collection-in-is_private' into 'develop'
6 years ago
rinpatch 96dcacade1 properly check for follower address in is_private?
6 years ago
kaniini 833161b5d2 Merge branch 'feature/jobs' into 'develop'
6 years ago
kaniini a39a094cda Merge branch 'patch-image-description' into 'develop'
6 years ago
kaniini 7456338ed3 Merge branch 'feature/add-oauth-tokens-endpoint' into 'develop'
6 years ago
kaniini c23bd05737 Merge branch 'features/flavour-switching' into 'develop'
6 years ago
kaniini cd019a5927 Merge branch 'follow-request-count' into 'develop'
6 years ago
kaniini 3f38a05571 Merge branch 'csv-export' into 'develop'
6 years ago
Maxim Filippov 94708d6370 Render only "id", "valid_until" and "app_name" in TokenView
6 years ago
lambda f26582aae9 Merge branch 'mastoapi-stop-capping-attachments' into 'develop'
6 years ago
Ivan Tashkinov d3fe2c8ec6 [#468] Formatting fix.
6 years ago
Ivan Tashkinov bc4f77b10b [#468] Merged `upstream/develop`, resolved conflicts.
6 years ago
Ivan Tashkinov dcf24a3233 [#468] Refactored OAuth scopes' defaults & missing selection handling.
6 years ago
rinpatch 8f98d970c1 Fix recipient count in hellthread policy
6 years ago
Haelwenn (lanodan) Monnier 4df455f69b
[MastoAPI] Add switching of frontend flavours
6 years ago
rinpatch 96c725328b Remove a limit on attachments in Mastodon API and document the changes in responses from vanilla mastodon
6 years ago
lain 38e15930cb Add option to return all friends in twitter api.
6 years ago
Ivan Tashkinov 2a4a4f3342 [#468] Defined OAuth restrictions for all applicable routes.
6 years ago
lambda 1ce1b7b58d Merge branch 'bugfix/oauth-token-padding' into 'develop'
6 years ago
rinpatch 921571c19b Merge branch 'hellthread-filter-fix' into 'develop'
6 years ago
Karen Konou c2e0a0c8d4 Readd threshold is not 0 check, optmization?
6 years ago
Karen Konou dca6bee2f7 Rename test, add check for follower collection when delisting
6 years ago
rinpatch b63a5e309d Merge branch 'bugfix/actor-containment' into 'develop'
6 years ago
Karen Konou d943c90249 Add tests, change default config values, fix a bug
6 years ago
eugenijm ecdf0657ba Add logic for keeping follow_request_count up-to-date on the `follow`,
6 years ago
lambda ea2698beb7 Merge branch 'bugfix/activitypub-reserialization' into 'develop'
6 years ago
William Pitcock 56862f4ce1 activitypub: clean up logging statements a little
6 years ago
Wim Vanderbauwhede 04b1c13554 Merge remote-tracking branch 'upstream/develop' into patch-image-description
6 years ago
Ivan Tashkinov 027adbc9e5 [#468] Refactored OAuth scopes parsing / defaults handling.
6 years ago
Egor Kislitsyn 3f32d7b937 Fix queue name
6 years ago
Egor Kislitsyn 907306174b fix S3 links encoding in Mediaproxy
6 years ago
William Pitcock 72ba5b4ab7 activitypub: user view: formatting
6 years ago
William Pitcock 5307c211b8 activitypub: user view: report totalItems=0 for follows/followers when hidden
6 years ago
William Pitcock 6542b86292 activitypub: user view: remove totalItems from user outbox
6 years ago
William Pitcock ee2fa1a314 activitypub: user view: remove totalInbox from user inbox view
6 years ago
kaniini bc9e5e6b65 Merge branch 'feature/activitypub-oauth-endpoints' into 'develop'
6 years ago
William Pitcock 64620d8980 activitypub: user view: do not expose oAuth endpoints for instance users
6 years ago
William Pitcock e9ef4b8da6 oauth: never use base64 padding when returning tokens to applications
6 years ago
William Pitcock e05bf2940f activitypub: transmogrifier: correctly handle nil inReplyTo value
6 years ago
William Pitcock 94cbbb0e3a activitypub: transmogrifier: do not attempt to expand pre-existing AS2 tag objects
6 years ago
Mark Felder f62c1d6266 Improve login error for OAuth flow
6 years ago
Ivan Tashkinov 063baca5e4 [#468] User UI for OAuth permissions restriction. Standardized storage format for `scopes` fields, updated usages.
6 years ago
William Pitcock 9bd6ed975e activitypub: user view: use route helpers instead of hardcoded URIs
6 years ago
William Pitcock 29e946ace4 activitypub: user view: add oauthRegistrationEndpoint to user profiles
6 years ago
William Pitcock db8abd958d activitypub: user view: fix up endpoints rendering
6 years ago
William Pitcock 90facd3598 user view: add AP C2S oauth endpoints to local user profiles
6 years ago
Karen Konou bef9b9cb66 refactored code
6 years ago
Karen Konou adcdd21f16 Merge branch 'develop' into hellthread-filter-fix
6 years ago
Maxim Filippov 760fec4cb8 Update token.ex
6 years ago
Maxim Filippov 62a45bdc11 Add revoke token
6 years ago
Maxim Filippov 61a4bc5095 Add OAuth tokens endpoint
6 years ago
Karen Konou 1d727cd069 added checks for public url and follower collections
6 years ago
Mark Felder c984e8272a Formatting
6 years ago
Mark Felder 4956ab5ea3 Fix compile
6 years ago
Mark Felder ac7ef0999d WIP: Fix Twitter Cards
6 years ago
rinpatch 379d04692c Filter summary in keywordpolicy
6 years ago
rinpatch 39383a6b79 Merge branch 'feature/thread-muting' into 'develop'
6 years ago
lambda 044616292b Merge branch 'feature/rich-media-limits' into 'develop'
6 years ago
Karen Konou ac72b578da Merge branch 'develop' into feature/thread-muting
6 years ago
Karen Konou c01ef574c1 Refactor as per Rin's suggestions, add endpoint tests
6 years ago
lambda d53e36bf1e Revert "Merge branch 'object-creation' into 'develop'"
6 years ago
Egor Kislitsyn 305d219413 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/jobs
6 years ago
William Pitcock 45e57dd187 rich media: tighten fetching timeouts and size limits
6 years ago
kaniini 6c8d15da11 Merge branch 'fix/credo-issues' into 'develop'
6 years ago
Karen Konou cc21fc5f53 refactor, status view updating, error handling
6 years ago
lain f8388be9c6 Do object insertion through Cachex
6 years ago
Karen Konou 6a150de3bd Add unique index and unique constraint check, uniqueness test fails
6 years ago
Karen Konou a0d732ec55 it works!!
6 years ago
Haelwenn (lanodan) Monnier d924dc73ba
de-group import/s
6 years ago
Haelwenn (lanodan) Monnier 6a6a5b3251
de-group alias/es
6 years ago
Ivan Tashkinov a337bd114c [#468] MastodonAPI scope restrictions. Removed obsolete "POST /web/login" route.
6 years ago
Ivan Tashkinov 4ad843fb9d [#468] Prototype of OAuth2 scopes support. TwitterAPI scope restrictions.
6 years ago
Haelwenn (lanodan) Monnier 2272934a5e
Stash
6 years ago
Haelwenn (lanodan) Monnier d2e4eb7c74
Web.ActivityPub.ActivityPub: assign the Enum.filter to recipients & simplify it
6 years ago
Haelwenn (lanodan) Monnier 473095faf2
Web.Federator: Fix unused variable
6 years ago
Haelwenn (lanodan) Monnier 60ea29dfe6
Credo fixes: alias grouping/ordering
6 years ago
Haelwenn (lanodan) Monnier 106f4e7a0f
Credo fixes: parameter consistency
6 years ago
Haelwenn (lanodan) Monnier 8bcfac93a8
Make credo happy
6 years ago
lambda 1eecbc1cd1 Merge branch 'feature/keyword-policy' into 'develop'
6 years ago
Karen Konou 7e47a810a2 help i am not good with git
6 years ago
Karen Konou 5c5b228f21 Added thread unmuting (still a bit buggy maybe)
6 years ago
Karen Konou a44e532fb1 Added thread unmuting (still a bit buggy maybe)
6 years ago
rinpatch 7356659273 wow
6 years ago
Karen Konou 98ec578f4d Merge branch 'develop' into feature/thread-muting
6 years ago
rinpatch f88dec8b33 What idiot did that? (me)
6 years ago
rinpatch 6c21f5aa16 Merge branch 'develop' into feature/keyword-policy
6 years ago
rinpatch 8a0b755c19 rename ftl_removal to federated_timeline_removal to keep consistent naming with SimplePolicy
6 years ago
rinpatch 2174f6eb4f Add default config for keyword policy
6 years ago
rinpatch 46aa8c18a2 Add keyword policy
6 years ago
Karen Konou c43f414a79 Somehow fixed the repo insert [skip-ci]
6 years ago
Karen Konou 7e3ec93ed0 made a silly oopsie
6 years ago
Karen Konou 77448de492 ugghhhh
6 years ago
Ivan Tashkinov 2c68cf7e9e OAuth2 security fixes: redirect URI validation, "Mastodon-Local" security breach fix.
6 years ago
Karen Konou f4ff4ffba2 Migration and some boilerplate stuff
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
Haelwenn 1220a17146 Merge branch 'bugfix/rich-media-card' into 'develop'
6 years ago
kaniini 18e783bcb2 Merge branch 'add-admin-and-moderator-fields' into 'develop'
6 years ago
William Pitcock 65a4b9fbea mastodon api: rich media: don't clobber %URI struct with a string
6 years ago
rinpatch f7aedbcc55 Merge branch 'fix/activitypub-user-view-badmap' into 'develop'
6 years ago
href f753043ce0
Fix if clause in activity_pub user_view
6 years ago
Egor Kislitsyn 6f05f448f8 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/jobs
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
William Pitcock d83dbd9070 rich media: parser: reject any data which cannot be explicitly encoded into JSON
6 years ago
kaniini d120aa63f0 Merge branch 'fix-dm-index' into 'develop'
6 years ago
kaniini 681ba1e52f Merge branch 'feature/ap-c2s-whoami' into 'develop'
6 years ago
kaniini eb2b1960e0 Merge branch 'feature/split-hide-network-v2' into 'develop'
6 years ago
kaniini ecdb0b7f57 Merge branch 'bugfix/rich-media-image-nil' into 'develop'
6 years ago
William Pitcock 1d94b67e40 mastodon api: fix rendering of cards without image URLs (closes #597)
6 years ago
William Pitcock e71ab5a10f activitypub: transmogrifier: fix bare tags
6 years ago
William Pitcock db1165f70f activitypub: c2s: add /api/ap/whoami endpoint for andstatus
6 years ago
lain f3c8b02d65 Massage index until it actually does the stuff we want.
6 years ago
William Pitcock 7d110be119 activitypub: mrf: tag policy: fix force-unlisted and sandbox actions
6 years ago
William Pitcock 64a3993425 activitypub: mrf: tag policy: add support for subscription control
6 years ago
Egor Kislitsyn 14d967f515 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/jobs
6 years ago
William Pitcock ff2c28fd6d activitypub: mrf: tag policy: refactor the filtering hook a bit
6 years ago
William Pitcock 9a69f08e86 activitypub: mrf: tag policy: add support for processing follow requests
6 years ago
William Pitcock 084bb8ccd5 activitypub: mrf: tag policy: implement force-unlisted and sandbox
6 years ago
William Pitcock 88e32a32ce mrf: add initial MRF.TagPolicy engine
6 years ago
rinpatch 00835bf678 Merge branch 'fix/rich-media-relative-path' into 'develop'
6 years ago
Egor Kislitsyn 3a3a3996b7 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/jobs
6 years ago
rinpatch 89762ad230 Merge branch 'feature/hellthread-filter-improvements' into 'develop'
6 years ago
Karen Konou 58262a8b8a removed a debug thingy
6 years ago
Karen Konou 4430641349 squished a bug
6 years ago
Karen Konou 3cf046babb actually commited the changes
6 years ago
Karen Konou 63a4f4b7be fixed Map,put arguments, updated nomenclature
6 years ago
Karen Konou 583c4e0f17 more tweaks, fixed silly mistakes...
6 years ago
Karen Konou e10cda7541 implemented tweaks
6 years ago
Karen Konou 531507a635 fixed things
6 years ago
Karen Konou 10130fa7d6 made toggleable, added docs
6 years ago
Karen Konou 0ef0ae35ab added optional delist feature
6 years ago
Maxim Filippov 16ce129e38 Split hide_network into hide_followers & hide_followings (fixed)
6 years ago
lambda 69a38644bc Merge branch '589-fix-cache' into 'develop'
6 years ago
lain 505a084058 Still do caching in tests.
6 years ago
Ivan Tashkinov 3913b0196e [#582] Made single-pub task call Instance.set_reachable/1 if `set_reachable` is not specified.
6 years ago
Ivan Tashkinov b40b4bc4e5 [#582] Optimized federation retirement by reducing the number of SQL calls
6 years ago
Maxim Filippov 2c59eb3cfc Add responsive features to layout
6 years ago
rinpatch 68d461b3a9 Check if rich media uri is relative
6 years ago
rinpatch 833404f0f5 Use with instead of if in the card
6 years ago
rinpatch e4d18f328b merge only if page_url is an absolute path
6 years ago
rinpatch cbadf9d333 Fix rich media relative path
6 years ago
kaniini 486749064f Revert "Merge branch 'feature/split-hide-network' into 'develop'"
6 years ago
href ffbf306c9a Merge branch 'streaming-api-url-fix' into 'develop'
6 years ago
eugenijm a184811a60 Use url() instead of static_url in Endpoint.websocket_url()
6 years ago
href 7e384a2425 Merge branch 'develop' into 'develop'
6 years ago
Luna 9cac8729af update nodeinfo version when requesting 2.1
6 years ago
eugenijm d747bd9870 Use String.replace_leading instead of String.replace for getting websocket streaming api url.
6 years ago
Luna 1cdcee89da mix format pass
6 years ago
Luna 23b1c64a19 downcase software name in nodeinfo
6 years ago
Luna b17ce875cf keep compatibility with nodeinfo 2.0
6 years ago
Haelwenn (lanodan) Monnier 74c6119f28
MastodonAPI.MastodonAPIController: Return a 404 when we fail to get a list
6 years ago
kaniini 0a82a7e6d6 Merge branch 'feature/split-hide-network' into 'develop'
6 years ago
lambda fc7644798d Merge branch 'serve-sw-pleroma.js' into 'develop'
6 years ago
href fa5ec765d9
Serve sw-pleroma.js properly
6 years ago
lain 01d483f9c7 Merge remote-tracking branch 'origin/develop' into fix-rich-media-toggle
6 years ago
href b3b0855456 Merge branch '534_federation_targets_reachability' into 'develop'
6 years ago
Luna b0c4c082c4 mix format pass
6 years ago
Luna c05928dbda use nodeinfo 2.1, add repository field
6 years ago
lain b19b4f8537 Remove default value for rich media.
6 years ago
lambda 44913c1019 Merge branch 'bugfix/rich-media-non-unicode' into 'develop'
6 years ago
William Pitcock 46dba03098 rich media: parser: only try to validate strings, not numbers (OEmbed)
6 years ago
William Pitcock dafb6f0b5e rich media: parser: reject OGP fields we cannot safely process
6 years ago
rinpatch 7057891db6 Make rich media support toggleable
6 years ago
Haelwenn 00d4333373 Merge branch 'features/glitch-soc-frontend' into 'develop'
6 years ago
Egor Kislitsyn d3677d2b4d Merge remote-tracking branch 'MAIN/develop' into feature/jobs
6 years ago
href 5ea0397e2d
Fix 4aff4efa typos
6 years ago
href 4aff4efa8d
Use multiple hackney pools
6 years ago
kaniini 7a2c4f984b Merge branch 'bugfix/fix-rejects' into 'develop'
6 years ago
kaniini d03a116654 Merge branch 'hj-happiness-improvement' into 'develop'
6 years ago
William Pitcock 57549f6043 activitypub: utils: update the state of *any* pending follow relationship that matches the actor and target
6 years ago
William Pitcock cbb2b709de activitypub: transmogrifier: fix follow request rejections
6 years ago
Ivan Tashkinov 92753b0cd9 [#534] Made federation push sender be determined basing on content instead of `referer` header. Updated tests.
6 years ago
Haelwenn ebb3496386 Merge branch 'feature/rich-media-part-2-electric-boogaloo' into 'develop'
6 years ago
William Pitcock 61d6715714 rich media: oembed: return data in the same format as the other parsers
6 years ago
William Pitcock ddb5545202 rich media: kill some testsuite noise
6 years ago
William Pitcock 0f11254a06 rich media: parser: add some basic sanity checks on the returned data with pattern matching
6 years ago
William Pitcock 83b7062634 rich media: parser: cache negatives
6 years ago
William Pitcock 8fb16e9f0f rich media: parser: add copyright header
6 years ago
Maxim Filippov 50d6183893 Split hide_network into hide_followers & hide_followings
6 years ago
Egor Kislitsyn 55affbca7f add a job queue
6 years ago
Ivan Tashkinov d3f9e6f6fe [#534] Merged `upstream/develop`.
6 years ago
Ivan Tashkinov 1d2f41642c [#534] Various tweaks. Tests for Instances and Instance.
6 years ago
lain 8e8a1e1ba8 Return new-style config if old-style config is set to false.
6 years ago
Haelwenn de0fb88a9c Merge branch 'safe-render-activities' into 'develop'
6 years ago
href df2f7b39dd
re f83bae7c: remove unnecessary filter
6 years ago
lain 1825118fd4 Correctly handle invalid credentials on auth login.
6 years ago
Ivan Tashkinov 9560abea10 [#534] Refactoring / tweaks per MR review.
6 years ago
William Pitcock ddc7ae2c1a mastodon api: card: force OGP images through mediaproxy
6 years ago
William Pitcock ebeabdcc72 rich media: helpers: clean up unused aliases
6 years ago
William Pitcock 91ef64a1ec activitypub: prime OGP crawler cache when new messages are inserted into the database
6 years ago
William Pitcock 8e42251e06 rich media: add helpers module, use instead of MastodonAPI module
6 years ago
William Pitcock 24a103a1fe mastodon api: formatting
6 years ago
William Pitcock 6096846f5f API: kill /api/rich_media/parse endpoint
6 years ago
William Pitcock 07a9a891ad twitter api: fix up activity representer
6 years ago
William Pitcock de42646634 rich media: add try/rescue to ensure we catch parsing and fetching failures
6 years ago
William Pitcock 5d895093fd twitter api: embed card in twitterapi posts
6 years ago
William Pitcock 5a37ddc2dc mastodon api: embed card in status object
6 years ago
William Pitcock 132d815f1f mastodon api: factor out status card fetching, move status card rendering to statusview, add opengraph extended data
6 years ago
Haelwenn (lanodan) Monnier cda1470e02
[MastoAPI][GlitchAPI] Add bookmarks
6 years ago
Haelwenn (lanodan) Monnier 872241d7c5
/web/index template: Modify for glitch-soc
6 years ago
href 71bb90073b
/notice/:id - send the FE index even if 404
6 years ago
lambda 16ab1437d6 Merge branch 'safe-render-activities' into 'develop'
6 years ago
kaniini ea12371a01 Merge branch 'discard-invalid-likes' into 'develop'
6 years ago
href 77f2137383
Transmogrifier: fix incoming objects with invalid likes
6 years ago
href f83bae7c22
Views: wrap activity rendering in a rescue
6 years ago
kaniini 5eb81d2c72 Merge branch 'features/mastoapi-multi-hashtag' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier a65c188593
Web.MastodonAPI.AccountView: Add is_moderator and is_admin
6 years ago
William Pitcock 8f2f471e94 rich media: gracefully handle fetching nil URIs
6 years ago
Haelwenn (lanodan) Monnier de956b9e04
Web.MastodonAPI.MastodonAPIController: tag+any bookmark params in a array and flatten it
6 years ago
William Pitcock 1f7843b9b8 mastodon api: use OGP uri instead of page_url for deducing domain name, fix test
6 years ago
William Pitcock 86037e9c39 mastodon api: use HTML.extract_first_external_url()
6 years ago
William Pitcock 78047d57bf mastodon api: provider_name setting is required too on the card
6 years ago
Haelwenn (lanodan) Monnier 39863236eb Web.MastodonAPI.MastodonAPIController: generic get_status_card/1 function for MastoAPI 2.6.x
6 years ago
Haelwenn (lanodan) Monnier 3f64379b13 Web.MastodonAPI.MastodonAPIController: Add Rich-Media support
6 years ago
Haelwenn (lanodan) Monnier 5a84def6a6
Fix the logic in multi-hashtag TLs
6 years ago
Haelwenn (lanodan) Monnier 4ad0ad14ed
Web.ActivityPub.ActivityPub: Simplify multi-hashtag, add tests
6 years ago
Haelwenn (lanodan) Monnier 1a9bb4daa0
[Web.ActivityPub.ActivityPub]: Fix restrict_tag()
6 years ago
Haelwenn (lanodan) Monnier f9cae0d04f
[WIP,MastoAPI] Multi-tag timelines
6 years ago
Haelwenn (lanodan) Monnier 15aa45ae8a
Web.ActivityPub.ActivityPub: Fix check_remote_limit/1 against activities with content: nil
6 years ago
Ivan Tashkinov 060d280e64 [#534] Made Salmon.send_to_user calls be handled through Federator.enqueue.
6 years ago
Ivan Tashkinov 465adedb7c [#534] Websub fix: made SQL use UTC time zone when comparing with `valid_until` (instead of postgresql-server default time zone).
6 years ago
rinpatch 3a5b3c5a3a Merge remote-tracking branch 'pl/develop' into oembed_provider
6 years ago
kaniini 4c99b6d35a Merge branch 'fix/tusky-dm' into 'develop'
6 years ago
kaniini c9b418e547 Merge branch 'develop' into 'oembed_provider'
6 years ago
kaniini 4df71cd88b Merge branch 'classic-flakeids' into 'develop'
6 years ago
Maxim Filippov 9274cabe01 Use correct logic to determine "attentions" list
6 years ago
Ivan Tashkinov 3e9399ec0b [#534] Optimized bulk publish ops to filter on reachability early. `Instance` refactoring.
6 years ago
Ivan Tashkinov 8654a591f0 [#534] Updating external instances reachability on incoming federation.
6 years ago
William Pitcock 54ec6d09b0 mrf: add anti-followbot policy
6 years ago
Ivan Tashkinov 20b54366ee [#534] Federation publish requests status control (enforced 2xx response code check).
6 years ago
Maxim Filippov 4333fea1dc Send "hide_network" in user_view
6 years ago
Ivan Tashkinov f161a92cb1 [#534] Initial implementation of unreachable federation targets retirement.
6 years ago
lain 2de208817c Merge branch 'develop' into rename/pleroma_activity_consistency
6 years ago
lain e221c681dc New frontend configuration mechanism.
6 years ago
href 973c9eed18
Treat User.Info pinned ids as strings
6 years ago
href cdc5e6ff5c
ActivityPub: restrict_since/restrict_max: ignore empty param
6 years ago
href 28d77e373c
Flake Ids for Users and Activities
6 years ago
href f9a3269099
Uploader callback controller
6 years ago
lambda 8cd853ce0c Merge branch '530_federator_user_info_overwrite_fix' into 'develop'
6 years ago
lambda 69454c8345 Merge branch 'feature/dm-sanity' into 'develop'
6 years ago
Ivan Tashkinov a4d3fec8a7 [#502] Code comments update.
6 years ago
Ivan Tashkinov aa480f4a8b [#530] Prevents user `info` from being overwritten because of race conditions
6 years ago
Haelwenn (lanodan) Monnier 98c8184c1f
Activity: get_create_activity_by_object_ap_id/1 → get_create_by_object_ap_id/1
6 years ago
Haelwenn (lanodan) Monnier 2fdbd4d137
Activity: create_activity_by_object_id_query/1 → create_by_object_ap_id/1 when is_list
6 years ago
Haelwenn (lanodan) Monnier f8ab1b7427
Activity: get_all_by_object_ap_id/1 → get_all_create_by_object_ap_id/1
6 years ago
Haelwenn (lanodan) Monnier b82c6dc536
Activity: all_by_object_ap_id/1 → get_all_by_object_ap_id/1
6 years ago
lain cf1f35a93a Send delete event over Mastodon streaming api
6 years ago
lambda f3045a179e Merge branch 'i1t/pleroma-477_user_search_improvements' into 'develop'
6 years ago
William Pitcock aa37313416 activitypub: short-circuit is_public?() with directMessage flag check
6 years ago
William Pitcock 7c9749f793 transmogrifier: slightly clean up fix_explicit_addressing pipeline
6 years ago
William Pitcock 420651157b transmogrifier: don't apply heuristics against messages which have `directMessage` set true
6 years ago
William Pitcock ddae43eb43 activitypub: add is_private?/is_direct? helpers
6 years ago
William Pitcock 9adc80afff common api: set directMessage flag on our own posts
6 years ago
William Pitcock 75dfa1f0b0 mastodon api: get_visibility(): DMs never have a cc list.
6 years ago
William Pitcock 681f40ee5c activitypub: transmogrifier: fix up to/cc addressing brain damage caused by mastodon-style explicit DMs
6 years ago
William Pitcock 8d06be35e0 activitypub: utils: add determine_explicit_mentions() and tests
6 years ago
kaniini 42612b1c8d Merge branch 'bugfix/improve-boost-targeting' into 'develop'
6 years ago
rinpatch 44693fbf6e Formating
6 years ago
rinpatch afd83db0d7 Provide local og:url for remote activities
6 years ago
kaniini 651ce1c97b Merge branch '491_full_mentions_in_user_bio' into 'develop'
6 years ago
Maxim Filippov 651a1d64b5 Add current user to mentioned
6 years ago
Maxim Filippov e116e55cab Add actor to recipients
6 years ago
rinpatch 74346a7035 Fix merge conflict
6 years ago
rinpatch 997f4a5e09 Remove custom emojis and trailing whitespaces from previews
6 years ago
rinpatch 1b1af4798a Use object instead of activity for metadata
6 years ago
Ivan Tashkinov 65bb9b2fba [#491] Made full nicknames be preserved in user links text only in Bio.
6 years ago
William Pitcock 75a9b2a851 activitypub: add a match clause for objects, not just activities
6 years ago
William Pitcock dbc4e92509 activitypub: transmogrifier: do not clobber the addressing on relayed announcements
6 years ago
William Pitcock 33b473cc02 activitypub: allow is_public?() to work on any type of map representing an AS2 object
6 years ago
William Pitcock 8e9f1d5587 activitypub: relay: chase selective public announce changes
6 years ago
William Pitcock 2479e88815 activitypub: announce: add new public parameter
6 years ago
kaniini ae8a5942cf Merge branch 'bad-copy-paste' into 'develop'
6 years ago
sxsdv1 948fba6f76 Fix bad link in likes collection
6 years ago
rinpatch a95d5da607 Don't show content if empty or zero width space
6 years ago
Mark Felder 849c83ed46 formatting
6 years ago
Mark Felder 6bc9a641ba Default to disabled in the code in case the setting is absent from config.exs
6 years ago
Mark Felder 8c368d42a2 Make attachment links configurable
6 years ago
rinpatch 4d5f15cd42 Introduce optional unfurling of nsfw content
6 years ago
rinpatch 0256bd2f1d Use object url instead of a hack
6 years ago
rinpatch fd3a558230 Apply feld's patch
6 years ago
rinpatch 5fa508cc2b Remove @providers and call Pleroma.config on runtime
6 years ago
rinpatch bb43f4cee9 Remove useless with in opengraph.ex
6 years ago
rinpatch 293f6a8b71 join us now and share the software~. Also tests
6 years ago
lain 943324b661 MastoAPI: Don't break on missing users.
6 years ago
rinpatch b44995866b Replace map with reduce to remove nils
6 years ago
rinpatch ff01fd3c4f Remove caching because it does not affect performance and may be even worse in some cases
6 years ago
rinpatch bfe2a11a6b Add config doc
6 years ago
rinpatch a9c27e137d Add a fallback function to handle generic params, just in case
6 years ago
rinpatch a76793006b Thanks you rinpatch, very cool
6 years ago
rinpatch 0039d45b5b No need to use activity in the key
6 years ago
rinpatch 70b2bb6ede add caching
6 years ago
rinpatch dd1432d695 Disable previews for any activity, but create
6 years ago
rinpatch 565caff3f4 cache HTML in OGP
6 years ago
rinpatch 9aa69e12b8 Add behaviours to TwitterCard, remove some dumb stuff in Formatter.truncate
6 years ago
rinpatch 2e630bea0d Add twitter card, filter nsfw
6 years ago
rinpatch 70f140681f Add space between name and nickname
6 years ago
rinpatch e8eecd61b4 Formating
6 years ago
rinpatch 410fd9d774 Attach attachments
6 years ago
William Pitcock 17da432dbb websub: improve error handling
6 years ago
rinpatch ff6c9a5c96 Introduce get_by_id in Activity, replace newlines with spaces
6 years ago
rinpatch 850912b06b refactor opengraph to a different module with a behaviour
6 years ago
rinpatch 8745c8c990 remove useless newlines after every tag. Make domain.com/username provide opengraph too
6 years ago
rinpatch 2858fd2da2 add a fallback function
6 years ago
rinpatch ce15e0659e Fix some edge cases [nervous laughter]
6 years ago
rinpatch 4656f433f9 Move metadata.ex out of ostatus
6 years ago
lambda fd2f1258fb Merge branch 'load-all-dms' into 'develop'
6 years ago
Ivan Tashkinov dc45ec62c2 [#477] User search improvements: tsquery search with field weights, friends & followers boosting.
6 years ago
kaniini de1da7b3d1 Merge branch 'feature/add-oembed-parser' into 'develop'
6 years ago
kaniini fa0392e49c Merge branch 'activitypub-likes' into 'develop'
6 years ago
William Pitcock 6e5b0406b9 mrf: add no placeholder-text policy, strips pointless "." content from posts with images
6 years ago
rinpatch e4dc3f71ae Resolve merge conflict
6 years ago
Maxim Filippov b8a77c5d70 Add OEmbed parser
6 years ago
sxsdv1 868034375c Add likes to activitypub object representation
6 years ago
sxsdv1 581edd5a91 Add route to get object like activities
6 years ago
sxsdv1 36711e1c83 Handle client submitted activitypub like activity
6 years ago
sxsdv1 1eb7318831 Prepare all types objects before serialising
6 years ago
Sadposter 9daf162461 Honour parameters on MastoAPI /favourites
6 years ago
Sadposter 144b48da95 Add link headers to MastoAPI /favourites
6 years ago
Egor Kislitsyn b594a54d0c unpin when deleting a status
6 years ago
kaniini e4afe1359b Merge branch 'activitypub-dereference-activity-id' into 'develop'
6 years ago
Maxim Filippov 1f851a0723 Add Twitter Card parser
6 years ago
kaniini 11d08c6226 Merge branch 'twapi-follower-pagination' into 'develop'
6 years ago
Haelwenn ab4c5f5bf7 Merge branch 'bugfix/markdown-newline-codeblocks' into 'develop'
6 years ago
William Pitcock 0bdbd4f968 common api: utils: remove newline to <br> conversion from bare HTML to be consistent with markdown
6 years ago
William Pitcock 2ecf81f10c common api: fix newlines in markdown code blocks
6 years ago
kaniini 7f5efddd6e Merge branch 'feature/pinned-posts' into 'develop'
6 years ago
kaniini d203b0b4d3 Merge branch 'dm-optimizations' into 'develop'
6 years ago
rinpatch b57db828c7 Merge branch 'hotfix/ogp-cachex-fix' into 'develop'
6 years ago
rinpatch a2d7f0e0e9 Remove :commit since a tuple is already returned
6 years ago
lain a99e156f2c Add integer casts.
6 years ago
lain 7ac152ed38 TwitterAPI: Add follower/following pagination.
6 years ago
lambda 1881680e28 Merge branch 'scarlett/pleroma-summary-html-api' into 'develop'
6 years ago
lain 5027f82cde Add activity visibility index.
6 years ago
Egor Kislitsyn 44a1e69484 Add Twitter API for the pinned statuses
6 years ago
lain 9854978b8b Remove recent activity restriction.
6 years ago
Egor Kislitsyn 1b06e6fdf3 only non-reblogs, self-authored, public statuses can be pinned
6 years ago
sxsdv1 20c0dd1e24 Support activity+json request for activity
6 years ago
Egor Kislitsyn 0c750bc432 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/pinned-posts
6 years ago
Egor Kislitsyn e679da4c34 add `pinned` property to `StatusView`
6 years ago
lain a16b17cc61 Actually put some onformation in the error user, make it actually properly parse
6 years ago
kaniini 74e1093732 Merge branch 'resilient-user-view' into 'develop'
6 years ago
Egor Kislitsyn f24087f96e Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/pinned-posts
6 years ago
Egor Kislitsyn 380e9fba21 add pinned posts
6 years ago
lain 7382adf407 Make TwAPI UserView more resilient to issues.
6 years ago
scarlett 36fa5e8802 Check visible_for_user when performing a search using a direct link.
6 years ago
scarlett 52493467ac Twitter API: Add a summary_html field.
6 years ago
kaniini 576368237c Merge branch 'activitypub-tombstone-fix' into 'develop'
6 years ago
scarlett 145d6fe6e9 Merge branch 'emoji-in-summary' into 'develop'
6 years ago
scarlett 6556be344d Resolve some test failures.
6 years ago
scarlett 3c86d907d4 add some brakets to the emoji list.
6 years ago
scarlett 0787f0dfbe Strip HTML in and allow emoji in summaries.
6 years ago
sxsdv1 2d7da5f437 Don't crash on AP request for tombstone
6 years ago
rinpatch ba17518a0a Merge branch 'feature/rich-media-cachex' into 'develop'
6 years ago
William Pitcock 487c00d36d rich media: disable cachex in test mode
6 years ago
kaniini bf5aaefbb5 Merge branch 'fix/html-cache-content-collision' into 'develop'
6 years ago
William Pitcock 0964c207eb rich media: use cachex to avoid flooding remote servers
6 years ago
Rin Toshaka 846082e54f Different caches based on the module. Remove scrubber version since it is not relevant anymore
6 years ago
kaniini 4258dd8633 Merge branch 'feature/rich-media' into 'develop'
6 years ago
kaniini ffea81b84f Merge branch 'activitypub-c2s-delete-activity' into 'develop'
6 years ago
Wim Vanderbauwhede ba93396649 Patch to support image descriptions in Pleroma FE
6 years ago
Wim Vanderbauwhede 4c95545d19 Patch to support image descriptions in Pleroma FE
6 years ago
Wim Vanderbauwhede fe2dceb66d Patch to support image descriptions in Pleroma FE
6 years ago
kaniini d9d62a110c Merge branch 'mr/retry-queue-remove-fold' into 'develop'
6 years ago
rinpatch b73a1a33de Merge branch 'captcha' into 'develop'
6 years ago
Michael Loftis 943211b035 rewrites List.foldl to Enum.each
6 years ago
Maxim Filippov 48e81d3d40 Add RichMediaController and tests
6 years ago
sxsdv1 4e1cc2bab6 Implement delete activity
6 years ago
sxsdv1 551c3d9391 Split create activity specifics from update_outbox
6 years ago
Maxim Filippov 917d48d09b Better variable name
6 years ago
Maxim Filippov 2aab4e03c3 Add OGP parser
6 years ago
kaniini 32bed66471 Merge branch 'pool-usage' into 'develop'
6 years ago
rinpatch 34fa709015 Merge branch 'configurable-federator' into 'develop'
6 years ago
lambda 32541172cd Merge branch 'cleanup/admin-api-useless-if' into 'develop'
6 years ago
lain 400337b0a7 Make Federator options configurable.
6 years ago
lain 096a927805 Merge remote-tracking branch 'origin/develop' into pool-usage
6 years ago
lain d4799e0dc2 Remove default pool, it's used automatically anyway.
6 years ago
Haelwenn (lanodan) Monnier 1e6c102bfc
Web.AdminAPI.AdminAPIController: Remove a useless if in user_delete
6 years ago
kaniini 90e157ef80 Merge branch 'features/admin-api-user-views' into 'develop'
6 years ago
William Pitcock 980b5288ed update copyright years to 2019
6 years ago
lambda 33e3a7ba7d Merge branch 'fix/scrubber-cache' into 'develop'
6 years ago
Rin Toshaka 7e09c2bd7d Move scrubber cache-related functions to Pleroma.HTML
6 years ago
kaniini 8e7da98b18 Merge branch 'mr/retry-queue' into 'develop'
6 years ago
Rin Toshaka dec23500d8 Resolve merge conflict
6 years ago
Rin Toshaka c119ea3a57 Friendship ended with Postgresql now Cachex is my best friend
6 years ago
Rin Toshaka 535fddd286 Friendship ended with Postgresql now Cachex is my best friend
6 years ago
Rin Toshaka d9f40b05b3 Added get_stripped_html_for_object. Renamed a few things
6 years ago
Michael Loftis cb286fdeba Improves RetryQueue behavior
6 years ago
Rin Toshaka bce152aba0 Tidy up the code. Rename key to signature
6 years ago
Rin Toshaka 66d1c31461 Fix some stupid typos
6 years ago
sxsdv1 f40562b4e1 Respond with full activity to outbox post
6 years ago
sxsdv1 1e781715c8 Limit activity types accepted to outbox to only 'Create'
6 years ago
sxsdv1 569bad8210 Create activity when client posts to outbox
6 years ago
sxsdv1 26dc2dddab Implement ActivityPub inbox view
6 years ago
Rin Toshaka a32e23905a Use Object.change instead of Ecto.Changeset.change
6 years ago
sxsdv1 aa082ca7b6 Wire up stub routes for client calls of activitypub inbox/outbox
6 years ago
Rin Toshaka 9a0163db53 use Kernel.put_in instead of Map.merge
6 years ago
Rin Toshaka 19f9889fbe I am not sure what's going on anymore so I'll just commit and reset all the other files to HEAD
6 years ago
kaniini 3dc5f04976 Merge branch 'carrot-bullying' into 'develop'
6 years ago
kaniini dd8f2196f6 Merge branch '483_blocks_import_export' into 'develop'
6 years ago
Maksim Pechnikov 523848d1fd Salmon# fixed publish an activity to remote accounts
6 years ago
Ivan Tashkinov 67b4297f4d [#483] Refactored blocks and follows import, added tests.
6 years ago
kaniini 49cf5f9ce0 Merge branch '471_invalid_accounts_rendering' into 'develop'
6 years ago
Ivan Tashkinov 700661b761 [#483] Blocked users list import (TwitterAPI).
6 years ago
Ivan Tashkinov 0a41786624 [#467] Refactored valid / invalid user rendering.
6 years ago
kaniini 68f483ef4c Merge branch 'fix/no-attachment-links' into 'develop'
6 years ago
Ivan Tashkinov 6e9a15b181 [#483] Blocked users export for TwitterAPI.
6 years ago
Haelwenn (lanodan) Monnier b43d630f30
Web.TwitterAPI.UserView: Add rights.admin
6 years ago
Ivan Tashkinov 0d1788ce44 [#471] Factored out User.visible_for?/2.
6 years ago
Vyr Cossont d8cc96cb1f Fix Twitter timelines for private instances
6 years ago
kaniini cff0292d4b Merge branch 'reserve-user-names' into 'develop'
6 years ago
Ivan Tashkinov e6aeb1d4a5 [#471] Prevented rendering of inactive local accounts.
6 years ago
Maxim Filippov be70272ab0 Treat only true and "true" as true
6 years ago
Vyr Cossont e4562105e7 Implement exclude_reblogs and include_rts
6 years ago
Maxim Filippov 838c024231 Treat any present value in "no_attachment_links" as true
6 years ago
lain 551d80cc01 Expose restricted names in nodeinfo.
6 years ago
lain 5811e65e67 Add some hard limits on inserted activities.
6 years ago
William Pitcock 2791ce9a1f add license boilerplate to pleroma core
6 years ago
lambda 005b4194ff Merge branch 'bugfix/trans_fix_url_videos' into 'develop'
6 years ago
William Pitcock 34a4ed22c4 twitter api: add "Video" to supported activity types list
6 years ago
William Pitcock 79b51a97fe twitter api: activity representer: remove peertube hack
6 years ago
William Pitcock 32dfc1d12a mastodon api: status view: remove obsolete peertube hack
6 years ago
William Pitcock 71f6d9f418 transmogrifier: significantly rework handling of peertube videos, add test
6 years ago
lambda a3e33fa177 Merge branch 'hotfix/activity-without-content' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier 3aff8067e4 transmogrifier: When it’s a Video move "url" to "attachment"
6 years ago
Karen Konou a7f07bb6e5 Implement kaniini's tweaks
6 years ago
Karen Konou c76179419d Renamed the things
6 years ago
Karen Konou 409ff60bf8 Fix formatting
6 years ago
Karen Konou 92362e1e22 Implement large thread filter
6 years ago
Ekaterina Vaartis 336e37d98f Make captcha (kocaptcha) stateless
6 years ago
kaniini 2e2030ada8 Merge branch '114_email_confirmation' into 'develop'
6 years ago
Ivan Tashkinov f69cbf4755 [#114] Added :user_id component to email confirmation path to improve the security.
6 years ago
Ivan Tashkinov 8adcd1e80f [#114] Removed flash messages rendering on redirects.
6 years ago
kaniini fda148a9a2 Merge branch 'documentation/copy-pleroma-api' into 'develop'
6 years ago
raeno 652f49d176 Remove extra bracket
6 years ago
raeno 7fb3780431 Merge branch 'develop' into oembed_provider
6 years ago
Ivan Tashkinov b520d44b58 [#114] `mix format`
6 years ago
Ivan Tashkinov 279096228c [#114] Made MastodonAPI and TwitterAPI user show actions return 404 for auth-inactive users
6 years ago
Ivan Tashkinov 968d7490b6 [#114] User.Info: renamed `confirmation_update` to `confirmation_changeset`.
6 years ago
Ivan Tashkinov 59fc5d15df [#114] User.Info: renamed `confirmation_update` to `confirmation_change`.
6 years ago
lain f3eb414e28 Add a way to use the admin api without a user.
6 years ago
Haelwenn (lanodan) Monnier a6dfe1fc6b
Documentation: Move generated files to priv/static/doc, add it to endpoint.ex
6 years ago
href f58f20abbb
Twitter ActivityView: fix crash when activity content is nil
6 years ago
Ivan Tashkinov 3371a45884 [#114] Formatting fix.
6 years ago
Ivan Tashkinov b096e30cff [#114] Added email confirmation resend action. Added tests
6 years ago
Ivan Tashkinov aed0f90287 [#114] Added `pleroma.confirmation_pending` to user views, adjusted view tests.
6 years ago
Ivan Tashkinov b86057cc7f [#114] Refactored User.register_changeset to init confirmation data.
6 years ago
Ivan Tashkinov 1de0aa2f10 [#114] Account confirmation email, registration as unconfirmed (config-based), auth prevention for unconfirmed.
6 years ago
Ivan Tashkinov a05cb10a95 [#114] Email confirmation route, action, node setting, User.Info fields.
6 years ago
raeno a300336459 Merge branch 'develop' into oembed_provider
6 years ago
href b1860fe85a
Instance/Static runtime plug
6 years ago
lambda 3d980daa49 Merge branch '459_fix_user_profile_crash' into 'develop'
6 years ago
Maksim Pechnikov 92a5133c42 fix text field
6 years ago
lambda 52ac7dce5c Merge branch 'captcha' into 'develop'
6 years ago
lambda 078b8b6d22 Merge branch 'phoenix14' into 'develop'
6 years ago
href 77b5154c82
Cowboy handler for Mastodon WebSocket
6 years ago
raeno cc87880488 Support both OAuth token record and token string in UserView
6 years ago
lambda 567359790e Merge branch 'testfix/webfinger-jrd' into 'develop'
6 years ago
href 5dcb7aecea
More put_view.
6 years ago
href f672555ad3
Upgrade to Phoenix 1.4
6 years ago
eal 28478a9c4f Merge branch 'fix/masto-put-settings' into 'develop'
6 years ago
eal 4c783e35c0 Mastodon API: Fix PUT /api/web/settings
6 years ago
Ekaterina Vaartis 23549d3952 Formatting fixes
6 years ago
Haelwenn (lanodan) Monnier cddab5700b
WebFinger: Sends a 400 when resource param is missing, fix XRD typo in test
6 years ago
lambda cc6689cc20 Merge branch 'fix/views-ignore-unhandled-activites' into 'develop'
6 years ago
Ekaterina Vaartis 28c43a417e Add an ability to disabled captcha
6 years ago
Ekaterina Vaartis a2399c1c7c Add base CAPTCHA support (currently only kocaptcha)
6 years ago
href e74f384b68 Merge branch 'fix/issue_433' into 'develop'
6 years ago
href bfe27c1b55 Merge branch '114_email_invites' into 'develop'
6 years ago
href acec11626d Merge branch 'fix/issue_272' into 'develop'
6 years ago
Maksim Pechnikov ea72ac549b fix case when tags is invalid
6 years ago
raeno b0c3211984 Scrub html from activity.content or user.bio for opengraph meta
6 years ago
raeno 90b00701ff Merge branch 'develop' into oembed_provider
6 years ago
Maksim Pechnikov d3ec09bb38 fix tags
6 years ago
raeno 46486595ff Handle "users/:id" links as well. Fix comments in MR.
6 years ago
href 980131b4db Merge branch 'pleroma-feature/compat/push-subscriptions' into 'develop'
6 years ago
href 84b9a9d497
TwitterAPI.ActivityView: Ignore unhandled activities
6 years ago
href 412df2cd38
Warn if push is disabled..
6 years ago
Maksim Pechnikov baead4ea4b fix markdown formatting
6 years ago
href 91236c60c7 Merge branch 'feature/file-size-checking' into 'develop'
6 years ago
href 0b4c61e8d5
Fix warning
6 years ago
href ec0e613eca
Pleroma.Activity.mastodon_notification_type/1
6 years ago
href 331396cbcd
Properly disable Web Push if no VAPID key is set
6 years ago
href 6822916183
Typos
6 years ago
href b1bcd97a0f
Push: respect alerts settings
6 years ago
href d8984b7bf8
Push: add missing notification_type field
6 years ago
href 7facbb2b8d
Push.Subscription: convert base64 to base64 urlsafe
6 years ago
Egor Kislitsyn 324933a0ac
improve push message format (compatibility with mastodon)
6 years ago
Egor Kislitsyn 658edb166f
fix and improve web push; add configuration docs
6 years ago
Ivan Tashkinov 69fd63e248 [#114] Added `invitesEnabled` to `metadata` of nodeinfo.
6 years ago
Ivan Tashkinov 66380b0641 [#114] Removed `confirm_email` action stub (to be addressed in a separate MR).
6 years ago
Ivan Tashkinov 9666376f5f [#114] Readded `invites_enabled` config setting, updated readme.
6 years ago
Ivan Tashkinov a89e3b4b60 [#114] Moved email_invite action to AdminAPIController, adjusted tests.
6 years ago
Ivan Tashkinov 3cbf16a5fe [#114] Added UserInviteToken creation, adjusted invitation email link to include it.
6 years ago
Ivan Tashkinov cc83d7ffe7 [#114] Naive implementation of email invitations.
6 years ago
href 30dc81667c Merge branch '114_user_registration_emails' into 'develop'
6 years ago
Ivan Tashkinov f81213910f [#114] Addressed MR comments. Removed functionality to be extracted to other MRs.
6 years ago
lambda 262cc6d44b Merge branch 'fix/double-rt-or-fav' into 'develop'
6 years ago
eal 61ad2ce422 TwitterAPI: Include favorited post in json
6 years ago
eal 1ca080c862 Prevent accidental double RTs or favorites
6 years ago
raeno c5c3ad90d0 Fix tests. Remove oembed template
6 years ago
raeno b5de7c4c4d Remove oembed for now, will submit it in another MR. Fix warnings
6 years ago
raeno 018516d3f3 Refactor ostatus_controller, extract metatags redirection to Redirector itself. Set 'html' as default type for ostatus links
6 years ago
raeno 9b3a6cdb07 Extract opengraph/oembed into separate module
6 years ago
raeno d903e34cac Add opengraph/twitter_card:summary support. Add config to toggle on/off specific metadata
6 years ago
raeno 8902942128 WIP. Implement oembed route and handle both json/xml for "Note" type activity
6 years ago
raeno 21afdf6d99 Insert meta tags into static index.html on the fly for OStatus#notice
6 years ago
Ivan Tashkinov 18b9467d1a [#114] Removed `email_invite` implementation (to be addressed separately).
6 years ago
Ivan Tashkinov 00744c6b03 [#114] Initial implementation of user email invitations.
6 years ago
Ivan Tashkinov 908943352f [#114] Refactored `password_reset` (moved to TwitterAPI). Added homepage links to password reset result pages.
6 years ago
Ivan Tashkinov bfff2399ff [#114] Routes and config for `confirm_email` and `email_invite` (Twitter API).
6 years ago
Ivan Tashkinov e3a21bcd45 [#114] Addressed warnings. Fix of `with` statement clause in `password_reset`.
6 years ago
Ivan Tashkinov f5afb11032 [#114] Initial implementation of user password reset emails (user-initiated).
6 years ago
Ivan Tashkinov 12905ce1ad [#114] Added /dev/mailbox dev-only route (emails preview). Added mailer config examples.
6 years ago
Maksim Pechnikov 89b3729afa fix warnings
6 years ago
scarlett 213176c3c3 Add new frontend options to server-side config.
6 years ago
lambda ff10b9927b Merge branch 'support/bugfix_272' into 'develop'
6 years ago
lain c81c74d847 Treat warnings as errors outside of tests.
6 years ago
Maksim Pechnikov e94c3442f4 updates
6 years ago
Maksim Pechnikov 074fa790ba fix compile warnings
6 years ago
Maksim Pechnikov 068353ac0b formatting
6 years ago
Maksim Pechnikov 9442588ae9 fix hashtags in api response
6 years ago
Rin Toshaka 15616eda5e Make uploadlimit an object that stores upload limits for avatars, banners, backgrounds, general content
6 years ago
lambda beadeaffa1 Merge branch 'fix/nodeinfo-nil-features' into 'develop'
6 years ago
href bdc8112e40
Media proxy: fix url encoding
6 years ago
Rin Toshaka 578051809f Add uploadlimit to Twitter API config
6 years ago
lambda 94ac0075bf Merge branch 'media-proxy-follow-redirect' into 'develop'
6 years ago
href 134cc94cbd
Nodeinfo: remove null features; relay feature.
6 years ago
href d8fcf7c5cf
Media proxy: follow HTTP redirects by default
6 years ago
lambda 94d8f1ab30 Merge branch '394_user_tags' into 'develop'
6 years ago
Ivan Tashkinov 6ed5044c4e [#394] Refactoring (using Ecto.Multi; "untag" route change).
6 years ago
Ivan Tashkinov 7a2162bbcb [#394] User view (Twitter & Mastadon API): wrapped "tags" in "pleroma" map.
6 years ago
Ivan Tashkinov 7bcb6a183a [#394] Refactoring.
6 years ago
Ivan Tashkinov 7b19487389 [#394] Added `users.tags` and admin routes to tag and untag users. Added tests.
6 years ago
kaniini 1d531fd2f3 Merge branch 'fix/mastodon-api-settings' into 'develop'
6 years ago
kaniini abead01ab6 Merge branch 'correct-and-improve-http-options' into 'develop'
6 years ago
kaniini b0adea30b3 Merge branch 're-mrf' into 'develop'
6 years ago
rinpatch 2ae1128d9f MastoAPI: Fix put_settings
6 years ago
scarlett d27e3f269f Rename regular expression 'have_re' to 'reply_prefix'.
6 years ago
Egor Kislitsyn 6f36e903b0 use `User.avatar_url`
6 years ago
Egor Kislitsyn 79668c08fc cleanup
6 years ago
scarlett 3dff61ebec Harden re: detection.
6 years ago
Egor Kislitsyn 3d492795b7 clean up
6 years ago
Egor Kislitsyn 4944498133 Merge branch 'develop' into feature/compat/push-subscriptions
6 years ago
Egor Kislitsyn bac58b1524 show warning if VAPID is not set
6 years ago
Egor Kislitsyn 8b4397c704 Merge branch 'develop' into feature/compat/push-subscriptions
6 years ago
Egor Kislitsyn 04a48286e6 Add web push support
6 years ago
scarlett 6a6aaa0e1a Use object.normalize.
6 years ago
Hakaba Hitoyo a09ed0f5af avoid mix format bug
6 years ago
kaniini ccf0b46dd6 Merge branch '210_twitter_api_uploads_alt_text' into 'develop'
6 years ago
Ivan Tashkinov 3e90f688f1 [#210] Mastodon: actor storing for media uploads, ownership check to update_media.
6 years ago
Hakaba Hitoyo 96ba95df2e remove follow_redirect options
6 years ago
Hakaba Hitoyo 27792b2d77 remove pool and timeout options which duplicate with the default
6 years ago
Hakaba Hitoyo 505d820827 Merge remote-tracking branch 'origin/debug-suggestions-api' into correct-and-improve-http-options
6 years ago
lain 76d6b1c6ab Merge remote-tracking branch 'origin' into follower-hiding
6 years ago
lain 3ea4476445 MastodonAPI: Show users their own network.
6 years ago
lain fdac215091 TwitterAPI: Show users their own network.
6 years ago
Ivan Tashkinov 3b5be09f45 [#210] Stylistic change.
6 years ago
lain 839526a913 TwitterAPI: Add network hiding.
6 years ago
Ivan Tashkinov c4f3c5e939 [#210] Stylistic change.
6 years ago
Ivan Tashkinov 848151f7cb [#210] [TwitterAPI] Made actor be stored for uploads. Added ownership check
6 years ago
Ivan Tashkinov be187f82f7 [#210] Further refactoring.
6 years ago
hakabahitoyo a418547bdf debug /api/v1/suggestions
6 years ago
scarlett 8a1df182cf Add a MRF Policy for appending re: to identical subjects in replies.
6 years ago
kaniini ec1ec32f20 Merge branch 'optional-retry-queue' into 'develop'
6 years ago
lain 925b05054f Make retry queue optional.
6 years ago
kaniini 114b95cee2 Merge branch 'feature/integration_tesla' into 'develop'
6 years ago
William Pitcock b57d83e3c9 MRF: simple policy: fix media removal
6 years ago
Ivan Tashkinov 48e6193bf2 [#210] Refactoring.
6 years ago
Ivan Tashkinov 826fc446d5 [#210] TwitterAPI: implemented /api/media/metadata/create
6 years ago
Maksim Pechnikov 87109482f3 status_code -> status
6 years ago
Maksim Pechnikov 97252a27d9 fix http request in Salmon
6 years ago
Maksim Pechnikov 3ce16e5a56 init tesla and updated the http requests in Pleroma.Web.Websub
6 years ago
William Pitcock d6ab701a14 formatting
6 years ago
William Pitcock b3b52b58c3 activitypub: transmogrifier: remove obsolete fetch_obj_helper()
6 years ago
William Pitcock 02288b5f1c twitterapi: fix bad rebase
6 years ago
William Pitcock 7a57db0d3a federator: fix up contain_origin_from_id() call
6 years ago
William Pitcock f85949cc69 object: factor out fetching functions into Pleroma.Object.Fetcher module
6 years ago
William Pitcock e8caecb5c7 object: move object containment out of transmogrifier into it's own module
6 years ago
William Pitcock 6f90f2c3ac activitypub: rework thread filtering for split object view
6 years ago
William Pitcock f168a2add6 ostatus: fix representing external objects
6 years ago
William Pitcock cf139e3eec activitypub: transmogrifier: ensure we send nested object in Create
6 years ago
William Pitcock d6e65f9304 common api: fix up improper Object.normalize() calls
6 years ago
William Pitcock d13d953385 activitypub: implement activity flattening
6 years ago
William Pitcock 57d90e7afe activitypub: relay: fix improper use of Object.normalize()
6 years ago
William Pitcock e8570758f9 twitterapi: fix remaining test failures
6 years ago
William Pitcock 3b8e5bcbeb fix most tests
6 years ago
William Pitcock dd66cc2ca6 ostatus: use Object.normalize() where appropriate when representing activities
6 years ago
William Pitcock 5d4a71906a mastodon api: use Object.normalize() in a few missing spots
6 years ago
William Pitcock e9b718cea2 mastodon api: status view: use Object.normalize()
6 years ago
William Pitcock 95a458f392 twitterapi: more object normalization work
6 years ago
William Pitcock 4482ce7e2d activitypub: normalize objects when streaming them out
6 years ago
William Pitcock d3fde9b5f2 ostatus: note handler: appropriately use Object.normalize()
6 years ago
William Pitcock 67038ae15e common api: utils: access inReplyTo object ID correctly
6 years ago
William Pitcock d6b266163b common api: fetch visibility from normalized object
6 years ago
lambda 88b05aeabb Merge branch 'fix/parse-user-bio' into 'develop'
6 years ago
lambda 42ef7cd227 Merge branch 'fix-media-proxy-defaults' into 'develop'
6 years ago
Maxim Filippov 4b70e5eae9 Parse bio for MastodonAPI
6 years ago
Maxim Filippov ce98d5eb9b Parse user's bio on register
6 years ago
lain 8c9a4e8b40 TwitterAPI: Implement hide_network.
6 years ago
lain 2a639de9b3 MastodonApi: Implement hide_network.
6 years ago
lain 6be0ab1e55 Hide network in ap.
6 years ago
href 43d5e4f7fa
Fix media proxy config defaults
6 years ago
lain f18b86fd5f More fixes for Info schema.
6 years ago
lain 93f2dc19d9 TwitterAPI: Fix banner and background update.
6 years ago
lain 347df6421d Fix masto api user updating.
6 years ago
lain c443c9bd72 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into validate-user-info
6 years ago
lain 1c67277c80 Fix admin api.
6 years ago
href 680716b3c9
Config docs
6 years ago
href 02d3dc6869
Uploads fun, part. 2
6 years ago
href b19597f602
reverse proxy / uploads
6 years ago
lain d0ec2812bd Merge remote-tracking branch 'origin' into validate-user-info
6 years ago
lain 8f1fffebc6 Fix transmogrifier test.
6 years ago
lain d088ac6286 Fix OStatus user updates.
6 years ago
lain 48b95a9b95 Assorted fixes.
6 years ago
lain d407f662af Fix TwitterApiController.
6 years ago
lain a6812bc9df Remove "most recent notification" endpoint.
6 years ago
KokaKiwi 87098d1676 Streamer: Don't send unwanted DMs to list streams
6 years ago
lain 3c61df6b9e Webfinger fixes.
6 years ago
lain ec464ef20a HTTP sig fixes.
6 years ago
Haelwenn 5ae6088d37 Merge branch 'feature/mrf-user-allowlist' into 'develop'
6 years ago
William Pitcock 271f9f1335 nodeinfo: add mrf_user_allowlist data
6 years ago
William Pitcock 8c05d19c7f MRF: add user allowlist module
6 years ago
Mark Felder 6cc94404d7 Replace this hardcoded <title>
6 years ago
Haelwenn (lanodan) Monnier ca029f0b69
Web.Streamer: Get unauthenticated statuses representation
6 years ago
Haelwenn (lanodan) Monnier d388a99143
Web.MastodonAPI.MastodonSocket: Put access_token at function-level
6 years ago
Haelwenn (lanodan) Monnier 5346fabf14
Web.MastodonAPI.MastodonSocket: Add unauthentified websocket endpoints
6 years ago
kaniini 675653ceb7 Merge branch 'feature/admin-api' into 'develop'
6 years ago
kaniini 182e3e8da2 Merge branch 'feature/improve-version' into 'develop'
6 years ago
kaniini a591a044a9 Merge branch 'runtime-fixes' into 'develop'
6 years ago
lain 0bea0308f1 Merge branch 'validate-user-info' of git.pleroma.social:pleroma/pleroma into validate-user-info
6 years ago
lain 0896cf4c0f Fix most mastodon api bugs.
6 years ago
Haelwenn c7d08bc1cf Merge branch 'feature/retry-queue' into 'develop'
6 years ago
William Pitcock 3456948cd1 mastodon api: fix up quite a few test failures
6 years ago
William Pitcock ef6c64a5d2 activitypub: fix restrict_blocked()
6 years ago