123 Commits

Author SHA1 Message Date
Ardeman
02d8a509ff fix: update Redis credentials in staging configuration 2025-04-23 18:45:49 +08:00
Ardeman
e29bd7986f fix: update default environment mode to staging and add local configuration file 2025-04-23 18:18:44 +08:00
Ardeman
4bf318a9c2 fix: update PostgreSQL configuration for staging environment 2025-04-23 18:01:55 +08:00
Ardeman
52085a5be0 feat: add staging configuration file with server, database, and OSS settings 2025-04-23 17:52:58 +08:00
Ardeman
21c4c1efba fix: update MinIO endpoint and URLs to use news-cdn.legalgo.id in debug.yaml and production.yaml 2025-04-23 14:50:59 +08:00
Ardeman
c17540cc20 fix: update MinIO endpoint and URLs to use crm-cdn.legalgo.id in production.yaml 2025-04-23 14:27:26 +08:00
Ardeman
714b1ff4eb fix: correct public URL formatting in GetPublicURL function 2025-04-23 13:50:41 +08:00
Ardeman
abc3ce8d2b fix: update bucket name to 'uploads' in debug.yaml and production.yaml 2025-04-23 13:48:28 +08:00
Ardeman
cd1097d3d0 fix: update MinIO endpoint to include the full domain in debug.yaml and production.yaml 2025-04-23 13:39:43 +08:00
Ardeman
52991059c6 fix: update bucket name to legalgonews-production in debug.yaml and production.yaml 2025-04-23 13:17:32 +08:00
Ardeman
a7ef3f8ca2 fix: update SSL mode configuration in debug.yaml and NewDB function 2025-04-23 13:11:57 +08:00
Ardeman
6f1ac37915 fix: update redis host configuration in production.yaml 2025-04-23 12:57:06 +08:00
Ardeman
e20c63e694 feat: add debug configuration file for server, jwt, postgresql, oss, and redis 2025-04-23 12:50:28 +08:00
Ardeman
abcbc014a2 feat: add production configuration files for server, jwt, postgresql, oss, and redis 2025-04-23 12:39:50 +08:00
ericprd
98b871a5ed feat: get all staff 2025-03-25 18:01:14 +08:00
ericprd
3311b80943 Merge branch 'main' of github.com:ardeman/project-legalgo-go 2025-03-24 22:16:17 +08:00
ericprd
16fef8706a fix: register staff return message only 2025-03-24 22:15:41 +08:00
Ardeman
4fbfa9c2c9 Merge branch 'main' of https://github.com/ardeman/project-legalgo-go
* 'main' of https://github.com/ardeman/project-legalgo-go:
  fix: search news title by query
2025-03-24 18:18:53 +08:00
ericprd
a68780f09e fix: search news title by query 2025-03-24 18:11:08 +08:00
Ardeman
49dc0e4a7b refactor: update GetAll method to return NewsResponse and rename clicked to views 2025-03-24 15:24:52 +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