Commit graph

1486 commits

Author SHA1 Message Date
Dane Everitt
dabd94344d
fix .env 2016-10-27 20:27:19 -04:00
Dane Everitt
ff93d6ce16
Rebase 2016-10-27 20:14:24 -04:00
Dane Everitt
6fd7c78f0c
Add server deletion to a queue.
This action allows servers to be deleted, but only be soft-deleted for
10 minutes. After that time period the server will be completely
removed from the database and daemon. This allows some safety if a
server is accidentally deleted.

Force deleting a server will still work. If the daemon is in-accessible
the server will fail to be deleted. When server is soft-deleted admins
can still view its information page in the admin CP, however the server
will be suspended and inaccessible on the front-end or though the
daemon.

Admins can manually delete the server ahead of the delete timer, or if
it failed to delete previously they can do an immediate retry.
2016-10-27 20:05:29 -04:00
Dane Everitt
dbec99498d
run task manager tasks at lowest priority 2016-10-27 18:50:10 -04:00
Dane Everitt
f80e481263
Add support for SQS and Redis in queue system 2016-10-27 17:16:47 -04:00
Dane Everitt
bb96039bf1
use low priority queue for tasks 2016-10-27 16:35:50 -04:00
Dane Everitt
59c29dc3a6
Use hard-coded versions, add sqs and redis deps for availability out of the box. 2016-10-27 16:35:39 -04:00
Dane Everitt
045864aa96
Prevent accidental DoS of users if server sends a rapid feed of data to the console.
Configurable speed in environment file.
2016-10-23 21:31:29 -04:00
Dane Everitt
13ce251593
Add foreign keys to all necessary tables 👏
I thoroughly hate myself for doing MEDIUMINT(8) on so many tables.
2016-10-23 20:48:34 -04:00
Dane Everitt
55c9f0f2f2
Delete databases when we delete a server. 2016-10-23 19:21:57 -04:00
Dane Everitt
08b236ac1d
better port checking, don't send rebuild unless things are changed. 2016-10-23 19:07:29 -04:00
Dane Everitt
0b044b3cc6
fixes bug that would allow deleting the default allocation for a server. 2016-10-23 18:59:13 -04:00
Dane Everitt
0a481b325c
Clean up server display a bit 2016-10-23 18:55:41 -04:00
Dane Everitt
dda5d9aa01
Fix no error display if adding a server with an invalid email 2016-10-23 18:48:14 -04:00
Michael Parker
8c1fe3056f Correcting BungeeCord issue (#152)
* Correcting BungeeCord issue
2016-10-23 18:34:59 -04:00
Dane Everitt
6b011fcd36
Add file manager refresh without reload; ❤️ @parkervcp 2016-10-21 18:09:35 -04:00
Dane Everitt
6b89dbd451
Fix errors on node graphs
These graphs will be removed in a future release, so I’m not going to
make them look pretty right now.
2016-10-21 17:37:47 -04:00
Dane Everitt
ad906e0680
FQDN support for allocations, and JS bug fix. 2016-10-21 17:33:26 -04:00
Dane Everitt
176d92176e
Run tasks every minute as needed
Clear logs every month (configurable) for old tasks logs.
2016-10-21 16:36:40 -04:00
Dane Everitt
6731f7ffbc
Modernize user pages a bit 2016-10-21 15:50:10 -04:00
Dane Everitt
bef717b202
add typeahead support for owner email when adding new server
closes #144
pic: http://s3.pterodactyl.io/UpPSJ.png
2016-10-21 15:22:47 -04:00
Dane Everitt
f9f751b7f2
fixes server overview listing location as the node 2016-10-21 14:48:04 -04:00
Dane Everitt
8660fcdc60 Merge pull request #149 from Pterodactyl/feature/better-api
Implement better API system
2016-10-20 18:41:16 -04:00
Dane Everitt
f24347d1bd
Remove old admin routes, fix display to non-admins
Complete!
2016-10-20 18:40:16 -04:00
Dane Everitt
b1a9a59707
Update middleware to handle wildcards correctly. 2016-10-20 18:35:55 -04:00
Dane Everitt
0f4648b13a
Fixes adding api keys a little more 2016-10-20 18:29:34 -04:00
Dane Everitt
53ec2c55ec
Add front-end support for adding and deleting API keys. 2016-10-20 18:20:58 -04:00
Dane Everitt
dfeed013ba
Server API obey's the subuser permissions as well 2016-10-20 17:04:58 -04:00
Dane Everitt
9fd8a087b8
Revert some changes that cause issues with other URLs 2016-10-20 16:48:37 -04:00
Dane Everitt
125856d92f
Support for server info and minor changes to API setup 2016-10-20 16:42:54 -04:00
Dane Everitt
5a03ce7e1a
Add support for controlling server power from API. 2016-10-20 13:39:39 -04:00
Dane Everitt
b3f078add2 Merge pull request #146 from ET-Bent/patch-1
Fix node view in admin panel
2016-10-17 12:29:51 -04:00
Dane Everitt
0df153946c Merge pull request #147 from ET-Bent/patch-2
Better name scheming for console
2016-10-17 12:29:08 -04:00
ET-Bent
7d1cba8d52 Better name scheming for console 2016-10-17 00:09:28 +02:00
ET-Bent
ce5374ea6b Fix node view in admin panel 2016-10-17 00:07:55 +02:00
Dane Everitt
745c735b32
Add initial basic API changes
New route is `/api/me`
2016-10-14 20:22:23 -04:00
Dane Everitt
126df09152
Fix route handling 2016-10-14 17:17:35 -04:00
Dane Everitt
7cf7a5a961
Split account things into own controllers. 2016-10-14 17:15:36 -04:00
Dane Everitt
073ef638b8
fix wording in notification event 2016-10-14 16:25:57 -04:00
Dane Everitt
63058d8c8e
Super early base implementation of notifications from daemon 2016-10-14 16:20:24 -04:00
Dane Everitt
c989dd0cc2
Send notification when server is created for user 2016-10-14 15:58:52 -04:00
Dane Everitt
a115c71433
Change SFTP username to be name_uuidShort 2016-10-14 15:34:01 -04:00
Dane Everitt
20db3f9058
Fixes bug in socket.io file upload using unix epoch 2016-10-14 14:55:20 -04:00
Dane Everitt
2c6ad1b8ca Merge pull request #140 from Pterodactyl/feature/file-uploader
Add support for new file upload mechanics
2016-10-13 21:04:40 -04:00
Dane Everitt
e5ffb15020
Add support for new file upload mechanics 2016-10-13 21:03:49 -04:00
Dane Everitt
f65e41a1af
flags for setup scripts, closes #134 2016-10-12 19:02:18 -04:00
Dane Everitt
90240bfd69 Create ISSUE_TEMPLATE.md 2016-10-12 18:05:31 -04:00
Dane Everitt
649b18c8d1
support for server filtering
closes #125
2016-10-12 17:12:27 -04:00
Dane Everitt
84a4c8b7f4
API enhancements, return node config, return 200 not 201 2016-10-12 15:42:23 -04:00
Dane Everitt
ab19e2ee96
Update changelog 2016-10-07 17:02:06 -04:00