Commit Graph

57 Commits

Author SHA1 Message Date
johni0702
f925d56ca2 Split mod into core, recording, replay, render[todo], paths[todo] and extras[wip] modules
Move everything to com.replaymod package
Add KeyBindingRegistry and SettingsRegistry
Recreate settings GUI with new GUI API and dynamically from SettingsRegistry
Use ReplayFile from ReplayStudio
ReplayHandler is now object oriented
Add GuiOverlay, GuiSlider and GuiTexturedButton to GUI API
Rewrite both overlays to use new GUI API
Fix size capping in vertical and horizontal layout
Allow CustomLayouts to have parents
Fix tooltip rendering when close to screen border
Allow changing of columns in GridLayout
2015-10-03 17:36:04 +02:00
johni0702
aee9d6b232 Rewrite authentication handling
Fix logout not working until restart
2015-08-31 16:16:22 +02:00
johni0702
2bc79c0140 Parse Minecraft version from CrashReport instead of using Minecraft.getVersion()
Using the getVersion() method doesn't produce consistent results (e.g. MultiMC5 changes the value). The Minecraft version in the CrashReport is hard-coded and should therefore be rather consistent.
2015-08-30 14:57:06 +02:00
CrushedPixel
c95c2f0e4c Manually unescape HTML Quote entities to be escaped quotes in the JSON to prevent MalformedJSONExceptions in the GsonApiClient 2015-08-16 18:30:17 +02:00
CrushedPixel
6e07bde07c Update the ApiClient#isVersionUpToDate method to inform the server about the Minecraft Version, which is required to determine whether a newer Mod Version for the given Minecraft Version is available 2015-08-06 13:16:12 +02:00
johni0702
6422558028 General warning cleanup 2015-07-19 16:21:56 +02:00
CrushedPixel
13314e27da Set latestModVersion to true by default so the user doesn't get an update notification if their internet failed
If in a dev environment, ApiClient#isVersionUpToDate always returns true
2015-07-15 14:45:00 +02:00
CrushedPixel
3a2c35cb22 Added Api Call checking if the Mod has the latest version and Message in Main Menu if not up-to-date
Removed unused GuiConstants Fields
2015-07-15 14:08:28 +02:00
CrushedPixel
6225d3956a Uses Lombok @NoArgsConstructor annotation instead of manually creating empty constructor in SearchQuery.java 2015-07-06 13:54:47 +02:00
CrushedPixel
5883dbc9be Added Search Tab to Replay Center | https://trello.com/c/13VNghWz/ 2015-07-05 01:43:59 +02:00
CrushedPixel
434238c61d Unescapes HTML Character Entities in API calls | https://trello.com/c/Bm2Rk57m/ 2015-07-04 21:50:57 +02:00
CrushedPixel
0743b3e1ac Added Progress Bar and Cancel Button when downloading a Replay File from Replay Center (GuiReplayDownloading) | https://trello.com/c/1ZPhwmp8/ 2015-07-04 17:13:02 +02:00
CrushedPixel
071a44e526 Uses ProgressUpdateListener interface in GuiUploadFile 2015-07-02 23:17:59 +02:00
johni0702
586a9dbe1c Lombokize FileRating 2015-06-29 22:04:00 +02:00
johni0702
a058497727 Fix all warnings
Add and make use of Lombok
Remove Mojang API
Remove ZipFileUtils
Remove StreamTools in favor of Apache IOUtils
Keyframe should be abstract all derivatives final
Replace clone in Keyframe with copy
Move some constants from GuiReplaySetttings to GuiConstants
2015-06-29 21:45:37 +02:00
CrushedPixel
e446a0cc6b Updated FileRating Holder class to fit updated get_ratings API call which now returns a boolean instead of numeric string 2015-06-29 16:02:34 +02:00
CrushedPixel
5805db984c Passes File Description to API when Uploading 2015-06-15 14:56:52 +02:00
johni0702
be4ee42dcb Add GuiTextArea
Reorder and add description to GuiUpload
2015-06-14 14:13:03 +02:00
CrushedPixel
ea968ca418 Added support for Descriptions in API Client
Added hint for Replay Name in GuiUploadFile
2015-06-04 19:26:28 +02:00
CrushedPixel
d15011eff6 Added information about online files (favorites, author etc.) to GuiReplayListEntry 2015-06-04 16:14:46 +02:00
johni0702
dd46027a3a Fix java 1.6 compatibility 2015-06-03 23:30:48 +02:00
CrushedPixel
6152104df3 Added Option to hide Server IP when uploading a Replay File 2015-06-03 20:33:26 +02:00
CrushedPixel
8efcf0bb29 Added GuiProgressBar and implemented it in GuiUploadFile
Fixed incorrect success messages in GuiUploadFile
2015-05-29 13:22:20 +02:00
johni0702
117f3e726d Fix missing resource packs if URL contains redirect (e.g. Hypixel) 2015-05-29 12:17:10 +02:00
CrushedPixel
2744e7cf6c Replaced insecure Minecraft account authentication with server join technique 2015-05-27 13:35:44 +02:00
CrushedPixel
f0f0f1aa86 Since the Register API call now requires the client's access token in order to validate his Minecraft login, it is now being provided. 2015-05-27 00:30:17 +02:00
CrushedPixel
2ecbef3641 Started implementing Spectator Hand Rendering 2015-05-25 14:18:32 +02:00
CrushedPixel
1c9a04d1dc You can now Like/Dislike files from the Replay Center 2015-05-24 15:00:50 +02:00
CrushedPixel
c8d2df722a Added support for get_ratings API call to retrieve list of liked/disliked files 2015-05-24 14:13:17 +02:00
CrushedPixel
27f2b50aee Adjusted ApiClient to support "unrating" files 2015-05-24 13:49:58 +02:00
CrushedPixel
80fbcddb87 Added support for Mojang API calls in ApiClient
Added Mojang API call to retreive Player profile
2015-05-20 16:33:40 +02:00
CrushedPixel
a8cc614e91 Fixed Pagination not being updated correctly
Added GuiLoadingListEntry to Lists while in Replay Center
2015-05-16 22:10:58 +02:00
CrushedPixel
6196fa3ee9 Added "Downloaded" Tab to Replay Center to be able to open downloaded replays 2015-05-16 18:44:53 +02:00
CrushedPixel
1c818cbaa7 Fitted ApiClient to online API 2015-05-16 18:44:13 +02:00
CrushedPixel
f7d75cd605 Added Pagination Handlers for the Replay Center 2015-05-16 18:09:10 +02:00
CrushedPixel
499b581a7c Added get_favorites API call to ApiClient 2015-05-16 18:00:48 +02:00
CrushedPixel
9a83eba6cf Matched API Client to online API return values and calls:
- added fav_file API call
- added "favorites" value to FileInfo holder
2015-05-16 17:44:07 +02:00
CrushedPixel
38b900a33b Adapted authkey check to new website return values and prepared for future username display 2015-05-15 02:38:06 +02:00
CrushedPixel
ccaa93116d Authkey is now stored in .config file to allow automatic logging in 2015-05-05 22:56:25 +02:00
CrushedPixel
5a3e3575c3 Added GuiRegister to allow users to create a new account on ReplayMod.com from the Mod itself 2015-05-03 21:58:24 +02:00
CrushedPixel
38ca7a0054 Added UploadedFileHandler to keep track of files that have already been uploaded 2015-05-03 17:45:08 +02:00
CrushedPixel
d7507e0e8b Added localization support for Replay Mod API error messages 2015-05-03 12:31:20 +02:00
CrushedPixel
bbe7dbae7d Added support for Miscellaneous category 2015-05-02 20:33:56 +02:00
CrushedPixel
142b2c8d4d Translations are now automatically downloaded from the Replay Mod API
Localized missing Strings
2015-04-29 16:57:18 +02:00
CrushedPixel
79be2bd0d5 Started localizing the Chat Messages and GUI 2015-04-26 01:47:27 +02:00
CrushedPixel
0003f040ed Refactored and reformatted code to use less static variables 2015-04-23 14:09:54 +02:00
Marius Metzger
becbf47088 Reworked Camera Movement in Replay Viewer
Finally made Replay Trimming work
Fixed and dried ReplayProcess pathTick() method
2015-03-31 01:10:01 +02:00
Marius Metzger
11e26e0129 Updated build.gradle to automatically build fat jars with the dependencies in the /libs folder. This utilizes the shade.sh shell script. Use ./gradlew without explicitely invoking the build task, as this will automatically build a fat jar.
Sorry for this painful commit, but git somehow f'd up and sees changes in files where there aren't any.
2015-03-21 17:05:53 +01:00
Marius Metzger
5ce12162ce Added some missing classes to Repository 2015-02-20 23:03:01 +01:00
Marius Metzger
d3a9331bf7 Adapted new API System with search API call
Implemented raw Pagination support to Replay Center
Fixed awkward time jumps caused by MCTimerHandler
Fixed Java 1.6 incompatibility with List.sort Method in GuiSpectateSelection
Fixed a LOT of compatibility issues with the Shader Mod
2015-02-19 00:20:11 +01:00