Commit Graph

878 Commits

Author SHA1 Message Date
Dane Everitt ee9a34716d
Add navigation to vue, improve responsiveness of the design 2018-06-02 23:15:10 -07:00
Dane Everitt be5a9108f9
Dont refresh server statuses unless the page is active
Reduces the number of polling requests happening on the server by only sending those requests if the user is actively viewing the dashboard.

There was no point in updating the resource usage if no one is viewing it. After 30 seconds away from the window when a user comes back it will update instantenously, otherwise it'll just update after 5 seconds.
2018-06-02 22:23:54 -07:00
Dane Everitt 02b29a66ea
Use client API to get resource use for a server 2018-06-02 19:08:53 -07:00
Dane Everitt bcd3b055dd
Break out the server box into a component 2018-06-02 17:41:06 -07:00
Dane Everitt 0d56ed19a7
Fix flash margins on login page 2018-06-02 17:15:04 -07:00
Dane Everitt 6b2649ad2c
Merge branch 'feature/vuejs' into feature/vuejs-serverlist 2018-06-02 17:12:45 -07:00
Dane Everitt 6005def7bc
Merge branch 'feature/vuejs' into feature/dusk-vuejs 2018-06-02 17:06:30 -07:00
Dane Everitt dec969bf9f
Fix checkpoint behavior to only work when a token is provided 2018-06-02 17:01:54 -07:00
Dane Everitt 4209be021e
Add handlers for non-successful responses from the panel 2018-06-02 16:59:16 -07:00
Dane Everitt 92c03d4953
Add tests for password reset page functionality 2018-06-02 16:39:49 -07:00
Dane Everitt e0d67ff857
Merge branch 'feature/vuejs' into feature/vue-serverview 2018-05-31 23:01:24 -07:00
Dane Everitt 316bb9c11e
Merge branch 'feature/vuejs' into feature/dusk-vuejs 2018-05-31 23:00:08 -07:00
Dane Everitt 6c598f9100
Merge branch 'feature/vuejs' into feature/vuejs-serverlist 2018-05-31 22:59:39 -07:00
Dane Everitt 5f70502f20
Merge branch 'develop' into feature/vuejs 2018-05-31 22:59:16 -07:00
Dane Everitt fd8d7c3571
Merge pull request #1130 from stanjg/feature/stats-page
Added a statistics page to monitor the panel usage
2018-05-31 22:56:58 -07:00
Dane Everitt 8aadc62882
Merge branch 'develop' into feature/node-maintenance 2018-05-31 22:49:07 -07:00
Lance Pioch 357c9e1aed Enable undo history after loading initial file and fix #1159 (#1180) 2018-05-31 22:43:18 -07:00
Dane Everitt f8fa62e3d6
First round of authentication tests 2018-05-31 22:42:52 -07:00
Matthew Penner 6e6ce652b2 Fix logo-mini image (#1183) 2018-05-31 20:35:24 -07:00
Jakob Schrettenbrunner c58ef1f8a8 Merge branch 'feature/vuejs-serverlist' into feature/vue-serverview 2018-05-31 18:26:07 +02:00
stanjg 013dde75ae
Renamed the field and made some improvements 2018-05-31 16:34:35 +02:00
Dane Everitt 9831adb91c
Cleanup dashboard, make flash more customizable for pages 2018-05-28 16:28:36 -07:00
Dane Everitt caa0d21ac9
Handle state mutations for users better in Vuex 2018-05-28 15:37:09 -07:00
Jakob Schrettenbrunner 11d96c44d1 Merge branch 'feature/vuejs-serverlist' into feature/vue-serverview 2018-05-29 00:04:51 +02:00
Jakob Schrettenbrunner 378a1859cf Merge branch 'feature/vuejs-serverlist' into feature/vue-serverview 2018-05-29 00:04:41 +02:00
Dane Everitt a1444b047e
Fix JWT handling for API access when logging in 2018-05-28 14:59:48 -07:00
Dane Everitt aa61afb58f
Add proper server models 2018-05-28 14:11:23 -07:00
Dane Everitt 6e5c365018
Use the client API to load servers on the listing page 2018-05-28 13:23:40 -07:00
Dane Everitt ad69193ac0
Add JWT to login forms 2018-05-28 12:48:42 -07:00
Dane Everitt 47c1ecc9bc
Make server blocks clickable, break out routes into their own file 2018-05-28 11:34:24 -07:00
Jakob Schrettenbrunner 89f47c6dbb mocked server page and better navigation and overall layout 2018-05-28 00:37:03 +02:00
Jakob Schrettenbrunner d2c770d218 add new favicon 2018-05-28 00:35:54 +02:00
Dane Everitt 6f2fcabf22
Add very basic server search and dynamic rendering functionality 2018-05-26 23:17:02 -07:00
Dane Everitt f337a89320
Add search bar to dash 2018-05-26 22:19:33 -07:00
Dane Everitt d78189df23
Improve dash design 2018-05-26 22:09:29 -07:00
Dane Everitt 9d8830a2d7
Get initial mockup of new server list up 2018-05-26 17:20:36 -07:00
Dane Everitt 64175ce35a
Tweak colors 2018-05-26 16:11:44 -07:00
stanjg 60e1ffa564
Added a test for the controller and cleaned up the controller 2018-05-27 00:16:13 +02:00
Dane Everitt 0b7dbd65ff
Final cleanup 2018-05-26 15:00:41 -07:00
Dane Everitt 7a077f3281
Remove the flash plugin store correctly 2018-05-26 14:59:58 -07:00
Dane Everitt 0a706d1b45
Add custom flash library that works as expected 2018-05-26 14:50:38 -07:00
Dane Everitt bab20812a0
More UI fixes for consistency 2018-05-26 13:06:41 -07:00
Dane Everitt b35eb77a70
Remove the pterodactyl directory when handling assets
This supports moving away from multiple-theme support in the Panel since that is no longer going to be offered.
2018-05-26 12:33:27 -07:00
Dane Everitt cf90f56777
Merge branch 'develop' into feature/vuejs-auth 2018-05-26 12:17:14 -07:00
stanjg 7a81c61ad8
Wording changes and fix of major fail last commit 2018-05-26 21:02:47 +02:00
Dane Everitt e648e50d90
Write some example tests for @stanjg 2018-05-26 11:00:28 -07:00
Dane Everitt e3bbd85f3f
Merge branch 'develop' into pr/1129 2018-05-26 10:34:29 -07:00
Dane Everitt 0e1b4661ce
Don't allow access to manage page if server failed installing 2018-05-23 22:23:26 -07:00
Leon Baronick 866c2f6a89 Changed "User" to "Benutzer" in the whole German localization 2018-05-23 13:05:03 +02:00
Leon Baronick e2370fb22f Fixed typos and made minor changes 2018-05-23 13:00:04 +02:00
Leon Baronick e6dd67b6ee Fixed typo in auth.php 2018-05-23 12:20:28 +02:00
Leon Baronick a69a067fbc Fix mistakes in the German lang files and add missing translations 2018-05-22 22:09:16 +02:00
Lance Pioch 608ad33d31 Spellcheck themes 2018-05-13 11:12:29 -04:00
Lance Pioch c6c37e1b88 occurred 2018-05-13 11:12:25 -04:00
Lance Pioch 84edec6323 Spelling fixes in the english translation 2018-05-13 11:12:19 -04:00
Lance Pioch 351099ccf5 Rename identitity to identity 2018-05-13 11:12:12 -04:00
stanjg 06a67bb4bb
Cleaned up some duplicate code 2018-05-05 10:39:20 +02:00
stanjg ee50da0a7c
Fixed a typo 2018-05-04 23:35:45 +02:00
stanjg 28a97fea54
Polished it up 2018-05-04 22:48:43 +02:00
stanjg 93a7d11c28
Made a base 2018-05-04 18:45:37 +02:00
stanjg f39720f15d
Made it display 'maintenance' on the index page 2018-05-04 15:16:14 +02:00
stanjg baea1d6191
Added the option to toggle, and made it display on the details page 2018-05-04 15:13:34 +02:00
stanjg 86c8ecdcdf
Added the actual logic 2018-05-04 15:02:51 +02:00
DoNotSpamPls 7cf79a12cb Don't show OOM Killer status on the Server View page (#1119) 2018-04-29 17:45:13 -07:00
Dane Everitt b6e94d9a1e
Code cleanup 2018-04-08 16:00:52 -05:00
Dane Everitt 6d970a4cc3
Finalize login page! 2018-04-08 15:46:32 -05:00
Dane Everitt d63624f607
Working login form with password reset functionality. 2018-04-08 15:18:13 -05:00
Lance Pioch 28052d5943 Fix html closing tags (#1100) 2018-04-08 13:27:42 -05:00
Dane Everitt c3e462ab2f
Cleanup login/reset functionality, address security issue with 2FA pathways 2018-04-07 16:17:51 -05:00
Dane Everitt eade81f89b
Untrack build assets 2018-04-07 14:06:30 -05:00
Joshua Homer 6316cfe2af Fix typo: update wether to whether (#1098) 2018-04-07 12:04:13 -05:00
Dane Everitt 324b989a29
Get a working rough copy of the login page 2018-04-01 17:46:16 -05:00
Dane Everitt 94710934b9
Add csrf component 2018-03-31 16:44:20 -05:00
Dane Everitt 598bae7b70
Add translations to vue files 2018-03-31 16:33:10 -05:00
Dane Everitt 791cbaa5ce
Get things into a somewhat working state on the login form 2018-03-31 15:52:11 -05:00
Dane Everitt 8d704ae5c8
Inital commit with gulp and base asset setup 2018-03-27 00:44:14 -05:00
Stan f1a76ec7fd Add description field to nodes (#1065) 2018-03-26 13:57:24 -05:00
Kainick b65b795127 Update auth.php (#1075) 2018-03-22 09:28:10 -05:00
SagnikSRHUSE 99d82a52d5 Little typo + grammar errors in the desc fixed (#1055) 2018-03-17 15:16:39 -05:00
Dane Everitt b96c2d16ee
Added validation to variable validation rules to validate that the validation rules are valid
closes #988
2018-03-17 15:09:09 -05:00
Dane Everitt bac02f64e3
close #1047 2018-03-17 12:38:29 -05:00
SagnikSRHUSE 569463301d Simple typo fix (#1054)
unlimmited >> unlimited
2018-03-13 16:58:55 -05:00
Stan d21c34f8de Fix typo in base.php (#1051)
`Accout API` should be `Account API`
2018-03-12 14:03:42 -05:00
Dane Everitt 21cd0688e0
Added giant warning message if you attempt to change an encryption key once one has been set. 2018-03-10 15:18:24 -06:00
Dane Everitt f8e98e9c9e
Add ability to change server name, closes #563 2018-03-10 14:44:21 -06:00
Dane Everitt 08a112f027
Include trailing slash on modal, closes #864 2018-03-10 13:19:46 -06:00
Dane Everitt 40c74ae1e7
Add validation to prevent invalid ports, closes #1034 2018-03-10 13:10:40 -06:00
Dane Everitt 7b34dab453
Attempt again to load egg settings 2018-03-08 21:37:30 -06:00
Dane Everitt 4c26d09145
Wait for window load to set the egg 2018-03-08 21:33:44 -06:00
Dane Everitt 7c037e28fc
Merge branch 'develop' of https://github.com/Pterodactyl/Panel into develop 2018-03-08 21:30:22 -06:00
Dane Everitt 3a5d21f455
Filemanager cleanup 2018-03-08 21:30:07 -06:00
CodeHat cee656fd5c Feature/PTDL-1030 (#1033)
* Swap reCAPTCHA secret key position with website key
2018-03-08 09:21:55 -06:00
Lance Pioch 018a7a658c Fix #1018 with nav color change (#1020) 2018-03-06 23:11:24 -06:00
Dane Everitt d3f797bf2a
fix view-allocations permissions check in templates, closes #1021 2018-03-06 21:57:00 -06:00
Dane Everitt c9e874d3ae
Fix UI error changing a server's service, closes #1019 2018-03-06 21:53:05 -06:00
Dane Everitt a31334c0c5
Fix SQl queries being executed unnecessarily when listing servers 2018-03-03 18:00:23 -06:00
Dane Everitt eaf54a8c63
Search term is now passed through when using paginated result sets 2018-03-03 17:57:12 -06:00
Dane Everitt c739f292e4
paginate databases when viewing a host 2018-03-03 17:52:35 -06:00
Dane Everitt b53df2b271
Fix application keys being created as client keys, closes #1016 2018-03-03 16:56:46 -06:00
Dane Everitt dff7e8f734
Fix server creation in UI and API 2018-03-02 23:11:30 -06:00
Dane Everitt 021710aa1c
Add bulk power management via CLI 2018-03-02 20:58:58 -06:00
Dane Everitt bcb69603ad
Add support for user management of databases 2018-03-02 19:03:55 -06:00
Dane Everitt 07893effa3
Add initial go at user created databases for servers, still needs cleaning 2018-03-01 21:27:37 -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 9b93629f45
Add UI for client API keys 2018-02-28 23:30:39 -06:00
Dane Everitt fa997b9e0d
Change default enter behavior on forms to not be delete 2018-02-25 16:21:50 -06:00
ShadowKitten f46a97cd29 Fix language files after permission change. (#979) 2018-02-25 10:59:11 -06:00
Dane Everitt a1e704d3a7
Add back server sidebar list 2018-02-24 13:58:48 -06:00
Dane Everitt 807521b97c
Fix schedules with no names being uneditable 2018-02-24 12:04:14 -06:00
Dane Everitt 633bba6d6e
Add support for external_id on servers, closes #975 2018-02-24 11:57:12 -06:00
Dane Everitt 0341dbdfad
Add very basic cache busting 2018-02-18 15:15:53 -06:00
Dane Everitt 4b9f025e98
Fix exception when trying to edit a host, ref #957 2018-02-18 14:10:12 -06:00
Dane Everitt 049a539d46
Remove beta notice 2018-02-17 16:48:02 -06:00
ShadowKitten d8be167a9c Add support for allowing subusers to access SFTP. (#918) 2018-02-17 16:10:44 -06:00
Dane Everitt c8d0286ec4
Small UI tweaks 2018-02-17 14:41:32 -06:00
Dane Everitt a9c1946319
Add support for finding a user by external ID. 2018-02-07 21:56:11 -06:00
Dane Everitt d4d9eda57a
Add schedule edit support 2018-02-04 13:51:24 -06:00
Dane Everitt c0abf64f83
Disable account API until it is implemented 2018-01-30 22:46:56 -06:00
Dane Everitt b0c8390529
Fix display of multi-word keys 2018-01-30 20:40:34 -06:00
Dane Everitt 5ed164e13e
Implement server creation though the API.
Also implements auto-deployment to specific locations and ports.
2018-01-28 17:14:14 -06:00
Dane Everitt 8dcab927e5
Merge branch 'develop' into feature/api-v1 2018-01-21 14:31:32 -06:00
Dane Everitt 2212f28351
Don't break the page if no variable rules are provided. 2018-01-21 11:58:59 -06:00
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