Amjad Alsharafi Amjad50
Amjad50 commented on pull request OxideTalis/oxidetalis#14 2024-07-17 03:19:53 +02:00
feat: Chat request implementation

ture

Amjad50 commented on pull request OxideTalis/oxidetalis#14 2024-07-17 03:19:53 +02:00
feat: Chat request implementation

use get

Amjad50 commented on pull request OxideTalis/oxidetalis#14 2024-07-17 03:19:53 +02:00
feat: Chat request implementation

in the client, you mentioned to make it alphabetical, should it be the same here?

Amjad50 commented on pull request OxideTalis/oxidetalis#14 2024-07-17 03:19:53 +02:00
feat: Chat request implementation

reason is unused

Amjad50 commented on pull request OxideTalis/oxidetalis#14 2024-07-17 03:19:53 +02:00
feat: Chat request implementation

ture -> true (use find and replace all, there are multiple of these)

Amjad50 commented on pull request OxideTalis/oxidetalis#14 2024-07-17 03:19:53 +02:00
feat: Chat request implementation

I noticed that several methods have logcall but others don't, is it remaining from debugging session? or planning to keep it

Amjad50 commented on pull request OxideTalis/oxidetalis#14 2024-07-17 03:19:53 +02:00
feat: Chat request implementation

since we are not dealing with the result. maybe a one statement approach to do

Amjad50 commented on pull request OxideTalis/oxidetalis#14 2024-07-17 03:19:53 +02:00
feat: Chat request implementation

I was thinking we can have one table for blacklist and whitelist.

Amjad50 commented on pull request OxideTalis/oxidetalis#14 2024-07-17 03:19:53 +02:00
feat: Chat request implementation

Maybe would be better to move this to WsError easier to manage errors

Amjad50 commented on pull request OxideTalis/oxidetalis#14 2024-07-17 03:19:53 +02:00
feat: Chat request implementation

should return true based on the name and description of the func

Amjad50 suggested changes for OxideTalis/oxidetalis#14 2024-07-17 03:19:53 +02:00
feat: Chat request implementation
Amjad50 commented on pull request OxideTalis/oxidetalis#14 2024-07-16 16:35:13 +02:00
feat: Chat request implementation

I hate big PR, but there is no way to make it smaller. All thing are related and need each other.

haha, yah understandable.

I'll review it soon

Amjad50 commented on issue OxideTalis/oxidetalis#12 2024-07-07 17:04:34 +02:00
Rate limiting websocket messages

ah, sorry got confused. then, I think we can put them separate, and we can even use the same structure, something like this

[ratelimit.http]
limit = 1500
period_secs = 60

[ratelimit.w…
Amjad50 commented on issue OxideTalis/oxidetalis#12 2024-07-07 16:56:55 +02:00
Rate limiting websocket messages

So the new configurations will be

  • connection_limit under ratelimit section
  • connection_period_secs under ratelimit section

The current configuration is

[ra
Amjad50 commented on issue OxideTalis/oxidetalis#12 2024-07-07 16:51:28 +02:00
Rate limiting websocket messages

Another thing I thought about, would it be interesting idea to also add limit to number of connections? I know ws is light and we can handle many, but just to fend against half open connections…

Amjad50 commented on issue OxideTalis/oxidetalis#12 2024-07-07 16:47:21 +02:00
Rate limiting websocket messages

it seems fine to use the same config file, since its the server config. why would you want to use a new file specifically for rate limiting?

Also, if this is per connection, maybe its better to…

Amjad50 commented on pull request OxideTalis/oxidetalis#9 2024-07-07 16:14:06 +02:00
feat: Create CI/CD

alright, yah, everything else is good

Amjad50 commented on pull request OxideTalis/oxidetalis#9 2024-07-07 16:10:47 +02:00
feat: Create CI/CD

the PR template seems that its for bug fixes only, I would modify it to make it general, this is an example of what I use

Amjad50 commented on pull request OxideTalis/oxidetalis#9 2024-07-07 16:07:30 +02:00
feat: Create CI/CD

I notice a lot of environment variables with GITHUB is this from forgejo to be compatible with github actions? or is it here by mistake?

Amjad50 commented on pull request OxideTalis/oxidetalis#8 2024-07-06 13:28:41 +02:00
feat: Initialize server websocket

Nice, approved