Commit graph

1033 commits

Author SHA1 Message Date
Dane Everitt
b731659135
Finish up deletion logic 2018-08-26 14:11:18 -07:00
Dane Everitt
039650bf75
More animate 2018-08-26 14:05:10 -07:00
Dane Everitt
5170d40bb2
Cleaner animation 2018-08-26 14:03:43 -07:00
Dane Everitt
e906ada528
Better handling when deleting a database 2018-08-26 14:01:00 -07:00
Dane Everitt
9be2aa4ca9
Push beginning of DB deletion stuff 2018-08-25 14:43:21 -07:00
Tom Chilvers
1c6159f46b Typo (#1298) 2018-08-23 10:34:04 -07:00
Dane Everitt
c28e9c1ab7
Add ability to create new database through the UI 2018-08-22 22:29:20 -07:00
Dane Everitt
17796fb1c4
Add basic database listing for server 2018-08-21 21:47:01 -07:00
Dane Everitt
04f56ffe99
Cleanup 2018-08-18 22:03:38 -07:00
Dane Everitt
cf32742132
More file manager updates 2018-08-18 22:03:19 -07:00
Dane Everitt
58f8ec338b
Cleanup 2018-08-18 21:13:05 -07:00
Dane Everitt
68b23de55d
Significantly less atrocious resource checking for servers... 2018-08-18 21:02:58 -07:00
Dane Everitt
dc52e238ac
Change socket implementation for servers 2018-08-18 20:13:40 -07:00
Dane Everitt
e0fda5865d
Add initial logic for rendering the context menu 2018-08-14 22:27:25 -07:00
Dane Everitt
5aa57e0681
Break out file manager file/directory rows into individual components 2018-08-14 21:17:10 -07:00
Dane Everitt
e9f8751c4c
More filemanager work, directory browsing working 2018-08-13 22:58:58 -07:00
Dane Everitt
ceef2edf2e
Add error handling for file manager 2018-08-13 21:06:11 -07:00
mrkrabs
24b213fbc6 change smtp.google.com to smtp.gmail.com (#1281) 2018-08-13 10:00:05 -07:00
Dane Everitt
92a9146b61
Improve filemanager, get first level folders listing 2018-08-06 23:14:13 -07:00
Dane Everitt
00a3d7df87
Properly handle the console when the socket disconnects/reconnects 2018-08-06 22:21:13 -07:00
Dane Everitt
f20d40460e
Better handling of connection errors 2018-08-06 21:33:43 -07:00
月光兔-lunarbunnys
a8373ec726 Add Simplified Chinese translation for the panel (#1263)
* Add Simplified Chinese translation for the panel

* Update passwords.php

* The pterodactyl theme incomplete translation.Part 1.

* Deleteing pterodactyl theme translation.
2018-08-06 17:15:03 -07:00
Dane Everitt
f1ec968f38
Add beginning of the file manager 2018-08-03 22:32:01 -07:00
Dane Everitt
ce77ab21b3
Rearrange 2018-08-03 21:32:50 -07:00
Dane Everitt
7e6902cc90
Adjustments to the UI 2018-08-03 21:30:06 -07:00
Dane Everitt
c772376aa7
Add the expected buttons, reset color on each line 2018-08-03 20:48:27 -07:00
Jakob Schrettenbrunner
4c357e9231 add color scheme to termx on ConsolePage 2018-08-02 21:56:23 +02:00
Dane Everitt
38d7985e66
More socket and console improvements for server 2018-08-01 23:37:14 -07:00
Dane Everitt
f866ad5b34
Fix spinners, change socket emit names 2018-08-01 21:10:28 -07:00
Alex
5d9d4da5da Use appropiate infinity signs (#1260) 2018-08-01 09:03:36 -07:00
Dane Everitt
5ca6538965
Autofocus search box when navigating to dashboard 2018-07-21 22:43:16 -07:00
Dane Everitt
034e759298
Show a spinner on the console when loading the contents initially 2018-07-21 22:37:41 -07:00
Dane Everitt
71d2a648ca
Fix spinner component to allow it to be positioned correctly 2018-07-21 22:31:03 -07:00
Dane Everitt
b9368eca45
Reset history to end when command is sent 2018-07-21 16:23:15 -07:00
Dane Everitt
3a97a89d20
Add command history 2018-07-21 16:22:41 -07:00
Dane Everitt
38d50c8fc2
Hide the cursor entirely 2018-07-21 15:26:54 -07:00
Dane Everitt
a94c6d80f5
Add xterm for console support (holy shit this is speedy) 2018-07-21 15:20:37 -07:00
Dane Everitt
c2ebf1cbcd
Neaten up the console a bit more 2018-07-21 00:04:56 -07:00
Dane Everitt
2744280362
Styling tweaks 2018-07-20 23:49:12 -07:00
Dane Everitt
8db9d9bbee
Very rough go at connecting to socket and rendering console data for server 2018-07-20 23:45:07 -07:00
Dane Everitt
784c73becd
Break console page into a component 2018-07-20 22:34:30 -07:00
Dane Everitt
2ab66ba8c8
Add logic to load server data into vuex for the request when visiting a server page 2018-07-18 22:48:19 -07:00
Dane Everitt
a42280dd84
Begin working on sidebar styling for server view 2018-07-15 19:47:31 -07:00
Dane Everitt
92905a6c2a
Add the server routes 2018-07-15 19:03:38 -07:00
Dane Everitt
79ea4cbe1a
Correct N+1 utilization checking 2018-07-15 18:11:29 -07:00
Dane Everitt
7f5485d648
Fix dashboard to track server state 2018-07-15 17:53:40 -07:00
Dane Everitt
8b3713e3ff
FOrmat and disable server store temporarily 2018-07-15 17:09:53 -07:00
Dane Everitt
d0348a4505
Fix 2FA on login 2018-07-15 17:09:41 -07:00
Dane Everitt
4c4f6d3afe
Fix login 2018-07-15 16:57:00 -07:00
Dane Everitt
ca27346e49
Remove empty css 2018-07-15 16:51:27 -07:00
Dane Everitt
f2d2725ca0
Merge branch 'feature/vuejs' into feature/vue-serverview 2018-07-15 16:50:11 -07:00
Dane Everitt
d9a09e92bd
Add tests for all of the account actions 2018-07-15 15:58:24 -07:00
Dane Everitt
be2c76c24a
Add tests for password changing 2018-07-15 11:44:18 -07:00
Dane Everitt
6336e5191f
Strip out JWT usage and use cookies to track the currently logged in user 2018-07-14 22:42:58 -07:00
Dane Everitt
a44b4c4426
Fix changing email address error handling 2018-07-14 22:03:19 -07:00
Dane Everitt
8b9c2465f3
Correct behavior of errors on the login form 2018-07-14 21:26:08 -07:00
Dane Everitt
ec8e434375
Set the 2fa image to always have a consistent height, less jarring transition 2018-07-04 19:00:20 -07:00
Dane Everitt
5010c0c756
Merge branch 'feature/vuejs' into feature/vuejs-account 2018-07-04 18:12:57 -07:00
Dane Everitt
6419b1cf81
Handle password reset logic change for 2fa 2018-07-04 18:11:43 -07:00
Dane Everitt
603b8a3094
Merge branch 'feature/vuejs' into feature/vuejs-account 2018-07-02 21:01:04 -07:00
Dane Everitt
48cb01f438
Merge branch 'develop' into feature/vuejs 2018-07-02 21:00:42 -07:00
Jan
422e5dd99f Update strings.php (#1227)
Fixed typo.
2018-07-02 15:04:16 -07:00
Lance Pioch
b5022766df Do not keep processing the file/folder paths if the user has cancelled the operation and fix #1124 (#1177) 2018-07-01 14:42:01 -07:00
Matthew Penner
1da05a2ee2 Fix typo (#1210) 2018-06-30 13:25:51 -07:00
Stan
ad9ed5ea00 Fixed the permission (#1217) 2018-06-30 13:23:48 -07:00
Dane Everitt
7711b697ad
Finalize two-factor handling on account. 2018-06-20 23:05:35 -07:00
Dane Everitt
0cc895f2d5
Finalize email/password changing in UI 2018-06-17 16:53:24 -07:00
Dane Everitt
81da55d46b
Actually fix the endless redirect loop when the application needs a fresh JWT. 2018-06-17 15:06:34 -07:00
Dane Everitt
5c3d3f6ce9
Better support for mobile devices on login and account pages 2018-06-16 18:04:48 -07:00
Dane Everitt
074a929315
Fix icon size in production compiled assets 2018-06-16 17:05:06 -07:00
Dane Everitt
7d509e8ae5
Remove the glow on inputs in Safari/Chrome 2018-06-16 17:00:35 -07:00
Dane Everitt
462e59e330
Make modals look sane on phones 2018-06-16 16:50:18 -07:00
Dane Everitt
ac7cefb83f
Make the account page mobile friendly 2018-06-16 16:43:52 -07:00
Dane Everitt
4e4a183f48
Put the modal more at the top, looks funky in middle 2018-06-16 16:27:53 -07:00
Dane Everitt
d6959ea3dd
Add a basic modal template to be used 2018-06-16 16:25:26 -07:00
Dane Everitt
84fecb7a92
Import only the needed things from lodash 2018-06-16 15:05:36 -07:00
Dane Everitt
fce394f6bd
Change email handling and logout function 2018-06-16 14:30:20 -07:00
Dane Everitt
ca0c35bf82
Avoid getting stuck in an endless redirect loop... 2018-06-16 14:27:23 -07:00
Dane Everitt
1acedc2de2
Remove luxon completely. 2018-06-16 14:11:58 -07:00
Dane Everitt
e7faf979a1
Change login handling to automatically redirect a user if their session will need renewal. 2018-06-16 14:05:39 -07:00
Dane Everitt
24bb8da43d
Fix CSS issue with login page due to input classes 2018-06-16 12:43:32 -07:00
Dane Everitt
b8b9acd0e6
Get the base email update working through the API.
Still going to need to determine the best course of action to update the token on the client side.
2018-06-11 22:56:57 -07:00
Dane Everitt
14927c3e7e
Add base UI for account management 2018-06-11 22:36:43 -07:00
Dane Everitt
e5e66fdb58
Fix error handling in dashboard 2018-06-11 20:42:01 -07:00
Jakob Schrettenbrunner
05478e3277 Merge branch 'feature/vuejs' into feature/vue-serverview 2018-06-11 21:06:12 +02:00
Dane Everitt
03c83c084a
Revert use of cookies, go back to using a JWT 2018-06-06 22:49:44 -07:00
Dane Everitt
871147f2d9
Remove old storage 2018-06-06 22:18:43 -07:00
Dane Everitt
48982ecc00
Dont track ziggy, compiled asset 2018-06-06 21:46:14 -07:00
Dane Everitt
4ffe6c96ad
Fix support for hot reloading without requiring anything special in the app 2018-06-06 21:44:52 -07:00
Jakob Schrettenbrunner
cbdf4d4e1a Merge branch 'feature/vuejs' into feature/move-to-webpack 2018-06-06 22:41:15 +02:00
Jakob Schrettenbrunner
6ed46c2e75 start adding webpack-serve for hot reloading 2018-06-06 22:33:24 +02:00
Dane Everitt
5bcabbde35
Get dashboard in a more working state 2018-06-05 23:42:34 -07:00
Dane Everitt
e948d81d8a
Base attempt at using vuex to handle logins 2018-06-05 23:00:01 -07:00
Jayden Downes
5f90d841d0 Fixed Search Bar Scaling in Firefox (#1187)
Fixed scaling issue with Firefox where it would scale the search bar to 30% of the width of the box-tools container instead of 30% of the row container. (Note this is not a fix for the issue with it appearing on a separate line on mobiles).
2018-06-04 19:33:34 -07:00
Dane Everitt
80b0816718
Better support for CSS and JS 2018-06-03 19:35:50 -07:00
Dane Everitt
bbdade398a
Name files correctly 2018-06-03 18:53:27 -07:00
Jakob Schrettenbrunner
855af7cb4d commit files that were out of view 2018-06-04 00:46:24 +02:00
Jakob Schrettenbrunner
58ad7a4b27 start to properly use vuex 2018-06-04 00:45:01 +02:00
Jakob Schrettenbrunner
20472a903c merge remote changes 2018-06-03 18:31:43 +02:00
Dane Everitt
7b6c14cf7b
Don't do weird things with container height. 2018-06-02 23:38:01 -07:00
Dane Everitt
0bf4764bfb
Add navigation to the server view 2018-06-02 23:36:20 -07:00
Dane Everitt
349ec7da38
ungoof navigation 2018-06-02 23:31:30 -07:00
Dane Everitt
e65854c8c2
Merge branch 'feature/vuejs' into feature/vue-serverview 2018-06-02 23:28:55 -07:00
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
stanjg
3bb9e5e8a8 Merge branch 'develop' of https://github.com/stanjg/panel into feature/user-specific-language 2018-06-01 15:58:09 +02: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
stanjg
9ae25538c3
Made it so users can switch languages themselves 2018-05-04 13:08:41 +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