Eugen Rochko
9b3d8ee346
Fix #5281 - Fix tooltip/custom emoji/search interaction ( #5310 )
7 years ago
Eugen Rochko
fd49d5603a
Fix #5278 - Update emoji-mart so invalid emoji IDs don't crash it ( #5290 )
7 years ago
Eugen Rochko
488584bfc1
Track frequently used emojis in web UI ( #5275 )
* Track frequently used emojis in web UI
* Persist emoji usage, but debounce commits to the settings API
* Fix #5144 - Add tooltips to picker
* Display only 2 lines of frequently used emojis
7 years ago
Nolan Lawson
057db0ecd0
Update emoji-mart to v2.1.1 ( #5256 )
7 years ago
Eugen Rochko
7db0f8dcb2
Implement hotkeys for web UI ( #5164 )
* Fix #2102 - Implement hotkeys
Hotkeys on status list:
- r to reply
- m to mention author
- f to favourite
- b to boost
- enter to open status
- p to open author's profile
- up or k to move up in the list
- down or j to move down in the list
- 1-9 to focus a status in one of the columns
- n to focus the compose textarea
- alt+n to start a brand new toot
- backspace to navigate back
* Add navigational hotkeys
The key g followed by:
- s: start
- h: home
- n: notifications
- l: local timeline
- t: federated timeline
- f: favourites
- u: own profile
- p: pinned toots
- b: blocked users
- m: muted users
* Add hotkey for focusing search, make escape un-focus compose/search
* Fix focusing notifications column, fix hotkeys in compose textarea
7 years ago
Nolan Lawson
334a446313
Fix emoji sequence bug in substring-trie ( #5191 )
Fixes #5188
7 years ago
abcang
cb3b0c1a0f
Update react-router-scroll at yarn.lock ( #5154 )
7 years ago
Eugen Rochko
ebb8c89207
Upgrade to React 16 ( #5119 )
* Upgrade to React 16.0.0
* Disable some uncritical tests while chai-enzyme remains incompatible
7 years ago
Nolan Lawson
0060f98847
Remove react-sizeme ( #5143 )
* Remove react-sizeme
* Fix aspect ratio in "sensitive" mode
7 years ago
Eugen Rochko
2f079573ed
In detail status view, display attachment uncropped if there's only one ( #5054 )
* In detail status view, display attachment uncropped if there's only one
* Make media spoiler the size of the media it hides, enable on static
7 years ago
Eugen Rochko
846cd4e838
Switch from EmojiOne to Twemoji, different emoji picker ( #5046 )
* Switch from EmojiOne to Twemoji, different emoji picker
* Make emoji-mart use a local spritesheet
* Fix emojify test
* yarn manage:translations
7 years ago
Eugen Rochko
034fab39ab
Make dropdowns render into portal, expand animation ( #5018 )
* Make dropdowns render into portal, expand animation
* Improve actions modal style
7 years ago
Yamagishi Kazutoshi
e0cda4a851
Update react-intl to version 2.4.0 ( #4820 )
7 years ago
Yamagishi Kazutoshi
c1633eeb0f
Update webpack and related dependencies (without extract-text-webpack-plugin) ( #4410 )
7 years ago
Yamagishi Kazutoshi
aa803153e2
Remove Storybook ( #4397 )
7 years ago
Yamagishi Kazutoshi
f2233c3e25
Update intersection-observer to version 0.4.0 ( #4398 )
7 years ago
Sorin Davidoi
ebf5a06084
fix(column): Use passive wheel listener ( #4348 )
* chore(yarn): Install detect-passive-events
* fix(column): Use passive listener
7 years ago
Ondřej Hruška
02f896c12e
Fix broken CSS reload due to webpack upgrade ( #4250 )
7 years ago
Sorin Davidoi
c1f201c49a
🎄 🔨 Force tree shake emojione ( #4202 )
* chore(yarn): Install babel-plugin-preval as development dependency
* feat(babel): Add preval as a plugin
* feat(emojione_light): Prevaled module what tree-shaked emojione
* refactor(emoji): Use emojione_light
* feat: Preload emojione_picker bundle
* fix(emojione_light): Do not use Object.entries
* fix(emojify): Update tests
* chore(emojione_light): Remove silly ascii art
7 years ago
unarist
eeb5923e89
Add object-fit polyfill for Edge ( #4182 )
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
Yamagishi Kazutoshi
c45a75ad34
Update dependencies for Node.js (2017-07-12) ( #4167 )
* Update @storybook/addon-actions to version 3.1.8
* Update @storybook/react to version 3.1.8
* Update autoprefixer to version 7.1.2
* Update babel-loader to version 7.1.1
* Update babel-preset-env to version 1.6.0
* Update chai to version 4.1.0
* Update js-yaml to version 3.9.0
* Update jsdom to version 11.1.0
* Update postcss-smart-import to version 0.7.5
* Update sinon to version 2.3.7
* Update substring-trie to version 1.0.1
* Update webpack to version 3.2.0
* Update webpack-manifest-plugin to version 1.1.2
* yarn upgrade
* Upgrade extract-text-webpack-plugin to version 3.0.0
* Upgrade intl-relativeformat to version 2.0.0
7 years ago
unarist
e670fa2af6
Update es5-ext to avoid CSP violation ( #4145 )
Since es5-ext used `new Function("...")`, it caused CSP violation unless "unsafe-eval" included. So this patch updates it to the version which fixes it.
Note that this package is used in polyfills, so loaded only if needed. I've encountered this issue on iOS9.
cf. medikoo/es5-ext@d3864493
7 years ago
Nolan Lawson
5fa2dd6e65
Use babel-plugin-transform-react-inline-elements ( #4109 )
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
91d548f7e6
Update webpack-dev-server to v2.5.1 ( #4094 )
7 years ago
Yamagishi Kazutoshi
cbe94b88e2
Change webpack-dev-server repository ( #4061 )
7 years ago
Yamagishi Kazutoshi
a9c326b200
Upgrade chai-enzyme, precss and uws ( #4010 )
* Update chai-enzyme to v0.8.0
* Upgrade precss to v2.0.0
* Upgrade uws to v8.14.0
7 years ago
Nolan Lawson
e282580101
Faster emojify() by avoiding str.replace() entirely ( #4049 )
7 years ago
Yamagishi Kazutoshi
5c7a4f0b32
Remove babel-cli ( #4011 )
7 years ago
Yamagishi Kazutoshi
ead14f5bf0
Upgrade jsdom to version 11.0.0 ( #3994 )
7 years ago
Yamagishi Kazutoshi
e2dd576a1b
Update dependencies for Node.js ( #3967 )
* Update @storybook/addon-actions to v3.1.6
* Update @storybook/react to v3.1.6
* Update babel-loader to v7.1.0
* Update babel-plugin-transform-react-remove-prop-types to v0.4.6
* Update enzyme to v2.9.1
* Update fsevents to v1.1.2
* Update intersection-observer to v0.3.2
* Update npmlog to v4.1.2
* Update pg to v6.4.0
* Update postcss-loader to v2.0.6
* Update rails-ujs to v5.1.2
* Update react to v15.6.1
* Update react-addons-shallow-compare to v15.6.0
* Update react-dom to v15.6.0
* Update react-notification to v6.7.1
* Update react-test-renderer to v15.6.1
* Update react-textarea-autosize to v5.0.7
* Update redux to v3.7.1
* Update resolve-url-loader to v2.1.0
* Update sass-loader to v6.0.6
* Update sinon to v2.3.5
* Update stringz to v0.2.2
* Update uuid to v3.1.0
* Update websocket.js to v0.1.12
* Update yargs to v8.0.2
* yarn upgrade
7 years ago
Eugen Rochko
f7301bd5b9
Add overview of active sessions ( #3929 )
* Add overview of active sessions
* Better display of browser/platform name
* Improve how browser information is stored and displayed for sessions overview
* Fix test
7 years ago
Eugen Rochko
676f577e7e
Fix webpack-dev-server until it's fixed upstream ( #3916 )
7 years ago
Yamagishi Kazutoshi
c1a8e3d1eb
Use Class and Property Decorators ( #3730 )
ref https://tc39.github.io/proposal-decorators/
7 years ago
Nolan Lawson
e078919f07
Upgrade to Webpack 3 with module concatenation ( #3912 )
7 years ago
Sorin Davidoi
3d403a013d
chore(yarn): Install react-swipeable
7 years ago
Sorin Davidoi
8f03fdce7f
Upgrade React Router ( #3677 )
* chore(yarn): Remove react-router
* chore(yarn): Remove react-router-scroll
* chore(yarn): Remove history
* chore(yarn): Add react-router-dom
* chore: Remove usages of react-router-scroll
* refactor: Upgrade to react-router-web
* refactor: Use fork of react-router-scroll
This reverts commit 2ddea9a6c8
.
* fix: Issues mentions in the PR feedback
7 years ago
Yamagishi Kazutoshi
53e42bf91e
Upgrade Webpacker to version 2.0 ( #3729 )
7 years ago
unarist
2356580cee
Use cross-env for npm run on Windows ( #3789 )
7 years ago
Yamagishi Kazutoshi
c93d0978f2
Upgrade react-immutable-pure-component to version 1.0.0 ( #3786 )
7 years ago
Yamagishi Kazutoshi
a208e7d655
Update React to version v15.6 ( #3736 )
7 years ago
Yamagishi Kazutoshi
ddd3251912
Update dependencies for Node.js ( #3705 )
* Update @storybook/addon-actions to v3.1.2
* Update @storybook/react to v3.1.2
* Update babel-core to v6.25.0
* Update babel-preset-env to v1.5.2
* Update chai to version v4.0.2
* Update extract-text-webpack-plugin to v2.1.2
* Update file-loader to v0.11.2
* Update intersection-observer to v0.3.0
* Update pg to v6.2.4
* Update sinon to v2.3.4
* Update style-loader to v0.18.2
* Update websocket.js to v0.1.10
* Update react-redux-loading-bar to v2.9.2
* yarn upgrade
7 years ago
Yamagishi Kazutoshi
ad4a28f4f6
Refactor translationRunner.js ( #3604 )
- Use yargs instead of minimist
- Simplify validators
- Fix typo (RFC5626 -> RFC5646)
7 years ago
Yamagishi Kazutoshi
943775fd90
Update dependencies of Node.js ( #3561 )
* Update axios to version 0.16.2
* Update css-loader to version 0.28.4
* Update postcss-smart-import to version 0.7.4
* Update react-immutable-pure-component to version 0.0.5
* Update stringz to version 0.2.1
* Update style-loader to version 0.18.1
* Update websocket.js to version 0.1.9
* yarn upgrade
7 years ago
Yamagishi Kazutoshi
b0fe58dc69
Upgrade storybook to v3 ( #3558 )
7 years ago
Yamagishi Kazutoshi
1162f61ca3
Remove unused loaders of webpack ( #3495 )
7 years ago
Yamagishi Kazutoshi
39ea5c0e2e
Improve tests for JavaScript ( #3496 )
- Upgrade dependencies
- chai (3.5.0 -> 4.0.1)
- chai-enzyme (0.6.1 -> 0.7.1)
- sinon (2.2.0 -> 2.3.2)
- Change extensions from .jsx to .js
- Don't assign `React` to `global`
- Check code format using ESLint
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
Nolan Lawson
0e12a8dab9
Improve scheduling of requestIdleCallback tasks ( #3477 )
7 years ago