1062 Commits (de8c539b7b433a5a0725625eecd070119fe20933)

Author SHA1 Message Date
Shuhei Kitagawa fd0f2b675e Add tests for invites controller (#7441)
6 years ago
Eugen Rochko e86a4fe36b Add REST API for Web Push Notifications subscriptions (#7445)
6 years ago
Eugen Rochko 7ff3c849d1 Bot nameplates (#7391)
6 years ago
abcang b9c17c6580 Fix distribute_add_activity and distribute_remove_activity (#7393)
6 years ago
Shuhei Kitagawa 8c8a850f8a Add resend confirmation for admin (#7378)
6 years ago
Eugen Rochko 0dcca6b6e8 Improve admin UI for accounts (#7360)
6 years ago
ThibG 8a6cba44aa Do not render first page of following and followers collections unless explicitly asked to (#7357)
6 years ago
Eugen Rochko 93b8db8f08 Better pagination for ActivityPub outbox (#7356)
6 years ago
Eugen Rochko ca1c696dbd Slightly reduce RAM usage (#7301)
6 years ago
Eugen Rochko 4258e304c5 Allow updating bio fields via PUT /api/v1/accounts/update_credentials (#7288)
6 years ago
Eugen Rochko af240ff13c Disable API access when login is disabled (#7289)
6 years ago
Eugen Rochko e7b07f47ca Return HTTP 410 for suspended accounts in GET /api/v1/accounts/:id (#7287)
6 years ago
Eugen Rochko ba1f40c806 Fix "Show more" URL on paginated threads for remote statuses (#7285)
6 years ago
Eugen Rochko 24330e4fa7 Add RSS feeds for end-users (#7259)
7 years ago
Akihiko Odaki e22f682df0 Paginate descendant statuses in public page (#7148)
7 years ago
Yamagishi Kazutoshi 0939d9ede6 Fix spec for sr-Latn (#7203)
7 years ago
Eugen Rochko 354a6e4026 Improve report layout (#7188)
7 years ago
Kaito Sinclaire 447741e456 Direct messages column (#4514)
7 years ago
abcang 5384e1e913 Improve web api protect (#6343)
7 years ago
Eugen Rochko 6e051e9c55 Set Referrer-Policy to origin in web UI and public pages of private toots (#7162)
7 years ago
Akihiko Odaki 540d2ddfe4 Redirect to account status page for page of status stream entry (#7104)
7 years ago
Eugen Rochko 466442b764 Add bio fields (#6645)
7 years ago
Yamagishi Kazutoshi 9761b940ac Upgrade Rails to version 5.2.0 (#5898)
7 years ago
Akihiko Odaki 6c2344d4dd Paginate ancestor statuses in public page (#7102)
7 years ago
Emelia Smith 5a166a19a7 Feature: Improve reports ui (#7032)
7 years ago
Emelia Smith 765bfd0cf5 Feature: Allow staff to change user emails (#7074)
7 years ago
Levi Bard 6828abc1d7 Enable updating additional account information from user preferences via rest api (#6789)
7 years ago
ThibG a91acd2010 Fix follow/unfollow buttons on public profile (fixes #7036) (#7040)
7 years ago
Alda Marteau-Hardi 17f77e51f2 Prevent admins and moderators eavesdropping in private and direct toots (#7067)
7 years ago
Emelia Smith 078aa8b5ae Improve require_admin! and require_staff! filters (#7018)
7 years ago
Emelia Smith 5373b138e8 Feature: Report improvements (#6967) (#7000)
7 years ago
Emelia Smith 0408944627 Implement the ability for an Administrator or Moderator to remove an account avatar (#6998)
7 years ago
Eugen Rochko 10fc551576 Fix unpermitted parameters warning when generating pagination URLs (#6995)
7 years ago
Eugen Rochko 77badbc85a If DEFAULT_LOCALE is set, enforce it instead of HTTP request locale (#6817)
7 years ago
abcang f25dfde752 Improve performance of account_media_status_ids (#6729)
7 years ago
Eugen Rochko fdf409f3b6 If login redirects to omniauth, redirect logout to root_path (#6694)
7 years ago
Akihiko Odaki e68459fc5b Redirect from Web tag timeline to public tag timeline if not signed in (#6633)
7 years ago
Akihiko Odaki 008bc9f47d Set the default locale in config (#6580)
7 years ago
Eugen Rochko b1f8dfd3cf Federate pinned statuses over ActivityPub (#6610)
7 years ago
Eugen Rochko 1a6e6a23a9 Add only_media param to public and hashtag timelines API (#6576)
7 years ago
Eugen Rochko f410afe59e Ensure that boolean params in the API are parsed for truthiness (#6575)
7 years ago
Eugen Rochko 9721b7746a Fix #942: Seamless LDAP login (#6556)
7 years ago
Eugen Rochko 0ebd2a1718 Federated reports (#6570)
7 years ago
Eugen Rochko 058b96ddf4 Improve public account cards (#6559)
7 years ago
Ian McCowan 88461c1abe Fix prev/next links on public profile page (#6497)
7 years ago
Ghislain Loaec d1806f5dc4 New variable OAUTH_REDIRECT_AT_SIGN_IN + Ref #6538 (not only SAML strategies) (#6540)
7 years ago
Eugen Rochko ad1f541bd7 Redesign landing page (again) (#6486)
7 years ago
Eugen Rochko eb5b1b45d9 Fix #6526: Only store redirect location if not in JSON format (#6528)
7 years ago
Eugen Rochko 865c7e7178 Focal points (#6520)
7 years ago
Eugen Rochko cdb12bd39b Fix bug in relationships API introduced by #6482 (#6527)
7 years ago
Eugen Rochko f6884555d7 Account archive download (#6460)
7 years ago
Konrad Pozniak fa710fd496 add parameter locked to /api/v1/update_credentials (#6506)
7 years ago
Eugen Rochko 9b7490cede Save video metadata and improve video OpenGraph tags (#6481)
7 years ago
Eugen Rochko 219b28e172 Add preference to always display sensitive media (#6448)
7 years ago
abcang 1f2aa77758 Fix response of signature_verification_failure_reason (#6441)
7 years ago
abcang 6e12cb4524 Exclude nil from relationships array (#6427)
7 years ago
Renato "Lond" Cerqueira 6528c0c101 Add option to show only local toots in timeline preview (#6292)
7 years ago
Eugen Rochko 5322013f25 CAS + SAML authentication feature (#6425)
7 years ago
ThibG f7651c3449 Allow HTTP caching of atom-rendered public toots (OStatus compatibility) (#6207)
7 years ago
puckipedia 081ba8fc90 Allow retrieval of private statuses (single or in outbox) using HTTP signatures (#6225)
7 years ago
Alexander 23ce0c86da pam authentication (#5303)
7 years ago
Eugen Rochko f378280e49 Fix #6331 (#6341)
7 years ago
Akihiko Odaki b5162e2aff Rename ResolveRemoteAccountService to ResolveAccountService (#6327)
7 years ago
Aboobacker MK a1979b50c9 Redirect to 2FA creation page when otp_secret is not available (#6314)
7 years ago
Eugen Rochko 92df0bba59 Fix regeneration marker not expiring (#6290)
7 years ago
Eugen Rochko 9cfbbbce1f Fix home regeneration (#6251)
7 years ago
りんすき 1827d142ee implement web share target (#6278)
7 years ago
Patrick Figel 2a27afc656 Suppress CSRF token warnings (#6240)
7 years ago
nightpool eac9039a63 Refactor /api/web APIs to use the centralized axios instance (#6223)
7 years ago
Eugen Rochko c8f0be1d6d Revert #5772 (#6221)
7 years ago
Yamagishi Kazutoshi c89bb8ae40 Fix force_ssl conditional (#6201)
7 years ago
Yamagishi Kazutoshi 63c17a66b8 Fix unintended cache (#6214)
7 years ago
TheKinrar 3491c5e145 Represent numbers by strings in instance activity API (#6198)
7 years ago
ThibG 662fa866ee Make sure private toots remain private and do not end up in HTTP caches (#6175)
7 years ago
Eugen Rochko f2d71eae4b Cache JSON of immutable ActivityPub representations (#6171)
7 years ago
Akihiko Odaki 7a0479c830 Allow to dereference Follow object for ActivityPub (#5772)
7 years ago
ThibG 308ff05149 Allow HTTP caching of json view of public statuses (#6115)
7 years ago
Patrick Figel 3c20cfd734 Add confirmation step for email changes (#6071)
7 years ago
Akihiko Odaki 616b6867a0 Show mastodon on modal (#6129)
7 years ago
beatrix d9c2806048 keep the same filters and page when doing custom emojo stuff (fixes #6112) (#6114)
7 years ago
Eugen Rochko 9427823d5c Add more instance stats APIs (#6125)
7 years ago
ThibG 3df85a843c Make host_meta/webfinger replies cacheable (fixes #6100) (#6101)
7 years ago
Eugen Rochko ef8fc3542b Fix #6022 - Prevent nested migrated accounts, or migrations to self (#6026)
7 years ago
Eugen Rochko d6088c5308 Add filters to admin UI for custom emojis (#6003)
7 years ago
Eugen Rochko aea3d0814b Clean up admin UI for accounts (#6004)
7 years ago
Eugen Rochko 7f286d1af0 Fix #5953 - Add GET /api/v1/accounts/:id/lists (#5983)
7 years ago
Eugen Rochko 31fe0d067b Apply a 25x rate limit by IP even to authenticated requests (#5948)
7 years ago
abcang cef07895a9 Remove unused function (#5950)
7 years ago
Eugen Rochko 87af0bf6cf Rate limit by user instead of IP when API user is authenticated (#5923)
7 years ago
abcang 7fc5cf7a12 Keep WebPush settings (#5879)
7 years ago
Eugen Rochko f16141ebac Limit users to 50 lists, remove pagination from lists API (#5933)
7 years ago
Yamagishi Kazutoshi fba46b6072 Using double splat operator (#5859)
7 years ago
Eugen Rochko b037fbf9f4 Remove rabl dependency (#5894)
7 years ago
Eugen Rochko 1e7f022fa2 Add list of lists component to web UI (#5811)
7 years ago
Yamagishi Kazutoshi 1447ef1d44 Add invite filter (#5862)
7 years ago
Yamagishi Kazutoshi 7f0a01a20c Fix invites form path (#5861)
7 years ago
aschmitz ce341c7cf6 Allow hiding of reblogs from followed users (#5762)
7 years ago
nullkal 35e3791ba4 Fix account migration feature (#5837)
7 years ago
Eugen Rochko 55d9abcceb Add UI for setting up account migration (#5832)
7 years ago
Eugen Rochko bc8c951083 Add consumable invites (#5814)
7 years ago
Eugen Rochko efc97d404c Add logging of admin actions (#5757)
7 years ago
Yamagishi Kazutoshi bffc1b880b Add “staff” badge to admin user pages (#5735)
7 years ago
Eugen Rochko e149067561 Lists (#5703)
7 years ago
Clworld 6547ebee48 Fix regression #5467: fixes emoji copy (#5739)
7 years ago
Eugen Rochko 3df46ce5a8 Fix some rubocop style issues (#5730)
7 years ago
Surinna Curtis 582dd1b7c7 Optional notification muting (#5087)
7 years ago
ThibG 74de5566d4 Filter searched toots to be consistent with blocking behaviors (#5383)
7 years ago
Eugen Rochko 80873c1134 Add option to block direct messages from people you don't follow (#5669)
7 years ago
Eugen Rochko 97178b6d86 Add moderator role and add pundit policies for admin actions (#5635)
7 years ago
Eugen Rochko 7f1a0241c1 Add ability to disable login and mark accounts as memorial (#5615)
7 years ago
nullkal 19f82492ab Show the local couterpart of emoji when it exists in /admin/custom_emojis (#5467)
7 years ago
nullkal 0a9cc96cdc Feature: Unlisted custom emojis (#5485)
7 years ago
erin fe11a72c0b Fix copying emojos: redirect to the page you were on (#5509)
7 years ago
Nolan Lawson a54c272a1f Add option to reduce motion (#5393)
7 years ago
KY d4b9f821ca Fix #5351 - Redirection with page params after copy emoji (#5387)
7 years ago
Eugen Rochko 7ccc1c5748 Fix UserTrackingConcern firing on every request, optimize some queries (#5368)
7 years ago
Yamagishi Kazutoshi c12c5270fa Set InstancePresenter to `Auth::RegistrationsController#create` (#5366)
7 years ago
takayamaki cfab4a7ce4 sign_in and sign_up views present og meta infos (#5308)
7 years ago
Eugen Rochko 9d5075740a Fix custom emoji copy not copying file (#5298)
7 years ago
Akihiko Odaki 783422f8f5 Fix pagination in Api::V1::BlocksController (#5285)
7 years ago
nullkal 81489970fb Add moderation note (#5240)
7 years ago
Eugen Rochko b98cd0041b Redesign public hashtag pages (#5237)
7 years ago
Eugen Rochko 60925ce0ae Encode custom emojis as resolveable objects in ActivityPub (#5243)
7 years ago
Eugen Rochko b4af50c521 Improve admin UI for custom emojis, add copy/disable/enable (#5231)
7 years ago
utam0k 51f8cbfbeb Implement EmailBlackList (#5109)
7 years ago
Yamagishi Kazutoshi 6bd4e3bf97 Separate notifications preferences from general preferences (#4447)
7 years ago
aschmitz 5b2d855d86 Non-Serial ("Snowflake") IDs (#4801)
7 years ago
Akihiko Odaki 2e6db37776 Validate id of ActivityPub representations (#5114)
7 years ago
ThibG 707cd936e8 Fix HTTP responses for salmon and ActivityPub inbox processing (#5200)
7 years ago
Eugen Rochko 0783f18274 Make Chrome splash screen same color as web UI's background color (#5169)
7 years ago
Akihiko Odaki 51f48c8960 Fix order of paginated accounts in FollowerDomainsController and spec (#3357)
7 years ago
Eugen Rochko 5983fa43f5 Fix #5104 - GET /api/v1/apps/verify_credentials to confirm app works (#5112)
7 years ago
Eugen Rochko cb8ecac1ce After 7 days of repeated delivery failures, give up on inbox (#5131)
7 years ago
Eugen Rochko c35e6234ab If HTTP signature is wrong and webfinger cache is stale, retry with resolve (#5129)
7 years ago
Eugen Rochko 795e624d5d Add ability to specify alternative text for media attachments (#5123)
7 years ago
Eugen Rochko f621e05356 New API: GET /api/v1/custom_emojis to get a server's custom emojis (#5051)
7 years ago
nullkal e5a634f940 Use OrderedCollectionPage to return followers/following list (#4949)
7 years ago
Andrew b4842ef0b9 Add support for multiple themes (#4959)
7 years ago
Eugen Rochko 48377dfe46 Fix incomplete account records being read (#4998)
7 years ago
Yamagishi Kazutoshi 3dde6679c2 Fix custom emojis index (#5006)
7 years ago
Eugen Rochko e9bb7e62b1 Admin interface for listing, adding and removing custom emojis (#5002)
7 years ago
Eugen Rochko 26c797bf0d When accessing uncached media attachment, redownload it (#4955)
7 years ago
Eugen Rochko 2d1048d041 When web UI URL used while logged out, redirect to static page (#4954)
7 years ago
Eugen Rochko 9ff429aa6d Uploads for admin site settings (#4913)
7 years ago
nullkal 7f432a97a0 Add instance search feature (#4925)
7 years ago
Eugen Rochko e054961051 Fix error when following locked accounts (#4896)
7 years ago
Eugen Rochko 078c84fbb5 Fix POST /api/v1/follows error when already following (#4878)
7 years ago
Eugen Rochko 6628ea4a82 Default follows for new users (#4871)
7 years ago
Eugen Rochko 73c613dcfc Switch to static URIs, new URI format in both protocols for new statuses (#4815)
7 years ago
Eugen Rochko 181cbbcaf8 Fix #4794 - Fake instant follow in API response when account is believed unlocked (#4799)
7 years ago
nullkal 36872cd22c Show pinned statuses only in the top of the profile page (#4803)
7 years ago
Eugen Rochko 8b4bddf1c9 Instantly upgrade account to ActivityPub if we receive ActivityPub payload (#4766)
7 years ago
Eugen Rochko e9e271878e Make PreviewCard records reuseable between statuses (#4642)
7 years ago
Eugen Rochko ad769409f7 Embed modal (#4748)
7 years ago
Eugen Rochko 1b20fe79b4 Add sharedInbox to actors (#4737)
7 years ago
Eugen Rochko 651c659fd6 Update status embeds (#4742)
7 years ago
masarakki d8f136cb8b authorize-follow-requests-after-unlocking (#4658)
7 years ago
nullkal f9ebff4b13 Allow multiple pinned statuses to be shown and make them be ordered b… (#4690)
7 years ago
Eugen Rochko 3e20cb7025 Pinned statuses (#4675)
7 years ago
unarist bab7127ac9 Fetch reblogs as Announce activity instead of Note object (#4672)
7 years ago
HIKARU KOBORI 771060a993 Fix typo in admin/status_controller.rb (#4679)
7 years ago
nullkal da85aff49c Use checkboxes for application scope setting (#4671)
7 years ago
Eugen Rochko b13501268f Fix up the applications area (#4664)
7 years ago
Colin Mitchell 63b98318c5 Application prefs section (#2758)
7 years ago
Eugen Rochko dccc1a74ad Support more variations of ActivityPub keyId in signature (#4630)
7 years ago
Eugen Rochko 1a19358b24 ActivityPub migration procedure (#4617)
7 years ago
Eugen Rochko 39b76d47a5 Fix #4637 - Re-add missing doorkeeper_authorize for /api/v1/verify_credentials (#4650)
7 years ago
Yamagishi Kazutoshi c0642a0042 Don't send Link header when don't know prev and next links (#4633)
7 years ago
Eugen Rochko 2dba0368f8 Redesign public profiles (#4608)
7 years ago
Clworld 39b3080d51 Make share intent modal to make "signed in as" shown. (#4611)
7 years ago
abcang efd907e32e Fix require_user! behavior when not logged in (#4604)
7 years ago
Eugen Rochko 0e5c8372e7 Add protocol handler. Handle follow intents (#4511)
7 years ago
Eugen Rochko 1c7cbbcb8c Set correct content-type for ActivityPub JSON (#4592)
7 years ago
Eugen Rochko 34962d9f9d Add alternate links to ActivityPub resources from HTML/HEAD variants (#4586)
7 years ago
Eugen Rochko 5516767c75 ActivityPub delivery (#4566)
7 years ago
Eugen Rochko 1b6ced5887 Add Digest header to requests with body, handle acct and URI keyId (#4565)
7 years ago
Eugen Rochko f18739fd60 Add ActivityPub inbox (#4216)
7 years ago
Eugen Rochko fd69694749 Add "signed in as" header to some pages (#4523)
7 years ago
nullkal 62b92a4c0a Redirect to PasswordController#new when reset_password_token is invalid (#4506)
7 years ago
Eugen Rochko 84b40ce9a7 Fix #4026 - Accept backup codes for disabling 2FA (#4382)
7 years ago
Akihiko Odaki 98ba57efca Merge queries in Api::V1::FavouritesController (#4359)
7 years ago
Sorin Davidoi 78ff8d3421 feat: Enable push subscription for mobile devices by default (#4321)
7 years ago
Eugen Rochko 9d8d1d90e0 Add button to re-subscribe to all accounts from a domain (#4285)
7 years ago
Eugen Rochko 75ab767791 Fix webfinger retries (#4275)
7 years ago
Yamagishi Kazutoshi 9392d10250 Add feature to revoke sessions (#4259)
7 years ago
Eugen Rochko 3852032953 Correct OStatus inflection (Ostatus -> OStatus) (#4255)
7 years ago
Yamagishi Kazutoshi 87bb16a236 Add unfollow modal (optional) (#4246)
7 years ago
Akihiko Odaki b0f97d9a87 Introduce Ostatus name space (#4164)
7 years ago
abcang e3251e74c1 Improve admin page (#4121)
7 years ago
Eugen Rochko f3ed02e492 Minor ActivityPub JSON fixes (#4214)
7 years ago
Eugen Rochko c99f41dc3c Improve ActivityPub representations (#3844)
7 years ago
Eugen Rochko c6e46f7421 Fix #2672 - Connect signed PuSH subscription requests to instance domain (#4205)
7 years ago
unarist df81145b7c Fix response of unreblog/unfavourite APIs (#4204)
7 years ago
Eugen Rochko c5fa4aba91 HTTP signatures (#4146)
7 years ago
Eugen Rochko 7d8fd050eb Add option to opt out of search engines on public profile/status pages (#4199)
7 years ago
Sorin Davidoi ecab38fd66 Web Push Notifications (#3243)
7 years ago
Eugen Rochko 8abeec1f4f Improve UI of admin site settings (#4163)
7 years ago
Eugen Rochko 903b34fa94 Fix #2848 - Rake task to redownload avatars/headers (#4156)
7 years ago
Eugen Rochko 9fff81f676 Fix #3462 - Require authentication for search API (#4155)
7 years ago
Eugen Rochko 49026e27e8 Redesign the landing page, mount public timeline on it (#4122)
7 years ago
STJrInuyasha 098eef3211 Remote following success page (#4129)
7 years ago
のら 682d93a869 Add Japanese translation of terms and flash (#4137)
7 years ago
Yamagishi Kazutoshi 865f5170a8 Add setting a always mark media as sensitive (#4136)
7 years ago
Yamagishi Kazutoshi 2ffd2303ee Add attribute for default privacy to verify credentials (#4075)
7 years ago
Eugen Rochko 0d54e620d9 Replace OEmbed and initial state Rabl templates with serializers (#4110)
7 years ago
Eugen Rochko 0217e15dd3 Fix #4058 - Use a long-lived cookie to keep track of user-level sessions (#4091)
7 years ago
Eugen Rochko 20e15ecfb3 Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090)
7 years ago
Damien Erambert 387de88e2f Add a setting allowing the use of system's default font in Web UI (#4033)
7 years ago
Yamagishi Kazutoshi 68abc90aec Customizable privacy policy from admin interface (#4062)
7 years ago
Eugen Rochko d0221b05bc Fix #1624 - Send e-mail notifications to admins about new reports (#3949)
7 years ago
Eugen Rochko b90a44b6d0 Fix #3910 - Require OTP authentication to disable 2FA (#3935)
7 years ago
Eugen Rochko ad531f90b1 Bind web UI access tokens to sessions (#3940)
7 years ago
Eugen Rochko c465c5b3a8 Add overview of active sessions (#3929)
7 years ago
masarakki d947978192 setting-for-account-deletable (#3852)
7 years ago
Eugen Rochko 8bed91d94c Rename FollowRemoteAccountService to ResolveRemoteAccountService (#3847)
7 years ago
Eugen Rochko c883e96d95 Fix account delete form not accepting password, update suspended (#3745)
7 years ago
Eugen Rochko 1c7e2ddd65 Account deletion (#3728)
7 years ago
Eugen Rochko 973d6ef93a Fix #2619 - When redis feed is empty, fall back to database (#3721)
7 years ago
René Klačan ecdf17a2d7 Make sure email is case insensitive on all places (#3688)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) a5729feb11 Improve default language decision and spec (#3351)
7 years ago
Matt Jankowski e31cd944c2 Move create/destroy actions for api/v1/statuses to namespace (#3678)
7 years ago
Matt Jankowski dc717cf425 Move reblogged_by and favourited_by actions out of api/v1/statuses and into unique controllers (#3646)
7 years ago
Eugen Rochko 9eefd60136 Add explit admin actions to (re)subscribe/unsubscribe remote accounts (#3640)
7 years ago
Yamagishi Kazutoshi 5da41e0cae Improve RuboCop rules (compatibility to Code Climate) (#3636)
7 years ago
Matt Jankowski 76f986d07b Clean up for api/base controller (#3629)
7 years ago
Matt Jankowski 9a43a1051a Coverage improvement and concern extraction for rate limit headers in API controller (#3625)
7 years ago
Eugen Rochko 143ab47410 Fix #3063 - Add dynamic app manifest (#3563)
7 years ago
Daigo 3 Dango e1142e190b Redirect to streaming_api_base_url (#3579)
7 years ago
Naoki Kosaka 13aa805de8 Fix limit_param in favourites_controller.rb (#3553)
7 years ago
takayamaki aa6740c21b change sidekiq queueing to bulk push (#3536)
7 years ago
ThibG 810dd86991 Ensure well_known controllers use WEB_DOMAIN by including RoutingHelper (#2388)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 2c511bbad4 Spec response for forgery (#3248)
7 years ago
Matt Jankowski 1066fd1ab5 Spec coverage and refactor for the api/v1/accounts controllers (#3451)
7 years ago
Matt Jankowski 81ce4e4318 Move admin/pubsubhubbub controller to admin/subscriptions (#3442)
7 years ago
Matt Jankowski deb4ae7392 Add Instance class to list admin records (#3443)
7 years ago
Matt Jankowski 0985a9ff7d Improve spec coverage and clean up api/v1/blocks controller (#3464)
7 years ago
Matt Jankowski ae721f376a Improve spec coverage and clean up api/v1/follow_requests controller (#3465)
7 years ago
Matt Jankowski e32b9ecbf6 Improve spec coverage and clean up api/v1/domain_blocks controller (#3466)
7 years ago
Matt Jankowski 7b8b5b9f1e Refactor api/v1/notifications controller (#3470)
7 years ago
Matt Jankowski 6237abaaa3 Improve spec coverage and clean up api/v1/favourites controller (#3472)
7 years ago
Matt Jankowski 3e95a6c9b7 Improve spec coverage and clean up api/v1/mutes controller (#3481)
7 years ago
Matt Jankowski b89dbac199 Refactor and spec coverage for api/v1/timelines actions (#3482)
7 years ago
Matt Jankowski 12e795d0a7 Refactor api/v1/apps controller (#3471)
7 years ago
Matt Jankowski cc92e6be3e Refactor api/v1/reports controller (#3469)
7 years ago
Matt Jankowski 3d2927caa2 Refactor api/v1/search controller (#3468)
7 years ago
Matt Jankowski 8b69d8d46d Improve spec coverage and clean up api/v1/media controller (#3467)
7 years ago
Matt Jankowski 5a54a5ba69 Clean up api/subscriptions controller (#3448)
7 years ago
Jack Jennings 4e75c71b3e Add status destroy authorization to policy (#3453)
7 years ago
Matt Jankowski 4e89226243 Improve api oembed controller (#3450)
7 years ago
Matt Jankowski 0ee8f559ec Clean up api/salmon controller (#3449)
7 years ago
Matt Jankowski 18c81c74e5 Remove exports/base controller in favor of shared concern (#3444)
7 years ago
Jack Jennings faf53a5a3e Extract authorization policy for viewing statuses (#3150)
7 years ago
Akihiko Odaki ff2bfea0b3 Remove methods from ObfuscateFilename and spec (#3347)
7 years ago
Atsushi Yamamoto 4547e3585a Add preference setting for delete toot modal (#3368)
7 years ago
unarist f7283b1f0f Fix empty flash message on the settings page (#3345)
7 years ago
Akihiko Odaki 4c8708522a Remove redundant call of recent scope in AccountsController (#3330)
7 years ago
Akinori MUSHA 8a5d3b2e5d Go to root after login in single user mode (#3289)
7 years ago
unarist af368a2d12 More use of next link header on account (media) timelines (#3311)
7 years ago
Yamagishi Kazutoshi 09f5091102 Show error message to suspended user (#3281)
7 years ago
unarist 9642bdbe0a Fix following/followers API to return correct link headers (#3268)
7 years ago
Eugen Rochko b886ecea5c Fix Devise destroy method being available to delete user record (#3266)
7 years ago
alpaca-tc 46ca699d72 Toggle sensitive from admin page (#3261)
7 years ago
Matt Jankowski fecc2c2f47 Refactor of API timeline actions (#3263)
7 years ago
Akihiko Odaki d670290506 Cover StreamEntriesController more and remove redundant instructions (#3257)
7 years ago
Akihiko Odaki 4f023cb001 Introduce recent to Follow (#3247)
7 years ago
Akihiko Odaki 9cc7a3c209 Cover AccountsController more in spec (#3229)
7 years ago
Matt Jankowski 4f2a0f546d Coverage for api/web/settings controller (#3238)
7 years ago
Tomonori Murakami 323eeb096c Fix locale bug when change it on preferences (#3223) (#3232)
7 years ago
Immae ae917bfb23 Allow alternate domains for mastodon handlers (#3187)
7 years ago
Yamagishi Kazutoshi 410a684c3b Change "Account.any?" to "Account.exists?" (#3217)
7 years ago
Akihiko Odaki cbd9804857 single_user_mode? always returns boolean (#3215)
7 years ago
Akihiko Odaki 90c8175cb0 Fix mutes_controller error and incorrect statuses_controller report (#3202)
7 years ago
Akihiko Odaki f23a0655fe Fix regressions in api/v1 (#3178)
7 years ago
Matt Jankowski 1122249e51 Filter languages with opt out (#3175)
7 years ago
Yamagishi Kazutoshi ee5e342a42 Fix block list 500 (#3174)
7 years ago
Akihiko Odaki 9d32e7f6d5 Use joins for account properties (#3167)
7 years ago
Eugen Rochko 5695449335 Add buttons to block and unblock domain (#3127)
7 years ago
Matt Jankowski 6619cfe934 Conditional validations no longer accept strings for if/unless (#3124)
7 years ago
Eugen Rochko 0cafe62561 Account domain blocks (#2381)
7 years ago
alpaca-tc c0791aa647 Add filter to AccountFilter (#2968)
7 years ago
masarakki 523f82db5e use-symbol-in-order (#3081)
7 years ago
Eugen Rochko 5039bc93d5 Feature conversations muting (#3017)
7 years ago
Matt Jankowski 735c5098c5 Specs for API push controller, with refactor (#2926)
7 years ago
HANATANI Takuma d19f86f596 Remove unnecessary keep file. (#2902)
7 years ago
alpaca-tc 1f1ce0291f Refactor domain_blocks_controller (#2843)
7 years ago
rch850 4a930bd556 Use null as default oEmbed height (#2842)
7 years ago
alpaca-tc 102c829f16 Optimize follower_accounts and following_accounts (#2820)
7 years ago
Matt Jankowski 232b822d86 Replace best_in_place editor on admin settings page (#2789)
7 years ago
Eugen Rochko 91a8a5eab8 Fix #2706 - Always respond with 200 to PuSH payloads (#2733)
7 years ago
Matt Jankowski 129e06f0b3 Auth sign out (#2511)
7 years ago
Kaylee fae1ed48e3 Add option to disable two factor auth in admin accounts panel. (#2584)
7 years ago
Matt Jankowski 4645d95ffc Add admin area view partials for each record type (#2700)
7 years ago
Matt Jankowski fdd7ee1cc7 Coverage for remote follows (#2694)
7 years ago
Matt Jankowski 52b2a25ace Error responses cleanup (#2692)
7 years ago
Matt Jankowski c44ef23e50 Filter on allowed user language preferences (#2361)
7 years ago
yhirano 18e4933432 Fix Rubocop offences (#2630)
8 years ago
Matt Jankowski a5c8ffcaf9 Extract user tracking into concern (#2600)
8 years ago
Matt Jankowski 54450f75d3 More coverage yes more even more (#2627)
8 years ago
yhirano 7c65bcbdb7 Downgrade rubocop 0.48.1 => 0.46.0 (#2628)
8 years ago
alpaca-tc a846db0ed3 Remove uneeded `ORDER BY` query (#2615)
8 years ago
Matt Jankowski 7662a68de1 Return missing page when tag does not exist (#2563)
8 years ago
Yamagishi Kazutoshi c69e74d9ba Fix Doorkeeper error (#2534)
8 years ago
Matt Jankowski b17d7a1f85 Catch error when server decryption fails on 2FA (#2512)
8 years ago
Eugen Rochko 4a7dc4fadc OEmbed support for PreviewCard (#2337)
8 years ago
Matt Jankowski 6712d98c58 Add spec coverage and refactor authorize_follows controller (#2505)
8 years ago
alpaca-tc 31d49716c6 Localize with i18n for Devise::FailureApp (#2309)
8 years ago
Evan Minto 1b5966ad07 Change ActivityPub paging to match spec. Clean up ActivityPub outbox changes. (#2410)
8 years ago
Eugen Rochko 553d6a1ea6 Fix #2402 - Add Idempotency-Key header to PostStatusService that prevents (#2419)
8 years ago
Eugen 87f7a3922c Punycode URI normalization (#2370)
8 years ago
Matt Jankowski f93d4d340d Return force_ssl to the controller (#2380)
8 years ago
Eugen f89e26bdd5 Followers-only post federation (#2111)
8 years ago
Evan Minto 227f45402d ActivityPub: Add basic, read-only support for Outboxes, Notes, and Create/Announce Activities (#2197)
8 years ago
Ash Furrow eb7db6f8da Admin UI for confirming users (#2245)
8 years ago
Matt Jankowski 04e2d502e0 Move force_ssl check to production config (#2165)
8 years ago
Matt Jankowski 502eef6f8d 2FA controller cleanup (#2296)
8 years ago
Ashley b970cf6988 Added API for single notification dismissal (#2251)
8 years ago
Takayoshi Nishida 3ba9a8c1db Fix #2195 - Set locale to error pages (#2255)
8 years ago
Matt Jankowski be1ecde300 Clean up settings/preferences controller (#2237)
8 years ago
Matt Jankowski 696f4794fd Admin settings controller refactor, add specs, cleanup (#2225)
8 years ago
Eugen f29afaa268 Fix #2120 - Use Status#as_tag_timeline on public hashtag page (#2182)
8 years ago
Matt Jankowski 7a1129892c Simplify render in controllers (#2144)
8 years ago
Matt Jankowski 9a8134cea6 Restful refactor of accounts/ routes (#2133)
8 years ago
happycoloredbanana 9026426b4d Remove API authentication for public statuses (after review) (#1919)
8 years ago
Matt Jankowski ce5cb2b81c Instances list in admin (#2095)
8 years ago
Matt Jankowski 4b6be67e85 Admin reports with accounts (#2092)
8 years ago
839 95e8ab21a1 Avoid dynamic methods due to processing speed (#2080)
8 years ago
Eugen Rochko a398b93bbc Adjust visuals of non-autoplaying GIFV
8 years ago
Eugen Rochko 336fd904db Merge branch 'pause-gif' of git://github.com/patf/mastodon into patf-pause-gif
8 years ago
Matt Jankowski 7a7a2d591f Remove unused methods (#1730)
8 years ago
Matt Jankowski 47cc8462e3 Media controller specs (#2022)
8 years ago
Eugen e0a36782b4 Fix #1897 - Return reblogged: false on unreblog (was wrongly named variable) (#1989)
8 years ago
Matt Jankowski fd9d43b6e2 Improve handling of HTTP_ACCEPT for webfinger (#2008)
8 years ago
Patrick Figel 2fb1f07888 Add gif auto-play/pause preference
8 years ago
saturday06 abf70be71e Assign user locale on signup (#1982)
8 years ago
Eugen 40b37104fd Onboarding modal (#1883)
8 years ago
Matt Jankowski fff8d92577 I18n health warnings (#1949)
8 years ago
Eugen ba6b4c6e62 Make file attachment on MediaAttachment optional (#1865)
8 years ago
alpaca-tc 752d057494 ActiveRecord::NotFound is not defined (#1864)
8 years ago
Marcin Cieślak d67b8e90ea Give SINGLE_USER a chance to register (#1820)
8 years ago
Matt Jankowski c0f0bcf17d Add password reset for users from admin accounts area (#1841)
8 years ago
Patrick Figel 15b393201e Add recovery code support for two-factor auth (#1773)
8 years ago
Joachim Viide cbf0e1b1c8 Send initial state in a <script type="application/json"> tag (#1806)
8 years ago
ThibG c45c67c2ac Allow running mastodon on a different domain as the one used for identifying users (#1267)
8 years ago
Matt Jankowski 20170cb4f3 Improve i18n chooser (#1804)
8 years ago
Matt Jankowski 22f1d9099a Admin reports controller improvements (#1714)
8 years ago
Matt Jankowski d8789124ae Clean up well-known routes/controllers (#1649)
8 years ago
Matt Jankowski 26ea2f70bd Admin accounts controller cleanup (#1664)
8 years ago
Matt Jankowski 0a6cfca260 Settings export refactor (#1646)
8 years ago
Matt Jankowski d1ebb63c54 Quick best practice cleanup of views/helpers (#1546)
8 years ago
Matt Jankowski 9d1d8797fd Webfinger resource to extract username from resource string (#1607)
8 years ago
Matt Jankowski bf7306636e Allow import/export of mutes list (#1541)
8 years ago
Matt Jankowski ca70fe5ae7 Simplify the way the embed view is created (#1590)
8 years ago
Matt Jankowski c27253cbb6 Default to json type for webfinger requests (#1583)
8 years ago
Matt Jankowski 63e46e27f0 Refactor exports controller (#1567)
8 years ago
Eugen Rochko b440b2a9ee Merge branch 'master' of https://github.com/blackle/mastodon into blackle-master
8 years ago
blackle e7d77f4e13 Allow user to disable the boost confirm dialog in preferences
8 years ago
Matt Jankowski fcec9fcd99 Pagination improvements (#1445)
8 years ago
Eugen 68f3ce7d0c API param to exclude notification types from response (#1341)
8 years ago
Matt Jankowski 874a240a58 Clean up generation of account webfinger string (#1477)
8 years ago
Matt Jankowski 8d0a4b7200 Admin base controller (#1465)
8 years ago
Eugen 5c57f15503 Do not store last visited URL from API controllers (#1330)
8 years ago
Eugen 47a3702db4 Fix /api/v1/accounts/update_credentials tests (#1357)
8 years ago
David Authier 9252133084 Use HTTP Accept-Language to detect locale (#1166)
8 years ago
David Celis 6e0b4032b3 Allow users to update their Account in the API (#1179)
8 years ago
Matt Jankowski 41b79ae693 Clean up about page (#1282)
8 years ago
Eugen 3047a8da74 Make public timelines API not require user context/app credentials (#1291)
8 years ago
Eugen b532134503 Fix #795, fix #704, fix #835 - 2FA requires confirmation to be enabled (#1278)
8 years ago
Eugen Rochko 07f42f0824 Fix #1165 - before_action was called before protect_from_forgery
8 years ago
Eugen Rochko 9bb84337a7 Allow setting of default language through config
8 years ago
Eugen 24c77e57b2 Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124)
8 years ago
Drew DeVault 932b0b2f1f Remote follow improvements
8 years ago
Eugen Rochko 353a30810c New admin setting: open/close registrations, with custom message, from the admin UI
8 years ago
Eugen Rochko 7a56845060 Only call regeneration worker after first login after a 14 day break
8 years ago
Eugen Rochko 24793cdbaa Fix ActionController::Parameters in API issue
8 years ago
Eugen Rochko c9ffa7ab1d Add basic logging of who resolved report
8 years ago
Eugen Rochko ceaafb22d3 When taking action on a report (silence/suspend), it dismisses all other
8 years ago
Eugen Rochko 6ebe31e716 Make default admin UI page reports. Add admin UI for creating a domain block
8 years ago
Eugen Rochko 1ee4c6415c Catching rack timeout from rails doesn't work
8 years ago
Eugen Rochko 00e99e58db Add proper error page for request timeouts
8 years ago
Eugen Rochko f04816f005 Fix wording "show reblogs" -> "show boosts", order reports chronologically in
8 years ago
Eugen Rochko e407ed24a6 Fix landing page sign up form ignoring username field
8 years ago
Eugen Rochko 244da78105 Import feature for following/blocking lists (addresses #62, #177, #201, #454)
8 years ago
Eugen Rochko 96e58cf289 Add counter caches for a large performance increase on API requests
8 years ago
Eugen Rochko a4ce8b09fb Fix #690 - Webfinger should handle new shortform profile URLs now (nice)
8 years ago
Eugen Rochko b3cb765a94 Prettier account and stream entry URLs
8 years ago
Eugen Rochko 3893f75a51 New API method: /api/v1/search
8 years ago
Eugen Rochko b339e488fe Export follow/block lists as CSV
8 years ago
Eugen Rochko 20d91848cf Fix wrong HTTP status codes on error pages
8 years ago
Eugen Rochko 844eda88fe Forgot to hook up API with the latest method
8 years ago
Eugen Rochko c97f817e40 Fix #525 - Add instance information API
8 years ago
Eugen 6599b27b2b Merge branch 'master' into mastodon-site-api
8 years ago
Eugen Rochko 453d65e6da Obfuscate filenames better, double rate limits
8 years ago
Eugen Rochko 250beb1971 Revert earlier fix due to new bug reports
8 years ago
Eugen Rochko dea8e95d14 Performance improvement for profiles
8 years ago
Eugen Rochko 42b6d5aca5 Increase max bitrate of converted webms, slightly optimized counter queries
8 years ago
Eugen Rochko d1e1f26878 Improved /api/v1/accounts/:id/statuses with new params: only_media, exclude_replies
8 years ago
Eugen Rochko 0cb5a2a0a7 Add digest e-mails
8 years ago
Kit Redgrave 4554ccd5d0 Mute button progress so far. WIP, doesn't entirely work correctly.
8 years ago
Kibigo b39356835b Adds site metadata access to the API
8 years ago
Eugen Rochko a741049a77 Fix #104 - Style OAuth authorized applications page
8 years ago
Eugen Rochko ff8a080d40 Add validation of media attachments, clean up mastodon-own exception classes
8 years ago
Eugen Rochko 128dcdf68a Merge branch 'fix_462' of https://github.com/rmhasan/mastodon into rmhasan-fix_462
8 years ago
Eugen Rochko 5157e25aab Add tuning documentation, add <content> tags back to most salmons,
8 years ago
Rakib Hasan 2e10c9861e Removed try clause from create action in status controller
8 years ago
Rakib Hasan 008c95b3b9 revisted fix for #462
8 years ago
Rakib Hasan 11dc0a1cbc Fix for issue #462
8 years ago
Eugen Rochko 3d291bcc55 Do not display non-Status stream entries anymore
8 years ago
Eugen Rochko 7f9d6d0160 Add GET /api/v1/accounts/:id/statuses/media that returns only statuses with media attachments
8 years ago
Eugen Rochko 0613d66df8 Add UI to view report details, remove reported statuses, quick links to resolve/silence/suspend from report
8 years ago
Eugen Rochko 6917e53fe0 Adding index overview for reports in admin UI
8 years ago
Eugen Rochko 513a78d67b Fix admin UI for accounts somewhat
8 years ago
Eugen Rochko 2cc31b3194 Adding POST /api/v1/reports API, and a UI for submitting reports
8 years ago
Eugen Rochko a83dc927d8 Fix #587 - Display TOTP secret next to QR code
8 years ago
Eugen Rochko f9f8f52fe9 Stop trying to shoehorn all Salmon updates into the poor database-connected
8 years ago
Eugen Rochko 59c8c2b28a Make follow requests federate
8 years ago
Eugen 92a90de2af Fix #611 - Layout setting in registrations controller
8 years ago
Eugen 7037774d6e Merge pull request #603 from evanminto/activitypub-account
8 years ago
Eugen Rochko af82038b98 Fix preferences save
8 years ago
Eugen Rochko b1f2683ecc Add API modifiers to limit returned toots from public/hashtag timelines
8 years ago
Evan Minto db7affbf5b Reuse existing controller and route
8 years ago
Eugen Rochko e4a55302d2 Remove bios from blocked users list, filter out broken entries from API response
8 years ago
Eugen Rochko 2f126b1225 Removing failed push notification API, make context loads use cache
8 years ago
Evan Minto e02bfd0aa2 Remove unnecessary leftover code
8 years ago
Evan Minto b56d24ed71 Add an account endpoint for ActivityPub and link to it on HTML profile pages
8 years ago
Eugen Rochko 727d236fcc Cleaning up format of broadcast real-time messages, removing
8 years ago
Eugen Rochko 9327d05bf7 API for apps to register for push notifications
8 years ago
Eugen Rochko c58da52e9f Split 2FA login into two prompts
8 years ago
Eugen Rochko 557de8e24c Update settings to re-use admin layout, one big navigation tree, improve settings forms
8 years ago
Eugen Rochko 9b8670c939 Added optional two-factor authentication
8 years ago
Eugen Rochko 2efefb380b Improve infinite scroll on notifications
8 years ago
Eugen Rochko 959e064186 Instead of using spoiler boolean and spoiler_text, simply check for non-blank spoiler_text
8 years ago
Eugen c7778752e3 Merge branch 'master' into master
8 years ago
Eugen Rochko ea8b548ee9 Make blocks create entries and unfollows instantly, but do the clean up
8 years ago
Eugen Rochko b4ec84067a API now respects ?limit param as long as it's within 2x default limit
8 years ago
blackle e25fc71c2c Implement a click-to-view spoiler system
8 years ago
Eugen Rochko 98660a76d9 Move merging/unmerging of timelines into background. Move blocking into
8 years ago
Eugen Rochko 4d39cc7bf9 Add /api/v1/notifications/clear, non-existing link cards for statuses will
8 years ago
Eugen Rochko 55d6cd41e6 Fix a couple unhandled exceptions
8 years ago
Eugen Rochko 4cbca05197 Potentially fix notifications issue
8 years ago
Eugen 20cb576da1 Fix inflection
8 years ago
Eugen Rochko 2c29cc400e Improve error page layouting. 500 page has to stay static because it's
8 years ago
Eugen Rochko 280348f1e0 Merge branch 'fix/error-pages' of https://github.com/ineffyble/mastodon into ineffyble-fix/error-pages
8 years ago
Eugen Rochko f4836b9077 Method to fetch a single notification
8 years ago
Eugen Rochko f748a91ec7 Fix #463 - Fetch and display previews of URLs using OpenGraph tags
8 years ago
Eugen Rochko a88f9a5ca9 Don't show loading bar when re-loading already loaded status. Don't even try to fetch ancestors from DB when in_reply_to_id is nil
8 years ago
Eugen Rochko f4d7f4c687 Fix #238 - Add "favourites" column
8 years ago
Effy Elden 80f186cdf0 Add nice error page for CSRF errors/cookie issue, and fix error page handling altogether
8 years ago
Effy Elden 8e0c1914fb Add tracking of OAuth app that posted a status, extend OAuth apps to have optional website field, add application details to API, show application name and website on detailed status views. Resolves #11
8 years ago
Eugen Rochko f2667139ad Adding about/more page with extended information that can be set up by an admin
8 years ago
Eugen Rochko 533448be42 Add extended about page stub
8 years ago