Dane Everitt
034a310702
Use checksum more broadly, not specifically SHA256
2020-08-23 18:06:47 -07:00
Dane Everitt
3a2c60ce31
Store bytes as unsigned bigint; closes #2245
2020-08-22 13:26:03 -07:00
Dane Everitt
e3178ba6f0
backend: support is_successful state for backups rather than deleting it when failing
...
This allows the UI to correctly show failed backups to the user and require them to manually delete those backups, rather than them mysteriously disappearing.
We can also hook into this later to send a notification to the user when the backup fails.
2020-08-20 21:07:53 -07:00
Matthew Penner
295f09ca43
Merge branch 'develop' into feature/server-mounts
2020-07-11 12:29:30 -06:00
Dane Everitt
2278927fb6
Update allocations to support ids; protect endpoints; support notes
2020-07-09 20:36:08 -07:00
Matthew Penner
29876e023b
Merge branch 'develop' into feature/server-mounts
2020-07-04 15:20:01 -06:00
Dane Everitt
c522935403
Fix logic when generating recovery codes and update migration
2020-07-02 22:11:07 -07:00
Dane Everitt
a998b463e3
Generate recovery tokens when enabling 2FA on an account
2020-07-02 21:55:25 -07:00
Dane Everitt
2ed3763d21
cs fix
2020-06-28 15:43:44 -07:00
Matthew Penner
e601b35f2f
Fix even more StyleCI issues
2020-05-21 14:27:23 -06:00
Matthew Penner
0eb29dac9c
Add mount_server table, fix wrong field type on other many to many tables, add routes for mounting and unmounting mounts on a server, finish server admin mounts page
2020-05-21 14:23:12 -06:00
Matthew Penner
34f718a8b1
Finish mount admin view page, add unique index to migration
2020-05-20 20:50:56 -06:00
Matthew Penner
77150b2551
Add increment id to mount, add basic mount view page
2020-05-20 19:17:35 -06:00
Matthew Penner
976b669059
Make StyleCI happy
2020-05-20 18:57:30 -06:00
Matthew Penner
00d1b5861a
Properly setup Mount model, add database migration, get mount admin page added
2020-05-20 18:07:56 -06:00
Dane Everitt
f1c3762f4d
Add base support for definining the number of backups that can be created for a server
2020-04-26 12:12:29 -07:00
Charles Morgan
941692a060
Update 2020_04_22_055500_add_max_connections_column.php
...
Fix migration, not sure how I messed that up....... but 👌
2020-04-26 11:00:38 -04:00
Dane Everitt
72ecac5236
Merge pull request #1963 from Sir3lit/maxconn
...
Add Max Concurrent Connections for database users
2020-04-25 11:01:01 -07:00
Charles Morgan
82dd7dc8e3
Allow Null = 0
...
Allow Value to be nullable, will autofill 0 if value is null or 0, to facilitate "unlimited" connections.
2020-04-23 10:45:44 -04:00
AreYouScared
f0e4764a11
Add Max Concurrent Connections for database users
...
Closes #1849
Allows database users to be limited to a number of concurrent connections to prevent one user from connecting hundreds of time and bottlenecking the MySQL server.
2020-04-22 06:00:04 -04:00
AreYouScared
21491e3aaa
Allow descrition field to be optional
...
Allows for Nest, Node, Location and Egg description fields to be blank / nullable.
Removed "required" wording next to them aswell
2020-04-17 20:52:40 -04:00
Dane Everitt
72c144e309
Merge pull request #1909 from pterodactyl/enhancement/new-server-admin
...
Enhancements to new server admin
2020-04-12 10:13:03 -07:00
AreYouScared
01142d9a25
Move threads column to the
...
Put column after CPU, not at the end.
2020-04-11 23:26:23 -04:00
Matthew Penner
432e28b6bb
Fix all StyleCI errors and probably break everything in the process
2020-04-11 14:07:40 -06:00
Dane Everitt
c8a78c688f
Apply unique key after assigning all of the values
2020-04-10 15:54:28 -07:00
Dane Everitt
7557dddf49
Store node daemon tokens in an encrypted manner
2020-04-10 15:15:38 -07:00
Dane Everitt
2ac82af25a
Fix migration to not require beta versions of MariaDB
2020-04-10 14:09:57 -07:00
Dane Everitt
568328596a
Cleanup migration
2020-04-10 14:02:16 -07:00
Dane Everitt
fd8b7182e7
Merge migrations
2020-04-10 14:01:36 -07:00
Matthew Penner
fd4de9168a
Merge branch 'develop' into feature/server-transfers-actually
2020-04-04 16:28:02 -06:00
Matthew Penner
142bf16aae
Fix StyleCI issues
2020-04-04 16:24:58 -06:00
Matthew Penner
454ce6ce45
Add successful column to server_transfers table, get server transfers working properly :)
2020-04-04 16:16:18 -06:00
Dane Everitt
d27f0c6f2a
Basic backend support to at least store a backup model in the DB
2020-04-04 12:26:39 -07:00
Dane Everitt
9991989f89
Very basic implemention of frontend logic required to display backups and create a new one
2020-04-04 10:59:25 -07:00
Matthew Penner
86b7b6ecc3
Add Models/ServerTransfer.php
2020-04-04 11:37:44 -06:00
Dane Everitt
17ec4efd3b
Add base migration and model for server backups
2020-04-03 23:40:20 -07:00
Matthew Penner
49f0421e90
Fix issue with regex rule on 'threads' column, fix StyleCI issues on migration
2020-04-03 18:59:47 -06:00
Matthew Penner
829f05a2c7
Add migration for 'threads' column, fix errors on some admin pages, add validation rule for 'threads' column
2020-04-03 18:50:07 -06:00
Dane Everitt
32f25170f1
Pass at removing extraneous permissions table and using native MySQL JSON
2020-03-22 16:56:00 -07:00
AreYouScared
9be1b658f5
MySQL 8 fix
...
Fixes for users wanting to run MySQL v8+
2019-10-15 18:28:46 -04:00
Dane Everitt
8253246955
Prevent an exception when creating databases with the same name on multiple hosts.
...
closes #1456
2019-03-02 15:31:25 -08:00
Dane Everitt
a4d7985e51
[ #1500 ] Fix allocation limit being required even though it isn't used.
2019-03-02 14:27:01 -08:00
Dane Everitt
e404918bff
Dont limit length of variable values, closes #1264
2018-09-03 14:43:05 -07:00
Dane Everitt
969b16a563
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2018-06-02 21:32:26 +00:00
stanjg
013dde75ae
Renamed the field and made some improvements
2018-05-31 16:34:35 +02:00
stanjg
86c8ecdcdf
Added the actual logic
2018-05-04 15:02:51 +02:00
Lance Pioch
88fd83d413
Remove unused imports ( #1102 )
2018-04-08 15:37:27 -05:00
Dane Everitt
68f0811273
Merge branch 'feature/api-integration-testing' into develop
2018-03-26 19:55:28 -05:00
Stan
f1a76ec7fd
Add description field to nodes ( #1065 )
2018-03-26 13:57:24 -05:00
Dane Everitt
89db9390df
Fix broken migration rollbacks
2018-03-04 15:21:54 -06:00
Dane Everitt
aaccf38640
Merge branch 'develop' into feature/user-databases
2018-03-02 18:40:38 -06:00
Dane Everitt
d03559080f
Theoretically fix migration issues for api_key table
2018-03-02 18:37:39 -06:00
Dane Everitt
87b96bdfc8
Add core logic to allow for limited databases and allocations
2018-03-01 20:08:27 -06:00
Dane Everitt
aa08498d51
Formatting fix
2018-02-25 16:10:28 -06:00
Dane Everitt
4cfb8941d5
Fix broken users table in database causing validation errors.
2018-02-25 16:08:01 -06:00
Dane Everitt
633bba6d6e
Add support for external_id on servers, closes #975
2018-02-24 11:57:12 -06:00
Dane Everitt
d86c35d80f
Prevent duplicate allocations for servers
2018-02-17 13:53:38 -06:00
Dane Everitt
c3dc376c4c
Fixes #921
2018-02-10 15:58:34 -06:00
Dane Everitt
2ec76d283b
Fix bad API behavior
2018-02-04 15:38:38 -06:00
Dane Everitt
2bd691efad
Add database list endpoint, add more resource name magic
2018-01-25 21:26:06 -06:00
Dane Everitt
c3b9738364
Implement application API Keys
2018-01-18 21:36:15 -06:00
Dane Everitt
d0bce4af97
Apply fixes from StyleCI ( #875 )
...
[ci skip] [skip ci]
2018-01-14 12:07:14 -06:00
Dane Everitt
7aa540b895
Remove api permissions table
2018-01-14 12:05:18 -06:00
Dane Everitt
8e8147cc43
Apply fixes from StyleCI ( #874 )
...
[ci skip] [skip ci]
2018-01-13 16:06:55 -06:00
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
Dane Everitt
a31e5875dc
First round of changes to API to support simpler permissions.
2018-01-11 22:49:46 -06:00
Dane Everitt
ffc8d4875f
Fix unability to store '-1' in the database properly
2018-01-01 12:32:33 -06:00
Dane Everitt
f9df463d32
Implement a better management interface for Settings ( #809 )
2017-12-14 21:05:26 -06:00
Dane Everitt
dff2e1ea47
Merge branch 'develop' of https://github.com/Pterodactyl/Panel into develop
2017-12-04 18:43:30 -06:00
Dane Everitt
3f6d782ce1
Fix forgotten migration that caused node deletions to not be cascaded to all allocations.
...
closes #795
2017-12-04 18:43:19 -06:00
Dane Everitt
285485d7b0
Change how API keys are validated ( #771 )
2017-12-03 14:29:14 -06:00
Dane Everitt
c7c2c1a45e
Implement changes to 2FA system ( #761 )
2017-11-18 13:35:33 -05:00
Dane Everitt
058e490ec4
Implement Panel changes to support internal SFTP subsystem on Daemon ( #703 )
2017-10-25 00:35:25 -04:00
Dane Everitt
df87ea0867
This breaks literally the entire panel.
2017-10-06 23:57:53 -05:00
Dane Everitt
344c1a9885
First push before 🥚
2017-10-06 21:22:32 -05:00
Dane Everitt
0b3c0f6d5a
Ah yes, lets just spend 30 minutes trying to get a migration to run correctly.
2017-10-06 20:39:11 -05:00
Dane Everitt
9b79d9c756
Delete service variables when the option is deleted.
2017-10-03 23:33:46 -05:00
Dane Everitt
493c5888a3
Migration change
2017-10-02 22:03:01 -05:00
Dane Everitt
220789a4b9
Push migrations to change existing service structure
2017-10-02 20:54:22 -05:00
Dane Everitt
fb8a26f141
Merge branch 'develop' into feature/api-daemon-changes
2017-09-25 21:46:44 -05:00
Dane Everitt
e56f4cdd33
Update license headers on files.
2017-09-25 21:43:01 -05:00
Dane Everitt
bc0d0fd6fa
Fix failing migrations
2017-09-24 21:22:14 -05:00
Dane Everitt
3a8bea9588
Fix failing migrations
2017-09-24 21:20:01 -05:00
Dane Everitt
7d1c233c49
Final adjustments to Daemon <-> Panel communication change
2017-09-24 21:12:30 -05:00
Dane Everitt
906a699ee2
Begin implementation of new daemon authentication scheme
2017-09-23 20:45:25 -05:00
Dane Everitt
7f76684453
More schedule changes
2017-09-13 21:46:43 -05:00
Dane Everitt
2ac90b50f2
Begin refactoring Tasks to be apart of the Scheduler system
2017-09-12 23:45:19 -05:00
Dane Everitt
07965d0ce7
These migrations... work?? 🐋
2017-09-11 01:15:44 -05:00
Dane Everitt
bab28dbc85
Initial implementation of new task mgmt system 👮
2017-09-09 23:55:21 -05:00
Anand Capur
a73e71dd81
Fix DB migrations to allow rollbacks
2017-08-23 12:34:34 -07:00
Dane Everitt
3ee5803416
Massive PHPCS linting
2017-08-21 22:10:48 -05:00
Dane Everitt
9d3dca87f2
Begin moving packs to new service mechanisms, refactor exceptions for services
2017-08-18 22:19:06 -05:00
Dane Everitt
90bbe57148
Move services onto new services system, includes tests
2017-08-15 22:21:47 -05:00
Dane Everitt
340193c013
Apply fixes from StyleCI ( #581 )
2017-08-12 15:32:34 -05:00
Dane Everitt
669119c8f8
Handle allocation assignment using services
...
Function is significantly quicker and uses 1 SQL query per IP rather than 1 query per port.
2017-08-05 21:10:32 -05:00
Dane Everitt
c1a078bdcf
Add support for node management actions using new services
2017-08-05 17:20:07 -05:00
Dane Everitt
8daec38622
Complete base implementation of services for administrative server creation
2017-07-24 21:34:10 -05:00
Dane Everitt
8953f83f87
Add migrations to handle cascade deletions for servers and users
2017-07-08 15:51:13 -05:00
Dane Everitt
4ee9d38ad1
Add ApiKey service, cleanup old API key methods
...
https://zube.io/pterodactyl/panel/c/525
2017-06-25 15:31:50 -05:00
Dane Everitt
5c2b9deb09
Push initial implementations of new repository structure
...
This breaks almost the entire panel, do not pull this branch in this state.
Mostly just moved old repository files to a new folder without updating anything else in order to start doing new things. Structure is not finalized.
2017-06-10 22:28:44 -05:00