Commit Graph

207 Commits

Author SHA1 Message Date
Dane Everitt cf90f56777
Merge branch 'develop' into feature/vuejs-auth 2018-05-26 12:17:14 -07: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
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 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
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
Dane Everitt c3e462ab2f
Cleanup login/reset functionality, address security issue with 2FA pathways 2018-04-07 16:17:51 -05:00
Dane Everitt 324b989a29
Get a working rough copy of the login page 2018-04-01 17:46:16 -05:00
Dane Everitt 598bae7b70
Add translations to vue files 2018-03-31 16:33:10 -05:00
Kainick b65b795127 Update auth.php (#1075) 2018-03-22 09:28:10 -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
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 40c74ae1e7
Add validation to prevent invalid ports, closes #1034 2018-03-10 13:10:40 -06:00
Dane Everitt 3a5d21f455
Filemanager cleanup 2018-03-08 21:30:07 -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
ShadowKitten f46a97cd29 Fix language files after permission change. (#979) 2018-02-25 10:59:11 -06:00
ShadowKitten d8be167a9c Add support for allowing subusers to access SFTP. (#918) 2018-02-17 16:10:44 -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 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 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 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 0acc260b81
Change order that allocations are loaded in on the allocation listing 2018-01-08 22:21:35 -06:00
Dane Everitt 036bea2b94
Update schedule process to allow toggling/triggering via UI 2018-01-08 21:43:10 -06:00
Dane Everitt 1b9b92ac62
Cleanup settings use in panel. 2017-12-30 16:33:00 -06:00
Dane Everitt 285485d7b0
Change how API keys are validated (#771) 2017-12-03 14:29:14 -06:00
Dane Everitt 975597b4d0
Implement changes to administrative user revocation, closes #733 2017-12-03 14:00:47 -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
Dane Everitt 69cd330eb8
Fix setup command issues 2017-11-04 16:27:15 -05:00
Dane Everitt 79decafdc8
Update all the middlewares 2017-10-29 12:37:25 -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 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 df87ea0867
This breaks literally the entire panel. 2017-10-06 23:57:53 -05:00
Dane Everitt 6269a08db7
Finalize service option import/export 2017-10-03 23:31:04 -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
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 2f696ddd6e Have the auth notice only take up one line (#631) 2017-09-20 19:30:02 -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 7f76684453
More schedule changes 2017-09-13 21:46:43 -05:00
Dane Everitt 2ac90b50f2
Begin refactoring Tasks to be apart of the Scheduler system 2017-09-12 23:45:19 -05:00
Dane Everitt bab28dbc85
Initial implementation of new task mgmt system 👮 2017-09-09 23:55:21 -05:00
Dane Everitt dc310ffdea
Finish subuser controller 2017-09-04 18:12:13 -05: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 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
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 9f46dbc88d
Push language fixes 2017-06-18 20:16:23 -05:00
Matthew Hatcher 59c2c6d149 Fixing spelling error. (#495) 2017-06-16 01:19:27 -05:00
Michael (Parker) Parker e640164b31 More typos 2017-05-29 15:49:46 -04:00
Michael (Parker) Parker 9773ce4633 Clearing up language 2017-05-29 11:45:05 -04:00
Hunter Wignall a35788da34 LANG: Missing 'A' in 'Allows' (#402) 2017-04-23 16:30:32 -04:00
Hunter Wignall d76bcf4cf9 Set drop-down menu option to be same as help text below (#400) 2017-04-21 22:46:06 -04:00
kasper Franz 2006920427 added a check if the task has run yet (#385)
* added a null check on the last_run

* corrected a mistake made when changing the file

* another mistake :/

* changed to be less specific and so it checks against the value instead of >
2017-04-17 12:03:11 -04:00