Commit Graph

82 Commits

Author SHA1 Message Date
Jan-Luca Bogdan | BEL NET GmbH
a5eeca7d9a Changed formating and print method
- Changed formating to have no lines longer than 120 characters
- replaced print() with richt_print_error() to print formatted error message
2022-07-19 10:17:59 +02:00
Shiraz
18ca3104a5 Handle Spiget api errors
so plugins with special characters such as "InvSee++" don't crash pluGET
due to unexpected Spiget api data structure response:
{'error': '', 'msg': ''}

Root cause may be special chracters not being URL-escaped by Spiget
2022-07-09 19:59:44 +01:00
Shiraz
8227c12bf1 Only rename console title on Windows
Prevent "sh: line 1: title: command not found" error on Linux
2022-07-09 10:17:21 +01:00
Jan-Luca Bogdan | BEL NET GmbH
0e09daae53 Added new help command
- added new help command
- fixed some formating issues
2022-07-04 15:55:08 +02:00
Jan-Luca Bogdan | BEL NET GmbH
6b926c9564 Added plugin remover 2022-07-04 14:43:26 +02:00
Jan-Luca Bogdan | BEL NET GmbH
119d44631f Added support for purpur serverjar updating
- Added support for purpur updating and checking #43
- Removed get_installed_mc_version function which isn't needed anymore
2022-07-04 12:36:34 +02:00
Neocky
0bac45d478 Renamed main file and removed old src 2022-07-02 19:21:14 +02:00
Neocky
2ba9e6ddb7 Added serverjar updating
Added serverjar updating: paper, waterfall, velocity
2022-07-02 19:15:15 +02:00
Jan-Luca Bogdan | BEL NET GmbH
9e74d480dd Added first serverjar handling 2022-06-30 16:45:28 +02:00
Jan-Luca Bogdan | BEL NET GmbH
0b10a76a3b Added version lookup for egg_cracking_jar 2022-06-29 16:00:55 +02:00
Jan-Luca Bogdan | BEL NET GmbH
9b2ff6e208 Added egg cracking jar support 2022-06-28 17:02:33 +02:00
Neocky
e17be2c500 Added tests for function in update_checker 2022-06-26 18:11:19 +02:00
Jan-Luca Bogdan | BEL NET GmbH
fb52973cf6 Added seperate download function for sftp/ftp 2022-06-22 15:26:45 +02:00
Jan-Luca Bogdan | BEL NET GmbH
3219e32351 Added part of update functionality 2022-06-22 12:58:48 +02:00
Jan-Luca Bogdan | BEL NET GmbH
041d7aa240 Added sftp & ftp functionality back 2022-06-21 17:01:03 +02:00
Jan-Luca Bogdan | BEL NET GmbH
96b4411020 Added better error handling to download function 2022-06-21 09:57:52 +02:00
Jan-Luca Bogdan | BEL NET GmbH
8620dfbe74 Added experimental update checker 2022-06-20 17:21:58 +02:00
Jan-Luca Bogdan | BEL NET GmbH
84fcfc8922 Added new spiget downloader
Added new spiget downloader for plugins with progress bar and error handling for Issue #46
2022-06-17 12:51:32 +02:00
Neocky
d427886c49 Added search function 2022-06-16 22:35:54 +02:00
Neocky
e229324117 Changed indention from tab to space 2022-06-16 21:26:43 +02:00
Jan-Luca Bogdan | BEL NET GmbH
7f2404f0cd Created packages, testcases and better error handling
Created python packages and added first test cases. Added better error handling when api call returns None and created start of requirements function.
Moved rich_print_error() to console_output.py
2022-06-16 17:05:40 +02:00
Neocky
3943357569 Added plugin downloader capabilities
Added plugin downloader capabilities and added full console argument support.
Fixed #46 and added error handling for it
2022-06-12 20:03:36 +02:00
Neocky
ac139ed048 Added input handling and first utilities 2022-06-07 22:40:27 +02:00
Neocky
8e51b1976d Added OS independent installer and finished console output 2022-06-04 16:33:46 +02:00
Neocky
4920689f0e finished config handling and started new console output
Finished the yaml config handling and started console handling output
2022-06-04 00:08:10 +02:00
Neocky
993d438ff7 Started the new config handling
Implemented new and not complete config handling and implemented command parameter support
2022-06-02 19:52:49 +02:00
Neocky
3bcb3de4cf Fixed error when searching for plugins
Changes:
- fixed bug when searching for plugins where the name couldn't be sanitized
- fixed bug when searching for plugins with numbers in name
2021-08-26 19:24:17 +02:00
Neocky
9a70733421 Changed description for FTP Port support 2021-08-07 18:58:23 +02:00
TheDudeFromCI
1c74d8501c
Apply suggestions from code review
Co-authored-by: Neocky <Neocky@users.noreply.github.com>
2021-08-04 19:52:10 -07:00
TheDudeFromCI
9289872831
Removed warning in default config 2021-08-03 03:01:51 -07:00
TheDudeFromCI
0c3bace49e
Added custom port support for ftp access 2021-08-03 03:00:23 -07:00
Neocky
2e459cafe2 Fixed spelling
Changes:
- fixed uppercase variable name
2021-08-01 15:10:36 +02:00
Neocky
1ff34a7372 Fixed ftp file or folder check
Changes:
- fixed issue where it couldn't detect if it would be a file or folder with ftp
2021-08-01 15:06:55 +02:00
Neocky
367ee5be42 Fixed that update all could fail and changed output colors and fixed get-paper command
Changes:
- fixed update all could fail and stop program when the file couldn't be downloaded
- changed colors from `check all` so that green means on latest version and red outdated
- fixed get-paper command
- changed latet version from paper to 1.17.1
- code cleanup
2021-07-18 14:51:02 +02:00
Neocky
abf07e8301 Fixed issues and fixed spelling
Changes:
- Fixed #33
- Fixed #34
- Fixed #35
- Input for update confirmation can also be uppercase now
- fixed spelling
- some code cleanup
2021-07-14 21:26:06 +02:00
Neocky
50038c4474 Fixed issue with seperate download path for sftp, ftp & local
Changes:
- fixed issue when updating with the activated option of a seperate download path
- removed leftover debug output
2021-06-27 01:46:15 +02:00
Neocky
496334a2fa Fixed check with seperatedownloadpath issue
Changes:
- fixed issue with seperate downloadpath and checking
2021-06-22 00:08:57 +02:00
Neocky
42be836928 Fixed wrong folder was used when trying to download plugin
Changes:
- fixed wrong folder use while downloading plugins
- made code a little bit cleaner
2021-06-21 10:18:52 +02:00
Neocky
1e7b30a1be Changed output when checking and removed debug output
Changes:
-removed update available columm and integrated it with colors of the plugin name
- removed leftover debug output
2021-06-20 13:54:15 +02:00
Neocky
2a416bbbc2 Added conformation for updateing and fixed serverjar issues
Changes:
- updated paper checker to 1.17
- added conformation when updating plugins
- added error handling
- added changlog as optional param for the check command
- fixed problems with paper updated
- updated help
- removed debug output
- removed unnecesary commnents
2021-06-20 00:36:36 +02:00
Neocky
456a0e185a Merged all and individual checking/updating of plugins
Changes:
- added fail check with api connection
- added localFileName to INSTALLEDPLUGINLIST
- merged checking/updating plugins
2021-06-19 18:01:05 +02:00
Neocky
f4361ad137 Fixed bug when plugin wasn't found with description 2021-06-19 13:47:12 +02:00
Neocky
41527926b2 Fixed TypeError while checking for updates & added update notes test
Changes:
- fixed TypeError when folder in plugin folder had .jar in name
- added update notes test to check all
2021-06-12 17:03:55 +02:00
Neocky
93818b90d7 Removed . in initial config for SFTP 2021-05-30 19:00:09 +02:00
Neocky
2712bd5be6 Added .jar validation to SFTP/FTP
Changes:
- added `.jar` file validation to SFTP/FTP
- cleanup of old code
2021-05-30 18:52:35 +02:00
Neocky
3ad7753674 Added skip when file is not .jar file
Changes:
- added skipping file if not .jar file
- removed some unneceessary config lookups
- updated regex
2021-05-29 20:42:02 +02:00
Neocky
764e8bcb81 Fixed JsonDecodeError & Better pluginnames
Changes:
- fixed JsonDecodeError when filename had many special characters in it
- fixed version & name wouldn't get detectet when plugin.yml file would have whitespaces in the beginning
- better output of plugin names when checking & updating
2021-05-28 23:52:16 +02:00
Neocky
afbc3e8029
Merge pull request #18 from ZandercraftGames/main
Error Handling To Address Paper Check Crashes
2021-05-19 21:08:45 +02:00
Zander
a08aab7ae4
Made paperVersionBehind display "N/A" instead of "False" for more clarity. 2021-05-15 19:05:29 -04:00
Zander
b31cca5e31
Fix findLatestBuild check returning false on a successful API response. 2021-05-15 19:02:09 -04:00