8e9c7f120f
fix: Fix regression where Postgres DSN wouldn't be detected
...
Release code / build (push) Successful in 5m47s
There was a typo where databaseBackendName == "postgresql" was
"postgres" instead on accident.
2025-03-21 13:39:51 -04:00
75b12f2053
fix: Avoid recreating validator in SSHBackend and SSHAppBackend
Release code / build (push) Successful in 5m46s
2025-03-21 13:24:59 -04:00
b93bf456b5
fix: Fixes 100% CPU usage in the backend runtime
...
This makes the backend runtime not constantly search for messages to be
processed. Instead, it only wakes up when it needs to be woken up via
goroutines.
2025-03-21 13:17:08 -04:00
d56a8eb7bf
feature: Change state management from global variables to object passing
...
This restructures dbcore (now the db package) and jwtcore (now the jwt
package) to use a single struct. There is now a state package, which
contains a struct with the full application state.
After this, instead of initializing the API routes directly in the main
function, the state object gets passed, and the API routes get
initialized with their accompanying code.
One fix done to reduce memory usage and increase speed is that the
validator object is now persistent across requests, instead of
recreating it each time. This should speed things up slightly, and
improve memory usage.
One additional chore done is that the database models have been moved to
be a seperate file from the DB initialization itself.
2025-03-21 12:59:51 -04:00
71d53990de
chore: Fix sample code to remove the deprecated LOM, and add JWT secrets
2025-03-18 20:51:01 -04:00
1cefe64f88
chore: Remove Node.JS from the nix shell
2025-03-18 20:36:20 -04:00
83f80af405
chore: Delete unmaintained CHANGELOG
2025-03-19 00:34:36 +00:00
7dee159d5f
chore: Change license name
2025-03-18 20:33:59 -04:00
17b10c9b19
fix: Add system to detect duplicate running remote processes and kill them accordingly
Release code / build (push) Successful in 6m3s
2025-03-18 20:31:28 -04:00
5c503f0421
fix: Make logging options more clear for the backend runtime's backend logs
2025-03-18 20:27:40 -04:00
959718163e
fix: Fix disconnect handler not working in production
Release code / build (push) Successful in 8m28s
2025-03-16 21:34:20 -04:00
24b165c9bb
Merge pull request 'Add new backend callled SSHAppBackend
.' ( #10 ) from sshappbackend into dev
...
Release code / build (push) Successful in 4m46s
Reviewed-on: #10
2025-02-20 14:13:12 +00:00
34b605c1b1
feature: Adds API manifest definitions, and implement GetAllClientConnections()
Release code / build (push) Has been cancelled
2025-02-20 09:11:28 -05:00
f8a4fe00a0
feature: Adds basic UDP support.
2025-02-19 07:58:42 -05:00
15176831e6
feature: Adds basic TCP support for SSHAppBackend.
2025-02-18 13:15:09 -05:00
432d457ad7
feature: Adds remote implementation of code.
2025-02-16 21:51:33 -05:00
cf90ddb104
chore: Strip unneeded components from code.
2025-02-16 19:12:17 -05:00
62cc8b39ad
chore: Cleanup code by switching to type switching instead of string switching.
2025-02-16 18:11:01 -05:00
17e1491f96
feature: Adds basic data command support.
2025-02-16 15:02:50 -05:00
ede4d528aa
feature: Adds basic backend starting for sshappbackend.
2025-01-27 07:36:29 -05:00
a35602a6f2
chore: Initialize sshappbackend.
2025-01-24 13:26:25 -05:00
4101ce7007
Revert "chore: Delete old commonbackend code."
...
Wrong branch oops
This reverts commit 737ba2887f
.
2025-01-10 20:44:02 -05:00
737ba2887f
chore: Delete old commonbackend code.
2025-01-10 20:34:50 -05:00
48adfc88db
fix: Fixes performance regression introduced in 4cb648cd66
/ v2.1.0. ( closes #7 )
Release code / build (push) Successful in 5m43s
2025-01-10 16:37:38 -05:00
0efda4b283
feature: Add profiling documentation for backends based on BackendUtil.
2025-01-10 16:23:26 -05:00
356cfb8dca
fix: Fixes action workflows.
Release code / build (push) Successful in 5m33s
2025-01-09 08:00:37 -05:00
ea0a953b0e
chore: Remove unneeded debug messages.
Release code / build (push) Failing after 3m20s
2025-01-09 07:50:32 -05:00
3429f2cd37
chore: Reword restart notification message.
2025-01-09 07:39:35 -05:00
a3519220be
fix: Adds automatic restarting upon failure for SSH.
2025-01-09 07:22:12 -05:00
4cb648cd66
fix: Fixes errors showing for no reason.
2025-01-08 12:38:10 -05:00
7837334361
fix: Fixes various crashes.
2025-01-08 11:40:42 -05:00
e456de9802
Merge pull request 'Makes backend infrastructure more stable, concurrent, and fault tolerant' ( #6 ) from backend-runtime-stability-fixes into dev
...
Reviewed-on: #6
2025-01-08 16:23:35 +00:00
f24daabe45
Reapply "feature: Adds semi-broken stability improvements into the runtime environment."
...
This reverts commit 157e1c8712
.
2025-01-08 11:23:05 -05:00
f8d32fb1c6
fix: Fixes more instability issues. :)
2025-01-08 09:12:48 -05:00
1e1a330a4b
feature: Refactors backend runtime's communication mechanism to be more stable.
2025-01-06 01:24:11 -05:00
93f2f9cbee
fix: Adds missing backend status command implementations.
2025-01-06 00:09:14 -05:00
157e1c8712
Revert "feature: Adds semi-broken stability improvements into the runtime environment."
...
This wasn't meant to be pushed to dev.
This reverts commit 605ad31dd6
.
2025-01-06 00:04:35 -05:00
605ad31dd6
feature: Adds semi-broken stability improvements into the runtime environment.
2025-01-05 23:45:44 -05:00
f505ff6605
fix: Fixes SQLite not working with Docker.
2025-01-05 20:51:30 -05:00
843cd34785
chore: Adds login and user creation support to the API.
2025-01-05 20:51:06 -05:00
96833b238b
chore: Tidies Go module files.
2024-12-28 17:23:25 -05:00
4ca2c809c9
chore: Remove old TypeScript git hooks.
2024-12-28 16:00:37 -05:00
aaacdfd5f4
chore: Remove all legacy code.
2024-12-28 15:43:21 -05:00
fd4d6bfd65
fix: Fixes rare errors regarding Nix shell not finding the initialization script.
2024-12-28 15:41:05 -05:00
49db323e81
chore: Prepare for frontend support by moving the Go module files.
...
This moves the Go module files to the root of the project and fixes
all of the imports.
2024-12-28 15:37:32 -05:00
201007f7a0
chore: Make lookup fields in the API omit when they're empty.
...
This makes the API more accurate to the previous API's responses.
2024-12-28 15:26:48 -05:00
be92c5a569
chore: Slims up shell.nix.
2024-12-28 12:11:08 -05:00
c55510eb04
fix: Fixes migration code incorrectly decoding bcrypt basswords as hex.
Release code / build (push) Successful in 11m56s
2024-12-27 09:10:17 -05:00
538c5b6c51
chore: Adds "day-one"/v2.0.1 bug fixes.
...
Release code / build (push) Successful in 11m41s
This fixes database error reporting, as well as majorly fixes users
not being able to authenticate to the API if you used the automated
migration setup, as the password would remain in hex encoding.
We now decode the hexadecimal and then change it to the far more
compact base64 encoding before adding it to the database. This should
fix login, and not cause 500 Interal Server Errors anymore.
Sorry folks!
2024-12-27 00:10:13 -05:00
d334878599
feature: Fixes all backup and API related things to make everything work in production.
Release code / build (push) Successful in 14m13s
2024-12-26 22:54:05 -05:00