104 Commits

Author SHA1 Message Date
ericprd
a68780f09e fix: search news title by query 2025-03-24 18:11:08 +08:00
ericprd
09d9c4efb8 fix: error clicked when create new news 2025-03-24 14:02:20 +08:00
ericprd
990026cece fix: error clicked when create new news 2025-03-24 13:35:46 +08:00
ericprd
11051ae89c feat: staff get news by id 2025-03-24 13:32:05 +08:00
ericprd
24f0fe6efa fix: filter active in news 2025-03-20 13:13:28 +08:00
ericprd
8d7500610e fix: get userAgent and IP from custom header 2025-03-20 11:52:12 +08:00
ericprd
0c8133c802 fix: don't record log if staff 2025-03-20 11:19:41 +08:00
ericprd
d8f6968f64 fix: improvement logs and record news access 2025-03-20 11:11:08 +08:00
ericprd
290d7f6701 fix: improvement log record ads tih ip, useragent, and uer_id 2025-03-19 22:43:31 +08:00
ericprd
b0099dac1e fix: remove auth in ads log 2025-03-19 12:47:41 +08:00
ericprd
d7fa8496b0 fix: add created_at field on user profile 2025-03-17 22:50:37 +08:00
ericprd
efab193793 fix: add seeding spotlight category 2025-03-17 22:42:25 +08:00
ericprd
7b529ba46e fix: add clicked count on ads 2025-03-17 22:35:22 +08:00
ericprd
c0dcdb77fa feat: ads log 2025-03-17 22:19:17 +08:00
ericprd
ee8e8e140d fix: improvement access data 2025-03-14 13:00:12 +08:00
ericprd
11bc19360c feat: update staff data 2025-03-14 12:41:11 +08:00
ericprd
1297c71200 feat: update route ads 2025-03-13 12:00:26 +08:00
ericprd
47085ca0ae fix: add start date and end date of ads 2025-03-13 11:45:39 +08:00
ericprd
ce17e9dc73 fix: update seeder 2025-03-10 12:28:56 +08:00
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