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

Feat/nakapitel #12

Merged
merged 140 commits into from
Nov 1, 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
5e06eb7
.gitignore
hoosnick Aug 18, 2023
9a7cb62
refactor: sorted imports
hoosnick Aug 18, 2023
0ad3ed6
feat: Dynamic ICPS (#12, #4)
hoosnick Aug 18, 2023
656d772
refactor: sorted imports
hoosnick Aug 18, 2023
fc798d7
refactor: sorted imports
hoosnick Aug 18, 2023
b8ea956
Dynamic ICPS from hoosnick/payme-pkg-3.0b
hoosnick Aug 18, 2023
e161a45
fix: ci improvements
hoosnick Aug 19, 2023
ccca23d
fix: ci improvements from hoosnick/ci-improve
hoosnick Aug 19, 2023
3362e78
Merge pull request #18 from hoosnick/payme-pkg-3.0b
hoosnick Aug 19, 2023
de2d80c
Updated Read Me Book 📖
hoosnick Aug 19, 2023
47aaccd
Updated Read Me Book 📖
hoosnick Aug 19, 2023
c5b2360
add: pylint config (invalid-name)
hoosnick Aug 19, 2023
1484461
feat: Generate QR-Code feature (#14)
hoosnick Aug 19, 2023
72ef393
Generate QR-Code from hoosnick/payme-pkg-3.0b
hoosnick Aug 19, 2023
a037292
Separate requirements for apps
hoosnick Aug 20, 2023
f49a78d
Docs with mkdocs-material
hoosnick Aug 20, 2023
4707269
fixed typo in file name
hoosnick Aug 20, 2023
668bdaa
fixed conflict with docs folder
hoosnick Aug 20, 2023
2557abc
igone docs path when linting
hoosnick Aug 20, 2023
ba9b221
test welcome message
hoosnick Aug 20, 2023
509e9e8
changed title of workflow
hoosnick Aug 20, 2023
ef4c5c8
modified: .github/workflows/pylint.yml
hoosnick Aug 20, 2023
17b2d8e
Website and Docs (#21)
hoosnick Aug 20, 2023
b06f1fc
added upstream repo name
hoosnick Aug 20, 2023
278ff1b
Documentation from hoosnick/payme-pkg-3.0b
hoosnick Aug 20, 2023
0cc332c
Default lang switched to uzbek
hoosnick Aug 20, 2023
f663c93
Default lang switched to uzbek
hoosnick Aug 20, 2023
40a3fa4
Merge pull request #3 from PayTechUz/master
hoosnick Aug 22, 2023
a0a6950
Merge branch 'payme-pkg-3.0b' into master
hoosnick Aug 22, 2023
de21925
requirements.txt
hoosnick Aug 22, 2023
f401430
Bring changes from PayTechUz/master
hoosnick Aug 22, 2023
88430bf
removed CairoSVG third-party module (#36)
hoosnick Aug 22, 2023
b372620
Patch for CairoSVG issue from hoosnick/payme-pkg-3.0b
hoosnick Aug 22, 2023
712381c
fixed unspecified-encoding #pylint
hoosnick Aug 22, 2023
4d1d2fd
Reverted Changes
Muhammadali-Akbarov Aug 22, 2023
f15d5d3
Reverted Changes
Muhammadali-Akbarov Aug 22, 2023
6bec248
Merge branch 'master' of github.com:PayTechUz/payme-pkg
Muhammadali-Akbarov Aug 22, 2023
5170382
Restored Successfully📦
Muhammadali-Akbarov Aug 22, 2023
efc5aab
Hotfix Validating Amount 💵
Muhammadali-Akbarov Sep 9, 2023
958f2af
Update setup.py
Muhammadali-Akbarov Sep 9, 2023
71c0096
Update setup.py
Muhammadali-Akbarov Sep 9, 2023
fd437af
refactor: .gitignore
hoosnick Sep 28, 2023
b937c97
LICENSE
hoosnick Sep 28, 2023
7192709
README.md
hoosnick Sep 28, 2023
8844876
fix: typo in view.py (Line 34)
hoosnick Sep 28, 2023
d95c11a
hotfix: get_statement method bug (#52)
hoosnick Sep 28, 2023
28d1816
Update setup.py
Muhammadali-Akbarov Sep 28, 2023
bac057e
hotfix: created_at_ms to int (#52)
hoosnick Sep 29, 2023
668c26d
Update setup.py
Muhammadali-Akbarov Sep 29, 2023
2cce071
fix: ValueError for custom callbacks
hoosnick Oct 3, 2023
00df526
upd: new version (2.6.3)
hoosnick Oct 3, 2023
289f307
create: git2tg.yml
hoosnick Oct 5, 2023
6a8cb2d
README.md
hoosnick Oct 5, 2023
931e24d
Update git2tg.yml
hoosnick Oct 5, 2023
330bb24
README.md
hoosnick Oct 5, 2023
29559c7
update: git2tg.yml
hoosnick Oct 5, 2023
4c80a5e
update: git2tg.yml
hoosnick Oct 5, 2023
450c23a
update: git2tg.yml
hoosnick Oct 5, 2023
40d104d
update: git2tg.yml
hoosnick Oct 5, 2023
a0f4a8d
Update git2tg.yml
hoosnick Oct 5, 2023
a381f64
update and rename git2tg.yml to telegram-event-notifier.yml
hoosnick Oct 5, 2023
cb976f5
First tests :rocket:
ChogirmaliYigit Oct 24, 2023
a83398d
fix: update
ChogirmaliYigit Oct 24, 2023
64fe256
update: README.md
ChogirmaliYigit Oct 24, 2023
c345d9e
fix: update importing
ChogirmaliYigit Oct 24, 2023
a50ebbe
fix: unittest.yml
ChogirmaliYigit Oct 24, 2023
d134442
Merge pull request #1 from ChogirmaliYigit/tests
ChogirmaliYigit Oct 24, 2023
2ed5ed3
fix: update
ChogirmaliYigit Oct 24, 2023
e219db8
add: `missing-function-docstring`
hoosnick Oct 24, 2023
dfd66d8
fix/lint: `payme_test.py`
hoosnick Oct 24, 2023
d5155a2
add: `tests` folder for analysing
hoosnick Oct 24, 2023
791402d
del: removed `PYTHONPATH` setting step
hoosnick Oct 24, 2023
1a5c9ae
fix: `payme not found error`
hoosnick Oct 24, 2023
8e19d68
lint: all test python files
hoosnick Oct 24, 2023
bd0fed3
Merge branch 'tests' of https://github.com/ChogirmaliYigit/payme-pkg …
hoosnick Oct 24, 2023
12252db
add: `dev-requirements.txt` packages
hoosnick Oct 24, 2023
73b5faa
add: `requirements.txt`
hoosnick Oct 24, 2023
512e616
add: environment secrets
hoosnick Oct 24, 2023
bfdee2d
Merge pull request #2 from ChogirmaliYigit/tests
hoosnick Oct 24, 2023
3c8b9ef
fix: test result
ChogirmaliYigit Oct 24, 2023
5e4c17d
Merge branch 'tests' of https://github.com/ChogirmaliYigit/payme-pkg …
ChogirmaliYigit Oct 24, 2023
b4700dd
upd: unittest.yml for showing failures
ChogirmaliYigit Oct 24, 2023
7769ff3
fix: error showing in workflow
ChogirmaliYigit Oct 24, 2023
e00c757
fix: testing errors
ChogirmaliYigit Oct 24, 2023
a514c6a
Merge pull request #3 from ChogirmaliYigit/tests
ChogirmaliYigit Oct 24, 2023
4e1a03e
telegram-event-notifier.yml
hoosnick Oct 24, 2023
15ef845
Merge branch 'PayTechUz:master' into master
hoosnick Oct 24, 2023
31db5c2
Merge branch 'PayTechUz:master' into tests
hoosnick Oct 24, 2023
26c62cc
del: removed environment name
hoosnick Oct 24, 2023
6e2f664
Merge pull request #4 from ChogirmaliYigit/tests
hoosnick Oct 24, 2023
3404678
fix: env vars
Muhammadali-Akbarov Oct 24, 2023
1dda752
Merge pull request #59 from ChogirmaliYigit/master
Muhammadali-Akbarov Oct 24, 2023
bb7deec
Removed Unusefull Line
Muhammadali-Akbarov Oct 24, 2023
f4a1e76
fix: generate pay link class's callback url
ChogirmaliYigit Nov 15, 2023
008b6bd
fix: generate pay link class's callback url
ChogirmaliYigit Nov 15, 2023
fd3316f
fix: docs
ChogirmaliYigit Nov 15, 2023
61a36d9
fix: naming
ChogirmaliYigit Nov 15, 2023
62b74ba
fix: updated
ChogirmaliYigit Nov 15, 2023
4fc7a8a
Merge PR #60 from xalq-mazza-qilsin/hotfix/callback-url
hoosnick Nov 16, 2023
591269f
Update setup.py
Muhammadali-Akbarov Nov 16, 2023
666dc5d
Merge pull request #62 from PayTechUz/Muhammadali-Akbarov-patch-1
Muhammadali-Akbarov Nov 16, 2023
f73e554
fix: type-hinting
ChogirmaliYigit Nov 16, 2023
d479d36
Merge pull request #63 from PayTechUz/hotfix/type-hint
Muhammadali-Akbarov Nov 16, 2023
8b51d77
fix: naming
ChogirmaliYigit Nov 16, 2023
4707e90
fix: updated
ChogirmaliYigit Nov 16, 2023
7cb39bd
fix: removed $s from README.md :)
ChogirmaliYigit Nov 16, 2023
1955b1e
update: README.md
ChogirmaliYigit Nov 17, 2023
4df5d87
Merge pull request #64 from PayTechUz/hotfix/type-hint
Muhammadali-Akbarov Nov 17, 2023
adda030
Update setup.py
Muhammadali-Akbarov Nov 22, 2023
68a991c
Merge pull request #65 from PayTechUz/Muhammadali-Akbarov-patch-1
Muhammadali-Akbarov Nov 22, 2023
229f146
Updated Gitignore
Muhammadali-Akbarov Nov 24, 2023
47b806e
added: buy me a coffee link to README.md
ChogirmaliYigit Nov 26, 2023
a8be32d
Merge pull request #66 from PayTechUz/support
Muhammadali-Akbarov Nov 26, 2023
5989646
Install dataclasses dependency only in python 3.6
ChogirmaliYigit Dec 3, 2023
8227535
fix: disabled unittests until add mock test
ChogirmaliYigit Dec 3, 2023
3fd2181
Merge pull request #67 from PayTechUz/hotfix/dataclasses
Muhammadali-Akbarov Dec 3, 2023
048c383
Update setup.py
Muhammadali-Akbarov Dec 3, 2023
4ad7d55
Merge pull request #68 from PayTechUz/Muhammadali-Akbarov-patch-2
Muhammadali-Akbarov Dec 3, 2023
718c5de
README.md
anvarbeckk Dec 8, 2023
06859ce
README.md
anvarbeckk Dec 8, 2023
2e48225
README.md
anvarbeckk Dec 8, 2023
71724db
README.md
anvarbeckk Dec 8, 2023
0778011
Merge pull request #70 from anvarbeckk/master
Muhammadali-Akbarov Dec 8, 2023
a1878ee
fix: removed a big content from README.md and leave out documentation…
ChogirmaliYigit Dec 15, 2023
8c02ad1
Merge pull request #73 from PayTechUz/docs
hoosnick Dec 20, 2023
fed8154
feat: verbose_name arguments were passed to models
QuvonchbekBobojonov Feb 10, 2024
e6dcfbb
Merge pull request #75 from QuvonchbekBobojonov/moorfo
Muhammadali-Akbarov Feb 10, 2024
eb76253
Update djangorestframework dependency to support ^3.15.1
murtazox04 Mar 26, 2024
8716429
Update djangorestframework dependency to support ^3.14.0
murtazox04 Mar 26, 2024
88a676a
Update djangorestframework dependency to support ^3.15.1
murtazox04 Mar 26, 2024
eec5693
Merge pull request #76 from murtazox04/update-djangorestframework-dep…
Muhammadali-Akbarov Mar 26, 2024
9201f61
fix: typo fix in GeneratePayLink desc
noonosh Aug 1, 2024
39887e8
Merge pull request #1 from noonosh/typo-fix
noonosh Aug 1, 2024
acbeda2
install_requires improved
Muhammadali-Akbarov Aug 27, 2024
2384bf9
Merge pull request #80 from PayTechUz/feat/nakapitel
Muhammadali-Akbarov Aug 27, 2024
41b0a01
Merge pull request #79 from noonosh/master
Muhammadali-Akbarov Aug 27, 2024
2703e55
new update v3 (major enhancemen)
Muhammadali-Akbarov Oct 31, 2024
0b24e47
small fix
Muhammadali-Akbarov Nov 1, 2024
4480826
small fix
Muhammadali-Akbarov Nov 1, 2024
eb7008f
(fix) fixed install_requires
Muhammadali-Akbarov Nov 1, 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.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
PAYCOM_BASE_URL=https://checkout.test.paycom.uz/api
PAYCOM_ID=
PAYCOM_KEY=
2 changes: 2 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[flake8]
max-line-length = 120
24 changes: 0 additions & 24 deletions .github/workflows/pylint.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/telegram-event-notifier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Telegram Gate

on:
issue_comment:
types: [created]
issues:
types: [opened, edited, pinned, closed, reopened, assigned, labeled]
pull_request:
types:
[opened, closed, edited, ready_for_review, review_requested, reopened]
pull_request_review_comment:
types: [created]
push:

jobs:
build:
name: Telegram Gate
runs-on: ubuntu-latest
steps:
- name: Notifier
uses: ethyaan/tgate-action@v1.0.0
if: always()
with:
token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
to: ${{ secrets.TELEGRAM_CHAT_ID }}
thread_id: ${{ secrets.TELEGRAM_CHAT_TOPIC }}
disable_web_page_preview: true
disable_notification: false
36 changes: 36 additions & 0 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Testing project

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
build:
name: Testing project
runs-on: ubuntu-latest

strategy:
matrix:
python-version: ["3.11"]

env:
PAYME_ID: ${{ secrets.PAYME_ID }}
PAYME_KEY: ${{ secrets.PAYME_KEY }}

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/dev-requirements.txt
pip install -r requirements/requirements.txt

- name: Run unit tests
run: |
python tests.py
17 changes: 15 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
# virtual env
env/
venv/
.env

# dev test
core/
my_app/
db.sqlite3
manage.py
dist/
venv/

# ide configs
.vscode/
.idea/

# caches
__pycache__/
paymentsuz.egg-info/
payme_pkg.egg-info/
manage.py

.DS_Store
build/
9 changes: 4 additions & 5 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[MASTER]
disable=no-member,
unnecessary-pass,
useless-option-value,
too-few-public-methods,
missing-module-docstring
disable=W0613,E1101,W0718,W0223,W0621,W1203,W0622,C0116,E0213, C0114

ignore-long-lines = True
max-line-length = 120
32 changes: 18 additions & 14 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
Copyright (c) 2021 Giorgos Myrianthous
MIT License
-----------

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
Copyright (c) 2023 Muhammadali Akbarov
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
Loading
Loading