Commit Graph

2357 Commits (ce2efd1ee25d6e06c4bc5c0d97aad7b84c7c6874)

Author SHA1 Message Date
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
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 c6d5f189d9 Merge branch 'fix-tags' into 'develop'
6 years ago
lambda 98c31deaa9 Merge branch 'test-mix-tasks' into 'develop'
6 years ago
lambda 078b8b6d22 Merge branch 'phoenix14' into 'develop'
6 years ago
lain e4763cd459 Fix tagging problems for existing instances.
6 years ago
vaartis 35522fef09 Use :ets.match_delete to delete old captchas
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
Ekaterina Vaartis ef6829382a Clean captchas up periodically, not schedule it after theyre created
6 years ago
Ekaterina Vaartis 3a31fdaf06 Change minutes_retained config to seconds_retained
6 years ago
Ekaterina Vaartis 6062885df6 Add a configurable auto-cleanup for captchas
6 years ago
href 5dcb7aecea
More put_view.
6 years ago
link0ff 22d483d4f7 Use bindings dbuser and dbname in sample_psql.eex
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 8d55a549e6 Replace HTTPoison with Tesla for kocaptha
6 years ago
Ekaterina Vaartis 23549d3952 Formatting fixes
6 years ago
Ekaterina Vaartis b5518da904 Separate captcha implementation into a behaviour and use it
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
Rin Toshaka 4a895a46d1 Allow port specification in instance.ex
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
Maksim Pechnikov d3ec09bb38 fix tags
6 years ago
href 980131b4db Merge branch 'pleroma-feature/compat/push-subscriptions' into 'develop'
6 years ago
Maksim Pechnikov bc6262d250 fixed typo
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 07e93f9940 [#114] Improved tests.
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
lambda b19ee62252 Merge branch 'username-underscores' into 'develop'
6 years ago
Ivan Tashkinov 9e689de063 [#114] Removed `email_invite` implementation (to be addressed separately).
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
href 7214d57463
Extended nicknames: allow dashes.
6 years ago
link0ff 51dd294c48 Allow to set both admin and moderator at the same time in mix task User
6 years ago
link0ff a40ba3ba57 Fix toggle_activated in mix task User
6 years ago
href 7d9ddbe689
Allow underscores in usernames.
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
Ivan Tashkinov 10c156d98f [#114] SMTP deps and config.
6 years ago
Maksim Pechnikov 89b3729afa fix warnings
6 years ago
scarlett 213176c3c3 Add new frontend options to server-side config.
6 years ago
lain d6bf06ab4f Fix warnings.
6 years ago
lambda 0863ec2737 Merge branch 'fix_empty_bio_crash' into 'develop'
6 years ago
lambda 8aa646ca31 Merge branch 'fix/mix-task-uploads-moduledoc' into 'develop'
6 years ago
lambda ff10b9927b Merge branch 'support/bugfix_272' into 'develop'
6 years ago
lambda 6786ad3d98 Merge branch 'fix/theora-detection-read-bytes' into 'develop'
6 years ago
lambda 0554d91dcd Merge branch 'anonymize-filter-text' into 'develop'
6 years ago
lambda bda25b999b Merge branch 'develop' into 'fix/mix-task-uploads-moduledoc'
6 years ago
lain c81c74d847 Treat warnings as errors outside of tests.
6 years ago
Maksim Pechnikov e94c3442f4 updates
6 years ago
rinpatch 993c8c8bd4 Keep the shortdoc descriptive
6 years ago
raeno 9ba4a1c5fe Fixes #415. Properly handle nil and empty string by User.parse_bio
6 years ago
Rin Toshaka cbe048bb3f Mix tasks: improve uploads.ex moduledoc
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 5436aaad4f Merge branch 'fix/add-upload.ex' into 'develop'
6 years ago
lambda beadeaffa1 Merge branch 'fix/nodeinfo-nil-features' into 'develop'
6 years ago
lambda 8fa5c66eab Merge branch 'fix/media-proxy-url-encoded' into 'develop'
6 years ago
lambda 4976a8b05f Merge branch 'fix/typo-relay-ex' into 'develop'
6 years ago
Rin Toshaka 6c73136aec [#283] Mix Tasks: Fix a typo in relay.ex
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 7d86c0c53f Merge branch 'fix/gopher-respect-ip' into 'develop'
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
Rin Toshaka 09f20de0d7 Make gopher respect ip
6 years ago
Rin Toshaka fd5c7b445f Fix a typo
6 years ago
Rin Toshaka a02e0c18bc Mix Tasks: Add task uploads.ex for migrating local uploads.
6 years ago
href 3b27f61ffa
AnonymizeFilename: allow for a pre-defined text instead of random string
6 years ago
href 3c925e9d88
Emojis: Alphabetical ordering
6 years ago
Ivan Tashkinov 1cea97df64 [#394] Refactoring of User.tag and User.untag (removed User.tag_or_untag etc.)
6 years ago
lambda 8764f64690 Merge branch 'fix/add-user-unsubscribe-to-doc' into 'develop'
6 years ago
rinpatch 4e2250b1dd Fix a typo in relay.ex moduledoc
6 years ago
Ivan Tashkinov 6ed5044c4e [#394] Refactoring (using Ecto.Multi; "untag" route change).
6 years ago
rinpatch f7e23aee90 Oops
6 years ago
rinpatch f661813807 Add mix pleroma.user unsubscribe to mix doc
6 years ago
rinpatch 08e10a70ec Rename def to defval
6 years ago
Rin Toshaka 1d11c4cf11 add common.ex
6 years ago
Ivan Tashkinov 7a2162bbcb [#394] User view (Twitter & Mastadon API): wrapped "tags" in "pleroma" map.
6 years ago
Rin Toshaka 71d5cf9ed8 Remove unused vars from user.ex
6 years ago
Ivan Tashkinov 7bcb6a183a [#394] Refactoring.
6 years ago
Rin Toshaka 66313cda02 Update instance.ex for web push
6 years ago
Rin Toshaka 88f92693f2 Merge develop
6 years ago
Ivan Tashkinov 7b19487389 [#394] Added `users.tags` and admin routes to tag and untag users. Added tests.
6 years ago
Rin Toshaka ca7b46fb3b Refactor common functions to common.ex
6 years ago
Rin Toshaka 4a2a7ce636 Refactor common functions to common.ex
6 years ago
Rin Toshaka 3a84511df1 remove migrate_local_uploads.ex
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
kaniini 48a0315646 Merge branch 'follower-hiding' into 'develop'
6 years ago
Vald 194869c7db added data attrs to twitter scrubber
6 years ago
lain 7d5720f2e4 Fix merge.
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
Vald 3ccfe226c0 added data attrs for user and tag
6 years ago
Ivan Tashkinov 3b5be09f45 [#210] Stylistic change.
6 years ago
lain 839526a913 TwitterAPI: Add network hiding.
6 years ago
Rin Toshaka dfc9c08796 formating
6 years ago
Rin Toshaka ffec96d8cc Everything should use Mix.Task.Run
6 years ago
lambda 5f0c2372bc Merge branch 'support/oauth_fetch_token' into 'develop'
6 years ago
Ivan Tashkinov c4f3c5e939 [#210] Stylistic change.
6 years ago
Rin Toshaka facfd03bc1 Move relay tasks to relay.ex
6 years ago
Rin Toshaka e8ba579efe Switch from User.info_changeset because it is deprecated
6 years ago
Rin Toshaka c3519132df Sorry
6 years ago
Rin Toshaka 5427d2af3a Update mix tasks since User.info.info_changeset is deprecated
6 years ago
Maksim Pechnikov c524c50509 fix/273
6 years ago
Rin Toshaka 9938fa3293 Merge develop to refactor/mix-tasks
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
William Pitcock 956f3c75ca user: put default user info when registering a user
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
Rin Toshaka 6396f1b58f change new to gen in instance.ex . Refactor user.ex
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 50e72f6c48 remove httpoison_mock
6 years ago
Maksim Pechnikov dd8aee332c formatting the code
6 years ago
Maksim Pechnikov a9e4a97586 update test
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 ec34de0c1f WebSub fix test
6 years ago
Maksim Pechnikov 3ce16e5a56 init tesla and updated the http requests in Pleroma.Web.Websub
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
rinpatch 343b0adfa6 Merge branch 'develop' into fix/theora-detection-read-bytes
6 years ago
rinpatch a3953ca37a Change @read_bytes to 35
6 years ago
Rin Toshaka 03b2d1016d F O R M A T I N G
6 years ago
Rin Toshaka 57c71f8468 Move generate_invite to user.ex
6 years ago
Rin Toshaka d924b6cd3d Refactor copypasta to a private function in instance.ex
6 years ago
Maxim Filippov ce98d5eb9b Parse user's bio on register
6 years ago
Rin Toshaka cbe22deb51 Lint fix
6 years ago
Rin Toshaka faf1f2b304 Move gen.instance to instance.ex
6 years ago
lain 8c9a4e8b40 TwitterAPI: Implement hide_network.
6 years ago
Rin Toshaka 7983b0bdfe Move unsubscribe user task to pleroma/user.ex. Delete unsubscribe_user.ex. Fix pleroma.user toggle_activated to work not only on local users.
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 e3f3d13d99 Add uuid generation extension to sample_psql.eex.
6 years ago
lain 91065e1968 Fix background updating / handling.
6 years ago
Rin Toshaka 31b3ac05ac Lint fix
6 years ago
Rin Toshaka a8ef6b1190 Add admin option to pleroma.user new. Add user existence checking to toggle_activated
6 years ago
rinpatch ae82852330 Move set_admin task to lib/mix/tasks/pleroma/user.ex
6 years ago
rinpatch 6f174cbb71 Delete reactivate user task
6 years ago
rinpatch 5f91d6b859 Fix toggle_deactivated to reactivate a deactivated user
6 years ago
rinpatch fe2759bc9f Attempt to resolve merge conflict
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 e9982c521b
Upload filter: anonymize filename
6 years ago
kaniini ca24ad2a2b Merge branch 'feature/reverse-proxy' into 'develop'
6 years ago
href 8e0e20631c
Reverse proxy: default max read duration at 30 secs.
6 years ago
lambda e99bab8f27 Merge branch 'config-delete' into 'develop'
6 years ago
href 1d94c8f0f0
Fix supervisor order
6 years ago
href 253da275bd
Pleroma.Config.delete/1
6 years ago
href 7282937f33
MIME: video/audio ogg detection
6 years ago
href 680716b3c9
Config docs
6 years ago
href 65e7307d68
Upload: bring back base_url
6 years ago
href 5d92431350
Fix deprecation warnings
6 years ago
href 02d3dc6869
Uploads fun, part. 2
6 years ago
href 97b00d366f
reverse_proxy: more headers
6 years ago
href a2640c8088
Parse correctly content-type & do not forward content-length
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 e002858071 Fix ostatus test.
6 years ago
lain 3c61df6b9e Webfinger fixes.
6 years ago
lain badbe2656c More fixes.
6 years ago
kaniini b9bc83097d Merge branch 'ogg-theora-detection' into 'develop'
6 years ago
lain ec464ef20a HTTP sig fixes.
6 years ago
rinpatch 0d229613df Fix lint error
6 years ago
rinpatch 7f20a3cf1f Add Theora detection to upload.ex
6 years ago
Haelwenn 5ae6088d37 Merge branch 'feature/mrf-user-allowlist' into 'develop'
6 years ago
kaniini a76058fc1d Merge branch 'fix/pleromafe-title' 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 04daa0fa44
Plugs.HTTPSecurityPlug: Activate upgrade-insecure-requests only when there is https
6 years ago
shibayashi 591b11eafc
Add manifest-src to allow manifest.json
6 years ago