WebApps merge requestshttps://gitlab.nic.cz/turris/webapps/-/merge_requests2023-02-22T16:52:32+01:00https://gitlab.nic.cz/turris/webapps/-/merge_requests/30Release v4.1.02023-02-22T16:52:32+01:00Aleksandr GumroianRelease v4.1.0https://gitlab.nic.cz/turris/webapps/-/merge_requests/29Add unit testing while running CI/CD and add test reports2023-01-04T18:08:37+01:00Josef SchlehoferAdd unit testing while running CI/CD and add test reportsThis is based on top of https://gitlab.nic.cz/turris/webapps/-/merge_requests/28
This adds reports and unit testing coverage in pipeline overview:
![image](/uploads/fbf75a07ac2a9efb4bc92fde2c9a9a51/image.png)
Based on https://about.git...This is based on top of https://gitlab.nic.cz/turris/webapps/-/merge_requests/28
This adds reports and unit testing coverage in pipeline overview:
![image](/uploads/fbf75a07ac2a9efb4bc92fde2c9a9a51/image.png)
Based on https://about.gitlab.com/blog/2022/11/01/how-to-automate-testing-for-a-react-application-with-gitlab/Aleksandr GumroianAleksandr Gumroianhttps://gitlab.nic.cz/turris/webapps/-/merge_requests/28Add prestage to GitLab CI/CD2023-01-04T13:40:56+01:00Josef SchlehoferAdd prestage to GitLab CI/CDThis ensures that the builds are not failing on this instance even though while testing it on GitLab.com, it works working just fine. :)This ensures that the builds are not failing on this instance even though while testing it on GitLab.com, it works working just fine. :)Aleksandr GumroianAleksandr Gumroianhttps://gitlab.nic.cz/turris/webapps/-/merge_requests/26Add stages (test, build, release) for GitLab CI2023-01-02T14:46:21+01:00Josef SchlehoferAdd stages (test, build, release) for GitLab CI- This ensures that WebApps are tested, which was done before, but tests
were extended to test JavaScript files to ensure that they are not
empty
- Added build stage and release stage, which ensures that there are
production files, ...- This ensures that WebApps are tested, which was done before, but tests
were extended to test JavaScript files to ensure that they are not
empty
- Added build stage and release stage, which ensures that there are
production files, which can be used within our operating system -
Turris OS and during compilating WebApps for Turris OS, we don't need to
call npm run build and thats can save us some build time.
- The file release.sh in folder .gitlab-ci is almost the same as from
Sentinel DynFW repository.
What is tested:
- [x] test stage
- [x] build stage
- [x] release stage (I am not able to push tags, I can not enable NPM registry here... :-( )Aleksandr GumroianAleksandr Gumroianhttps://gitlab.nic.cz/turris/webapps/-/merge_requests/25Release version 4.0.02023-01-02T16:29:41+01:00Josef SchlehoferRelease version 4.0.0This should be merged after https://gitlab.nic.cz/turris/webapps/-/merge_requests/26This should be merged after https://gitlab.nic.cz/turris/webapps/-/merge_requests/26Aleksandr GumroianAleksandr Gumroianhttps://gitlab.nic.cz/turris/webapps/-/merge_requests/21Add noindex & nofollow meta tags into head2021-11-30T15:51:24+01:00Aleksandr GumroianAdd noindex & nofollow meta tags into headCloses: https://gitlab.nic.cz/turris/webapps/-/issues/19Closes: https://gitlab.nic.cz/turris/webapps/-/issues/19https://gitlab.nic.cz/turris/webapps/-/merge_requests/20Add login and logout support for turris-auth2023-02-22T15:52:22+01:00Aleksandr GumroianAdd login and logout support for turris-authCloses: https://gitlab.nic.cz/turris/webapps/-/issues/16Closes: https://gitlab.nic.cz/turris/webapps/-/issues/16Aleksandr GumroianAleksandr Gumroianhttps://gitlab.nic.cz/turris/webapps/-/merge_requests/18Add internalization + language switch2021-12-09T13:32:23+01:00Aleksandr GumroianAdd internalization + language switchThe implementation of internalization with `ttags` and `.po files`. It stores `locale` in `localStorage` of the page. The default `locale` is English.
For more information: https://ttag.js.org/, https://www.gnu.org/software/gettext/manu...The implementation of internalization with `ttags` and `.po files`. It stores `locale` in `localStorage` of the page. The default `locale` is English.
For more information: https://ttag.js.org/, https://www.gnu.org/software/gettext/manual/html_node/PO-Files.html
Closes: https://gitlab.nic.cz/turris/webapps/-/issues/10, https://gitlab.nic.cz/turris/webapps/-/issues/2Aleksandr GumroianAleksandr Gumroianhttps://gitlab.nic.cz/turris/webapps/-/merge_requests/17Migrate WebApps to React.js2023-01-01T13:14:21+01:00Aleksandr GumroianMigrate WebApps to React.jsCloses: https://gitlab.nic.cz/turris/webapps/-/issues/9Closes: https://gitlab.nic.cz/turris/webapps/-/issues/9Aleksandr GumroianAleksandr Gumroianhttps://gitlab.nic.cz/turris/webapps/-/merge_requests/8Fix odd icons padding in Safari & transitions2020-10-16T16:33:25+02:00Aleksandr GumroianFix odd icons padding in Safari & transitionsTurris OS 5.2.0Aleksandr GumroianAleksandr Gumroianhttps://gitlab.nic.cz/turris/webapps/-/merge_requests/7Add favicon switch2020-11-06T16:47:51+01:00Aleksandr GumroianAdd favicon switchAdd a favicon switch if the browser is using dark mode with help of the `prefers-color-scheme` CSS media query feature.
![ezgif-3-98d0d20ce983](/uploads/3623f6b5d03fcb36da5891a823cb3ced/ezgif-3-98d0d20ce983.gif)
You can read how to deb...Add a favicon switch if the browser is using dark mode with help of the `prefers-color-scheme` CSS media query feature.
![ezgif-3-98d0d20ce983](/uploads/3623f6b5d03fcb36da5891a823cb3ced/ezgif-3-98d0d20ce983.gif)
You can read how to debug prefers-color-scheme in Chrome DevTools [here](https://web.dev/prefers-color-scheme/#emulating-prefers-color-scheme-in-devtools).
Closes: https://gitlab.nic.cz/turris/webapps/-/issues/11Turris OS 5.2.0Aleksandr GumroianAleksandr Gumroianhttps://gitlab.nic.cz/turris/webapps/-/merge_requests/6Fix dark-mode toggle on page load2020-10-09T13:28:45+02:00Aleksandr GumroianFix dark-mode toggle on page load* Fix dark-mode toggle on page load
* Fix shadows in Dark Mode
* Add other small improvements
Closes: https://gitlab.nic.cz/turris/webapps/-/issues/8* Fix dark-mode toggle on page load
* Fix shadows in Dark Mode
* Add other small improvements
Closes: https://gitlab.nic.cz/turris/webapps/-/issues/8