Commit Graph

3227 Commits (f54dca06a91c4adb8c916a1af9a699166502efa2)
 

Author SHA1 Message Date
René Klačan f54dca06a9 Add migration versions ()
Since Rails 5.1 missing migration version results in following error:

```
StandardError: Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for:
```

This PR fixes all migration files.
Quent-in 370fa70924 l10n update for occitan language ()
* i18n Update : Add preference setting for delete toot modal

Adding a line for "Add preference setting for delete toot modal"

* i18n update for pin/unpin

Update to add two more translations

* i18n update to have the dates in plain occitan

* Removed the blank line

* %{selft} back in the translation
Matt Jankowski 5be1214c26 Gem version bumps ()
* Update annotate to version 2.7.2

* Update puma to version 3.9.0

* Update aws-sdk to version 2.9.28

* Update bootsnap to version 1.0.0

* Update nio4r to version 2.1.0

* Update nokogumbo to version 1.4.12

* Update oj to version 3.0.11

* Update pkg-config to version 1.2.3

* Update rubocop to version 0.49.1

* Update sidekiq-scheduler to version 2.1.5
Eugen Rochko f7a30e2fae Added support for configurable reserved usernames (fix of ) ()
* Added support for configurable reserved usernames

* Added reserved usernames from mastodon issue 1355

* Fix reserved usernames
Yamagishi Kazutoshi 3f815b2052 Add date to ignore_missing and ignore_unused in config/i18n-tasks.yml ()
Akihiko Odaki (@fn_aki@pawoo.net) defe4f9bc3 Cover WebfingerResource more ()
Yamagishi Kazutoshi 943775fd90 Update dependencies of Node.js ()
* 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
Akihiko Odaki (@fn_aki@pawoo.net) 42844df966 Spec ScopedSettings ()
Yamagishi Kazutoshi b0fe58dc69 Upgrade storybook to v3 ()
Akihiko Odaki (@fn_aki@pawoo.net) e07b57852e Remove some code in TagManager and spec ()
* Do not fall back to StreamEntry if object_type is unavailable in TagManager

Since 6d6a429af8, when Status, the only model
with stream_entry, and StreamEntry got its own logic in uri_for and
url_for, the purpose of the fallbacks to activity_type of StreamEntry
became unclear.

This commit removes the fallbacks. When adding another model with
stream_entry in future, consider to update uri_for and url_for.

* Cover TagManager more
m4sk1n 7c7c18fdea i18n: Updated Polish translation ()
lindwurm a84664026e l10n: ja: Change about/more link text ()
ref:  ("Extended information" -> "About this instance") and 

Signed-off-by: lindwurm <lindwurm.q@gmail.com>
Akihiko Odaki (@fn_aki@pawoo.net) 02a0fd5b64 Spec InlineRablScope ()
Akihiko Odaki (@fn_aki@pawoo.net) 6505a42be0 Spec HashObject ()
Akihiko Odaki (@fn_aki@pawoo.net) e674608d10 A minor change for ProviderDiscovery and spec ()
* Do not default the format in ProviderDiscovery

The format should be determined when discovering, as it is in the current
implementation, and it is a flaw if it is not determined.

* Spec ProviderDiscovery
Akihiko Odaki (@fn_aki@pawoo.net) c7af8cbc90 Remove some arguments of Formatter.instance.format and spec ()
* Remove some arguments of Formatter.instance.format

* Improve spec for Formatter
Akihiko Odaki (@fn_aki@pawoo.net) 9475fbae78 Spec Extractor ()
Akihiko Odaki (@fn_aki@pawoo.net) 00e61d6807 Spec action verification of StreamEntryFinder ()
Akihiko Odaki (@fn_aki@pawoo.net) 19084d3c6c Remove Targetable ()
Naoki Kosaka e014bf8ed0 Fix limit_param in favourites_controller.rb ()
Yamagishi Kazutoshi f6e2309e70 Fix column buttons overflow in Japanese ()
Yamagishi Kazutoshi 9d2154c4ab Add Japanese translations (pin) ()
* Add Japanese translations (pin)

* "ピン留め" is more general
unarist 1dfd27a028 Fix all icons in the column header being hilighted ()
Mingye Wang b97ebaf620 en.json: change about/more link text to "About this instance" ()
This change follows , which does the same for the Chinese variants. Or should it be simply "About"?
Eugen Rochko 8ee2eb5d2e Allow mounting arbitrary columns ()
* Allow mounting arbitrary columns

* Refactor column headers, allow pinning/unpinning and moving columns around

* Collapse animation

* Re-introduce scroll to top

* Save column settings properly, do not display pin options in
single-column view, do not display collapse icon if there is
nothing to collapse

* Fix one instance of public timeline being closed closing the stream
Fix back buttons inconsistently sending you back to / even if history exists

* Getting started displays links to columns that are not mounted
masarakki 20b647020b refocus-after-toot ()
takayamaki 3eedad2737 change sidekiq queueing to bulk push ()
Akihiko Odaki (@fn_aki@pawoo.net) ce7c0def88 Remove redundant code in AtomSerializer and spec ()
* Remove redundant status.reply? in AtomSerializer#object

* Cover AtomSerializer more
Clworld dab8fc4584 Execute PushUpdateWorker only for accounts who uses StreamingAPI just now. ()
* Add redis key "subscribed:timeline:#{account.id}" to indicate active streaming API listeners exists.

* Add endpoint for notification only stream.

* Run PushUpdateWorker only for users uses Streaming API now.

* Move close hander streamTo(Http/Ws) -> stream(Http/Ws)End (Deal with )

* Add stream type for stream start log message.
Yamagishi Kazutoshi 8a597f0138 Cache assets in travis ()
Nolan Lawson 3363f2f4d6 Fix isIntersecting in Chrome ()
Mingye Wang c7f2d6af55 zh-cn&tw.json: "extended info" -> "about this site" ()
* zh-cn.json: "additional info" -> "more info"

This commit changes the "extended info" (about/more) text to something that translates to "more info", as "additional info" in zh can sound like appending things to the (ugh) navbar, I guess.

Or should I just change it to "about this site" (关于本站)?

* zh-cn.json: navbar.info -> "about this site"

* zh-臺灣.json: navbar.info -> "about this site"
Yamagishi Kazutoshi e878ddb7c0 Fix spec for ()
Yamagishi Kazutoshi 336f0b0823 Remove WarmCacheService ()
WarmCacheService is no longer used (removed with 5442083b3c ).
Yamagishi Kazutoshi 3ea3f24a02 Change toggle state when click label ()
ThibG d567a382e3 Ensure well_known controllers use WEB_DOMAIN by including RoutingHelper ()
This fixes .
Clworld 18fe77084f bump rails version in Gemfile: '~> 5.0.0' -> '~> 5.1.0' ()
Naoki Kosaka dc253ea234 Ignore packs folder when COPY . /mastodon ()
Sorin Davidoi 9304114b57 Ignore .idea folder ()
Used by Intellij IDEA / WebStorm / RubyMine.
Matt Jankowski 1fd5251376 Add index to media_attachments.account_id ()
Nolan Lawson edddc7c791 Enable stats.json analysis with Webpack Visualizer ()
Akihiko Odaki (@fn_aki@pawoo.net) 10768aa204 Spec response for forgery ()
Remove protect_from_forgery in ApiController, which is disabled by the
following skip_before_action, as well.
Akihiko Odaki (@fn_aki@pawoo.net) e98559c3ff Resolve custom application stylesheet with Webpack ()
This implementation is a bit smaller and still has the following benefits:

* No need of app/javascript/packs/custom.js
For custom stylesheet, it typically has only
"require('../styles/custom.scss')" and is redundant.

* No need to extract vendor stylesheet to another asset
Extracting vendor stylesheet could be forgotten by developers who do not
use custom stylesheet.
Matt Jankowski 2212dc4aaa Update Rails to version 5.1.1 ()
* Update rails to version 5.1.1

* Run `rails app:update`

* Remove the override of polymorphic activity relationship

* Silence warning about otp_secret attribute being unknown to rails

* We will only introduce form_with where we want to use remote data
Daniel Hunsaker e1fdac3e9a [nanobox] Add python for node-gyp ()
Needed since merge of .
Yamagishi Kazutoshi 1162f61ca3 Remove unused loaders of webpack ()
Yamagishi Kazutoshi 39ea5c0e2e Improve tests for JavaScript ()
- Upgrade dependencies
    - chai (3.5.0 -> 4.0.1)
    - chai-enzyme (0.6.1 -> 0.7.1)
    - sinon (2.2.0 -> 2.3.2)
- Change extensions from .jsx to .js
- Don't assign `React` to `global`
- Check code format using ESLint
Yamagishi Kazutoshi 509b0cfafc Add scenarios for log in ()
Yamagishi Kazutoshi fda5c699c2 Add ESLint rule (object-curly-spacing) ()
Matt Jankowski cb7ee4698f Rubocop changes ()
* Update renamed rubocop configuration options

* Remove duplicate rubocop configuration, sort options