about summary refs log tree commit diff
path: root/app
AgeCommit message (Collapse)Author
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)
2017-05-25Remove arguments in association reader (#3305)Yamagishi Kazutoshi
2017-05-25Fix an error on dragging into status_content component (#3308)unarist
2017-05-25Remove unnecessary action bar wrapper divs (#3299)Nolan Lawson
2017-05-25Refactor Setting (#3302)alpaca-tc
* @object is not needed * Remove unneeded dependencies * Do not call private method * Prefer #respond_to_missing? over #respond_to? `#respond_to?` doesn't support `User.settings.method(:method_name)` * Use find_or_initialize_by instead of
2017-05-25Add improved performance marks for development mode (#3297)Nolan Lawson
2017-05-25Add localization of datetime in public page (#3296)Yamagishi Kazutoshi
2017-05-25Norwegian translation of the onboarding page (#3303)Audun Larsen
* Fixes translation placeholder * Translates onboarding page
2017-05-25Replace \u2014 with &mdash; (#3301)Daigo 3 Dango
2017-05-25Fix load more feature on the Account media gallery (#3293)unarist
* Add load more button for large screens * Fix `next` state value on the first loading * Don't load if `isLoading || !hasMore` * Start load on near the bottom
2017-05-25fix-cache-returns-nil (#3213)masarakki
2017-05-25Name the Webpack chunks (#3291)Nolan Lawson
2017-05-25Fix hovering default value for avatar component (#3290)Yamagishi Kazutoshi
2017-05-25Prevent contents of the status placeholder from overflowing (#3287)unarist
Since long lines may overflow and cause the status-list horizontally scrollable, I added `overflow: hidden` to placeholder contents to prevent it.
2017-05-24Remove unnecessary constructors (#3280)Yamagishi Kazutoshi
2017-05-24Lazy load toots using IntersectionObserver (#3191)Sorin Davidoi
* refactor(components/status_list): Lazy load using IntersectionObserver * refactor(components/status_list): Avoid setState bottleneck * refactor(components/status_list): Update state correctly * fix(components/status): Render if isIntersecting is undefined * refactor(components/status): Recycle timeout * refactor(components/status): Reduce animation duration * refactor(components/status): Use requestIdleCallback * chore: Split polyfill bundles * refactor(components/status_list): Increase rootMargin to 300% * fix(components/status): Check if onRef is not defined * chore: Add note about polyfill bundle splitting * fix(components/status): Reduce animation duration to 0.3 seconds
2017-05-24Show error message to suspended user (#3281)Yamagishi Kazutoshi
2017-05-24Skip formatting for cashtag in status text (#3275)Yamagishi Kazutoshi
Resolve #3270
2017-05-24Fix DM being highlighted when it's inside a favourite notification (#3267)Eugen Rochko
2017-05-23Fix following/followers API to return correct link headers (#3268)unarist
Link headers in following/followers API should include follow_id as max_id/since_id. However, these API use current_user's account_id instead of follow_id from #3167. This causes irrelevant result on loading more users.
2017-05-23Fix Devise destroy method being available to delete user record (#3266)Eugen Rochko
(You may think that we need account deletions, but this way would've just orphaned the db records)
2017-05-23don't notify me when my toot is faved by someone i muted (#3245)beatrix
2017-05-23Toggle sensitive from admin page (#3261)alpaca-tc
2017-05-23Refactor of API timeline actions (#3263)Matt Jankowski
- Increase coverage to exercise all parts of each action - Move into namespace to share common code - Misc refactor of each action for smaller methods, simpler code