Commit Graph

3433 Commits (8f2c91568c7ab552a87d02813e6b02be65f8707f)
 

Author SHA1 Message Date
Yamagishi Kazutoshi 8f2c91568c Maintain aspect ratio for preview image (#3966) 7 years ago
Yamagishi Kazutoshi 98eaa2aa27 Update Rails to v5.1.2 (#3968) 7 years ago
Eugen Rochko 42b8220632 Fix #1624 - Send e-mail notifications to admins about new reports (#3949) 7 years ago
ThibG a91d968cab Raise an error if salmon request response is unsatisfactory (#3960) 7 years ago
m4sk1n 646de92781 i18n: Updated Polish translation (#3956)
* i18n: Updated Polish translation

* Update pl.yml
7 years ago
m4sk1n ae2b722f55 i18n: Warning to look into the spam folder (pl) (#3955) 7 years ago
Daniel Hunsaker 7aeb9168b0 Add .gitattributes file to avoid unwanted CRLF (#3954)
When Windows checks out files, it defaults to changing line endings to CRLF. If these files are then copied to a Linux system to be run, and the endings aren't changed at some point in that process, things break. This file forces git to use LF for all text files on all systems (except the request testing specfiles) to prevent issues everywhere.
7 years ago
Alda Marteau-Hardi f53ed108b0 Translate pin/unpin and fix some inconsistencies in gender neutral strings (#3952) 7 years ago
Yamagishi Kazutoshi 285038972b Stop using Babel with streaming server (#3950) 7 years ago
Takuya Yoshida e5563843a2 Re-fix errorMiddleware (#3922) 7 years ago
unarist c972e1ee1f Ignore DB_NAME for development env on streaming as well as rails side (#3948) 7 years ago
Eugen Rochko 5e8d037e27 Fix #3910 - Require OTP authentication to disable 2FA (#3935)
* Fix #3910 - Require OTP authentication to disable 2FA. Also, remove ability
to generate new OTP backup codes *after* initial backup codes were handed
out during activation

* Restore recovery code re-generation

* Improve display of some 2FA elements
7 years ago
Eugen Rochko ed7dc1704d Bind web UI access tokens to sessions (#3940)
* Add overview of active sessions

* Better display of browser/platform name

* Improve how browser information is stored and displayed for sessions overview

* Fix test

* Fix #2347 - Bind web UI access token to session

When you logout, session also destroys the access token, so it's no longer
valid. If access token is destroyed some other way, the session is also
destroyed, requiring a re-login.

Fix #1681 - Add scheduler to remove revoked access tokens and grants

* Fix test
7 years ago
amazedkoumei 436ce03772 fix unnecessary variable (#3947) 7 years ago
Eugen Rochko d821aba002 Rename "Credentials" page to "Security" for clarity (#3941)
* Rename "Credentials" page to "Security" for clarity

* Change "security" icon from cog to lock
7 years ago
Sorin Davidoi 4ce1540094 fix(features/compose): Handle external changes to the textarea (#3632) 7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 67243bda31 Cover Auth::RegistrationsController more (#3353) 7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 8f991831b8 Cover Admin::DomainBlocksController more (#3329)
Also domain_block fabricator now sets unique domains
7 years ago
amazedkoumei 87efa38721 more free pgconfig by .env (#3909)
* more free pgconfig for streaming by .env

* fix wrong default values

* database.yml read ENV as same as streaming server
7 years ago
Eugen Rochko f7301bd5b9 Add overview of active sessions (#3929)
* Add overview of active sessions

* Better display of browser/platform name

* Improve how browser information is stored and displayed for sessions overview

* Fix test
7 years ago
PFM 099a3b4eac Fix "undefined" in className (#3939) 7 years ago
unarist 3d4e21f1ec Don't set ASSET_HOST on build:development (#3936)
Setting ASSET_HOST to `http://0.0.0.0:8080` makes urls in manifest.json to
be invalid, e.g. `http://0.0.0.0:8080/packs/application.js`.

Anyway, we don't need set this on build:development because assets would
be delivered from same origin in development (and w/o dev-server).
7 years ago
unarist 68dca26a5d Fix react-intl/locale-data import issue on production build (#3937)
Webpack seems to fail to import `react-intl/locale-data/*.js` if those
files has been proceed by babel, and this also breaks applying our translation.

Note that this won't be a problem on English locale, because react-intl
includes it as default and works fine without manually added locale-data.
Also this issue seems to only occurs on production build, but I'm not sure
about reason.
7 years ago
unarist 1fc096ec75 Fix elephant in onboarding modal being very small sized on small devices (#3932) 7 years ago
unarist 21c2bc119c Clean column collapsible (#3931)
* Remove unused column_collapsable.js
* Remove old styles
* Extract `> div`  style to independent class
7 years ago
Sorin Davidoi d23293c762 feat(components/onboarding_modal): Swipe between pages (#3934) 7 years ago
unarist 138e5a0b1e Fix webpack config for Windows (#3926) 7 years ago
Yamagishi Kazutoshi 79dacea962 Fix #3924 (regression from #3906) (#3925) 7 years ago
unarist 4e6b5e7879 Use debounce for dispatch scrollTopNotification and expandNotifications (#3700) 7 years ago
Daniel Hunsaker c0979381a4 Fix a typo and give CW'd statuses the right cursor (#3918) 7 years ago
Eugen Rochko 676f577e7e Fix webpack-dev-server until it's fixed upstream (#3916) 7 years ago
Yamagishi Kazutoshi c1a8e3d1eb Use Class and Property Decorators (#3730)
ref https://tc39.github.io/proposal-decorators/
7 years ago
Takuya Yoshida 0c44316b22 Fix errorMiddleware to prevent "TypeError: res.writeHead is not a function" (#3913)
* Fix errorMiddleware

* Add "eslint-disable-line no-unused-vars"
7 years ago
Sorin Davidoi 2211e8d1cd Revocable sessions (#3616)
* feat: Revocable sessions

* fix: Tests using sign_in

* feat: Configuration entry for the maximum number of session activations
7 years ago
Nolan Lawson 3783cadf2d Apply babel to react-intl to remove prop-types (#3914) 7 years ago
Eugen Rochko a071047c13 Merge branch 'sorin-davidoi-swipe-gestures' 7 years ago
Eugen Rochko 281f07244b Merge branch 'swipe-gestures' of git://github.com/sorin-davidoi/mastodon into sorin-davidoi-swipe-gestures 7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 6f34a6a77f Add index statuses on account_id and id (#3895) 7 years ago
Nolan Lawson e078919f07 Upgrade to Webpack 3 with module concatenation (#3912) 7 years ago
Eugen Rochko 7b13e6efc2 Bump version to 1.4.6 7 years ago
Eugen Rochko 3f59238207 Add important test for full-width hashtags (#3911) 7 years ago
Yamagishi Kazutoshi eff9416469 Remove unused variables (#3906) 7 years ago
Yamagishi Kazutoshi 6fbb3841a6 Add prefix to setting toggle ID (#3907) 7 years ago
Sorin Davidoi d8c4781377 fix: Apply :hover, :focus and :active only when multiple columns 7 years ago
Sorin Davidoi bc6e958229 feat: Swipeable media 7 years ago
Sorin Davidoi a6d8d1036a feat: Swipeable columns 7 years ago
Sorin Davidoi 3d403a013d chore(yarn): Install react-swipeable 7 years ago
Ratmir Karabut 9ca02a00a6 Update Russian translation (#3902)
* 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
7 years ago
nightpool 3e8e9c8ae4 Use the stable RVM installer (#3901)
as mentioned by ElvenSpellmaker here: https://github.com/rvm/rvm/issues/4068

Adds a workaround for the issue mentioned by @abcang here: https://github.com/tootsuite/mastodon/pull/3897#issuecomment-310436668 and makes sure that we're using the stable installer to install the stable version.
7 years ago
Charlotte Fields 7bc1805827 fixed vagrantfile (#3897) 7 years ago