Skip to content
This repository has been archived by the owner on Jul 31, 2022. It is now read-only.

1.4.0 ~> 2.0.0 #815

Merged
merged 119 commits into from
Mar 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
18c65b0
this is basically a refractor at this rate
auguwu Sep 9, 2021
233ac4b
h
auguwu Sep 9, 2021
3671b92
updoot
auguwu Sep 12, 2021
691c2f4
merge conflict with 2.x -> edge
auguwu Sep 12, 2021
a69f042
Add tests for Jest
auguwu Sep 12, 2021
94d78ed
use .ts for jest config
auguwu Sep 12, 2021
51fd504
i spent about an hour on this readme
auguwu Sep 17, 2021
3e2de4d
clean up
auguwu Sep 17, 2021
101cf60
Add shortlinks action (task 2 in #789)
auguwu Sep 17, 2021
ae66f99
mergo conflicto + add guild customizibility settings
auguwu Sep 17, 2021
98d5fd0
fix jest tests
auguwu Sep 17, 2021
1efc31c
use npm instead of yarn (because h)
auguwu Sep 17, 2021
acc3578
ts-jest needs ts-node, and it exists but not right now?????
auguwu Sep 17, 2021
b161a25
maybe i should use yarn test
auguwu Sep 17, 2021
b3c75fd
update readme
auguwu Sep 17, 2021
7cccca8
woops
auguwu Sep 17, 2021
71c29b8
work on bare minimum
auguwu Sep 17, 2021
1d18693
Finish relay publisher
auguwu Sep 18, 2021
80e8486
Add more unit tests for permission util, fix module aliasing in Jest,…
auguwu Sep 18, 2021
b7e874f
Merge branch 'edge' of https://github.com/NinoDiscord/Nino into 2.x
auguwu Sep 18, 2021
4b8db77
Remove fastify deps (in favour of cluster relay service)
auguwu Sep 18, 2021
9d868e9
Move docker script to docker/, update dependencies, add in 'guild_pol…
auguwu Sep 21, 2021
3b382d7
Merge branch '2.x' into edge
auguwu Sep 21, 2021
253d304
merge conflict
auguwu Sep 21, 2021
34cbd34
Add information in README about .env file, work on structures
auguwu Sep 24, 2021
49b47de
Add cluster-operator to Docker compose, add in config example, work o…
auguwu Oct 5, 2021
1ba60c1
merge conflict, update deps
auguwu Oct 5, 2021
b414cb7
fix CI, update main.ts and container.ts with code
auguwu Oct 5, 2021
592c18b
Rework in Kotlin (why am I doing this again)
auguwu Oct 5, 2021
db644e9
Run `spotlessApply` and removed ESLint workflow with ktlint
auguwu Oct 5, 2021
84fde85
Work on Bootstrap module
auguwu Oct 6, 2021
fa16e60
nino info class
auguwu Oct 6, 2021
6dab71c
add in `NinoScope` object for coroutines and utility extensions
auguwu Oct 6, 2021
fc5ea41
Add Kord as a DI injectable
auguwu Oct 8, 2021
14440ac
Add Automod DSL objects and module
auguwu Oct 8, 2021
8e0d69a
spotless apply
auguwu Oct 8, 2021
63267e5
add assertion in Automod initializer
auguwu Oct 8, 2021
ea5857e
Work on subcommand builders
auguwu Oct 8, 2021
20bae4b
lint
auguwu Oct 8, 2021
25f16d6
work on command core
auguwu Oct 10, 2021
ded8961
lint
auguwu Oct 10, 2021
f631fb7
a
auguwu Oct 10, 2021
df4adfa
chore: update dependencies, move to Exposed for ORM
auguwu Oct 16, 2021
df7b98c
i have no idea what i did lol
auguwu Oct 20, 2021
5d05baa
mergo conflicto
auguwu Oct 20, 2021
85d03c8
make the bot... actually runnable
auguwu Oct 20, 2021
dba8e2e
localization module :D
auguwu Oct 20, 2021
bc2fe6e
chore: new dependencies, prometheus module, work on command handler
auguwu Nov 2, 2021
cee17c2
im too lazy to say what i did
auguwu Nov 4, 2021
8f35d4a
chore: refractor command handler (rip dynamic args), added in postgre…
auguwu Nov 6, 2021
28ba0bf
chore: add a mini message on ping only
auguwu Nov 6, 2021
a63c956
fix: remove commented code from `NinoBot` class.
auguwu Nov 6, 2021
d588996
merge conflict
auguwu Nov 6, 2021
edc3ddb
chore: remove useless modules, work on ravy module
auguwu Nov 6, 2021
f416329
chore: lint
auguwu Nov 6, 2021
93d60d5
chore: implement Redisson instead of Lettuce for Redis
auguwu Nov 8, 2021
f934ad5
chore: make a complete pagination embed with buttons OwO
auguwu Nov 12, 2021
9d82b67
merge: edge -> 2.x
auguwu Nov 12, 2021
dd3ce45
chore: add `invite` and `help` commands
auguwu Nov 14, 2021
e3f300c
chore: ping command :D
auguwu Nov 14, 2021
0e4c1b9
chore: use Kotlin 1.6, add in all core and easter egg commands
auguwu Nov 24, 2021
424ab61
chore: system commands, add in KTOR for Prometheus export
auguwu Nov 25, 2021
e668663
chore: edge -> 2.x
auguwu Nov 25, 2021
486ed62
chore: work on slash commands
auguwu Nov 27, 2021
59e12e5
chore: slash commands :tada:
auguwu Nov 27, 2021
fb37ac8
chore: work on slash subcommand (groups)
auguwu Nov 27, 2021
afbf4fe
chore: finally implement punishment service (not tested)
auguwu Dec 11, 2021
28eead4
chore: merge edge -> 2.x
auguwu Dec 11, 2021
ecc70d9
chore: add in simple cache, for now.
auguwu Dec 11, 2021
5b1f796
chore: refractor project into seperate, smaller modules; refractor Do…
auguwu Dec 29, 2021
52cc3e2
workflow: add timeouts + redis as seperate services for unit testing,…
auguwu Dec 29, 2021
f6a5559
fix: merge conflict from edge -> 2.x; use java 17 for workflow, add u…
auguwu Dec 29, 2021
30f4f9d
fix(workflow): workflow from not dying
auguwu Dec 29, 2021
bcab148
fix(workflow): remove health checks
auguwu Dec 29, 2021
3ff5648
chore: finish somewhat of the core, add in temporary files for comman…
auguwu Dec 31, 2021
f8a706b
chore: get bot working, update license year from 2019-2021 -> 2019-2022
auguwu Jan 2, 2022
66b50b9
fix(conflict): 2.x ~> edge
auguwu Jan 2, 2022
2542f0e
chore: lint, qol changes
auguwu Jan 2, 2022
facaa3a
chore: add in text-based command handler, add back test and wah commands
auguwu Jan 3, 2022
7bdb954
chore: spotless apply!
auguwu Jan 3, 2022
31b87ec
fix: dockerfile + merge conflict from edge -> 2.x
auguwu Jan 3, 2022
3195b17
fix: docker from committing :woeme:
auguwu Jan 3, 2022
b3d18e4
feat: implement Message Links automod, add in in-complete automod com…
auguwu Jan 3, 2022
cd6b18c
chore: lint
auguwu Jan 3, 2022
867f5ea
chore: move slash commands from http -> gateway, optimize regex for m…
auguwu Jan 4, 2022
8aadfa9
feat: add in automod command, work on slash commands impl
auguwu Jan 5, 2022
bd3adb1
chore: lint :sparkles:
auguwu Jan 5, 2022
4f455f7
feat: add in redis, import + export commands, String and List union c…
auguwu Jan 6, 2022
9103cbf
chore: lint :sparkles:
auguwu Jan 6, 2022
0b059fc
refractor: add a lazy message `init`
auguwu Jan 6, 2022
1a3933f
refractor: project README
auguwu Jan 6, 2022
39ac238
refractor: api to use ktor server v2
auguwu Jan 7, 2022
9ab0f77
blep
auguwu Jan 15, 2022
63f2483
fix: go back to ktor v1 :sparkles:
auguwu Jan 18, 2022
6c3d17e
fix: spotless :sparkles: apply
auguwu Jan 18, 2022
0ec02f4
fix: ratelimiter using wrong hash table :eyes:
auguwu Jan 18, 2022
2e3a5ae
fix: timeouts tests throwing IllegalStateException instead of Connect…
auguwu Jan 18, 2022
cb6d9ed
chore: remove useless logger.info call
auguwu Jan 18, 2022
672ade0
feat: add in sentry + logging okhttp interceptors :sparkles:
auguwu Jan 18, 2022
2325ff9
feat: work on new gateway with MikaBot/cluster-operator, and such more
auguwu Jan 21, 2022
9ce9bdc
fix: gitignore to exclude config/logging.example.properties, linting …
auguwu Jan 21, 2022
c65ca1a
feat: add in nop listeners, add in prefix command, add in Logstash su…
auguwu Jan 26, 2022
2eba6c1
:whistle:
auguwu Jan 26, 2022
0b5187f
chore: work on event listeners :sparkles:
auguwu Jan 26, 2022
10a28f3
chore: add in help command + dump thread info command
auguwu Jan 27, 2022
04966af
chore: spotless apply :sparkles:
auguwu Jan 27, 2022
61961b6
feat: add in eval and shell commands :sparkles:
auguwu Jan 27, 2022
b0c226d
Improve Gradle build scripts
DRSchlaubi Jan 27, 2022
5f8578c
Update docker/run.sh
DRSchlaubi Jan 27, 2022
62d82b7
Update JVM_ARGS to JVM_OPTS
DRSchlaubi Jan 27, 2022
a4efed1
Merge pull request #973 from DRSchlaubi/2.x
auguwu Jan 28, 2022
b14a915
chore: use lf over crlf :sparkles:
auguwu Feb 6, 2022
1686450
chore: update dependencies
auguwu Feb 6, 2022
8a9c2d7
feat: finish help command, added -h usage to commands, spotless apply…
auguwu Feb 6, 2022
fe24e9e
:sparkles: lint
auguwu Feb 6, 2022
8ddd247
feat: ping, invite, and shardinfo commands :sparkles:
auguwu Feb 6, 2022
c65d4ec
feat: add source, statistics, and uptime commands; cleanup command fl…
auguwu Feb 12, 2022
18c2131
fix: spotless apply :sparkles:
auguwu Feb 12, 2022
c801ab1
chore(localization): translate the `rolecfg` command
auguwu Feb 12, 2022
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
  •  
  •  
  •  
178 changes: 164 additions & 14 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,166 @@
node_modules/
.github/
.vscode/
data/
dist/
.husky/

.travis.yml
**.md
!README.md
docker-compose.yml
renovate.json
*.lock
# User-specific stuff
.idea/

# CMake
cmake-build-*/

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xm

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

### Intellij Patch ###
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721

# *.iml
# modules.xml
# .idea/misc.xml
# *.ipr

# Sonarlint plugin
# https://plugins.jetbrains.com/plugin/7973-sonarlint
.idea/**/sonarlint/

# SonarQube Plugin
# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin
.idea/**/sonarIssues.xml

# Markdown Navigator plugin
# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced
.idea/**/markdown-navigator.xml
.idea/**/markdown-navigator-enh.xml
.idea/**/markdown-navigator/

# Cache file creation bug
# See https://youtrack.jetbrains.com/issue/JBR-2257
.idea/$CACHE_FILE$

# CodeStream plugin
# https://plugins.jetbrains.com/plugin/12206-codestream
.idea/codestream.xml

### JetBrains+all ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff

# Generated files

# Sensitive or high-churn files

# Gradle

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr

# CMake

# Mongo Explorer plugin

# File-based project format

# IntelliJ

# mpeltonen/sbt-idea plugin

# JIRA plugin

# Cursive Clojure plugin

# Crashlytics plugin (for Android Studio and IntelliJ)

# Editor-based Rest Client

# Android studio 3.1+ serialized cache file

### JetBrains+all Patch ###
# Ignores the whole .idea folder and all .iml files
# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360

.idea/

# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023

*.iml
modules.xml
.idea/misc.xml
*.ipr

# Sonarlint plugin
.idea/sonarlint

### Kotlin ###
# Compiled class file
*.class

# Log file
*.log
application.yml

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

### Gradle ###
.gradle
build/

# Ignore Gradle GUI config
gradle-app.setting

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar

# Cache of project
.gradletasknamecache

# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
# gradle/wrapper/gradle-wrapper.properties

### Gradle Patch ###
**/build/

# other stuff
config.yml
.github
LICENSE
README.md
renovate.json
docker-compose.yml
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

8 changes: 0 additions & 8 deletions .eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @auguwu @IceeMC
66 changes: 0 additions & 66 deletions .github/workflows/ESLint.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/Sentry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Update Sentry release on sentry.floof.gay
on:
release:
types:
- created
jobs:
sentry-release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Create Sentry release
uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: noelware
SENTRY_PROJECT: nino
SENTRY_URL: https://sentry.floof.gay
with:
environment: production
38 changes: 38 additions & 0 deletions .github/workflows/Shortlinks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: ESLint Workflow
on:
schedule:
- cron: '0 0 * * *'
jobs:
shortlinks:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Update shortlinks
uses: NinoDiscord/actions@master
with:
command: shortlinks

- name: Setup Git configuration
run: |
git config --global user.name 'Noel[bot]'
git config --global user.email '[email protected]'
git config --global committer.email '[email protected]'
git config --global committer.name 'Noel'

- name: Check if git status is dirty
id: git_status
run: |
if [ -n "$(git status --porcelain)" ]; then
echo '::set-output name=STATUS_DIRTY::true'
else
echo '::set-output name=STATUS_DIRTY::false'
fi

- name: Commit changes (if dirty)
if: contains(steps.git_status.outputs.STATUS_DIRTY, 'true')
run: |
git add .
git commit -m "chore(automate): update shortlinks.json file"
git push -u origin $(git rev-parse --abbrev-ref HEAD)
Loading