Commit Graph

2587 Commits (32a4501d2d1cdfef68cbde236482e0c84cce3a7a)

Author SHA1 Message Date
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
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
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
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