Commit Graph
63 Commits
Author SHA1 Message Date
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 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 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
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 a2a6fe6374 fix: use redis config 2025-03-06 13:30:24 +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
altru 750a4dc3db Merge pull request 'Add Infra' (#1) from feature-test into main
Reviewed-on: #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 afe6f4e9a6 fix: change username to name and add profile pic to staff 2025-03-03 10:39:01 +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 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
ericprd 6b858b99fb fix: get profile user/staff using token rather than id 2025-02-28 12:18:47 +08:00
ericprd 5fb0764630 feat: get user/staff profile 2025-02-27 18:59:58 +08:00
ericprd 33ba5fbbdc Merge branch 'main' of github.com:ardeman/project-legalgo-go 2025-02-27 10:28:15 +08:00
ericprd 7b367f655e fix: docs and required field 2025-02-27 10:27:57 +08:00