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

feature: simplify and refactor code #10

Merged
merged 45 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
89a7ec8
feat: delete samples
elementh Oct 6, 2023
33b862a
feat: update User
elementh Oct 6, 2023
1a083b8
feat: update to dotnet 7
elementh Oct 6, 2023
b93ea47
feat: update all packages
elementh Oct 6, 2023
aa6b248
refactor: move context and options
elementh Oct 6, 2023
18a2e15
refactor: delete old Client and Provider
elementh Oct 6, 2023
70592a4
refactor: delete unused context builder option
elementh Oct 6, 2023
c6bed4a
refactor: move NavigatorContext accessor to new namespace
elementh Oct 6, 2023
29f9269
refactor: move some context builder extensions to new namespaces
elementh Oct 6, 2023
e180f0c
refactor: move some context original event extension
elementh Oct 6, 2023
cf11359
feat: update Conversation
elementh Oct 6, 2023
2bbccf1
refactor: move TelegramUpdateExtensions to Navigator
elementh Oct 6, 2023
20a14a6
refactor: make Chat not abstract
elementh Oct 6, 2023
9d5970c
refactor: correct TelegramUpdateExtensions
elementh Oct 6, 2023
7108506
refactor: correct NavigatorContextExtensions
elementh Oct 6, 2023
a1d2a33
refactor: move the rest
elementh Oct 6, 2023
643add5
refactor: adjust namespaces
elementh Oct 6, 2023
b557220
refactor: adjust solution folders
elementh Oct 6, 2023
533e759
test: add Testing projects
elementh Oct 6, 2023
1e4f593
refactor: move route configuration to base
elementh Oct 7, 2023
e184a12
refactor: solve get conversation issues
elementh Oct 7, 2023
5268a51
refactor: delete old conversation source
elementh Oct 7, 2023
9a1e8d8
feat: add TelegramMiddleware to configuration
elementh Oct 7, 2023
c379a0d
feat: update namespace for extensions
elementh Oct 7, 2023
2e1e974
refactor: correct namespaces
elementh Oct 7, 2023
57c4e72
feat: add missing types to switch in TelegramMiddleware
elementh Oct 7, 2023
c93073d
refactor: correct GetOriginalEvent
elementh Oct 7, 2023
eebb624
refactor: correct Context access
elementh Oct 7, 2023
d71ad32
chore: update .gitignore
elementh Oct 7, 2023
18868a9
feat: populate sample
elementh Oct 7, 2023
260744e
fix: solve refactoring issues
elementh Oct 7, 2023
4da0925
chore: update documentation
elementh Oct 7, 2023
86bb092
feat: add syntax sugar for ChatId
elementh Oct 7, 2023
d4b2881
feat: add creation timestamp to MessageAction
elementh Oct 7, 2023
47d5935
feat: implement TextAction
elementh Oct 7, 2023
900041f
test: update sample
elementh Oct 7, 2023
0047dc2
refactor: delete old code
elementh Oct 7, 2023
4b2e6c5
feat: update navigator entities
elementh Oct 8, 2023
a59bcb6
refactor(extension.store): rework entities from scratch
elementh Oct 8, 2023
98527f6
refactor(extension.store): rework almost all the extension
elementh Oct 8, 2023
aa8e371
feat(extension.store): update entity type configurations
elementh Oct 8, 2023
d5713a5
feat(extension.store): make it work
elementh Oct 9, 2023
b609be6
build: update workflow
elementh Oct 9, 2023
bd101c1
build: update workflow triggers
elementh Oct 9, 2023
6f98378
build: update workflow
elementh Oct 9, 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
22 changes: 8 additions & 14 deletions .github/workflows/package.navigator.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Build & Publish - Navigator
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
release:
types:
- published
Expand All @@ -14,17 +16,12 @@ env:
PROJECT_NAME: Navigator
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
uses: actions/setup-dotnet@v3
- name: Restore
working-directory: ./src
run: dotnet restore
Expand All @@ -34,9 +31,8 @@ jobs:
- name: Test
working-directory: ./src
run: dotnet test -c Release
- name: Pack
if: matrix.os == 'ubuntu-latest'
run: dotnet pack -v normal -c Release --no-restore --include-symbols --include-source -p:PackageVersion=$GITHUB_RUN_ID src/$PROJECT_NAME.sln
# - name: Pack
# run: dotnet pack -v normal -c Release --no-restore --include-symbols --include-source -p:PackageVersion=$GITHUB_RUN_ID src/$PROJECT_NAME.sln
# - name: Upload Artifact
# if: matrix.os == 'ubuntu-latest'
# uses: actions/upload-artifact@v2
Expand All @@ -59,10 +55,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- name: Create Release NuGet package
uses: actions/setup-dotnet@v3
- name: Create release NuGet package
run: |
arrTag=(${GITHUB_REF//\// })
VERSION="${arrTag[2]}"
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs

appsettings.Local.json

# Build results
[Dd]ebug/
[Dd]ebugPublic/
Expand Down Expand Up @@ -329,4 +331,4 @@ ASALocalRun/
# MFractors (Xamarin productivity tool) working folder
.mfractor/

*.db
*.db

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

23 changes: 0 additions & 23 deletions src/Navigator.Extensions.Store/Bundled/StoreContextExtensions.cs

This file was deleted.

This file was deleted.

Loading
Loading