Commit graph

58 commits

Author SHA1 Message Date
Sudhanshu Gautam
4ca206be97
Merge pull request #31 from sudhanshu16/dependabot/npm_and_yarn/acorn-5.7.4
Bump acorn from 5.7.3 to 5.7.4
2020-03-16 13:05:39 +05:30
dependabot[bot]
ac2d53da71
Bump acorn from 5.7.3 to 5.7.4
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-14 00:12:26 +00:00
Sudhanshu Gautam
824d0c7e00
Merge pull request #29 from sudhanshu16/dependabot/npm_and_yarn/handlebars-4.5.3
Bump handlebars from 4.1.2 to 4.5.3
2019-12-29 01:27:59 +05:30
dependabot[bot]
b0bc57910e
Bump handlebars from 4.1.2 to 4.5.3
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-28 17:24:45 +00:00
Sudhanshu Gautam
62f39939cd
Update main.yml 2019-11-29 15:29:33 +05:30
Sudhanshu Gautam
b21e082518 Introduce config and fix minor issues
Previously, basic config like URLs were hard-coded in the code
itself. Now they reside in the `config.js` file.
Also fixes #17

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-10-06 23:54:13 +05:30
Sudhanshu Gautam
8988781d26 Allow building of image when config is changed
set configChanged state to true when there is change in the UCI
defaults text box.

Fixes #18

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-10-04 23:56:06 +05:30
Sudhanshu Gautam
aab4965a4d change translate option icon from language to translate
Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-10-03 23:57:52 +05:30
Sudhanshu Gautam
8796c44090 Minor refactoring. Use language's regional translation as key.
Previously, the translation data had the language names translated
in the specific language which is counter intuitive. Because if the
page loads in English and the user clicks on the Change Language
button then they will see their language's name in English which they
might not now.

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-10-02 23:38:15 +05:30
Sudhanshu Gautam
857b71b44c Fix Language selection popup z-index issue
Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-10-02 23:30:07 +05:30
Sudhanshu Gautam
b466f5689f
Merge pull request #25 from tosbaha/turkish-translation
Turkish translation
2019-10-01 20:37:22 +05:30
mustafa
bb51bdf2ee Radio button added 2019-10-01 17:48:56 +03:00
mustafa
9d2334046a Turkish translation added 2019-10-01 13:10:03 +03:00
Mustafa Dur
b2b1749b89
Merge pull request #1 from sudhanshu16/master
Update upstream
2019-10-01 13:01:56 +03:00
Sudhanshu Gautam
bbc7814d63
Merge pull request #24 from kausha15/spanishTranslation
Spanish translation
closes #20
2019-09-27 23:23:50 +05:30
Kausha Shah
aa00df41e2
Update src/locales/es.json
spanish translation updated

Co-Authored-By: Gonzalo de la Cruz <gdelacruzfdez@gmail.com>
2019-09-27 14:50:02 +05:30
Kausha Shah
144bc8715c
Update src/locales/es.json
spanish translation updated

Co-Authored-By: Gonzalo de la Cruz <gdelacruzfdez@gmail.com>
2019-09-27 14:49:54 +05:30
Kausha Shah
8f2fd72bae
Update src/locales/es.json
spanish translation updated

Co-Authored-By: Gonzalo de la Cruz <gdelacruzfdez@gmail.com>
2019-09-27 14:49:45 +05:30
Kausha Shah
4b6cdd159a
Update src/locales/es.json
spanish translation updated

Co-Authored-By: Gonzalo de la Cruz <gdelacruzfdez@gmail.com>
2019-09-27 14:49:30 +05:30
Kausha Shah
92dd606729
Merge branch 'master' into spanishTranslation 2019-09-27 13:05:13 +05:30
Kausha.Shah
f3187cc439 namingConvention change 2019-09-27 13:00:12 +05:30
Sudhanshu Gautam
aef40f9963
Merge pull request #23 from adrianoapj/master
Brazilian Portuguese added.
Contributions by @adrianoapj
2019-09-27 12:10:49 +05:30
Adriano Pereira Junior
861df0b6e1 Brazilian Portuguese added. 2019-09-26 21:54:57 -03:00
Sudhanshu Gautam
5dde0935a8 fix a small bug introduced by previous PR
Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-09-27 02:11:43 +05:30
Sudhanshu Gautam
df126040e9
fix CD 2019-09-27 02:08:02 +05:30
Sudhanshu Gautam
e7d8f7a6de
fix CD 2019-09-27 01:57:18 +05:30
Sudhanshu Gautam
a5950f620a
Merge pull request #22 from unpredictable-error/master
Adds russion language support.
Thanks to @unpredictable-error for help! :)
2019-09-27 01:50:42 +05:30
unpredictable-error
03cf34c612 setted in header 2019-09-26 22:54:55 +03:00
Sudhanshu Gautam
fa5f3e68f2
Setup CD using Github Actions
Now auto deployment of latest commits on master will take place.
2019-09-27 01:22:31 +05:30
unpredictable-error
a1733a1b72 mapped in i18n.js 2019-09-26 22:23:19 +03:00
unpredictable-error
627d6e289a added russian language 2019-09-26 22:10:35 +03:00
Sudhanshu Gautam
018c5aa22f
Merge pull request #21 from jakeherp/patch-1
German translation corrected
closes #19
2019-09-26 16:48:55 +05:30
Jacob Herper
7e64cf28a3
German translation corrected 2019-09-26 11:55:38 +01:00
Kausha.Shah
bbe14f4386 added spanish translation 2019-09-26 15:58:58 +05:30
Sudhanshu Gautam
7ad08e79c9 Add config system
Introduce ability to change default settings for the app.
Currently starting with disabling i18n debug on prod server

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-09-13 02:39:28 +05:30
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
db14840f4a Fix responsive design issues
Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-09-05 00:03:52 +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
3f46d13ccf Introduce interface to list packages in built image
A dropdown interface that lists all the installed packages for the
built images.

Fixes #7

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-09-02 02:23:20 +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
5e3b827489 Change the order of the image build indicator.
As suggested my @aparcar, the order for the text, button and
indicator is changed.
Fixes #6

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-08-25 20:08:18 +05:30
Sudhanshu Gautam
a66fa21ca3
Add links for adding issues or contributions (#14)
Adds a section to the bottom of the page which houses links to ASU's
issues page and the github repository for the firmware wizard.

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-08-25 20:06:35 +05:30
Sudhanshu Gautam
76da264e85
Update README.md (#13)
Add the instructions for development environment setup and
for deploying to server.
Also add relevant information.

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
2019-08-25 19:32:09 +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
3d1243a946 Fix responsiveness of UI on mobile devices. Shows only relevant images.
The UI is now responsive for all devices (almost). The inputs are made
full-width for mobile devices.
Only relevant images are shown as download links. Previously all the
images returned by ASU server were shown which is fixed now.

Signed-off-by: Sudhanshu Gautam <sudhanshu@clever.coffee>
2019-07-27 17:25:31 +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
Sudhanshu Gautam
c05ac4dc2c Change the checkboxes to chips. Provide input field for extra modules
On considerations, the checkboxes were found to be limited as the
customization was limited by that interface. Now a "chip" styled
interface has been introduced alongside a text input field to add
custom packages.
An array separated by commas or newline can be feeded into the input
for bigger lists.

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