]> cat aescling's git repositories - mastodon.git/log
mastodon.git
8 years agoAllow streaming server to take bindhost from HOST env
Daggertooth [Tue, 14 Nov 2017 08:32:24 +0000 (08:32 +0000)]
Allow streaming server to take bindhost from HOST env

8 years agoMerge pull request #212 from aschmitz/feat/mute-reblogs
beatrix [Wed, 15 Nov 2017 17:01:17 +0000 (12:01 -0500)]
Merge pull request #212 from aschmitz/feat/mute-reblogs

Allow hiding reblogs on a per-follow basis

8 years agoMerge pull request #214 from glitch-soc/keyword-mute
David Yip [Mon, 13 Nov 2017 18:33:19 +0000 (12:33 -0600)]
Merge pull request #214 from glitch-soc/keyword-mute

Maintain case-insensitivity when merging multiple matchers (#213)

8 years agoMaintain case-insensitivity when merging multiple matchers (#213)
David Yip [Mon, 13 Nov 2017 17:06:02 +0000 (11:06 -0600)]
Maintain case-insensitivity when merging multiple matchers (#213)

When given two regexps, Regexp.union preserves the options set (or not
set) on each regex; this meant that none of the multiline (m),
case-insensitivity (i), or extended syntax (x) options were set.  Our
regexps are written expecting the m, i, and x options were set on all of
them, so we need to make sure that we preserve that behavior.

8 years agoActually filter blocked reblogs from feed
aschmitz [Sun, 12 Nov 2017 04:10:49 +0000 (22:10 -0600)]
Actually filter blocked reblogs from feed

And even a relevant test. Whoops.

8 years agoDon't update follower counts on reblog toggle
aschmitz [Sun, 12 Nov 2017 03:42:22 +0000 (21:42 -0600)]
Don't update follower counts on reblog toggle

8 years agoUpdates per code review
aschmitz [Sat, 11 Nov 2017 20:37:23 +0000 (14:37 -0600)]
Updates per code review

Thanks, @valerauko!

8 years agoPer-user reblog hiding implementation/fixes/tests
aschmitz [Sat, 11 Nov 2017 02:11:10 +0000 (20:11 -0600)]
Per-user reblog hiding implementation/fixes/tests

Note that this will only hide/show *future* reblogs by a user, and does
nothing to remove/add reblogs that are already in the timeline. I don't
think that's a particularly confusing behavior, and it's a lot easier
to implement (similar to mutes, I believe).

8 years ago"Show reblogs" per-follower UI/database changes
aschmitz [Thu, 9 Nov 2017 14:41:10 +0000 (08:41 -0600)]
"Show reblogs" per-follower UI/database changes

TODO:

* Tests (particularly for FollowRequests).
* Anything to respect the setting when putting reblogs in timelines.

8 years agoMerge pull request #209 from glitch-soc/update-mastodongo
David Yip [Tue, 7 Nov 2017 05:12:58 +0000 (23:12 -0600)]
Merge pull request #209 from glitch-soc/update-mastodongo

Mastodon GO! -> v0.1.1

8 years agoMastodon GO! -> v0.1.1
kibigo! [Tue, 7 Nov 2017 04:00:03 +0000 (20:00 -0800)]
Mastodon GO! -> v0.1.1

8 years agoMerge pull request #206 from glitch-soc/autocollapse-boost
David Yip [Mon, 6 Nov 2017 03:02:37 +0000 (21:02 -0600)]
Merge pull request #206 from glitch-soc/autocollapse-boost

Autocollapse boosts option

8 years agoAutocollapse boosts option
kibigo! [Sun, 5 Nov 2017 23:05:12 +0000 (15:05 -0800)]
Autocollapse boosts option

8 years agoMerge pull request #204 from glitch-soc/with-mastodon-go
beatrix [Sat, 4 Nov 2017 13:14:08 +0000 (09:14 -0400)]
Merge pull request #204 from glitch-soc/with-mastodon-go

Introducing: Mastodon GO!

8 years agoIntroducing: Mastodon GO!
kibigo! [Sat, 4 Nov 2017 12:48:42 +0000 (05:48 -0700)]
Introducing: Mastodon GO!

8 years agoadd memorial to production.rb
beatrix [Fri, 3 Nov 2017 16:34:50 +0000 (12:34 -0400)]
add memorial to production.rb

in memory of Natalie Nguyen

let her name ring through the ether

8 years agoMerge branch 'master' into gs-master
David Yip [Fri, 27 Oct 2017 14:45:25 +0000 (09:45 -0500)]
Merge branch 'master' into gs-master

8 years agoFeature: Unlisted custom emojis (#5485)
nullkal [Fri, 27 Oct 2017 14:11:30 +0000 (23:11 +0900)]
Feature: Unlisted custom emojis (#5485)

8 years agoAllow ActivityPub Note's tag and attachment to be single objects (#5534)
puckipedia [Fri, 27 Oct 2017 14:10:36 +0000 (16:10 +0200)]
Allow ActivityPub Note's tag and attachment to be single objects (#5534)

8 years agoOptimize FixReblogsInFeeds migration (#5538)
unarist [Fri, 27 Oct 2017 14:10:22 +0000 (23:10 +0900)]
Optimize FixReblogsInFeeds migration (#5538)

We have changed how we store reblogs in the redis for bigint IDs. This process is done by 1) scan all entries in users feed, and 2) re-store reblogs by 3 write commands.

However, this operation is really slow for large instances. e.g. 1hrs on friends.nico (w/ 50k users). So I have tried below tweaks.

* It checked non-reblogs by `entry[0] == entry[1]`, but this condition won't work because `entry[0]` is String while `entry[1]` is Float. Changing `entry[0].to_i == entry[1]` seems work.
  -> about 4-20x faster (feed with less reblogs will be faster)
* Write operations can be batched by pipeline
  -> about 6x faster
* Wrap operation by Lua script and execute by EVALSHA command. This really reduces packets between Ruby and Redis.
  -> about 3x faster

I've taken Lua script way, though doing other optimizations may be enough.

8 years agoMerge remote-tracking branch 'tootsuite/master' into glitchsoc/master
Jenkins [Thu, 26 Oct 2017 15:08:34 +0000 (15:08 +0000)]
Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master

8 years agoFix copying emojos: redirect to the page you were on (#5509)
erin [Thu, 26 Oct 2017 14:44:24 +0000 (09:44 -0500)]
Fix copying emojos: redirect to the page you were on (#5509)

8 years agoMerge remote-tracking branch 'origin/master' into gs-master
David Yip [Thu, 26 Oct 2017 14:18:27 +0000 (09:18 -0500)]
Merge remote-tracking branch 'origin/master' into gs-master

8 years agoFix column design broken with very long title (#5493)
りんすき [Thu, 26 Oct 2017 13:52:48 +0000 (22:52 +0900)]
Fix column design broken with very long title (#5493)

* Fix #5314

* fix not beautiful code

* fix broken design with mobile view

* remove no longer needed code

8 years agoFix Cocaine::ExitStatusError when upload small non-animated GIF (#5489)
unarist [Thu, 26 Oct 2017 13:48:35 +0000 (22:48 +0900)]
Fix Cocaine::ExitStatusError when upload small non-animated GIF (#5489)

Looks like copied tempfile need to be flushed before further processing. This issue won't happen if the uploaded file has enough file size.

8 years agoRemove translateZ(0) on modal overlay (#5478)
Nolan Lawson [Thu, 26 Oct 2017 13:46:50 +0000 (06:46 -0700)]
Remove translateZ(0) on modal overlay (#5478)

8 years agoMerge pull request #179 from glitch-soc/keyword-mute
beatrix [Wed, 25 Oct 2017 21:37:48 +0000 (17:37 -0400)]
Merge pull request #179 from glitch-soc/keyword-mute

Keyword muting

8 years agoMerge pull request #198 from glitch-soc/gs-direct-timeline
beatrix [Wed, 25 Oct 2017 21:37:06 +0000 (17:37 -0400)]
Merge pull request #198 from glitch-soc/gs-direct-timeline

Direct messages timeline from tootsuite/mastodon#4514

8 years agoMerge remote-tracking branch 'STJrInuyasha/feature/direct-timeline' into gs-direct...
David Yip [Wed, 25 Oct 2017 21:01:20 +0000 (16:01 -0500)]
Merge remote-tracking branch 'STJrInuyasha/feature/direct-timeline' into gs-direct-timeline

8 years agoMerge remote-tracking branch 'tootsuite/master' into glitchsoc/master
Jenkins [Wed, 25 Oct 2017 16:17:14 +0000 (16:17 +0000)]
Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master

8 years agoUpdate Russian translation (#5517)
Ratmir Karabut [Wed, 25 Oct 2017 15:21:58 +0000 (18:21 +0300)]
Update Russian translation (#5517)

* Add Russian translation (ru)

* Fix a missing comma

* Fix the wording for better consistency

* Update Russian translation

* Arrange Russian setting alphabetically

* Fix syntax error

* Update Russian translation

* Fix formatting error

* Update Russian translation

* Update Russian translation

* Update ru.jsx

* Fix syntax error

* Remove two_factor_auth.warning (appears obsolete)

* Add missing strings in ru.yml

A lot of new strings translated, especially for the newly added admin section

* Fix translation consistency

* Update Russian translation

* Update Russian translation (pluralizations)

* Update Russian translation

* Update Russian translation

* Update Russian translation (pin)

* Update Russian translation (account deletion)

* Fix extra line

* Update Russian translation (sessions)

* Update Russian translation

* Update Russian translation

* Fix merge conflicts (revert)

* Update Russian translation

* Update Russian translation (fix)

* Update Russian translation (fix quotes)

* Update Russian translation (fix quotes)

* Update Russian translation (fix)

* Update Russian translation

* Add quotes

* bundle exec i18n-tasks normalize

8 years agol10n: PT-BR translation updated (#5530)
Anna e só [Wed, 25 Oct 2017 14:11:03 +0000 (12:11 -0200)]
l10n: PT-BR translation updated (#5530)

8 years agoComplete Esperanto translation (#5520)
Olivier Nicole [Wed, 25 Oct 2017 13:38:37 +0000 (15:38 +0200)]
Complete Esperanto translation (#5520)

8 years agoRemove nil check in Glitch::KeywordMute#=~.
David Yip [Wed, 25 Oct 2017 00:03:59 +0000 (19:03 -0500)]
Remove nil check in Glitch::KeywordMute#=~.

@regex can no longer be nil, so we don't need to check it.

8 years agoAssume Glitch::KeywordMute#destroy! works and error out if it doesn't.
David Yip [Tue, 24 Oct 2017 23:56:57 +0000 (18:56 -0500)]
Assume Glitch::KeywordMute#destroy! works and error out if it doesn't.

There's nothing useful we can display if the destroy action messes up,
so might as well assert it does and complain loudly if it doesn't.

8 years agoUse edit template for displaying errors in update.
David Yip [Tue, 24 Oct 2017 23:56:44 +0000 (18:56 -0500)]
Use edit template for displaying errors in update.

8 years agoAlso filter notifications containing muted keywords.
David Yip [Tue, 24 Oct 2017 23:51:27 +0000 (18:51 -0500)]
Also filter notifications containing muted keywords.

8 years agoOverride Action View name inference in settings/keyword_mutes.
David Yip [Tue, 24 Oct 2017 23:40:28 +0000 (18:40 -0500)]
Override Action View name inference in settings/keyword_mutes.

Glitch::KeywordMute's name is inferred as glitch_keyword_mutes, and in
templates this turns into e.g. settings/glitch/keyword_mutes.  Going
along with this convention means a lot of file movement, though, and for
a UI that's as temporary and awkward as this one I think it's less
effort to slap a bunch of as: options everywhere.

We'll do the Right Thing when we build out the API and frontend UI.

8 years agoFix example description.
David Yip [Tue, 24 Oct 2017 23:33:02 +0000 (18:33 -0500)]
Fix example description.

This example actually checks matches at the end of a string.

8 years agoSwitch to Regexp.union for building the mute expression.
David Yip [Tue, 24 Oct 2017 23:31:34 +0000 (18:31 -0500)]
Switch to Regexp.union for building the mute expression.

Also make the keyword-building methods private: they always probably
should have been private, but now I have encoded enough fun and games
into them that it now seems wrong for them to *not* be private.

8 years agooption to add title to <Button>, use for toot buttons (#197)
Ondřej Hruška [Tue, 24 Oct 2017 17:08:07 +0000 (19:08 +0200)]
option to add title to <Button>, use for toot buttons (#197)

8 years agoMerge pull request #196 from glitch-soc/fix-imports
David Yip [Tue, 24 Oct 2017 04:34:43 +0000 (23:34 -0500)]
Merge pull request #196 from glitch-soc/fix-imports

Added app/javascript for imports

8 years agoAdded app/javascript for imports
kibigo! [Tue, 24 Oct 2017 03:22:48 +0000 (20:22 -0700)]
Added app/javascript for imports

8 years agoOnly cache the regex text, not the regex itself.
David Yip [Tue, 24 Oct 2017 00:31:59 +0000 (19:31 -0500)]
Only cache the regex text, not the regex itself.

It is possible to cache a Regexp object, but I'm not sure what happens
if e.g. that object remains in cache across two different Ruby versions.
Caching a string seems to raise fewer questions.

8 years agoMerge remote-tracking branch 'origin/master' into gs-master
David Yip [Mon, 23 Oct 2017 03:57:41 +0000 (22:57 -0500)]
Merge remote-tracking branch 'origin/master' into gs-master

8 years agoChanges to match other timelines in 2.0
Matthew Walsh [Mon, 23 Oct 2017 01:45:35 +0000 (18:45 -0700)]
Changes to match other timelines in 2.0

8 years agoAdded a timeline for Direct statuses
Matthew Walsh [Mon, 16 Oct 2017 04:02:39 +0000 (21:02 -0700)]
Added a timeline for Direct statuses
* Lists all Direct statuses you've sent and received
* Displayed in Getting Started
* Streaming server support for direct TL

8 years agoKeywordMute matcher: more closely mimic Regexp#=~ behavior.
David Yip [Sun, 22 Oct 2017 06:11:17 +0000 (01:11 -0500)]
KeywordMute matcher: more closely mimic Regexp#=~ behavior.

Regexp#=~ returns nil if it does not match.  An empty mute set does not
match any status, so KeywordMute::Matcher#=~ ought to return nil also.

8 years agoAddress unused translation errors.
David Yip [Sun, 22 Oct 2017 06:05:56 +0000 (01:05 -0500)]
Address unused translation errors.

8 years agoUse current_account from ApplicationController.
David Yip [Sun, 22 Oct 2017 06:02:52 +0000 (01:02 -0500)]
Use current_account from ApplicationController.

This avoids copy-pasting definitions of set_account.

8 years agoDon't add \b to whole-word keywords that don't start with word characters.
David Yip [Sun, 22 Oct 2017 05:24:32 +0000 (00:24 -0500)]
Don't add \b to whole-word keywords that don't start with word characters.

Ditto for ending with \b.

Consider muting the phrase "(hot take)".  I stipulate it is reasonable
to enter this with the default "match whole word" behavior.  Under the
old behavior, this would be encoded as

    \b\(hot\ take\)\b

However, if \b is before the first character in the string and the first
character in the string is not a word character, then the match will
fail.  Ditto for after.  In our example, "(" is not a word character, so
this will not match statuses containing "(hot take)", and that's a very
surprising behavior.

To address this, we only add leading and trailing \b to keywords that
start or end with word characters.

8 years agokeyword mutes: also check spoiler (CW) text and reblogged statuses.
David Yip [Sun, 22 Oct 2017 05:23:21 +0000 (00:23 -0500)]
keyword mutes: also check spoiler (CW) text and reblogged statuses.

8 years agoi18n: Update Polish Translation (#5494)
Marcin Mikołajczak [Sat, 21 Oct 2017 23:34:40 +0000 (01:34 +0200)]
i18n: Update Polish Translation (#5494)

8 years agoApply keyword mutes to reblogs.
David Yip [Sat, 21 Oct 2017 20:44:47 +0000 (15:44 -0500)]
Apply keyword mutes to reblogs.

8 years agoMove KeywordMute into Glitch namespace.
David Yip [Sat, 21 Oct 2017 19:47:17 +0000 (14:47 -0500)]
Move KeywordMute into Glitch namespace.

There are two motivations for this:

1. It looks like we're going to add other features that require
   server-side storage (e.g. user notes).

2. Namespacing glitchsoc modifications is a good idea anyway: even if we
   do not end up doing (1), if upstream introduces a keyword-mute feature
   that also uses a "KeywordMute" model, we can avoid some merge
   conflicts this way and work on the more interesting task of
   choosing which implementation to use.

8 years agoFill in create, edit, update, and destroy for keyword mutes interface.
David Yip [Fri, 20 Oct 2017 20:12:45 +0000 (15:12 -0500)]
Fill in create, edit, update, and destroy for keyword mutes interface.

Also add a destroy-all action, which can be useful if you're flushing an
old list entirely to start a new one.

8 years agoAllow keywords to match either substrings or whole words.
David Yip [Mon, 16 Oct 2017 00:49:22 +0000 (19:49 -0500)]
Allow keywords to match either substrings or whole words.

Word-boundary matching only works as intended in English and languages
that use similar word-breaking characters; it doesn't work so well in
(say) Japanese, Chinese, or Thai.  It's unacceptable to have a feature
that doesn't work as intended for some languages.  (Moreso especially
considering that it's likely that the largest contingent on the Mastodon
bit of the fediverse speaks Japanese.)

There are rules specified in Unicode TR29[1] for word-breaking across
all languages supported by Unicode, but the rules deliberately do not
cover all cases.  In fact, TR29 states

    For example, reliable detection of word boundaries in languages such
    as Thai, Lao, Chinese, or Japanese requires the use of dictionary
    lookup, analogous to English hyphenation.

So we aren't going to be able to make word detection work with regexes
within Mastodon (or glitchsoc).  However, for a first pass (even if it's
kind of punting) we can allow the user to choose whether they want word
or substring detection and warn about the limitations of this
implementation in, say, docs.

[1]: https://unicode.org/reports/tr29/
     https://web.archive.org/web/20171001005125/https://unicode.org/reports/tr29/

8 years agoSpike out index and new views for keyword mutes controller.
David Yip [Sun, 15 Oct 2017 09:51:42 +0000 (04:51 -0500)]
Spike out index and new views for keyword mutes controller.

8 years agoSet up /settings/keyword_mutes. #164.
David Yip [Sun, 15 Oct 2017 08:17:33 +0000 (03:17 -0500)]
Set up /settings/keyword_mutes.  #164.

This should eventually be accessible via the API and the web frontend,
but I find it easier to set up an editing interface using Rails
templates and the like.  We can always take it out if it turns out we
don't need it.

8 years agoInvalidate cached matcher objects on KeywordMute commit. #164.
David Yip [Sun, 15 Oct 2017 07:52:53 +0000 (02:52 -0500)]
Invalidate cached matcher objects on KeywordMute commit.  #164.

8 years agoUse more idiomatic string concatentation. #164.
David Yip [Sun, 15 Oct 2017 07:32:03 +0000 (02:32 -0500)]
Use more idiomatic string concatentation.  #164.

The intent of the previous concatenation was to minimize object
allocations, which can end up being a slow killer.  However, it turns
out that under MRI 2.4.x, the shove-strings-in-an-array-and-join method
is not only arguably more common but (in this particular case) actually
allocates *fewer* objects than the string concatenation.

Or, at least, that's what I gather by running this:

    words = %w(palmettoes nudged hibernation bullish stockade's tightened Hades
    Dixie's formalize superego's commissaries Zappa's viceroy's apothecaries
    tablespoonful's barons Chennai tollgate ticked expands)

    a = Account.first

    KeywordMute.transaction do
      words.each { |w| KeywordMute.create!(keyword: w, account: a) }

      GC.start

      s1 = GC.stat

      re = String.new.tap do |str|
        scoped = KeywordMute.where(account: a)
        keywords = scoped.select(:id, :keyword)
        count = scoped.count

        keywords.find_each.with_index do |kw, index|
          str << Regexp.escape(kw.keyword.strip)
          str << '|' if index < count - 1
        end
      end

      s2 = GC.stat

      puts s1.inspect, s2.inspect

      raise ActiveRecord::Rollback
    end

vs this:

    words = %w( palmettoes nudged hibernation bullish stockade's tightened Hades Dixie's
    formalize superego's commissaries Zappa's viceroy's apothecaries tablespoonful's
    barons Chennai tollgate ticked expands
    )

    a = Account.first

    KeywordMute.transaction do
      words.each { |w| KeywordMute.create!(keyword: w, account: a) }

      GC.start

      s1 = GC.stat

      re = [].tap do |arr|
        KeywordMute.where(account: a).select(:keyword, :id).find_each do |m|
          arr << Regexp.escape(m.keyword.strip)
        end
      end.join('|')

      s2 = GC.stat

      puts s1.inspect, s2.inspect

      raise ActiveRecord::Rollback
    end

Using rails r, here is a comparison of the total_allocated_objects and
malloc_increase_bytes GC stat data:

                 total_allocated_objects        malloc_increase_bytes
string concat    3200241 -> 3201428 (+1187)     1176 -> 45216 (44040)
array join       3200380 -> 3201299 (+919)      1176 -> 36448 (35272)

8 years agoMake use of the regex attr_reader. #164.
David Yip [Sun, 15 Oct 2017 01:45:14 +0000 (20:45 -0500)]
Make use of the regex attr_reader.  #164.

It would also have been valid to get rid of the attr_reader, but I like
being able to reach inside KeywordMute::Matcher without resorting to
instance_variable_get tomfoolery.

8 years agoFix case-insensitive match scenario; test some word ornamentation. #164.
David Yip [Sun, 15 Oct 2017 01:41:52 +0000 (20:41 -0500)]
Fix case-insensitive match scenario; test some word ornamentation.  #164.

8 years agoRework KeywordMute interface to use a matcher object; spec out matcher. #164.
David Yip [Sun, 15 Oct 2017 01:36:53 +0000 (20:36 -0500)]
Rework KeywordMute interface to use a matcher object; spec out matcher.  #164.

A matcher object that builds a match from KeywordMute data and runs it
over text is, in my view, one of the easier ways to write examples for
this sort of thing.

8 years agoSpec out KeywordMute interface. #164.
David Yip [Sat, 14 Oct 2017 07:28:20 +0000 (02:28 -0500)]
Spec out KeywordMute interface.  #164.

8 years agoAdd KeywordMute model.
David Yip [Mon, 9 Oct 2017 22:28:28 +0000 (17:28 -0500)]
Add KeywordMute model.

Gist of the proposed keyword mute implementation:

Keyword mutes are represented server-side as one keyword per record.
For each account, there exists a keyword regex that is generated as one
big alternation of all keywords.  This regex is cached (in Redis, I
guess) so we can quickly get it when filtering in FeedManager.

8 years agoCompose buttons bar redesign + generalize dropdown (#194)
Ondřej Hruška [Sat, 21 Oct 2017 18:24:53 +0000 (20:24 +0200)]
Compose buttons bar redesign + generalize dropdown (#194)

* Generalize compose dropdown for re-use

* wip stuffs

* new tootbox look and removed old doodle button files

* use the house icon for ...

8 years agohide mentions of muted accounts (in home col) (#190)
beatrix [Fri, 20 Oct 2017 14:49:54 +0000 (10:49 -0400)]
hide mentions of muted accounts (in home col) (#190)

* hide mentions of muted accounts (in home col)

also cleans up some old crap

* add test

8 years agoMerge pull request #191 from glitch-soc/garglamel-yaml
beatrix [Thu, 19 Oct 2017 23:29:52 +0000 (19:29 -0400)]
Merge pull request #191 from glitch-soc/garglamel-yaml

ƔAML update

8 years agoUpdates to bio metadata script
kibigo! [Thu, 19 Oct 2017 23:11:53 +0000 (16:11 -0700)]
Updates to bio metadata script

8 years agoMerge pull request #189 from glitch-soc/scrollable-compose-area
beatrix [Thu, 19 Oct 2017 16:28:47 +0000 (12:28 -0400)]
Merge pull request #189 from glitch-soc/scrollable-compose-area

 Make the compose area optionally scrollable

8 years agoRemove unnecessary translateZ(0) when doing scale() (#5473)
Nolan Lawson [Thu, 19 Oct 2017 16:27:55 +0000 (09:27 -0700)]
Remove unnecessary translateZ(0) when doing scale() (#5473)

8 years agoMake the compose area optionally scrollable.
David Yip [Thu, 19 Oct 2017 15:59:50 +0000 (10:59 -0500)]
Make the compose area optionally scrollable.

On desktop, the compose text box grows to accommodate the content.  On
mobile, the text box does not grow to accommodate text context, but does
grow to accommodate images.  It is possible in both cases to overflow
the available area, which makes accessing other UI elements (e.g.
visibility setttings) difficult.

This commit makes the compose area optionally scrollable, which allows
those UI elements to remain available even if they go off-screen.

8 years agoremove-duplicated-jest-config (#5465)
masarakki [Thu, 19 Oct 2017 11:51:38 +0000 (20:51 +0900)]
remove-duplicated-jest-config (#5465)

8 years agoMerge pull request #185 from glitch-soc/fix-null-status
David Yip [Wed, 18 Oct 2017 22:01:31 +0000 (17:01 -0500)]
Merge pull request #185 from glitch-soc/fix-null-status

workaround for null status

8 years agoMerge pull request #188 from glitch-soc/merge-upstream-2-0-0
beatrix [Wed, 18 Oct 2017 21:57:42 +0000 (17:57 -0400)]
Merge pull request #188 from glitch-soc/merge-upstream-2-0-0

Merge with upstream v2.0.0

8 years agoformatting fix for eslint
Ondřej Hruška [Wed, 18 Oct 2017 21:44:06 +0000 (23:44 +0200)]
formatting fix for eslint

8 years agoRemove unused filesAttached property.
David Yip [Wed, 18 Oct 2017 18:20:45 +0000 (13:20 -0500)]
Remove unused filesAttached property.

8 years agoUpdate stylesheet imports in glitch components.
David Yip [Wed, 18 Oct 2017 16:52:34 +0000 (11:52 -0500)]
Update stylesheet imports in glitch components.

Commit 6e5471947438fc5883e72b8184663564ffadee28 moved the Mastodon
variables and mixins deeper in the directory hierarchy; this commit
brings the glitch components in line with that change.

8 years agoMerge tag 'v2.0.0' into gs-master
David Yip [Wed, 18 Oct 2017 16:52:04 +0000 (11:52 -0500)]
Merge tag 'v2.0.0' into gs-master

8 years agoSuppress type error(not a function) on calling fastSeek (#5452)
Sho Kusano [Wed, 18 Oct 2017 15:13:51 +0000 (00:13 +0900)]
Suppress type error(not a function) on calling fastSeek (#5452)

8 years agoBump version to 2.0.0 🐘
Eugen Rochko [Wed, 18 Oct 2017 11:53:56 +0000 (13:53 +0200)]
Bump version to 2.0.0 🐘

8 years agoFix pt-BR translation strings related to advanced search. (#5449)
Renato "Lond" Cerqueira [Wed, 18 Oct 2017 11:53:17 +0000 (09:53 -0200)]
Fix pt-BR translation strings related to advanced search. (#5449)

8 years agoRevert #5438 for FR (#5450)
Technowix [Wed, 18 Oct 2017 11:51:30 +0000 (13:51 +0200)]
Revert #5438 for FR (#5450)

As said here https://github.com/tootsuite/mastodon/pull/5438 the point of shortening the timestamp is legit, and after some time of adaptation no mistakes can be mades.

8 years agoSome typos and supplementation in sentence structures (#5441)
Håkan Eriksson [Wed, 18 Oct 2017 11:50:52 +0000 (13:50 +0200)]
Some typos and supplementation in sentence structures (#5441)

* Swedish file added

* Swedish file added

* Swedish file updated

* Swedish languagefile added

* Add Swedish translation

* Add Swedish translation

* Started the Swedish translation

* Added Swedish lang settings

* Updating Swedish language

* Updating Swedish language

* Updating Swedish language

* Updating Swedish language

* Updating Swedish language

* Updating Swedish language

* Swedish language completed and added

* Swedish language Simple_form added

* Swedish language Divise added

* Swedish language doorkeeper added

* Swedish language - now all file complete

* Swedish - Typos and supplementation in sentence structure

* Update simple_form.sv.yml

* Update sv.yml

* Update sv.yml

Rearranged the alphabetical order.

8 years agoRun `i18n-tasks checked-normalized` in Travis CI (#5443)
Yamagishi Kazutoshi [Wed, 18 Oct 2017 09:57:02 +0000 (18:57 +0900)]
Run `i18n-tasks checked-normalized` in Travis CI (#5443)

8 years agoEnable coverage for Jest (#5442)
Yamagishi Kazutoshi [Wed, 18 Oct 2017 09:39:36 +0000 (18:39 +0900)]
Enable coverage for Jest (#5442)

8 years agofr.json typo (realtive time) (#5447)
JohnD28 [Wed, 18 Oct 2017 07:47:14 +0000 (09:47 +0200)]
fr.json typo (realtive time) (#5447)

Typo correction : https://fr.wikipedia.org/wiki/Heure#Typographie

8 years agoBump version to 2.0.0rc4
Eugen Rochko [Tue, 17 Oct 2017 21:16:35 +0000 (23:16 +0200)]
Bump version to 2.0.0rc4

8 years agoDutch: A few strings I found last minute (#5440)
Jeroen [Tue, 17 Oct 2017 21:15:40 +0000 (23:15 +0200)]
Dutch: A few strings I found last minute (#5440)

* Dutch: A few strings I found last minute

* Update simple_form.nl.yml

8 years agoMake theme directory and Rename application.scss (#5336)
YaQ [Tue, 17 Oct 2017 20:20:07 +0000 (05:20 +0900)]
Make theme directory and Rename application.scss (#5336)

* Rename application.scss

* Move to 'default' directory

* Follow review

Move directory, and Rename "mastodon".

* Revert rename

* undo removal of newline

8 years agoWhen unreblog arrives over streaming API, just delete in UI (#5439)
Eugen Rochko [Tue, 17 Oct 2017 20:17:02 +0000 (22:17 +0200)]
When unreblog arrives over streaming API, just delete in UI (#5439)

8 years agoi18n better wording (OC/CA/FR) + string added in FR (#5438)
JeanGauthier [Tue, 17 Oct 2017 19:49:39 +0000 (21:49 +0200)]
i18n better wording (OC/CA/FR) + string added in FR (#5438)

* Update oc.json

* Update fr.json

* Update ca.json

* Update fr.json

* Update simple_form.fr.yml

* Update ca.json

* Update fr.json

* Update oc.json

* Update oc.json

* Update fr.json

8 years agoFix scrolling of dropdown when offscreen (#5434)
Nolan Lawson [Tue, 17 Oct 2017 18:38:16 +0000 (11:38 -0700)]
Fix scrolling of dropdown when offscreen (#5434)

8 years agoFix unwanted content warning gap in CSS (#5436)
Eugen Rochko [Tue, 17 Oct 2017 18:07:44 +0000 (20:07 +0200)]
Fix unwanted content warning gap in CSS (#5436)

Fix #5356

8 years agoWhen status is fetched instead of delivered, do not stream it (#5437)
Eugen Rochko [Tue, 17 Oct 2017 18:05:21 +0000 (20:05 +0200)]
When status is fetched instead of delivered, do not stream it (#5437)

8 years agoDon't capture scheme-less URLs in the status (#5435)
unarist [Tue, 17 Oct 2017 16:32:25 +0000 (01:32 +0900)]
Don't capture scheme-less URLs in the status (#5435)

Specifically, this fixes status length calculation to be same as JS side.

BTW, since this pattern used in not only preview card fetching, we
should extract it (with twitter-regex?) and write tests I think.

8 years agoi18n update (#5427) in OC/CA/FR/ES (#5431)
JeanGauthier [Tue, 17 Oct 2017 11:03:28 +0000 (13:03 +0200)]
i18n update (#5427) in OC/CA/FR/ES (#5431)

* Update oc.json

* Update ca.json

* Update fr.json

* Update es.json

8 years agoFix React warning about tabIndex on status with CW (#5432)
unarist [Tue, 17 Oct 2017 11:03:12 +0000 (20:03 +0900)]
Fix React warning about tabIndex on status with CW (#5432)

8 years agoUpdate German translation (#5425)
Jakob Kramer [Tue, 17 Oct 2017 10:02:47 +0000 (12:02 +0200)]
Update German translation (#5425)

This page took 0.094037 seconds and 4 git commands to generate.