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 into Main for Demo 1 #22

Merged
merged 140 commits into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
140 commits
Select commit Hold shift + click to select a range
f34bb33
Merge pull request #1 from COS301-SE-2024/main
Yeshlen May 28, 2024
eb44c2e
Update README.md - Added CodeCov
Yeshlen May 28, 2024
24693fd
Update README.md - CodeCov
Yeshlen May 28, 2024
f719a79
Script for text extraction
u21598012 May 30, 2024
51408ff
Update .gitignore to exclude .vs directory
paul-nhlapo May 31, 2024
0355fd6
Update .gitignore to exclude .vs directory
paul-nhlapo May 31, 2024
2afa668
Delete GDPR Non-compliant Detector directory
paul-nhlapo May 31, 2024
7ba5d6f
Update python-app-test.yml
Yeshlen May 31, 2024
bcf7ac4
Merge branch 'feature/text_extraction' of https://github.com/COS301-S…
u21598012 May 31, 2024
74f2861
Update README.md
paul-nhlapo May 31, 2024
f9579d0
The Frontend
paul-nhlapo May 31, 2024
c22932f
changes to the dependencies
paul-nhlapo Jun 1, 2024
27189f8
Fixed some things to do with version of the MAUI version
paul-nhlapo Jun 1, 2024
1089a44
Basic File Agnostic
u21598012 Jun 1, 2024
c7482ed
Packaged functionality
u21598012 Jun 1, 2024
065fdc6
Fixed the home page
paul-nhlapo Jun 1, 2024
302d3bb
Added Headshots
Yeshlen Jun 1, 2024
1fb868e
Update README.md
Yeshlen Jun 1, 2024
a67d95c
Update README.md
Yeshlen Jun 1, 2024
d14c061
Update README.md
Yeshlen Jun 1, 2024
88ec56d
Update README.md
Yeshlen Jun 1, 2024
5b29f38
Update README.md
Yeshlen Jun 1, 2024
2aefb46
Update README.md
Yeshlen Jun 1, 2024
c721a4e
Update README.md
Yeshlen Jun 1, 2024
1e8b6a0
Update README.md
Yeshlen Jun 1, 2024
bbc7a32
Update README.md
Yeshlen Jun 1, 2024
91ea392
Update README.md
Yeshlen Jun 1, 2024
b75cc1d
Update README.md
Yeshlen Jun 1, 2024
5e58c7b
Update README.md
Yeshlen Jun 1, 2024
720018f
Update README.md
Yeshlen Jun 1, 2024
8cd2870
Update README.md
Yeshlen Jun 1, 2024
b7953f9
Update README.md
Yeshlen Jun 1, 2024
868b1d7
Update README.md
Yeshlen Jun 1, 2024
60e7b7e
Added GND Logo
Yeshlen Jun 1, 2024
2c467b5
Merge branch 'develop' of https://github.com/COS301-SE-2024/GDPR-data…
Yeshlen Jun 1, 2024
9acf43c
Update README.md
Yeshlen Jun 1, 2024
efe5142
Refactored to class
u21598012 Jun 1, 2024
ccd0b80
Changed the Scan button color to Blue
Nevin-Thomas Jun 1, 2024
46bdd29
Changed the scan button to the color red
Nevin-Thomas Jun 1, 2024
8241396
yudi picture
Yudi-G Jun 1, 2024
e544639
User can now upload document
paul-nhlapo Jun 2, 2024
d0fd69e
Refactored to subsystems
u21598012 Jun 2, 2024
3380fc9
Made changes to the main page (added logo and added some styling)
Nevin-Thomas Jun 2, 2024
4ad7979
Made styling changes to the Login page
Nevin-Thomas Jun 2, 2024
dc07b70
Had to fix the text color on Login page
Nevin-Thomas Jun 2, 2024
18883b3
Validator unit tests
u21598012 Jun 2, 2024
0c5e087
Made styling changes to the Home page. Not done yet.
Nevin-Thomas Jun 2, 2024
c653376
unit tests completed
u21598012 Jun 2, 2024
001d041
Made more styling changes to the Home page.
Nevin-Thomas Jun 2, 2024
eade60e
Changed title to GDN and did unit tests for the download buttons
Nevin-Thomas Jun 2, 2024
a37ac7a
removed externals
u21598012 Jun 2, 2024
ac87bcb
Some small changes
Nevin-Thomas Jun 2, 2024
591426e
Fixed the title names
Nevin-Thomas Jun 2, 2024
92fc69e
Update README.md
Nevin-Thomas Jun 2, 2024
86385cd
Update python-app-test.yml
Yudi-G Jun 2, 2024
2173002
fixing python test
Yudi-G Jun 2, 2024
649dba7
Update python-app-test.yml to conform to yamllint
Yudi-G Jun 2, 2024
b027a14
added mock testing files
Yudi-G Jun 2, 2024
352d53c
Update python-app-test.yml
Yudi-G Jun 2, 2024
142abd6
linting fixing
Yudi-G Jun 2, 2024
5ba627d
Added some styling to the login page
paul-nhlapo Jun 2, 2024
18096de
Update lint-tests.yaml
Yudi-G Jun 2, 2024
c931f33
Merge branch 'feature/frontend' of https://github.com/COS301-SE-2024/…
paul-nhlapo Jun 2, 2024
c667888
more actions fixes, linting fix
Yudi-G Jun 2, 2024
292ec24
Update lint-tests.yaml
Yudi-G Jun 2, 2024
f27b256
fixes actions
Yudi-G Jun 2, 2024
a57204e
changed from void
u21598012 Jun 2, 2024
b84a2b4
requirements.txt
u21598012 Jun 2, 2024
e7fd4e3
Update lint-tests.yaml, ignoring useless linters
Yudi-G Jun 2, 2024
8be5e93
linttests changes
Yudi-G Jun 2, 2024
111a47a
Added Language Detector
Yeshlen Jun 2, 2024
097bfc9
Update lint-tests.yaml
Yudi-G Jun 2, 2024
e33d6ba
removed useless
Yudi-G Jun 2, 2024
19f1d8b
Merge pull request #12 from COS301-SE-2024/feature/lang_detect
u21598012 Jun 2, 2024
f43a014
Update lint-tests.yaml. only on push now
Yudi-G Jun 2, 2024
58aa627
python linter flake8 isnt as annoying
Yudi-G Jun 2, 2024
76379a7
Merge pull request #15 from COS301-SE-2024/Yudi-G-patch-1
Yeshlen Jun 2, 2024
6ac7e0a
Update lint-tests.yaml
Yudi-G Jun 2, 2024
49caec8
flake8 fixes
Yudi-G Jun 2, 2024
d40c4fb
Merge pull request #14 from COS301-SE-2024/feature/actionsFix
Yudi-G Jun 2, 2024
430355e
added gitignore
Yudi-G Jun 2, 2024
f9661db
trying codecov
Yudi-G Jun 2, 2024
a3158cd
Merge pull request #16 from COS301-SE-2024/feature/actionsFix
Yudi-G Jun 2, 2024
6037c5f
codecov?
Yudi-G Jun 2, 2024
4767bdb
Merge pull request #18 from COS301-SE-2024/feature/actionsFix
Yudi-G Jun 2, 2024
73cb05e
ccov
Yudi-G Jun 2, 2024
731e0b7
Update python-app-test.yml, aded pytest - cov
Yudi-G Jun 2, 2024
8ca0f18
ccov
Yudi-G Jun 2, 2024
6bac1a9
Update python-app-test.yml
Yudi-G Jun 2, 2024
f45d22e
ccov
Yudi-G Jun 2, 2024
e89c814
Update python-app-test.yml
Yudi-G Jun 2, 2024
a6e817e
Update python-app-test.yml
Yudi-G Jun 2, 2024
4342979
ccov thing
Yudi-G Jun 2, 2024
0a86cb2
synced changes
Yudi-G Jun 2, 2024
9be39c5
class seaparation
u21598012 Jun 2, 2024
b7857ca
Demo 1 SRS
Yeshlen Jun 3, 2024
ccc18db
Unit tests for Lang Detection
Yeshlen Jun 3, 2024
9bfbe15
Nevin image
Yeshlen Jun 3, 2024
b0a669c
Update README.md
Yeshlen Jun 3, 2024
8b1da75
Update README.md
Yeshlen Jun 3, 2024
205b7aa
Update README.md
Yeshlen Jun 3, 2024
86652d8
ignoring pycache
Yudi-G Jun 3, 2024
e34a098
ignoring pycache
Yudi-G Jun 3, 2024
750d9ee
ignoring pycache
Yudi-G Jun 3, 2024
054b852
ignoring pycache
Yudi-G Jun 3, 2024
0b5a783
Merge pull request #20 from COS301-SE-2024/feature/documentation
u21598012 Jun 3, 2024
4c21e16
Branch Clean Up
Yeshlen Jun 3, 2024
842e493
Branch Clean Up - Mockdata
Yeshlen Jun 3, 2024
15dc7fd
Merge pull request #19 from COS301-SE-2024/feature/actionsFix
Yudi-G Jun 3, 2024
d9f83d2
Merge branch 'develop' into feature/text_extraction
Yudi-G Jun 3, 2024
46fc7ed
Merge branch 'develop' into feature/frontend
paul-nhlapo Jun 3, 2024
a241ada
Merge pull request #21 from COS301-SE-2024/feature/frontend
paul-nhlapo Jun 3, 2024
0cf7556
linting fixes and ignoring useless lint warnings
Yudi-G Jun 3, 2024
4941612
Update lint-tests.yaml
Yudi-G Jun 3, 2024
2cd8153
Update python-app-test.yml
Yudi-G Jun 3, 2024
5ddfda6
Update README.md
u21598012 Jun 3, 2024
2a95cdd
Update README.md
u21598012 Jun 3, 2024
648effb
Update README.md
u21598012 Jun 3, 2024
7696fed
Update README.md
u21598012 Jun 3, 2024
53bbe19
Update python-app-test.yml
Yudi-G Jun 3, 2024
8f3eb40
testing fixes
Yudi-G Jun 3, 2024
339eb1d
testing fixes
Yudi-G Jun 3, 2024
61f3f2e
Update lint-tests.yaml
Yudi-G Jun 3, 2024
9f26c33
Update python-app-test.yml
Yudi-G Jun 3, 2024
a39f8ea
Update python-app-test.yml
Yudi-G Jun 3, 2024
cbeb2e5
Update python-app-test.yml
Yudi-G Jun 3, 2024
844267b
actions debugging
Yudi-G Jun 3, 2024
01d4963
actions debugging
Yudi-G Jun 3, 2024
5bc33aa
Update python-app-test.yml
Yudi-G Jun 3, 2024
dedf72b
actions debugging
Yudi-G Jun 3, 2024
7c5f156
actions debugging
Yudi-G Jun 3, 2024
4317b46
Merge pull request #11 from COS301-SE-2024/feature/text_extraction
Yeshlen Jun 3, 2024
a23f684
Update README.md
Nevin-Thomas Jun 3, 2024
aa6fa90
Update README.md
Yeshlen Jun 3, 2024
1900a49
Update README.md
Yeshlen Jun 3, 2024
1b34970
Update README.md
Yeshlen Jun 3, 2024
cbf497b
Update README.md
Yeshlen Jun 3, 2024
fe1c236
Update README.md
Yeshlen Jun 3, 2024
12da33b
Update README.md
Yeshlen Jun 3, 2024
4bce978
Update lang_detection_unit_test.py
Yudi-G Jun 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/configs/.flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[flake8]
extend-ignore = W292, W291, E302, W293, E501
102 changes: 70 additions & 32 deletions .github/workflows/lint-tests.yaml
Original file line number Diff line number Diff line change
@@ -1,34 +1,72 @@
---
name: Lint
name: Lint

on: # yamllint disable-line rule:truthy
push: null

permissions: {}

jobs:
build:
name: Lint
runs-on: ubuntu-latest

permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0

- name: Super-linter
uses: super-linter/super-linter@v6.5.1 # x-release-please-version
env:
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_MARKDOWN: false
VALIDATE_PYTHON_BLACK: false
VALIDATE_GITHUB_ACTIONS: false
VALIDATE_PYTHON_PYLINT: false
VALIDATE_PYTHON_ISORT: false
VALIDATE_PYTHON_RUFF: false
VALIDATE_JSCPD: false
VALIDATE_NATURAL_LANGUAGE: false
VALIDATE_PYTHON_FLAKE8: false
VALIDATE_PYTHON_MYPY: false
VALIDATE_GITLEAKS: false
VALIDATE_CSHARP: false

on: # yamllint disable-line rule:truthy
push: null
pull_request: null

permissions: { }

jobs:
build:
name: Lint
runs-on: ubuntu-latest

permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0

- name: Super-linter
uses: super-linter/super-linter@v6.5.1 # x-release-please-version
env:
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_MARKDOWN: false

# doing this to use the config
run-flake8-lint:
name: Run flake8 lint
runs-on: ubuntu-latest

permissions:
contents: read
packages: read

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8

- name: Run flake8
run: |
flake8 --config=.github/configs/.flake8
70 changes: 48 additions & 22 deletions .github/workflows/python-app-test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
# This workflow will install Python dependencies, run tests and
# lint with a single version of Python
# For more information see:
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Python application

Expand All @@ -12,27 +14,51 @@ permissions:
contents: read

jobs:
build:
check-tests:
runs-on: ubuntu-latest
outputs:
tests_exist: ${{ steps.check.outputs.tests_exist }}

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Check for test files
id: check
run: |
if find . -type f -name "*_test.py" | grep -q .; then
echo "::set-output name=tests_exist::true"
else
echo "::set-output name=tests_exist::false"
fi

run-tests:

runs-on: ubuntu-latest
needs: check-tests
if: needs.check-tests.outputs.tests_exist == 'true'

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest pytest-cov
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi

- name: Test with pytest
run: |
pytest

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest pytest-cov
ls -a
cd backend
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi

- name: Test with pytest
run: |
ls -a
cd backend/Document_parser
pytest --cov=. --cov-report=xml

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

# Ignore bin and obj folders
bin/
obj/
/__pycache__/

3 changes: 3 additions & 0 deletions GDPR Non-compliant Detector/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Ignore bin and obj folders
bin/
obj/
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"Version": 1,
"WorkspaceRootPath": "C:\\Users\\User\\Documents\\Academics\\2024\\COS 301 SOFTWARE ENGINEERING\\AprilFour\\GDPR-data-noncompliance-detector\\GDPR Non-compliant Detector\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{42462CC7-CC95-4833-A563-2DBEAF24F031}|GDPR Non-compliant Detector.csproj|c:\\users\\user\\documents\\academics\\2024\\cos 301 software engineering\\aprilfour\\gdpr-data-noncompliance-detector\\gdpr non-compliant detector\\homepage.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{42462CC7-CC95-4833-A563-2DBEAF24F031}|GDPR Non-compliant Detector.csproj|solutionrelative:homepage.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{42462CC7-CC95-4833-A563-2DBEAF24F031}|GDPR Non-compliant Detector.csproj|c:\\users\\user\\documents\\academics\\2024\\cos 301 software engineering\\aprilfour\\gdpr-data-noncompliance-detector\\gdpr non-compliant detector\\homepage.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
"RelativeMoniker": "D:0:0:{42462CC7-CC95-4833-A563-2DBEAF24F031}|GDPR Non-compliant Detector.csproj|solutionrelative:homepage.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
}
],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": 0,
"Children": [
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "HomePage.xaml.cs",
"DocumentMoniker": "C:\\Users\\User\\Documents\\Academics\\2024\\COS 301 SOFTWARE ENGINEERING\\AprilFour\\GDPR-data-noncompliance-detector\\GDPR Non-compliant Detector\\HomePage.xaml.cs",
"RelativeDocumentMoniker": "HomePage.xaml.cs",
"ToolTip": "C:\\Users\\User\\Documents\\Academics\\2024\\COS 301 SOFTWARE ENGINEERING\\AprilFour\\GDPR-data-noncompliance-detector\\GDPR Non-compliant Detector\\HomePage.xaml.cs",
"RelativeToolTip": "HomePage.xaml.cs",
"ViewState": "AQIAAAcAAAAAAAAAAAAgwA8AAAAJAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-06-01T13:11:46.422Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "HomePage.xaml",
"DocumentMoniker": "C:\\Users\\User\\Documents\\Academics\\2024\\COS 301 SOFTWARE ENGINEERING\\AprilFour\\GDPR-data-noncompliance-detector\\GDPR Non-compliant Detector\\HomePage.xaml",
"RelativeDocumentMoniker": "HomePage.xaml",
"ToolTip": "C:\\Users\\User\\Documents\\Academics\\2024\\COS 301 SOFTWARE ENGINEERING\\AprilFour\\GDPR-data-noncompliance-detector\\GDPR Non-compliant Detector\\HomePage.xaml",
"RelativeToolTip": "HomePage.xaml",
"ViewState": "AQIAAA0AAAAAAAAAAAAYwBsAAAAvAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
"WhenOpened": "2024-06-01T13:11:14.044Z",
"EditorCaption": ""
}
]
}
]
}
]
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
14 changes: 14 additions & 0 deletions GDPR Non-compliant Detector/App.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version = "1.0" encoding = "UTF-8" ?>
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:GDPR_Non_compliant_Detector"
x:Class="GDPR_Non_compliant_Detector.App">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Resources/Styles/Colors.xaml" />
<ResourceDictionary Source="Resources/Styles/Styles.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
</Application>
12 changes: 12 additions & 0 deletions GDPR Non-compliant Detector/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
namespace GDPR_Non_compliant_Detector
{
public partial class App : Application
{
public App()
{
InitializeComponent();

MainPage = new AppShell();
}
}
}
16 changes: 16 additions & 0 deletions GDPR Non-compliant Detector/AppShell.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8" ?>
<Shell
x:Class="GDPR_Non_compliant_Detector.AppShell"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:GDPR_Non_compliant_Detector"
Shell.FlyoutBehavior="Disabled"
Title="GDPR_Non_compliant_Detector">

<ShellContent
StyleClass="Text-Center"
Title="Deloitte."
ContentTemplate="{DataTemplate local:MainPage}"
Route="MainPage" />

</Shell>
10 changes: 10 additions & 0 deletions GDPR Non-compliant Detector/AppShell.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
namespace GDPR_Non_compliant_Detector
{
public partial class AppShell : Shell
{
public AppShell()
{
InitializeComponent();
}
}
}
76 changes: 76 additions & 0 deletions GDPR Non-compliant Detector/GDPR Non-compliant Detector.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
<!-- <TargetFrameworks>$(TargetFrameworks);net8.0-tizen</TargetFrameworks> -->

<!-- Note for MacCatalyst:
The default runtime is maccatalyst-x64, except in Release config, in which case the default is maccatalyst-x64;maccatalyst-arm64.
When specifying both architectures, use the plural <RuntimeIdentifiers> instead of the singular <RuntimeIdentifier>.
The Mac App Store will NOT accept apps with ONLY maccatalyst-arm64 indicated;
either BOTH runtimes must be indicated or ONLY macatalyst-x64. -->
<!-- For example: <RuntimeIdentifiers>maccatalyst-x64;maccatalyst-arm64</RuntimeIdentifiers> -->

<OutputType>Exe</OutputType>
<RootNamespace>GDPR_Non_compliant_Detector</RootNamespace>
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

<!-- Display name -->
<ApplicationTitle>GDPR Non-compliant Detector</ApplicationTitle>

<!-- App Identifier -->
<ApplicationId>com.companyname.gdprnoncompliantdetector</ApplicationId>

<!-- Versions -->
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
<ApplicationVersion>1</ApplicationVersion>

<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
</PropertyGroup>

<ItemGroup>
<!-- App Icon -->
<MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" />

<!-- Splash Screen -->
<MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#512BD4" BaseSize="128,128" />

<!-- Images -->
<MauiImage Include="Resources\Images\*" />
<MauiImage Update="Resources\Images\dotnet_bot.png" Resize="True" BaseSize="300,185" />

<!-- Custom Fonts -->
<MauiFont Include="Resources\Fonts\*" />

<!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />
<PackageReference Include="Microsoft.Maui.Essentials" Version="8.0.40" />
</ItemGroup>

<ItemGroup>
<MauiXaml Update="HomePage.xaml">
<Generator>MSBuild:Compile</Generator>
</MauiXaml>
<MauiXaml Update="loginPage.xaml">
<Generator>MSBuild:Compile</Generator>
</MauiXaml>
</ItemGroup>

</Project>

Loading
Loading