Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge fix #3

Merged
merged 125 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
60c0b0c
Updated to .NET 8 (#2293)
lindsve Apr 4, 2024
d82d0a6
FIX-2341 Add NoWarn for NuGet warning NU1507 (#2342)
janmarius Apr 5, 2024
057d1fe
FIX-2343 Add Directory.Packages.props to Dockerfile-api (#2344)
janmarius Apr 5, 2024
b092d05
FIX-2337 Improve cancel button style (#2338)
eliasbruvik Apr 5, 2024
820e0e7
Revert "FIX-2341 Add NoWarn for NuGet warning NU1507" (#2345)
janmarius Apr 5, 2024
d58f1e0
Revert "Revert "FIX-2341 Add NoWarn for NuGet warning NU1507"" (#2346)
janmarius Apr 5, 2024
3659117
[Snyk] Security upgrade vite from 5.2.3 to 5.2.8 (#2339)
steinsiv Apr 8, 2024
50c22e6
Add OpenTelemetry library and expose metrics for Witsml requests (#2291)
lindsve Apr 9, 2024
1d785a2
Fix 2350 Live wellbore filter bug (#2351)
eliasbruvik Apr 9, 2024
44d1373
Features/1955 consistent copy mnemonic (#2340)
vaclavbasniar Apr 10, 2024
fa8d13f
FIX-2335 Upgrade Material UI (#2354)
janmarius Apr 12, 2024
43a2bae
FIX-2194 Witsml Explorer Desktop (#2357)
eliasbruvik Apr 19, 2024
bb786e1
FIX-2369 Only pack relevant files in the desktop app (#2370)
eliasbruvik Apr 22, 2024
9b93943
FIX-2368 Handle async getBaseUrl in NotificationService (#2371)
eliasbruvik Apr 22, 2024
ca3fc12
FIX-2366 Desktop Edition unfinished jobs warning message on close (#2…
janmarius Apr 23, 2024
429d279
FIX-2352 Add HTTP documentation (#2375)
eliasbruvik Apr 24, 2024
882e3d5
FIX-2364 Use new logo (#2374)
eliasbruvik Apr 24, 2024
c94bd4d
FIX-2359 Disable interactive tooltip (#2376)
eliasbruvik Apr 24, 2024
b7ad640
FIX-2367 Automatic testing of the Desktop App (#2372)
eliasbruvik Apr 24, 2024
32bcf89
FIX-2365 WEx Desktop Edition release workflow (#2381)
janmarius Apr 25, 2024
85ddea6
FIX-2382 Add write permissions to release desktop workflow (#2384)
janmarius Apr 25, 2024
a0f9e6d
FIX-2362 Handle front page fetch error (#2377)
eliasbruvik Apr 25, 2024
6ac6a63
FIX-2378 Implement column filter (#2380)
eliasbruvik Apr 26, 2024
f100d0f
FIX-2361 Support multiple windows in desktop app (#2388)
eliasbruvik Apr 28, 2024
6db31fe
FIX-2389 Add semantic versioning and release notes for desktop editio…
janmarius Apr 29, 2024
31a00b9
FIX-2386 Add compare log data header (#2391)
janmarius Apr 29, 2024
4ad4b1b
FIX-2385 Run desktop tests on windows (#2392)
eliasbruvik Apr 29, 2024
3ea8818
FIX-2387 Exclude unshared mnemonics when comparing log data (#2393)
janmarius Apr 29, 2024
3d6d48c
FIX-2394 Update beta version tag (#2395)
eliasbruvik Apr 30, 2024
833665b
FIX-2396 Remove automatic release notes (#2397)
eliasbruvik Apr 30, 2024
c1afad8
FIX-2301 Fix dark mode styling for curve values plot view (#2399)
janmarius May 3, 2024
d4bdfc2
Ability to select channels from several logs and show them all in one…
robertbasti May 3, 2024
b5ca320
FIX-2401 Hide empty curves improvement (#2403)
eliasbruvik May 6, 2024
ef9f216
FIX-2404 Use requested instead of headerOnly to avoid timeout (#2405)
eliasbruvik May 7, 2024
6fd63d3
FIX-2360 Auto updater desktop edition (#2409)
janmarius May 13, 2024
dc04c15
FIX-2099 Add Tubular properties (#2407)
eliasbruvik May 13, 2024
ddf082f
[Snyk] Security upgrade @testing-library/jest-dom from 5.17.0 to 6.0.…
marmid74 May 14, 2024
2836738
FIX-2412 Optimize Splice Log Worker (#2414)
eliasbruvik May 15, 2024
4048657
Multiple Logs with the same name shall be collapsed in TREE structure…
robertbasti May 16, 2024
13fb0e7
FIX-2421 Add temp fix for auto updater error: Object has been destroy…
janmarius May 16, 2024
759a7be
Open In Query View disabled for well/wellbore in the sidebar🐛 #2349 (…
robertbasti May 21, 2024
c6e97b3
👉Copy/pasting order when selecting paste #2416 (#2428)
robertbasti May 21, 2024
ba90928
Report button shows for all finished jobs in the jobs view🐛 #2410 (#2…
robertbasti May 21, 2024
f1c87a1
FIX-2419 Show notifications from both source and target server (#2425)
eliasbruvik May 22, 2024
9c11764
FIX-2411 Handle timeZone in curveValuesView (#2415)
eliasbruvik May 22, 2024
205c745
FIX-2434 Update desktop installer file name (#2435)
eliasbruvik May 23, 2024
cccce1e
FIX-2434 Fix release file (#2437)
eliasbruvik May 23, 2024
a06ffe8
FIX-2439 Handle millis in time picker (#2440)
eliasbruvik May 23, 2024
ed9f75d
Bump desktop version (#2441)
eliasbruvik May 24, 2024
4c02ad3
FIX-2424 Column filter search params (#2443)
eliasbruvik May 27, 2024
d93e3bc
FIX-2432 Multi log data (#2447)
eliasbruvik May 30, 2024
a87bdfd
FIX-2445 Save filters to localStorage (#2448)
eliasbruvik May 30, 2024
1367bea
FIX-2446 Add HotKeys for quick navigation to Depth and Time logs (#2449)
eliasbruvik May 30, 2024
82792b6
FIX-2430 Add loading state for switch user (#2450)
eliasbruvik May 30, 2024
3807d52
FIX-2429 Disable checkForUpdates when running desktop tests (#2451)
eliasbruvik May 30, 2024
280b11f
FIX-2417 Refresh objects after batch update (#2452)
eliasbruvik May 30, 2024
2df94f4
FIX-2261 Implement wellbore search (#2453)
eliasbruvik May 31, 2024
0a59af9
FIX-2420 Align loading dots in comfortable mode in the sidebar (#2454)
eliasbruvik May 31, 2024
b8bfec8
FIX-2438 Add filter to server list (#2455)
eliasbruvik May 31, 2024
7fd98b4
FIX-2456 Return index suggestion for single log LCI (#2457)
eliasbruvik Jun 3, 2024
095ed15
Add Cancellation for copy log jobs #2423 (#2458)
robertbasti Jun 6, 2024
a57c92a
FIX-1948 Offset log curves (#2459)
eliasbruvik Jun 6, 2024
77e83d0
FIX-2461 Query for IsActive bug fixes (#2462)
eliasbruvik Jun 6, 2024
17ba784
FIX-2200 Set global culture (#2463)
eliasbruvik Jun 6, 2024
70c9c20
FIX-2464 Bump desktop version (#2465)
eliasbruvik Jun 6, 2024
03eff98
FIX-2467 Decreasing log fixes for curve data context menu options (#2…
eliasbruvik Jun 10, 2024
3323990
FIX-502 Issue warning when importing overlapping data (#2466)
eliasbruvik Jun 11, 2024
c0ef02e
Confirm modal cancel job (#2469)
robertbasti Jun 11, 2024
606f97e
FIX-2473 Enable search bar & command palette (#2474)
eliasbruvik Jun 12, 2024
c1781ec
FIX-2137 OperationContext Cleanup (#2472)
eliasbruvik Jun 13, 2024
d9565cf
FIX-2259 Overlay loading status (#2477)
eliasbruvik Jun 14, 2024
0483a27
FIX-2444 Open credential modal when navigating back to another server…
eliasbruvik Jun 14, 2024
0fada9d
Missing Data Agent - can't always see the whole "select object" and “…
robertbasti Jun 17, 2024
1a34392
FIX-2234 Update server setup documentation (#2471)
eliasbruvik Jun 17, 2024
a9aa7bb
FIX-2482 Format dTim for fluidsReports (#2483)
eliasbruvik Jun 19, 2024
d665570
FIX-2094 Plot Improvements (#2480)
eliasbruvik Jun 19, 2024
edce3f6
FIX-2476 Inform user when no active wells are available and inactive …
matusmlichsk Jun 24, 2024
d2b6fdf
New bump desktop version (#2491)
robertbasti Jun 25, 2024
91075ef
Create a new API method for downloading report data in csv format (#2…
LibNik Jun 26, 2024
bec70ac
FIX-2493 requestObjectSelectionCapability workaround (#2495)
eliasbruvik Jun 26, 2024
5f376c0
FIX-2487 Add job progress for copying log curves (#2497)
eliasbruvik Jun 26, 2024
38c43e0
maxdatapoints (#2499)
robertbasti Aug 2, 2024
5f13738
FIX-2500 Properties modal refactoring (#2501)
eliasbruvik Aug 2, 2024
00fcce9
FIX-2512 Fix time zone offset bug (#2513)
eliasbruvik Aug 2, 2024
f9899ee
FIX-2503 Sort log curves in table by active (#2504)
eliasbruvik Aug 5, 2024
20a6b2d
FIX-2489 Query View - Implement "Open in table view" (#2510)
eliasbruvik Aug 5, 2024
391684a
FIX-2508 Disable paste when no trajectory station is copied (#2509)
eliasbruvik Aug 5, 2024
ed2605f
FIX-2506 Show heartbeat for active multi-logs (#2507)
eliasbruvik Aug 5, 2024
f92b6e1
FIX-2494 Allow unspecified returnElements in queryView (#2505)
eliasbruvik Aug 5, 2024
fb57c70
FIX-2511 Ensure correct match between log header and data for downloa…
eliasbruvik Aug 5, 2024
907ce36
[Snyk] Security upgrade echarts from 5.5.0 to 5.5.1 (#2498)
marmid74 Aug 5, 2024
5e581ef
FIX-2515 Add required properties for creating new objects (#2516)
eliasbruvik Aug 5, 2024
c89225c
#2475 Command palette with better actions ux flow for query editor (#…
matusmlichsk Aug 7, 2024
ea895cb
fix: support for using Button.Group in custom Button component (#2518)
matusmlichsk Aug 13, 2024
ba756de
fix: expanded well overflow after filtering fixed to fit layout aroun…
matusmlichsk Aug 19, 2024
f930bbc
Add WEx demo videos to Readme's (#2527)
eliasbruvik Aug 21, 2024
f6d3133
Api.Workers tests #1907 (#2523)
robertbasti Aug 23, 2024
d02b540
Video fix (#2531)
eliasbruvik Aug 23, 2024
1861258
Video fix (#2532)
eliasbruvik Aug 23, 2024
bf5d04d
FIX-2540 Import LAS - Depth Logs (#2541)
eliasbruvik Sep 3, 2024
46b175d
Global log curve priority (#2544)
robertbasti Sep 13, 2024
2503924
Database should be designed to prevent of duplicate prioritized log c…
robertbasti Sep 16, 2024
244c36a
Add more demo videos (#2547)
eliasbruvik Sep 17, 2024
69b5f0b
update readme (#2549)
eliasbruvik Sep 17, 2024
5092c18
Bump desktop version (#2550)
eliasbruvik Sep 17, 2024
f34d0b3
Unit tests for universal priority curves #2545 (#2548)
robertbasti Sep 17, 2024
c0bd0db
Cascade deletes well (#2556)
robertbasti Sep 24, 2024
4250d4a
Incorrect URL when opening a log from the depth overview table🐛 #2552…
robertbasti Sep 25, 2024
010251f
Eslint v8.* to v9.* flat-configuration update with depending packages…
matusmlichsk Oct 9, 2024
3c587ad
Package 'System.Runtime.Caching' 8.0.0 high severity vulnerability (…
robertbasti Oct 14, 2024
e9bf55a
Real compact UI mode feature (#2569)
matusmlichsk Oct 16, 2024
2f86cda
2486 log object duplication (#2572)
LibNik Oct 17, 2024
c1809d0
Import LAS files #1999 (#2564)
robertbasti Oct 21, 2024
f56f66e
Object Duplication #2574 (#2575)
robertbasti Oct 21, 2024
98b0643
FIX-2485 Query data grid (#2577)
eliasbruvik Oct 22, 2024
56b20d3
Add documentation on the URL structure for deeplinking📘 #2553 (#2578)
robertbasti Oct 24, 2024
6d61e37
Download log options more clear (#2579)
robertbasti Oct 29, 2024
78c23b8
FIX-2582 Fix wellbore creation bug (#2583)
eliasbruvik Oct 30, 2024
c466b3f
FIX-2580 Fix server casing problem (#2585)
eliasbruvik Oct 30, 2024
ab45b5e
Import Log LAS Data - replace space with underscore (#2584)
robertbasti Oct 30, 2024
8a4684b
Query View - Enable the Options In field for DeleteFromStore 🐛 #2538 …
robertbasti Nov 1, 2024
abd56cb
FIX-2589 Add object count for the result in the query view (#2591)
eliasbruvik Nov 7, 2024
f091129
FIX-2496 Rework log file download (#2590)
eliasbruvik Nov 7, 2024
4f5dcfa
Merge remote-tracking branch 'upstream/main' into merge-fix
sindreborsheim Nov 11, 2024
192cd09
update workflow
sindreborsheim Nov 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
44 changes: 0 additions & 44 deletions .eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ This pull request fixes
* [ ] Frontend
* [ ] API
* [ ] WITSML
* [ ] Desktop
* [ ] Other (please describe)

## Checklist:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
name: Build and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Setup .NET 7
uses: actions/setup-dotnet@a351d9ea84bc76ec7508debf02a39d88f8b6c0c0 # v2.1.1
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup .NET 8
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4.0.0
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- name: Build
run: dotnet build /warnaserror --configuration Release
- name: Install dotnet format
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/ci_desktop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Desktop Package and Test
on:
pull_request:
branches:
- main
paths:
- 'Src/WitsmlExplorer.Api/**'
- 'Src/WitsmlExplorer.Frontend/**'
- 'Src/WitsmlExplorer.Desktop/**'

permissions: {}

jobs:
desktop:
name: Package and Test
runs-on: windows-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '20'
- name: Install dependencies
run: yarn --network-timeout 100000
working-directory: ./Src/WitsmlExplorer.Desktop
- name: Linting
run: yarn lint
working-directory: ./Src/WitsmlExplorer.Desktop
- name: Package
run: yarn electron:pack
working-directory: ./Src/WitsmlExplorer.Desktop
- name: Test
run: yarn test:pack
working-directory: ./Src/WitsmlExplorer.Desktop
6 changes: 3 additions & 3 deletions .github/workflows/ci_frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
name: Build and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '16'
node-version: '20'
- name: Install dependencies
run: yarn
working-directory: ./Src/WitsmlExplorer.Frontend
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dispatch_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
if: github.repository_owner == 'akerbp'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Create repository dispatch event
run: |
curl -L \
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/dispatch_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
needs: fetchtag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Create repository dispatch event
run: |
curl -L \
Expand All @@ -34,5 +34,3 @@ jobs:
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/akerbp/witsml-explorer-cicd/dispatches \
-d '{"event_type":"tagdispatch ${{ github.ref_name }}","client_payload":{"tag": "${{ github.ref_name }}", "version":"${{ needs.fetchtag.outputs.tag-version }}"}}'


41 changes: 41 additions & 0 deletions .github/workflows/dispatch_tag.yml.orig
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Dispatch tag updates to CICD repo

on:
push:
tags:
- 'akerbp-wex*'

permissions: {}

jobs:
fetchtag:
runs-on: ubuntu-latest
if: github.ref_type == 'tag'
steps:
- id: get
run: |
VERSION_ONLY=$(echo "${{ github.ref_name }}" | cut -d '@' -f2)
echo "tag-version=$VERSION_ONLY" >> $GITHUB_OUTPUT
outputs:
tag-version: ${{ steps.get.outputs.tag-version }}

notify:
if: github.repository_owner == 'akerbp'
needs: fetchtag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Create repository dispatch event
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.DISPATCH_TOKEN }}"\
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/akerbp/witsml-explorer-cicd/dispatches \
-d '{"event_type":"tagdispatch ${{ github.ref_name }}","client_payload":{"tag": "${{ github.ref_name }}", "version":"${{ needs.fetchtag.outputs.tag-version }}"}}'
<<<<<<< HEAD


=======
>>>>>>> upstream/main
43 changes: 43 additions & 0 deletions .github/workflows/release_desktop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Release Desktop Edition

on:
workflow_dispatch:
inputs:
tag:
description: 'Tag to release'
required: true

permissions:
contents: write

jobs:
release:
name: Release WEx Desktop Installer
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
ref: ${{ github.event.inputs.tag }}
fetch-depth: 0
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '20'
- name: Install Dependencies
run: yarn --network-timeout 100000
working-directory: ./Src/WitsmlExplorer.Desktop
- name: Build Installer
run: yarn electron:dist
working-directory: ./Src/WitsmlExplorer.Desktop
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release Installer
uses: softprops/action-gh-release@v1
with:
draft: false
tag_name: ${{ github.event.inputs.tag }}
files: |
./Src/WitsmlExplorer.Desktop/dist/WExDesktopInstaller.Windows.x64*.exe
./Src/WitsmlExplorer.Desktop/dist/latest.yml
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ Tests/Witsml.Tests/config.json
config.json
**/mysettings.*

# Database files
*.db

# Common node modules locations
/node_modules
/wwwroot/node_modules
Expand Down Expand Up @@ -123,3 +126,6 @@ coverage*[.json, .xml, .info]
/Tests/WitsmlExplorer.IntegrationTests/Properties/launchSettings.json

.fake

# TGZ files
*.tgz
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ Src/WitsmlExplorer.Console
Src/WitsmlExplorer.Frontend/build
Src/WitsmlExplorer.Frontend/obj
Src/WitsmlExplorer.Frontend/bin
Src/WitsmlExplorer.Frontend/dist

.vscode/*

*.md
*.yml
.prettierignore
.github
.eslintrc.json
eslint.config.js
7 changes: 3 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@ There are two levels of issues - userstory and issue

### Userstory
A userstory is describing a functional (high level) enhancement of the WitsmlExplorer.
Here is the project board of [proposed and ongoing userstories](https://github.com/equinor/witsml-explorer/projects/2), and here is an [overview of the main contributors](https://github.com/equinor/witsml-explorer/wiki) participating on each userstory.
Proposals for new user stories are submitted as new issue - [use the Userstory template](https://github.com/equinor/witsml-explorer/issues/new/choose) .
Proposals for new user stories are submitted as new issue - [use the Userstory template](https://github.com/equinor/witsml-explorer/issues/new/choose).

### Issues
Issues are the feature (code level) enhancement of WitsmlExplorer. Here is the project board for [proposed and ongoing issues](https://github.com/equinor/witsml-explorer/projects/1).
Issues are the feature (code level) enhancement of WitsmlExplorer. Here is the [issue list](https://github.com/equinor/witsml-explorer/issues) and project board for [proposed and ongoing issues](https://github.com/orgs/equinor/projects/789).
Feel free to file new issues for bugs, suggest feature requests or improvements and so on. Please relate the issue to an UserStory if possible.

If you wish to contribute with coding please have a look at our [Issues board](https://github.com/equinor/witsml-explorer/projects/1).
If you wish to contribute with coding please have a look at our [Issues board](https://github.com/orgs/equinor/projects/789).
Issues that are in the TODO column should be ready to go, assign it to yourself and start working on it :computer:
Especially the ones labeled as a `good first issue` might be a good start.
Other issues might need some discussion or clarification before it can be started on, give us your thoughts or suggestions on something you would like to work on, and we can take it from there :smiley:
Expand Down
43 changes: 43 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<CentralPackageTransitivePinningEnabled>false</CentralPackageTransitivePinningEnabled>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Azure.Extensions.AspNetCore.Configuration.Secrets" Version="1.3.1" />
<PackageVersion Include="coverlet.collector" Version="6.0.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageVersion>
<PackageVersion Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.2" />
<PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="8.0.2" />
<PackageVersion Include="Microsoft.Azure.Cosmos" Version="3.38.1" />
<PackageVersion Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
<PackageVersion Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
<PackageVersion Include="Microsoft.Identity.Web" Version="2.17.1" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageVersion Include="MongoDB.Driver" Version="2.24.0" />
<PackageVersion Include="Moq" Version="4.20.70" />
<PackageVersion Include="NetCore.AutoRegisterDi" Version="2.2.1" />
<PackageVersion Include="Serilog" Version="3.1.1" />
<PackageVersion Include="Serilog.AspNetCore" Version="8.0.1" />
<PackageVersion Include="Serilog.Expressions" Version="4.0.0" />
<PackageVersion Include="Serilog.Settings.Configuration" Version="8.0.0" />
<PackageVersion Include="Serilog.Sinks.ApplicationInsights" Version="4.0.0" />
<PackageVersion Include="Serilog.Sinks.Console" Version="5.0.1" />
<PackageVersion Include="Serilog.Sinks.File" Version="5.0.0" />
<PackageVersion Include="Spectre.Console" Version="0.48.0" />
<PackageVersion Include="Spectre.Console.Cli" Version="0.48.0" />
<PackageVersion Include="Swashbuckle.AspNetCore" Version="6.5.0" />
<PackageVersion Include="System.Runtime.Caching" Version="8.0.1" />
<PackageVersion Include="System.ServiceModel.Http" Version="8.0.0" />
<PackageVersion Include="OpenTelemetry.Extensions.Hosting" Version="1.7.0" />
<PackageVersion Include="LiteDB" Version="5.0.19" />
<PackageVersion Include="xunit" Version="2.7.0" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.5.7">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageVersion>
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion Docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ See [setting up a database in Azure](../Scripts/Azure)

Build dockerfiles for frontend and backend (see [build_docker_images.sh](../build_docker_images.sh), [Dockerfile-api](../Dockerfile-api) and [Dockerfile-frontend](../Dockerfile-frontend)).

### **Build api and backend images**
### **Build api and frontend images**
```sh
❯ docker build -t witsmlexplorer-api:latest -f Dockerfile-api .
Building witsmlexplorer-api...
Expand Down
38 changes: 30 additions & 8 deletions Docker/Server/README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,41 @@
# Deploy on server

## Configure application

Configure your application according to [this guide](../README.md#deploy-and-run-witsml-explorer)

## OAUTH

If you are planning on using OAUTH with Azure, see [OAUTH.md](../../Docs/OAUTH.md)

## Configure docker-compose.yml

You will find a [docker-compose-yml](./docker-compose.yml) that is similar to the one used for running docker-compose locally. The difference is that `web` and `api` containers do not expose their ports outside of docker, and that an nginx instance is running in front forwarding the requests.

In `docker-compose.yml` ensure that the volumes that are mapped into the containers for nginx from the host OS have the correct host path.

## Configure nginx

Running on a server requires running an nginx in front of the api and the web containers. This is needed for configuring SSL.

You will find a [docker-compose-yml](./docker-compose-yml) that is similar to the one used for running docker-compose locally.
The volume `/etc/nginx` requires both an [`nginx.conf`](nginx.conf) file, and a `certs` directory. Here you need to place the certificate and key files. Ensure that the naming corresponds to what you configure in the `nginx.conf` file.

## Build docker images

The difference is that `web` and `api` containers do not expose their ports outside of docker, and that an nginx instance is running in front forwarding the requests.
Follow [Run locally with docker](../README.md#build-api-and-frontend-images) to build the docker images. You can either clone the application and build the images locally on the server, or create a workflow to build the images and then push them to a container registry. Make sure you use the same name in the building process and in docker-compose.yml.

## docker-compose.yml and nginx.conf
You might need to do some changes to make this run on a server.
* In `docker-compose.yml` ensure that the volumes that are mapped into the containers for nginx from the host OS have the correct host path.
* The volume `/etc/nginx` requires both an `nginx.conf` file which you can find next to the `docker-compose.yml` file, and also a `certs` directory. Here you need to place the certificate and key files. Ensure that the naming corresponds to what you configure in the `nginx.conf` file.
## Start docker containers

When the configuration is in place, run the following to pull fresh images and run them:
* `docker-compose pull`
* `docker-compose up`. Add `-d` if you want to run the application in the background
* `docker-compose pull`.
* `docker-compose up -d`. `-d` makes the application run in the background.
* Go to `https://yourserver` to open the application
* Use `docker-compose down` to stop the application

## Update your application

Before you update your application, make sure that no jobs are running.

To update your application, build and pull your new containers, and re-run `docker-compose up -d`.

Run `docker image prune --force --filter dangling=true` to remove dangling images.
Loading