1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-10-27 20:32:28 +01:00
Pterodactyl-Panel/database/migrations
Dane Everitt e3df0738da
Change the way API keys are stored and validated; clarify API namespacing
Previously, a single key was used to access the API, this has not changed in terms of what the user sees. However, API keys now use an identifier and token internally. The identifier is the first 16 characters of the key, and the token is the remaining 32. The token is stored encrypted at rest in the database and the identifier is used by the API middleware to grab that record and make a timing attack safe comparison.
2018-01-13 16:06:19 -06:00
..
2016_01_23_195641_add_allocations_table.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_195851_add_api_keys.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_200044_add_api_permissions.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_200159_add_downloads.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_200421_create_failed_jobs_table.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_200440_create_jobs_table.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_200528_add_locations.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_200648_add_nodes.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_201433_add_password_resets.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_201531_add_permissions.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_201649_add_server_variables.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_201748_add_servers.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_202544_add_service_options.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_202731_add_service_varibles.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_202943_add_services.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_203119_create_settings_table.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_203150_add_subusers.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_203159_add_users.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_23_203947_create_sessions_table.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_01_25_234418_rename_permissions_column.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_02_07_172148_add_databases_tables.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_02_07_181319_add_database_servers_table.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_02_13_154306_add_service_option_default_startup.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_02_20_155318_add_unique_service_field.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_02_27_163411_add_tasks_table.php Fix failing migrations 2017-09-24 21:22:14 -05:00
2016_02_27_163447_add_tasks_log_table.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_03_18_155649_add_nullable_field_lastrun.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_08_30_212718_add_ip_alias.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_08_30_213301_modify_ip_storage_method.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_09_01_193520_add_suspension_for_servers.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_09_01_211924_remove_active_column.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_09_02_190647_add_sftp_password_storage.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_09_04_171338_update_jobs_tables.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_09_04_172028_update_failed_jobs_table.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_09_04_182835_create_notifications_table.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_09_07_163017_add_unique_identifier.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_09_14_145945_allow_longer_regex_field.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_09_17_194246_add_docker_image_column.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_09_21_165554_update_servers_column_name.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_09_29_213518_rename_double_insurgency.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_07_152117_build_api_log_table.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_14_164802_update_api_keys.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_181719_update_misnamed_bungee.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_193810_add_foreign_keys_servers.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_201624_add_foreign_allocations.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_202222_add_foreign_api_keys.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_202703_add_foreign_api_permissions.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_202953_add_foreign_database_servers.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_203105_add_foreign_databases.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_203335_add_foreign_nodes.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_203522_add_foreign_permissions.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_203857_add_foreign_server_variables.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_204157_add_foreign_service_options.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_204321_add_foreign_service_variables.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_204454_add_foreign_subusers.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_10_23_204610_add_foreign_tasks.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_11_04_000949_add_ark_service_option_fixed.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_11_11_220649_add_pack_support.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_11_11_231731_set_service_name_unique.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_11_27_142519_add_pack_column.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_12_01_173018_add_configurable_upload_limit.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2016_12_02_185206_correct_service_variables.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_01_03_150436_fix_misnamed_option_tag.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_01_07_154228_create_node_configuration_tokens_table.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_01_12_135449_add_more_user_data.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_02_02_175548_UpdateColumnNames.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_02_03_140948_UpdateNodesTable.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_02_03_155554_RenameColumns.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_02_05_164123_AdjustColumnNames.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_02_05_164516_AdjustColumnNamesForServicePacks.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_02_09_174834_SetupPermissionsPivotTable.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_02_10_171858_UpdateAPIKeyColumnNames.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_03_03_224254_UpdateNodeConfigTokensColumns.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_03_05_212803_DeleteServiceExecutableOption.php This breaks literally the entire panel. 2017-10-06 23:57:53 -05:00
2017_03_10_162934_AddNewServiceOptionsColumns.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_03_10_173607_MigrateToNewServiceSystem.php This breaks literally the entire panel. 2017-10-06 23:57:53 -05:00
2017_03_11_215455_ChangeServiceVariablesValidationRules.php This breaks literally the entire panel. 2017-10-06 23:57:53 -05:00
2017_03_12_150648_MoveFunctionsFromFileToDatabase.php This breaks literally the entire panel. 2017-10-06 23:57:53 -05:00
2017_03_14_175631_RenameServicePacksToSingluarPacks.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_03_14_200326_AddLockedStatusToTable.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_03_16_181109_ReOrganizeDatabaseServersToDatabaseHost.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_03_16_181515_CleanupDatabasesDatabase.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_03_18_204953_AddForeignKeyToPacks.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_03_31_221948_AddServerDescriptionColumn.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_04_02_163232_DropDeletedAtColumnFromServers.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_04_15_125021_UpgradeTaskSystem.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_04_20_171943_AddScriptsToServiceOptions.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_04_21_151432_AddServiceScriptTrackingToServers.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_04_27_145300_AddCopyScriptFromColumn.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_04_27_223629_AddAbilityToDefineConnectionOverSSLWithDaemonBehindProxy.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_05_01_141528_DeleteDownloadTable.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_05_01_141559_DeleteNodeConfigurationTable.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_06_10_152951_add_external_id_to_users.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_06_25_133923_ChangeForeignKeyToBeOnCascadeDelete.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_07_08_152806_ChangeUserPermissionsToDeleteOnUserDeletion.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_07_08_154416_SetAllocationToReferenceNullOnServerDelete.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_07_08_154650_CascadeDeletionWhenAServerOrVariableIsDeleted.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_07_24_194433_DeleteTaskWhenParentServerIsDeleted.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_08_05_115800_CascadeNullValuesForDatabaseHostWhenNodeIsDeleted.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_08_05_144104_AllowNegativeValuesForOverallocation.php Fix DB migrations to allow rollbacks 2017-08-23 12:34:34 -07:00
2017_08_05_174811_SetAllocationUnqiueUsingMultipleFields.php Fix DB migrations to allow rollbacks 2017-08-23 12:34:34 -07:00
2017_08_15_214555_CascadeDeletionWhenAParentServiceIsDeleted.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_08_18_215428_RemovePackWhenParentServiceOptionIsDeleted.php Massive PHPCS linting 2017-08-21 22:10:48 -05:00
2017_09_10_225749_RenameTasksTableForStructureRefactor.php These migrations... work?? 🐋 2017-09-11 01:15:44 -05:00
2017_09_10_225941_CreateSchedulesTable.php Begin refactoring Tasks to be apart of the Scheduler system 2017-09-12 23:45:19 -05:00
2017_09_10_230309_CreateNewTasksTableForSchedules.php These migrations... work?? 🐋 2017-09-11 01:15:44 -05:00
2017_09_11_002938_TransferOldTasksToNewScheduler.php These migrations... work?? 🐋 2017-09-11 01:15:44 -05:00
2017_09_13_211810_UpdateOldPermissionsToPointToNewScheduleSystem.php More schedule changes 2017-09-13 21:46:43 -05:00
2017_09_23_170933_CreateDaemonKeysTable.php Begin implementation of new daemon authentication scheme 2017-09-23 20:45:25 -05:00
2017_09_23_173628_RemoveDaemonSecretFromServersTable.php Final adjustments to Daemon <-> Panel communication change 2017-09-24 21:12:30 -05:00
2017_09_23_185022_RemoveDaemonSecretFromSubusersTable.php First push before 🥚 2017-10-06 21:22:32 -05:00
2017_10_02_202000_ChangeServicesToUseAMoreUniqueIdentifier.php First push before 🥚 2017-10-06 21:22:32 -05:00
2017_10_02_202007_ChangeToABetterUniqueServiceConfiguration.php This breaks literally the entire panel. 2017-10-06 23:57:53 -05:00
2017_10_03_233202_CascadeDeletionWhenServiceOptionIsDeleted.php Delete service variables when the option is deleted. 2017-10-03 23:33:46 -05:00
2017_10_06_214026_ServicesToNestsConversion.php This breaks literally the entire panel. 2017-10-06 23:57:53 -05:00
2017_10_06_214053_ServiceOptionsToEggsConversion.php This breaks literally the entire panel. 2017-10-06 23:57:53 -05:00
2017_10_06_215741_ServiceVariablesToEggVariablesConversion.php This breaks literally the entire panel. 2017-10-06 23:57:53 -05:00
2017_10_24_222238_RemoveLegacySFTPInformation.php Implement Panel changes to support internal SFTP subsystem on Daemon (#703) 2017-10-25 00:35:25 -04:00
2017_11_11_161922_Add2FaLastAuthorizationTimeColumn.php Implement changes to 2FA system (#761) 2017-11-18 13:35:33 -05:00
2017_11_19_122708_MigratePubPrivFormatToSingleKey.php Change how API keys are validated (#771) 2017-12-03 14:29:14 -06:00
2017_12_04_184012_DropAllocationsWhenNodeIsDeleted.php Fix forgotten migration that caused node deletions to not be cascaded to all allocations. 2017-12-04 18:43:19 -06:00
2017_12_12_220426_MigrateSettingsTableToNewFormat.php Implement a better management interface for Settings (#809) 2017-12-14 21:05:26 -06:00
2018_01_01_122821_AllowNegativeValuesForServerSwap.php Fix unability to store '-1' in the database properly 2018-01-01 12:32:33 -06:00
2018_01_11_213943_AddApiKeyPermissionColumns.php First round of changes to API to support simpler permissions. 2018-01-11 22:49:46 -06:00
2018_01_13_142012_SetupTableForKeyEncryption.php Change the way API keys are stored and validated; clarify API namespacing 2018-01-13 16:06:19 -06:00
2018_01_13_145209_AddLastUsedAtColumn.php Change the way API keys are stored and validated; clarify API namespacing 2018-01-13 16:06:19 -06:00