Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
581fdc2
remove files
sphericle Sep 11, 2024
0435407
add files
sphericle Sep 11, 2024
4e0f5dd
bump version
sphericle Sep 11, 2024
5f6988b
Update README.md
sphericle Sep 11, 2024
808503c
Update issue templates
sphericle Sep 11, 2024
0a9df64
Update issue templates
sphericle Sep 11, 2024
e5411e5
wdym closed
sphericle Sep 11, 2024
655fea7
CI: Automatic Rustfmt
actions-user Sep 11, 2024
065427b
test
sphericle Sep 11, 2024
24d6007
move lots of things
sphericle Sep 12, 2024
fe53e54
omg i renamed ONE THING
sphericle Sep 12, 2024
c5352a0
i forgor
sphericle Sep 12, 2024
698cc39
omfg
sphericle Sep 12, 2024
2932780
bro
sphericle Sep 12, 2024
01c88b9
wtf
sphericle Sep 12, 2024
7808444
hi
sphericle Sep 12, 2024
5e73516
load env files
sphericle Sep 12, 2024
51a0259
oh god
sphericle Sep 12, 2024
891a6a5
Update player.rs
sphericle Sep 12, 2024
e44bbc9
Delete .github/dependabot.yml
sphericle Sep 12, 2024
2031093
Update config.rs
sphericle Sep 12, 2024
db3fb22
refac: don’t use env for list sizes
sphericle Sep 12, 2024
d8e64f3
Update demon.js
sphericle Sep 13, 2024
62fdb05
change icon finally
sphericle Sep 13, 2024
b856326
remove squares :(
sphericle Sep 13, 2024
eccff41
Update nav.css
sphericle Sep 13, 2024
ed83010
Update nav.css
sphericle Sep 13, 2024
9def567
thank you ultrobro
sphericle Sep 13, 2024
8651ad8
CI: Automatic Rustfmt
actions-user Sep 13, 2024
a28e62b
Update check_all_features.yml
sphericle Sep 14, 2024
4ce9d1b
Update tasks.json
sphericle Sep 16, 2024
53e75fe
feat: add functionality to delete levels from list (#6)
sphericle Sep 17, 2024
de54eac
Merge branch 'main' of https://github.com/sphericle/TheClicksyncChall…
sphericle Sep 17, 2024
c73d2c7
i dunno man
sphericle Sep 17, 2024
c0c6203
Merge branch 'master' of https://github.com/stadust/pointercrate into…
sphericle Sep 18, 2024
ca43d6d
Merge branch 'stadust-master'
sphericle Sep 18, 2024
45aeac3
Merge branch 'stadust-master'
sphericle Sep 18, 2024
8ccf1f2
temp update deps
sphericle Sep 18, 2024
09a52db
@ignore derive_more LMAO
sphericle Sep 18, 2024
dbe4aa4
CI: Automatic Rustfmt
actions-user Sep 18, 2024
0fa7c19
Build(deps): Bump the pointercrate group with 6 updates
dependabot[bot] Sep 18, 2024
ce94c1a
Update main.rs
sphericle Sep 18, 2024
442cbcd
don’t run unit tests on deploy
sphericle Sep 18, 2024
c157ee1
Merge pull request #12 from sphericle/dependabot/cargo/pointercrate-0…
sphericle Sep 18, 2024
2dde772
bye bye dependabot
sphericle Sep 18, 2024
22bcf51
Update _notice.md
sphericle Sep 19, 2024
deb7d15
Update README.md
sphericle Sep 19, 2024
4f9abe5
Update _notice.md
sphericle Sep 19, 2024
bba4295
set cursor to pointer on level name
sphericle Sep 19, 2024
cc11e3d
Merge branch 'main' of https://github.com/sphericle/TheClicksyncChall…
sphericle Sep 19, 2024
df9359d
add alt text
sphericle Sep 19, 2024
1fcceb6
bold mod in list team
sphericle Sep 19, 2024
f19adb6
BRO
sphericle Sep 19, 2024
621f2fe
Update README.md
sphericle Sep 19, 2024
0206da1
Update README.md
sphericle Sep 19, 2024
8b07e46
Update README.md
sphericle Sep 19, 2024
302b8d5
ugh
sphericle Sep 20, 2024
07090e5
Merge branch 'main' of https://github.com/sphericle/TheClicksyncChall…
sphericle Sep 20, 2024
754a68c
improve read me thanks skip
sphericle Sep 20, 2024
5766666
ugh
sphericle Sep 20, 2024
fa772cc
Update README.md
sphericle Sep 20, 2024
379b162
Update README.md
sphericle Sep 20, 2024
2ef74fd
resinstate migrations
sphericle Sep 20, 2024
6babe36
wtf
sphericle Sep 21, 2024
38f8b49
show youtube link
sphericle Sep 21, 2024
cf3725a
remove extra level id thiung
sphericle Sep 21, 2024
abf2b65
idk man
sphericle Sep 21, 2024
07f7884
my brad
sphericle Sep 21, 2024
1ba0279
add delete status
sphericle Sep 21, 2024
c31c323
Update README.md
sphericle Sep 23, 2024
46bde3f
Update README.md
sphericle Sep 23, 2024
480b615
Update test.yml
sphericle Sep 23, 2024
183adf9
Update deploy.yml
sphericle Sep 24, 2024
befc97e
whoops
sphericle Sep 24, 2024
d1ba576
record webhook
sphericle Sep 24, 2024
d654c5e
Merge branch 'main' of https://github.com/sphericle/TheClicksyncChall…
sphericle Sep 24, 2024
c41214f
Merge branch 'master' of https://github.com/stadust/pointercrate into…
sphericle Sep 24, 2024
5bc45f4
Merge branch 'stadust-master'
sphericle Sep 24, 2024
9e1972e
fix placement message
sphericle Sep 24, 2024
67b39dd
change things
sphericle Sep 24, 2024
2972b86
i love comments
sphericle Sep 25, 2024
71d6e50
idk mane
sphericle Sep 25, 2024
8219303
Delete .secret
sphericle Sep 25, 2024
1e2b852
remove shuttle secrets use
sphericle Sep 25, 2024
2666e3d
my bard
sphericle Sep 25, 2024
e430cd3
Update ratelimits.rs
sphericle Sep 28, 2024
72759bb
feat: add record enjoyments + average enjoyment per demon
sphericle Sep 29, 2024
8327e98
Merge branch 'main' of https://github.com/sphericle/TheClicksyncChall…
sphericle Sep 29, 2024
115c11e
no time!!
sphericle Sep 29, 2024
68a7b89
im dumb
sphericle Sep 29, 2024
c5bccc8
now we're talking
sphericle Sep 29, 2024
f38dd8b
all my fellas!
sphericle Sep 29, 2024
09d7d5e
CI: Automatic Rustfmt
actions-user Sep 30, 2024
965525a
fix/feat: allow GET request to records endpoint to fetch enjoyment
sphericle Sep 30, 2024
1888ce0
Merge branch 'main' of https://github.com/sphericle/TheClicksyncChall…
sphericle Sep 30, 2024
e8b24f9
fix tings
sphericle Oct 1, 2024
2c63eae
ok
sphericle Oct 1, 2024
6135ff4
Update demons.rs
sphericle Oct 3, 2024
06f93f4
Update records.rs
sphericle Oct 3, 2024
40cd378
Update main.rs
sphericle Oct 4, 2024
b445cb1
update shuttle
sphericle Oct 4, 2024
6d38f50
Update README.md
sphericle Oct 6, 2024
86218bd
remove Things.
sphericle Oct 7, 2024
7aa04e8
Merge branch 'main' of https://github.com/sphericle/TheClicksyncChall…
sphericle Oct 7, 2024
cd16bc5
Merge branch 'master' of https://github.com/stadust/pointercrate into…
sphericle Oct 16, 2024
b901585
help
sphericle Oct 16, 2024
32de921
update site
sphericle Oct 16, 2024
0c25210
sdsf
sphericle Oct 18, 2024
0f6a6fb
okay
sphericle Oct 18, 2024
7abc965
dead list
sphericle Nov 5, 2024
fe67792
progress
sphericle Nov 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DATABASE_URL="postgresql://pointercrate:asdf@localhost/pointercrate"
19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/flag-request.md

This file was deleted.

14 changes: 0 additions & 14 deletions .github/dependabot.yml

This file was deleted.

9 changes: 5 additions & 4 deletions .github/workflows/check_all_features.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Check all feature permutations
on: pull_request
on:
pull_request:
workflow_dispatch:

jobs:
# Label of the container job
Expand All @@ -26,7 +28,6 @@ jobs:
--health-interval 10s
--health-timeout 5s
--health-retries 5

steps:
# Downloads a copy of the code in your repository before running CI tests
- name: Check out repository code
Expand All @@ -50,7 +51,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: sqlx
args: migrate run
args: migrate run --source pointercrate-example/sample/migrations/_new/
env:
DATABASE_URL: postgresql://pointercrate:postgres@localhost/postgres

Expand All @@ -59,4 +60,4 @@ jobs:
with:
command: check-all-features
env:
DATABASE_URL: postgresql://pointercrate:postgres@localhost/postgres
DATABASE_URL: postgresql://pointercrate:postgres@localhost/postgres
52 changes: 52 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Shuttle Deploy

on:
push:
branches:
- main
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
steps:
# Check out the repository
- uses: actions/checkout@v4

# Generate secrets to .env
- name: Generate secrets to .env
run: |
echo "DATABASE_URL=${{ secrets.database }}" > .env
echo "ABSTRACT_API_KEY='${{ secrets.abstract }}'" >> .env
echo "DISCORD_WEBHOOK= '${{ secrets.DISCORD_WEBHOOK }}'" >> .env

- name: Generate auth secret
run: |
echo ${{ secrets.SECRET_THING }} > .secret

# Install cargo-binstall
- name: Install cargo-binstall
run: curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
shell: bash

# Install cargo-shuttle (specific version if specified)
- name: Install cargo-shuttle
run: |
cargo binstall -y --locked cargo-shuttle
shell: bash

# Restart project (optional)
- name: Restart project
run: |
cargo shuttle project restart --idle-minutes 0 --name cscl
env:
SHUTTLE_API_KEY: ${{ secrets.SHUTTLE_API_KEY }}
shell: bash

# Deploy to Shuttle
- name: Deploy to Shuttle
run: |
cargo shuttle deploy --name cscl --allow-dirty --nt
env:
SHUTTLE_API_KEY: ${{ secrets.SHUTTLE_API_KEY }}
shell: bash
17 changes: 5 additions & 12 deletions .github/workflows/rustfmt.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
name: Rustfmt

# Runs `cargo fmt` whenever code is pushed or pr'd into master.

on:
push:
branches:
- master
pull_request:
branches:
- master
types:
- closed
# Runs `cargo fmt` on dispatch

on:
workflow_dispatch:

jobs:
format:
name: Rustfmt
Expand Down Expand Up @@ -40,4 +33,4 @@ jobs:
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GIT_TOKEN }}
22 changes: 2 additions & 20 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Tests
on:
pull_request:
push:
branches:
- master
workflow_dispatch:

jobs:
# Label of the container job
Expand Down Expand Up @@ -54,7 +52,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: sqlx
args: migrate run
args: migrate run --source pointercrate-example/sample/migrations/_new/
env:
DATABASE_URL: postgresql://pointercrate:postgres@localhost/postgres

Expand All @@ -69,19 +67,3 @@ jobs:
RUSTFLAGS: -Cinstrument-coverage
LIST_SIZE: 75
EXNTEDED_LIST_SIZE: 150

- name: Install grcov
uses: actions-rs/cargo@v1
with:
command: install
args: grcov

- name: Generate coverage report
run: grcov . -s . --binary-path ./target/debug/ -t lcov --ignore-not-existing -o ./target/debug/coverage.lcov --ignore "pointercrate-test/*" --ignore "pointercrate-example/*" --keep-only "pointercrate-*"

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./target/debug/coverage.lcov
11 changes: 0 additions & 11 deletions .gitignore

This file was deleted.

20 changes: 20 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "local shuttle",
"type": "shell",
"command": "cargo shuttle run",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
},
"options": {
"cwd": "${workspaceFolder}"
}
}
]
}
Loading