Hazelnoot
30ba6395b2
fix merge in account.ts
2025-02-03 19:41:54 -05:00
Hazelnoot
a4e86758c1
merge upstream 2025-02-03
2025-02-03 14:36:09 -05:00
Sung Jae Lee
ba9f295ef2
Merge commit from fork
...
* fix(account): clear token cookie when signout called
* fix: cookie not cleared correctly when logout
Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com>
* feat: clear only token cookie when signout
---------
Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com>
2025-02-01 13:35:42 +09:00
nexryai
77e421029c
Merge commit from fork
...
* fix(frontend): Improve cookie attributes
* fix(frontend): Delete an old authentication cookie in fetchAccount
2025-02-01 13:33:37 +09:00
dakkar
e2352839e4
merge: upstream changes for 2024.11 ( !742 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/742
Closes #645 and #646
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2024-12-15 17:27:12 +00:00
dakkar
0c1dd73341
on 429, retry fetchAccount
instead of failing
...
when switching between accounts, with many tabs open (10 seem to be
enough), they all hit the endpoint at the same time, and some get rate
limited.
treating a 429 as a fatal error confuses the frontend, which ends up
logging the user out of all their accounts.
this code makes the frontend retry, after waiting the appropriate
amount of time.
seems to work fine in my testing.
2024-12-13 16:18:10 +00:00
dakkar
bc816cb166
Merge tag '2024.11.0' into feature/2024.10
2024-11-22 12:29:04 +00:00
dakkar
f079edaf3c
Merge tag '2024.10.1' into feature/2024.10
2024-11-08 15:52:37 +00:00
かっこかり
076cc953e2
enhance(frontend): 外部アプリ認証画面の改良 ( #14828 )
...
* enhance(frontend): 外部アプリ認証画面の改良
* 🎨
* lint
* Update Changelog
* indent
* lint
* enhance: miauthのリダイレクト先をUI内でも表示するように
* 🎨
* fix
* fix
2024-10-25 14:20:33 +09:00
syuilo
70b2a8f72e
fix(frontend): /iのレスポンスに含まれないプロパティが消えずに残り続ける問題を修正
2024-10-21 19:59:20 +09:00
かっこかり
a624546812
fix(frontend): ユーザー登録完了時にサインインAPIを別途使用していたのを修正 ( #14738 )
...
* fix(frontend): ユーザー登録完了時にサインインAPIを別途使用していたのを修正
* emitされるオブジェクトの型を変更したことに伴う修正
* Update Changelog
2024-10-10 14:05:20 +09:00
dakkar
f00576bce6
Merge remote-tracking branch 'misskey/master' into feature/2024.9.0
2024-10-09 15:17:22 +01:00
かっこかり
0c6d1ec524
refactor(frontend): popupMenuの項目作成時に三項演算子をなるべく使わないように ( #14554 )
...
* refactor(frontend): popupMenuの項目作成時に三項演算子をなるべく使わないように
* type import
* fix
* lint
2024-09-23 21:50:30 +09:00
かっこかり
837a8e15d8
refactor(frontend): frontend-embed/src/to-be-sharedを共通化 ( #14536 )
...
* refactor(frontend): shouldCollapsedを共通化
* refactor(frontend): config.js, worker-multi-dispatch.js, intl-const.jsを共通化
* fix(frontend-shared): fix type error
* refactor(frontend): is-link.jsと、同一の振る舞いをする記述を共通化
* fix
* fix lint
* lint fixes
2024-09-10 18:39:53 +09:00
dakkar
cfa9b852df
Merge remote-tracking branch 'misskey/master' into feature/misskey-2024.07
2024-08-02 12:25:58 +01:00
syuilo
6dd2e9fc0b
refactor(frontend): refactor popup api and make sure call dispose callback
...
Close #14122
2024-07-04 13:14:49 +09:00
dakkar
527bbd036c
replaced ti-users
2024-06-22 15:53:13 +01:00
dakkar
6f5099f699
replaced ti-plus
2024-06-22 15:53:12 +01:00
woxtu
b683d79f8b
Fix type checking ( #14047 )
2024-06-20 16:24:10 +09:00
dakkar
6826e43ad7
make cookie a bit more secure - fixes #445
...
We can't make the cookie `HttpOnly` because we're setting it from
Javascript, but I'm not sure it's worth the trouble to redesign that:
`JSON.parse(localStorage.account).token` gives you the token anyway,
hiding the cookie from JS won't offer much protection.
At least we can mark is `Secure` (meaning, only send it over HTTPS)
and _delete it on logout_ (it wasn't!)
2024-03-10 10:26:04 +00:00
dakkar
af548d05ca
merge upstream for 2024.2.1
2024-03-02 16:36:49 +00:00
zyoshoka
29350c9f33
refactor(frontend): os.ts
周りのリファクタリング ( #13186 )
...
* refactor(frontend): `os.ts`周りのリファクタリング
* refactor: apiWithDialogのdataの型付け
* refactor: 不要なas anyを除去
* refactor: 返り値の型を明記、`selectDriveFolder`は`File`のほうに合わせるよう返り値を変更
* refactor: 返り値の型を改善
* refactor: フォームの型を改善
* refactor: 良い感じのimportに修正
* refactor: フォームの返り値の型を改善
* refactor: `popup()`の`props`に`ref`な値を入れるのを許可するように
* fix: `os.input`系と`os.select`の返り値の型がおかしい問題とそれによるバグを修正
* Update CHANGELOG.md
* Update CHANGELOG.md
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-02-28 18:26:38 +09:00
Marie
10bfc61670
merge: upstream
2024-02-19 10:47:42 +01:00
tamaina
c1514ce91d
(re) update SPDX-FileCopyrightText
...
Fix #13290
2024-02-13 15:59:27 +00:00
tamaina
311c2172d7
Revert "update SPDX-FileCopyrightText"
...
This reverts commit 9b5aeb76d8
.
2024-02-13 15:50:11 +00:00
syuilo
9b5aeb76d8
update SPDX-FileCopyrightText
2024-02-12 11:37:45 +09:00
Marie
7552cea69a
merge: upstream
2024-01-09 02:57:57 +01:00
おさむのひと
fa9c4a19b9
refactor(frontend): os.tsに引き込んだscripts/api.tsの再exportをやめる ( #12694 )
...
* refactor(frontend): os.tsに引き込んだscripts/api.tsの再exportをやめる
* fix
* fix
* renate to "misskeyApi"
* rename file
2024-01-04 18:32:46 +09:00
syuilo
ea41cc6ec0
refactor(frontend): reduce type errors
2024-01-04 15:30:40 +09:00
syuilo
02978d0247
lint
2024-01-04 15:20:23 +09:00
Marie
5db583a3eb
merge: upstream
2023-12-23 02:09:23 +01:00
おさむのひと
5cee481083
refactor(frontend) $i の型情報にtokenを追加 ( #12649 )
2023-12-14 12:26:02 +09:00
syuilo
5472f4b934
enhance: アイコンデコレーションを複数設定できるように
2023-12-13 16:56:19 +09:00
Insert5StarName
b2ae28e2e2
fix: how tf did this happen
2023-10-01 00:53:01 +02:00
Insert5StarName
7b179d3a92
work in progress icons
2023-09-30 21:53:52 +02:00
Mar0xy
0b0947f7bf
upd: Add logout button
2023-09-22 01:12:29 +02:00
syuilo
b0f6c44f36
refactor(frontend): use ESM
2023-09-19 16:37:43 +09:00
syuilo
1f7a81aae7
update deps ( #11764 )
...
* update deps
* node16
* wip
* wip
* wip
* Update test-utils.ts
* wip
* Update tsconfig.json
* wip
* Update package.json
* wip
* Update following.vue
* Update followers.vue
* Update index.vue
* Update share.vue
* Update MkUserPopup.vue
* Update MkPostForm.vue
* wip
* Update MkTokenGenerateWindow.vue
* Update MkPagination.vue
* refactor
* update deps
* update deps
* Update sw.ts
* wip
* wip
* wip
* Update FetchInstanceMetadataService.ts
* Update FetchInstanceMetadataService.ts
* update node
* update deps
* 🎨
2023-09-04 13:33:38 +09:00
syuilo
9487856495
feat: refine announcement ( #11497 )
...
* wip
* Update read-announcement.ts
* wip
* wip
* wip
* Update index.d.ts
* wip
* Create 1691649257651-refine-announcement.js
* wip
* wip
* wip
* wip
* wip
* wip
* Update announcements.vue
* wip
* wip
* Update announcements.vue
* wip
* Update announcements.vue
* wip
* Update misskey-js.api.md
* Update users.ts
* Create MkAnnouncementDialog.stories.impl.ts
* wip
* wip
* Create AnnouncementService.ts
2023-08-13 20:12:29 +09:00
syuilo
2b4c8c9e0f
update deps ( #11409 )
...
* update deps
* Update .eslintrc.js
* Update .eslintrc.js
* lint
* lint
* Update update.ts
* update deps
* Update .eslintrc.js
2023-07-31 19:14:20 +09:00
Shun Sakai
c2370a1be6
chore: 著作権とライセンスについての情報を各ファイルに追加する ( #11348 )
...
* chore: Add the SPDX information to each file
Add copyright and licensing information as defined in version 3.0 of
the REUSE Specification.
* tweak format
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-27 14:31:52 +09:00
syuilo
231506772a
tweak of 7ce569424
2023-05-18 20:17:32 +09:00
tamaina
c75afad64a
enhance: アカウント削除時のクライアントの挙動をいい感じにするなど ( #10002 )
...
* refreshAccounts
Resolve #9322
* アカウント管理画面でリストを更新するように
* Update packages/frontend/src/account.ts
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* ✌️
* クライアント起動時は現在ログインしているアカウントのみリフレッシュする
* clean up
* なんかめっちゃ変えた
* refactor
* refactor
* fix lint
---------
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-03-09 14:27:16 +09:00
syuilo
71dd7f89e9
clean up
2023-02-09 10:47:03 +09:00
syuilo
65cd605b73
Achievements ( #9665 )
...
* wip
* Update ja-JP.yml
* wip
* wip
* Update MkAchievements.vue
* wip
* 🎨
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
2023-01-21 13:14:55 +09:00
syuilo
91503405b4
refactor(client): typed localStorage
2023-01-07 10:13:02 +09:00
syuilo
9384f5399d
rename: client -> frontend
2022-12-27 14:36:33 +09:00