Commit Graph

114 Commits

Author SHA1 Message Date
c07fd69f4f fix(postgres): CheckIfAnthrovePostNodeExistsBySourceURL function to use PostReference model
Signed-off-by: soxx <soxx@fenpa.ws>
2024-06-21 23:25:55 +02:00
c359b4636e fix(postgres): prefilled posts with empty
Signed-off-by: soxx <soxx@fenpa.ws>
2024-06-21 23:19:03 +02:00
0b7b6beccd fix(postgres): Update CheckIfAnthrovePostNodeExistsBySourceURL to return pointer instead of value
Signed-off-by: soxx <soxx@fenpa.ws>
2024-06-21 22:58:52 +02:00
5e501b2003 fix(postgres): ** whyy
Signed-off-by: soxx <soxx@fenpa.ws>
2024-06-21 22:57:05 +02:00
b86c667156 fix(postgres): CheckIfAnthrovePostNodeExistsBySourceURL now working as intended
Signed-off-by: soxx <soxx@fenpa.ws>
2024-06-21 22:54:47 +02:00
aea99da484 fix(postgres): fix creating issue
Signed-off-by: soxx <soxx@fenpa.ws>
2024-06-21 17:50:31 +02:00
4690ce135d fix(postgres): added url to SourceLink
Signed-off-by: soxx <soxx@fenpa.ws>
2024-06-21 15:15:20 +02:00
2515fc5081 fix(postgres): check if source exists before creating
Signed-off-by: soxx <soxx@fenpa.ws>
2024-06-21 15:08:42 +02:00
795bcbdac3 feat(postgres): added new each function
Signed-off-by: soxx <soxx@fenpa.ws>
2024-06-21 14:56:11 +02:00
d4bec1d8c7 fix(postgres): removed unneeded code that breaks the thing
Signed-off-by: soxx <soxx@fenpa.ws>
2024-06-21 14:36:38 +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
83a5c89438 test(postgres): added tag and fixed bugs
Signed-off-by: soxx <soxx@fenpa.ws>
2024-06-20 14:54:06 +02:00
e7cf655362 test(postgres): added sources and fixed bugs 2024-06-20 00:13:39 +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
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
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
ebc7fcc571 feat(sources): get all source nodes
Signed-off-by: SoXX <soxx@fenpa.ws>
2024-06-03 22:14:50 +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
22cb71a375 fix: query now orders by id 2024-05-15 11:58:17 +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
1202106836 feat: added sources to AnthroveUserRelationship 2024-05-04 23:14:52 +02:00
1679c104bd fix: removed unneeded return 2024-02-17 16:36:04 +01:00
7fdc5d15c7 fix: query to get only distinct favPost 2024-02-16 23:44:33 +01:00
669bea7753 fix: query variable set was wrong 2024-02-16 23:29:59 +01:00
293881f007 fix: removed unneeded pointer 2024-02-16 23:20:05 +01:00
5435f8448d fix: renamed attributes and removed unneeded pointer 2024-02-16 23:11:42 +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
820a8dd8d7 fix: added logging & renamed some messages 2024-02-16 21:38:35 +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
82d87f388c refactor: renamed logging prefix 2024-02-16 16:05:24 +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
c4b2eee03b feat: added connection & creating user 2024-02-16 15:54:36 +01:00