Kostiantyn
6c020cc1f9
Enhance Codecov integration ( #1136 )
...
* Define sub-projects and set coverage threshold for failure in the `codecov.yml`; make both test execution engines to generate also JUnit reports; upload these JUnit reports to Codecov for analysis
* Fix UI Vite config and add more details to the API is-generated-code script
* Add API JUnit report file to `.gitignore`
* Fix the copy issue by mounting the volume
* put the exact report name to the `docker cp` command
* Added `set -euxo pipeline` to the `test_api_coverage.sh` script; try to fix the missing report issue by setting immutable flag and report directoty
* Revert `chattr` and `set` commands, as they cause errors
* debug
* put the filename of the JUnit report to upload
* `set -euxo pipefail` in `scripts/test_api_coverage.sh`
---------
Co-authored-by: Konstantin Koval
2024-11-25 16:25:38 +02:00
Kostiantyn
87acd54291
Fix ESLint step in CI - part 2 ( #1086 )
...
* Run ESLint inside the testing container
* Switch to `docker exec` as the container is still alive after the testing
* Get back to `docker run`, as `exec` doesn't work for stopped containers
* Add missing ESLint plugin for React
* And 1 more missing plugin
* Add missing command to copy the report
* Set `$PHOTOVIEW_LISTEN_IP` to "0.0.0.0" as it has to accept connections from outside and from the healthcheck in localhost
---------
Co-authored-by: Konstantin Koval <kkb@ukr.net >
2024-10-04 11:56:17 +02:00
Kostiantyn
ff009a6ae6
Set $NODE_ENV according to the image purpose during Docker build ( #1088 )
...
* Set $NODE_ENV according to the image purpose during Docker build
* Move `husky` from dev-deps to prod-deps, as it is used during prod `npm ci`
---------
Co-authored-by: Konstantin Koval <kkb@ukr.net >
2024-10-04 11:20:49 +02:00
Kostiantyn
7057643b5d
Fix ESLint step in UI testing job and add CodeCov tokens ( #1084 )
...
* Add missing script line back to the `package.json`
* Set CodeCov token for coverage upload steps
---------
Co-authored-by: Konstantin Koval <kkb@ukr.net >
2024-10-03 18:03:50 +02:00
Googol Lee
bdae9a67ce
Add Set up Docker development environment in README.md ( #997 )
2024-07-23 21:56:30 +02:00
dependabot[bot]
7559a609aa
Bump the npm_and_yarn group across 1 directory with 4 updates ( #991 )
...
Bumps the npm_and_yarn group with 4 updates in the /ui directory: [postcss](https://github.com/postcss/postcss ), [braces](https://github.com/micromatch/braces ), [ejs](https://github.com/mde/ejs ) and [ws](https://github.com/websockets/ws ).
Updates `postcss` from 8.4.38 to 8.4.39
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.38...8.4.39 )
Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
Updates `ejs` from 3.1.8 to 3.1.10
- [Release notes](https://github.com/mde/ejs/releases )
- [Commits](https://github.com/mde/ejs/compare/v3.1.8...v3.1.10 )
Updates `ws` from 7.5.6 to 7.5.10
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/7.5.6...7.5.10 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:production
dependency-group: npm_and_yarn
- dependency-name: braces
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: ejs
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: ws
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-10 19:29:42 +03:00
Googol Lee
2f8f01b6d3
Add nodemon for ui developing.
2024-07-07 10:05:26 +02:00
Jordan Hellier
f900d55300
Fix audit issues in production ( #933 )
...
* chore: upgrade api dependencies to latest compatible version
* chore: update ui dependencies first pass
* chore: migrate ui dependency to latests
Migrates i18next-parser from 6.x -> 8.x per documentation
* chore: add missing tools file
* chore: regenerate files
* chore: fix docker build from incorrect depedency
bookworms latest stable version of libheif-dev is 1.15.1
2024-04-11 22:21:08 +01:00
PJ-Watson
0d106274d2
Manual merge of changes from react-swipeable branch, update react-swipeable version
2022-08-12 07:00:05 +01:00
PJ-Watson
4169a2c102
Merge branch 'master' into add_swipe_gesture
2022-08-12 15:42:18 +10:00
viktorstrate
4c9e9a2b9a
Make eslint check for typescript errors
...
Fix errors after making eslint more strict
2022-07-13 18:02:06 +02:00
viktorstrate
214aa389fb
Fix Docker builds
2022-07-08 16:49:46 +02:00
viktorstrate
d1a92afe0f
Fix UI tests by replacing jest with vitest
2022-07-08 15:23:34 +02:00
viktorstrate
fdcf0cfd05
Update UI deps + replace create-react-app with vite
2022-07-08 00:33:35 +02:00
adi
259119cfdb
fix typo
2022-02-12 19:18:14 +01:00
adi
56354d8ee7
remove development setting
2022-02-12 19:17:21 +01:00
adi
b1e73752da
swipe gesture for next/prev
2022-02-12 19:09:21 +01:00
viktorstrate
0d9760b33f
Integrate blurhashes with UI
2022-02-01 23:39:19 +01:00
viktorstrate
722e639bb1
Update go and node dependencies.
...
- Refactor UI to work with v6 of react-router
2022-01-31 22:32:17 +01:00
viktorstrate
e27f653c2e
Further work on people section + refactor translations
2021-10-21 13:04:47 +02:00
viktorstrate
06fd166483
Sidebar: people section + album path
2021-10-19 23:28:23 +02:00
viktorstrate
57d408cb52
Add coordinates to exif list
2021-10-10 16:54:02 +02:00
viktorstrate
344d554b8a
Make serice-worker ignore API + fix #506
2021-09-26 20:51:14 +02:00
viktorstrate
612a191f6d
Merge branch 'master' into improved-timeline
2021-09-25 13:50:42 +02:00
viktorstrate
56dfedd522
WIP: Work on new timeline
2021-09-18 20:17:24 +02:00
Peter - Ubuntu dual boot
47692bfcf8
Front end prototype. Need to figure out how to get album id from photo id, currently set to album id 3 for proof of concept.
2021-09-17 19:25:59 +01:00
viktorstrate
547ea8e824
Refactor image lazy loading, this fixes #324
2021-08-30 18:11:55 +02:00
viktorstrate
a2c40b6adb
Refactor tests + fix 415
2021-08-30 13:15:52 +02:00
viktorstrate
66dc88231a
Add i18next-parser to extract translations
2021-07-22 17:29:37 +02:00
viktorstrate
767b1f8327
Fix map view
2021-07-22 12:34:08 +02:00
viktorstrate
10b2410db9
Remove semantic-ui + cleanup comments
2021-07-18 16:27:24 +02:00
viktorstrate
029a5678a6
Fix Docker builds
2021-07-15 17:43:07 +02:00
viktorstrate
907d21e78d
Fix all ui tests
2021-07-15 13:59:04 +02:00
viktorstrate
2442ad96ba
Replace vite with create-react-app
2021-07-15 13:07:35 +02:00
viktorstrate
358a2cf3e4
Lock focus within sidebar
2021-06-10 21:20:40 +02:00
viktorstrate
9cb236df41
Work on sidebar share more popup
2021-06-04 22:29:58 +02:00
viktorstrate
5277016633
Make scroll relative to whole page, rather than content box
2021-05-27 16:54:34 +02:00
viktorstrate
3f526d1089
Style filters
2021-05-23 23:48:13 +02:00
viktorstrate
40297c069e
General work towards new design
2021-05-23 17:39:42 +02:00
viktorstrate
d5ea5e4d2e
Add tailwind + redesign login page
2021-05-21 12:15:00 +02:00
viktorstrate
8ec0fd7076
Replace esbuild with vite
2021-05-21 09:55:45 +02:00
viktorstrate
c1d54f3018
Update other UI dependencies with major version change
2021-05-12 14:35:26 +02:00
viktorstrate
f6debc151c
Update esbuild
2021-05-12 14:34:03 +02:00
viktorstrate
ca75190e0b
Update compatible dependencies
2021-05-12 14:19:16 +02:00
viktorstrate
538835c062
Revert UI dependency updates
2021-05-12 14:14:51 +02:00
viktorstrate
19fa49eec8
Update other UI dependencies with major version change
2021-05-12 14:01:58 +02:00
viktorstrate
8b9ad141c6
Update esbuild
2021-05-12 13:59:10 +02:00
viktorstrate
bea9e0b582
Update compatible dependencies
2021-05-12 13:56:20 +02:00
viktorstrate
364257c4cf
Add tests for PresentNavigationOverlay
2021-05-04 19:47:22 +02:00
viktorstrate
a069eff0b2
Rewrite gallery to use reducer
2021-04-29 23:59:28 +02:00