Commit graph

392 commits

Author SHA1 Message Date
Dane Everitt
c3b9738364
Implement application API Keys 2018-01-18 21:36:15 -06:00
Dane Everitt
f9fc3f4370
Update interface to begin change to seperate account API keys and application keys
Main difference is permissions, cleaner UI for normal users, and account keys use permissions assigned to servers and subusers while application keys use R/W ACLs stored in the key table.
2018-01-14 13:30:55 -06:00
Dane Everitt
7aa540b895
Remove api permissions table 2018-01-14 12:05:18 -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
bd238c7555
No more OOME checkboxes 2018-01-08 23:03:14 -06:00
Dane Everitt
22511c8e24
Fix allocation behavior, closes #712 2018-01-08 22:12:19 -06:00
Dane Everitt
036bea2b94
Update schedule process to allow toggling/triggering via UI 2018-01-08 21:43:10 -06:00
Dimitar Yanakiev
02fe49892d Fixed navigation account click (#853) 2018-01-07 21:22:55 -06:00
Dane Everitt
a0a968c511
UI tweak for packs 2018-01-06 15:25:53 -06:00
Dane Everitt
a3bad520cd
closes #807 2018-01-06 13:19:17 -06:00
Dane Everitt
0ec5a4e08c
Fix some file management bugs, closes #621 2018-01-01 13:21:10 -06:00
Dane Everitt
410a0cca9a
Fix 'Copy Script From' setting 2017-12-31 13:17:06 -06:00
Dane Everitt
c3a69fce75
Show nest/egg IDs in listing, closes #687 2017-12-31 13:14:30 -06:00
Dane Everitt
5efee34378
close #840 2017-12-30 20:25:04 -06:00
Dane Everitt
89dbb9d0d9
Require node use SSL if Panel is using SSL. closes #806 2017-12-30 16:54:07 -06:00
Dane Everitt
1b9b92ac62
Cleanup settings use in panel. 2017-12-30 16:33:00 -06:00
Dane Everitt
321d00c89e
Fix validation error when trying to save certain eggs, closes #829 2017-12-30 16:05:22 -06:00
Dane Everitt
b9d67459b2
Update to Laravel 5.5 (#814) 2017-12-17 13:07:38 -06:00
Dane Everitt
f9df463d32
Implement a better management interface for Settings (#809) 2017-12-14 21:05:26 -06:00
Dane Everitt
4b7187a576
Fix broken password reset form 2017-12-04 19:01:04 -06:00
Dane Everitt
285485d7b0
Change how API keys are validated (#771) 2017-12-03 14:29:14 -06:00
Dane Everitt
df7a857929
Add star next to names of root admin accounts 2017-12-03 14:06:27 -06:00
Dane Everitt
975597b4d0
Implement changes to administrative user revocation, closes #733 2017-12-03 14:00:47 -06:00
Dane Everitt
6a4d267c2a
Revert "Lengthen search box" 2017-11-26 13:06:33 -06:00
Dane Everitt
4c09f6fda9
Merge branch 'develop' into feature/search-box-fix 2017-11-26 13:03:18 -06:00
Dane Everitt
a710bdf457 Make a todo a todid, closes #774 2017-11-25 13:45:47 -06:00
Dane Everitt
9ee503b3c1 Fix error message formatting to match new style 2017-11-25 13:17:31 -06:00
Dane Everitt
0bb44a4972 Fix server startup dropdown for egg being incorrect, fixes #778 2017-11-25 12:27:08 -06:00
Lance Pioch
674628cc01 Lengthen search box 2017-11-22 14:16:11 -05:00
Dane Everitt
6f52f4a614
Push updates to login page, mostly UI enhancements. 2017-11-18 15:09:58 -06:00
Dane Everitt
c7c2c1a45e
Implement changes to 2FA system (#761) 2017-11-18 13:35:33 -05:00
Lance Pioch
559aa51f01 Add links to beta (#756) 2017-11-15 21:49:07 -05:00
Dane Everitt
6043114f38
Text cleanup for settings 2017-11-11 15:58:42 -06:00
Dane Everitt
26eeffd764
Fix bug preventing changing of the server startup on first save attempt. 2017-11-11 15:07:01 -06:00
Dane Everitt
1800d1c095
Fix bug preventing variables with quotes from rendering in the ACP. 2017-11-11 13:56:38 -06:00
Dane Everitt
4dfc7a0053
Cleanup pagination CSS and UI 2017-11-10 21:41:39 -06:00
Dane Everitt
b07052548c
Fix inability to delete a node, closes #741 2017-11-10 21:31:54 -06:00
Dane Everitt
3b5e1fc7b1
UI tweaks 2017-11-05 13:59:46 -06:00
Dane Everitt
fb2909a1c7
Fix hover behavior on admin user listing
see http://i.kumquat.io/nW1x for description
2017-11-05 11:18:50 -06:00
Dane Everitt
25694c851a
Fix CORS header issue on node listing 2017-11-05 11:15:26 -06:00
Dane Everitt
71b90650de
Fix failing test suite 2017-11-04 12:49:05 -05:00
Dane Everitt
0b08c01668
Add beta warnings 2017-11-03 20:40:51 -05:00
Dane Everitt
e0d03513e4
Cleanup frontend controllers and middleware 2017-10-27 21:42:53 -05:00
Dane Everitt
508ff8cfb3
Finish front-end server modification changes.
Everything is back to the point that it was before this massive code overhaul began. FInal steps before merging this into develop will be some unit tests.
2017-10-25 22:33:28 -05:00
Dane Everitt
5fb4b2cdcf
More distinct server config if admin 2017-10-24 23:42:40 -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
d50ea18598
Add support for changing the server default allocation as a normal user 2017-10-20 21:32:57 -05:00
Dane Everitt
5a3428f0a0
Merge branch 'develop' into feature/add-frontend-server-configuration 2017-10-20 19:12:08 -05:00
Jakob Schrettenbrunner
a411e216b0 add link on server navigation to get to the admin page of the current server 2017-10-20 10:41:37 +02:00
Dane Everitt
97dc0519d6
Add database management back to front-end and begin some refactoring
Here we go again boys...
2017-10-18 22:32:19 -05:00
Dane Everitt
2b80de03df
Fix sidebar dropdown not working 2017-10-17 22:23:37 -05:00
Dane Everitt
e01d7497f5
Add ability to update an Egg by re-uploading a file. 2017-10-08 23:50:52 -05:00
Dane Everitt
aaf96669d4
Misc fixes 2017-10-08 21:36:22 -05:00
Dane Everitt
c19c423568
More fixes 2017-10-07 18:08:19 -05:00
Dane Everitt
17642bffe7
More code updates 2017-10-07 17:21:41 -05:00
Dane Everitt
6b8464ea3a
Nest & Egg management working through the ACP now. 2017-10-07 16:16:51 -05: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
366221fa3f
; 2017-10-05 20:13:01 -05:00
Dane Everitt
6269a08db7
Finalize service option import/export 2017-10-03 23:31:04 -05:00
Dane Everitt
0d739257a9
First pass at XML exporter for services 2017-10-03 00:01:04 -05:00
Dane Everitt
ae671e6b19
Begin updating UI 2017-10-02 22:51:13 -05:00
Dane Everitt
b1834307d5
Update demon routes to use /v1/ 2017-09-30 21:00:24 -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
Lance Pioch
09d958249d Add togglable 2FA user requirements (#635) 2017-09-25 15:58:16 -10:00
Dane Everitt
7d1c233c49
Final adjustments to Daemon <-> Panel communication change 2017-09-24 21:12:30 -05:00
Lance Pioch
7c41a6965b Use @lang blade helper (#637) 2017-09-21 13:05:10 -10:00
Lance Pioch
0c21d401e3 Combine Locations and Nodes on Create Server page (#641) 2017-09-21 13:03:29 -10:00
Lance Pioch
dca40c48ea Use universal sign out icons because power buttons are already used in the themes\pterodactyl\admin\nodes\view\settings.blade.php (#633) 2017-09-20 19:17:45 -10:00
Lance Pioch
0a0a8784a9 Fix issue #546 by adding swal to logouts (#634) 2017-09-20 19:16:52 -10:00
Dane Everitt
0e518be6ca
More color adjustments 2017-09-13 22:38:28 -05:00
Dane Everitt
7f76684453
More schedule changes 2017-09-13 21:46:43 -05:00
Dane Everitt
457c910c35
Merge branch 'develop' of https://github.com/Pterodactyl/Panel into develop 2017-09-12 23:45:21 -05:00
Dane Everitt
2ac90b50f2
Begin refactoring Tasks to be apart of the Scheduler system 2017-09-12 23:45:19 -05:00
kasper Franz
3377898143 set the default value as value! 2017-09-12 10:37:53 +02:00
Dane Everitt
97d87ff57c
Merge branch 'develop' of https://github.com/Pterodactyl/Panel into develop 2017-09-10 23:45:33 -05:00
Dane Everitt
7b454980ab
Fix version display in node list 2017-09-10 23:45:27 -05:00
Dane Everitt
6c6a3c9458 Merge pull request #615 from Pterodactyl/feature/customized-theme
Feature/customized theme
2017-09-10 18:14:15 -10:00
Dane Everitt
0e3729851c
Merge branch 'develop' of https://github.com/Pterodactyl/Panel into develop 2017-09-09 23:55:23 -05:00
Dane Everitt
bab28dbc85
Initial implementation of new task mgmt system 👮 2017-09-09 23:55:21 -05:00
Fonix Hardcastle
bbc7c054dc Donation link update
Update to the new Donor box donation system
2017-09-07 00:29:04 +01:00
Jakob Schrettenbrunner
2ac1e08f47 Merge branch 'develop' into feature/customized-theme 2017-09-05 01:47:43 +02:00
Jakob Schrettenbrunner
855b7fa1e4 fix menu collapse with adminlte 2.4 2017-09-05 01:46:55 +02:00
Dane Everitt
dc310ffdea
Finish subuser controller 2017-09-04 18:12:13 -05:00
Jakob Schrettenbrunner
0438ad7a21 switch blue and refine some colors 2017-09-05 00:29:34 +02:00
Jakob Schrettenbrunner
6ce3aa969f redesign login page 2017-09-04 23:53:46 +02:00
Dane Everitt
4532811fcd
Improved middleware, console page now using new setup 2017-09-02 21:35:33 -05:00
Dane Everitt
cb62e6a96d
Hide from UI if not admin 2017-08-30 21:12:35 -05:00
Dane Everitt
e045ef443a
Should wrap up the base landing page stuff for accounts, next step is server rendering 2017-08-30 21:11:14 -05:00
Dane Everitt
a91d84ecfe Merge pull request #608 from Pterodactyl/feature/PTDL-472
Merge code refactor into develop.
2017-08-27 14:57:13 -05:00
Dane Everitt
74ea1aa0aa
Push subuser creation service 2017-08-23 21:34:11 -05:00
Dane Everitt
cdfbc60030
Push pack services and fix for failing tests 2017-08-20 19:23:50 -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
b8d7d99096
More repository/service/refactor changes 2017-08-12 15:29:01 -05:00
Dane Everitt
2c77d5c44d
Begin implementation of services for services/service options 2017-08-08 23:24:55 -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
acbc52506c
Finish unit tests for all server services 2017-07-22 20:15:01 -05:00
Dane Everitt
63e39fbe58
Fix database management things to actually work correctly. 2017-07-22 13:55:30 -05:00
Dane Everitt
580e5ac569
Begin working on administrative server view changes
Also includes tests for the DatabaseCreation service.
2017-07-21 21:17:42 -05:00
OrangeJuiced
e64eb4901e Add multiple file/directory deletion in the filemanager (#544)
* Add deletion of multiple selected files
* Adjust success/failure text to properly represent multiple files
* Actually update the minimized versions with the new code
* Use let instead of var and seperate items into seperate code tags
* Deleting the selected items now supports the new endpoint
* Replaced the select buttons with checkboxes
* Selections is now handled by find all the selected checkboxes
* Add a warning if no files/folders are selected when pressing delete
* Add a select all files/folders checkbox
* Move mass delete button into a mass actions dropdown
* Move style to css file
* Actually update the minimized files (again)
* Mass actions button is now disabled by default
* Clicking on a row selects the checkbox and enables the actions button
* Fix clicking anything else but the row or checkbox triggering selection
2017-07-20 13:10:01 -10:00
Dane Everitt
0c513f24d5
Move server creation over to new service/repository setup.
Moves tons of functions around, but the basic implementation is working again.

Some features are still missing, and the service never actually commits the server to the database right now.

This push is mostly just to get the code into Github and backed up.
2017-07-19 20:49:41 -05:00
Dane Everitt
bd78e3544d
Merge branch 'develop' into feature/PTDL-472 2017-07-08 14:08:02 -05:00
Joost Kwakkel
99eead0695 Most inputs now remember their old values on a failed creation 2017-07-08 18:08:19 +02:00
Dane Everitt
2f4ec64f2a
Merge branch 'develop' into feature/PTDL-472 2017-07-01 12:33:30 -05:00
Dane Everitt
1abcb99f78
Fix more of the console, add back support for arrow key command history 2017-06-30 20:41:16 -05:00
Dane Everitt
674559a066
Update socketio and do some cache busting for it 2017-06-28 21:53:14 -05:00
Dane Everitt
7463bea101
fix the console rendering 🚤 2017-06-28 21:39:30 -05:00
Dane Everitt
9ca5f97e65
Actually update the polyfill ref 2017-06-26 22:48:59 -05:00
Dane Everitt
829453f805
[Security] Address critical flaw in console rendering that allowed arbitrary command execution 2017-06-26 22:36:09 -05:00
Dane Everitt
b7b046c044
Merge branch 'develop' into feature/PTDL-472 2017-06-25 15:36:39 -05:00
Dane Everitt
2235481765
More service structure testing and configuration
Tests aren't working as well as I had hoped, so a lot are commented out while I wait to hear back on this bug causing them to fail.
2017-06-24 19:49:09 -05:00
Dane Everitt
cba54637fc
Fixes bug with newly created variables not being assigned to existing servers properly, closes #478 2017-06-18 21:38:00 -05:00
Dane Everitt
62a8f5737f
Block reinstall button if server doesn't install correctly. 2017-06-18 21:11:11 -05:00
Dane Everitt
81d265db08
Prevent the irritating moment when you logout accidentally when trying to click Admin CP. 2017-06-18 20:47:34 -05:00
Dane Everitt
0111ca7768
Push more changes to DBHost service.
Currently updating via the frontend is broken if you don't provide an actual node to attach it to.
2017-06-17 19:48:31 -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
Michael (Parker) Parker
0be8dc555e Mistyped words 2017-05-29 15:48:44 -04:00
Dane Everitt
0e48c94918
Don't allow reinstall if server install failed 2017-05-23 22:57:09 -05:00
Dane Everitt
0bb0d5df45
make clear that daemon must be rebooted after editing 2017-05-23 22:08:00 -05:00
Dane Everitt
8144535b82
Prevent invalid service tag names, ref #443 2017-05-23 21:59:47 -05:00
Dane Everitt
7460b5fdd2
fix broken file creation due to missing dependency, closes #453 2017-05-23 21:43:28 -05:00
Dane Everitt
72c0330486
Fixes 2FA not honoring 'Remember Me' checkbox, closes #439 2017-05-22 19:09:42 -05:00
Dane Everitt
de0b9beacb
Minor visual tweaking and filemanager backend improvements. 2017-05-05 23:13:42 -04:00
Dane Everitt
a52d9eb0fb
fix error display when server is installing, closes #424 2017-05-05 16:27:38 -04:00
Dane Everitt
c9c0e845b1
Go nuclear on Safari's autocomplete. 2017-05-01 16:41:39 -04:00
Dane Everitt
b539f26dab
Stop browser autofill on user view pages. 2017-05-01 16:17:31 -04:00
Dane Everitt
6dc1c15739
Fix display of associated servers when viewing an administrative user in the Admin CP. 2017-05-01 15:28:43 -04:00
Dane Everitt
b5c934d079
tiny boxes begone!
Mobile use was impossible with some accidentally small boxes defined…
2017-04-28 10:25:50 -04:00
Dane Everitt
1c37a8fe1a
Fixes account creation and password reset abilities. 2017-04-28 00:07:38 -04:00
Dane Everitt
3dc286b511
Actually use the right captcha IDs... 2017-04-27 23:46:42 -04:00
Dane Everitt
720cf5303e
Include recaptcha script on reset page. 2017-04-27 23:45:27 -04:00
Dane Everitt
aa6060846d
Actually show errors on password reset page. 2017-04-27 23:44:26 -04:00
Dane Everitt
3ee7b7cff1
Add ability to mark a node as being over a proxy 2017-04-27 22:52:37 -04:00
Dane Everitt
801aae968c
Show git version if panel is installed with git 2017-04-27 22:28:01 -04:00
Dane Everitt
30b4934013
Include default installation scripts, as well as ability to symlink a script 2017-04-27 16:16:59 -04:00
Dane Everitt
147f473eeb
Add back disk limiting! 2017-04-21 22:44:56 -04:00
Dane Everitt
a5a1ea3165
Add ability to change service implementation for a server. 2017-04-21 17:52:44 -04:00
Dane Everitt
8dc24471ae
Add reinstall abilities and cleanup process for new servers 2017-04-20 18:52:43 -04:00
Dane Everitt
3fe5d162f5
Add skip scripting option 2017-04-20 17:57:40 -04:00
Dane Everitt
c8f1335a09
Fixup merge 2017-04-20 17:26:20 -04:00
Dane Everitt
8d24e5f168
Merge branch 'develop' into feature/option-scripts
# Conflicts:
#	app/Http/Routes/AdminRoutes.php
#	app/Http/Routes/DaemonRoutes.php
#	app/Models/ServiceOption.php
2017-04-20 17:08:08 -04:00
Dane Everitt
205a10cd72
Fix display of subusers after creation. 2017-04-17 21:44:58 -04:00
Dane Everitt
a307ff4696
Should fix file editing in all bowsers 2017-04-17 21:22:36 -04:00
Dane Everitt
3acc7b338b
Allow deleting default allocation and setting new default at the same time. 2017-04-17 21:07:37 -04:00
Dane Everitt
776220636b
Fix password error when changing account email, closes #379 2017-04-17 20:35:07 -04:00
Dane Everitt
5359015248
Add link to front-end server view when managing server in Admin CP, closes #387 2017-04-17 20:24:17 -04:00
Dane Everitt
bdfab16af3
Show SFTP/Docker username on server list and view. 2017-04-17 20:12:04 -04:00