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

Use c++ re-impl this code #9

Open
wants to merge 90 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
baab294
Use c++ re-impl this code
ohto-ai Apr 22, 2023
2567849
Update description
ohto-ai Apr 22, 2023
460ef13
Add some args
ohto-ai Apr 25, 2023
ee7ab01
Add http robot base
ohto-ai May 4, 2023
218bd03
update
ohto-ai Oct 5, 2023
8c88a1c
update
ohto-ai Oct 6, 2023
733bf2c
update
ohto-ai Oct 6, 2023
896b940
update
ohto-ai Oct 7, 2023
d620f16
update
ohto-ai Oct 7, 2023
69e36ad
Update client.h
ohto-ai Oct 8, 2023
eed4900
Add class_name to client
ohto-ai Oct 8, 2023
5a300ad
Fix build error
ohto-ai Oct 8, 2023
e85267b
Add negative test
ohto-ai Oct 9, 2023
c55ff34
Try to fix windows build error
ohto-ai Oct 9, 2023
7169835
Fix windows test build
ohto-ai Oct 9, 2023
7a8f5d0
Move client to static lib
ohto-ai Oct 9, 2023
9cc016c
Add code coverage gen
ohto-ai Oct 9, 2023
e2033c8
Remove coverage build on windows
ohto-ai Oct 9, 2023
6773667
Add lcov setup
ohto-ai Oct 9, 2023
e8c7e4c
Fix code coverage
ohto-ai Oct 9, 2023
2c981bd
Remove report code coverage html
ohto-ai Oct 9, 2023
64c027a
coverage: remove 3rd code
ohto-ai Oct 9, 2023
afd6abd
ci: change test command
ohto-ai Oct 9, 2023
01d9f1b
Test windows CI
ohto-ai Oct 9, 2023
498184c
Add openssl root dir
ohto-ai Oct 9, 2023
049d0b4
Fix debug compile error
ohto-ai Oct 9, 2023
a4118b9
Fix windows test error
ohto-ai Oct 9, 2023
349ac9c
Change robot arg to subcommand
ohto-ai Oct 9, 2023
bf95d3c
Fix coverage build
ohto-ai Oct 10, 2023
4063511
Fix version and package build
ohto-ai Oct 10, 2023
33c2465
Format ci yaml
ohto-ai Oct 10, 2023
5aa34f6
Remove fetch-depth
ohto-ai Oct 10, 2023
f0c421f
Remove fetch-depth on checkout
ohto-ai Oct 10, 2023
a075e48
Set fetch-depth: 0 to fetch all history
ohto-ai Oct 10, 2023
ab13e5b
Enable coverage only in ubuntu
ohto-ai Oct 10, 2023
f1a8235
Fix cmake error
ohto-ai Oct 10, 2023
0ae4e34
Fix GIT_REFSPEC check error
ohto-ai Oct 10, 2023
6ed6ae6
ci: limit generate code coverage on ubuntu
ohto-ai Oct 10, 2023
e727e95
split build, coverage and package
ohto-ai Oct 10, 2023
5eba3d7
ci: format ci.yaml
ohto-ai Oct 10, 2023
78437ca
cmake: set version to 0 if not found
ohto-ai Oct 10, 2023
e472dc5
cmake: fix cmake package name
ohto-ai Oct 10, 2023
a6662ee
cmake: fix version error
ohto-ai Oct 10, 2023
0708246
ci: upload coverage report
ohto-ai Oct 10, 2023
4f6d745
ci: fix ci error
ohto-ai Oct 10, 2023
ef521f7
ci: format ci yaml
ohto-ai Oct 10, 2023
dc847eb
cmake: change CMakeLists version
ohto-ai Oct 10, 2023
ab3f14f
ci: fix ci parameter error
ohto-ai Oct 10, 2023
9f2ba2a
ci: fix build on windows
ohto-ai Oct 10, 2023
59a6bb7
ci: fix coverage.info path
ohto-ai Oct 10, 2023
0199802
ci: fix coverage upload file-pattern
ohto-ai Oct 11, 2023
b51c544
ci: update coverage badge
ohto-ai Oct 11, 2023
f9107f1
ci: format ci
ohto-ai Oct 11, 2023
5309b7e
ci: change ci job title
ohto-ai Oct 11, 2023
e5aafeb
ci: trigger ci when change test
ohto-ai Oct 11, 2023
73a9d84
update: class name for client
ohto-ai Oct 11, 2023
9335869
update: remove vnotice script
ohto-ai Oct 11, 2023
0a92c21
fix: ci and ctest
ohto-ai Oct 11, 2023
0c99f1c
enhance: output when coverage meets failure
ohto-ai Oct 11, 2023
ac5b7fe
lib: update httplib to 0.14.1
ohto-ai Oct 12, 2023
81450aa
cmake: update make workflow
ohto-ai Oct 12, 2023
44647db
fix: add loger for client
ohto-ai Oct 12, 2023
3925271
cmd: change vnotice command
ohto-ai Oct 12, 2023
656923a
test: add test for server
ohto-ai Oct 12, 2023
5e12cdd
doc: update README
ohto-ai Oct 12, 2023
d3bd778
ci: update workflow title
ohto-ai Oct 12, 2023
85333d0
cmake: update cmake
ohto-ai Oct 12, 2023
e342213
fix: build error on windows due to /big/obj
ohto-ai Oct 12, 2023
b04a736
format code
ohto-ai Oct 12, 2023
efbd623
3rd: add scnlib
ohto-ai Oct 12, 2023
d04cb98
cmake: add target named test
ohto-ai Oct 12, 2023
ec01acc
fix: change config_http_url
ohto-ai Oct 12, 2023
f9f0218
fix: build error in Release
ohto-ai Oct 12, 2023
98f1fcd
build: use fetch content to get code from github
ohto-ai Oct 13, 2023
30d7fa3
cmake: fix build and link error
ohto-ai Oct 13, 2023
147ec87
format code
ohto-ai Oct 13, 2023
a31bc52
lib: add tabulate
ohto-ai Oct 13, 2023
dac0dca
enhance: show client table when boot
ohto-ai Oct 13, 2023
1646b29
lib: add yaml-cpp
ohto-ai Oct 13, 2023
c0b36cb
Fix feishu & qywechat client type name
ohto-ai Oct 16, 2023
075edbc
cmake: use tar instead of github link
ohto-ai Oct 16, 2023
eec11b5
fix: factory.hpp FetchContent dir is incorrect
ohto-ai Oct 16, 2023
296acbd
cmake: use PROJECT_VERSION to set CPACK_PACKAGE_VERSION
ohto-ai Oct 16, 2023
cba4d18
Delete Makefile
ohto-ai Oct 16, 2023
5c7d63f
3rd: use git module instead of cmake fetch content
ohto-ai Oct 17, 2023
878aee6
cmake: add env.sh output
ohto-ai Oct 18, 2023
a7aee00
fix: cmake may not support EXCLUDE_FROM_ALL
ohto-ai Oct 18, 2023
b6ea7f2
update
ohto-ai Oct 5, 2023
ebfcf1c
lib: add scope_guard
ohto-ai Oct 23, 2023
2fb8a58
Fix build error in msvc
ohto-ai Oct 24, 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
71 changes: 71 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# Contributing

## Request for changes/ Pull Requests
You first need to create a fork of the [vnotice](https://github.com/SSSS-ODDEYE/vnotice/) repository to commit your changes to it. Methods to fork a repository can be found in the [GitHub Documentation](https://docs.github.com/en/get-started/quickstart/fork-a-repo).

Then add your fork as a local project:

```sh
# Using HTTPS
git clone https://github.com/SSSS-ODDEYE/vnotice.git

# Using SSH
git clone git@github.com:SSSS-ODDEYE/vnotice.git
```

> [Which remote URL should be used ?](https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories)

Then, go to your local folder

```sh
cd vnotice
```

Add git remote controls :

```sh
# Using HTTPS
git remote add fork https://github.com/YOUR-USERNAME/vnotice.git
git remote add upstream https://github.com/SSSS-ODDEYE/vnotice.git


# Using SSH
git remote add fork git@github.com:YOUR-USERNAME/vnotice.git
git remote add upstream git@github.com/SSSS-ODDEYE/vnotice.git
```

You can now verify that you have your two git remotes:

```sh
git remote -v
```

## Receive remote updates
In view of staying up to date with the central repository :

```sh
git pull upstream master
```

## Choose a base branch
Before starting development, you need to know which branch to base your modifications/additions on. When in doubt, use master.

| Type of change | | Branches |
| :------------------ |:---------:| ---------------------:|
| Documentation | | `master` |
| Bug fixes | | `master` |
| New features | | `master` |
| New issues models | | `YOUR-USERNAME:patch` |

```sh
# Switch to the desired branch
git switch master

# Pull down any upstream changes
git pull

# Create a new branch to work on
git switch --create patch/1234-name-issue
```

Commit your changes, then push the branch to your fork with `git push -u fork` and open a pull request on [the vnotice repository](https://github.com/SSSS-ODDEYE/vnotice/) following the template provided.
66 changes: 66 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG-REPORT.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: "🐛 Bug Report"
description: Create a new ticket for a bug.
title: "🐛 [BUG] - <title>"
labels: [
"bug"
]
body:
- type: textarea
id: description
attributes:
label: "Description"
description: Please enter an explicit description of your issue
placeholder: Short and explicit description of your incident...
validations:
required: true
- type: input
id: reprod-url
attributes:
label: "Reproduction URL"
description: Please enter your GitHub URL to provide a reproduction of the issue
placeholder: ex. https://github.com/USERNAME/REPO-NAME
validations:
required: false
- type: textarea
id: reprod
attributes:
label: "Reproduction steps"
description: Please enter an explicit description of your issue
value: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
render: bash
validations:
required: true
- type: textarea
id: screenshot
attributes:
label: "Screenshots"
description: If applicable, add screenshots to help explain your problem.
value: |
![DESCRIPTION](LINK.png)
render: bash
validations:
required: false
- type: textarea
id: logs
attributes:
label: "Logs"
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: bash
validations:
required: false
- type: dropdown
id: os
attributes:
label: "OS"
description: What is the impacted environment ?
multiple: true
options:
- Windows
- Linux
- Mac
validations:
required: false
63 changes: 63 additions & 0 deletions .github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: "💡 Feature Request"
description: Create a new ticket for a new feature request
title: "💡 [REQUEST] - <title>"
labels: [
"question"
]
body:
- type: input
id: start_date
attributes:
label: "Start Date"
description: Start of development
placeholder: "month/day/year"
validations:
required: false
- type: textarea
id: implementation_pr
attributes:
label: "Implementation PR"
description: Pull request used
placeholder: "#Pull Request ID"
validations:
required: false
- type: textarea
id: reference_issues
attributes:
label: "Reference Issues"
description: Common issues
placeholder: "#Issues IDs"
validations:
required: false
- type: textarea
id: summary
attributes:
label: "Summary"
description: Provide a brief explanation of the feature
placeholder: Describe in a few lines your feature request
validations:
required: true
- type: textarea
id: basic_example
attributes:
label: "Basic Example"
description: Indicate here some basic examples of your feature.
placeholder: A few specific words about your feature request.
validations:
required: true
- type: textarea
id: drawbacks
attributes:
label: "Drawbacks"
description: What are the drawbacks/impacts of your feature request ?
placeholder: Identify the drawbacks and impacts while being neutral on your feature request
validations:
required: true
- type: textarea
id: unresolved_question
attributes:
label: "Unresolved questions"
description: What questions still remain unresolved ?
placeholder: Identify any unresolved issues.
validations:
required: false
38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

Loading