Commit graph

1822 commits

Author SHA1 Message Date
dakkar
219c7fa6ec always preserve old text when editing a note
before this change:

* create a note, with text
  * `note` has a row with the text
	* `note_edit` doesn't have any matching row
* edit the note, removing all the text
  * the row in `note` has the new, empty, text
	* `note_edit` has a matching row, but its `oldText` is NULL

so the original text is lost

after this change, the row in `note_edit` always keeps the previous
text
2023-11-02 14:28:23 +00:00
ShittyKopper
72204d9294 Revert "prototype: decreased rounding"
This reverts commit 7a51e2d404.
2023-11-01 21:43:26 +03:00
ShittyKopper
e1844db11b upd: add corner roundness setting 2023-11-01 21:43:26 +03:00
Mar0xy
d252dc3d93
upd: apply same changes to featured 2023-11-01 15:00:24 +01:00
Mar0xy
61c66b3825
upd: move TTL after pipeline execution 2023-11-01 14:51:50 +01:00
Mar0xy
4fbd9dcfbf
upd: make hashtagservice compatible with redis 6.3 2023-11-01 14:47:36 +01:00
Mar0xy
8388b18df9
merge: upstream 2023-11-01 12:39:07 +01:00
syuilo
e88dbad3cf tweak test 2023-11-01 15:56:57 +09:00
syuilo
9b073e5fe6 fix 2023-11-01 15:32:35 +09:00
syuilo
77db652bff update deps 2023-11-01 14:06:54 +09:00
syuilo
e632a84431 tweak default configuration 2023-11-01 14:00:31 +09:00
syuilo
7ed2a5fc1b perf(backend): remove needless query
#12206
2023-11-01 13:55:19 +09:00
かっこかり
5fb6847419
Feat: 未読通知数を表示できるように (#11982)
* 未読通知数を表示できるように

* Update Changelog

* オプトインにする

* Fix lint

* (add) テスト通知のプッシュ通知を追加

* add test

* フロントエンドの表示上限を99に変更

* Make it default on

* 共通スタイルをくくりだす

* Update Changelog

* tweak

* Update UserEntityService.ts

* rename

* Update navbar-for-mobile.vue

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-11-01 13:34:05 +09:00
Mar0xy
b02a977606
revert: previous commit 2023-11-01 01:43:01 +01:00
Mar0xy
629c605b67
upd: renderUpdate on attachments 2023-11-01 01:38:03 +01:00
Mar0xy
d49cc29923
chore: add attribution 2023-11-01 00:55:53 +01:00
Mar0xy
a2161ccb53
chore: remove debug line, change example.yml
Set the default meilisearch scope to global
2023-11-01 00:42:08 +01:00
Mar0xy
e9fafe9b51
test: debug meilisearch not being found 2023-11-01 00:33:29 +01:00
Mar0xy
86db03cdd6
test: update debug lines 2023-11-01 00:26:21 +01:00
Mar0xy
232ac0d94e
test: debug meilisearch 2023-11-01 00:14:59 +01:00
Mar0xy
4dd23a3793
merge: upstream 2023-10-31 19:33:24 +01:00
dakkar
044d3d76e7 actually fix #118
`note.fileIds` is an array, it's always going to be truthy; we need to
check the length, like a similar `if` does just a few lines above
2023-10-31 16:16:39 +00:00
dakkar
111863b396 try to fix #118
when fetching notes from Redis, we need to re-check the criteria from
the API request, because `userTimelineWithFiles`,
`userTimelineWithReplies`, `userTimelineWithChannel` all get merged
together, so `noteIds` may well contain notes without attachments…
2023-10-31 15:18:37 +00:00
Mar0xy
b57b644ec6
chore: remove console log on verify_credentials 2023-10-31 12:13:37 +01:00
Mar0xy
6673c7fc13
fix: limit query being returned as string instead of int 2023-10-31 12:06:47 +01:00
Mar0xy
c18efe0042
upd: add empty return on trends/links 2023-10-31 11:49:34 +01:00
Mar0xy
98389114a8
fix: suggestions 2023-10-31 11:46:08 +01:00
Mar0xy
171ba6f4f5
chore: change style of getStatusTrends 2023-10-31 11:38:23 +01:00
Mar0xy
0a9ca195e2
fix: create trends/tags endpoint 2023-10-31 11:34:25 +01:00
Mar0xy
d15c588080
upd: change handling of suggestions and status trends 2023-10-31 11:31:31 +01:00
_
7c692283ad
fix(backend): 自身の宛先なしダイレクト投稿がストリーミングで流れてこない問題を修正 (#12203)
* fix: dm stream

* add CHANGELOG
2023-10-31 15:27:20 +09:00
syuilo
a35fe29ef4 fix(backend): アクセストークンを削除すると、通知が取得できなくなる場合がある問題を修正 2023-10-31 11:45:03 +09:00
Mar0xy
20a8bb0467
fix: search being broken on dev through mastodon 2023-10-30 13:09:20 +01:00
Mar0xy
4fa15f27c7
fix: deleting a list returning an error as success 2023-10-30 13:00:58 +01:00
Mar0xy
46bb5f2dac
fix: lists not being received properly 2023-10-30 12:53:28 +01:00
syuilo
d45b2dd3a7 lint fix 2023-10-30 17:36:32 +09:00
GrapeApple0
4f180ad45c
feat: アイコンデコレーションの管理をロールで設定できるように (#12173)
* アイコンデコレーションの管理をロールで設定できるように

* インポートミス

* Update packages/frontend/src/ui/_common_/common.ts

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

* Update packages/frontend/src/ui/_common_/common.ts

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-30 15:33:15 +09:00
anatawa12
7015cc937b
fix(backend): We can renote pure renote (#12171)
* chore: make pure renote detection an function

* fix: we can renote pure renote

* docs(changelog): リノートをリノートできるのを修正

* fix: remaining debug log

* chore: move isPureRenote to misc

* chore: make isPureRenote type guard

* chore: use isPureRenote in other places

* fix CHANGELOG

* style: fix lint

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-30 13:48:22 +09:00
Mar0xy
e24a57402b
chore: lint 2023-10-30 01:47:24 +01:00
Mar0xy
81def9457b
upd: allow updating of fields 2023-10-30 01:32:48 +01:00
Mar0xy
c88fbe843a
upd: remove debug lines, fix header not being detected 2023-10-30 01:04:55 +01:00
Mar0xy
d942d4d0d0
upd: change resolving of _request.files 2023-10-30 00:57:12 +01:00
Mar0xy
be7d3859c3
test: update debug lines 2023-10-30 00:45:38 +01:00
Mar0xy
e8e4bafa64
upd: remove host lookup on file updating 2023-10-30 00:34:19 +01:00
Mar0xy
2aa7c1ae34
upd: remove Bearer from auth when looking up token 2023-10-30 00:29:58 +01:00
Mar0xy
b57ec5e2eb
test: avatar and header uploading 2023-10-30 00:27:04 +01:00
かっこかり
117db08880
fix(backend): プロフィールの自己紹介欄のMFMを連合するように(実装漏れ) (#12185)
* (refactor) eliminate nested ternary operation

* fix lint

* Jissou more
2023-10-30 08:20:32 +09:00
おさむのひと
2de4d3329d
Fix: フォローしたユーザが、自分のフォローしていないチャンネルにノートを投稿した時、そのノートがHTLで見えてしまう (#12186)
* #12181 の問題に対処
「ユーザー・チャンネルともにフォローあり」のときの絞り込みに不備があり、フォローしているユーザの投稿であればチャンネルのフォロー関係なく通過するようになってしまっていた

* fix CHANGELOG.md

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-10-30 08:19:27 +09:00
Mar0xy
cd1083cc30
fix: relationships not working on some clients 2023-10-29 14:31:26 +01:00
Mar0xy
b596a4978f
upd: add quoteUri resolving and correct reblog/quote handling 2023-10-29 12:49:41 +01:00