Commit graph

756 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
cf21fd5a4b
More API updates, better support for node config edits 2018-01-10 23:19:03 -06:00
Dane Everitt
bd238c7555
No more OOME checkboxes 2018-01-08 23:03:14 -06:00
Dane Everitt
0acc260b81
Change order that allocations are loaded in on the allocation listing 2018-01-08 22:21:35 -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
20c1c74116 Fix issues with validation in admin CP for server variables, closes #780 2017-11-25 13:15:46 -06:00
Dane Everitt
0bb44a4972 Fix server startup dropdown for egg being incorrect, fixes #778 2017-11-25 12:27:08 -06:00
Dane Everitt
d4758efef8 Implement fix for console spam when using invalid environment variable values 2017-11-23 15:08:35 -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
Dane Everitt
29ee712506
Merge pull request #767 from TheProKiller756/patch-2
Exclamative sentence
2017-11-18 13:32:26 -05:00
TheProKiller756
2782985ce2
Update auth.php 2017-11-18 15:28:53 +01:00
TheProKiller756
5d4f8ca9ab
Fix maximum size translation to get it working
Fixed that :size was translated and it doesn't work
2017-11-18 15:26:28 +01: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
69cd330eb8
Fix setup command issues 2017-11-04 16:27:15 -05:00
Michael R.|SchlaumeierTV
df9d746b4b German Translation (#719) 2017-11-04 17:00:30 -04:00
Dane Everitt
71b90650de
Fix failing test suite 2017-11-04 12:49:05 -05:00
Dane Everitt
99aceaca38
Merge branch 'develop' of https://github.com/Pterodactyl/Panel into develop 2017-11-03 20:44:01 -05:00
Dane Everitt
ea71deb8a1
Merge pull request #716 from Pterodactyl/feature/code-cleanup
Cleanup code, add more unit tests, prepare for beta
2017-11-03 21:42:03 -04:00
Dane Everitt
0b08c01668
Add beta warnings 2017-11-03 20:40:51 -05:00
Lance Pioch
2670147565 Add Translations for Spanish (#644) 2017-11-02 18:58:24 -04:00
Dane Everitt
79decafdc8
Update all the middlewares 2017-10-29 12:37:25 -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
1216f950e2
Prevent deletion of options that have children attached to them.
closes #562
2017-09-30 12:54:09 -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
Dane Everitt
8722571037
Finish console command cleanup 2017-09-22 21:19:57 -05:00
Dane Everitt
68cc71ecfe
Merge branch 'develop' of https://github.com/Pterodactyl/Panel into develop 2017-09-22 00:30:11 -05:00
Dane Everitt
6e5b0b8027
Update command unit tests to use helper functions 2017-09-22 00:30:09 -05:00
Lance Pioch
0f07d6bcf5 The nodes create page will redirect you to the locations page if you don't have a location, the concept is the same here (#640) 2017-09-21 13:05:55 -10: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
2f696ddd6e Have the auth notice only take up one line (#631) 2017-09-20 19:30:02 -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
ccda2b63fa
Add more CLI commands for panel management 2017-09-19 22:10:14 -05:00
Dane Everitt
c5f2dfd6f6
Begin adding schedule processing jobs. 2017-09-16 23:10:00 -05:00
Dane Everitt
4de326ad02
Add command to disable 2FA for a user account. 2017-09-16 18:50:12 -05:00
Jakob
e42b01c139 Merge pull request #628 from metallicgloss/develop
Tiny spelling correction.
2017-09-16 14:45:50 +02:00
Dane Everitt
22459a877a
Add test for make user command and add admin option 2017-09-15 23:46:22 -05:00
Dane Everitt
542d1f8db7
Add new location and user management via CLI 2017-09-15 22:13:33 -05:00
William Phillips
ffae1eac06 Tiny spelling correction.
Correction of 'lowecase' to 'lowercase'.
2017-09-16 01:26:34 +01:00
Dane Everitt
a498bbc7d5
Move location service to match other services 2017-09-15 00:16:03 -05: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
b12f6f1156
Tests for RemoteRequestController 2017-09-04 14:34:38 -05:00
Dane Everitt
54554465f2
Add more front-end controllers, language file cleanup 2017-09-03 16:32:52 -05: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
f451e4dc47
Begin unit tests for repositories 2017-08-26 19:58:24 -05:00
Dane Everitt
74ea1aa0aa
Push subuser creation service 2017-08-23 21:34:11 -05:00
Dane Everitt
3ee5803416
Massive PHPCS linting 2017-08-21 22:10:48 -05:00
Dane Everitt
cdfbc60030
Push pack services and fix for failing tests 2017-08-20 19:23:50 -05:00
Dane Everitt
280633b28a
More service classes for pack management 2017-08-19 20:40:00 -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
7277f728a9
Complete migration of node controllers/repositories to new service structure 2017-08-08 21:21:10 -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
275c01bc37
Update user service to be more separated 2017-08-04 19:11:41 -05:00
Dane Everitt
8daec38622
Complete base implementation of services for administrative server creation 2017-07-24 21:34:10 -05:00
Dane Everitt
f842aae3d3
Add build modification settings, fix exception handling to log to file 2017-07-23 19:57:43 -05:00
Dane Everitt
5144e0126b
Add support for more server functionality 2017-07-23 14:51:18 -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