Yamagishi Kazutoshi
dd505c5d8c
Enable ESLint rules import/* ( #5414 )
...
* Enable ESLint rules import/*
* fix
7 years ago
Yamagishi Kazutoshi
fb5040885c
Replace JavaScript Testing Framework from Mocha to Jest ( #5412 )
7 years ago
Eugen Rochko
0b8b9e5a0d
Fix #5281 - Fix tooltip/custom emoji/search interaction ( #5310 )
7 years ago
Eugen Rochko
5f20bd2e15
Fix #5278 - Update emoji-mart so invalid emoji IDs don't crash it ( #5290 )
7 years ago
Eugen Rochko
f8ec132261
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
14db4829dc
Update emoji-mart to v2.1.1 ( #5256 )
7 years ago
Eugen Rochko
32998720eb
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
05842e15db
Fix emoji sequence bug in substring-trie ( #5191 )
...
Fixes #5188
7 years ago
abcang
a76120e437
Update react-router-scroll at yarn.lock ( #5154 )
7 years ago
Eugen Rochko
2fac5e21c2
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
0b668dc4d3
Remove react-sizeme ( #5143 )
...
* Remove react-sizeme
* Fix aspect ratio in "sensitive" mode
7 years ago
Eugen Rochko
9ad1bfbc18
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
16a5d1450c
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
f7810f56a1
Make dropdowns render into portal, expand animation ( #5018 )
...
* Make dropdowns render into portal, expand animation
* Improve actions modal style
7 years ago
Yamagishi Kazutoshi
e082d777a4
Update react-intl to version 2.4.0 ( #4820 )
7 years ago
Yamagishi Kazutoshi
a7e8fb346e
Update webpack and related dependencies (without extract-text-webpack-plugin) ( #4410 )
7 years ago
Yamagishi Kazutoshi
c2486004f2
Remove Storybook ( #4397 )
7 years ago
Yamagishi Kazutoshi
fdea9d72bc
Update intersection-observer to version 0.4.0 ( #4398 )
7 years ago
Sorin Davidoi
3e17162902
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
15649f2799
Fix broken CSS reload due to webpack upgrade ( #4250 )
7 years ago
Sorin Davidoi
8207918890
🎄 🔨 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
e9f905bc87
Add object-fit polyfill for Edge ( #4182 )
7 years ago
Sorin Davidoi
ecab38fd66
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
7507e7c8fe
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
c27579cb51
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
d65ec2570c
Use babel-plugin-transform-react-inline-elements ( #4109 )
7 years ago
Sorin Davidoi
420c4d8dc8
Swipeable views ( #4105 )
...
* feat: Replace react-swipeable with react-swipeable-views
* fix: iOS 9
7 years ago
Yamagishi Kazutoshi
da380ee179
Update webpack-dev-server to v2.5.1 ( #4094 )
7 years ago
Yamagishi Kazutoshi
189c3c16a2
Change webpack-dev-server repository ( #4061 )
7 years ago
Yamagishi Kazutoshi
40a69352cc
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
28da1d54d5
Faster emojify() by avoiding str.replace() entirely ( #4049 )
7 years ago
Yamagishi Kazutoshi
b8a4d69f71
Remove babel-cli ( #4011 )
7 years ago
Yamagishi Kazutoshi
022878b743
Upgrade jsdom to version 11.0.0 ( #3994 )
7 years ago
Yamagishi Kazutoshi
57a3bc1b4f
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
c465c5b3a8
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
d7318b6840
Fix webpack-dev-server until it's fixed upstream ( #3916 )
8 years ago
Yamagishi Kazutoshi
e2027fbe42
Use Class and Property Decorators ( #3730 )
...
ref https://tc39.github.io/proposal-decorators/
8 years ago
Eugen Rochko
88458a1638
Merge branch 'swipe-gestures' of git://github.com/sorin-davidoi/mastodon into sorin-davidoi-swipe-gestures
8 years ago
Nolan Lawson
61634505c1
Upgrade to Webpack 3 with module concatenation ( #3912 )
8 years ago
Sorin Davidoi
ae78ac379b
chore(yarn): Install react-swipeable
8 years ago
Sorin Davidoi
9bc32eb267
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 2ddea9a6c8d39fc64b7d0b587f3fbda7a45a7fa2.
* fix: Issues mentions in the PR feedback
8 years ago
Yamagishi Kazutoshi
dece663cd0
Upgrade Webpacker to version 2.0 ( #3729 )
8 years ago
unarist
05e7d8861c
Use cross-env for npm run on Windows ( #3789 )
8 years ago
Yamagishi Kazutoshi
888ef58ee1
Upgrade react-immutable-pure-component to version 1.0.0 ( #3786 )
8 years ago
Yamagishi Kazutoshi
caa23159ae
Update React to version v15.6 ( #3736 )
8 years ago
Yamagishi Kazutoshi
f5d119ae3a
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
8 years ago
Yamagishi Kazutoshi
d66a5fb801
Refactor translationRunner.js ( #3604 )
...
- Use yargs instead of minimist
- Simplify validators
- Fix typo (RFC5626 -> RFC5646)
8 years ago
Yamagishi Kazutoshi
560054e47f
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
8 years ago
Yamagishi Kazutoshi
5d308bd329
Upgrade storybook to v3 ( #3558 )
8 years ago
Yamagishi Kazutoshi
59ff072fcf
Remove unused loaders of webpack ( #3495 )
8 years ago