Commit Graph

68 Commits

Author SHA1 Message Date
6241c25af0 shares updated 2026-03-06 13:22:07 +01:00
a11194831d logs removed from api.ts 2026-03-02 23:49:48 +01:00
a79a3af3d5 fix: restrict PostHog debug logging to development only 2026-03-02 22:29:14 +01:00
c0eea843bf translation 2026-03-02 22:22:06 +01:00
a59bdc7711 typos 2026-03-02 18:16:01 +01:00
b743608742 fix: update CSP to allow PostHog analytics scripts and connections
- Add PostHog domains to script-src and connect-src CSP directives
- Updated both development (index.html) and production (nginx.conf) CSP
- Allows https://eu.i.posthog.com and https://eu-assets.i.posthog.com
2026-03-01 02:14:49 +01:00
d0428aff0c fix: use correct PostHog API host from environment variable
Changed from hardcoded '/ingest' to VITE_PUBLIC_POSTHOG_HOST env var to ensure PostHog events are sent to the correct EU endpoint.
2026-03-01 02:09:21 +01:00
dea569df99 chore: update package-lock.json after clean install 2026-03-01 01:58:46 +01:00
2b6eef6509 fix: update react-dom to 19.2.4 to match react version
Resolves incompatible React versions error between react and react-dom packages.
2026-03-01 01:44:25 +01:00
fbb4d29e5d fix: add PostHog env vars to Dockerfiles for production builds 2026-03-01 01:42:09 +01:00
01a3c1a776 posthog 2026-03-01 01:36:11 +01:00
e218ad57e8 debug: add PostHog config logging 2026-03-01 01:23:55 +01:00
b9a4a45781 feat: integrate PostHog analytics for frontend and PWA
- Install posthog-js and @posthog/react packages
- Add PostHogProvider wrapper in main.tsx for both apps
- Configure PostHog with EU instance and 2026-01-30 defaults
- Add environment variables for API key and host
- Update docker-compose.coolify.yml with PostHog build args
2026-03-01 01:04:17 +01:00
aa43f50a8c fix: localize UI text to Macedonian and fix view count display
- Change date format from 'short' to 'long' month names in Macedonian
- Translate 'views' to 'прегледи' across all components
- Translate 'shares' to 'споделувања'
- Translate 'updates' to 'ажурирања'
- Translate 'By' to 'Од' for author attribution
- Translate 'Back to articles' to 'Назад кон вести'
- Translate archive page headers to Macedonian
- Translate auto-scroll button text to Macedonian
- Translate connection status to Macedonian
- Add fallback to 0 for undefined view counts (|| 0)
2026-02-28 23:57:33 +01:00
46bbeed525 hero fix 2026-02-28 23:38:11 +01:00
7258f059ce fix: remove duplicate /api/v1 in article detail route loader 2026-02-28 23:37:12 +01:00
a66db56156 fix: resolve API URL duplication, CORS issues, and image localhost URLs
- Fix duplicate /api/v1 in analytics.ts API calls
- Add STRAPI_PUBLIC_URL env var for public CMS access
- Update strapi.service to use public URL for images instead of localhost
- Images now use https://cms.placebo.mk instead of http://localhost:1337
2026-02-28 23:29:54 +01:00
cba9908180 fix: move Google Fonts to HTML head to resolve CSS @import order warning 2026-02-28 23:06:15 +01:00
287dcb4070 fav 2026-02-28 22:46:42 +01:00
79bd134977 fix: correct CSS @import order to resolve 504 gateway timeout 2026-02-28 22:14:53 +01:00
88dbd2719d typo 2026-02-28 22:06:15 +01:00
e71dc2b90f foot 2026-02-28 21:38:07 +01:00
caf56d9fcd fix me 2026-02-28 20:32:10 +01:00
86c1c2d366 upatstvo za upotreba 2026-02-28 20:22:35 +01:00
4f2837ad4e feat: add About/Instructions page with comprehensive usage guide 2026-02-28 20:08:25 +01:00
c6427304ac feat: show live blog updates section open by default on homepage 2026-02-28 20:02:52 +01:00
515c4cacf3 feat: update live blog UI with chat layout, fix page title and favicon 2026-02-28 19:48:56 +01:00
fa7dcc2b08 feat: add general category, fix header wrapping, show last 5 live blog updates 2026-02-28 18:47:11 +01:00
c3b01de12e fix: update CSP headers to allow production API domains
- Add https://api.placebo.mk to connect-src for API requests
- Add https://cms.placebo.mk to connect-src for CMS API
- Add Google Fonts domains to style-src and font-src
- Add manifest-src for PWA manifest
- This fixes 'Refused to connect' CSP violations
2026-02-24 19:16:22 +01:00
9013bc51f3 docker files fix 2026-02-24 12:58:38 +01:00
3b827a90ac prod update 2026-02-23 05:54:35 +01:00
3af4b92e1b legacy 2026-02-23 05:28:46 +01:00
cfc43a7119 docker fix 2026-02-23 05:18:40 +01:00
69833d2067 prod 2026-02-22 05:30:47 +01:00
57864e00da push notification
fix implemented
2026-02-22 04:00:20 +01:00
7725674fd5 implemented 2026-02-22 01:20:59 +01:00
f20842b3ab xxl 2026-02-16 21:50:11 +01:00
8510cccb6e buymeacoffe added 2026-02-16 21:20:58 +01:00
71b1b549c3 admin dashboard fixed
maybe we need another design for this page
2026-02-16 20:42:11 +01:00
aa79eba06d pading fixed on pages 2026-02-16 19:52:37 +01:00
62c68e4bc6 scrollbar on every page 2026-02-16 19:47:24 +01:00
2be6216772 date fixed
also прекршени вести Ч)
2026-02-16 19:41:00 +01:00
ae28f56337 header transparency fix 2026-02-16 19:19:27 +01:00
10fe702749 liveblog update fix 2026-02-16 19:15:31 +01:00
4c4d741b1f redesign looking good 2026-02-16 18:50:33 +01:00
46eb41aaa5 category field added
implemented ctegory logic, ditional pages added
2026-02-06 03:35:28 +01:00
add12b2fbf hero section added
hero article menagment implemented in admin UI
2026-02-06 02:14:10 +01:00
6d65d5975c mobile nav implemented
dark mode need rifinements
2026-02-06 01:04:43 +01:00
b8779e5a35 social share up and running 2026-02-05 03:04:19 +01:00
3374eb1ec0 reply to comment implemented 2026-02-04 23:51:37 +01:00