Commit graph

337 commits

Author SHA1 Message Date
Dane Everitt
f0ac0725b6
[Security] Don't return all servers on the system when not a root admin and admin level servers are requested
Cleaned up the API endpoint by simplifying the logic and adds test case to cover this bug.

If you ever need to list _all_ of the servers on the system you should be using the application API endpoint for the servers most likely.
2020-07-26 10:43:46 -07:00
Dane Everitt
ff9f893dc3
Code cleanup for file manager 2020-07-18 10:45:41 -07:00
Dane Everitt
c2b1e7e6ab
Use archive icon 2020-07-16 22:21:06 -07:00
Matthew Penner
df385cef3a Add additional mimetypes to check if a file is an archive 2020-07-15 13:09:45 -06:00
Dane Everitt
1a6669aa5c
Add endpoint support for decompressing files 2020-07-14 21:16:49 -07:00
Dane Everitt
6c0d308348
Paginate servers on frontend; closes #2106 2020-07-14 20:48:41 -07:00
Dane Everitt
90ab185dce
Delete global.d.ts 2020-07-12 11:57:48 -07:00
Dane Everitt
01faa86c73
swr for servers on dash; fix whatever is going on with the spinner 2020-07-12 11:15:54 -07:00
DarthShmev
3dbb297645
Update DisableTwoFactorModal.tsx - Fix lint errors
Whoops! Trailing space after `<Button` on line 60.
2020-07-12 13:51:54 -04:00
Dane Everitt
be1888f8eb
Merge pull request #2168 from DarthShmev/patch-2
Fix Two Factor Authentication Buttons colour and sizing. Closes #2167
2020-07-12 10:44:51 -07:00
Dane Everitt
474df81bf4
Merge pull request #2169 from DarthShmev/patch-3
Update ServerRow.tsx - Fix yarn compile errors.
2020-07-12 10:44:26 -07:00
Dane Everitt
85dcfd4cf5
Always tscheck, ignore eslint in prod 2020-07-12 10:43:37 -07:00
DarthShmev
156391ef6d
Update ServerRow.tsx - Fix yarn compile errors.
"Unlimited" -> 'Unlimited'
Removed extra blank line
2020-07-12 13:41:41 -04:00
DarthShmev
c59698d055
Update colour of disable two factor confirmation button 2020-07-12 01:14:08 -04:00
DarthShmev
3b16a4c5ab
Adjust size of close button for SetupTwoFactorModal 2020-07-12 00:59:34 -04:00
Dane Everitt
831673755a
Merge pull request #2105 from pterodactyl/fix/2071
Fix improper byte conversions
2020-07-11 17:18:45 -07:00
Dane Everitt
45a85938df
Merge pull request #2164 from pterodactyl/fix/2163
Fix 2FA codes missing prepended 0s
2020-07-11 17:18:24 -07:00
Dane Everitt
3df4d433f0
Support checking all 2020-07-11 17:09:54 -07:00
Dane Everitt
cb3288500a
Fix render performance and avoid re-rendering rows constantly 2020-07-11 16:57:30 -07:00
Dane Everitt
325626e46d
Only render the modal when needed 2020-07-11 16:49:46 -07:00
Dane Everitt
80ecd58b30
Mass actions for moving files, mostly working? 2020-07-11 16:47:13 -07:00
Dane Everitt
121f163b81
Handle new file rename/move API 2020-07-11 16:20:42 -07:00
Dane Everitt
2653321fc2
Support renaming multiple files at once 2020-07-11 16:00:30 -07:00
Dane Everitt
43f8ec23b8
Show a message when the spinner is displayed 2020-07-11 15:45:28 -07:00
Dane Everitt
93cab68cc3
Handle mass actions for file deletion 2020-07-11 15:37:59 -07:00
Dane Everitt
82bc9e617b
Add support for compressing items in the file manager 2020-07-11 13:38:49 -07:00
Dane Everitt
cb9eb918b2
Fix dropdown hiding under buttons 2020-07-11 13:19:28 -07:00
Matthew Penner
fbaabc2633
Merge branch 'develop' into fix/2163 2020-07-11 13:12:49 -06:00
Matthew Penner
984deab894 Remove debug log in LoginCheckpointContainer.tsx 2020-07-11 13:10:01 -06:00
Matthew Penner
55a3e76d99 Fix 2FA codes missing prepended 0s 2020-07-11 13:07:54 -06:00
Matthew Penner
a9bb692112
Merge branch 'develop' into fix/2071 2020-07-11 12:29:04 -06:00
Dane Everitt
34a46a388f
Update DropdownMenu.tsx 2020-07-11 11:19:38 -07:00
Dane Everitt
c63382532e
Update DropdownMenu.tsx 2020-07-11 11:19:27 -07:00
Dane Everitt
117c1b1778
Support right click to use file context menu 2020-07-11 11:12:59 -07:00
Dane Everitt
6188b9287c
Remove unused code 2020-07-10 23:09:37 -07:00
Dane Everitt
fa9800fa88
Fix some SWR funkiness 2020-07-10 22:53:52 -07:00
Dane Everitt
5da9824fb7
Continue with file manager code cleanup 2020-07-10 22:38:07 -07:00
Dane Everitt
2692e98cd8
Massive speed improvements to filemanager 2020-07-10 22:10:51 -07:00
DarthShmev
f2cb41c074
Remove colon from port field on allocations page. Closes #2160 2020-07-10 11:37:55 -04:00
Dane Everitt
82d7fa1c53
Support setting notes on allocations; closes #561 2020-07-09 21:00:03 -07:00
Dane Everitt
2278927fb6
Update allocations to support ids; protect endpoints; support notes 2020-07-09 20:36:08 -07:00
Dane Everitt
9c3b9a0fae
Fix error handling and simplify showing http errors 2020-07-09 20:00:05 -07:00
Dane Everitt
fc9054312d
Support modifying the primary allocation for a server 2020-07-09 19:56:46 -07:00
Dane Everitt
5c18fd1f0c
Show allocated ports on settings page 2020-07-08 21:42:37 -07:00
Dane Everitt
7b5139b2b1
[Breaking] Return all server allocations in API response 2020-07-08 21:04:45 -07:00
Dane Everitt
d3c749ac56
Code cleanup & fix frontend searching servers; closes #2100 2020-07-06 21:25:00 -07:00
Dane Everitt
28992c5e43
Speed up animations throughout the panel 2020-07-05 13:56:04 -07:00
Dane Everitt
cbdede75a7
Fix suspense spinner to make it indistinguishable from other loading 2020-07-04 22:38:34 -07:00
Dane Everitt
db7f3e5fc0
Fix console and charting 2020-07-04 22:36:28 -07:00
Dane Everitt
becad7b3c7
Cut out all of the unused ace editor modes; significantly reduces bundle size 2020-07-04 22:16:06 -07:00