85 Commits

Author SHA1 Message Date
ericprd
ce341dbc13 fix: add new fields on subscribe plan, and change status type to number in subscribe 2025-03-10 11:48:20 +08:00
ericprd
52dfb7e0f2 feat: delete ads 2025-03-10 10:50:27 +08:00
ericprd
ef6b17a363 fix: image must be url in create ads 2025-03-10 10:28:23 +08:00
ericprd
1ae192ccef feat: get all ads 2025-03-09 00:55:40 +08:00
ericprd
213d370332 feat: create ads 2025-03-09 00:47:24 +08:00
ericprd
13c976dcbf fix: update user plan and rearrange structur project 2025-03-08 22:46:05 +08:00
Ardeman
a47b7b7d3d feat: update Category model and request struct to use pointers for description and sequence fields 2025-03-08 00:05:04 +08:00
Ardeman
c5eb6302ab feat: add description and sequence fields to Create and Update category functions 2025-03-07 23:58:53 +08:00
Ardeman
68f33d101b feat: add description and sequence fields to Category model and update request struct 2025-03-07 23:41:54 +08:00
Ardeman
479703dfd0 feat: add description field to Category model and clean up migration code 2025-03-07 23:26:54 +08:00
ericprd
dc1a4dafbc fix: failed to migrate 2025-03-07 19:29:34 +08:00
ericprd
fdf572cd3d feat: refactor auth package and add get users for staff 2025-03-07 17:39:26 +08:00
ericprd
c48a4b944b fix: update tags and categories not updated 2025-03-07 15:16:05 +08:00
ericprd
c410e651ce fix: categories filter is multiple now 2025-03-07 14:30:31 +08:00
ericprd
51b50a3132 fix: get news by query category and tags filters 2025-03-07 00:55:50 +08:00
ericprd
e3a9b67e28 feat: update news 2025-03-06 23:55:46 +08:00
ericprd
2046021e01 Merge branch 'main' of github.com:ardeman/project-legalgo-go 2025-03-06 13:30:39 +08:00
ericprd
a2a6fe6374 fix: use redis config 2025-03-06 13:30:24 +08:00
Ardeman
d6a680634c chore: remove deprecated jwt dependency and update to v5 2025-03-06 12:58:28 +08:00
ericprd
cf410bdf05 feat: add redis config env 2025-03-06 12:56:35 +08:00
ericprd
efc87ee63e Merge branch 'main' of github.com:ardeman/project-legalgo-go 2025-03-06 11:59:17 +08:00
ericprd
c037da4879 feat: add vendor 2025-03-06 11:59:05 +08:00
0xCA7
53fda59e3c
Delete .DS_Store 2025-03-06 11:17:10 +08:00
ericprd
2525eed2ea Merge branch 'main' of github.com:ardeman/project-legalgo-go 2025-03-06 11:07:04 +08:00
ericprd
85247643e6 feat: get news by slug and and author detail 2025-03-06 11:06:06 +08:00
ericprd
d217ec8a62 feat: delete news, tag, and category 2025-03-05 23:55:41 +08:00
ericprd
299fcf949b feat: update and delete tags and categories 2025-03-05 23:13:24 +08:00
ericprd
5c699dfa53 fix: create and get news 2025-03-05 22:15:39 +08:00
ericprd
dd109c8aa0 chores: remove unused code 2025-03-05 21:27:37 +08:00
ericprd
567e0e32ca chores: refactor struct and structure project 2025-03-05 21:21:44 +08:00
2b54a9343b Merge pull request 'Update Env' (#4) from feature-test into main
Reviewed-on: https://gits.altru.id/legalgonews/legalgo-BE-go/pulls/4
2025-03-03 12:56:18 +00:00
aditya.siregar
30091f3362 Update Env 2025-03-03 19:55:44 +07:00
43d5608a51 Merge pull request 'update docker' (#3) from feature-test into main
Reviewed-on: https://gits.altru.id/legalgonews/legalgo-BE-go/pulls/3
2025-03-03 12:39:25 +00:00
aditya.siregar
ed8c523b26 update docker 2025-03-03 19:39:11 +07:00
883ff8b7d1 Merge pull request 'add docker file' (#2) from feature-test into main
Reviewed-on: https://gits.altru.id/legalgonews/legalgo-BE-go/pulls/2
2025-03-03 12:30:23 +00:00
aditya.siregar
e9b9a367a9 add docker file 2025-03-03 19:29:59 +07:00
750a4dc3db Merge pull request 'Add Infra' (#1) from feature-test into main
Reviewed-on: https://gits.altru.id/legalgonews/legalgo-BE-go/pulls/1
2025-03-03 12:03:19 +00:00
aditya.siregar
c9f1e33c24 Add Infra 2025-03-03 18:59:25 +07:00
ericprd
13a8481f22 fix: payload update staff 2025-03-03 13:23:04 +08:00
ericprd
642566c8b2 Merge branch 'main' of github.com:ardeman/project-legalgo-go 2025-03-03 10:39:38 +08:00
ericprd
afe6f4e9a6 fix: change username to name and add profile pic to staff 2025-03-03 10:39:01 +08:00
Ardeman
20c9660c3a docs: add instruction to execute binary directly 2025-03-02 22:43:39 +08:00
ericprd
c02d8cda69 fix: return error when there is no subscribe plan found 2025-03-02 10:07:42 +08:00
ericprd
55460653e3 fix: should be find one instead of find all 2025-03-02 09:48:40 +08:00
ericprd
915f12eaf7 feat: news router 2025-03-02 04:36:17 +08:00
ericprd
f4ae93bc48 fix: condition query 2025-03-02 02:33:03 +08:00
ericprd
eb1584f8c4 fix: unique entity 2025-03-01 21:27:28 +08:00
ericprd
bdf6dd131e feat: category routes 2025-03-01 21:20:51 +08:00
ericprd
acd80480dd feat: tag routes 2025-03-01 20:00:54 +08:00
ericprd
613379c8a5 fix: simplified gorm query 2025-03-01 19:00:12 +08:00