summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/api/SignupApiService.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* split url into webUrl and localUrl (like mastodon)stableFreya Murphy13 hours1-1/+1
|
* more use of identifiable errors, improvements to inner error rendering, and ↵Hazelnoot2025-06-061-8/+8
| | | | more heuristics for is-retryable-error
* lint and type fixesHazelnoot2025-04-011-2/+0
|
* fix import order in SignupApiService.tsHazelnoot2025-02-041-2/+1
|
* Merge tag '2024.10.1' into feature/2024.10dakkar2024-11-081-0/+7
|\
| * wip (#14745)syuilo2024-10-111-0/+7
| |
* | upd: add FriendlyCaptcha as a captcha solutionMarie2024-11-021-0/+7
| | | | | | | | FriendlyCaptcha is a german captcha solution which is GDPR compliant and has a non-commerical free license
* | always use `this.meta` in SignupApiServicedakkar2024-10-091-5/+3
| |
* | Merge remote-tracking branch 'misskey/master' into feature/2024.9.0dakkar2024-10-091-18/+17
|\|
| * refactor/perf(backend): provide metadata statically (#14601)syuilo2024-09-221-18/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * Update ReactionService.ts * Update ApiCallService.ts * Update timeline.ts * Update GlobalModule.ts * Update GlobalModule.ts * Update NoteEntityService.ts * wip * wip * wip * Update ApPersonService.ts * wip * Update GlobalModule.ts * Update mock-resolver.ts * Update RoleService.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * clean up * Update utils.ts * Update UtilityService.ts * Revert "Update utils.ts" This reverts commit a27d4be764b78c1b5a9eac685e261fee49331d89. * Revert "Update UtilityService.ts" This reverts commit e5fd9e004c482cf099252201c0c1aa888e001430. * vuwa- * Revert "vuwa-" This reverts commit 0c3bd12472b4b9938cdff2d6f131e6800bc3724c. * Update entry.ts * Update entry.ts * Update entry.ts * Update entry.ts * Update jest.setup.ts
* | Merge remote-tracking branch 'misskey/master' into feature/misskey-2024.07dakkar2024-08-021-2/+2
|\|
| * fix(backend): use insertOne insteadof insert/findOneOrFail combination (#13908)Acid Chicken2024-06-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix(backend): use insertOne insteadof insert/findOneOrFail combination * fix: typo * fix(backend): inherit mainAlias? * refactor(backend): use extend * fix(backend): invalid entityTarget * fix(backend): fake where * chore: debug * chore: debug * test: log * fix(backend): column names * fix(backend): remove dummy from * revert: log * fix(backend): position * fix(backend): automatic aliasing * chore(backend): alias * chore(backend): remove from * fix(backend): type * fix(backend): avoid pure name * test(backend): fix type * chore(backend): use cte * fix(backend): avoid useless alias * fix(backend): fix typo * fix(backend): __disambiguation__ * fix(backend): quote * chore(backend): t * chore(backend): accessible * chore(backend): concrete returning * fix(backend): quote * chore: log more * chore: log metadata * chore(backend): use raw * fix(backend): returning column name * fix(backend): transform * build(backend): wanna logging * build(backend): transform empty * build(backend): build alias * build(backend): restore name * chore: return entity * fix: test case * test(backend): 204 * chore(backend): log sql * chore(backend): assert user joined * fix(backend): typo * chore(backend): log long sql * chore(backend): log join * chore(backend): log join depth null * chore(backend): joinAttributes * chore(backend): override createJoinExpression * chore: join log * fix(backend): escape * test(backend): log log * chore(backend): join gonna success? * chore(backend): relations * chore(backend): undefined * chore(backend): target * chore(backend): remove log * chore(backend): log chart update * chore(backend): log columns * chore(backend): check hasMetadata * chore(backend): unshift id when not included * chore(backend): missing select * chore(backend): remove debug code
* | merge: upstreamMarie2024-02-191-1/+1
|\|
| * (re) update SPDX-FileCopyrightTexttamaina2024-02-131-1/+1
| | | | | | | | Fix #13290
| * Revert "update SPDX-FileCopyrightText"tamaina2024-02-131-1/+1
| | | | | | | | This reverts commit 9b5aeb76d8c9372d67058c512597152b6bf222f2.
| * update SPDX-FileCopyrightTextsyuilo2024-02-121-1/+1
| |
* | merge: latest changesMarie2024-02-091-2/+2
|\|
| * refactor(backend): exist -> exists (#13203)かっこかり2024-02-081-2/+2
| | | | | | | | | | * refactor(backend): exist -> exists * fix
* | merge: upstreamMarie2024-02-031-1/+1
|\|
| * refactor(backend): User関連のスキーマ/型の指定を強くする ↵zyoshoka2024-01-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#12808) * refactor(backend): User関連のスキーマ/型の指定を強くする * refactor(backend): `pack()`の引数にスキーマを指定するように * chore: fix ci * fix: 変更漏れ * fix ci --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* | merge: upstreamMarie2024-01-091-0/+7
|\|
| * feat: Add support for mCaptcha (#12905)Chocolate Pie2024-01-061-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | * feat: Add support for mCaptcha * fix: Fix docker compose configuration * chore(frontend/docs): update changelog & fix eslint errors * `@mcaptcha/vanilla-glue`をダイナミックインポートするように * chore: Add missing prefix to CHANGELOG * refactor(backend): 適当につけた変数の名前を変更
* | merge: upstreamMarie2023-12-231-1/+1
|\|
| * fix(backend): 招待コードが使い回せる問題を修正 (#12423)かっこかり2023-11-231-1/+1
| | | | | | | | | | * (fix) 招待コードを一度のみ利用できるように * Update Changelog
* | merge: upstreamMar0xy2023-11-031-1/+18
|\|
| * enhance: ↵yukineko2023-11-031-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | アカウント登録時のメールアドレス認証に30分の有効期限を設定 (#12221) * add: metaにemailVerificationExpiresInを追加 * enhance: 招待コード使用時, メアド認証時に認証期限を確認するように * add: クライアント側に実装 * update: CHANGELOG.md * add: コメントを追加 * Revert "add: metaにemailVerificationExpiresInを追加" This reverts commit ceb6ccff51a406bfd87b4da6c59401ce5551dd95. * Revert "add: コメントを追加" This reverts commit 7ee301c3eed4ded295490a6614650a3720317772. * change(client): メール認証の有効期限を30分で固定するように変更 * change(backend): メール認証の有効期限を30分で固定するように変更 * update: CHANGELOG.md
* | upd: send email on new pending approvalMar0xy2023-10-211-0/+27
| |
* | fix: invite code not being marked as usedMar0xy2023-10-191-1/+9
| | | | | | | | Fixes an issue where if approval and invite were enabled the code would stay as unused
* | upd: handle email signups properly with approval enabledMar0xy2023-10-181-3/+7
| |
* | add: Require Approval for SignupMar0xy2023-10-181-0/+32
| |
* | merge: upstream performance changes & instance silencingMar0xy2023-10-161-2/+1
|\|
| * perf(backend): createdAtをidから取得するように & ↵syuilo2023-10-161-2/+1
| | | | | | | | 無駄なDateインスタンスの生成を避けるように
* | upd: swap bcrypt to argon2, add misskey-js to dev, auto load repliesMar0xy2023-09-221-3/+4
|/
* refactor(backend): update directory structure for modelssyuilo2023-09-201-1/+1
|
* update deps (#11820)syuilo2023-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update deps * fix * wip * wip * wip * Update docker-compose.yml.example * Delete reviewer-lottery.yml * Update RepositoryModule.ts * wip * wip * clean up * update deps * wip * wip
* refactor: prefix Mi for all entities (#11719)syuilo2023-08-161-4/+4
| | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * Update RepositoryModule.ts * wip * wip * wip * Revert "wip" This reverts commit c1c13b37d2aaf3c65bc148212da302b0eb7868bf.
* chore: ↵Shun Sakai2023-07-271-0/+5
| | | | | | | | | | | | | | 著作権とライセンスについての情報を各ファイルに追加する (#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>
* Fix auto-fixable issues (#11314)woxtu2023-07-191-1/+1
|
* enhance: 招待機能の改善 (#11195)yukineko2023-07-151-5/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refactor(backend): 招待機能を改修 * feat(backend): 招待コードのcreate/delete/listエンドポイントを追加 * add(misskey-js): エンドポイントと型を追加 * change(backend): metaでinvite関連の情報も返すように * add(misskey-js): エンドポイントと型を追加 * add(backend): `/endpoints/invite/limit`を追加 * fix: createdByがnullableではなかったのを修正 * fix: relationが取得できていなかった問題を修正 * fix: パラメータを間違えていたのを修正 * feat(client): 招待ページを実装 * change(client): インスタンスメニューの「招待」押した場合に招待ページに飛ぶように変更 * feat: 招待コードをコピーできるように * change(backend): metaに招待コード発行に関する情報を持たせるのをやめる * feat: ロールごとに招待コードの発行上限数などを設定できるように * change(client): 招待コードをコピーしたときにダイアログを出すように * add: 招待に関する管理者用のエンドポイントを追加 * change(backend): モデレーターであれば作成者以外でも招待コードを削除できるように * change(backend): admin/invite/listはオフセットでページネーションするように * feat(client): 招待コードの管理ページを追加 * feat(client): 招待コードのリストをソートできるように * change: `admin/invite/create`のレスポンスを修正 * fix(client): 有効期限を指定できていなかった問題を修正 * refactor: 必要のない箇所を削除 * perf(backend): use limit() instead of take() * change(client): 作成ボタンを見た目を変更 * refactor: 招待コードの生成部分を共通化し、コード内に"01OI"のいずれかの文字を含まないように * fix(client): paginationの仕様が変わっていたので修正 * change(backend): expiresAtパラメータのnullを許容 * change(client): 有効期限を設けないときは日付の入力欄を非表示に * fix: 自身のポリシーよりもインスタンス側のポリシーが優先表示される問題を修正 * fix: n時間のときに「n時間間」となってしまうのを修正 * fix(backend): ポリシーが途中で変更されたときに作成可能数がマイナス表記になってしまうのを修正 * change(client): 招待コードのユーザー名が不明な理由を表示するように * update: CHANGELOG.md * lint * refactor * refactor * tweak ui * :art: * :art: * add(backend): indexを追加 * change(backend): indexの追加に伴う変更 * change(client): インスタンスメニューの「招待」の場所を変更 * add(frontend): MkInviteCode用のstorybookを追加 * Update misskey-js.api.md * fix(misskey-js): InviteのcreatedByの型が間違っていたのを修正 --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* refactor(backend): 存在確認の`findOneBy`を`exist`に置き換え (#11224)okayurisotto2023-07-111-2/+2
| | | | | * refactor(backend): 存在確認の`findOneBy`を`exist`に置き換え * cleanup
* refactor(backend): replace rndstr with secureRndstr (#11044)Kagami Sascha Rosylight2023-06-251-14/+14
| | | | | | | * refactor(backend): replace rndstr with secureRndstr * Update pnpm-lock.yaml * .js
* refactortamaina2023-05-021-1/+0
|
* 初期ユーザー登録時にはpreservedUsernamesを無視するtamaina2023-05-021-1/+2
| | | | Fix #10738
* feat: preserved usernamessyuilo2023-04-291-1/+6
| | | | Resolve #10704
* fix: 登録メール送信時に重複確認を行う (#10231)RyotaK2023-03-091-6/+19
| | | | | | | * fix: 登録メール送信時に重複確認を行う * try-catchを使う必要はない * Remove spaces
* refactorsyuilo2023-02-131-2/+2
|
* refactor: fix typessyuilo2023-02-091-0/+1
|
* refactor: fix typessyuilo2023-02-091-2/+2
|
* fix(server): signup-complete Brokensyuilo2023-01-131-2/+2
| | | | Fix #9538
* chore: fix reporisotry namesyuilo2022-12-251-2/+2
|