Commit Graph

10 Commits

Author SHA1 Message Date
Daniel Markstedt
cf5421d1f5 Move branches rule from push trigger to PR trigger 2023-11-03 21:37:13 +09:00
Daniel Markstedt
b69c039a0c
Restore workflow events for pushs to paths (#1289) 2023-11-03 04:28:53 -07:00
Daniel Markstedt
d1a080b7d0 Remove workflow events that used the wrong syntax. Fall back to the default: opened, synchronize, and reopened 2023-11-03 16:54:39 +09:00
Daniel Markstedt
063e8ed32b
Static analysis fixes for Python codebase (#1277)
* Don't log names of internal symbols that can be used for attacks

* Add integrity check to dropzone.js library

* Better a11y of web form labels

* Safer handling of file download paths

* Don't invert boolean check

* Make backend auth check a flask abort

* Clean up indentation to remove unwanted tabs

* Run workflow either on PR events, or branch pushes, not both
2023-11-01 06:28:53 -07:00
Tony Kuker
74eef6f9cc
Enable actions on pull request (#1209)
* Update revision for release

* Create sonarcloud.yml

* Update sonarcloud.yml

* Update sonarcloud.yml

* Update sonarcloud.yml

* Update sonarcloud.yml

* Delete sonarcloud.yml

* Update revision number for release

* Remove SonarCloud cache setup as it is now offered by default (#1135)

No need to configure the cache anymore, SonarCloud now has an automatic analysis caching. See https://docs.sonarcloud.io/advanced-setup/languages/c-c-objective-c/#analysis-cache.

* Revert "Remove SonarCloud cache setup as it is now offered by default (#1135)" (#1144)

This reverts commit 3ad668cfd1.

* Update web.yml

* Update cpp.yml

* Update web.yml

* Update build_code.yml

* Update build_code.yml

* Update cpp.yml

* Update web.yml

---------

Co-authored-by: Tony Kuker <akuker@gmail.com>
Co-authored-by: Massimo Paladin <massimo.paladin@gmail.com>
2023-09-02 18:36:45 -05:00
Daniel Markstedt
d3317e9702
Bump stylelint to 15.10.2 and remove deprecated module (#1189)
- Bump stylelint and stylelint-config-standard libs to the latest versions (security fixes)
- Remove deprecated stylelint-config-prettier module
- Scan the classic style sheet with stylelint and prettier in the github workflow
- Address stylelint and prettier issues in the classic stylesheet
- Bump prettier to 3.0.0
2023-07-28 22:53:12 -07:00
Daniel Markstedt
2354b62f43
Introduce FTP server option; sundry bug fixes (#1028)
* Add script to install ftp server

* Grep only the first ip address to avoid capturing the docker ip address

* Consistently use --assume-yes and --no-install-recommends with apt-get

* Capture corner case where both rascsi and piscsi groups exist

* Add CI/CD dependency of easyinstall.sh

* Update the run choices
2022-12-09 21:00:31 -08:00
nucleogenic
88ff542aeb
Run web API test suite in GitHub Actions (#1009)
- Fixed ignore patterns in .dockerignore
- Added healthchecks to backend and web containers
- Reduced Docker image sizes
- Removed RaSCSI references in various areas (e.g. rascsi -> backend)
- Added compilation-only step to easyinstall.sh
- Moved apt package lists to variables
- Revert to triggering GitHub Actions runs on push
- Updated web/frontend_checks workflow to run black and flake8 against all Python sources
- Capture log files from backend/web containers
- Fix None to float conversion bug when user agent is absent or unrecognised
2022-12-04 14:31:57 +00:00
nucleogenic
8e6be9856e
Run all workflows against changes to the develop branch (#995) 2022-11-18 16:41:13 +00:00
nucleogenic
163cb5a10e
Add GitHub Actions for web UI, fix C++ unit test job, enable SonarCloud cache, introduce parallel execution where possible (#974) 2022-11-18 13:58:26 +00:00