about summary refs log tree commit diff
path: root/app
AgeCommit message (Collapse)Author
2017-05-30Improve spec coverage and clean up api/v1/media controller (#3467)Matt Jankowski
2017-05-31Clean up api/subscriptions controller (#3448)Matt Jankowski
2017-05-31Catalan language updates (#3454)spla
* Add Catalan language * Add Catalan language * Update ca.json * Update ca.json * Update ca.json * Update ca.json * Update ca.json * Update ca.json * Update settings_helper.rb * Update mastodon.js * Update index.js * Update application.rb * Update ca.yml * removed extra spaces at line 225 * Catalan translation update added activerecord.ca.yml * Update activerecord.ca.yml Done * Updated activerecord.ca.yml * Catalan language updated * Catalan language updated * Catalan language updated * Catalan language updated * Catalan language updated
2017-05-31Change PureComponent to ImmutablePureComponent (#3460)Yamagishi Kazutoshi
* Change PureComponent to ImmutablePureComponent Change PureComponent to ImmutablePureComponent in AttachmentList. * rm React.
2017-05-30Add zh-TW.json (#3459)Yamagishi Kazutoshi
2017-05-30Add status destroy authorization to policy (#3453)Jack Jennings
* Add status destroy authorization to policy * Create explicit unreblog status authorization
2017-05-30Improve api oembed controller (#3450)Matt Jankowski
* Add StreamEntryFinder class to parse URLs * Use StreamEntryFinder and clean up api/oembed controller
2017-05-30Clean up api/salmon controller (#3449)Matt Jankowski
2017-05-30Remove exports/base controller in favor of shared concern (#3444)Matt Jankowski
2017-05-30Refactor User and spec (#3431)Akihiko Odaki
* Protect send_devise_notification of User * Improve spec for User
2017-05-30Move status reblog authorization into policy (#3425)Jack Jennings
2017-05-30Change libraries path to relative (#3433)Yamagishi Kazutoshi
2017-05-30Extract polyfill loading into single module (#3421)Nolan Lawson
2017-05-29Extract authorization policy for viewing statuses (#3150)Jack Jennings
2017-05-29Add IntersectionObserverWrapper to cut down on re-renders (#3406)Nolan Lawson
2017-05-29Remove methods from ObfuscateFilename and spec (#3347)Akihiko Odaki
* Remove methods from ObfuscateFilename * Spec ObfuscateFilename
2017-05-29Add preference setting for delete toot modal (#3368)Atsushi Yamamoto
* Set delete_modal preference to true by default * Does not show confirmation modal if delete_modal is false * Add ja translation for preference setting page
2017-05-29Prevent wasted render in load_more.js (#3402)Nolan Lawson
2017-05-29l10n: Fix Japanese translation (#3410)lindwurm
* "メデイア" -> "メディア" Signed-off-by: lindwurm <lindwurm.q@gmail.com>
2017-05-28Use immutable list in UploadButton to avoid wasteful re-render (#3394)Nolan Lawson
2017-05-28Fix video having black border on top due to regression from #2608 (#3392)Eugen Rochko
The combination of object-fit, relative position 50% from top and translating it back upwards 50% is what allows us to crop the video properly, so it needs to be +50%-50%
2017-05-28Ukrainian translation: fix typo (#3393)ster
2017-05-28Fix IntersectionObserver isIntersecting in Edge (#3365)Nolan Lawson
2017-05-28Simplify isIntersecting in status_list.js (#3371)Nolan Lawson
2017-05-28Persian translation fixes and updates (#3380)Masoud Abkenar
* Persian translation fix * Persian translation of new strings
2017-05-27Fix #2922 - Load stylesheet from "custom.css" entrypoint when present (#3332)Eugen Rochko
* Fix #2922 - Load stylesheet from "custom.css" entrypoint when present This is pretty much the same way it worked as before, albeit with having to create app/javascript/packs/custom.js with require('../styles/custom.scss') (or whatever you want really), which will be a blank slate for you to import whatever you want * Remove old assets directory * Extract font-awesome into common.css and always load it
2017-05-27Update Dutch strings for 1.4 (#3363)jeroenpraat
* Update nl strings for 1.4 * Update nl strings for 1.4 * Update nl strings for 1.4 * nl strings (+1) More new OTP strings will be translated another time
2017-05-27i18n update for Occitan language (#3362)Quent-in
* Update simple_form.oc.yml * Added check spam folder * Update oc.json abonats => seguidors * Update oc.yml * Update oc.json Added translations + corrections * Update confirmation_instructions.oc.html.erb * Update confirmation_instructions.oc.text.erb * i18n mailer * Update reset_password_instructions.oc.html.erb
2017-05-27Fix empty flash message on the settings page (#3345)unarist
2017-05-27Avoid comparing domains when looking for an exact match of a local account ↵happycoloredbanana
(#3336)
2017-05-27Add missing background center on public profile headers (#3340)Eugen Rochko
2017-05-27Fix some nil errors (#3338)Eugen Rochko
* Fix nil input not handled well in AuthorExtractor concern * Fix hard error in ProcessFeedService when replied-to status has been deleted * Fix nil errors in ProcessInteractionService when favourited status cannot be found
2017-05-27Replace onboarding elephant with friendlier graphic, shorter animation (#3337)Eugen Rochko
on status fade-in, fix buttons not having pointer cursor
2017-05-26Updated Polish translation (#3335)m4sk1n
* i18n: updated Polish translation Signed-off-by: Marcin Mikołajczak <m4sk1n@vivaldi.net> * i18n: completed Polish translation Signed-off-by: Marcin Mikołajczak <m4sk1n@vivaldi.net> * i18n: corrected Polish translation Signed-off-by: Marcin Mikołajczak <m4sk1n@vivaldi.net> * i18n: Updated Polish translation Signed-off-by: Marcin Mikołajczak <me@m4sk.in> * Update simple_form.pl.yml * Update simple_form.pl.yml * updated Polish translation Signed-off-by: Marcin Mikołajczak <me@m4sk.in> * Update pl.yml
2017-05-26Add "meta" attribute to return of POST /api/v1/media method as well (#3333)Eugen Rochko
2017-05-26Introduce react-textarea-autosize instead of using style.height side effects ↵Eugen Rochko
(#3334)
2017-05-26Remove redundant call of recent scope in AccountsController (#3330)Akihiko Odaki
recent is included in paginate_by_max_id.
2017-05-26Remove status context construction in the React side (#3331)unarist
because it may causes flicker on the conversation when it contains blocked/muted user's status. We use `/api/v1/statuses/{id}/context` to obtain status ids in the conversation which filters blocked/muted user, but also uses internal cache constructed from `in_reply_to_id` by `normalizeStatus()` in `reducers/timelines.js` on each status loading which doesn't filter. So statuses appears in conversation if those are cached, even those statuses are from blocked/muted user. Then context cache will be updated with the result of the context API and those statuses will be removed. I have left the `normalizeStatus()` function itself which is called many functions in the file as a placeholder for now, but maybe it should be removed completely.
2017-05-26Go to root after login in single user mode (#3289)Akinori MUSHA
In single user mode, visitors are redirected to the single user's profile page. So, if you are the owner without a session, you start from that page, click the login button and authenticate yourself expecting you'll soon get started with the home page, but in reality you'll get redirected back to where you started from -- your own profile page. This fixes the behavior by redirecting you home after login if you have started from your own profile page.
2017-05-26Change anchor to button element (#3321)Yamagishi Kazutoshi
Fix warning for ESLint (jsx-a11y/href-no-hash).
2017-05-26Replace onWheel listener with onScroll (#3324)Nolan Lawson
* Replace onWheel listener with onScroll * Update column.js
2017-05-26Fix "Cannot read property" on missing status (#3322)unarist
I've found this issue when I clicked replies to muted user on the timeline. Properties I've removed in here were added with lazy loading using IntersectionObserver (8e4d1cba), but those statuses are not need to be tracked anyway because it will be rendered as only empty div.
2017-05-26Improve shouldComponentUpdate for status and status_action_bar (#3323)Nolan Lawson
2017-05-26implement shouldComponentUpdate for relative_timestamp (#3320)Nolan Lawson
2017-05-25Fix style regression of buttons not inheriting document font by default (#3310)Eugen Rochko
2017-05-25Fix "contains" CSS for Chromium <57 (#3317)Nolan Lawson
Fixes #3277. I've tested in QupZilla on Mac and can confirm it fixes the issue, and that Chrome 58 is not affected (because it has Grid).
2017-05-25Attach ReactPerf to window for easier debugging (#3318)Nolan Lawson
2017-05-25Add `flex: 0 0 auto` to some components to avoid bugs on iOS9 (#3313)unarist
2017-05-25Fix Firefox issue with performance marks (#3315)Nolan Lawson
2017-05-25More use of next link header on account (media) timelines (#3311)unarist
This will reduce requests on who have only few statuses. - Use next link header to detect more items from first request - Omit next link header if result items are fewer than requested count (It had omit it only if result was empty before)