Commit Graph

116 Commits

Author SHA1 Message Date
4690ce135d fix(postgres): added url to SourceLink
Signed-off-by: soxx <soxx@fenpa.ws>
2024-06-21 15:15:20 +02:00
40ce69567a dix(postgres): wrong parameters
Signed-off-by: soxx <soxx@fenpa.ws>
2024-06-21 14:16:03 +02:00
84aee5c2dd test(postgres): finished tests for user and fixed bugs
Signed-off-by: soxx <soxx@fenpa.ws>
2024-06-20 22:45:03 +02:00
947a77d13f test(postgres): added first tests for user and fixed bugs
Signed-off-by: soxx <soxx@fenpa.ws>
2024-06-20 15:24:55 +02:00
03ce8b52ae test(postgres): added first tests and already fixed bugs 2024-06-19 23:32:42 +02:00
1da21024d7 feat(postgres): added GetUserTagsTroughFavedPosts 2024-06-14 15:16:31 +02:00
8cde1235ad feat(postgres): added GetUserFavoritePostsWithPagination 2024-06-14 15:11:13 +02:00
6268a594cf feat(postgres): added GetAllAnthroveUserIDs 2024-06-14 15:09:11 +02:00
4cdd4450d5 feat(postgres): added GetAnthroveUser 2024-06-14 15:07:23 +02:00
bbd08b9a2f feat(postgres): added GetSpecifiedUserSourceLink 2024-06-14 15:04:45 +02:00
16d5a381df feat(postgres): added GetUserSourceLinks 2024-06-14 15:03:34 +02:00
4f8e54f09a feat(postgres): added GetUserFavoriteCount 2024-06-14 14:50:29 +02:00
c04e382ee5 feat(postgres): added AddUserWithRelationToSource 2024-06-14 14:48:23 +02:00
78777ce7be feat(postgres): partially added Check heckPostNodeExistsBy 2024-06-14 13:57:03 +02:00
bd22ed3f79 feat(postgres): added AddPost 2024-06-14 13:29:53 +02:00
ad3a43366b feat(postgres): added CheckUserPostLink 2024-06-14 13:25:54 +02:00
a430c3b582 feat(postgres): added LinkUserWithPost 2024-06-14 13:22:52 +02:00
8d655e991f feat(postgres): added LinkPostWithSource 2024-06-14 13:19:55 +02:00
011f4d1c2a feat(postgres): added tag create and function to get all tags 2024-06-14 13:05:07 +02:00
aae7fc78e0 feat(postgres): added image urls to the database 2024-06-14 12:24:14 +02:00
a60805fccf feat(postgres): added console debug option 2024-06-14 12:06:58 +02:00
b248cbf0c7 feat(db): start implementing sources & fixing issues that come along the way
Signed-off-by: SoXX <soxx@fenpa.ws>
2024-06-04 23:14:02 +02:00
8f87eb6ce8 feat(db): start implementing sources & fixing issues that come along the way
Signed-off-by: SoXX <soxx@fenpa.ws>
2024-06-04 15:16:37 +02:00
5aa1542074 feat(db): corrected tables
Signed-off-by: SoXX <soxx@fenpa.ws>
2024-06-04 14:00:00 +02:00
ccb7cff4fc refactor(db): removed unused context
Signed-off-by: SoXX <soxx@fenpa.ws>
2024-06-04 13:59:38 +02:00
f0bd89759c refactor(db): logging & tracing
Signed-off-by: SoXX <soxx@fenpa.ws>
2024-06-04 13:44:15 +02:00
ebd25580fe feat(db): reduce to one migration file
Signed-off-by: SoXX <soxx@fenpa.ws>
2024-06-04 13:35:14 +02:00
b65e942f24 feat(db): embed migration files
Signed-off-by: SoXX <soxx@fenpa.ws>
2024-06-04 13:28:14 +02:00
549c1ca573 docs(db): removing unused entities
Signed-off-by: SoXX <soxx@fenpa.ws>
2024-06-04 13:07:18 +02:00
751f387b86 feat(db): finalizing migration statements
Signed-off-by: SoXX <soxx@fenpa.ws>
2024-06-04 13:06:38 +02:00
b2b354c60f feat(db): initial setup for migrations
Signed-off-by: SoXX <soxx@fenpa.ws>
2024-06-04 09:33:35 +02:00
5a693063bb feat(sources): finalized model with gorm annotation
Signed-off-by: SoXX <soxx@fenpa.ws>
2024-06-04 08:49:46 +02:00
21b43333d0 feat(sources): restructure models and first implementation of pgModel
Signed-off-by: SoXX <soxx@fenpa.ws>
2024-06-03 23:55:30 +02:00
ea2958b27d feat(sources): finished implementing get all sources
Signed-off-by: SoXX <soxx@fenpa.ws>
2024-06-03 22:18:02 +02:00
c1df01d113 chore: reorganizing code
Signed-off-by: SoXX <soxx@fenpa.ws>
2024-06-03 21:45:39 +02:00
0d5274eb27 feat: connecting to postgres now possible
Signed-off-by: SoXX <soxx@fenpa.ws>
2024-06-03 21:31:44 +02:00
ccc6010466 chore: streamline the naming to indicate more than graph support
Signed-off-by: SoXX <soxx@fenpa.ws>
2024-06-03 19:32:25 +02:00
5015749f70 chore: streamline the naming to indicate more than graph support
Signed-off-by: SoXX <soxx@fenpa.ws>
2024-06-03 19:31:25 +02:00
604efc504f feat: added GetSourceByURL 2024-05-21 11:48:03 +02:00
1cce71e330 feat: added GetAllSources 2024-05-15 15:44:34 +02:00
9f2ebe90ee feat: added GetTags 2024-05-15 15:31:17 +02:00
4db345a444 feat: added GetUserTagsTroughFavedPosts 2024-05-15 15:18:23 +02:00
5fb2a1770a feat: added GetUserFavoritePostsWithPagination 2024-05-15 11:18:10 +02:00
afaf112c5d feat: added GetUserFavoritePostsWithPagination 2024-05-15 11:18:01 +02:00
302b4b5f9c feat: added GetUserFavoritePostsWithPagination function 2024-05-10 10:57:51 +02:00
f54d7244c5 feat: added GetSpecifiedUserSourceLink fucntion 2024-05-05 00:17:18 +02:00
1679c104bd fix: removed unneeded return 2024-02-17 16:36:04 +01:00
e0e7ff2fcf feat: added better code documentation & removed unneeded return 2024-02-17 16:35:53 +01:00
5435f8448d fix: renamed attributes and removed unneeded pointer 2024-02-16 23:11:42 +01:00
06fa9a1d5a fix: renamed folder 2024-02-16 22:05:11 +01:00
3dee84c7ae fix: renamed struct & restructured project 2024-02-16 21:57:54 +01:00
c3b672bd42 fix: renamed module 2024-02-16 21:51:09 +01:00
2a33c60d2e feat: implemented getting of all anthrove user ids 2024-02-16 21:40:06 +01:00
8d8ee83180 feat: implemented getting entire anthrove user 2024-02-16 21:36:50 +01:00
02733498b9 feat: implemented getting user sources 2024-02-16 21:33:46 +01:00
9a96e16e63 feat: implemented getting user favorite count 2024-02-16 21:28:26 +01:00
6930f05e0f feat: implemented post exists check 2024-02-16 21:19:27 +01:00
c9f88ffb5d feat: implemented user post relationship check 2024-02-16 18:07:34 +01:00
1919cf5c76 feat: implemented user to post relationship creation 2024-02-16 17:24:39 +01:00
924416dd06 feat: implemented post to source relationship creation 2024-02-16 17:21:26 +01:00
d9f25a5a87 feat: implemented tag creation & renamed function to be more clear what they actually do 2024-02-16 16:16:57 +01:00
f34f53f24a feat: added post node creation 2024-02-16 16:05:05 +01:00
5ebb855c63 feat: added source node creation 2024-02-16 16:00:14 +01:00
17631b1815 fix: removed unneeded argument 2024-02-16 15:56:53 +01:00
c4b2eee03b feat: added connection & creating user 2024-02-16 15:54:36 +01:00
d13d244edf initial commit 2024-02-16 15:16:50 +01:00