hamed and Claude Opus 4.8
d513d2dd30
feat(panel): add representation dashboard API helpers
...
افزودن getRepresentationDashboardMonthly و getRepresentationDashboardYearly
به لایه request برای مصرف endpointهای داشبورد نماینده.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-14 23:54:58 +03:30
hamed and Claude Sonnet 4.6
59e0a0fe4f
fix: resolve critical bugs and security issues across the project
...
Security:
- Disable SSL verification only in development (lib/req.js)
- Wrap all JSON.parse(cookie) calls in try-catch via safeJsonParse utility
- Sanitize dangerouslySetInnerHTML in blog/clinic with sanitizeHtml utility
- Fix open redirect in payment page — validate URL origin before redirect
- Fix cookie cleanup on 401 — use js-cookie with correct domain scope
Performance:
- Wrap ItemDoctor with React.memo to prevent unnecessary re-renders
- Replace <img> with Next.js <Image> in blog Caption component
Functionality:
- Fix memory leak in Recode.js — store intervals in refs, cleanup on unmount
- Add null guard on retryIcon.current before classList manipulation
- Fix getParsedUserInfo in helper to handle malformed cookie gracefully
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-07 09:19:20 +03:30
hamed and Claude Sonnet 4.6
1aa9f82d2a
fix: resolve critical bugs and security issues across the project
...
- Fix GPS map links always sending literal "latitude"/"longitude" strings
instead of actual coordinates in openLocation/Content.js
- Add api.clinic-pro.ir to next.config.js remotePatterns so production
images load correctly
- Fix appointment page: await params and getStateInfo (Next.js 15 pattern)
- Enable 401 handling in api.js: clear cookies and redirect to /login
- Move OAuth client_secret to server-side API routes (/api/auth/token,
/api/auth/refresh) so it is never bundled into client-side JavaScript
- Update SendReq, SubmitData, ButtonSendData to call API routes instead
of directly sending client_secret from the browser
- Update docker-compose.yml to use server-only CLIENT_SECRET env var
- Remove debug console.log from clinic doctors list component
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-05 22:18:11 +03:30
hamed
3ca69dcd0f
refactor: enhance representation info fetching and pass it to relevant components
2025-12-02 15:38:42 +03:30
hamed
e26d342c90
refactor: enhance blog functionality with related blogs fetching, improved loading states, and tag filtering
2025-11-19 11:32:09 +03:30
hamed
235a64c378
refactor: implement blog fetching and pagination in BlogsPage component
2025-11-19 10:55:26 +03:30
hamed
e7c8501680
refactor: enhance transaction and appointment handling with pagination, status filtering, and improved data display
2025-11-18 22:21:47 +03:30
hamed
430e0b3b11
refactor: enhance payment handling by adding frontend_address to payment payload and implement PaymentDetailsPage component
2025-11-18 21:37:05 +03:30
hamed
df54983fa3
refactor: enhance appointment handling by adding appointmentId state and updating payment process
2025-11-18 17:09:37 +03:30
hamed
5a9f21e88d
refactor: require authentication for appointment posting in response service
2025-11-18 16:57:42 +03:30
hamed
8c03717cb7
refactor: add supplementary insurance handling in Form component and update Detail component to fetch insurance data
2025-11-17 15:48:33 +03:30
hamed
b46a017773
refactor: enhance appointment flow by adding selected slot and date management across components
2025-11-17 15:33:47 +03:30
hamed
2777db3b8c
refactor: enhance phone number validation and input handling in Field and LogInPage components
2025-11-17 15:09:25 +03:30
hamed
6c787fe5fa
refactor: add location address handling in DateTime component and update Hours component to display address
2025-11-17 14:50:53 +03:30
hamed
1e510a84b1
refactor: enhance date selection logic in DatePicker and update appointment request parameters
2025-11-17 14:18:15 +03:30
Arezoo
79ff139779
loading ,page
2025-10-27 10:58:26 +03:30
Arezoo
34188ab366
error handeling on the pagination
2025-10-22 17:38:29 +03:30
Arezoo
f22526bff3
paginations ,limit=50
2025-10-22 14:30:30 +03:30
Arezoo
bfd797dd02
api change
2025-10-21 14:32:13 +03:30
Arezoo
2cbf96ec6f
handel filter clinic and added changenumber function
2025-10-21 13:31:44 +03:30
ehsan
0b90e1abc4
change api file and design poster
2025-10-04 20:36:50 +03:30
ehsan
83e482507b
responsive pagination && handle free_turn value && fix set value in small size appo list in page doctors && set data rate in doctor item && fix set token in cookie in page login on domain nobat724.com
2025-10-04 17:16:47 +03:30
ehsan
6f35ee3c10
round img of doctors && fix remove 'nobat724' value in city data for all pages && handle send req for filter clinics && filter list clinic for first time on load page && add component loading and handle it in page clinics
2025-09-27 21:06:32 +03:30
ehsan
dfc8492afa
handle like comments data, req for update comments and add loading for like comment && search specialty with searchbar in doctors page && set category and specialty data
2025-09-20 17:04:36 +03:30
Ehsan
dc40129034
handle change data in doctor model, set previous data when user close modal, update list doctor after update data and change key name in url
2025-09-05 23:05:02 +03:30
Ehsan
ebfe47468c
get data with filter location for first time, get comment of doctor and show in doctor page, handle new comment
2025-09-03 22:05:26 +03:30
Ehsan
6920e4078b
redirect filter data to doctors page from home page just with one key && add picture url to doctors page && add conditional to appo page and change data in server
2025-09-02 00:32:04 +03:30
Ehsan
1e70d88a84
fix bug save and set data just with one key, remove page login from appo page, disable not avalaible data in calendar, change steps for pages in appo, get data user, edit and set in page user-info
2025-08-31 01:21:59 +03:30
Ehsan
7e61867e3d
change name office-info && change name img uploaded && change theme selector && set default tab in appo page && clean code
2025-07-25 00:02:46 +03:30
Ehsan
278602372d
change component folders && add multipleselector && send img of doctor page && send skills to create doctor item
2025-07-17 15:50:23 +03:30
Ehsan
c88a371eda
page add panel/doctor role agent && save data crop img && upload img && just roles agent can access panel && save data doctor && add field phone number && remove two tab
2025-07-16 08:13:29 +03:30
Ehsan
88f25cdd2e
in page add doctor change data state & component & save data & request to send data & change component folder
2025-07-14 04:30:50 +03:30
Ehsan
97802a9fdf
change packages & change data in weekly day & add fields to modal add & remove validation from login page
2025-07-13 00:47:06 +03:30
Ehsan
c6e2657e45
change design and data list in doctor-item & handle component appointment in doctor-item & handle functionality date-picker & fix bug appointment page & add req get appointment list
2025-07-09 03:05:48 +03:30
Ehsan
04d3e38859
change fields component & handle edit, delete, add data and save & change functional page doctor
2025-07-02 01:58:44 +03:30
Ehsan
72ed07071c
handle update data in tab dashboard
2025-06-10 14:27:06 +03:30
Ehsan
f52eb43326
last update
2025-06-08 10:13:06 +03:30
Ehsan
7d6a9e6e33
update design and request pages dashboards & doctors & doctor item & clinics & clinic item and layout
2025-06-07 04:22:52 +03:30
Ehsan
0217e5e67e
change data blog item and clinic item & change pages clinic and clinic to ssr & remove loading & handle pagination page clinics
2025-06-02 06:04:49 +03:30
Ehsan
80c74361eb
change response file & request get user-profile & change design dashboard page & handle limit page dashboard
2025-05-31 03:35:23 +03:30
Ehsan
d95815d4aa
install and handle casle & prevent page dashboard & handle register and code verfication & get data in clinics page
2025-05-27 03:40:06 +03:30
Ehsan
a9f98aea3b
autoselector page clinic item and specialties & dashboard responsive & change components & change package universal-cookie to js-cookie
2025-05-25 23:14:30 +03:30
Ehsan
5fa740ad1b
handle all pages dashboard & register api
2025-05-24 22:17:55 +03:30
Ehsan
dc118bc48b
last update
2025-05-23 19:29:29 +03:30
Ehsan
bc540fca0e
last update
2025-05-23 19:29:16 +03:30
Ehsan
660117f6e8
last update
2025-05-23 18:06:48 +03:30
Ehsan
6b1983fb0b
handle api register & change design dashboard tabs and page disease
2025-05-23 00:04:13 +03:30
Ehsan
c469f2ee3c
handle register and poster and fix bugs
2025-05-21 23:35:55 +03:30
Ehsan
6c7709c342
change function and design page doctors & signin & signup & home & specialties & helper
2025-05-21 16:44:34 +03:30
Ehsan
c8c217e286
fix type persian numbers && change design loading && fix warnings && handle icons size in device mobile
2025-05-19 02:41:31 +03:30