Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
292 commits
Select commit Hold shift + click to select a range
e4eb4db
updated default autofield to test on docker
hamidizf Jan 23, 2026
4aa09e1
rest of tables added
hamidizf Jan 23, 2026
f73400a
added the scoring rules in json
hatoumg Jan 23, 2026
7363fb1
fixed the issue with the dropbox for metric type
hatoumg Jan 23, 2026
3593d77
Add production Docker + nginx web proxy
hamidizf Jan 23, 2026
20f957d
debug backend error on server
hamidizf Jan 23, 2026
2098e73
wrap analysis inside try except
hamidizf Jan 23, 2026
5fe9b09
bind redis to 0.0.0.0, remove protected
hamidizf Jan 23, 2026
565ec04
add .pem file path
hamidizf Jan 23, 2026
4251f9f
edit metric page
hamidizf Jan 24, 2026
49b80e4
fix edit page
hamidizf Jan 24, 2026
9e8138c
updated manage_local
hamidizf Jan 24, 2026
8fca177
deleted test files
hamidizf Jan 24, 2026
fc0ae62
Merge pull request #343 from thaafei/Dev/Modular-DB
hamidizf Jan 24, 2026
a02ac9a
added rules and categories as well as calculating the AHP for a category
hatoumg Jan 25, 2026
dc11d9e
Debug frontend and database local settings (#354)
thaafei Jan 25, 2026
004a9d1
Fixed bugs with AHP
hatoumg Jan 25, 2026
9f31267
deleted corrupted migration files, added analysis under util to acces…
hamidizf Jan 25, 2026
24a7aba
updated library views to use analysis from utils
hamidizf Jan 25, 2026
f033c09
migration on domains
hamidizf Jan 25, 2026
ff25b97
npm start issue
hamidizf Jan 25, 2026
0dd4735
updated edits page ui to have a cleaner table, added update button on…
hamidizf Jan 25, 2026
dc8a0af
Added graphs in the main page
hatoumg Jan 26, 2026
b753cbb
Merge branch 'Tool/Dev' into Dev/create-domain
hatoumg Jan 26, 2026
9bbed53
removed summary page
hatoumg Jan 26, 2026
19ed7b2
Merge branch 'Dev/create-domain' of https://github.com/thaafei/Domain…
hatoumg Jan 26, 2026
d6a772b
made sure no errors would show up if there are no domains
hatoumg Jan 26, 2026
383ccbb
add error message when creating domain
hatoumg Jan 26, 2026
90bc5c3
added background colour of the selected domain
hatoumg Jan 26, 2026
e393a59
docker changed to send data to server instead of docker db
hamidizf Jan 26, 2026
6f732fa
docker compose
hamidizf Jan 26, 2026
2c26d9d
Dev/modular db (#360)
hamidizf Jan 26, 2026
6d620f5
fixed sidebar toggle
hatoumg Jan 26, 2026
9610c4e
Dev/create domain (#324)
hatoumg Jan 26, 2026
9d209b1
Merge branch 'main' into Tool/Dev
thaafei Jan 26, 2026
5768f16
added ahpy to requirements.txt
hatoumg Jan 26, 2026
54ef9ed
added the metric attributes for user to see
hatoumg Jan 26, 2026
fbfb7f4
changed style of frontend
hatoumg Jan 26, 2026
f16b3d9
added evidence: https://github.com/thaafei/DomainX/issues/363
hatoumg Jan 26, 2026
a6ff386
added extra host
hamidizf Jan 26, 2026
22856bb
Merge branch 'Tool/Dev' into Dev/Modular-DB
hamidizf Jan 26, 2026
8375cf1
Merge pull request #367 from thaafei/Dev/Modular-DB
hamidizf Jan 26, 2026
ebd91b9
fixed bug: https://github.com/thaafei/DomainX/issues/366
hatoumg Jan 26, 2026
97e3395
add weight on main page: https://github.com/thaafei/DomainX/issues/365
hatoumg Jan 26, 2026
d85116a
Merge branch 'Tool/Dev' into Dev/update-AHP
hatoumg Jan 26, 2026
1b23834
More Domain Information Sidebar and Edit/Delete Domains (#370)
thaafei Jan 27, 2026
06a6c1c
fixed range problem in add metric
hatoumg Jan 27, 2026
6859285
Merge branch 'Dev/update-AHP' of https://github.com/thaafei/DomainX i…
hatoumg Jan 27, 2026
683d38b
removed second graph
hatoumg Jan 27, 2026
1e51ca3
added categories
hatoumg Jan 27, 2026
c080d38
removed double button
hatoumg Jan 27, 2026
ce8c4ec
Merge branch 'Tool/Dev' into Dev/update-AHP
hatoumg Jan 27, 2026
6777761
temp removal of coverage report fail if under 80 (#374)
thaafei Jan 27, 2026
ba02387
Merge branch 'Dev/API-Update' into Tool/Dev
hamidizf Jan 27, 2026
22dfba0
Merge pull request #373 from thaafei/Tool/Dev
hamidizf Jan 27, 2026
4e2c2a0
Revert "Dev/api update"
hamidizf Jan 27, 2026
3ceef06
Merge pull request #377 from thaafei/revert-357-Dev/API-Update
hamidizf Jan 27, 2026
3fe3692
DB merge
hamidizf Jan 27, 2026
da20773
Merge branch 'Tool/Dev' of https://github.com/thaafei/DomainX into To…
hatoumg Jan 27, 2026
6f094b9
fixed bugs
hatoumg Jan 27, 2026
89a4cfb
Url alignment
hamidizf Jan 27, 2026
1d362b1
test analysis added
hamidizf Jan 27, 2026
47149e3
comparison views test added
hamidizf Jan 27, 2026
deac259
resetting database
hatoumg Jan 27, 2026
9cc5d68
Merge branch 'Tool/Dev' of https://github.com/thaafei/DomainX into To…
hatoumg Jan 27, 2026
eea9694
Merge branch 'Tool/Dev' into Dev/update-AHP
hatoumg Jan 27, 2026
1e0cfe7
Merge branch 'Dev/update-AHP' of https://github.com/thaafei/DomainX i…
hatoumg Jan 27, 2026
d4acf96
sticky name
hamidizf Jan 27, 2026
c9ff9d9
align back button on all pages, fix url issues
hamidizf Jan 27, 2026
b8d81ce
added apiUrl
hatoumg Jan 27, 2026
5f41d45
added apiUrl
hatoumg Jan 27, 2026
9de7d0f
library view test added
hamidizf Jan 27, 2026
8c5a15f
Merge branch 'Tool/Dev' into Dev/update-AHP
hatoumg Jan 27, 2026
ef613cc
Merge pull request #368 from thaafei/Dev/update-AHP
hamidizf Jan 28, 2026
2073002
Merge branch 'Dev/API-Update' into Tool/Dev
hamidizf Jan 28, 2026
3e2cad9
Merge pull request #382 from thaafei/Tool/Dev
hamidizf Jan 28, 2026
8d2f561
resolve migration issue
hamidizf Jan 28, 2026
36d9de8
resolve conflicts
hamidizf Jan 28, 2026
24e120f
resolve conflicts
hamidizf Jan 28, 2026
70003ec
Merge pull request #383 from thaafei/Dev/API-Update
hamidizf Jan 28, 2026
9b8f7f1
removed https proxy for test
hamidizf Jan 28, 2026
d107471
DB needs maxlength for paper_name
hamidizf Jan 28, 2026
b44bcc1
update migration
hamidizf Jan 28, 2026
31c3ded
test is local issue
hamidizf Jan 28, 2026
5e4b7ab
revert back changes
hamidizf Jan 28, 2026
a66e8a1
migrate
hamidizf Jan 28, 2026
b530308
added edit on metrics page, adjusted table to be aligned with edit me…
hamidizf Jan 29, 2026
6436715
update docker-compose and nginx config to redirect to our domain
hamidizf Jan 29, 2026
8b5b2ba
nginx update
hamidizf Jan 29, 2026
4670d8a
updated docker and nginx
hamidizf Jan 29, 2026
6f51fd4
fixed typo in docker compose
hamidizf Jan 29, 2026
bee25fd
modal on edit and add metric, aligned modal styles
hamidizf Jan 29, 2026
a79e831
aligned table with other pages
hamidizf Jan 29, 2026
6fe79df
cleaned up table on add library page
hamidizf Jan 29, 2026
82d5e73
Metric page and Metric URLS
hamidizf Jan 29, 2026
58893d4
libraries url
hamidizf Jan 29, 2026
a1753ac
deleted views
hamidizf Jan 29, 2026
25206f3
metric values urls
hamidizf Jan 29, 2026
e96e7cd
domain url fix
hamidizf Jan 29, 2026
f1367ec
align tests
hamidizf Jan 29, 2026
c1e8e40
fix broken unit test
thaafei Jan 29, 2026
bba3eff
remove update-values library test to library_metric_values test file
thaafei Jan 29, 2026
93f3b2a
Merge pull request #388 from thaafei/Dev/mass-upload
hamidizf Jan 29, 2026
fd4b14a
Initial admin page with edit. Adjusted test_db to refelct logic
thaafei Jan 29, 2026
fb8764b
update of table ui
thaafei Jan 29, 2026
137478c
Updated buttons based on who can see business logic.
thaafei Jan 29, 2026
af945e2
Update select labels to black colour via class
thaafei Jan 29, 2026
2bc7887
Create success popup component
thaafei Jan 30, 2026
6fd4432
Add Unit test
thaafei Jan 30, 2026
35a4b76
Update edit user to include email and username
thaafei Jan 30, 2026
58f37e1
scc added
hamidizf Jan 30, 2026
574339e
test push
hamidizf Jan 31, 2026
1f72b29
added a new page for the category weights
hatoumg Jan 31, 2026
c080409
can't save something that is more than a total sum of 1
hatoumg Jan 31, 2026
19827b7
removed table from main
hatoumg Jan 31, 2026
dc8976d
added slider and view for the weights
hatoumg Jan 31, 2026
cb79848
reformated weight page
hatoumg Jan 31, 2026
06ec80a
updated the graph
hatoumg Jan 31, 2026
01fcd47
adding gitstats
hamidizf Jan 31, 2026
0fab514
added url path for report to library
hamidizf Jan 31, 2026
3ee0b0d
edited edit page to have status on page, not completed yet
hamidizf Jan 31, 2026
fc04d43
added gitstats analysis id since running on a separate worker
hamidizf Jan 31, 2026
8ab1b86
added gitstats path to settings
hamidizf Jan 31, 2026
b48ee79
added second worker
hamidizf Jan 31, 2026
42b1dea
docker, nginx, and docker file update to take results
hamidizf Jan 31, 2026
f10b048
disable save button if it doesn't add up to 100
hatoumg Jan 31, 2026
9a79ba3
added table
hatoumg Jan 31, 2026
3585b77
Admin Page (#393)
thaafei Feb 1, 2026
3e6f010
only graph top 10 graphs
hatoumg Feb 1, 2026
abcb382
updates the values
hatoumg Feb 1, 2026
c0de112
Merge branch 'Tool/Dev' into update_weight_criteria
hatoumg Feb 1, 2026
1b6d76d
allow user to update their information
hatoumg Feb 1, 2026
7f9c534
Merge branch 'Tool/Dev' into update_user_information
hatoumg Feb 2, 2026
89049ea
added test for ahp calculation
hatoumg Feb 2, 2026
4645ef9
updated services, tasks and edit page
hamidizf Feb 2, 2026
dac56e8
Initial page changes
thaafei Feb 3, 2026
1d7aca1
add react plotly
thaafei Feb 3, 2026
a67f97c
adding url to metric value
hamidizf Feb 3, 2026
b294fa8
initial setup and update test fixture
thaafei Feb 3, 2026
a95cf30
pass library id
hamidizf Feb 3, 2026
3e4b211
display report under column edit page, add modal
hamidizf Feb 3, 2026
bca0284
Initial setup to allow for downloading all graphs as svg
thaafei Feb 3, 2026
adeb647
updated docker compose and nginx config
hamidizf Feb 3, 2026
ca95136
update to export as zip
thaafei Feb 3, 2026
f1a0694
revert celery command
hamidizf Feb 3, 2026
d8ca7dc
update gitstats
hamidizf Feb 3, 2026
35d52a1
updated dockerfile to fix scc installation issue
hamidizf Feb 3, 2026
c817595
restrict library info editing on edit metrics value page
hamidizf Feb 3, 2026
738ac07
view report on comparison tool page
hamidizf Feb 3, 2026
379546d
Update to category selection on metrics page
thaafei Feb 3, 2026
daa1ac1
test added for tasks.py
hamidizf Feb 3, 2026
a3e63e8
test added for services.py
hamidizf Feb 3, 2026
be870a4
separated test for metric values model and view and updated library t…
hamidizf Feb 3, 2026
69f3978
test added for library model
hamidizf Feb 3, 2026
4f7a3ef
test updated for analysis and github_http
hamidizf Feb 3, 2026
129a32b
remove unneeded file
thaafei Feb 4, 2026
39d153a
For now
thaafei Feb 4, 2026
585302d
Functionality done
thaafei Feb 4, 2026
40611b2
fix styling
thaafei Feb 4, 2026
577dbcb
updated celery time and docker compose to remove concurrency due to c…
hamidizf Feb 4, 2026
484a798
Dev/GitHub data (#401)
hamidizf Feb 4, 2026
b28b062
Preview Visualizations and Export Visualizations (#410)
thaafei Feb 4, 2026
502d5b7
Adding the profile page
hatoumg Feb 4, 2026
4ec5e20
added message and change format of the buttons
hatoumg Feb 4, 2026
44dfb25
Merge branch 'update_weight_criteria' of https://github.com/thaafei/D…
hatoumg Feb 4, 2026
6bd82de
increased timeout
hamidizf Feb 4, 2026
a6f110e
Merge pull request #402 from thaafei/update_weight_criteria
hamidizf Feb 4, 2026
73dce15
Merge pull request #409 from thaafei/test_ahp
hamidizf Feb 4, 2026
3c66a3f
increase time limit on gitstats task
hamidizf Feb 4, 2026
c67093e
updated so the domain shows up
hatoumg Feb 4, 2026
244d1a7
matched updated buttons
hatoumg Feb 4, 2026
b11c910
Merge pull request #412 from thaafei/test_ahp
hamidizf Feb 4, 2026
17553f2
added test cases
hatoumg Feb 4, 2026
08777d4
preselect the domains
hatoumg Feb 4, 2026
8a305d5
added a back button to the category weights page
hatoumg Feb 4, 2026
5d247dc
Merge branch 'Dev/GithubData' into Tool/Dev
hamidizf Feb 4, 2026
579fbd9
added tests and changed logic
hatoumg Feb 4, 2026
c498f82
fixed the red box issue
hatoumg Feb 4, 2026
e559f16
Merge branch 'Tool/Dev' into test_ahp
hatoumg Feb 4, 2026
8a8706b
removed old work
hatoumg Feb 4, 2026
d836d95
Merge branch 'test_ahp' of https://github.com/thaafei/DomainX into te…
hatoumg Feb 4, 2026
37f4de5
Merge branch 'Tool/Dev' into fei-visualization
thaafei Feb 4, 2026
898bdfe
Merge branch 'Tool/Dev' into fei-visualization
thaafei Feb 4, 2026
16a7a4c
Update to visualizations
thaafei Feb 4, 2026
36f7cde
Add reset weights button
thaafei Feb 4, 2026
7d0a24b
added library edit, success message on page, test for update (#417)
hamidizf Feb 4, 2026
0b0e767
Merge pull request #416 from thaafei/fei-visualization
hamidizf Feb 4, 2026
22627cc
Merge branch 'Tool/Dev' into test_ahp
thaafei Feb 4, 2026
a39f91a
Changed Profile Page (#415)
hatoumg Feb 4, 2026
34b52eb
Merge branch 'main' into Tool/Dev
thaafei Feb 4, 2026
536bb6d
Update to not visualize bool and text type metrics
thaafei Feb 4, 2026
8026c49
Update readme - Haniye
thaafei Feb 4, 2026
9d713ca
celery settings
hamidizf Feb 5, 2026
1aea591
added back mstakenly removed parts adjusted celery timing
hamidizf Feb 5, 2026
2a20f7e
increase cookie time for login
hamidizf Feb 17, 2026
9b5906a
export csv
hamidizf Feb 17, 2026
4e9dc69
favicon and title added
hamidizf Feb 17, 2026
89e4af9
button ui and page title
hamidizf Feb 17, 2026
7d31172
changed the frontend for the weight categories
hatoumg Feb 17, 2026
2129ae3
Merge pull request #430 from thaafei/Dev/Export
hatoumg Feb 17, 2026
1ce45cb
made sure it was saved in the backend
hatoumg Feb 18, 2026
29f6566
Merge branch 'test_ahp' of https://github.com/thaafei/DomainX into te…
hatoumg Feb 18, 2026
84bf70b
added dropdown menu
hatoumg Feb 18, 2026
99eb400
Update visualization page
thaafei Feb 27, 2026
94b30b7
Add playwright for frontend testing (#432)
thaafei Feb 27, 2026
5736ae6
Merge branch 'Tool/Dev' into test_ahp
hatoumg Feb 28, 2026
ede0fe5
changed nav
hatoumg Feb 28, 2026
c98ef06
Merge branch 'test_ahp' of https://github.com/thaafei/DomainX into te…
hatoumg Feb 28, 2026
a87abae
Merge pull request #433 from thaafei/fei/remove-ahp-from-visualization
hatoumg Mar 2, 2026
eb321cd
added graphs for ahp and download to main page
hatoumg Mar 4, 2026
61508fe
removed commented out code
hatoumg Mar 5, 2026
a0d94c9
Merge pull request #444 from thaafei/ghena/ahp_graphs
hamidizf Mar 5, 2026
8510fdf
removed the all from the download to make it understandable
hatoumg Mar 5, 2026
ec9665c
Merge pull request #445 from thaafei/ghena/ahp_graphs
hamidizf Mar 5, 2026
7533ede
Merge pull request #431 from thaafei/test_ahp
hamidizf Mar 5, 2026
2c1cf4d
updated lock file
hamidizf Mar 5, 2026
669eb94
Merge pull request #446 from thaafei/test_ahp
hamidizf Mar 5, 2026
24aa4f0
increase length of text for metric desc and programming language
hamidizf Mar 7, 2026
5784e74
updated model to add source type and metric key for github values
hamidizf Mar 11, 2026
190b1d0
auto metric json file for github values
hamidizf Mar 11, 2026
4cb266e
fetch github metrics
hamidizf Mar 11, 2026
f0fc850
update service and task
hamidizf Mar 11, 2026
ac436dd
return metric key
hamidizf Mar 11, 2026
1d400dd
update UI
hamidizf Mar 11, 2026
5e8b7bb
edit on popup
hamidizf Mar 11, 2026
29fb8a9
restrict user on metric value type
hamidizf Mar 11, 2026
ff6063a
tests added and updated
hamidizf Mar 11, 2026
4b08a4e
changed url to github_url to add url to library as well
hamidizf Mar 11, 2026
4fdd6db
updated backend
hamidizf Mar 11, 2026
b1529e9
updated tests
hamidizf Mar 11, 2026
bede530
updated ui
hamidizf Mar 11, 2026
6e1caa0
add proper feedback message
hamidizf Mar 11, 2026
d7f8961
updated test
hamidizf Mar 11, 2026
3622c4d
add url column
hamidizf Mar 11, 2026
936308c
update backend
hamidizf Mar 11, 2026
a2e7349
update ui
hamidizf Mar 11, 2026
70ce3b9
update test
hamidizf Mar 11, 2026
d5dbf04
update table ui
hamidizf Mar 11, 2026
0e2347d
update readme.m
hamidizf Mar 11, 2026
16f94bb
align tables
hamidizf Mar 11, 2026
d94040b
sticky fix
hamidizf Mar 11, 2026
5c9ff3b
button
hamidizf Mar 11, 2026
cfa3b07
display desc and columns being affected
hamidizf Mar 11, 2026
6058fa3
reduce first two columns size
hamidizf Mar 11, 2026
2dc08e9
Merge pull request #460 from thaafei/Dev/MetricType
hatoumg Mar 11, 2026
8bacb61
added descriptions to frontend
hatoumg Mar 11, 2026
8b54ed4
Added metric desctiption in comparison table
hatoumg Mar 15, 2026
ef54376
fixed testing
hatoumg Mar 15, 2026
dd7aeb2
Add to csv
hatoumg Mar 15, 2026
d699d9b
Merge pull request #474 from thaafei/Dev/descp
hamidizf Mar 15, 2026
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
37 changes: 34 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Run Tests

run-name: Running test suite by ${{ github.actor }} on ${{ github.head_ref }}

on:
pull_request:

jobs:
test:
backend-test:
runs-on: ubuntu-latest

steps:
Expand All @@ -28,16 +29,46 @@ jobs:
pip install pytest pytest-cov

- name: Run tests with coverage

env:
DJANGO_SECRET_KEY: test-secret-key
DJANGO_LOCAL: "true"
DJANGO_DEBUG: "true"
CELERY_BROKER_URL: "memory://"
run: |
pytest test/ \
--cov=src/backend \
--cov-report=term-missing \
--cov-report=html \
--cov-fail-under=80

- name: Upload coverage report
if: always()
uses: actions/upload-artifact@v4
with:
name: coverage-html
path: htmlcov/
path: htmlcov/
frontend-test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies and Run Playwright Tests
run: |
cd src/frontend/
npm install
cd ../../test/frontend/
npm install
npx playwright install --with-deps
- name: Run Playwright Tests
run: |
cd test/frontend
npx playwright test
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# React build
build/

## Core latex/pdflatex auxiliary files:
.idea/
venv/
Expand Down Expand Up @@ -294,4 +297,7 @@ db.sqlite3
# Redis
*.rdb
dump.rdb
*venv
*venv



44 changes: 44 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,50 @@
"env": {
"PYTHONPATH": "${workspaceFolder}/src/backend"
}

},
{
"name": "Launch Backend",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/src/backend/manage.py",
"args": ["runserver", "0.0.0.0:8000"],
"cwd": "${workspaceFolder}/src/backend",
"console": "integratedTerminal",
"env": {
"PYTHONPATH": "${workspaceFolder}/src/backend"
}
},
{
"name": "Start Frontend Dev Server",
"type": "node",
"request": "launch",
"runtimeExecutable": "npm",
"runtimeArgs": ["start"],
"cwd": "${workspaceFolder}/src/frontend",
"console": "integratedTerminal",
"env": {
"BROWSER": "none"
}
},
{
"name": "Debug Frontend (Chrome)",
"type": "pwa-chrome",
"request": "launch",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}/src/frontend/src",
"sourceMaps": true
}
],
"compounds": [
{
"name": "Run Full Stack (Backend + Frontend + Debug)",
"configurations": [
"Launch Backend",
"Start Frontend Dev Server",
"Debug Frontend (Chrome)"
],
"stopAll": true
}
]
}
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 10 additions & 3 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
[pytest]
pythonpath = src/backend
testpaths = test/backend
python_files = test_*.py
DJANGO_SETTINGS_MODULE = DomainX.settings
python_files = test_*.py *_test.py tests.py

# Your test folder
testpaths =
test

# So imports like "from api..." work
pythonpath =
src/backend
2 changes: 2 additions & 0 deletions src/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.env
infra/nginx/certs/
Loading
Loading