Commit graph

8 commits

Author SHA1 Message Date
Sudhanshu Gautam
b835f928a4 Add functionality to edit UCI defaults
A new section in Advanced section is introduced that can be used to
build custom images with custom UCI defaults

Fixes #10

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-09-13 02:27:43 +05:30
Sudhanshu Gautam
740383d6be Adds ability to show device manifest for vanilla images
Loads `openwrt-<target>-<sub-target>-default.manifest` in case of
Vanilla images and shows the list of default installed packages in
a retractable list.

Fixes #15

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-09-04 23:19:23 +05:30
Sudhanshu Gautam
dd6624c322 Fix issue introduced with the "Installed Packages"
Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-09-02 02:57:49 +05:30
Sudhanshu Gautam
ce4d2e1436 Add prettier support
Add prettier and bind it with eslint.
Also add pre-commit hook to prettify before commit

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-09-02 02:34:41 +05:30
Sudhanshu Gautam
acdb7741e8 Handle error codes for bad package selection
Handles 409 and 422 HTTP codes for bad package selection. Shows
popup for appropriate error message and gives a link for build
logs.

Fixes #12
Fixes #8

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-08-26 01:15:05 +05:30
Sudhanshu Gautam
128855c278
Change the code according to the new ASU api. (#5)
Now, upon load, the app fetched versions from the server and then
the devices for that particular version.
Then the user can search for their device and download an image
accordingly.

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-08-23 19:53:02 +05:30
Sudhanshu Gautam
9475f4092a Add ESLint to maintain code style. Add pre-commit hook to lint prior.
ESLint is used with the standard react plugin. It detects all kinds of
issues ranging from misspells, indentation, variable-naming, etc.
A pre-commit hook is added to git. Prior commiting, ESlint will run
to validate that everything is OK and the user will have the option
to fix it.

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-07-21 22:03:51 +05:30
Sudhanshu Gautam
d30cf925b1 Complete build functionality. Used mwarning's server for data.
Now users can build their images using the Build button and it works
fine for the most part.
There is still some issue with the file download as there are a lot
of them and will be imporved in the future.
Using axios now for cross browser support issue of `fetch`

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-07-21 20:49:13 +05:30