about summary refs log tree commit diff
path: root/app
AgeCommit message (Collapse)Author
2017-08-30Use request.remote_ip instead of request.ip (#4744)nullkal
2017-08-30Update status embeds (#4742)Eugen Rochko
- Use statuses controller for embeds instead of stream entries controller - Prefer /@:username/:id/embed URL for embeds - Use /@:username as author_url in OEmbed - Add follow link to embeds which opens web intent in new window - Use redis cache in development - Cache entire embed
2017-08-29Scroll smoothly to the right (#4735)abcang
2017-08-29fix error when single columns mode. (#4734)MitarashiDango
2017-08-29Serialize ActivityPub alternate link into OStatus deletes, handle it (#4730)Eugen Rochko
Requires moving Atom rendering from DistributionWorker (where `stream_entry.status` is already nil) to inline (where `stream_entry.status.destroyed?` is true) and distributing that. Unfortunately, such XML renderings can no longer be easily chained together into one payload of n items.
2017-08-29Do not scroll the columns area due to redirection (#4541)Akihiko Odaki
Commit 9d1f8b9d6af1d384a4dd68bc6353a2fde5735b33 scrolls the columns area when the route changes since the user is likely to want to see the rightmost column in such cases. However, redirection is automatic and does not indicate users' intension. Do not scroll the columns area due to one.
2017-08-28Generalized the infinite scrollable list (#4697)abcang
2017-08-28Fix Delete activity handling when the status has been reblogged (#4729)unarist
2017-08-28Fix deletion of status which has been reblogged (#4728)unarist
2017-08-28rescue HTTP::ConnectionError in RemoteFollowController#create (#4726)abcang
2017-08-28Adjust "signed in as" pages (#4720)Lynx Kotoura
* Adjust "signed in as" pages Fix min-width Set width of .account-header .name To apply text-overflow and overflow settings Set overflow for detailed-status__display-name * Remove trailing whitespace
2017-08-27Adjust public profile pages (#4713)Lynx Kotoura
* Adjust account-grid in public profiles Full-width card on mobile UI. Set break-word for long name and ID. Fix margin. * Reduce padding-bottom of public profiles * Revive next prev buttons in mobile public profiles In followers followees pages. * Revert break-word for username * Fix overflow of display_name Need re-setting text-overflow and overflow in display: block;
2017-08-27Shorten display of large numbers on public profiles (#4711)Eugen Rochko
2017-08-28Add japanese translations for Pinned statuses based on pawoo. (#4717)mayaeh
Add japanese translations for pin_errors.
2017-08-27Adjust RTL styles (#4712)Eugen Rochko
2017-08-27Allow Symbol keyed Hash in LinkedDataSignature (#4715)unarist
SerializarbleResource#as_json serializes to Symbol keyed Hash, but current implementation of LinkedDataSignature expects String keyed Hash. So it generates broken payload.
2017-08-26Add _:inReplyToAtomUri to ActivityPub (#4702)Eugen Rochko
2017-08-26Forward ActivityPub deletes to followers of rebloggers (#4706)Eugen Rochko
2017-08-26Use Tombstone and _:atomUri in Delete activities as fallback (#4704)Eugen Rochko
2017-08-26Add ActivityPub serializer for Undo of Announce (#4703)Eugen Rochko
2017-08-26Set margin between character-counter and compose-form__buttons (#4698)Lynx Kotoura
For some languages publish translation is long.
2017-08-26Add handling of Linked Data Signatures in payloads (#4687)Eugen Rochko
* Add handling of Linked Data Signatures in payloads * Add a way to sign JSON, fix canonicalization of signature options * Fix signatureValue encoding, send out signed JSON when distributing * Add missing security context
2017-08-26Added new translations of error messages, block and mute domains and users, ↵Anna e só
privacy disclaimers, etc (#4700) * Added new translations of error messages, block and mute domains and users * Added new translations of error messages, block and mute domains and users
2017-08-26authorize-follow-requests-after-unlocking (#4658)masarakki
2017-08-26Fix missing at-sign (regression from #4688) (#4705)Yamagishi Kazutoshi
2017-08-25Fix ar.json (#4699)Lynx Kotoura
Remove ! from compose_form.publish
2017-08-25Allow multiple pinned statuses to be shown and make them be ordered b… (#4690)nullkal
* Allow multiple pinned statuses to be shown and make them be ordered by pinned date * Set timestamps NOT NULL * Make single-line pinned_statuses * Spec for pinned_statuses * Remove redundant empty line
2017-08-25Apply user timezone for the title attribute of .time-ago (#4693)unarist
2017-08-25Change timezone of the datetime to what browser specifies (#4688)Yamagishi Kazutoshi
2017-08-25Adjust styles of landing pages. (#4682)Lynx Kotoura
* Adjust about.scss * Delete trailing whitespace.
2017-08-25i18n Updated strings (#4675 - pinned toot) (#4695)Quent-in
* Added string for pinned toots * Pinned toot #4675 + missing string Somehow I deleted it "enabled_success" * update after advice
2017-08-25Add label for application scopes (#4691)Yamagishi Kazutoshi
* Add label for application scopes * hint
2017-08-25i18n: Update Polish translation #4675 (#4692)m4sk1n
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2017-08-25Pinned statuses (#4675)Eugen Rochko
* Pinned statuses * yarn manage:translations
2017-08-25Update Russian translation (#4685)Ratmir Karabut
* Add Russian translation (ru) * Fix a missing comma * Fix the wording for better consistency * Update Russian translation * Arrange Russian setting alphabetically * Fix syntax error * Update Russian translation * Fix formatting error * Update Russian translation * Update Russian translation * Update ru.jsx * Fix syntax error * Remove two_factor_auth.warning (appears obsolete) * Add missing strings in ru.yml A lot of new strings translated, especially for the newly added admin section * Fix translation consistency * Update Russian translation * Update Russian translation (pluralizations) * Update Russian translation * Update Russian translation * Update Russian translation (pin) * Update Russian translation (account deletion) * Fix extra line * Update Russian translation (sessions) * Update Russian translation * Update Russian translation * Fix merge conflicts (revert)
2017-08-24Don't load Roboto webfont when system font is used in the app (#4591)Damien Erambert
* Don't load Roboto webfont when system font is used in the app * remove trailing whitespace
2017-08-24Add configuration to disable private status federation over PuSH (#4582)Eugen Rochko
2017-08-24Fetch reblogs as Announce activity instead of Note object (#4672)unarist
* Process Create / Announce activity in FetchRemoteStatusService * Use activity URL in ActivityPub for reblogs * Redirect to the original status on StatusesController#show
2017-08-24Minor performance improvement for test suite (#4678)Eugen Rochko
2017-08-24Remove eslint-disable comments (#4681)Yamagishi Kazutoshi
Do not reject console.error and console.warn with ESLint rules.
2017-08-24l18n update OC new strings (#4664) (#4680)Quent-in
* New strings * Update Thin non breaking spaces * Update Thin non breaking spaces * Update Thin non breaking spaces
2017-08-24Fix typo in admin/status_controller.rb (#4679)HIKARU KOBORI
2017-08-23Use checkboxes for application scope setting (#4671)nullkal
2017-08-23Fix accessing to XML attribute in FetchAtomService (#4668)unarist
2017-08-23Fix up the applications area (#4664)Eugen Rochko
- Section it into "Development" area - Improve UI of application form, index, and details
2017-08-22Add Mastodon::Source.url (#4643)Daigo 3 Dango
* Add Mastodon::Source.url * Update spec * Refactor Move things frmo Mastodon::Source to Mastodon::Version
2017-08-22Ignore empty response in ActivityPub::FetchRemoteStatusService (#4661)unarist
* Ignore empty response in ActivityPub::FetchRemoteStatusService This fixes `NoMethodError: undefined method `[]' for nil:NilClass` error. * Check json.nil? in JsonLdHelper#supported_context?
2017-08-22Application prefs section (#2758)Colin Mitchell
* Add code for creating/managing apps to settings section * Add specs for app changes * Fix controller spec * Fix view file I pasted over by mistake * Add locale strings. Add 'my apps' to nav * Add Client ID/Secret to App page. Add some visual separation * Fix rubocop warnings * Fix embarrassing typo I lost an `end` statement while fixing a merge conflict. * Add code for creating/managing apps to settings section - Add specs for app changes - Add locale strings. Add 'my apps' to nav - Add Client ID/Secret to App page. Add some visual separation - Fix some bugs/warnings * Update to match code standards * Trigger notification * Add warning about not sharing API secrets * Tweak spec a bit * Cleanup fixture creation by using let! * Remove unused key * Add foreign key for application<->user
2017-08-22Fix bugs which OStatus accounts may detected as ActivityPub ready (#4662)unarist
* Fallback to OStatus in FetchAtomService * Skip activity+json link if that activity is Person without inbox * If unsupported activity was detected and all other URLs failed, retry with ActivityPub-less Accept header * Allow mention to OStatus account in ActivityPub * Don't update profile with inbox-less Person object
2017-08-21Support more variations of ActivityPub keyId in signature (#4630)Eugen Rochko
- Tries to avoid performing HTTP request if the keyId is an actor URI - Likewise if the URI is a fragment URI on top of actor URI - Resolves public key, returns owner if the owner links back to the key