Sorin Davidoi
1d2616b79b
fix(emojis): Handle multipoint emojis (e.g. country flags) ( #4221 )
8 years ago
Eugen Rochko
e2685ccc81
Fix #4149 , fix #1199 - Store emojis as unicode ( #4189 )
...
- Use unicode when selecting emoji through picker
- Convert shortcodes to unicode when storing text input server-side
- Do not convert shortcodes in JS anymore
8 years ago
Sorin Davidoi
cc68d1945b
refactor: Rewrite immutablejs import statements using destructuring ( #4147 )
8 years ago
Yamagishi Kazutoshi
2b9721d1b3
Add setting a always mark media as sensitive ( #4136 )
8 years ago
Sorin Davidoi
37c832cdf7
refactor: Make all reducers sync ( #4125 )
8 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
8 years ago
Yamagishi Kazutoshi
eff9416469
Remove unused variables ( #3906 )
8 years ago
Yamagishi Kazutoshi
2e112e2406
Improve eslint rules ( #3147 )
...
* Add semi to ESLint rules
* Add padded-blocks to ESLint rules
* Add comma-dangle to ESLint rules
* add config/webpack and storyboard
* add streaming/
* yarn test:lint -- --fix
8 years ago
Eugen Rochko
f5bf5ebb82
Replace sprockets/browserify with Webpack ( #2617 )
...
* Replace browserify with webpack
* Add react-intl-translations-manager
* Do not minify in development, add offline-plugin for ServiceWorker background cache updates
* Adjust tests and dependencies
* Fix production deployments
* Fix tests
* More optimizations
* Improve travis cache for npm stuff
* Re-run travis
* Add back support for custom.scss as before
* Remove offline-plugin and babili
* Fix issue with Immutable.List().unshift(...values) not working as expected
* Make travis load schema instead of running all migrations in sequence
* Fix missing React import in WarningContainer. Optimize rendering performance by using ImmutablePureComponent instead of
React.PureComponent. ImmutablePureComponent uses Immutable.is() to compare props. Replace dynamic callback bindings in
<UI />
* Add react definitions to places that use JSX
* Add Procfile.dev for running rails, webpack and streaming API at the same time
8 years ago
Eugen Rochko
8b5179d006
Fix #2402 - Add Idempotency-Key header to PostStatusService that prevents ( #2419 )
...
duplicates. Web UI regenerates UUID for that header every time the compose
form is changed or successfully submitted
Also, fix Farsi i18n overwriting the English one
8 years ago
Rachel H
5abd543766
Put space before image ( #1735 )
8 years ago
Eugen
043862f411
Fix #1609 , fix #1628 - Revert #1397 ( #1700 )
...
When transmitting data in a HTML-encoded element like <content type="html" />,
relying on newlines being preserved is not wise, since HTML by itself
does not care for newlines - it cares for <p> and <br>
Additional fix: reset NSFW toggle after sending toot
8 years ago
Isabelle Knott
96715d9af5
Clear spoiler when replying to toot that doesn't also have a spoiler ( #1662 )
8 years ago
Rachel H
0930ce5560
Focus textarea when text is inserted ( #1320 )
...
Place space after uploaded filenames
8 years ago
Eugen Rochko
a9303e7062
When replying to status with content warning, prefill content warning
8 years ago
Eugen Rochko
d8c5a83827
Redesigned compose form
8 years ago
Eugen Rochko
d7c6c6dbe1
Fancier drag & drop indicator, emoji icon for emoji, upload progress ( fix #295 )
8 years ago
Eugen Rochko
89fc2d7f48
Fix #372 - Emoji picker
8 years ago
Eugen Rochko
2c50687279
Improve compose form performance, upgrade JS dependencies. LightingBox
...
now allows to cycle through multiple images
8 years ago
Eugen Rochko
974d712fbe
Improve performance of compose form
8 years ago
Eugen Rochko
9e99b8c068
Fix #642 - Add "empty column" text to home/notifications
8 years ago
Eugen Rochko
8132cf8153
Add GET /api/v1/accounts/:id/statuses/media that returns only statuses with media attachments
...
Make replies default to privacy settings of the status being replied to
8 years ago
Eugen Rochko
677e95031e
Clean up collapsible components
8 years ago
Eugen Rochko
6331ed16e5
Fix #614 - extra reply-boolean on statuses to account for cases when replied-to
...
status is not in the system at time of distribution; fix #607 - reset privacy
settings to defaults when cancelling replies
8 years ago
Eugen Rochko
347a153b3d
Add API modifiers to limit returned toots from public/hashtag timelines
...
to only those from local users; Add link to "extended information" to
getting started in the UI; Add defaults for posting privacy; Change
how publish button looks depending on posting privacy chosen
8 years ago
Eugen Rochko
999cde94a6
Instead of using spoiler boolean and spoiler_text, simply check for non-blank spoiler_text
...
Federate spoiler_text using warning attribute on <content /> instead of a <category term="spoiler" />
Clean up schema file from accidental development migrations
8 years ago
blackle
bf0f6eb62d
Implement a click-to-view spoiler system
8 years ago
Eugen Rochko
1aae0cfc2c
Fix #475 - add space after autocomplete
8 years ago
Eugen Rochko
1a33e4042e
Fix upload file input being re-rendered needlessly
8 years ago
Eugen Rochko
23ebf60b95
Improve initialState loading
8 years ago
Mitchell Hentges
4d300e2507
On file-drag, show a border around textarea
8 years ago
Anthony Bellew
538d109a82
Re-add unlisted toggle to the UI
8 years ago
Eugen Rochko
de9b6e3a6a
Compose form in the UI now has public/private toggle instead of public/unlisted
8 years ago
Eugen Rochko
b27066e154
Re-implemented autosuggestions component for the compose form
...
Fix #205 , fix #156 , fix #124
8 years ago
Eugen Rochko
14bd46946d
Per-status control for unlisted mode, also federation for unlisted mode
...
Fix #233 , fix #268
8 years ago
Eugen Rochko
2112a81e86
Adding content sensitivity toggle, spoilers for media
8 years ago
Eugen Rochko
d32e0364f9
Switch to compose route when replying and compose is not mounted
8 years ago
Eugen Rochko
09218d4c01
Use full-text search for autosuggestions
8 years ago
Eugen Rochko
c49f6290eb
Basic username autocomplete for text area
8 years ago
Eugen Rochko
e8ff4c8e56
Refactoring redux state into different reducers
8 years ago
Eugen Rochko
f8f40f15da
Move status components inside individual containers. We still need to select
...
all statuses/accounts to assemble, but at least lists don't have to be
re-rendered all the time now. Also add "mention" dropdown option
8 years ago
Eugen Rochko
0bd4608ad1
Fix #55 - Filter self from pre-filled mentions
8 years ago
Eugen Rochko
c6d893a71d
Uploading/undoing media modifies status text. Also: status text trimmed before validation
8 years ago
Eugen Rochko
bc98865c1a
API returns mentions for statuses, compose form pre-fills all relevant usernames into the form when replying
8 years ago
Eugen Rochko
337462aa5e
Re-organizing components to be more modular, adding loading bars
8 years ago
Eugen Rochko
d6a64f45fd
Adding a notification stack for error messages
8 years ago
Eugen Rochko
499beb4484
UI for uploading media attachments (and cancelling them)
...
Mostly resolves #8 , though attachments are still not displayed in public view
8 years ago
Eugen Rochko
05001d54d1
Make compose form also use normalized data
8 years ago
Eugen Rochko
d6873797ac
Fix typo
8 years ago
Eugen Rochko
dbae8062f4
Replies in the compose form
8 years ago