Features: - Full RBAC with 3 roles (superadmin/manager/contributor) - Ownership tracking on posts, tasks, campaigns, projects - Task system: assign to anyone, filter combobox, visibility scoping - Team members merged into users table (single source of truth) - Post thumbnails on kanban cards from attachments - Publication link validation before publishing - Interactive onboarding tutorial with Settings restart - Full Arabic/English i18n with RTL layout support - Language toggle in sidebar, IBM Plex Sans Arabic font - Brand-based visibility filtering for non-superadmins - Manager can only create contributors - Profile completion flow for new users - Cookie-based sessions (express-session + SQLite)
10 lines
466 B
Bash
Executable File
10 lines
466 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Script to add dir="auto" to all input and textarea elements
|
|
# This enables automatic RTL/LTR detection for mixed content
|
|
|
|
find ./src -name "*.jsx" -type f -exec sed -i 's/<input\([^>]*\)\(type="text"\|type="email"\|type="url"\|type="search"\)\([^>]*\)>/<input\1\2\3 dir="auto">/g' {} \;
|
|
find ./src -name "*.jsx" -type f -exec sed -i 's/<textarea\([^>]*\)>/<textarea\1 dir="auto">/g' {} \;
|
|
|
|
echo "Updated all text inputs and textareas with dir='auto'"
|