Commit graph

111 commits

Author SHA1 Message Date
KMY(雪あすか)
c20b098cfd
Fix: 特定のアカウントを登録したアンテナ除外条件のリスト取得APIでエラー (#923) 2024-12-03 17:35:35 +09:00
KMY
055045981f Merge remote-tracking branch 'parent/main' into upstream-20241119 2024-11-19 08:49:55 +09:00
Matt Jankowski
477412d62a
Use hash arguments to select when possible (Rails 7.2) (#32917) 2024-11-18 14:58:45 +00:00
KMY(雪あすか)
0c37295624
Remove: #609 ローカルユーザー設定から購読許可を削除 (#782)
* #609 ローカルユーザー設定から購読許可を削除

* Fix test

* Fix test
2024-07-31 13:01:36 +09:00
KMY
90f2ea9015 Merge remote-tracking branch 'parent/main' into upstream-20240610 2024-06-10 08:19:27 +09:00
Emelia Smith
e02d23b549
Change read:me scope to profile scope (#30357)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-06-06 07:30:10 +00:00
KMY
8927b1444b Merge remote-tracking branch 'parent/main' into upstream-20240604 2024-06-04 08:02:05 +09:00
Matt Jankowski
85d9053b36
Move pagination_params into API::BaseController (#28845) 2024-05-30 14:56:48 +00:00
KMY
094ff9d2ee Merge remote-tracking branch 'parent/main' into upstream-20240517 2024-05-17 08:53:59 +09:00
Matt Jankowski
65e82211cd
Rename cache_* methods to preload_* in controller concern (#30209) 2024-05-16 08:03:46 +00:00
KMY
32a8f367a3 Merge remote-tracking branch 'parent/main' into upstream-20240424 2024-04-24 08:57:07 +09:00
Emelia Smith
049b159beb
Add read:me OAuth 2.0 scope, allowing more limited access to user data (#29087) 2024-04-23 11:47:00 +00:00
KMY
76598bd542 Merge remote-tracking branch 'parent/main' into upstream-20240319 2024-03-19 09:15:20 +09:00
Matt Jankowski
b5115850bb
Move repeated insert_pagination_headers method to api base class (#29606) 2024-03-18 10:11:53 +00:00
Matt Jankowski
9754967d5f
Move pagination_max_id and pagination_since_id into api/base controller (#28844) 2024-03-13 08:51:44 +00:00
KMY
42b5727723 Merge remote-tracking branch 'parent/main' into upstream-20240304 2024-03-04 10:37:41 +09:00
Matt Jankowski
eb1b8f69de
Allow pagination Link headers on API accounts/statuses when pinned true (#29442) 2024-02-29 14:21:56 +00:00
KMY
54f5113b46 Merge remote-tracking branch 'parent/main' into upstream-20240124 2024-01-24 08:38:14 +09:00
Matt Jankowski
c0e8e457ab
Eager loading fixes for api/ controllers (#28848) 2024-01-23 11:41:54 +00:00
KMY
a4cc73438e Merge remote-tracking branch 'parent/main' into upstream-20240122 2024-01-22 10:07:33 +09:00
Matt Jankowski
329911b0a3
Migrate controller->request spec for api/v1/follow* (#28811) 2024-01-19 09:32:41 +00:00
KMY
a6b57e3890 Merge remote-tracking branch 'parent/main' into upstream-20231221 2023-12-21 08:37:12 +09:00
Claire
7d9b209fe8
Fix call to inefficient delete_matched cache method in domain blocks (#28374) 2023-12-18 16:14:43 +00:00
KMY
94c2396a34 Merge remote-tracking branch 'parent/main' into upstream-20231204 2023-12-04 12:04:52 +09:00
Claire
963354978a
Add Account#unavailable? and Account#permanently_unavailable? aliases (#28053) 2023-11-30 15:43:26 +00:00
KMY
c5e4020922 Merge remote-tracking branch 'parent/main' into upstream-20231124 2023-11-24 09:07:40 +09:00
Kevin Bongart
7877fcd83c
Deduplicate IDs in relationships and familiar_followers APIs (#27982) 2023-11-23 10:00:09 +00:00
KMY
236fc2a316 Merge remote-tracking branch 'parent/main' into upstream-20231116 2023-11-16 22:58:29 +09:00
Eugen Rochko
d67bd44ca1
Add profile setup to onboarding in web UI (#27829) 2023-11-15 11:13:53 +00:00
KMY
bfc7b0101d Merge remote-tracking branch 'parent/main' into upstream-20231110 2023-11-10 09:02:03 +09:00
Claire
c451bbe249
Allow viewing and severing relationships with suspended accounts (#27667) 2023-11-09 14:50:25 +00:00
KMY
c0ff0754a3 Fix timeline emoji_reactions N+1 problem 2023-09-15 09:31:12 +09:00
KMY
fbb82b740b Merge remote-tracking branch 'parent/main' into kb_migration 2023-08-25 12:19:55 +09:00
jsgoldstein
30c191aaa0
Add new public status index (#26344)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-08-24 16:40:04 +02:00
KMY
4fbebebcb3 Add antenna exclusion adder dialog 2023-08-22 20:06:00 +09:00
KMY
9c4577ab7c Add circle adder 2023-08-22 15:41:22 +09:00
KMY
b0854b1dd8 Add circle editor 2023-08-21 16:37:35 +09:00
KMY
9461db713b Merge commit '36631e40cc' into kb_migration 2023-04-26 11:39:42 +09:00
Eugen Rochko
6084461cd0
Change unauthenticated responses to be cached in REST API (#24348) 2023-04-25 15:41:34 +02:00
KMY
9b032185b8 Merge branch 'kb_development' into kb_migration 2023-04-25 10:32:16 +09:00
KMY
0d5a6adc43 Add account to antenna webui 2023-04-25 10:30:30 +09:00
KMY
2fef21664b Add antenna and bio-searchability support 2023-04-24 10:06:25 +09:00
KMY
30379e75d4 Fix errors 2023-04-06 17:13:29 +09:00
KMY
94cd200097 Merge remote-tracking branch 'origin/kb_development' into kb_migration 2023-04-06 16:57:01 +09:00
KMY
af20b1d2aa Add searchability support 2023-04-06 04:27:52 +09:00
Eugen Rochko
a9b5598c97
Change user settings to be stored in a more optimal way (#23630)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-03-30 14:44:00 +02:00
Nick Schonning
e2a3ebb271
Autofix Rubocop Style/IfUnlessModifier (#23697) 2023-02-18 12:37:47 +01:00
Carl Schwan
f33e22ae4c
Allow changing hide_collections setting with the api (#22790)
* Allow changing hide_collections setting with the api

This is currently only possible with app/controllers/settings/profiles_controller.rb
and is the only difference in the allowed parameter between the two controllers

* Fix the lint issue

* Use normal indent
2023-01-13 16:40:21 +01:00
trwnh
89e1974f30
Make account endorsements idempotent (fix #19045) (#20118)
* Make account endorsements idempotent (fix #19045)

* Accept suggestion to use exists? instead of find_by + nil check

Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>

* fix logic (unless, not if)

* switch to using `find_or_create_by!`

Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
2022-11-08 16:39:15 +01:00
Eugen Rochko
c99c106ef0
Change following and followers API to be accessible without being logged in (#18964) 2022-08-28 03:45:07 +02:00