m-davies / arma-api Goto Github PK
View Code? Open in Web Editor NEWA Java SpringBoot API for modded Arma 3 classnames and data
Home Page: https://unofficial-arma-api.herokuapp.com
License: GNU General Public License v3.0
A Java SpringBoot API for modded Arma 3 classnames and data
Home Page: https://unofficial-arma-api.herokuapp.com
License: GNU General Public License v3.0
The mongo cloud database that the main application uses is open to all IP's. For security reasons, this is obviously a problem. It should be possible to devise a CIDR notation string from the IP's that the main application uses or alternatively invest in a static IP address using a heroku addon. Once we have done this, disabling open access should be possible.
In this route, classes will be displayed as they are in the config editor, not filtered by name and such. This ensures that all the classes properties are present and makes it easier to search for people who are familiar with config entries
This is so it actually creates the directory on git commit as apposed to just pretending to exist locally
We shouldn't be backing up a database to another database in the same cluster. We should allow the use to provide a backup database location
This will allow search results to be a lot more condensed and provide more functionality to users wishing to increase the flexibility of their queries
Currently, the image attr just displays a relative path to an image on arma 3, it would be preferable if we could extract said image and store it somewhere so it can be viewed in the arsenal. This would likely require an addition to the Updater script so it retrieves and uploads the file to some location (probably a cloud storage location such as S3)
A lot of the mods are keywords and don't describe where the mod comes from or anything. It would be useful to have an endpoint that references that
Classes endpoint can take a while to load from a remote source, we should add pagination to limit results on a query by query basis to speed up response times
Describe the bug
The SQF to JSON extraction script always appends a comma (,) to the end of the array, making the array invalid and requiring manual intervention.
Expected behavior
There is no comma on the last element of the JSON array
Additional context
This is the line that formats the joined classes string into a string representation of an array. Perhaps it could be removed here?
_JSON = "[" + endl + " " + _joinedClasses + endl + "]" + endl;
Output is an ugly one liner json array and could be prettier. Options include usig Gson or a different Json library, totally up the fixer on which one to use
Because I deleted them ๐คฆ I'll fix this tonight
Exception in thread "main" java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
Caused by: java.nio.file.NoSuchFileException: /app/src/main/resources/data
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
at java.base/sun.nio.fs.UnixFileSystemProvider.newDirectoryStream(UnixFileSystemProvider.java:432)
at java.base/java.nio.file.Files.newDirectoryStream(Files.java:472)
at java.base/java.nio.file.Files.list(Files.java:3699)
at com.api.main.Updater.update(Updater.java:77)
at com.api.main.Executer.main(Executer.java:63)
Base DLC's like jets and tanks are already there, but it would be useful to have the configs from western sahara and the other CDLC's related to modern warfare too
There's no way to tell which weapons are on vics and which are infantry equipable in CfgWeapons for example. What I need is a config entry which is able to differentiate between the two
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.