Commit Graph

2357 Commits (ce2efd1ee25d6e06c4bc5c0d97aad7b84c7c6874)

Author SHA1 Message Date
Maxim Filippov be70272ab0 Treat only true and "true" as true
6 years ago
vaartis 708a228919 Set ttl_interval to the seconds_valid time
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
Ekaterina Vaartis 448af3601a Up captcha timer to 60 secs again, save used captchas in cachex
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
lain 91724d160a Reserve a few user names
6 years ago
Maxim Filippov ca2e9ce9cc Revert unneeded changes
6 years ago
Maxim Filippov f75f707f6c Revert Activity tombstones, add ObjectTombstone struct
6 years ago
Maxim Filippov 2bbec33c71 Fix failing tests
6 years ago
Maxim Filippov 18a4cbb244 Capitalize "tombstone"
6 years ago
Maxim Filippov 0f412cf6e6 Create tombstone instead of object deletion
6 years ago
William Pitcock 69ad1039ba mix tasks: add legal boilerplate
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 b386e560ba Move the encryption out of kocaptcha into general captcha module
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 7cab7de9ff [#114] Allowed unconfirmed users to authenticate if :account_activation_required is disabled prior to confirmation.
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
Ivan Tashkinov 501ce34d7f [#114] Stylistic adjustments.
6 years ago
Maksim f1b93b5be7 [#413] fix parse mentions
6 years ago
kaniini fda148a9a2 Merge branch 'documentation/copy-pleroma-api' into 'develop'
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 a532ad5d72 [#114] User.register/1 tweak.
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
kaniini f98ee9402f Merge branch 'userless-admin' into 'develop'
6 years ago
lain f3eb414e28 Add a way to use the admin api without a user.
6 years ago
rinpatch ef318fb8a9 Merge branch 'develop' into fix/formatter-ignore-html-chars
6 years ago
rinpatch 059dd6f681 Ignore HTML characters in formatter.ex
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
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