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

Merge development into main #66

Merged
merged 85 commits into from
Dec 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
3ebb2f2
refactor: update terminology to "disqualification threshold"
gentlementlegen Nov 25, 2024
83a7b65
fix(config): add descriptions to JSON schema properties
Keyrxng Nov 26, 2024
8eede17
feat: upgrade sdk and switch to bun
Venoox Nov 26, 2024
8289538
chore: updated manifest.json and dist build
github-actions[bot] Nov 26, 2024
2639ad2
chore: updated manifest.json and dist build
github-actions[bot] Nov 27, 2024
0e80757
chore: fixed husky
gentlementlegen Nov 27, 2024
3cc5f19
chore: updated manifest.json and dist build
github-actions[bot] Nov 27, 2024
7a52b38
chore: updated manifest.json and dist build
github-actions[bot] Nov 27, 2024
2cb418d
chore: updated manifest.json and dist build
github-actions[bot] Nov 27, 2024
2278069
feat: a message is posted on user assignment
gentlementlegen Nov 27, 2024
dad9d54
chore: updated manifest.json and dist build
github-actions[bot] Nov 27, 2024
58c312a
Merge branch 'development' into feat/deadline-message
gentlementlegen Nov 27, 2024
5ce6cfa
refactor: update terminology to "disqualification threshold"
gentlementlegen Nov 25, 2024
f677bd0
chore: updated manifest.json and dist build
github-actions[bot] Nov 27, 2024
0c0b814
chore: updated manifest.json and dist build
github-actions[bot] Nov 27, 2024
134c104
Merge branch 'development' into feat/deadline-message
gentlementlegen Nov 27, 2024
c05eecd
Merge remote-tracking branch 'origin/feat/deadline-message' into feat…
gentlementlegen Nov 27, 2024
c15233e
chore: updated lock file
gentlementlegen Nov 27, 2024
02d312b
chore: updated manifest.json and dist build
github-actions[bot] Nov 27, 2024
37c22aa
chore: fix knip
gentlementlegen Nov 27, 2024
10a9d44
chore: add related tests to assign message
gentlementlegen Nov 27, 2024
b2fae71
chore: config examples
Keyrxng Nov 27, 2024
66c6133
chore: fixed tests
gentlementlegen Nov 28, 2024
1b3273d
Merge branch 'development' into feat/deadline-message
gentlementlegen Dec 1, 2024
4bb81e7
chore: update manifest.json
gentlementlegen Dec 3, 2024
99d53f9
chore: updated manifest.json and dist build
github-actions[bot] Dec 3, 2024
b294264
chore: remove bun from lint-staged config
gentlementlegen Dec 3, 2024
a2f0727
chore: add linguist file
gentlementlegen Dec 3, 2024
21630b6
chore: rewrote content for information reminders
gentlementlegen Dec 3, 2024
fb574fd
chore: updated manifest.json and dist build
github-actions[bot] Dec 3, 2024
acbc421
chore: fixed tests
gentlementlegen Dec 3, 2024
1910139
Merge remote-tracking branch 'origin/feat/deadline-message' into feat…
gentlementlegen Dec 3, 2024
5d17991
chore: updated README.md and plugin inputs description
gentlementlegen Dec 3, 2024
4aabf9b
chore: updated manifest.json and dist build
github-actions[bot] Dec 3, 2024
da34c63
Merge pull request #52 from ubq-testing/development
rndquu Dec 4, 2024
231a612
chore: updated manifest.json and dist build
ubiquity-os[bot] Dec 4, 2024
2319316
ci: fix prettier
rndquu Dec 4, 2024
ac47cf5
Merge pull request #58 from rndquu/ci/fix-prettier
rndquu Dec 4, 2024
0210ffd
chore: added priority to the deadline
gentlementlegen Dec 5, 2024
0343314
chore: updated manifest.json and dist build
github-actions[bot] Dec 5, 2024
bf99a97
refactor: update terminology to "disqualification threshold"
gentlementlegen Nov 25, 2024
c04d4b8
chore: updated manifest.json and dist build
github-actions[bot] Nov 27, 2024
2b00900
Merge remote-tracking branch 'origin/development' into development
gentlementlegen Dec 5, 2024
efc11f6
chore: updated manifest.json and dist build
github-actions[bot] Dec 5, 2024
28ba8c4
Merge branch 'development' into feat/deadline-message
gentlementlegen Dec 5, 2024
22e4074
chore: updated manifest.json and dist build
github-actions[bot] Dec 5, 2024
d0a0428
chore: removed header from headline
gentlementlegen Dec 5, 2024
9b415e1
chore: updated manifest.json and dist build
github-actions[bot] Dec 5, 2024
361139b
chore: fixed manifest.json
gentlementlegen Dec 5, 2024
0df59e3
chore: fixed tests
gentlementlegen Dec 5, 2024
6e2c288
chore: changed time format output
gentlementlegen Dec 6, 2024
36b08f3
chore: updated manifest.json and dist build
github-actions[bot] Dec 6, 2024
5da5eb7
chore: fixed manifest and linguist
gentlementlegen Dec 6, 2024
bf4e0a1
chore: fix tests
gentlementlegen Dec 6, 2024
87ba9df
Merge remote-tracking branch 'origin/feat/deadline-message' into feat…
gentlementlegen Dec 6, 2024
2433cf5
chore: updated manifest.json and dist build
github-actions[bot] Dec 5, 2024
ba46d12
Merge remote-tracking branch 'origin/development' into development
gentlementlegen Dec 7, 2024
cfce4fd
chore: update .gitattributes for linguist parsing
gentlementlegen Dec 8, 2024
69ed068
chore: bun changes to run as a local plugin
gentlementlegen Dec 9, 2024
6910f60
chore: updated manifest.json and dist build
github-actions[bot] Dec 9, 2024
24c57d9
feat: pull-request is converted to draft when reminder is sent
gentlementlegen Dec 9, 2024
f96eb4c
chore: update bun.lockb
gentlementlegen Dec 9, 2024
8fb364b
chore: updated manifest.json and dist build
github-actions[bot] Dec 9, 2024
20490fd
chore: fixed bun watch
gentlementlegen Dec 9, 2024
e844e05
feat: auto-close pull requests linked to disqualified issues
gentlementlegen Dec 9, 2024
acaabf5
chore: updated manifest.json and dist build
github-actions[bot] Dec 9, 2024
5087718
chore: fix knip
gentlementlegen Dec 9, 2024
59ec2f3
chore: fixed tests
gentlementlegen Dec 10, 2024
41bf575
fix: avoid sending reminders on closed and merged pull-requests
gentlementlegen Dec 10, 2024
48e9561
chore: updated manifest.json and dist build
github-actions[bot] Dec 10, 2024
c7a7881
chore: make sure that we comment to the main issue if no pull-request…
gentlementlegen Dec 10, 2024
9d7ee4b
chore: updated manifest.json and dist build
github-actions[bot] Dec 10, 2024
f7ca9e0
chore: downgraded typebox version
gentlementlegen Dec 11, 2024
e374b89
chore: updated manifest.json and dist build
github-actions[bot] Dec 11, 2024
0a81584
Merge pull request #54 from gentlementlegen/feat/deadline-message
gentlementlegen Dec 12, 2024
ec6dcdd
Merge branch 'development' into fix/pr-state
gentlementlegen Dec 12, 2024
3e4a07d
chore: reordered imports
gentlementlegen Dec 12, 2024
14c02d8
chore: updated lock file
gentlementlegen Dec 12, 2024
820e814
chore: updated manifest.json and dist build
github-actions[bot] Dec 12, 2024
e0cce5b
Merge pull request #61 from gentlementlegen/fix/pr-state
gentlementlegen Dec 12, 2024
8e8c559
Merge branch 'development' into fix/reminders
gentlementlegen Dec 12, 2024
6a5848d
chore: updated manifest.json and dist build
github-actions[bot] Dec 12, 2024
cc87602
test: added tests for reminders only to be sent on opened pull-requests
gentlementlegen Dec 12, 2024
fa76e6d
chore: removed unused dep hono
gentlementlegen Dec 12, 2024
a26b2b1
Merge pull request #62 from gentlementlegen/fix/reminders
gentlementlegen Dec 12, 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
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dist/* linguist-generated
bun.lockb linguist-generated
2 changes: 1 addition & 1 deletion .github/knip.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { KnipConfig } from "knip";

const config: KnipConfig = {
entry: ["src/index.ts"],
entry: ["src/index.ts", "src/worker.ts"],
project: ["src/**/*.ts"],
ignore: ["**/__mocks__/**", "**/__fixtures__/**", "src/types/database.ts", "dist/**"],
ignoreExportsUsedInFile: true,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
compute:
environment: ${{ github.ref == 'refs/heads/main' && 'main' || 'development' }}
permissions: write-all
name: User Activity Watcher
name: Daemon Disqualifier
runs-on: ubuntu-latest
env:
SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
Expand Down
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn commitlint --edit "$1"
bun commitlint --edit "$1"
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn lint-staged
bun lint-staged
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# @ubiquity-os/daemon-disqualifier

Watches user activity on issues, sends reminders on deadlines, and eventually unassigns inactive user to ensure that
Watches user activity on issues, sends reminders on disqualification threshold, and eventually unassigns inactive user to ensure that
tasks don't stall, and subtracts XP.

## Setup

```shell
yarn install
bun install
```

### Database
Expand All @@ -20,31 +20,31 @@ supabase start
Afterward, you can generate types for full auto-completion with

```shell
yarn supabase:generate:local
bun run supabase:generate:local
```

### Test

To start Jest testing, run

```shell
yarn test
bun run test
```

## Valid configuration

```yaml
- plugin: ubiquibot/user-activity-watcher
type: github
- plugin: ubiquity-os/daemon-disqualifier
with:
disqualification: "7 days"
warning: "3.5 days"
prioritySpeed: true
pullRequestRequired: true
watch:
optOut:
- "repoName"
- "repoName2"
eventWhitelist: # these are the tail of the webhook event i.e pull_request.review_requested
eventWhitelist: # these are the tail of the webhook event i.e. pull_request.review_requested
- "review_requested"
- "ready_for_review"
- "commented"
Expand Down
Binary file modified bun.lockb
Binary file not shown.
4 changes: 2 additions & 2 deletions dist/index.js

Large diffs are not rendered by default.

Loading
Loading