Commit Graph

103 Commits (5e33ad29d48dcd150d13dfa40151ff21592e728a)

Author SHA1 Message Date
Andrey Blinov 972f6bc861 Fix Textarea height should be reset upon sending toot #2189 (#2236) 8 years ago
Tomohiro Suwa 7832425fdd Fix css for toot button when uploading images (#2161) 8 years ago
matsurai25 30183c0a74 fix search text 'zero' (#2150) 8 years ago
Tomohiro Suwa f23281e31e Disable toot button when above 500 characters (#2088)
* Disable toot button when above 500 characters

* Consider multibyte characters

* Consider spoiler_text
8 years ago
usagi-f b87a08e160 Add function color remaining text (#1980) 8 years ago
Zac Anger f4045ba3d9 Add eslint-plugin-jsx-a11y (#1651)
* Add eslint-plugin-jsx-a11y.

* Fix npm script.

* Adjust npm scripts so test also runs lint.

* Fix existing lint errors.

* Don't break on a11y issues.

* Add role and tabIndex.

* Add vim and Mac files to .gitignore and .dockerignore.

* Handle htmlFor (partially), a that's actually a button.

* Fix missing tabIndex.

* Add cursor:pointer to load-more

* Revert change to load_more.

* Fixes based on review.

* Update yarn.lock.

* Don't try to install fsevents on Linux (hides warning noise).
8 years ago
Koala Yeung 08059ddda9 jslint: fix jslint warnings (#1704)
* jslint: remove trailing space

* jslint: fix no-nested-ternary issue

Follow the jslint [no-nested-ternary](http://eslint.org/docs/rules/no-nested-ternary)
rule. Rewritten ternary with if-then.
8 years ago
Koala Yeung faefd8ec8f Update javascript English translation files and some defaultValue (#1676)
* Reorder javascript English locale file

 * Reorder translation string in order of the locale key.

* Add javascript English locale missing language keys

 * Search all javascript language keys by command:
   `grep -REho '<FormattedMessage .*\/>' ./app/assets/javascripts/.`

 * Add all the missing language keys and their values to `en.jsx`.

* Add javascript English locale missing language keys (2)

* Find all `defineMessages` calls with this command:
  `grep -Rl 'defineMessages({.*' ./app/assets/javascripts/.`

* Open all these files. Find the language key (`id`) in these
  statements.

* Add all the missing language keys and their values to `en.jsx`.

* Remove javascript English locale obsoleted language keys

 * Find all language keys that no longer exists in the source code
  and remove them. The removed keys include:

    * "compose_form.private"
    * "compose_form.unlisted"
    * "getting_started.about_addressing"
    * "getting_started.about_shortcuts"
    * "notification.mention"
    * "search.account"
    * "search.hashtag"
    * "tabs_bar.mentions"
    * "tabs_bar.public"

* Javascript English locale file add note

 * Add notes to contributors about the English translation files.
   Hope that will make translation process smoother.

* Update javascript locale defaultValue in code

 * Update the defaultValue in code according to the relevant
   translation in English locale file.
8 years ago
Eugen 8ead070b94 Improve emoji picker look (#1493)
* Improve emoji picker look

* Add hover animation to emojis in picker
8 years ago
Eugen b22b2cbfac Fix #1491 - Fix broken notifications, broken Link header parsing for exclude_types (#1548) 8 years ago
Eugen 12f72e1740 When avatar/header are GIF, generate static versions (#1428)
* When avatar/header are GIF, generate static versions.
Account API returns "avatar"/"avatar_static", "header"/"header_static"
Static version is the same as original for other cases
Web UI de-animates avatars in toots, lists of users

Fix #441, fix #596, prerequisite for #1064

* Fix JS test

* Add rake task to generate static avatars/headers from GIF ones, add test
8 years ago
Jessica Stokes 8a6096a3de Allow typing a toot while an image uploads (#1429)
This patch stops disabling the toot text field when an image is uploading. Instead, you can type to your heart's content and when the image uploads it'll append the image URL, and restore the position of your cursor to wherever it was in the toot text just prior. Effectively, the image URL is appended to the toot, and typing is not interrupted at all! 
8 years ago
Gavin Mogan 8bdf02812c Add search to emoji picker (#1395) 8 years ago
Eugen Rochko e809caa0e1 Fix feed regeneration bug 8 years ago
Eugen Rochko d93d6f5124 Fix reworked search 8 years ago
Eugen Rochko b4046c5957 Rework search 8 years ago
Eugen Rochko 333e44c3fc Improve emojis - use SVGs where possible 8 years ago
Eugen Rochko c334541011 Add tooltip to privacy dropdown 8 years ago
Eugen Rochko 6ec6fe259a Compose form layout fixes 8 years ago
shel c66dc0d114 Clarify privacy options
Descriptions of differences between scope are more clear
8 years ago
Eugen Rochko 1fd88e3bad Fix up visual indicators for compose form privacy 8 years ago
Eugen Rochko a9303e7062 When replying to status with content warning, prefill content warning 8 years ago
Eugen Rochko bd1ceb1daa Privacy dropdown i18n 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 5aa3df017b Fix full-text search query quotation, improve tag search performance with an index,
add ability to open status by URL from search (fix #53)
8 years ago
Eugen Rochko c64a1c25c4 Fix #231 - Muting 8 years ago
Eugen Rochko 89fc2d7f48 Fix #372 - Emoji picker 8 years ago
Eugen Rochko 95ebfa5610 Simplify passing of prop 8 years ago
Kibigo 91c79f2445 Better smart/dumb component separation 8 years ago
Kibigo 4d2af0d664 Character counter fix 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 e8ea9669c9 Fix links and wording 8 years ago
Eugen Rochko 6b4ef92c6f Adjust naming of public timeline -> "local timeline" vs "whole known network" 8 years ago
Eugen Rochko 4aa5ebe591 Split public timeline into "public timeline" which is local, and
"whole known network" which is what public timeline used to be

Only domain blocks with suspend severity will block PuSH subscriptions
Silenced accounts should not appear in conversations unless followed
8 years ago
Eugen Rochko ec521e6bfc Add remote mentions warning when composing a private status 8 years ago
Eugen Rochko 2ab7bd13e2 Merge branch 'patch-5' of https://github.com/yiskah/mastodon into yiskah-patch-5 8 years ago
Eugen Rochko 677e95031e Clean up collapsible components 8 years ago
shel 968fae2603 Add privacy disclaimer
I haven't had a chance to test this, because I don't currently have a fully functioning computer I can set up a dev-environment on, but this *should* make it so when a user toggles a post to be private, a disclaimer appears clarifying what "private" really means.
8 years ago
Eugen Rochko c424df5192 Progress on moving color styles to Sass 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
hoodie ac3f5a8316 easier comprehension of toot settings and properties (#595)
sounds complex, but really it just reorganizes the posting options and
adds a seperator line
8 years ago
Zachary Spector 237cb41ab4 Less ambiguous sensitive content toggle label (#556) 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
blackle 889709a2a6 Show 'do not display in public timeline' when replying to self 8 years ago
Eugen Rochko 1a33e4042e Fix upload file input being re-rendered needlessly 8 years ago
Eugen Rochko 926459fc0a Fix typo introduced in #470 which made unlisted toggle only fade in/out and not also collapse 8 years ago
Effy Elden 32d756fb22 Hide 'Do not display on public timeline' for reply toots. Fixes #412. 8 years ago