Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
4861dd0
Update version.
Dec 27, 2023
2690666
Merge pull request #90 from huntflow/INT-436_release_v2.0.0
polina-koval Dec 27, 2023
0fbe352
Fix DelayedTaskResponse model.
Jan 9, 2024
bd699b8
Fix test data.
Jan 9, 2024
71fbbd2
Update version.
Jan 9, 2024
296efe1
Codestyle.
Jan 9, 2024
7a0ffa6
Fix typing.
Jan 9, 2024
4659296
Fix test data.
Jan 9, 2024
83dc041
Merge pull request #91 from huntflow/INT-430_fix_DelayedTaskResponse_…
polina-koval Jan 9, 2024
de3e6b6
Add SurveyTypeA entity + tests.
Apr 1, 2024
d3a70d9
Codestyle.
Apr 1, 2024
bdefd9c
Merge remote-tracking branch 'origin/v2' into INT-562_create_SurveyTy…
Apr 1, 2024
6f2a4b9
Update client version.
Apr 1, 2024
62ca6dd
Fix client version.
Apr 1, 2024
e36ffe7
Add entity imports.
May 3, 2024
5cef058
Merge pull request #93 from huntflow/INT-562_create_SurveyTypeA_entity
polina-koval May 3, 2024
bc663bf
tmp
May 3, 2024
ad00826
Add member_types to the get_users_with_foreign().
May 3, 2024
a55e2d0
Add test case.
May 6, 2024
f55c464
Merge pull request #94 from huntflow/INT-576_update_UsersManagement_e…
polina-koval May 6, 2024
c5a4194
Add get_applicant_answer().
May 15, 2024
419c165
Merge pull request #95 from huntflow/INT-595_update_SurveyTypeA_entity
polina-koval May 17, 2024
f5f17ab
Add get_interview_types() in OrganizationSettings entity.
Jul 22, 2024
ad04c83
Fix typehint.
Jul 22, 2024
bc35819
Delete removed field from InterviewType model.
Jul 26, 2024
8f21240
Fix test.
Jul 26, 2024
34c79af
Delete unused imports.
Jul 26, 2024
54a90ad
Merge pull request #96 from huntflow/INT-650_get_interview_types_endp…
polina-koval Jul 29, 2024
24a6183
Add items to WebhookEvent.
Aug 9, 2024
3d399b3
Merge pull request #97 from huntflow/INT-670_edit_enum_WebhookEvent
polina-koval Aug 9, 2024
5803a76
Add WebhookType.
Dec 2, 2024
a9fbcf6
Add typehint.
Dec 2, 2024
952957f
Fix tests.
Dec 2, 2024
029ac2c
Fix codestyle.
Dec 2, 2024
f8c111f
Merge pull request #98 from huntflow/INT-760_add_application_webhook_…
polina-koval Dec 2, 2024
64bc6a6
Fix pdm install step.
Dec 2, 2024
5d9cb8d
Fix pdm install step.
Dec 2, 2024
af3475d
Fix by comments.
Dec 3, 2024
103d041
Merge pull request #99 from huntflow/INT-788-fix_pdm_install
polina-koval Dec 3, 2024
f176387
Add PASSWORD_CHANGE to ActionLogType enum.
Feb 11, 2025
a6b13a1
Up project version.
Feb 11, 2025
3754562
Merge pull request #100 from huntflow/INT-858_edit_ActionLogType
polina-koval Feb 11, 2025
5c74e39
Adf python-version when Set up PDM.
Feb 12, 2025
1f12816
Merge pull request #101 from huntflow/INT-863-fix_autorelease_error
polina-koval Feb 12, 2025
6cca4e0
tmp
KlochkovHF Apr 14, 2025
bd8d98d
implemented
KlochkovHF Apr 14, 2025
a72e831
Merge branch 'v2' into INT-950
KlochkovHF Apr 14, 2025
0b016c4
fix error
KlochkovHF Apr 14, 2025
2384f15
codestyle
KlochkovHF Apr 14, 2025
c1cae43
fix error
KlochkovHF Apr 14, 2025
9a1b5c4
fix by comments
KlochkovHF Apr 15, 2025
2dab3ef
Merge pull request #102 from huntflow/INT-950
KlochkovHF Apr 15, 2025
16a040d
Use ubuntu-latest in github actions.
May 28, 2025
2682919
Merge pull request #103 from huntflow/INT-996_fix_github_actions
polina-koval May 28, 2025
ed781f4
Add new methods.
Aug 25, 2025
9abc1d0
Add tests.
Aug 25, 2025
6c1c29e
Fix CalendarEventAttendee
Sep 19, 2025
ef2fb7e
EmailStr -> str in response models.
Sep 22, 2025
510abe6
Merge pull request #106 from huntflow/INT-1195_fix_app_calendar_event…
polina-koval Sep 22, 2025
da11ef1
Add pd methods.
Oct 22, 2025
e97a878
Up version.
Oct 22, 2025
d0dc8d3
Merge pull request #107 from huntflow/DEV-21405_add_pd_endpoints
polina-koval Oct 23, 2025
7a9e82c
Add rejection_reason field.
Dec 15, 2025
edc508b
Merge pull request #108 from huntflow/DEV-21762_add_rejection_reason_…
polina-koval Dec 16, 2025
d6c37ac
Up version
Dec 16, 2025
645f987
Merge pull request #109 from huntflow/DEV-21762_up_version
polina-koval Dec 16, 2025
44693a5
Add filename to File.upload
Feb 20, 2026
cc70340
codestyle
Feb 20, 2026
e12eedd
sort imports
Feb 20, 2026
5ec187e
Merge pull request #110 from huntflow/DEV-22097_upload_fix
polina-koval Feb 24, 2026
b8342d8
Add last_sync.
Mar 3, 2026
674f761
Merge pull request #111 from huntflow/DEV-22199_add_last_sync
polina-koval Mar 4, 2026
b3db37c
Add last_sync.
Mar 6, 2026
3da0ff7
Merge pull request #112 from huntflow/DEV-22220_add_last_sync_field
polina-koval Mar 6, 2026
482f1c0
update applicant and get logs fix
buschwaker Mar 26, 2026
4136a8d
codestyle
buschwaker Mar 26, 2026
c80047e
test fixed
buschwaker Mar 26, 2026
ef98b7b
Merge branch 'v2' into DEV-22316
buschwaker Mar 27, 2026
318e7a8
Merge pull request #113 from huntflow/DEV-22316
buschwaker Mar 27, 2026
e8cc885
Add private.
Apr 1, 2026
25cc210
Fix version.
Apr 2, 2026
48cc600
Merge pull request #114 from huntflow/DEV-22339_fix_models
polina-koval Apr 2, 2026
cdaa167
DEV-22328: client to hfapi2
buschwaker Apr 6, 2026
ad85333
DEV-22328: mypy fix
buschwaker Apr 6, 2026
6d226e7
DEV-22328: fix by comments
buschwaker Apr 6, 2026
9d694b7
DEV-22328: token deleted
buschwaker Apr 6, 2026
631bcef
Merge pull request #115 from huntflow/DEV-22328_client_to_hfapi
buschwaker Apr 7, 2026
223219d
DEV-22401
buschwaker Apr 15, 2026
49c415f
Merge pull request #116 from huntflow/DEV-22401
buschwaker Apr 22, 2026
f4ecd4f
Add docs
May 4, 2026
509ada1
Up version
May 4, 2026
2ddab10
fix
May 4, 2026
6923747
Edit README.md
May 5, 2026
bbb78e0
Edit README.md
May 5, 2026
6120d0d
Merge pull request #117 from huntflow/DEV-22460_add_docs
polina-koval May 5, 2026
2c8dd64
Merge branch 'v2' into INT-1118_add_email_methods
polina-koval May 7, 2026
a450ae4
Merge pull request #105 from huntflow/INT-1118_add_email_methods
polina-koval May 7, 2026
00a17de
implemented
Jun 8, 2026
bb244aa
Merge pull request #118 from huntflow/DEV-22502
polina-koval Jun 8, 2026
33339e7
up version
Jun 8, 2026
015e229
Merge remote-tracking branch 'origin/v2' into v2
Jun 8, 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
27 changes: 20 additions & 7 deletions .github/scripts/autorelease.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,30 @@ def get_release_tags(github_token: str) -> List[str]:
params["page"] += 1


def main(github_token: str, current_branch: str) -> None:
branch_pattern = r"^v(?P<major_release>\d+)$"
branch_matching = re.match(branch_pattern, current_branch, re.I)
if not branch_matching:
logger.info("Branch %s is not a valid release branch", current_branch)
return
RELEASE_BRANCH = "master"
LEGACY_BRANCH_PATTERN = re.compile(r"^v(?P<major_release>\d+)$", re.I)


def get_major_release(current_branch: str, project_version_str: str) -> Optional[str]:
if current_branch == RELEASE_BRANCH:
return str(Version(project_version_str).major)

branch_matching = LEGACY_BRANCH_PATTERN.match(current_branch)
if branch_matching:
return branch_matching.group("major_release")

major_release = branch_matching.group("major_release")
return None


def main(github_token: str, current_branch: str) -> None:
project_version_str = get_project_version()
logger.info("Project version %s", project_version_str)

major_release = get_major_release(current_branch, project_version_str)
if major_release is None:
logger.info("Branch %s is not a valid release branch", current_branch)
return

if not project_version_str.startswith(major_release):
logger.info(
"Release tag %s is invalid, major releases in the %s branch must start with %s",
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/autorelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,29 @@ name: Autorelease
on:
pull_request:
types: [ closed ]
branches: [ master, v2 ]

jobs:
autorelease:
if: github.event.pull_request.merged == true

runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8.16' ]

steps:
- uses: actions/checkout@v3

- name: Set up python
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: ${{ matrix.python-version }}
- name: Set up PDM
uses: pdm-project/setup-pdm@v3
with:
python-version: ${{ matrix.python-version }}
version: 2.20.1

- name: Install dependencies
run: pdm install -dG release
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,27 @@ on:

jobs:
build-and-publish:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8.16' ]

permissions:
id-token: write

steps:
- uses: actions/checkout@v3

- name: Set up python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Set up PDM
uses: pdm-project/setup-pdm@v3
with:
python-version: ${{ matrix.python-version }}
version: 2.20.1

- name: Publish package distributions to PyPI
run: pdm publish
3 changes: 2 additions & 1 deletion .github/workflows/python-linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Linters
on:
push:
pull_request:
branches: [ master ]
branches: [ master, v2 ]

jobs:
build:
Expand All @@ -18,6 +18,7 @@ jobs:
uses: pdm-project/setup-pdm@v3
with:
python-version: ${{ matrix.python-version }}
version: 2.20.1

- name: Install dependencies
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Tests
on:
push:
pull_request:
branches: [ master ]
branches: [ master, v2 ]

jobs:
test:
Expand All @@ -19,6 +19,7 @@ jobs:
uses: pdm-project/setup-pdm@v3
with:
python-version: ${{ matrix.python-version }}
version: 2.20.1

- name: Install dependencies
run: |
Expand Down
Loading
Loading