Commit Graph

143 Commits

Author SHA1 Message Date
sudoskys
8955d87292 feat: update hover style for light mode in community page 2025-04-11 15:21:31 +08:00
Kinfe123
ea4651d491 fix: community page interaction 2025-04-10 15:51:13 +03:00
Bereket Engida
84bcc4ac09 chore: update discord link 2025-04-05 11:40:41 +03:00
Kinfe123
ba5b8dfc23 lint 2025-04-01 09:38:51 +03:00
Kinfe123
1dbcc5f782 replace with real url params 2025-04-01 09:38:22 +03:00
Kinfe123
e2d6b2fdbe fix: og image compat 2025-04-01 09:37:43 +03:00
KinfeMichael Tariku
46e39415a2 docs: 404 page (#2005) 2025-03-26 09:42:11 +03:00
KinfeMichael Tariku
80d5a5de0b docs: add branding assets (#1900)
* feat: branding with multiple variant
---------
Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-03-21 15:41:10 +03:00
Fuma Nama
00ad781427 docs: improve layout consistency (#1831)
* Fix sidebar tabs pre-rendering

* Improve sidebar consistency

* improve searchbar alignment

* improve animation
2025-03-15 19:54:27 +03:00
KinfeMichael Tariku
c06cc0a00d docs(fix): stat container height and clickable pointer (#1744) 2025-03-09 12:22:44 +03:00
Tommy D. Rossi
2a495ea24b feat(oidc-provider): Implement OIDC rfc7591 compliant /register endpoint (#1732) 2025-03-08 22:43:43 +03:00
Bereket Engida
dd31d6c9e3 docs: refine UI components and styling 2025-03-08 22:09:19 +03:00
Bereket Engida
970918cb45 docs: remove changelogs side animaiton 2025-03-08 20:33:48 +03:00
Bereket Engida
ebcf8c907c docs: refine UI styling and remove loglib 2025-03-08 20:05:50 +03:00
Bereket Engida
b5f638ca45 docs: upgrade to tailwind v4, react 19, fuma docs 15 (#1735) 2025-03-08 19:33:31 +03:00
Maxwell
1d700f38f1 docs(fix): "edit on github" broken link (#1625)
The button now actually brings you to the correct page on GH to edit.
2025-03-02 10:25:34 +03:00
DawitMengistu
57c38e196a docs: update light mode and responsiveness of community apge(#1621)
* Update header.tsx

'Open Source Community' text color for theme change"

* fix: improve community page responsiveness and styling

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-03-02 09:54:02 +03:00
KinfeMichael Tariku
86db0c2039 docs: fix metadata theming (#1613)
* fix: light theme issue

* fix: metadata issue

* cleanup the layout

* changelog-layout default clean up
2025-03-02 01:45:19 +03:00
KinfeMichael Tariku
1cbe4d1049 docs: changelog base og image (#1610) 2025-03-01 23:58:02 +03:00
Bereket Engida
15f769645c docs: add Vercel Analytics 2025-03-01 23:57:20 +03:00
Bereket Engida
bce889b99a docs(changelog): remove back navigation link 2025-03-01 23:54:25 +03:00
Bereket Engida
fa1de4352e docs(changelog): change release notes og image 2025-03-01 23:26:21 +03:00
Bereket Engida
f2985c269f docs(changelog): Improve mobile and responsive layout for changelog pages 2025-03-01 23:14:19 +03:00
Bereket Engida
958d80fd86 docs(changelog): Update 1.2 release notes 2025-03-01 23:10:03 +03:00
Bereket Engida
5a72778767 chore: remove remarkInclude from docs route processing 2025-03-01 12:29:41 +03:00
Bereket Engida
f6051b45b8 chore: lint 2025-03-01 02:47:15 +03:00
Bereket Engida
86cbf70684 docs: v1.2 release notes (#1602) 2025-03-01 02:22:32 +03:00
Maxwell
ec9edc357a feat: API Key plugin (#1515)
* feat: API-key plugin

* add: `deleteAllExpiredApiKeys` functionality

* fix: fetching sessions from headers

* update: types & create-api-key now checks for min & max expiresIn values

* tests: Started working on tests

* add: features

- added list functionality
- added min & max prefix length
- added min & max name length
- added metadata enable/disable option
- added `disableSessionForAPIKeys` option
- verify API key now checks for expiration & refills
- added regex to check prefix of api key

* fix: create-api-key's expiration using `/` instead of `*`

* update: schema `metadata` transforms invalid values as `null`

* fix: create-api-key metadata should go through transformation

* fix: missing metadata wouldn't have `'null'` as value

* update: error types

* fix: remove console.logs from verify

* fix: rate-limit not working

* fix: rate-limit plugin options types

* chore: remove logs

* update: removed `key` field from result apiKey type of the update-api-key endpoint

* fix: typo

* update: create & update if checks

- create now checks if custom expiration times are allowed
- update now allows name values & checks if name is within length range
- update now also checks for custom expiration times are allowed

* update(WIP): tests

* fix: added the missing error throw when there is no values to update

* fix: update-api-key checks expiresIn in days, not ms

- also updated create-api-key & update-api-key to have more detailed event logging

* fix: update api key's remaining count's min & max checks

- also added more detail to the events

* fix: update-api-key can now update refillInterval & refillAmount properly

* fix: metadata in update-api-key transforms between string & obj correctly

* add: all of the `update` tests

* update: get-api-key metadata is now obj instead of string

* add: listApiKeys functionality

* fix: get-session to use mock session based on header API keys

* update: tests to test against get-session, get-api-key, and list-api-key

* add: `start` field to show the first few characters of an API key

* fix: very silly mistake

* update: tests to validate `start` property

* update: create-api-key checks if properties are set from server & allows for custom rate-limit rules

- also updated tests to check against this

* update: verify-api-key to check if a row has the right user-id

- this also should speed up the DB process too. (I'm pretty sure)

* update: `delete-all-expired-api-keys` endpoint added & updated list-api-keys endpoint function name

* add: customAPIKeyValidator fn, and fixed verification `remaining` and `lastRefillAt` values updating DB incorrectly

* update: documentation

* add: rate-limiting enable/disable on a per-key level

* update: docs

* fix: correct expiration time units and improve error messages in API key handling

* fix: allow creating apiKeys by providing userId on the server

* fix: user userId instead of headers to differ server vs client calls on create api key

* wip

* fix: JSDoc comment

* fix: tests not passing due to invalid expiresIn value

Since the expiresIn got changed from `ms` to `sec`, this needed to be changed as well.

* wip

* fix(api-key): update tests and error messages for API key verification

* fix(api-key): update API key fixes

* refactor tests and remove events

* refactor(api-key): remove unused event handling and clean up type definitions

* add: minimum values to `create-api-key` numeric input options

* fix: remove `opts.events` in delete-api-key route

* refactor: all returning routes which can contain `key`

- more performant
- better typed
- cleaner code

:D

* update: added minimum values to update-api-key endpoint as well

* fix: removed `maximumRemaining` & `minimumRemaining` default values in `opts`

* docs: ready (unless I make minor adjustments later) 🫡

* fix(docs): links & invalid code examples

* fix: output transform of metadata to use ParseJSON

* fix: tests failing due to async metadata transform output

* fix: return types for verify-api-key endpoint

* fix: tests failing due to invalid expiresIn minimum value

* docs: reorder sidebar items for API Key

* wip

* docs(api-key): enhance documentation with permissions and usage details

- Updated API key documentation with comprehensive permissions explanation
- Added examples for setting default permissions, creating, verifying, and updating API keys with permissions
- Clarified API key creation, verification, and update processes
- Improved code examples and descriptions for better understanding

* chore: lint

* fix(docs): incorrect wording / explanation on refillInterval/refillAmount

* add(docs): missing permissions info in docs

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-02-28 17:11:03 +03:00
Bereket Engida
7ba1af2ff9 Merge branch 'main' into v1.2 2025-02-27 14:20:23 +03:00
Bereket Engida
c488e306ea docs: add llms.txt 2025-02-25 22:35:30 +03:00
Maxwell
9a0b86a7fe docs: first page shouldn't show nav button to go to prev page (#1442) 2025-02-17 08:23:41 +03:00
Maxwell
c3f2febf3b docs: first page shouldn't show nav button to go to prev page (#1442) 2025-02-14 19:25:49 +03:00
Bereket Engida
cb691e78bc docs: update captcha docs and fix sidebar svg 2025-02-14 10:18:21 +03:00
Ramadan Omar
7736be2a9c a11y: show scrollbar (#1390) 2025-02-11 11:02:56 +03:00
Anurag Mishra
75fb94ea21 docs: fix subreddit link (#1339) 2025-02-03 15:58:15 +03:00
Kinfe123
c3751211e7 lint 2025-02-03 15:44:33 +03:00
Kinfe123
1d40c08240 bordered on mob 2025-02-03 15:43:00 +03:00
Anurag Mishra
2069cfea7a docs: fix subreddit link (#1338) 2025-02-03 15:04:36 +03:00
Bereket Engida
5031b446dd docs: fix discord invite link 2025-02-03 11:19:39 +03:00
Bereket Engida
2879baaebc docs: fix community paragraph 2025-02-02 18:37:41 +03:00
KinfeMichael Tariku
3e059a2454 docs: improve community page (#1007)
* fix: ui

* chore: lint

* fix: ui

* fix: input variant

* feat: community page

* fix: typo

* chore: lint

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-02-02 17:45:57 +03:00
Bereket Engida
c25e130a6d chore: lint 2025-02-01 12:45:39 +03:00
Maxwell
16cd967aae docs: fix page navigation buttons don't work if the next/prev category's index [0] is a group (#1326) 2025-02-01 12:20:10 +03:00
Rahu! 🇮🇳
099a59c7a7 docs: update text color for light mode in community page (#1278) 2025-01-25 08:24:26 +03:00
Bereket Engida
503b7dbe75 chore: lint 2025-01-18 18:01:03 +03:00
Maxwell
a806c378be docs: fix navigation buttons not showing due to groups (#1243) 2025-01-18 17:52:58 +03:00
Maxwell
273aceaa15 docs: add buttons to navigate to the next/prev docs page (#1233) 2025-01-18 16:21:58 +03:00
Bereket Engida
9f2e45b8c7 chore: cleanup 2025-01-06 14:30:39 +03:00
Bereket Engida
cc94e6a7c0 docs: fix changelogs 2024-12-30 21:58:54 +03:00
Bereket Engida
4573147100 chore:lint 2024-12-21 13:40:16 +03:00