Commit Graph

7940 Commits (0edb5c805be97b42a68db1aa5f00c33483a0f035)

Author SHA1 Message Date
feld 958a7f6ed0 Merge branch 'fix/reblog-api' into 'develop'
4 years ago
Mark Felder 28581e03ad Merge branch 'develop' into refactor/deactivated_user_field
4 years ago
Mark Felder 44a86951a3 Merge branch 'develop' into refactor/approval_pending_user_field
4 years ago
Egor Kislitsyn 1b79dce7bc
Fix Reblog API
4 years ago
Lain Soykaf bdfd72630f ListController: Fix being unable to add / remove users.
4 years ago
Alexander Strizhakov 0e48c80d7f
start oban app in migrations and mix tasks
4 years ago
Ivan Tashkinov 3f88e33a71 [#3251] Fixed wrong test-env config setting for [Pleroma.Upload]. Refactoring. Added warning to `clear_config/_` to minimize such issues in future.
4 years ago
Mark Felder 2c0fe2ea9e Remove toggle_confirmation; require explicit state change
4 years ago
Mark Felder d36182c088 Change user.confirmation_pending field to user.is_confirmed
4 years ago
Mark Felder 6c50ac1d3f Readability
4 years ago
Mark Felder ebd7d1365b Make setting user activation status explicit
4 years ago
Mark Felder 7516660753 Remove toggle_activation
4 years ago
Mark Felder cd1e5d76ab Remove User.restrict_deactivated/1
4 years ago
Mark Felder 860b5c7804 Change user.deactivated field to user.is_active
4 years ago
Mark Felder 63923df0a5 Further simplify changeset logic
4 years ago
Mark Felder f7e59c28ed Change user.approval_pending field to user.is_approved
4 years ago
Haelwenn cf367fdbd5 Merge branch 'optimize-command_available' into 'develop'
4 years ago
Mark Felder d0e0396528 Hack to fix tests not passing. Unclear why the filters are being set to nil.
4 years ago
Mark Felder 8d6e9b25a4 Just validate command is in PATH; forking a shell is wasteful
4 years ago
Lain Soykaf 39f3683a06 Pbkdf2: Use it everywhere.
4 years ago
Lain Soykaf 87a31c5c9b Password -> Password.Pbkdf2
4 years ago
Mark Felder f0ab60189e truncated_namespace should default to nil
4 years ago
lain 9106048c61 Password: Replace Pbkdf2 with Password.
4 years ago
lain c7cd9bd591 Password: Add password module
4 years ago
Haelwenn (lanodan) Monnier c4439c630f
Bump Copyright to 2021
4 years ago
Mark Felder c35e6fb516 Provide a non-nil fallback for Upload.base_url/0 for tests using TestUploaderSuccess as the uploader
4 years ago
Mark Felder 12528edc34 Fix another ad-hoc construction of the upload base_url
4 years ago
Mark Felder 8b28dce82a Deprecate Pleroma.Uploaders.S3, :public_endpoint
4 years ago
feld 5453038ce9 Merge branch 'fix/backup-url-on-s3' into 'develop'
4 years ago
lain 7a1cb752dd Pagination: Don't be dos'd by random parameters.
4 years ago
Mark Felder ef59d99833 Simplify. We will always have a result from Upload.base_url/0, so just add it to the list
4 years ago
Mark Felder 1040881047 Fix regression in MediaProxy.local?/0 and appending the Upload.base_url to whitelisted domains
4 years ago
lain e1a547d7d3 ChatMessages: Fix pagination headers.
4 years ago
Mark Felder 9887cdf9be Formatting
4 years ago
feld fa63f1b55b Apply 4 suggestion(s) to 2 file(s)
4 years ago
Mark Felder e8bf060e6e Move construction of S3 base URL with optional namespace and bucket to Upload.base_url/0
4 years ago
Mark Felder 86dcfb4eb9 More places we should be using Upload.base_url
4 years ago
Mark Felder 530fb5b29e Avoid duplicate Config calls
4 years ago
Mark Felder 3c936061d5 Apply Upload.base_url for S3
4 years ago
Mark Felder ad79983614 Fix URL generated for backup files, try to create a source of truth we can reuse throughout the codebase
4 years ago
lain 80167e62dd Merge branch 'fix/missing_emoji_steal_dir' into 'develop'
4 years ago
Alex Gleason 3342f6a7ef
Backups: render ID in API
4 years ago
lain ac1298fce8 Merge branch 'cleanup/unused-proxy-opts' into 'develop'
4 years ago
lain cf0eb0c1c5 Merge branch 'object-normalize-refactor' into 'develop'
4 years ago
lain 4d56aca904 Merge branch 'adminapi-user-email' into 'develop'
4 years ago
Alex Gleason 20af025c65
AdminAPI: return user email
4 years ago
Roger Braun 48cd336a72 allow external emoji
4 years ago
Mark Felder d69c78ceb9 Remove configurability of upload proxy opts, simplify
4 years ago
Mark Felder 64116f63d9 URI.encode custom emojis
4 years ago
lain 20a269ed69 Merge branch 'fix/pagination-regression' into 'develop'
4 years ago
lain e802b48d55 User: Use ObjectID type to validate also-known-as field
4 years ago
lain f0e6cff583 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into 1526-account-aliases
4 years ago
lain bea69853a2 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into pleroma-moderation-log-stuff
4 years ago
lain d44850d7a5 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into object-normalize-refactor
4 years ago
lain 8e5904daa5 SideEffects.DeleteTest: asyncify.
4 years ago
Mark Felder 83f27282ba Do not try to guess which pagination we need by the existence of an :offset param.
4 years ago
lain e1e7e4d379 Object: Rework how Object.normalize works
4 years ago
Alex Gleason 0ec7e9b8e9
AdminAPI: return id for moderation log entries
4 years ago
feld afe9c152ab Merge branch 'fix/reports-ordering' into 'develop'
4 years ago
Alex Gleason 4200a06340
Aliases: refactor validate_also_known_as/1
4 years ago
Alex Gleason 0d6b9ce8ca Apply 2 suggestion(s) to 1 file(s)
4 years ago
feld 2aa60e7592 Apply 1 suggestion(s) to 1 file(s)
4 years ago
Alex Gleason 11d40e92b7
Render AKAs in Actor endpoints
4 years ago
Alex Gleason cbce880076
Merge remote-tracking branch 'upstream/develop' into aliases
4 years ago
Mark Felder 2597b028f7 Make pagination type conditional
4 years ago
Mark Felder 085d4e6cfc Continue to use ActivityPub.fetch_user_activities/3, make it pass :offset
4 years ago
Mark Felder 4c5f75f4e9 Support pagination in AdminAPI for user statuses
4 years ago
Mark Felder 744b34709d Do not reverse order of reports. We want newest ones sorted to the top.
4 years ago
Haelwenn 3966add048 Revert "Merge branch 'features/hashtag-column' into 'develop'"
4 years ago
Haelwenn b122b6ffa3 Merge branch 'features/hashtag-column' into 'develop'
4 years ago
Haelwenn (lanodan) Monnier d0c2479710
pleroma.database fill_old_hashtags: Add month_limit argument
4 years ago
Haelwenn (lanodan) Monnier 18b536c176
Pleroma.Object/1: take %Object{} as argument instead
4 years ago
Alexander Strizhakov 2e859794ee
non condition dir creation
4 years ago
Alexander Strizhakov dad76703aa
not needed
4 years ago
Alexander Strizhakov 7bfb041658
insreasing test coverage for StealEmojiPolicy
4 years ago
Alexander Strizhakov aafd7b44ce
check dir existence in policy
4 years ago
Mark Felder e02889edb2
Add MRFs to the list of things that may need a soft reboot
4 years ago
Mark Felder 72aeb2e73b
Mark private
4 years ago
Mark Felder 77e39e6aae
Create dir for EmojiStealPolicy automatically
4 years ago
lain e4f1d8f48c Merge branch 'cachex-test' into 'develop'
4 years ago
Haelwenn (lanodan) Monnier 87b13c5430
Create Object.hashtags/1 wrapper
4 years ago
Haelwenn (lanodan) Monnier acb03d591b
Insert text representation of hashtags into object["hashtags"]
4 years ago
lain ab633e51ab Linting
4 years ago
lain 5db1e6c8d3 Pipeline test: Switch from Mock to Mox.
4 years ago
lain c9d73af74d Cachex: Unify arity of callback function
4 years ago
lain ee81a94ab2 Caching: Add caching behavior, add null implementation.
4 years ago
Kaizhe Huang fb02241580 Fix trailing whitespaces in lib/pleroma/web/web_finger.ex
4 years ago
lain 95a9bdfc37 Tests: Use NullCache for async tests.
4 years ago
lain 713612c377 Cachex: Make caching provider switchable at runtime.
4 years ago
lain 9a744d49c8 Jason: Remove by now superfluous jason_types file
4 years ago
FiveYellowMice 83cd7f2b5f WebFinger: add subscribe_address in return data of JSON responses
4 years ago
Alex Gleason 80891e83d8
Merge remote-tracking branch 'upstream/develop' into registration-workflow
4 years ago
lain 8b8c317c0f Merge branch 'fix/2336-mastoapi-ws-posts-dropping' into 'develop'
4 years ago
lain 6bb4f4e172 Merge branch 'support/2255_posix_errors' into 'develop'
4 years ago
lain 0d285cf44f Merge branch 'fix/config-gen-detect-exiftool' into 'develop'
4 years ago
Mark Felder 6dac2ac71a Minor refactoring of the logic for hiding followers/following counts.
4 years ago
Alexander Strizhakov cebe3c7def Fix for dropping posts/notifs in WS when mix task is executed
4 years ago
rinpatch 7133c0c5ea instance.gen: Warn that stripping exif requires exiftool
4 years ago
rinpatch 6aece536eb instance.gen task: Only show files which will be actually overwritten
4 years ago
Ivan Tashkinov 7fff9c1bee Tweaks to OAuth entities expiration: changed default to 30 days, removed hardcoded values usage, fixed OAuthView (expires_in).
4 years ago
Ivan Tashkinov 7da0349d73 Changed default OAuth token expiration time to 30 days.
4 years ago
lain 477c6c8e55 Merge branch 'auth-improvements' into 'develop'
4 years ago
lain 1436a2fa2d Merge branch 'stream-follow-updates' into 'develop'
4 years ago
lain e73d878b38 Merge branch 'feat/warn-large-pool-size' into 'develop'
4 years ago
lain 50d16a9e27 ApplicationRequirements: Add test, more text for pool size.
4 years ago
lain 5b9b7b4888 Apply 1 suggestion(s) to 1 file(s)
4 years ago
Mark Felder fb3fd692c6 Add a startup error for modified Repo pool_size
4 years ago
Haelwenn (lanodan) Monnier 1403798820
instance.reachable?: Limit to binary input
4 years ago
Haelwenn (lanodan) Monnier e1a2e8b17c
instance: Do not fetch unreachable instances
4 years ago
Ivan Tashkinov c8e7ace812 Merge remote-tracking branch 'remotes/origin/develop' into auth-improvements
4 years ago
lain ed76323776 Merge branch 'feature/configdb-mix-tasks' into 'develop'
4 years ago
Mark Felder 93428d7c11 Print out settings that will be removed when specifying the group and key for consistency
4 years ago
Mark Felder 61494b5245 Formatting
4 years ago
feld d817bae802 Apply 1 suggestion(s) to 1 file(s)
4 years ago
Ivan Tashkinov e00c667145 [#3174] Refactoring: ConfigDB fetching functions, ConfigDB tests.
4 years ago
Ivan Tashkinov a010c5b16a Merge remote-tracking branch 'remotes/origin/develop' into auth-improvements
4 years ago
Ivan Tashkinov e9859b68fc [#3112] Ensured presence and consistency of :user and :token assigns (EnsureUserTokenAssignsPlug). Refactored auth info dropping functions.
4 years ago
Mark Felder 50aadc3d5c shell_yes?/1 was not showing the correct message and always defaults to yes which is dangerous
4 years ago
feld 6adad96c79 Merge branch 'issue/2256' into 'develop'
4 years ago
Mark Felder 9dfda37821 More compact representation
4 years ago
Mark Felder 3bf5c5b015 Ensure deleting entire group prints out settings that will be removed before actually removing them
4 years ago
Mark Felder 696d39c3dc Fix deleting an entire group. Also utilize Pleroma.ConfigDB.delete/1
4 years ago
Mark Felder 685e5c8509 Use Pleroma.ConfigDB.delete/1 instead of rolling our own
4 years ago
Mark Felder 4aad066091 Use Enum.any? to ensure we return true if there are results
4 years ago
rinpatch 1d04bd0894 Merge branch 'supported-emojos' into 'develop'
4 years ago
Alexander Strizhakov a02eb88396
config_db search methods
4 years ago
Mark Felder 7fd4f4908b dump_key/2 no longer used
4 years ago
feld 60c4ac0f70 Apply 6 suggestion(s) to 1 file(s)
4 years ago
Mark Felder 95e908e4e2 Credo
4 years ago
lain fa0d0b602f Emoji: Also accept regional indicators
4 years ago
Mark Felder 16bdc2bcd0 Make the --force flag for reset command consistent with the others and deduplicate db truncation
4 years ago
Mark Felder e379ab8277 Add --force flag for delete and reset commands
4 years ago
Mark Felder 20a911f9f7 Add comment for this mysterious behavior
4 years ago
Mark Felder 25fab7da69 No need for a separate functions here
4 years ago
Mark Felder 13947999ad Use a callback strategy to short circuit the functions and print a nice error
4 years ago
Mark Felder a7b5280b5b Centralize check that configdb is enabled which now raises an exception
4 years ago
Mark Felder 53a5ec1952 Left public during debugging
4 years ago
Mark Felder 5135a8189f Use inspect instead of faking the output
4 years ago
Mark Felder 6334ba9ad3 Remove unnecessary keys command
4 years ago
Mark Felder d0cb73527f Ensure scary warning starts on a new line
4 years ago
Mark Felder 0847e3e496 Print whole config when resetting and include a scary looking message.
4 years ago
Mark Felder d4320e0daf Both are really atoms
4 years ago
Mark Felder 4bdfcf1682 Transform strings to atoms for all cases, including when the atom is a module like Pleroma.Emails.Mailer
4 years ago
Mark Felder 3df115b2b0 Support atoms and strings as args to the mix task
4 years ago
Mark Felder ae7d37de06 Fix deletion regression due to strings instead of atoms
4 years ago
Mark Felder c6a0ca2213 Improve dumping groups and specific keys; add prompts for delete and reset
4 years ago
Mark Felder 67437feafc Support listing groups, listing keys in a group, and dumping the config based on group or specific key in that group
4 years ago
Mark Felder a51da3c1d8 Sort output by group
4 years ago
Mark Felder ada073f251 Rename keys to groups
4 years ago
Mark Felder e8a4062d9d Document how to delete individual configuration groups and completely reset the config without SQL
4 years ago