FoundKey/packages/backend/migration
Johann150 79e3c20189 server: allow to grant tokens with more restricted privileges
This also simplifies API authentication a bit by not having to fetch
the App that is related to a token.

The restriction of 1 token per app is also lifted. This was not a
constraint in the database but it was enforced by the code and
kinda wrong schema the auth_session table had.
2022-12-03 10:38:32 +00:00
..
1000000000000-Init.js fix migrations 2022-03-01 00:07:03 +09:00
1556348509290-Pages.js fix migrations 2022-03-01 00:07:03 +09:00
1556746559567-UserProfile.js fix migrations 2022-03-01 00:07:03 +09:00
1557476068003-PinnedUsers.js fix migrations 2022-03-01 00:07:03 +09:00
1557761316509-AddSomeUrls.js fix migrations 2022-03-01 00:07:03 +09:00
1557932705754-ObjectStorageSetting.js fix migrations 2022-03-01 00:07:03 +09:00
1558072954435-PageLike.js fix migrations 2022-03-01 00:07:03 +09:00
1558103093633-UserGroup.js fix migrations 2022-03-01 00:07:03 +09:00
1558257926829-UserGroupInvite.js fix migrations 2022-03-01 00:07:03 +09:00
1558266512381-UserListJoining.js fix migrations 2022-03-01 00:07:03 +09:00
1561706992953-webauthn.js fix migrations 2022-03-01 00:07:03 +09:00
1561873850023-ChartIndexes.js fix migrations 2022-03-01 00:07:03 +09:00
1562422242907-PasswordLessLogin.js fix migrations 2022-03-01 00:07:03 +09:00
1562444565093-PinnedPage.js fix migrations 2022-03-01 00:07:03 +09:00
1562448332510-PageTitleHideOption.js fix migrations 2022-03-01 00:07:03 +09:00
1562869971568-ModerationLog.js fix migrations 2022-03-01 00:07:03 +09:00
1563757595828-UsedUsername.js fix migrations 2022-03-01 00:07:03 +09:00
1565634203341-room.js fix migrations 2022-03-01 00:07:03 +09:00
1571220798684-CustomEmojiCategory.js fix migrations 2022-03-01 00:07:03 +09:00
1572760203493-nodeinfo.js fix migrations 2022-03-01 00:07:03 +09:00
1576269851876-TalkFederationId.js fix migrations 2022-03-01 00:07:03 +09:00
1576869585998-ProxyRemoteFiles.js fix migrations 2022-03-01 00:07:03 +09:00
1579267006611-v12.js fix migrations 2022-03-01 00:07:03 +09:00
1579270193251-v12-2.js fix migrations 2022-03-01 00:07:03 +09:00
1579282808087-v12-3.js fix migrations 2022-03-01 00:07:03 +09:00
1579544426412-v12-4.js fix migrations 2022-03-01 00:07:03 +09:00
1579977526288-v12-5.js fix migrations 2022-03-01 00:07:03 +09:00
1579993013959-v12-6.js fix migrations 2022-03-01 00:07:03 +09:00
1580069531114-v12-7.js fix migrations 2022-03-01 00:07:03 +09:00
1580148575182-v12-8.js fix migrations 2022-03-01 00:07:03 +09:00
1580154400017-v12-9.js fix migrations 2022-03-01 00:07:03 +09:00
1580276619901-v12-10.js fix migrations 2022-03-01 00:07:03 +09:00
1580331224276-v12-11.js fix migrations 2022-03-01 00:07:03 +09:00
1580508795118-v12-12.js fix migrations 2022-03-01 00:07:03 +09:00
1580543501339-v12-13.js fix migrations 2022-03-01 00:07:03 +09:00
1580864313253-v12-14.js fix migrations 2022-03-01 00:07:03 +09:00
1581526429287-user-group-invitation.js fix migrations 2022-03-01 00:07:03 +09:00
1581695816408-user-group-antenna.js fix migrations 2022-03-01 00:07:03 +09:00
1581708415836-drive-user-folder-id-index.js fix migrations 2022-03-01 00:07:03 +09:00
1581979837262-promo.js fix migrations 2022-03-01 00:07:03 +09:00
1582019042083-featured-injecttion.js fix migrations 2022-03-01 00:07:03 +09:00
1582210532752-antenna-exclude.js fix migrations 2022-03-01 00:07:03 +09:00
1582875306439-note-reaction-length.js fix migrations 2022-03-01 00:07:03 +09:00
1585361548360-miauth.js fix migrations 2022-03-01 00:07:03 +09:00
1585385921215-custom-notification.js fix migrations 2022-03-01 00:07:03 +09:00
1585772678853-ap-url.js fix migrations 2022-03-01 00:07:03 +09:00
1586624197029-AddObjectStorageUseProxy.js fix migrations 2022-03-01 00:07:03 +09:00
1586641139527-remote-reaction.js fix migrations 2022-03-01 00:07:03 +09:00
1586708940386-pageAiScript.js fix migrations 2022-03-01 00:07:03 +09:00
1588044505511-hCaptcha.js fix migrations 2022-03-01 00:07:03 +09:00
1589023282116-pubRelay.js fix migrations 2022-03-01 00:07:03 +09:00
1595075960584-blurhash.js fix migrations 2022-03-01 00:07:03 +09:00
1595077605646-blurhash-for-avatar-banner.js fix migrations 2022-03-01 00:07:03 +09:00
1595676934834-instance-icon-url.js fix migrations 2022-03-01 00:07:03 +09:00
1595771249699-word-mute.js fix migrations 2022-03-01 00:07:03 +09:00
1595782306083-word-mute2.js fix migrations 2022-03-01 00:07:03 +09:00
1596548170836-channel.js fix migrations 2022-03-01 00:07:03 +09:00
1596786425167-channel2.js fix migrations 2022-03-01 00:07:03 +09:00
1597230137744-objectStorageSetPublicRead.js fix migrations 2022-03-01 00:07:03 +09:00
1597236229720-IncludingNotificationTypes.js fix migrations 2022-03-01 00:07:03 +09:00
1597385880794-add-sensitive-index.js fix migrations 2022-03-01 00:07:03 +09:00
1597459042300-channel-unread.js fix migrations 2022-03-01 00:07:03 +09:00
1597893996136-ChannelNoteIdDescIndex.js fix migrations 2022-03-01 00:07:03 +09:00
1600353287890-mutingNotificationTypes.js fix migrations 2022-03-01 00:07:03 +09:00
1603094348345-refine-abuse-user-report.js fix migrations 2022-03-01 00:07:03 +09:00
1603095701770-refine-abuse-user-report2.js fix migrations 2022-03-01 00:07:03 +09:00
1603776877564-instance-theme-color.js fix migrations 2022-03-01 00:07:03 +09:00
1603781553011-instance-favicon.js fix migrations 2022-03-01 00:07:03 +09:00
1604821689616-delete-auto-watch.js fix migrations 2022-03-01 00:07:03 +09:00
1605408848373-clip-description.js fix migrations 2022-03-01 00:07:03 +09:00
1605408971051-comments.js fix migrations 2022-03-01 00:07:03 +09:00
1605585339718-instance-pinned-pages.js fix migrations 2022-03-01 00:07:03 +09:00
1605965516823-instance-images.js fix migrations 2022-03-01 00:07:03 +09:00
1606191203881-no-crawle.js fix migrations 2022-03-01 00:07:03 +09:00
1607151207216-instance-pinned-clip.js fix migrations 2022-03-01 00:07:03 +09:00
1607353487793-isExplorable.js fix migrations 2022-03-01 00:07:03 +09:00
1610277136869-registry.js fix migrations 2022-03-01 00:07:03 +09:00
1610277585759-registry2.js fix migrations 2022-03-01 00:07:03 +09:00
1610283021566-registry3.js fix migrations 2022-03-01 00:07:03 +09:00
1611354329133-followersUri.js fix migrations 2022-03-01 00:07:03 +09:00
1611397665007-gallery.js fix migrations 2022-03-01 00:07:03 +09:00
1611547387175-objectStorageS3ForcePathStyle.js fix migrations 2022-03-01 00:07:03 +09:00
1612619156584-announcement-email.js fix migrations 2022-03-01 00:07:03 +09:00
1613155914446-emailNotificationTypes.js fix migrations 2022-03-01 00:07:03 +09:00
1613181457597-user-lang.js fix migrations 2022-03-01 00:07:03 +09:00
1613503367223-use-bigint-for-driveUsage.js fix migrations 2022-03-01 00:07:03 +09:00
1615965918224-chart-v2.js fix migrations 2022-03-01 00:07:03 +09:00
1615966519402-chart-v2-2.js fix migrations 2022-03-01 00:07:03 +09:00
1618637372000-user-last-active-date.js fix migrations 2022-03-01 00:07:03 +09:00
1618639857000-user-hide-online-status.js fix migrations 2022-03-01 00:07:03 +09:00
1619942102890-password-reset.js fix migrations 2022-03-01 00:07:03 +09:00
1620019354680-ad.js fix migrations 2022-03-01 00:07:03 +09:00
1620364649428-ad2.js fix migrations 2022-03-01 00:07:03 +09:00
1621479946000-add-note-indexes.js fix migrations 2022-03-01 00:07:03 +09:00
1622679304522-user-profile-description-length.js fix migrations 2022-03-01 00:07:03 +09:00
1622681548499-log-message-length.js fix migrations 2022-03-01 00:07:03 +09:00
1626509500668-fix-remote-file-proxy.js fix migrations 2022-03-01 00:07:03 +09:00
1629004542760-chart-reindex.js fix migrations 2022-03-01 00:07:03 +09:00
1629024377804-deepl-integration.js fix migrations 2022-03-01 00:07:03 +09:00
1629288472000-fix-channel-userId.js fix migrations 2022-03-01 00:07:03 +09:00
1629512953000-user-is-deleted.js fix migrations 2022-03-01 00:07:03 +09:00
1629778475000-deepl-integration2.js fix migrations 2022-03-01 00:07:03 +09:00
1629833361000-AddShowTLReplies.js fix migrations 2022-03-01 00:07:03 +09:00
1629968054000_userInstanceBlocks.js fix migrations 2022-03-01 00:07:03 +09:00
1631880003000-user-block-federation.js backend: implement not forwarding block activities (#212) 2022-11-17 21:24:38 +00:00
1633068642000-email-required-for-signup.js fix migrations 2022-03-01 00:07:03 +09:00
1633071909016-user-pending.js fix migrations 2022-03-01 00:07:03 +09:00
1634486652000-user-public-reactions.js fix migrations 2022-03-01 00:07:03 +09:00
1634902659689-delete-log.js fix migrations 2022-03-01 00:07:03 +09:00
1635500777168-note-thread-mute.js fix migrations 2022-03-01 00:07:03 +09:00
1636197624383-ff-visibility.js fix migrations 2022-03-01 00:07:03 +09:00
1636697408073-remove-via-mobile.js fix migrations 2022-03-01 00:07:03 +09:00
1637320813000-forwarded-report.js fix migrations 2022-03-01 00:07:03 +09:00
1639325650583-chart-v3.js fix migrations 2022-03-01 00:07:03 +09:00
1642611822809-emoji-url.js fix migrations 2022-03-01 00:07:03 +09:00
1642613870898-drive-file-webpublic-type.js fix migrations 2022-03-01 00:07:03 +09:00
1642698156335-reported-urls.js keep URL of reported object separate 2022-07-19 17:18:18 +02:00
1643963705770-chart-v4.js fix migrations 2022-03-01 00:07:03 +09:00
1643966656277-chart-v5.js fix migrations 2022-03-01 00:07:03 +09:00
1643967331284-chart-v6.js fix migrations 2022-03-01 00:07:03 +09:00
1644010796173-convert-hard-mutes.js fix migrations 2022-03-01 00:07:03 +09:00
1644058404077-chart-v7.js fix migrations 2022-03-01 00:07:03 +09:00
1644059847460-chart-v8.js fix migrations 2022-03-01 00:07:03 +09:00
1644060125705-chart-v9.js fix migrations 2022-03-01 00:07:03 +09:00
1644073149413-chart-v10.js fix migrations 2022-03-01 00:07:03 +09:00
1644095659741-chart-v11.js fix migrations 2022-03-01 00:07:03 +09:00
1644328606241-chart-v12.js fix migrations 2022-03-01 00:07:03 +09:00
1644331238153-chart-v13.js fix migrations 2022-03-01 00:07:03 +09:00
1644344266289-chart-v14.js fix migrations 2022-03-01 00:07:03 +09:00
1644395759931-instance-theme-color.js fix migrations 2022-03-01 00:07:03 +09:00
1644481657998-chart-v15.js fix migrations 2022-03-01 00:07:03 +09:00
1644551208096-following-indexes.js fix migrations 2022-03-01 00:07:03 +09:00
1645340161439-remove-max-note-text-length.js fix migrations 2022-03-01 00:07:03 +09:00
1645599900873-federation-chart-pubsub.js fix migrations 2022-03-01 00:07:03 +09:00
1646143552768-instance-default-theme.js feat: instance default theme 2022-03-01 23:58:01 +09:00
1646387162108-mute-expires-at.js feat: 時限ミュート 2022-03-04 20:23:53 +09:00
1646549089451-poll-ended-notification.js feat: アンケート終了通知 2022-03-06 16:06:27 +09:00
1646633030285-chart-federation-active.js feat: add active to federation chart 2022-03-07 15:10:16 +09:00
1646655454495-remove-instance-drive-columns.js delete needless instance drive columns 2022-03-07 21:20:14 +09:00
1646732390560-chart-federation-active-sub-pub.js fix federation chart 2022-03-08 22:56:46 +09:00
1648548247382-webhook.js feat: Webhook (#8457) 2022-04-02 15:28:49 +09:00
1648816172177-webhook-2.js feat: Webhook (#8457) 2022-04-02 15:28:49 +09:00
1651224615271-foreign-key.js chore: synchronize code and database schema (#8577) 2022-05-05 22:45:22 +09:00
1652859567549-uniform-themecolor.js hotfix: uniform color migration fix 2022-05-19 15:42:55 +02:00
1654124623992-remove-unused-image-urls.js chore: remove unused columns 2022-07-11 12:49:39 +02:00
1655793461890-thread-mute-notifications.js add column: muted types in thread 2022-09-21 15:52:14 +02:00
1657570176749-remove-ads.js backend: make removeAds migration plain JS 2022-11-10 12:56:39 -05:00
1658146000392-remove-repo-url.js refactor: remove repositoryUrl & feedbackUrl from meta 2022-07-18 14:39:27 +02:00
1658656633972-note-replies-function.js enable to fetch replies recursively 2022-07-25 16:41:46 +02:00
1659335999000-pages-to-plaintext.js fix: await promises in migration 2022-08-18 18:26:17 +02:00
1659516638000-drive-file-user-constraint.js remove admin/drive/cleanup API 2022-08-03 11:00:48 +02:00
1660251834642-remove-promo-entities.js Remove promo entities and endpoints 2022-08-11 23:13:09 +02:00
1661376843000-remove-mentioned-remote-users-column.js refactor: remove note.mentionedRemoteUsers column 2022-09-07 14:43:04 +02:00
1662489803045-remove-rooms.js backend: remove room data from user 2022-09-07 08:30:28 +00:00
1662943835603-larger-follow-request-ids.js backend: increase requestId max size for GNU Social 2022-09-12 11:38:55 -04:00
1662999442223-update-pinned-pages.js chore: Change Misskey references to Foundkey 2022-09-13 13:19:36 -04:00
1663399074403-resize-comments-drive-file.js increase image description limit to 2048 characters 2022-09-24 14:32:07 -04:00
1665091090561-add-renote-muting.js add down-migration for renote mutes 2022-10-11 10:42:39 +00:00
1667503570994-sync.js chore: synchronize code and database schema 2022-11-03 21:50:55 +01:00
1667653936442-token-permissions.js server: allow to grant tokens with more restricted privileges 2022-12-03 10:38:32 +00:00
1668374092227-forceEnablePush.js server: always enable push notifications 2022-11-21 22:00:53 +01:00
1668661888188-add-libretranslate.js backend: Add LibreTranslate support 2022-11-19 23:00:33 -05:00
1669545702493-detectDeeplPro.js server: remove deeplIsPro setting 2022-11-27 12:12:56 +01:00