Sorin Davidoi
a9067167bb
Improve swiping ( #4188 )
* feat(components/columns_area): Toggle animation settings
* fix(components/media_modal): Center non-visible views
* fix(components/media_modal): Check for null
* refactor(columns_area): Better logic
7 years ago
Sorin Davidoi
a9a0c854e1
fix(components/media_modal): Style issues ( #4187 )
7 years ago
Sorin Davidoi
0c7c188c45
Web Push Notifications ( #3243 )
* feat: Register push subscription
* feat: Notify when mentioned
* feat: Boost, favourite, reply, follow, follow request
* feat: Notification interaction
* feat: Handle change of public key
* feat: Unsubscribe if things go wrong
* feat: Do not send normal notifications if push is enabled
* feat: Focus client if open
* refactor: Move push logic to WebPushSubscription
* feat: Better title and body
* feat: Localize messages
* chore: Fix lint errors
* feat: Settings
* refactor: Lazy load
* fix: Check if push settings exist
* feat: Device-based preferences
* refactor: Simplify logic
* refactor: Pull request feedback
* refactor: Pull request feedback
* refactor: Create /api/web/push_subscriptions endpoint
* feat: Spec PushSubscriptionController
* refactor: WebPushSubscription => Web::PushSubscription
* feat: Spec Web::PushSubscription
* feat: Display first media attachment
* feat: Support direction
* fix: Stuff broken while rebasing
* refactor: Integration with session activations
* refactor: Cleanup
* refactor: Simplify implementation
* feat: Set VAPID keys via environment
* chore: Comments
* fix: Crash when no alerts
* fix: Set VAPID keys in testing environment
* fix: Follow link
* feat: Notification actions
* fix: Delete previous subscription
* chore: Temporary logs
* refactor: Move migration to a later date
* fix: Fetch the correct session activation and misc bugs
* refactor: Move migration to a later date
* fix: Remove follow request (no notifications)
* feat: Send administrator contact to push service
* feat: Set time-to-live
* fix: Do not show sensitive images
* fix: Reducer crash in error handling
* feat: Add badge
* chore: Fix lint error
* fix: Checkbox label overlap
* fix: Check for payload support
* fix: Rename action "type" (crash in latest Chrome)
* feat: Action to expand notification
* fix: Lint errors
* fix: Unescape notification body
* fix: Do not allow boosting if the status is hidden
* feat: Add VAPID keys to the production sample environment
* fix: Strip HTML tags from status
* refactor: Better error messages
* refactor: Handle browser not implementing the VAPID protocol (Samsung Internet)
* fix: Error when target_status is nil
* fix: Handle lack of image
* fix: Delete reference to invalid subscriptions
* feat: Better error handling
* fix: Unescape HTML characters after tags are striped
* refactor: Simpify code
* fix: Modify to work with #4091
* Sort strings alphabetically
* i18n: Updated Polish translation
it annoys me that it's not fully localized :P
* refactor: Use current_session in PushSubscriptionController
* fix: Rebase mistake
* fix: Set cacheName to mastodon
* refactor: Pull request feedback
* refactor: Remove logging statements
* chore(yarn): Fix conflicts with master
* chore(yarn): Copy latest from master
* chore(yarn): Readd offline-plugin
* refactor: Use save! and update!
* refactor: Send notifications async
* fix: Allow retry when push fails
* fix: Save track for failed pushes
* fix: Minify sw.js
* fix: Remove account_id from fabricator
7 years ago
unarist
c29c20ab3c
Add background color for spoiler input, like toot textarea ( #4181 )
7 years ago
Eugen Rochko
e19eefe219
Redesign the landing page, mount public timeline on it ( #4122 )
* Redesign the landing page, mount public timeline on it
* Adjust the standalone mounted component to the lacking of router
* Adjust auth layout pages to new design
* Fix tests
* Standalone public timeline polling every 5 seconds
* Remove now obsolete translations
* Add responsive design for new landing page
* Address reviews
* Add floating clouds behind frontpage form
* Use access token from public page when available
* Fix mentions and hashtags links, cursor on status content in standalone mode
* Add footer link to source code
* Fix errors on pages that don't embed the component, use classnames
* Fix tests
* Change anonymous autoPlayGif default to false
* When gif autoplay is disabled, hover to play
* Add option to hide the timeline preview
* Slightly improve alt layout
* Add elephant friend to new frontpage
* Display "back to mastodon" in place of "login" when logged in on frontpage
* Change polling time to 3s
7 years ago
Yamagishi Kazutoshi
31366334cb
Drawer tab according to column ( #4135 )
* Add notifications link to drawer
* Remove local and public timeline tab in drawer
* Add home
7 years ago
Sorin Davidoi
4122a837fa
fix(components/media_modal): Aspect ratio ( #4128 )
* fix(components/media_modal): Aspect ratio
* fix: Remove useless style
7 years ago
Sorin Davidoi
fc4c74660b
Swipeable views ( #4105 )
* feat: Replace react-swipeable with react-swipeable-views
* fix: iOS 9
7 years ago
Yamagishi Kazutoshi
76318f8830
Don't use preview when image size is unknown ( #4113 )
7 years ago
Sorin Davidoi
348d6f5e75
Lazy load components ( #3879 )
* feat: Lazy-load routes
* feat: Lazy-load modals
* feat: Lazy-load columns
* refactor: Simplify Bundle API
* feat: Optimize bundles
* feat: Prevent flashing the waiting state
* feat: Preload commonly used bundles
* feat: Lazy load Compose reducers
* feat: Lazy load Notifications reducer
* refactor: Move all dynamic imports into one file
* fix: Minor bugs
* fix: Manually hydrate the lazy-loaded reducers
* refactor: Move all dynamic imports to async-components
* fix: Loading modal style
* refactor: Avoid converting the raw state for each lazy hydration
* refactor: Remove unused component
* refactor: Maintain modal name
* fix: Add as=script to preload link
* chore: Fix lint error
* fix(components/bundle): Check if timestamp is set when computing elapsed
* fix: Load compose reducers for the onboarding modal
7 years ago
Eugen Rochko
bf50e3e5ae
Fix height issue in report modal
7 years ago
Yamagishi Kazutoshi
0e09048537
Fix broken style in media gallery (regression from #3963 ) ( #4014 )
7 years ago
Naoki Kosaka
049cea30b0
Fix media-gallery, overflow is hidden. ( #4008 )
7 years ago
Eugen Rochko
12e7c81dd8
Turn report screen into a modal ( #3965 )
7 years ago
Sorin Davidoi
be92babd00
Responsive images in media gallery ( #3963 )
* feat(components/media_gallery): Responsive images
* fix(components/media_gallery): Link to image URL
7 years ago
Yamagishi Kazutoshi
8f2c91568c
Maintain aspect ratio for preview image ( #3966 )
7 years ago
unarist
1fc096ec75
Fix elephant in onboarding modal being very small sized on small devices ( #3932 )
7 years ago
unarist
21c2bc119c
Clean column collapsible ( #3931 )
* Remove unused column_collapsable.js
* Remove old styles
* Extract `> div` style to independent class
7 years ago
Sorin Davidoi
d8c4781377
fix: Apply :hover, :focus and :active only when multiple columns
7 years ago
Yamagishi Kazutoshi
eb832e88f4
Replace TextIconButton for SensitiveButton to IconButton ( #3759 )
* Replace TextIconButton for SensitiveButton to IconButton
* line-height
7 years ago
unarist
aa58cca040
Set cursor:pointer only when necessary ( #3857 )
7 years ago
Eugen Rochko
5104bd7988
Fix unclickable onboardin modal regression ( #3724 )
7 years ago
Eugen Rochko
37dbfa4cd7
Unread indicator was invisible behind column header, adjusted ( #3720 )
* Unread indicator was invisible behind column header, adjusted
* Unread indicator now a CSS pseudo-element
* Adjust flex
7 years ago
Yamagishi Kazutoshi
72133fbed6
Re-add clear notifications button ( #3708 )
* Re-add clear notifications button
* remove connect() in column_settings
* one line
* remove unused props
7 years ago
Clworld
a3715598cc
adjust the size of 'column-header__back-button' (retry) ( #3662 )
7 years ago
ふぁぼ原
e3fae6f52c
adjust the size of column-header__back-button ( #3654 )
7 years ago
Sorin Davidoi
8acadeea76
fix: Warn if JavaScript is disabled ( #3634 )
7 years ago
Eugen Rochko
b623dd12c1
Use preview image in <ImageLoader /> to provide immediate visual feedback ( #3595 )
before the full-size image is loaded
7 years ago
ふぁぼ原
7623766241
Add regex filters on the community timeline and the public timeline. ( #3564 )
* Add regex filter on the community timeline and the public timeline
* correcting
* Adjust the height of header buttons
* Remove trailing spaces
* Remove trailing spaces
* Solve some code duplication
* reset the state of the locale files in app/javascript/mastodon/locales
* adjust to upstream
* adjust to upstream
* change keys of locale settings
7 years ago
Yamagishi Kazutoshi
66ca7157db
Add support key shortcut to Onboarding Modal ( #3517 )
* Add support key shortcut to Onboarding Modal
* this.state.pages -> this.pages
7 years ago
Yamagishi Kazutoshi
f6e2309e70
Fix column buttons overflow in Japanese ( #3552 )
7 years ago
unarist
1dfd27a028
Fix all icons in the column header being hilighted ( #3554 )
7 years ago
Eugen Rochko
8ee2eb5d2e
Allow mounting arbitrary columns ( #3207 )
* Allow mounting arbitrary columns
* Refactor column headers, allow pinning/unpinning and moving columns around
* Collapse animation
* Re-introduce scroll to top
* Save column settings properly, do not display pin options in
single-column view, do not display collapse icon if there is
nothing to collapse
* Fix one instance of public timeline being closed closing the stream
Fix back buttons inconsistently sending you back to / even if history exists
* Getting started displays links to columns that are not mounted
7 years ago
Yamagishi Kazutoshi
3ea3f24a02
Change toggle state when click label ( #3530 )
7 years ago
Nolan Lawson
c00ead8a72
Remove react-imageloader ( #3423 )
* Remove react-imageloader
* add eslint-disable-line
* improve image loading experience
* remove unneeded import
* use PureComponent
* Use componentWillMount instead of constructor
7 years ago
Eugen Rochko
3fa8512474
Fix video having black border on top due to regression from #2608 ( #3392 )
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%
7 years ago
Eugen Rochko
bd21afb5ed
Replace onboarding elephant with friendlier graphic, shorter animation ( #3337 )
on status fade-in, fix buttons not having pointer cursor
7 years ago
Yamagishi Kazutoshi
4b11675bdc
Change anchor to button element ( #3321 )
Fix warning for ESLint (jsx-a11y/href-no-hash).
7 years ago
Nolan Lawson
bc39ad37c4
Fix "contains" CSS for Chromium <57 ( #3317 )
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).
7 years ago
unarist
b89ab7e69d
Add `flex: 0 0 auto` to some components to avoid bugs on iOS9 ( #3313 )
7 years ago
Nolan Lawson
71b266377c
Remove unnecessary action bar wrapper divs ( #3299 )
7 years ago
unarist
807c192fcf
Fix load more feature on the Account media gallery ( #3293 )
* 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
7 years ago
Sorin Davidoi
8e4d1cba00
Lazy load toots using IntersectionObserver ( #3191 )
* 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
7 years ago
Eugen Rochko
be83d450eb
Fix DM being highlighted when it's inside a favourite notification ( #3267 )
7 years ago
Yamagishi Kazutoshi
860ffc0560
Focus the submit button ( #3253 )
Focus the submit button when confirmation modal is opened.
Also, changed cancellation link to button.
This makes the meaning clearer.
7 years ago
Nolan Lawson
419226d1f6
Remove unnecessary status__info-time div ( #3172 )
7 years ago
Eugen Rochko
de475cf8d3
Add account media gallery view to web UI ( #3120 )
* Add account media gallery view to web UI
* Link media view from account dropdown
* Adjust link
7 years ago
Sorin Davidoi
b369fc2de4
feat: Use CSS contain to avoid computations ( #3158 )
7 years ago
Yamagishi Kazutoshi
4a3db71692
Remove react-autosuggest ( #3140 )
react-autosuggest is added from c49f6290eb
Dependence removed from b27066e154
7 years ago
Yamagishi Kazutoshi
b8b7b506a2
Replace inline styles with stylesheet ( #3115 )
7 years ago