Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
4084e0e
RDO-1 Add authentication for telesint bot
curcher Dec 19, 2023
da01b45
config with pwd issues in neo4j
curcher Feb 26, 2024
a1c779f
remove authentication for neo4j
curcher Feb 26, 2024
81ef406
ROD-2 merge conflicts
AlbinTouma Feb 25, 2024
d7c822a
RDO-2
AlbinTouma Feb 25, 2024
e759564
RDO2 json extractor
AlbinTouma Feb 25, 2024
53539cf
final push
AlbinTouma Feb 25, 2024
14fa174
RDO-40 | set-up automatic build and deployment main branch
curcher Feb 26, 2024
53e8be3
Merge pull request #1 from OSINT-for-Ukraine/RDO-2-rebased
popovvasile Mar 6, 2024
f128cf9
RDO-90 | stop creating cache with sudo rights
curcher Mar 19, 2024
aac519e
RDO-89
AlbinTouma Apr 9, 2024
e41b9b6
Merge pull request #2 from OSINT-for-Ukraine/RDO-89
curcher Apr 11, 2024
7b9e709
RDO-96 | reenable graph in ui
curcher Apr 27, 2024
e531cd9
Merge pull request #3 from OSINT-for-Ukraine/RDO-96
curcher Apr 27, 2024
68bb0a0
RDO-96 | update flag
curcher Apr 27, 2024
52b9f7c
RDO-98
rly0nheart May 21, 2024
160b11a
Merge pull request #4 from OSINT-for-Ukraine/RDO-98
rly0nheart May 23, 2024
7b37c98
readme set up
AlbinTouma Jun 2, 2024
0affad8
README update
AlbinTouma Jun 2, 2024
3a96173
RDO-98 | EOF when reading a lline error
curcher Jun 2, 2024
55411d6
RDO-111
curcher Jun 2, 2024
cab0849
Merge pull request #5 from OSINT-for-Ukraine/RDO-111
curcher Jun 3, 2024
288ec49
Merge pull request #6 from OSINT-for-Ukraine/readme
popovvasile Jun 3, 2024
063258a
RDO-82
curcher Jul 24, 2024
87fa6af
after running pre-commit
curcher Jul 24, 2024
d720625
linters action on PR creation
curcher Jul 27, 2024
1e83604
Update README.md
curcher Jul 31, 2024
8236b86
Merge pull request #7 from OSINT-for-Ukraine/RDO-82
popovvasile Aug 25, 2024
3e20adb
add gephi readme, fix bugs
Oct 26, 2024
c5afc7d
add gephi readme, fix bugs
Oct 26, 2024
2be501e
fix gitignore
Oct 26, 2024
bd4b758
resolve merge conflict
Oct 26, 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
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
APP_NAME=groupint
NEO4J_USER=neo4j
NEO4J_PASSWORD=difficulties-pushup-gaps
16 changes: 16 additions & 0 deletions .github/workflows/linters.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Deploy

on:
pull_request:
types: [opened, edited, reopened]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
linters:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: linters
run: python3 -m venv venv && source venv/bin/activate && python3 -m pip install pre-commit && pre-commit autoupdate && pre-commit run --all-files || RESULT=$? && git --no-pager diff && deactivate && exit $RESULT
18 changes: 18 additions & 0 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Deploy

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ main ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: clean
run: docker-compose down --rmi 'all'
- name: Build the stack
run: APP_NAME=groupint NEO4J_USER=neo4j NEO4J_PASSWORD=difficulties-pushup-gaps docker-compose up -d
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ var/
*.egg-info/
.installed.cfg
*.egg
env/

# Installer logs
pip-log.txt
Expand All @@ -34,11 +35,18 @@ coverage.xml
# Translations
*.mo

# Downloaded files
*.xls

# Mr Developer
.mr.developer.cfg
.project
.pydevproject

# Details
telethon_details.md


# Rope
.ropeproject

Expand All @@ -51,5 +59,6 @@ docs/_build/

venv
.idea
.vscode
*.session
*.session-journal
*.session-journal
31 changes: 31 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
repos:
- repo: https://github.com/hadialqattan/pycln
rev: 'v2.4.0'
hooks:
- id: pycln
args: ['.', "--all"]

- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort

- repo: https://github.com/psf/black
rev: '24.4.2'
hooks:
- id: black

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.0
hooks:
- id: mypy

- repo: https://github.com/pycqa/flake8
rev: 7.1.0
hooks:
- id: flake8

- repo: https://github.com/pycqa/pydocstyle
rev: '6.3.0'
hooks:
- id: pydocstyle
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
groupint
2 changes: 2 additions & 0 deletions .streamlit/secrets.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# later to be removed from git repo
password = "streamlit123"
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM python:3.11
WORKDIR /app
COPY . .

RUN curl -sSL https://install.python-poetry.org | python3 -
RUN set -ex \
# Create a non-root user
&& addgroup --system --gid 1001 appgroup \
&& adduser --system --uid 1001 --gid 1001 --no-create-home appuser \
&& python3.11 -m pip install .

EXPOSE 8501

HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
USER appuser
ENTRYPOINT ["streamlit","run","interface.py","--server.port=8501", "--server.address=0.0.0.0"]
Loading