285 Commits

Author SHA1 Message Date
b7ca0cfc03
Feat: 신뢰된 봇 특전 수정 기능 추가 (#673)
* feat: camofy urls

* chore: unify standards

* feat: api changes for trusted bot perks

* feat: trusted bot perks on edit page

* chore: unify

* fix: wtf

* feat: hide perks menu for non-trusted bots

* fix: camo should be proceed at server-side

* type: typing issue

* fix: conflict

* fix: editing page on vanity code

* fix: removed reserved page

* feat: reserved vanity

* fix: for not found

* fix: bypass reserved vanity for offical bot

* chore: apply prettier

* chore: add webhook log for vanity change

---------

Co-authored-by: skinmaker1345 <skinmaker1345@gmail.com>
2025-03-28 00:27:18 +09:00
skinmaker1345
b90fa8f11e fix: vote api not working properly 2025-02-17 13:28:08 +09:00
SKINMAKER
160fe4ecb3
feat: 투표 알림 기능 (#669)
* feat: ensure djs clients are singleton instances

* feat: add votes table

* feat: vote notification

* chore: reduce vote cooldown to 15 min

* feat: add SetNotification to server

* chore: add debug logs

* fix: do not add notification when token and voteid already exists

* feat: add loading indicator

* feat: refresh notification when voted

* feat: add opt-out

* feat: add debug log

* fix: initialize firebase app

* fix: remove app on messaging

* feat: show notifications only with service worker

* fix: state improperly used

* fix: schedule notification if notification is newly added

* chore:  remove duplicated notification

* chore: add spacing

* chore: get token if notification is granted

* chore: change vote cooldown to 12 hours

* chore: remove logging
2025-02-17 07:34:12 +09:00
skinmaker1345
98aa7646b6 fix: do not set state deleted if api is unreachable 2025-01-29 23:22:28 +07:00
skinmaker1345
5549717596 fix: set state to deleted for deleted bots 2025-01-22 23:30:43 +09:00
skinmaker1345
8db81434ad feat: remove deleted bots from site 2025-01-18 22:39:24 +09:00
skinmaker1345
cf9e7ca770 refactor: include hash for discord cdn routing 2024-12-30 01:56:29 +09:00
skinmaker1345
d95c3102e5 feat: add workers for discord cdn 2024-12-30 00:38:19 +09:00
Eunwoo Choi
442b1f6ecd
hotfix: unable to submit bot 2024-10-22 12:41:13 +09:00
SKINMAKER
a89cb6d813
feat: 봇 / 서버 - 소유주 간 관계도 개선 (#659)
* feat: implement owners mapping table

* feat: add manual deploy

* fix: query by vanity does not work

* fix: do not fetch users on list queries

* fix: updating owners does not work properly

* fix: owner is not shown properly

* ci: remove branch input on manual publish

---------

Co-authored-by: Eunwoo Choi <choi@eunwoo.dev>
2024-10-20 00:28:17 +09:00
SKINMAKER
5649f91bc0
fix: typo from "컨텐츠" (#653) 2024-07-26 15:07:57 +09:00
SKINMAKER
05c802369b
feat: Add descriptions for bot categories (#650)
* feat: make select option show description

* feat: add category descriptions of bot
2024-07-21 10:15:16 +09:00
skinmaker1345
f9289dd6c7 fix: set totalpage based on type 2024-03-04 23:37:41 +09:00
skinmaker1345
ad90f8d699 perf: optimize search 2024-03-04 23:34:36 +09:00
skinmaker1345
e2368f4064 fix: prevent error thrown at build 2024-02-17 22:04:45 +09:00
SKINMAKER
657e853fba
chore: remove mentions on log (#638) 2023-11-29 22:18:03 +09:00
SKINMAKER
b421d1ab64
chore: apply prettier (#637)
* chore: apply prettier

* chore: edit ready comment

* chore: move ts comment
2023-11-29 22:04:33 +09:00
skinmaker1345
8c95cc4bb8 fix: check given param is not null 2023-09-30 23:06:51 +09:00
SKINMAKER
606f3cbc82
deps: update next.js to 13 (#627)
* deps: update next.js to 13

* chore: migrate to new Link component

* chore: remove future option from next.config

* chore: update react-select

* chore: enable hideSourceMaps on sentry

* chore: assert type as string

* chore: make placeholder and value absolute

* feat: set timeout for redirect

* chore: ignore ts error

* chore: add generics

* chore:

* chore: add ts comment

* feat: use dnd-kit instead of react-sortable-hoc

* fix: give absolute position to placeholder
2023-09-28 23:22:46 +09:00
Eunwoo Choi
8015784719
feat: use webhook for logging (#625)
* feat: use webhook for sending log

* fix: use property instead of hashmap

* fix: ci fail due to webhook URL validation

* chore: new url based on regex

* feat: send reports to webhook

* chore: env example
2023-08-31 23:19:16 +09:00
Eunwoo Choi
b3bac55577
fix: don't show TokenExpiredError (#624)
* fix: don't show TokenExpiredError

* fix: use console.error instead of console.log
2023-08-27 22:34:04 +09:00
SKINMAKER
80ca0a7dee
deps: update discord.js version to 14.12 (#621)
* refactor: remove raw user fetch

* chore: set discord.js version to 14.12.0

* chore: bump discord.js to 14.12.1

---------

Co-authored-by: Eunwoo Choi <choi@eunwoo.dev>
2023-08-01 19:23:36 +09:00
SKINMAKER
50168f6cd3
feat: catch error when fetching user (#569) 2023-06-20 20:54:18 +09:00
SKINMAKER
bec6aa3554
chore: deps (#566)
* chore: remove zlib-sync

* chore: pin version of @types/react

* chore: remove next-session

* chore: update tailwind

* chore: update tailwind

* chore: update lint

* chore: remove abort-controller

* chore: regen lock file

* fix: remove transparent

* chore: set plugin to not mutate existing style
2023-06-20 12:59:42 +09:00
SKINMAKER
5d41ada703
feat: get display name on query (#565)
* feat: get display name on query

* chore: use global_name instead of display_name

* feat: show username on Owner

* chore: remove unused import

* feat: user page

* chore: remove logging

* feat: navbar

* feat: Seo

* feat: logging

* feat: addbot

* feat: security credit

* feat: report

* feat: transfer owner

* feat: seo

* feat: report

* chore: do not get channel from guild

* chore: remove displayname

* chore: remove unused import
2023-06-10 22:29:51 +09:00
Eunwoo Choi
c5670e3f46
fix: unable to submit server 2023-06-05 22:16:06 +09:00
SKINMAKER
013b9b7183
feat: filter-servers (#564)
* chore: update query

* feat: filter outdated servers
2023-05-29 22:19:24 +09:00
SKINMAKER
90b98cbebe
fix: duplicated failed message (#559)
* fix: clear timeouts when disabled

* fix: check timeout maps

* fix: wrong link for panel
2023-04-29 12:27:31 +09:00
SKINMAKER
54eb24137c
fix: webhook retry interval shifted by 1 (#558)
* fix: webhook retry interval shifted by 1

* chore: update docs
2023-04-26 20:42:51 +09:00
SKINMAKER
f25fe50140
feat: retry webhook (#557)
* feat: retry webhook

* fix: check condition to disable immediately

* feat: start timeout from 2 squared

* fix: not return for 5xx status code

* chore: update docs

---------

Co-authored-by: Eunwoo Choi <choi@eunwoo.dev>
2023-04-23 19:00:43 +09:00
SKINMAKER
468e1721b3
feat/refactor webhook payload (#556)
* feat: move ids into data prop

* feat: add timstamp on webhook payload
2023-04-16 15:57:49 +09:00
SKINMAKER
a3173609dd
fix: remove outdated webhook client (#555)
* fix: remove outdated webhook client

* feat: destroy client
2023-04-16 15:02:14 +09:00
SKINMAKER
59dbf74466
refactor/webhook (#553)
* types: fix type of shortValue

* refactor: move webhook section to dev page

* feat: add tooltip

* refactor: remove warning prop for Label

* refactor: remove webhook field from edit page

* feat: check webhookStatus

* chore: remove unused import

* chore: remove ununsed import

* chore: remove unused import

* chore: add desc about failed webhook

* chore: remove unused import

* feat: remove warning icon when updated

* feat: add webhook field to server

* refactor: remove webhook verification

* fix: endpoint

* feat: add endpoint for /applications/servers/[id]

* feat: remove webhook related props from bot/server

* chore: edit url

* feat: add link to docs

* chore: remove indents
2023-04-14 23:57:43 +09:00
SKINMAKER
72843bfeb1
fix: webhook failed since not working as intended (#550)
* fix: webhook failed since not working as intended

* fix: match to milliseconds
2023-04-07 22:34:39 +09:00
SKINMAKER
4648c3e84b
fix/webhook (#548)
* chore: remove quotes

* types: make servers nullable

* types: make before value nullable

* feat: handle null value

* chore: update api docs

---------

Co-authored-by: Eunwoo Choi <choi@eunwoo.dev>
2023-04-06 12:14:39 +09:00
Byungchul Kim
e8075ee7d5
feat: support webhook (#514)
* feat: support webhook

* feat: bot webhook

* types: add enums for webhook

* feat: update webhook status by param

* feat: send webhook of server count change

* feat: send webhook of vote

* chore: add desc of faulty webhook

* chore: set initial value

* feat: add collection of clients

* chore: simplify

* feat: set webhook status dynamically

* feat: webhook for discord

* refactor: rename WebhookStatus.Paused

* refactor: make webhookClients to one object

* feat: webhook with fetch

* feat: add warning prop to input component

* feat: display red when warning

* feat: check server count properly

* feat: handle status codes

* refactor: remove double fetch

* chore: typo

* feat: send failed message

* fix: missing id on query

* feat: limit response body

* feat: use severlist bot to dm

* feat: webhook for servers

* feat: use env for ids

* refactor: remove variables

* fix: send discord log

* fix: message

* feat: include koreanbots in footer

* fix: typo

* refactor: export function as non default

* feat: add verification

* feat: add columns

* feat: verify bot webhook

* feat: verify server webhook

* chore: rename key to secret

* fix: stringify

* chore: remove webhook related columns

* refactor: use separate object for webhook

* type: add webhook prop to bot / server

* fix: implement webhook status

* refactor: rename webhook to webhookURL

* feat: select webhook props

* feat: remove bot's private props

* feat: remove server private fields

* chore: use makeURLs

* type: fix faildSince is type as string

* refactor: rename to updateWebhook

* chore: make props optional

* feat: failedSince

* feat: remove failedSince when success

* fix: missing import

* fix: typo

* fix: convert missing prop

* fix: typo

* chore: remove unnecessary select

* fix: missing systax

* feat: sort docs

* feat: use relay

* fix: check status properly

* chore: handle relay server error

* remove awaits

* fix: add base url

* fix: typo

* chore: remove red highlights

* chore: change emoji

---------

Co-authored-by: SKINMAKER <skinmaker@SKINMAKERs-iMac.local>
Co-authored-by: skinmaker1345 <me@skinmaker.dev>
2023-04-03 12:03:41 +09:00
Eunwoo Choi
f80c073a38
fix: new og link (#545) 2023-03-22 22:39:33 +09:00
SKINMAKER
1ca415b8b4
feat: make deleted server able to get deleted (#544)
* feat: check invite expirable

* feat: check invite still available

* feat: check error code
2023-03-15 23:08:12 +09:00
SKINMAKER
ea3060c85f
fix: check bot strikes properly (#536) 2023-02-01 20:32:24 +09:00
SKINMAKER
3f5046b6c1
feat:show strikes (#535)
* feat: add line break to invalid category

* feat: show strikes

* fix: typo

* chore: wordings

* feat: specify three reasons excluded
2023-02-01 19:47:00 +09:00
Eunwoo Choi
2d68f7aadd
deps: update outdated and critical dependencies (#532)
* deps: bump critical deps version

* chore: specify sentry and dd debug mode

* chore: enable SwcMinify

* chore: casing

* deps: bump mongoose version to 6.8.3

* Revert "deps: bump mongoose version to 6.8.3"

This reverts commit d5b90b5c0909545d4d21553d50c5681bd93a57a4.

* deps: change mongoose version to 5.13.15

* fix: typing

* deps: update audited deps

* deps: update next-pwa and dd-trace@2

* deps: update dd-trace@3 and sentry

* fix: redirects

* fix: style

* feat: redirect using next config

* deps: update mongoose to 6.9.0

* chore: change next version in package.json

* chore: change next version to 12.3.2

* fix: model compile issue

* chore: lint

* chore: remove any

* deps: update jest version to 29

* deps: resolve remaining vulnerabilities

---------

Co-authored-by: skinmaker1345 <me@skinmaker.dev>
2023-02-01 01:34:30 +09:00
SKINMAKER
5a28ac284c
fix: sort bots with date (#530) 2023-01-16 13:07:01 +09:00
SKINMAKER
ada3d928a0
fix: search (#531)
* fix: search

* chore: lint
2023-01-16 13:06:38 +09:00
Eunwoo Choi
50b435ef52
fix: change twemoji cdn (#528)
* fix: change twemoji cdn

* fix: typo
2023-01-14 22:16:53 +09:00
SKINMAKER
ad12c4d55d
feat: detect bots using http interactions (#515)
* feat: check if bot uses interactions over http

* chore: remove optional chainings

* fix: replace with falsy check

* chore: remove unnecessary operator

* fix: check flags properly
2023-01-14 22:16:34 +09:00
Taehyun Lim
c051b440d3
feat: edit wrong color code (#516) 2022-10-13 16:18:11 +09:00
SKINMAKER
8694e9b19a
deps: change discord.js version to v14 (#503)
* deps: update djs to v14

* refactor: use discord.js v14

* fix: presence not showing properly

* fix: revert Ids

* Update pages/api/v2/bots/[id]/index.ts

Co-authored-by: Junseo Park <wonderlandpark@outlook.kr>

* style: apply code style

* feat: customizable intents

* feat: change node version

* feat: change node version

* fix: misused operator

* deps: fix typescript version to 4.6.4

* fix: fix bot url length (#504)

* refactor: add more advertisements (#508)

* feat: add open review deny log and max denies restriction (#510)

* feat: add open review log channel and embed

* chore: do not include submit page

* chore: mention instead of date

* feat: add max denies error

* typo: 더 이상

Co-authored-by: Junseo Park <wonderlandpark@outlook.kr>

* feat: add exceptions to deny count

* fix: invalid embed used

Co-authored-by: Junseo Park <wonderlandpark@outlook.kr>

* fix: invalid guild

Co-authored-by: Junseo Park <wonderlandpark@outlook.kr>

* fix: invalid position

Co-authored-by: Junseo Park <wonderlandpark@outlook.kr>

* fix: proper reason check position

Co-authored-by: Junseo Park <wonderlandpark@outlook.kr>

* feat: sepcific error message

* refactor: change reason embed format

* fix: knex andWhereNot method to whereNotIn method

Co-authored-by: Junseo Park <wonderlandpark@outlook.kr>

* refactor: detact adblock (#509)

* refactor: detact adblock

* perf: implement mobile detection

* deps: update djs to v14

* refactor: use discord.js v14

* fix: presence not showing properly

* fix: revert Ids

* Update pages/api/v2/bots/[id]/index.ts

Co-authored-by: Junseo Park <wonderlandpark@outlook.kr>

* style: apply code style

* feat: customizable intents

* feat: change node version

* feat: change node version

* fix: misused operator

* deps: fix typescript version to 4.6.4

* refactor: use discord.js v14

* deps: update discord.js to 14.2.0

* style: split options

* style: prettify

* deps: update erlpack

Co-authored-by: Junseo Park <wonderlandpark@outlook.kr>
Co-authored-by: Byungchul Kim <64084503+chul0721@users.noreply.github.com>
Co-authored-by: Eunwoo Choi <61371424+eunwoo1104@users.noreply.github.com>
2022-08-30 23:28:48 +09:00
Ryu Juheon
79c31256ca
fix: fix overflow from bit calculation (#489)
* fix: fix overflow from bit caculation

* fix: fix typing issue

Co-authored-by: Byungchul Kim <64084503+chul0721@users.noreply.github.com>
2022-08-26 09:32:05 +09:00
Eunwoo Choi
516f72ad08
feat: add open review deny log and max denies restriction (#510)
* feat: add open review log channel and embed

* chore: do not include submit page

* chore: mention instead of date

* feat: add max denies error

* typo: 더 이상

Co-authored-by: Junseo Park <wonderlandpark@outlook.kr>

* feat: add exceptions to deny count

* fix: invalid embed used

Co-authored-by: Junseo Park <wonderlandpark@outlook.kr>

* fix: invalid guild

Co-authored-by: Junseo Park <wonderlandpark@outlook.kr>

* fix: invalid position

Co-authored-by: Junseo Park <wonderlandpark@outlook.kr>

* fix: proper reason check position

Co-authored-by: Junseo Park <wonderlandpark@outlook.kr>

* feat: sepcific error message

* refactor: change reason embed format

* fix: knex andWhereNot method to whereNotIn method

Co-authored-by: Junseo Park <wonderlandpark@outlook.kr>
2022-08-15 21:22:55 +09:00
Byungchul Kim
bd6af3380b
fix: fix bot url length (#504) 2022-08-06 10:42:32 +09:00