Commit Graph

95 Commits

Author SHA1 Message Date
59f404883e fix(database): migration
Some checks failed
Gitea Build Check / Build (pull_request) Failing after 2m54s
- primary key is now first in position
2024-10-15 12:28:52 +02:00
a6d95067fe feat(database): added tests
Some checks failed
Gitea Build Check / Build (pull_request) Failing after 3m0s
- added Create
- added Get
- added Update
- added Delete
2024-10-15 12:25:42 +02:00
27bc719a02 feat(database): added CRUD
- added Create
- added Get
- added Update
- added Delete
2024-10-15 12:25:32 +02:00
4312cbdff5 feat(database): added model
All checks were successful
Gitea Build Check / Build (pull_request) Successful in 3m4s
- added model
- added test for model
2024-10-15 11:23:42 +02:00
b1e97f4142 feat(database): scrape history
- added migration
2024-10-15 11:15:49 +02:00
d753d32025 fix: also check if its under 25
All checks were successful
Gitea Build Check / Build (pull_request) Successful in 3m10s
Gitea Build Check / Build (push) Successful in 3m6s
2024-10-15 10:59:04 +02:00
6a11dc57a4 fix: negation
Some checks failed
Gitea Build Check / Build (pull_request) Failing after 1m8s
2024-10-15 10:57:33 +02:00
28c19101be fix: consistent id check
All checks were successful
Gitea Build Check / Build (pull_request) Successful in 3m2s
- use consistent methode to check if the id is 0
2024-10-15 10:51:20 +02:00
6b2d9e2cb5 fix: consistent id check
All checks were successful
Gitea Build Check / Build (pull_request) Successful in 2m59s
- use consistent methode to check if the id is 0
2024-10-15 10:50:55 +02:00
0c9180bff3 Merge branch 'dev/pools' of git.anthrove.art:Anthrove/otter-space-sdk into dev/pools
All checks were successful
Gitea Build Check / Build (pull_request) Successful in 3m1s
2024-10-15 10:49:57 +02:00
37487c4f52 fix: consistent id check
- use consistent methode to check if the id is 0
2024-10-15 10:45:55 +02:00
755aea20aa fix: consistent id check
All checks were successful
Gitea Build Check / Build (pull_request) Successful in 3m15s
- use consistent methode to check if the id is 0
2024-10-15 10:41:39 +02:00
91254adfe3 fix: wrong error message
- fix the error message to be more precise what it is
2024-10-15 10:38:46 +02:00
5da2e9e52d feat(database): added pool references
All checks were successful
Gitea Build Check / Build (push) Successful in 3m12s
Gitea Build Check / Build (pull_request) Successful in 3m12s
- added creating and deletion
2024-10-15 10:20:37 +02:00
a5420cc8c2 feat(pool): added pool pots
All checks were successful
Gitea Build Check / Build (push) Successful in 3m5s
- added basic CRUD for PoolsPosts
2024-10-14 14:16:13 +02:00
c933b2ad63 feat(pool): added pool creation
- added basic CRUD for Pools
2024-10-14 13:05:48 +02:00
9a33de96a0 feat(database): Refactor Pool model to use PoolCategory type for category field 2024-10-14 12:30:27 +02:00
c120c583e3 feat(database): added pools
All checks were successful
Gitea Build Check / Build (push) Successful in 2m56s
- added migration
- added model
2024-10-14 12:23:15 +02:00
1e658f6a39 feat(database): added indexes
- added index for UserFavorites
2024-10-14 11:37:38 +02:00
e5b8457f42 feat(database): set timezone in migrations
All checks were successful
Gitea Build Check / Build (push) Successful in 2m32s
Gitea Build Check / Build (pull_request) Successful in 2m33s
2024-08-29 15:18:23 +02:00
abe553e165 chore(database): Remove unused function 2024-08-29 15:18:10 +02:00
2391bad68e feat(version): updated to version 4
All checks were successful
Gitea Build Check / Build (push) Successful in 2m33s
2024-08-29 15:02:39 +02:00
8d47b94dcb feat(database): set timezone in migrations
All checks were successful
Gitea Build Check / Build (push) Successful in 2m33s
2024-08-29 14:58:42 +02:00
b3ebc23b09 feat(database): time in UTC
All checks were successful
Gitea Build Check / Build (push) Successful in 2m27s
Gitea Build Check / Build (pull_request) Successful in 2m33s
the time will now be saved in UTC
2024-08-29 14:34:40 +02:00
150313f7d7 fix(telemetry): tracer did not initialize
All checks were successful
Gitea Build Check / Build (pull_request) Successful in 2m25s
fixed a bug where the OtterSpacesSDK Crashes if no tracer was initialized
2024-08-29 10:44:40 +02:00
975e084b16 feat(scope): added sorting
All checks were successful
Gitea Build Check / Build (push) Successful in 2m20s
Gitea Build Check / Build (pull_request) Successful in 2m18s
2024-08-14 15:21:29 +02:00
44bedd20a1 feat(version): Update to version 3
All checks were successful
Gitea Build Check / Build (push) Successful in 2m18s
Gitea Build Check / Build (pull_request) Successful in 2m13s
Updated the module to version 3.

BREAKING CHANGE: This SDK version is not compatible with programs using the v2 implementation.
2024-08-14 14:58:06 +02:00
d10aa731bc feat(test): added scopes fixed issues
All checks were successful
Gitea Build Check / Build (push) Successful in 2m22s
Gitea Build Check / Build (pull_request) Successful in 2m17s
fully tested scopes. Also found bugs with the tests. Those are now fixed.
2024-08-14 14:53:08 +02:00
8f6ca691bf feat(test): added post, tags & fixed issues
All checks were successful
Gitea Build Check / Build (push) Successful in 2m0s
fully tested post & tags. Also found bugs with the tests. Those are now fixed.
2024-08-14 13:43:11 +02:00
7632daee84 feat(test): added post
fully tested post
2024-08-13 21:17:17 +02:00
00b8fe6b71 feat(test): added sources
All checks were successful
Gitea Build Check / Build (push) Successful in 1m33s
fully tested sources
2024-08-13 15:44:12 +02:00
5e9b4ff532 refactor(tracing): Refactor source ID logging and tracing 2024-08-13 15:43:45 +02:00
450e06eb25 refactor: Refactor Domain field to use SourceDomain type in Source struct 2024-08-13 15:43:03 +02:00
2bbfc79e43 feat(test): added tag
All checks were successful
Gitea Build Check / Build (push) Successful in 1m19s
fully tested tags
2024-08-13 15:08:35 +02:00
92ef2c5059 feat(error): more error handling
added missing checks
2024-08-13 15:08:10 +02:00
5cc5a22d28 feat(error): added additional constant
added missing log content for tag
2024-08-13 15:07:53 +02:00
6dc78db4a4 fix(test): user not created
All checks were successful
Gitea Build Check / Build (push) Successful in 1m11s
fix an issue where the user was not created
2024-08-13 14:48:31 +02:00
f0f216bdaa feat(test): added tagAlias
Some checks failed
Gitea Build Check / Build (push) Failing after 1m1s
fully tested tag groups
2024-08-13 14:44:50 +02:00
5562d75e3a feat(error): more error handling
added missing checks
2024-08-13 14:44:27 +02:00
a9ac2a34fb feat(error): added additional constant 2024-08-13 14:44:16 +02:00
3fcdb0e9ea feat(test): added tagGroups
fully tested tag groups
2024-08-13 14:26:33 +02:00
1cbdd1f4ed feat(error): added additional constant
added missing log content for tag
2024-08-13 14:26:12 +02:00
d6cbea3f58 feat(error): more error handling
added missing checks
2024-08-13 14:25:36 +02:00
146315f991 feat(testing): first tests
Some checks failed
Gitea Build Check / Build (push) Failing after 44s
added the first set of new tests
2024-08-13 14:02:15 +02:00
3fadaac69a fix: added documentation & fixed logging 2024-08-13 14:01:48 +02:00
71488dade9 feat(database): Enable error translation in GORM configuration for better error handling 2024-08-13 14:00:36 +02:00
9ad1df51cf fix(migration): Change scrape_time_interval from INT to TEXT in initial database migration script 2024-08-13 14:00:16 +02:00
176fdfb8b1 feat(test): Add unit tests for CreateUser, GetUserByID, and DeleteUser functions with setup and teardown 2024-08-13 12:55:20 +02:00
1345fa9c9e refactor: Simplify migration logging by removing redundant config.Debug check 2024-08-13 12:54:02 +02:00
ad076f585b fix: Use Debugf for formatted debug message in migrateDatabase 2024-08-13 12:52:58 +02:00