Commit graph

931 commits

Author SHA1 Message Date
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
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