Commit Graph

115 Commits

Author SHA1 Message Date
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
ebc7fcc571 feat(sources): get all source nodes
Signed-off-by: SoXX <soxx@fenpa.ws>
2024-06-03 22:14:50 +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
63b92c22c8 Merge pull request 'feat: added GetSourceByURL' (#5) from more-querys into main
Reviewed-on: #5
2024-05-21 09:48:54 +00:00
604efc504f feat: added GetSourceByURL 2024-05-21 11:48:03 +02:00
4cb887701b Merge pull request 'more-querys' (#4) from more-querys into main
Reviewed-on: #4
2024-05-15 13:47:08 +00: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
2c43149c9e Merge pull request 'Added another function to get all user favorites with pagination' (#3) from more-querys into main
Reviewed-on: #3
2024-05-15 09:59:59 +00:00
41692f0566 Merge branch 'main' into more-querys 2024-05-15 09:59:27 +00:00
22cb71a375 fix: query now orders by id 2024-05-15 11:58:17 +02:00
f0af3ec7f2 Merge pull request 'Added another function to get all user favorites with pagination' (#3) from more-querys into main
Reviewed-on: #3
2024-05-15 09:20:34 +00: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
7487ba3ffe fix: ignore main.go files 2024-05-15 11:17:27 +02:00
302b4b5f9c feat: added GetUserFavoritePostsWithPagination function 2024-05-10 10:57:51 +02:00
05864e2fcb Merge pull request 'feat: added GetSpecifiedUserSourceLink fucntion' (#2) from more-querys into main
Reviewed-on: #2
2024-05-04 22:18:30 +00:00
f54d7244c5 feat: added GetSpecifiedUserSourceLink fucntion 2024-05-05 00:17:18 +02:00
175fb4daab Merge pull request 'feat: added sources to AnthroveUserRelationship' (#1) from more-querys into main
Reviewed-on: #1
2024-05-04 21:15:48 +00:00
1202106836 feat: added sources to AnthroveUserRelationship 2024-05-04 23:14:52 +02:00
2fadc03e4c doc: added README.md 2024-02-17 16:42:38 +01: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
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
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