about summary refs log tree commit diff
path: root/app/javascript
AgeCommit message (Collapse)Author
2017-05-17Fix minor Japanese translations (#3099)Yamagishi Kazutoshi
- add translation "Bon Appetoot!" - add whitelist what doesn't require translation - replace exclamation mark full width - add space after question mark - remove blank between words - run yarn manage:translations
2017-05-17Catch import promise in application.js (#3041)Stephen Burgess
* fix(polyfil): Catch error from promise https://pouchdb.com/2015/05/18/we-have-a-problem-with-promises.html * fix(catch): Error Make import promise catch a noop with commented out console.log for a debugging hint. * fix(eslint): Disable eslint console rule * fix(application): Use console error
2017-05-17One string NL update (#3090)jeroenpraat
2017-05-17Fix #2549 - Do not hardcode the exclamation in "toot!", wrap it in an extra ↵Eugen Rochko
locale key (#3089)
2017-05-17Add catalan language (#3084)spla
* Add Catalan language * Add Catalan language * Update ca.json * Update ca.json * Update ca.json * Update ca.json * Update ca.json * Update ca.json * Update settings_helper.rb * Update mastodon.js * Update index.js * Update application.rb * Update ca.yml * removed extra spaces at line 225
2017-05-17Make .column-collapse animation simple (#3086)unarist
* Always set `overflow: auto` to allow scroll just after opening * Remove bounce animation which may cause unintended behavior due to max-height * Use CSS transition instead of react-motion * Some CSS refactoring including className changing
2017-05-16Enable to handle app immediately after closing modal (#3082)geta6
2017-05-15Fix #2646 - Do not override ctrl/cmd+click on Permalinks (#3073)Eugen Rochko
2017-05-15Introduce common JavaScript file (#2981)Akihiko Odaki
* Create common chunk rather than vendor chunk vendor chunk is a set of modules provided by external vendors, but now we can have a chunk as a set of modules shared by multiple entry points, which could be more efficent than having vendor chunk. * Start rails-ujs in common.js This is used by /settings/two_factor_authentication.
2017-05-15Update Japanese tranlsation of conversations muting (#3070)Kazuhiro NISHIYAMA
2017-05-15Feature conversations muting (#3017)Eugen Rochko
* Add <ostatus:conversation /> tag to Atom input/output Only uses ref attribute (not href) because href would be the alternate link that's always included also. Creates new conversation for every non-reply status. Carries over conversation for every reply. Keeps remote URIs verbatim, generates local URIs on the fly like the rest of them. * Conversation muting - prevents notifications that reference a conversation (including replies, favourites, reblogs) from being created. API endpoints /api/v1/statuses/:id/mute and /api/v1/statuses/:id/unmute Currently no way to tell when a status/conversation is muted, so the web UI only has a "disable notifications" button, doesn't work as a toggle * Display "Dismiss notifications" on all statuses in notifications column, not just own * Add "muted" as a boolean attribute on statuses JSON For now always false on contained reblogs, since it's only relevant for statuses returned from the notifications endpoint, which are not nested Remove "Disable notifications" from detailed status view, since it's only relevant in the notifications column * Up max class length * Remove pending test for conversation mute * Add tests, clean up * Rename to "mute conversation" and "unmute conversation" * Raise validation error when trying to mute/unmute status without conversation
2017-05-15Fix style regressions (#3062)Eugen Rochko
From #2327 - Elephant friend was overlapping with text, oversized in single column layout From #2021 - Centered layout goes against design principles, changes UX for everybody who's already used to the current one From #2271 - CPU/RAM overusage from keeping columns in DOM (fix #2648, possibly also #2101)
2017-05-14Fix only typo (#3035)Paul
2017-05-13tiny js fix for 'show more' button in chrome (#3045)beatrix
2017-05-13i18n: Hebrew string updates (#3037)Ira
2017-05-13Revert HTML CW changes (#3020)beatrix
* selectively Revert "Fix regressions from #2683 (#2970)" This reverts commit 72698bc3b49925a2b2955f32e5a562c1eecd729b. * Revert "Handle hashtags in spoiler_texts (partial fix for #699) (#2683)" This reverts commit e2491680e696d2c285a798ec4c66b26d2748df66.
2017-05-13Make direct statuses stand out more (#3025)Eugen Rochko
Resolves #2515
2017-05-13Finalizing Dutch strings (#3028)jeroenpraat
for this file.
2017-05-12fix #3008 : props was not defined (#3022)Wonderfall
2017-05-12Fix color contrast some more in privacy warning (#3018)Shel Raphen
* Fix color contrast some more in privacy warning Latest master appears to have changed the <strong> to this unreadable grey color. If you want that to be white then it should be pure white. If someone would rather revert this to that strong dark blue color it was before that would be good too. * Make domain dark blue again * add missing ; woops
2017-05-12Allow SCSS variables to be overridden (#2987)Koala Yeung
* Allow SCSS variables to be overridden with `app/javascript/pack/variables*.scss` * Allow these SCSS variables to be overriden: * `$base-shadow-color` * `$base-overlay-background` * `$base-border-color` * `$simple-background-color` * `$primary-text-color` * `$valid-value-color * `$error-value-color`
2017-05-12Increase color contrast on privacy warning (#3015)Shel Raphen
The current text contrast on the privacy warning is a WCAG violation. I didn't notice this because my instance has a custom theme which is better. On default theme I am barely able to read the text with my impaired vision. This patch brings the contrast to Normal Text WCAG AA compliance, and Large Text WCAG AAA compliance.
2017-05-12Fix locales again (#3010)Eugen Rochko
* Normalize locales * Restore "mention" locale key
2017-05-12Use ES Class Fields & Static Properties (#3008)Yamagishi Kazutoshi
Use ES Class Fields & Static Properties (currently stage 2) for improve class outlook. Added babel-plugin-transform-class-properties as a Babel plugin.
2017-05-12Remove unnecessary message in video player (#3007)Yamagishi Kazutoshi
Remove unnecessary messages added in #1879. It is duplicated with other keys, causing the correct message not to be displayed.
2017-05-12Update ar.json (#3004)ButterflyOfFire
Updating some arabic translations.
2017-05-11Fix #1426 - Trim long usernames in public follower/following lists (#2993)Eugen Rochko
Fix #2221 - Catch OpenSSL exceptions when loading remote avatars/headers/attachments Don't strip "rel" attribute from <a> tags when sanitizing (microformats)
2017-05-11Fix #2205 - Delete associated notifications when a status is deleted (#2994)Eugen Rochko
2017-05-11Focus tab of Mastodon when clicking notification (#2989)Yamagishi Kazutoshi
2017-05-11Add dynamic polyfills for older browsers (#2985)Nolan Lawson
Fixes #2941
2017-05-11Refine unescapeHTML (#2977)Yamagishi Kazutoshi
2017-05-11Remove unnecessary .keep files (#2976)Yamagishi Kazutoshi
Follow up #2902
2017-05-11Fix regressions from #2683 (#2970)Eugen Rochko
* Fix regressions from #2683 Properly format spoiler text HTML, while keeping old logic for blankness intact Process hashtags and mentions in spoiler text Format spoiler text for Atom Change "show more" toggle into a button instead of anchor Fix style regression on dropdowns for detailed statuses * Fix lint issue * Convert spoiler text to plaintext in desktop notifications
2017-05-11Very small fix/update NL strings (#2971)jeroenpraat
* Very small fix/update NL strings * Oops
2017-05-10align buttons with column headers (#2964)Wonderfall
2017-05-10Add boop sounds in Vorbis format (#2963)Yamagishi Kazutoshi
Vorbis is audio format of Open Source. Can play audio in a free environment where you can not play mp3.
2017-05-10Fix Occitan's locale data plural function (#2957)Koala Yeung
* Fix the pluralRuleFunction of the locale data. * Added more descriptions about how to write it.
2017-05-10Fix compose_form.js for #2904 (#2960)AA4ch1
2017-05-10Disabled auto focus on toot form when search results are shown. (#2942)fusshi-
2017-05-09Use RegExp for require.context to filter custom stylesheets (#2950)Akihiko Odaki
ExtractTextWebpackPlugin extracts the content of loaded files, which means it loads files loaded by require.context but not required after that. However the former implementation is not aware of that. require.context can have a RegExp to filter files to load. This change gives a RegExp which matches with SCSSes with 'custom' prefix to require.context to take advantage of the feature.
2017-05-09Fix missing or not gender neutral strings. (#2944)Alda Marteau-Hardi
2017-05-09Remove jquery-ujs (#2939)Yamagishi Kazutoshi
* Remove jquery-ujs * fix for eslint
2017-05-09Fix duplicated values in nl.json (#2931)Yamagishi Kazutoshi
2017-05-09Update Norwegian translations (#2937)Koala Yeung
* Update Norwegian translations * Updated no.json * Updated activerecord.no.yml * Updated no.yml * Updated simple_form.no.yml * i18n: fix Unicode character error in no.yml * Javascript escaping code "\uD83D\uDC18" should be "\U0001f418" in Ruby / yml * i18n: remove unused keys in Norwegian translation * Remove unused keys in no.yml and activerecord.no.yml by running: `bundle exec i18n-tasks remove-unused no` * Add missing keys in activerecord.no.yml and no.yml by running: `bundle exec i18n-tasks add-missing no` * i18n: escape the key 'no' in activerecord.no.yml
2017-05-09Fix snackbar notification stacking order (#2935)Soshi Kato
2017-05-09Add cursor property to toot user avatar. (#2933)HANATANI Takuma
2017-05-08Updating and extending Dutch strings (#2930)jeroenpraat
* Update nl * Update nl * Update nl * Create confirmation_instructions.nl.html.erb * Create confirmation_instructions.nl.text.erb * Create password_change.nl.html.erb * Create password_change.nl.text.erb * Create reset_password_instructions.nl.html.erb * Create reset_password_instructions.nl.text.erb
2017-05-08Update fr.json (#2915)ButterflyOfFire
* Update fr.json Updating some missing french translations. * Update fr.json Fix repetition in line 41. * Update fr.json Fix : adding space between {name} and ? question mark.
2017-05-08Prevent selection of unacceptable Content-Type files (#2910)Yamagishi Kazutoshi
* Prevent selection of unacceptable Content-Type files * replace hard code * media_attachments accept content-types in initial state
2017-05-08Improve scss color variables (#2912)Matt Jankowski
- Updates scss variables file to use better-named variables for black/white/etc - Arranges the "mastodon classic" colors into variables - Remove all references to `$color-*` naming, replacing with new This does not in itself introduce "theme" support, but: - It would probably be easier to start working on theme support after this change and others - Even without the goal of themes, these changes make it more clear how the colors are being used. There is almost definitely some edge case in here where I've guessed the intent/context of some color usage incorrectly, but it still seems like a net improvement.