Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
6bb378c
fix: package reference and without_prefix bug resolved
shahumang19 May 26, 2023
3c8094f
Initial commit
shahumang19 May 26, 2023
1a46f69
feat: Added address class for secondary server address
shahumang19 May 26, 2023
1c22a10
fix: connected variable bug resolved
shahumang19 May 26, 2023
1cf4d6b
feat: Connection to secondary server implemented
shahumang19 May 26, 2023
ed4e55a
test: Root and Secondary connection testcases added.
shahumang19 May 26, 2023
ec6c5a2
feat: Verb Builder utility created
shahumang19 May 30, 2023
6574197
feat: pkam authentication
shahumang19 May 30, 2023
06ac89a
chore: code cleanup
shahumang19 May 31, 2023
436f3ab
fix: circular import bug fixed
shahumang19 Jun 1, 2023
a82ac86
Merge branch 'trunk' into dev
shahumang19 Jun 1, 2023
64e5aa5
chore: requirements.txt added
shahumang19 Jun 1, 2023
1e2f656
chore: AtKeys secret added
shahumang19 Jun 2, 2023
1ea58e3
chore: YAML file updated
shahumang19 Jun 2, 2023
b8e5e2d
chore: YAML file updated
shahumang19 Jun 2, 2023
99a4f16
chore: YAML file updated
shahumang19 Jun 2, 2023
e499654
chore: Changed testcase and updated YAML file
shahumang19 Jun 2, 2023
4c2f00e
feat: developed scan verb functionality
shahumang19 Jun 9, 2023
35edb42
chore: python-dateutil library added
shahumang19 Jun 9, 2023
4cba2d2
Merge branch 'trunk' into dev
shahumang19 Jun 12, 2023
eb82338
docs: README and CONTRIBUTING files updated
shahumang19 Jun 12, 2023
028387d
chore : added iv as an argument inside encryptionutil
shahumang19 Jun 12, 2023
f1539c9
chore : Merge branch 'dev' of https://github.com/atsign-foundation/at…
shahumang19 Jun 12, 2023
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
4 changes: 4 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,8 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
mkdir keys
echo '${{secrets.BARRACUDA_ATKEYS}}' > keys/@27barracuda_key.atKeys
echo '${{secrets.AMATEUR_ATKEYS}}' > keys/@amateur93_key.atKeys
echo '${{secrets.UNIVERSALALOO_ATKEYS}}' > keys/@universal27aloo_key.atKeys
python -m unittest discover -s test -p '*_test.py' -v
212 changes: 212 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,212 @@
.idea/

### Django ###
*.log
*.pot
*.pyc
__pycache__/
local_settings.py
db.sqlite3
media

### Linux ###
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

### macOS ###
*.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### PyCharm ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff:
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/dictionaries

# Sensitive or high-churn files:
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.xml
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml

# Gradle:
.idea/**/gradle.xml
.idea/**/libraries

# CMake
cmake-build-debug/

# Mongo Explorer plugin:
.idea/**/mongoSettings.xml

## File-based project format:
*.iws

## Plugin-specific files:

# IntelliJ
/out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

### PyCharm Patch ###
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721

# *.iml
# modules.xml
# .idea/misc.xml
# *.ipr

# Sonarlint plugin
.idea/sonarlint

### Python ###
# Byte-compiled / optimized / DLL files
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/

# Translations
*.mo

# Django stuff:

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# dotenv
.env

# virtualenv
.venv
venv/
ENV/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

/keys
54 changes: 13 additions & 41 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,31 +28,33 @@ describe. The atsign-foundation GitHub organization's conventions and configurat

### Prerequisites

``` sh
# show how to install the tools needed to work with the code here
1. Download latest python from https://www.python.org/downloads/
2. Install required libraries using below command.
```
pip install -r requirements.txt
```


### GitHub Repository Clone

To prepare your dedicated GitHub repository:

1. Fork in GitHub https://github.com/atsign-foundation/REPO
2. Clone *your forked repository* (e.g., `git clone git@github.com:yourname/REPO`)
1. Fork in GitHub https://github.com/atsign-foundation/at_python
2. Clone *your forked repository* (e.g., `git clone git@github.com:yourname/at_python`)
3. Set your remotes as follows:

```sh
cd REPO
git remote add upstream git@github.com:atsign-foundation/REPO.git
cd at_python
git remote add upstream git@github.com:atsign-foundation/at_python.git
git remote set-url upstream --push DISABLED
```

Running `git remote -v` should give something similar to:

```text
origin git@github.com:yourname/REPO.git (fetch)
origin git@github.com:yourname/REPO.git (push)
upstream git@github.com:atsign-foundation/REPO.git (fetch)
origin git@github.com:yourname/at_python.git (fetch)
origin git@github.com:yourname/at_python.git (push)
upstream git@github.com:atsign-foundation/at_python.git (fetch)
upstream DISABLED (push)
```

Expand Down Expand Up @@ -90,44 +92,14 @@ To prepare your dedicated GitHub repository:
1. How to run tests:

``` sh
# explain tests here
python -m unittest discover -s test -p '*_test.py' -v
```

1. Open a new Pull Request to the main repository using your `trunk` branch


## atLibrary release process

The Atsign Foundation produces several widgets and libraries that the app developer
can make use of to develop apps on atProtocol. These libraries are developed in
Dart & Flutter and published to [pub.dev](https://pub.dev/publishers/atsign.org/packages).

![alt_text](images/image1.png "Version flow")

## Following the changes

The Atsign Foundation publishes libraries and widgets to
[https://pub.dev/publishers/atsign.org/packages](https://pub.dev/publishers/atsign.org/packages).
Each of these libraries contains a tab called “Changelog” that shows various
published versions and a short description of what changes that went in.

![alt_text](images/image2.png "Changelog screenshot")

Also the “Versions” tab shows the versions published in the reverse
chronological order.

![alt_text](images/image3.png "Versions screenshot")

## Reporting a bug

The best place to start reporting bugs on the libraries published by
atProtocol would be the “View/report issues” link available on
[pub.dev](https://pub.dev/publishers/atsign.org/packages).

![alt_text](images/image4.png "View/report issues highlight")

Once the link is clicked, one should be redirected to GitHub repo where the
issue can be reported by clicking on the “New issue” button.
Issue can be reported by clicking on the “New issue” button in the GitHub repo.

![alt_text](images/image5.png "Issues list")

Expand Down
Loading