Eugen Rochko
6e872c6dab
Fix 422 being returned instead of 404 when POSTing ( #11574 )
2019-08-16 02:08:35 +02:00
Eugen Rochko
b7f5f0ec10
Fix media host not being included in connect-src for OCR ( #11577 )
2019-08-16 01:54:36 +02:00
Eugen Rochko
8fdff2748f
Add more accurate account search ( #11537 )
...
* Add more accurate account search
When ElasticSearch is available, a more accurate search is implemented:
- Using edge n-gram index for acct and display name
- Using asciifolding and cjk width normalization on display names
- Using Gaussian decay on account activity for additional scoring (recency)
- Using followers/friends ratio for additional scoring (spamminess)
- Using followers number for additional scoring (size)
The exact match precedence only takes effect when the input conforms
to the username format and the username part of it is complete, i.e.
when the user started typing the domain part.
* Support single-letter usernames
* Fix tests
* Fix not picking up account updates
* Add weights and normalization for scores, skip zero terms queries
* Use local counts for accounts index, adjust search parameters
* Fix mistakes
* Using updated_at of accounts is inadequate for remote accounts
2019-08-16 01:24:03 +02:00
ThibG
2ca6b2bb6c
Improve focal point modal on mobile ( #11575 )
...
* Reduce padding around report modal and focal point modal title
* Increase max allowed height for focal point modal content
2019-08-15 22:49:00 +02:00
ThibG
d37126fd03
Allow clicking behind preview ( #11576 )
2019-08-15 22:47:51 +02:00
Eugen Rochko
1bea318197
Fix edit media modal on small screens, touch events ( #11573 )
2019-08-15 20:28:56 +02:00
Eugen Rochko
cdc474628d
Change title bar to only show unread notifications ( #11572 )
2019-08-15 20:28:44 +02:00
Arnout Engelen
d7bdddbeef
Include max image dimensions in error ( #11552 )
2019-08-15 20:20:20 +02:00
Sasha Sorokin
a5a5a0adec
Fix trending counter width ( #11569 )
...
Trending counter used to be constant 100px in width, which caused
issues in languages like Russian, where because of that, "talking"
text was cut to the size where actual count is not visible at all:
> 6 people talking
> Популярно у...
2019-08-15 20:20:02 +02:00
Eugen Rochko
dfe6059889
Fix tesseract.js being part of the common chunk ( #11571 )
...
* Fix tesseract.js being part of the common chunk
Besides being 620 KB large, it also causes a modules-related runtime
error in production...
* Fix code style issue
* Fix modules error
2019-08-15 17:24:45 +02:00
Eugen Rochko
28636f43e4
Add OCR tool to media editing modal ( #11566 )
2019-08-15 15:13:26 +02:00
ThibG
f178a01c11
Fix client-side resizing of image uploads ( #11570 )
...
Fixes #11567
2019-08-15 11:52:26 +02:00
94dd22e12f
初期アバターを旧来に
2019-08-15 00:34:59 +00:00
243e762933
Merge branch 'master9' into features/g+theme
2019-08-14 13:38:05 +00:00
361be6af15
Merge pull request #250 from Rintan/g+theme
...
ダークテーマの修正、v2.9.xへの対応など
2019-08-14 22:27:50 +09:00
Rintan
45cb583c54
ダークテーマの修正、v2.9.xへの対応など
2019-08-14 22:23:40 +09:00
Eugen Rochko
23f7afa562
Add media editing modal ( #11563 )
...
Move media description input to a modal and unite that modal with
the focal point modal. Add a hint about choosing focal points, as
well as a preview of a 16:9 thumbnail. Enable the user to watch
the video next to the media description input.
Fix #8320
Fix #6713
2019-08-14 04:07:32 +02:00
b9995161fe
Merge branch 'master9' into features/g+theme
2019-08-13 13:44:30 +00:00
56dac23614
Merge pull request #249 from Rintan/g+theme
...
G+テーマの導入
2019-08-13 22:34:41 +09:00
ThibG
7ffec882ae
Fix reverse-proxy caching of instance actor object ( #11561 )
2019-08-13 15:30:37 +02:00
Rintan
46f017ead6
G+テーマの導入
2019-08-13 22:29:46 +09:00
Eugen Rochko
0e9668051e
Fix short number formatting for numbers above million in web UI ( #11559 )
2019-08-13 12:22:33 +02:00
Eugen Rochko
c09ecbc53e
Add indicator of unread content to window title when web UI is out of focus ( #11560 )
...
Fix #1288
2019-08-13 12:22:16 +02:00
ThibG
5f63339744
Fix more ActivityPub queries setting cookies and preventing caching ( #11557 )
2019-08-12 22:26:07 +02:00
2ff9998c0b
Merge pull request #247 from YoheiZuho/features/security
...
Features/security
2019-08-13 02:10:48 +09:00
8c9d3e4c2d
Markdownの再実装
2019-08-12 17:07:21 +00:00
霧島ひなた
4d4f8b5f52
UPDATE Markdown
...
アスタルテで動いてる最新のMarkdownに追従する更新です。
一応テストしてから実装してください。
今回のアップデートで
+ 見出しのレイアウト変更
+ リストのレイアウトの変更
+ 罫線のレイアウトの変更
+ より詳細なclass分け
+ codeのハイライト
+ 外部サーバー向け画像添付メッセージの表示
+ 1件のセキュリティー的な問題の修正
などが変更になっています
2019-08-13 01:25:36 +09:00
霧島ひなた
0542d92c40
add Markdown front-end
...
Markdownのフロントエンドの追加です
2019-08-13 01:15:41 +09:00
霧島ひなた
09b4c05ce1
SecurityUpdate
2019-08-13 01:15:23 +09:00
ThibG
789cb3c028
Revert bcrypt to 3.1.12 ( #11555 )
2019-08-12 17:52:12 +02:00
dependabot-preview[bot]
74111bbb1c
Bump sass from 1.22.7 to 1.22.9 ( #11545 )
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.22.7 to 1.22.9.
- [Release notes](https://github.com/sass/dart-sass/releases )
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sass/dart-sass/compare/1.22.7...1.22.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-12 21:19:49 +09:00
4a2269092a
Adminからのお知らせ欄の追加
2019-08-12 11:38:13 +00:00
dependabot-preview[bot]
6fb89d9e9b
Bump parallel_tests from 2.29.1 to 2.29.2 ( #11549 )
...
Bumps [parallel_tests](https://github.com/grosser/parallel_tests ) from 2.29.1 to 2.29.2.
- [Release notes](https://github.com/grosser/parallel_tests/releases )
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.29.1...v2.29.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-12 20:14:22 +09:00
dependabot-preview[bot]
ccb2b6afb1
Bump devise-two-factor from 3.0.3 to 3.1.0 ( #11550 )
...
Bumps [devise-two-factor](https://github.com/tinfoil/devise-two-factor ) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/tinfoil/devise-two-factor/releases )
- [Changelog](https://github.com/tinfoil/devise-two-factor/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tinfoil/devise-two-factor/compare/v3.0.3...v3.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-12 20:11:55 +09:00
dependabot-preview[bot]
ff1333ff40
Bump puma from 4.0.1 to 4.1.0 ( #11548 )
...
Bumps [puma](https://github.com/puma/puma ) from 4.0.1 to 4.1.0.
- [Release notes](https://github.com/puma/puma/releases )
- [Changelog](https://github.com/puma/puma/blob/master/History.md )
- [Commits](https://github.com/puma/puma/compare/v4.0.1...v4.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-12 20:11:18 +09:00
dependabot-preview[bot]
0617198e41
Bump faker from 2.1.0 to 2.1.2 ( #11547 )
...
Bumps [faker](https://github.com/faker-ruby/faker ) from 2.1.0 to 2.1.2.
- [Release notes](https://github.com/faker-ruby/faker/releases )
- [Changelog](https://github.com/faker-ruby/faker/blob/master/CHANGELOG.md )
- [Commits](https://github.com/faker-ruby/faker/compare/v2.1.0...v2.1.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-12 20:10:16 +09:00
dependabot-preview[bot]
4b21a9db2f
Bump webpack-dev-server from 3.7.2 to 3.8.0 ( #11546 )
...
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server ) from 3.7.2 to 3.8.0.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases )
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v3.7.2...v3.8.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-12 20:08:37 +09:00
dependabot-preview[bot]
0b28890357
Bump css-loader from 3.1.0 to 3.2.0 ( #11544 )
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases )
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.1.0...v3.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-12 20:07:57 +09:00
dependabot-preview[bot]
8a2afb576d
Bump terser-webpack-plugin from 1.3.0 to 1.4.1 ( #11542 )
...
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin ) from 1.3.0 to 1.4.1.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v1.3.0...v1.4.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-12 20:06:04 +09:00
87875c093e
ボタンの復活
2019-08-12 04:42:03 +00:00
667b598e5c
ブックーマークの再実装(シングルカラム・翻訳)
2019-08-12 02:36:51 +00:00
9c2e210563
Merge pull request #244 from YoheiZuho/features/bookmarks
...
Features/bookmarks
2019-08-12 11:01:20 +09:00
d1f3182779
Merge branch 'master5' into features/bookmarks
2019-08-12 11:01:12 +09:00
dependabot-preview[bot]
093e3756a7
[Security] Bump nokogiri from 1.10.3 to 1.10.4 ( #11540 )
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.10.3 to 1.10.4. **This update includes a security fix.**
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.10.3...v1.10.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-11 23:48:56 +02:00
ThibG
646f96d448
Fix ActivityPub and REST API queries setting cookies and preventing caching ( #11539 )
...
Regression from #8657
2019-08-11 22:59:40 +02:00
kedama
aebefc7ce9
Fix some emojis in profile metadata labels are not emojified. ( #11534 )
2019-08-11 13:15:18 +02:00
Eugen Rochko
c5661b0f92
Fix account search always returning exact match on paginated results ( #11525 )
...
Fix #11365
2019-08-11 13:14:51 +02:00
Eugen Rochko
7a1f8a58df
Fix crash when saving invalid domain name ( #11528 )
...
Fix #7629
2019-08-08 23:04:19 +02:00
Eugen Rochko
699db454c3
Fix pinned statuses API returning pagination headers ( #11526 )
...
Fix #10227
2019-08-08 23:04:04 +02:00
Eugen Rochko
898dacf83e
Fix weekly usage not being displayed correctly in hashtag admin UI ( #11524 )
...
Fix percentages in usage breakdown having too many digits
Change trending hashtags to only ask for review if a hashtag enters
the top 3 position in the set, since it's the only items shown in
the default web UI
2019-08-08 23:03:28 +02:00