mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-03 10:17:43 -05:00
refac
This commit is contained in:
1 parent
c7c3ad5e78
commit
e72b31f01f
81 files changed
+667
-172
No files matched your search
@@ -1870,6 +1870,10 @@ USER_PERMISSIONS_NOTES_ALLOW_PUBLIC_SHARING = (
|
||||
|
||||
USER_PERMISSIONS_FOLDERS_ALLOW_SHARING = os.getenv('USER_PERMISSIONS_FOLDERS_ALLOW_SHARING', 'False').lower() == 'true'
|
||||
|
||||
USER_PERMISSIONS_AUTOMATIONS_ALLOW_SHARING = (
|
||||
os.getenv('USER_PERMISSIONS_AUTOMATIONS_ALLOW_SHARING', 'False').lower() == 'true'
|
||||
)
|
||||
|
||||
|
||||
USER_PERMISSIONS_CALENDAR_ALLOW_PUBLIC_SHARING = (
|
||||
os.getenv('USER_PERMISSIONS_CALENDAR_ALLOW_PUBLIC_SHARING', 'False').lower() == 'true'
|
||||
@@ -2014,6 +2018,7 @@ DEFAULT_USER_PERMISSIONS = {
|
||||
'notes': USER_PERMISSIONS_NOTES_ALLOW_SHARING,
|
||||
'public_notes': USER_PERMISSIONS_NOTES_ALLOW_PUBLIC_SHARING,
|
||||
'folders': USER_PERMISSIONS_FOLDERS_ALLOW_SHARING,
|
||||
'automations': USER_PERMISSIONS_AUTOMATIONS_ALLOW_SHARING,
|
||||
'public_chats': USER_PERMISSIONS_CHAT_ALLOW_PUBLIC_SHARING,
|
||||
'open_chats': USER_PERMISSIONS_CHAT_ALLOW_OPEN_SHARING,
|
||||
'public_calendars': USER_PERMISSIONS_CALENDAR_ALLOW_PUBLIC_SHARING,
|
||||
|
||||
@@ -668,6 +668,11 @@ class EventDefinitions(BaseModel):
|
||||
AUTOMATION_DELETED: EventDefinition = EventDefinition(
|
||||
name='automation.deleted', description='An automation was deleted.', message='Automation deleted'
|
||||
)
|
||||
AUTOMATION_ACCESS_UPDATED: EventDefinition = EventDefinition(
|
||||
name='automation.access_updated',
|
||||
description='Automation access was updated.',
|
||||
message='Automation access updated',
|
||||
)
|
||||
AUTOMATION_RUN_STARTED: EventDefinition = EventDefinition(
|
||||
name='automation.run_started', description='An automation run started.', message='Automation run started'
|
||||
)
|
||||
|
||||
@@ -5,6 +5,8 @@ from typing import Literal, Optional
|
||||
from uuid import uuid4
|
||||
|
||||
from open_webui.models.notifications import emit_changes
|
||||
from open_webui.models.access_grants import AccessGrant, AccessGrantResponse, AccessGrants
|
||||
from open_webui.models.users import UserResponse
|
||||
from open_webui.internal.db import Base, get_async_db_context
|
||||
from open_webui.utils.misc import json_text_variants
|
||||
from pydantic import BaseModel, ConfigDict
|
||||
@@ -166,6 +168,10 @@ class AutomationForm(BaseModel):
|
||||
class AutomationResponse(AutomationModel):
|
||||
last_run: Optional[AutomationRunModel] = None
|
||||
next_runs: Optional[list[int]] = None
|
||||
user: Optional[UserResponse] = None # the owner, shown like on workspace items
|
||||
# Rename, reschedule, pause and run. What a run does stays the owner's: it runs as them.
|
||||
write_access: Optional[bool] = None
|
||||
access_grants: Optional[list[AccessGrantResponse]] = None # for the owner or an admin
|
||||
|
||||
|
||||
class AutomationListResponse(BaseModel):
|
||||
@@ -238,10 +244,25 @@ class AutomationTable:
|
||||
folder_id: Optional[str] = None,
|
||||
skip: int = 0,
|
||||
limit: int = 30,
|
||||
view: Literal['all', 'mine', 'shared'] = 'mine',
|
||||
group_ids: Optional[list[str]] = None,
|
||||
db: Optional[AsyncSession] = None,
|
||||
) -> 'AutomationListResponse':
|
||||
async with get_async_db_context(db) as db:
|
||||
stmt = select(Automation).filter_by(user_id=user_id)
|
||||
if view == 'mine':
|
||||
stmt = select(Automation).filter_by(user_id=user_id)
|
||||
else:
|
||||
# Owned plus shared directly; folder-shared ones are listed in their folder.
|
||||
stmt = AccessGrants.has_permission_filter(
|
||||
select(Automation),
|
||||
Automation,
|
||||
{'user_id': user_id, 'group_ids': group_ids or []},
|
||||
'automation',
|
||||
'read',
|
||||
db=db,
|
||||
)
|
||||
if view == 'shared':
|
||||
stmt = stmt.filter(Automation.user_id != user_id)
|
||||
|
||||
if folder_id:
|
||||
stmt = stmt.filter(Automation.folder_id == folder_id)
|
||||
@@ -377,6 +398,7 @@ class AutomationTable:
|
||||
from open_webui.models.notifications import delete_notifications
|
||||
|
||||
recipients = await delete_notifications(resource_type='automation', resource_ids=[id], db=db)
|
||||
await db.execute(delete(AccessGrant).filter_by(resource_type='automation', resource_id=id))
|
||||
await db.delete(row)
|
||||
await db.commit()
|
||||
await emit_changes(recipients)
|
||||
|
||||
@@ -2110,6 +2110,19 @@ class ChatTable:
|
||||
and await has_folder_access(user.id, folder, 'read', db)
|
||||
):
|
||||
return True
|
||||
# A run chat is readable by anyone the automation is shared with.
|
||||
automation_id = (chat.meta or {}).get('automation_id')
|
||||
if automation_id and permission == 'read':
|
||||
from open_webui.models.automations import Automations
|
||||
from open_webui.utils.access_control.automations import has_automation_access
|
||||
|
||||
automation = await Automations.get_by_id(automation_id, db=db)
|
||||
if (
|
||||
automation
|
||||
and automation.user_id == chat.user_id
|
||||
and await has_automation_access(user, automation, 'read', db=db)
|
||||
):
|
||||
return True
|
||||
return False
|
||||
|
||||
async def filter_task_ids_by_user_id(self, chat, user_id: str, task_ids: list[str]) -> list[str]:
|
||||
|
||||
@@ -10,6 +10,7 @@ from open_webui.constants import ERROR_MESSAGES
|
||||
from open_webui.events import EVENTS, publish_event
|
||||
from open_webui.internal.db import get_async_session
|
||||
from open_webui.models.automations import (
|
||||
AutomationData,
|
||||
AutomationForm,
|
||||
AutomationListResponse,
|
||||
AutomationModel,
|
||||
@@ -19,13 +20,15 @@ from open_webui.models.automations import (
|
||||
Automations,
|
||||
hide_webhook_token,
|
||||
)
|
||||
from open_webui.models.users import Users
|
||||
from open_webui.models.access_grants import AccessGrants, has_public_write_access_grant
|
||||
from open_webui.models.users import UserResponse, Users
|
||||
from open_webui.models.access_grants import AccessGrantResponse, AccessGrants, has_public_write_access_grant
|
||||
from open_webui.models.channels import Channels
|
||||
from open_webui.models.config import Config
|
||||
from open_webui.models.folders import Folders
|
||||
from open_webui.models.groups import Groups
|
||||
from open_webui.utils.access_control.automations import can_manage_automation, has_automation_access
|
||||
from open_webui.utils.access_control.folders import has_folder_write_access
|
||||
from open_webui.utils.access_control import has_permission
|
||||
from open_webui.utils.access_control import has_permission, validate_access_grants
|
||||
from open_webui.utils.auth import get_admin_user, get_verified_user
|
||||
from open_webui.utils.agents.discovery import get_models as get_agent_models
|
||||
from open_webui.utils.automations import (
|
||||
@@ -91,6 +94,7 @@ async def check_automation_triggers(form_data: AutomationForm, user, db, is_crea
|
||||
|
||||
|
||||
def check_automation_access(automation, user):
|
||||
"""The owner only: what a run does, since every run uses the owner's account."""
|
||||
if not automation or user.id != automation.user_id:
|
||||
raise HTTPException(
|
||||
status_code=status.HTTP_404_NOT_FOUND,
|
||||
@@ -98,6 +102,25 @@ def check_automation_access(automation, user):
|
||||
)
|
||||
|
||||
|
||||
async def get_accessible_automation(id: str, user, permission: str, db: AsyncSession) -> AutomationModel:
|
||||
"""Read: view it and its runs. Write: rename, reschedule, pause and run it."""
|
||||
automation = await Automations.get_by_id(id, db=db)
|
||||
if not await has_automation_access(user, automation, permission, db=db):
|
||||
raise HTTPException(
|
||||
status_code=status.HTTP_404_NOT_FOUND,
|
||||
detail=ERROR_MESSAGES.NOT_FOUND,
|
||||
)
|
||||
return automation
|
||||
|
||||
|
||||
async def get_owner_timezone(automation, user) -> Optional[str]:
|
||||
"""Schedules follow the owner's timezone, like the scheduler does when it reschedules."""
|
||||
if automation.user_id == user.id:
|
||||
return user.timezone
|
||||
owner = await Users.get_user_by_id(automation.user_id)
|
||||
return owner.timezone if owner else None
|
||||
|
||||
|
||||
async def check_automation_limits(request, user, rrule_str: Optional[str], db, is_create: bool = False):
|
||||
"""Enforce global automation limits. Admins bypass all checks."""
|
||||
if user.role == 'admin':
|
||||
@@ -139,22 +162,6 @@ async def check_automation_folder_access(folder_id: Optional[str], user, db: Asy
|
||||
)
|
||||
|
||||
|
||||
async def check_automation_manage_access(automation, user, db: AsyncSession):
|
||||
"""Pausing, running and run history: the creator, or anyone who can write to its folder."""
|
||||
if automation and automation.user_id == user.id:
|
||||
return
|
||||
if (
|
||||
automation
|
||||
and automation.folder_id
|
||||
and (user.role == 'admin' or await has_folder_write_access(user.id, automation.folder_id, db=db))
|
||||
):
|
||||
return
|
||||
raise HTTPException(
|
||||
status_code=status.HTTP_404_NOT_FOUND,
|
||||
detail=ERROR_MESSAGES.NOT_FOUND,
|
||||
)
|
||||
|
||||
|
||||
async def check_automation_channel_access(form_data: AutomationForm, user, db: AsyncSession):
|
||||
target = form_data.data.target
|
||||
if not target or target.type != 'channel':
|
||||
@@ -193,16 +200,24 @@ async def check_automation_channel_access(form_data: AutomationForm, user, db: A
|
||||
)
|
||||
|
||||
|
||||
async def enrich_automation(
|
||||
automation: AutomationModel, db: AsyncSession, tz: str = None, viewer=None
|
||||
) -> AutomationResponse:
|
||||
async def enrich_automation(automation: AutomationModel, db: AsyncSession, viewer) -> AutomationResponse:
|
||||
"""Full enrichment for single-item views (includes next_runs computation)."""
|
||||
last_run = await AutomationRuns.get_latest(automation.id, db=db)
|
||||
data = automation.data if viewer is None or viewer.id == automation.user_id else hide_webhook_token(automation.data)
|
||||
is_owner = viewer.id == automation.user_id
|
||||
owner = viewer if is_owner else await Users.get_user_by_id(automation.user_id, db=db)
|
||||
grants = (
|
||||
await AccessGrants.get_grants_by_resource('automation', automation.id, db=db)
|
||||
if can_manage_automation(viewer, automation)
|
||||
else None
|
||||
)
|
||||
return AutomationResponse(
|
||||
**{**automation.model_dump(), 'data': data},
|
||||
# The webhook URL starts runs as the owner, so only the owner sees its token.
|
||||
**{**automation.model_dump(), 'data': automation.data if is_owner else hide_webhook_token(automation.data)},
|
||||
last_run=last_run,
|
||||
next_runs=await schedule_next_runs(automation.data, tz=tz),
|
||||
next_runs=await schedule_next_runs(automation.data, tz=owner.timezone if owner else None),
|
||||
user=UserResponse(**owner.model_dump()) if owner else None,
|
||||
write_access=await has_automation_access(viewer, automation, 'write', db=db),
|
||||
access_grants=[AccessGrantResponse.from_grant(g) for g in grants] if grants is not None else None,
|
||||
)
|
||||
|
||||
|
||||
@@ -216,6 +231,7 @@ async def get_automation_items(
|
||||
status: Optional[str] = None,
|
||||
folder_id: Optional[str] = None,
|
||||
page: Optional[int] = 1,
|
||||
view: Literal['all', 'mine', 'shared'] = 'all',
|
||||
user=Depends(get_verified_user),
|
||||
db: AsyncSession = Depends(get_async_session),
|
||||
):
|
||||
@@ -224,6 +240,7 @@ async def get_automation_items(
|
||||
page = max(1, page)
|
||||
skip = (page - 1) * limit
|
||||
|
||||
group_ids = [group.id for group in await Groups.get_groups_by_member_id(user.id, db=db, include_inherited=True)]
|
||||
result = await Automations.search_automations(
|
||||
user_id=user.id,
|
||||
query=query,
|
||||
@@ -231,23 +248,44 @@ async def get_automation_items(
|
||||
folder_id=folder_id,
|
||||
skip=skip,
|
||||
limit=limit,
|
||||
view=view,
|
||||
group_ids=group_ids,
|
||||
db=db,
|
||||
)
|
||||
|
||||
# Batch-fetch latest runs in a single query instead of N+1
|
||||
ids = [item.id for item in result.items]
|
||||
latest_runs = await AutomationRuns.get_latest_batch(ids, db=db) if ids else {}
|
||||
|
||||
return {
|
||||
'items': [
|
||||
AutomationResponse(
|
||||
**item.model_dump(),
|
||||
last_run=latest_runs.get(item.id),
|
||||
)
|
||||
for item in result.items
|
||||
],
|
||||
'total': result.total,
|
||||
shared = [item for item in result.items if item.user_id != user.id]
|
||||
owners = {
|
||||
u.id: UserResponse(**u.model_dump())
|
||||
for u in await Users.get_users_by_user_ids(list({item.user_id for item in result.items}), db=db)
|
||||
}
|
||||
writable = (
|
||||
{item.id for item in shared}
|
||||
if user.role == 'admin'
|
||||
else await AccessGrants.get_accessible_resource_ids(
|
||||
user_id=user.id,
|
||||
resource_type='automation',
|
||||
resource_ids=[item.id for item in shared],
|
||||
permission='write',
|
||||
user_group_ids=set(group_ids),
|
||||
db=db,
|
||||
)
|
||||
)
|
||||
|
||||
items = []
|
||||
for item in result.items:
|
||||
is_owner = item.user_id == user.id
|
||||
items.append(
|
||||
AutomationResponse(
|
||||
**{**item.model_dump(), 'data': item.data if is_owner else hide_webhook_token(item.data)},
|
||||
last_run=latest_runs.get(item.id),
|
||||
user=owners.get(item.user_id),
|
||||
write_access=is_owner or item.id in writable,
|
||||
)
|
||||
)
|
||||
return {'items': items, 'total': result.total}
|
||||
|
||||
|
||||
@router.get('/models')
|
||||
@@ -262,8 +300,10 @@ async def get_automation_models(
|
||||
await check_automations_permission(request, user)
|
||||
automation = None
|
||||
if automation_id:
|
||||
automation = await Automations.get_by_id(automation_id, db=db)
|
||||
check_automation_access(automation, user)
|
||||
automation = await get_accessible_automation(automation_id, user, 'read', db)
|
||||
# Only the owner picks the model, so the automation's terminal context is the owner's.
|
||||
if automation.user_id != user.id:
|
||||
automation = None
|
||||
metadata = {'terminal_id': terminal_id}
|
||||
if automation:
|
||||
metadata.update(model_id=automation.data.get('model_id'), automation_id=automation.id)
|
||||
@@ -293,7 +333,7 @@ async def create_new_automation(
|
||||
tz = user.timezone
|
||||
next_run_at = await schedule_next_run(form_data.data.model_dump(), tz=tz)
|
||||
automation = await Automations.insert(user.id, form_data, next_run_at, db=db)
|
||||
response = await enrich_automation(automation, db, tz=tz)
|
||||
response = await enrich_automation(automation, db, viewer=user)
|
||||
await publish_event(
|
||||
request,
|
||||
EVENTS.AUTOMATION_CREATED,
|
||||
@@ -315,9 +355,8 @@ async def get_automation_by_id(
|
||||
db: AsyncSession = Depends(get_async_session),
|
||||
):
|
||||
await check_automations_permission(request, user)
|
||||
automation = await Automations.get_by_id(id, db=db)
|
||||
check_automation_access(automation, user)
|
||||
return await enrich_automation(automation, db, tz=user.timezone)
|
||||
automation = await get_accessible_automation(id, user, 'read', db)
|
||||
return await enrich_automation(automation, db, viewer=user)
|
||||
|
||||
|
||||
# Update Automation By Id
|
||||
@@ -332,17 +371,34 @@ async def update_automation_by_id(
|
||||
db: AsyncSession = Depends(get_async_session),
|
||||
):
|
||||
await check_automations_permission(request, user)
|
||||
automation = await Automations.get_by_id(id, db=db)
|
||||
check_automation_access(automation, user)
|
||||
await check_automation_folder_access(form_data.folder_id, user, db)
|
||||
await check_automation_channel_access(form_data, user, db)
|
||||
await validate_automation_terminal(request, user, form_data.data.model_dump(), id)
|
||||
await check_automation_triggers(form_data, user, db)
|
||||
automation = await get_accessible_automation(id, user, 'write', db)
|
||||
if automation.user_id == user.id:
|
||||
await check_automation_folder_access(form_data.folder_id, user, db)
|
||||
await check_automation_channel_access(form_data, user, db)
|
||||
await validate_automation_terminal(request, user, form_data.data.model_dump(), id)
|
||||
await check_automation_triggers(form_data, user, db)
|
||||
else:
|
||||
# Runs use the owner's account, so others only change when it runs: the name,
|
||||
# the schedule and whether it's on. Everything else stays as the owner set it.
|
||||
form_data = AutomationForm(
|
||||
name=form_data.name,
|
||||
folder_id=automation.folder_id,
|
||||
data=AutomationData(**{**automation.data, 'rrule': form_data.data.rrule}),
|
||||
meta=automation.meta,
|
||||
is_active=form_data.is_active,
|
||||
)
|
||||
if not form_data.data.rrule and not form_data.data.webhook:
|
||||
raise HTTPException(status_code=status.HTTP_400_BAD_REQUEST, detail='Add a schedule or a webhook')
|
||||
if form_data.data.rrule:
|
||||
try:
|
||||
await validate_rrule(form_data.data.rrule, tz=await get_owner_timezone(automation, user))
|
||||
except ValueError as e:
|
||||
raise HTTPException(status_code=status.HTTP_400_BAD_REQUEST, detail=str(e))
|
||||
await check_automation_limits(None, user, form_data.data.rrule or None, db)
|
||||
|
||||
tz = user.timezone
|
||||
next_run_at = await schedule_next_run(form_data.data.model_dump(), tz=tz)
|
||||
next_run_at = await schedule_next_run(form_data.data.model_dump(), tz=await get_owner_timezone(automation, user))
|
||||
updated = await Automations.update_by_id(id, form_data, next_run_at, db=db)
|
||||
response = await enrich_automation(updated, db, tz=tz)
|
||||
response = await enrich_automation(updated, db, viewer=user)
|
||||
await publish_event(
|
||||
request,
|
||||
EVENTS.AUTOMATION_UPDATED,
|
||||
@@ -364,10 +420,11 @@ async def toggle_automation_by_id(
|
||||
db: AsyncSession = Depends(get_async_session),
|
||||
):
|
||||
await check_automations_permission(request, user)
|
||||
automation = await Automations.get_by_id(id, db=db)
|
||||
await check_automation_manage_access(automation, user, db)
|
||||
toggled = await Automations.toggle(id, await schedule_next_run(automation.data, tz=user.timezone), db=db)
|
||||
response = await enrich_automation(toggled, db, tz=user.timezone, viewer=user)
|
||||
automation = await get_accessible_automation(id, user, 'write', db)
|
||||
toggled = await Automations.toggle(
|
||||
id, await schedule_next_run(automation.data, tz=await get_owner_timezone(automation, user)), db=db
|
||||
)
|
||||
response = await enrich_automation(toggled, db, viewer=user)
|
||||
await publish_event(
|
||||
request,
|
||||
EVENTS.AUTOMATION_ENABLED if toggled.is_active else EVENTS.AUTOMATION_DISABLED,
|
||||
@@ -402,9 +459,11 @@ async def run_automation_by_id(
|
||||
db: AsyncSession = Depends(get_async_session),
|
||||
):
|
||||
await check_automations_permission(request, user)
|
||||
automation = await Automations.get_by_id(id, db=db)
|
||||
await check_automation_manage_access(automation, user, db)
|
||||
automation = await get_accessible_automation(id, user, 'write', db)
|
||||
variables = form_data.variables if form_data else None
|
||||
# Variables are written into the owner's prompt, so only the owner fills them in.
|
||||
if variables and automation.user_id != user.id:
|
||||
raise HTTPException(status_code=status.HTTP_403_FORBIDDEN, detail=ERROR_MESSAGES.ACCESS_PROHIBITED)
|
||||
check_variables(automation, variables)
|
||||
automation = await Automations.update_last_run_at(automation.id, db=db)
|
||||
asyncio.create_task(execute_automation(request.app, automation, variables))
|
||||
@@ -415,7 +474,7 @@ async def run_automation_by_id(
|
||||
subject_id=automation.id,
|
||||
data={'name': automation.name},
|
||||
)
|
||||
return await enrich_automation(automation, db, tz=user.timezone, viewer=user)
|
||||
return await enrich_automation(automation, db, viewer=user)
|
||||
|
||||
|
||||
# Webhook Trigger
|
||||
@@ -436,7 +495,7 @@ async def regenerate_automation_token(
|
||||
updated = await Automations.regenerate_webhook_token(id, db=db)
|
||||
if not updated:
|
||||
raise HTTPException(status_code=status.HTTP_400_BAD_REQUEST, detail=ERROR_MESSAGES.DEFAULT())
|
||||
return await enrich_automation(updated, db, tz=user.timezone)
|
||||
return await enrich_automation(updated, db, viewer=user)
|
||||
|
||||
|
||||
async def read_hook_variables(request: Request) -> dict:
|
||||
@@ -512,8 +571,9 @@ async def delete_automation_by_id(
|
||||
db: AsyncSession = Depends(get_async_session),
|
||||
):
|
||||
await check_automations_permission(request, user)
|
||||
automation = await Automations.get_by_id(id, db=db)
|
||||
check_automation_access(automation, user)
|
||||
automation = await get_accessible_automation(id, user, 'read', db)
|
||||
if not can_manage_automation(user, automation):
|
||||
raise HTTPException(status_code=status.HTTP_403_FORBIDDEN, detail=ERROR_MESSAGES.ACCESS_PROHIBITED)
|
||||
await AutomationRuns.delete_by_automation(id, db=db)
|
||||
result = await Automations.delete(id, db=db)
|
||||
if result:
|
||||
@@ -527,6 +587,46 @@ async def delete_automation_by_id(
|
||||
return result
|
||||
|
||||
|
||||
# Update Automation Access By Id
|
||||
|
||||
|
||||
class AutomationAccessGrantsForm(BaseModel):
|
||||
access_grants: list[dict]
|
||||
|
||||
|
||||
@router.post('/{id}/access/update', response_model=AutomationResponse)
|
||||
async def update_automation_access_by_id(
|
||||
request: Request,
|
||||
id: str,
|
||||
form_data: AutomationAccessGrantsForm,
|
||||
user=Depends(get_verified_user),
|
||||
db: AsyncSession = Depends(get_async_session),
|
||||
):
|
||||
await check_automations_permission(request, user)
|
||||
automation = await get_accessible_automation(id, user, 'read', db)
|
||||
# Editing an automation does not grant permission to manage its sharing.
|
||||
if not can_manage_automation(user, automation):
|
||||
raise HTTPException(status_code=status.HTTP_403_FORBIDDEN, detail=ERROR_MESSAGES.ACCESS_PROHIBITED)
|
||||
|
||||
access_grants = await validate_access_grants(
|
||||
await Config.get('user.permissions'),
|
||||
user.id,
|
||||
user.role,
|
||||
form_data.access_grants,
|
||||
resource_type='automation',
|
||||
db=db,
|
||||
)
|
||||
await AccessGrants.set_access_grants('automation', id, access_grants, db=db)
|
||||
await publish_event(
|
||||
request,
|
||||
EVENTS.AUTOMATION_ACCESS_UPDATED,
|
||||
actor=user,
|
||||
subject_id=id,
|
||||
data={'grant_count': len(access_grants)},
|
||||
)
|
||||
return await enrich_automation(automation, db, viewer=user)
|
||||
|
||||
|
||||
# Get Automation Runs
|
||||
|
||||
|
||||
@@ -541,8 +641,7 @@ async def get_automation_runs(
|
||||
db: AsyncSession = Depends(get_async_session),
|
||||
):
|
||||
await check_automations_permission(request, user)
|
||||
automation = await Automations.get_by_id(id, db=db)
|
||||
await check_automation_manage_access(automation, user, db)
|
||||
await get_accessible_automation(id, user, 'read', db)
|
||||
return await AutomationRuns.get_by_automation(id, skip=skip, limit=limit, direction=direction, db=db)
|
||||
|
||||
|
||||
@@ -557,8 +656,7 @@ async def get_automation_run(
|
||||
from open_webui.models.automations import AutomationRun
|
||||
|
||||
await check_automations_permission(request, user)
|
||||
automation = await Automations.get_by_id(id, db=db)
|
||||
await check_automation_manage_access(automation, user, db)
|
||||
await get_accessible_automation(id, user, 'read', db)
|
||||
run = await db.get(AutomationRun, run_id)
|
||||
if not run or run.automation_id != id:
|
||||
raise HTTPException(404, 'Run not found')
|
||||
|
||||
@@ -750,7 +750,8 @@ async def check_folder_read_access(request: Request, id: str, user, db: AsyncSes
|
||||
async def get_folder_automations(
|
||||
request: Request, id: str, user=Depends(get_verified_user), db: AsyncSession = Depends(get_async_session)
|
||||
):
|
||||
"""The folder's automations, whoever made them. Only creators edit; folder editors may pause and run."""
|
||||
"""The folder's automations, whoever made them. Only creators edit; folder editors, and anyone
|
||||
an automation is shared with for editing, may rename, reschedule, pause and run it."""
|
||||
folder = await check_folder_read_access(request, id, user, db)
|
||||
automations = await Automations.get_by_folder(id, db=db)
|
||||
if not automations:
|
||||
@@ -760,6 +761,17 @@ async def get_folder_automations(
|
||||
has_write = (
|
||||
user.role == 'admin' or folder.user_id == user.id or await _has_folder_access(user.id, folder, 'write', db)
|
||||
)
|
||||
shared_write = (
|
||||
set()
|
||||
if has_write
|
||||
else await AccessGrants.get_accessible_resource_ids(
|
||||
user_id=user.id,
|
||||
resource_type='automation',
|
||||
resource_ids=[item.id for item in automations],
|
||||
permission='write',
|
||||
db=db,
|
||||
)
|
||||
)
|
||||
return [
|
||||
{
|
||||
**AutomationResponse(
|
||||
@@ -771,7 +783,7 @@ async def get_folder_automations(
|
||||
).model_dump(),
|
||||
'user_name': creators.get(item.user_id) or 'Unknown',
|
||||
'can_edit': item.user_id == user.id,
|
||||
'can_manage': item.user_id == user.id or has_write,
|
||||
'can_manage': item.user_id == user.id or has_write or item.id in shared_write,
|
||||
}
|
||||
for item in automations
|
||||
]
|
||||
|
||||
@@ -4743,15 +4743,19 @@ async def toggle_automation(
|
||||
user_id = __user__.get('id')
|
||||
user = await Users.get_user_by_id(user_id)
|
||||
|
||||
from open_webui.utils.access_control.automations import has_automation_access
|
||||
|
||||
automation = await Automations.get_by_id(automation_id)
|
||||
if not automation:
|
||||
return JSONCodec.dumps({'error': 'Automation not found'})
|
||||
if automation.user_id != user_id:
|
||||
# Anyone it's shared with for editing may pause it; it keeps the owner's schedule timezone.
|
||||
if not await has_automation_access(user, automation, 'write'):
|
||||
return JSONCodec.dumps({'error': 'Access denied'})
|
||||
owner = user if automation.user_id == user_id else await Users.get_user_by_id(automation.user_id)
|
||||
|
||||
toggled = await Automations.toggle(
|
||||
automation_id,
|
||||
await schedule_next_run(automation.data, tz=user.timezone if user else None),
|
||||
await schedule_next_run(automation.data, tz=owner.timezone if owner else None),
|
||||
)
|
||||
|
||||
return JSONCodec.dumps(
|
||||
|
||||
@@ -224,6 +224,7 @@ _SHARING_PERMISSION_KEYS = {
|
||||
'skill': ('sharing.skills', 'sharing.public_skills', None),
|
||||
'note': ('sharing.notes', 'sharing.public_notes', None),
|
||||
'folder': ('sharing.folders', None, None),
|
||||
'automation': ('sharing.automations', None, None),
|
||||
'channel': (None, 'sharing.public_channels', None),
|
||||
'calendar': (None, 'sharing.public_calendars', None),
|
||||
'shared_chat': (None, 'sharing.public_chats', 'sharing.open_chats'),
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
from open_webui.models.access_grants import AccessGrants
|
||||
from open_webui.models.folders import Folders
|
||||
from open_webui.utils.access_control.folders import has_folder_access
|
||||
from sqlalchemy.ext.asyncio import AsyncSession
|
||||
|
||||
|
||||
async def has_automation_access(user, automation, permission: str = 'read', db: AsyncSession | None = None) -> bool:
|
||||
"""Owner, admin, a direct grant, or the same permission on the automation's folder.
|
||||
|
||||
Every run uses the owner's account, so write access only covers changes that can't
|
||||
misuse it: the name, the schedule, pausing and running now (see the update route).
|
||||
"""
|
||||
if not automation or not user:
|
||||
return False
|
||||
if user.role == 'admin' or automation.user_id == user.id:
|
||||
return True
|
||||
if await AccessGrants.has_access(
|
||||
user_id=user.id, resource_type='automation', resource_id=automation.id, permission=permission, db=db
|
||||
):
|
||||
return True
|
||||
if automation.folder_id:
|
||||
folder = await Folders.get_folder_by_id(automation.folder_id, db=db)
|
||||
return bool(folder) and await has_folder_access(user.id, folder, permission, db)
|
||||
return False
|
||||
|
||||
|
||||
def can_manage_automation(user, automation) -> bool:
|
||||
"""Sharing and deleting."""
|
||||
return bool(automation) and (user.role == 'admin' or automation.user_id == user.id)
|
||||
@@ -95,6 +95,33 @@ export type AutomationResponse = {
|
||||
updated_at: number;
|
||||
last_run: AutomationRunModel | null;
|
||||
next_runs: number[] | null;
|
||||
|
||||
/** The owner, as on workspace items. */
|
||||
user?: { id: string; name: string; role: string; email: string } | null;
|
||||
/** Rename, reschedule, pause and run. What a run does stays the owner's: it runs as them. */
|
||||
write_access?: boolean | null;
|
||||
/** For the owner or an admin. */
|
||||
access_grants?:
|
||||
| { id?: string; principal_type: string; principal_id: string; permission: string }[]
|
||||
| null;
|
||||
};
|
||||
|
||||
export const updateAutomationAccessGrants = async (
|
||||
token: string,
|
||||
id: string,
|
||||
accessGrants: any[]
|
||||
): Promise<AutomationResponse> => {
|
||||
const res = await fetch(`${WEBUI_API_BASE_URL}/automations/${id}/access/update`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
Accept: 'application/json',
|
||||
'Content-Type': 'application/json',
|
||||
authorization: `Bearer ${token}`
|
||||
},
|
||||
body: JSON.stringify({ access_grants: accessGrants })
|
||||
});
|
||||
if (!res.ok) throw (await res.json())?.detail ?? res.statusText;
|
||||
return res.json();
|
||||
};
|
||||
|
||||
export const getAutomationModels = async (
|
||||
@@ -118,7 +145,9 @@ export const getAutomationItems = async (
|
||||
query: string | null,
|
||||
status: string | null,
|
||||
page: number,
|
||||
folder_id?: string | null
|
||||
folder_id?: string | null,
|
||||
/** 'all' is yours plus those shared with you directly. */
|
||||
view: 'all' | 'mine' | 'shared' = 'all'
|
||||
): Promise<{ items: AutomationResponse[]; total: number }> => {
|
||||
let error = null;
|
||||
|
||||
@@ -126,6 +155,9 @@ export const getAutomationItems = async (
|
||||
if (query) {
|
||||
searchParams.append('query', query);
|
||||
}
|
||||
if (view !== 'all') {
|
||||
searchParams.append('view', view);
|
||||
}
|
||||
if (status && status !== 'all') {
|
||||
searchParams.append('status', status);
|
||||
}
|
||||
|
||||
@@ -490,6 +490,27 @@
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{#if $config?.features?.enable_automations}
|
||||
<div class="flex flex-col w-full">
|
||||
<div class="flex w-full justify-between my-1">
|
||||
<div class=" self-center text-xs font-normal">
|
||||
{$i18n.t('Automations Sharing')}
|
||||
</div>
|
||||
<Switch
|
||||
bind:state={permissions.sharing.automations}
|
||||
ariaLabel={$i18n.t('Automations Sharing')}
|
||||
/>
|
||||
</div>
|
||||
{#if defaultPermissions?.sharing?.automations && !permissions.sharing.automations}
|
||||
<div>
|
||||
<div class="text-xs text-base-500">
|
||||
{$i18n.t('This is a default user permission and will remain enabled.')}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{#if permissions.chat.share}
|
||||
<div class="flex flex-col w-full">
|
||||
<div class="flex w-full justify-between my-1">
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
folders,
|
||||
mobile,
|
||||
showSidebar,
|
||||
user,
|
||||
type AgentModel
|
||||
} from '$lib/stores';
|
||||
import { getTerminalServers, type TerminalServer } from '$lib/apis/machines';
|
||||
@@ -32,6 +33,7 @@
|
||||
|
||||
import {
|
||||
getAutomationById,
|
||||
updateAutomationAccessGrants,
|
||||
toggleAutomationById,
|
||||
runAutomationById,
|
||||
deleteAutomationById,
|
||||
@@ -70,6 +72,7 @@
|
||||
import LinkIcon from '$lib/components/icons/Link.svelte';
|
||||
import WebhookDropdown from '$lib/components/automations/WebhookDropdown.svelte';
|
||||
import InputVariablesModal from '$lib/components/chat/MessageInput/InputVariablesModal.svelte';
|
||||
import AccessControlModal from '$lib/components/workspace/common/AccessControlModal.svelte';
|
||||
|
||||
dayjs.extend(localizedFormat);
|
||||
|
||||
@@ -80,6 +83,15 @@
|
||||
|
||||
let is_active = automation.is_active;
|
||||
|
||||
// Every run uses the owner's account, so only the owner changes what it does. Anyone it's
|
||||
// shared with for editing renames, reschedules, pauses and runs it; viewers only look.
|
||||
$: canEdit = automation.user_id === $user?.id;
|
||||
$: canManage = canEdit || !!automation.write_access;
|
||||
$: canShare = canEdit || $user?.role === 'admin';
|
||||
let showAccessControlModal = false;
|
||||
let accessGrants: any[] = [];
|
||||
$: accessGrants = automation.access_grants ?? [];
|
||||
|
||||
let loading = false;
|
||||
let showDeleteConfirm = false;
|
||||
let showCloneModal = false;
|
||||
@@ -170,7 +182,8 @@
|
||||
async function loadAgentModels(terminalId: string, cwd: string, target: string) {
|
||||
const request = ++modelRequest;
|
||||
agentModels = [];
|
||||
if (!terminalId || target !== 'chat') return;
|
||||
// Only the owner picks the model, through the owner's terminal.
|
||||
if (!terminalId || target !== 'chat' || automation.user_id !== $user?.id) return;
|
||||
try {
|
||||
const available = await getAutomationModels(
|
||||
localStorage.token,
|
||||
@@ -350,7 +363,8 @@
|
||||
const runNowHandler = async () => {
|
||||
if (loading) return;
|
||||
runVariables = getRunVariables(automation.data.prompt);
|
||||
if (Object.keys(runVariables).length > 0) {
|
||||
// Variables are written into the owner's prompt; others run it with the defaults.
|
||||
if (Object.keys(runVariables).length > 0 && canEdit) {
|
||||
showVariablesModal = true;
|
||||
return;
|
||||
}
|
||||
@@ -497,6 +511,32 @@
|
||||
onSave={(values) => run(values)}
|
||||
/>
|
||||
|
||||
{#if canShare}
|
||||
<AccessControlModal
|
||||
bind:show={showAccessControlModal}
|
||||
bind:accessGrants
|
||||
accessRoles={['read', 'write']}
|
||||
share={$user?.permissions?.sharing?.automations || $user?.role === 'admin'}
|
||||
sharePublic={false}
|
||||
shareUsers={($user?.permissions?.access_grants?.allow_users ?? true) || $user?.role === 'admin'}
|
||||
allowGroups={($user?.permissions?.access_grants?.allow_groups ?? true) ||
|
||||
$user?.role === 'admin'}
|
||||
onChange={async () => {
|
||||
try {
|
||||
automation = await updateAutomationAccessGrants(
|
||||
localStorage.token,
|
||||
automation.id,
|
||||
accessGrants
|
||||
);
|
||||
toast.success($i18n.t('Saved'));
|
||||
} catch (error) {
|
||||
accessGrants = automation.access_grants ?? [];
|
||||
toast.error(`${error}`);
|
||||
}
|
||||
}}
|
||||
/>
|
||||
{/if}
|
||||
|
||||
<AutomationModal
|
||||
bind:show={showCloneModal}
|
||||
cloneFrom={{ ...automation, name: $i18n.t('{{name}} (Copy)', { name: automation.name }) }}
|
||||
@@ -528,6 +568,7 @@
|
||||
<input
|
||||
class="min-w-0 flex-1 bg-transparent text-[0.9375rem] font-normal text-base-800 outline-hidden placeholder:text-base-400 dark:text-base-200 dark:placeholder:text-base-500"
|
||||
bind:value={name}
|
||||
readonly={!canManage}
|
||||
aria-label={$i18n.t('Name')}
|
||||
placeholder={$i18n.t('Automation name')}
|
||||
/>
|
||||
@@ -535,13 +576,22 @@
|
||||
{loading}
|
||||
{dirty}
|
||||
{saving}
|
||||
{runNowHandler}
|
||||
runNowHandler={canManage ? runNowHandler : null}
|
||||
{copyLinkHandler}
|
||||
{saveHandler}
|
||||
duplicateHandler={() => (showCloneModal = true)}
|
||||
deleteHandler={() => (showDeleteConfirm = true)}
|
||||
shareHandler={canShare ? () => (showAccessControlModal = true) : null}
|
||||
deleteHandler={canShare ? () => (showDeleteConfirm = true) : null}
|
||||
/>
|
||||
</div>
|
||||
{#if !canEdit}
|
||||
<div class="mt-0.5 text-[0.6875rem] text-base-400 dark:text-base-500">
|
||||
{$i18n.t('Shared by {{name}}', {
|
||||
name: automation.user?.name ?? $i18n.t('Deleted User')
|
||||
})}
|
||||
· {canManage ? $i18n.t('Write') : $i18n.t('Read')}
|
||||
</div>
|
||||
{/if}
|
||||
<div class="relative">
|
||||
<div
|
||||
bind:this={promptMeasureEl}
|
||||
@@ -555,6 +605,7 @@
|
||||
<Textarea
|
||||
className="mt-1 w-full resize-none overflow-hidden bg-transparent text-xs font-normal leading-relaxed text-base-500 outline-hidden placeholder:text-base-400 dark:text-base-400 dark:placeholder:text-base-500"
|
||||
bind:value={prompt}
|
||||
readonly={!canEdit}
|
||||
rows={1}
|
||||
ariaLabel={$i18n.t('Instructions')}
|
||||
placeholder={$i18n.t('Enter prompt here.')}
|
||||
@@ -603,6 +654,7 @@
|
||||
>
|
||||
<Switch
|
||||
state={is_active}
|
||||
disabled={!canManage}
|
||||
on:change={toggleHandler}
|
||||
ariaLabel={is_active ? $i18n.t('Active') : $i18n.t('Paused')}
|
||||
/>
|
||||
@@ -612,7 +664,7 @@
|
||||
<span class={labelClass}
|
||||
><Calendar className="size-3 shrink-0" />{$i18n.t('Schedule')}</span
|
||||
>
|
||||
<div class="min-w-0 flex-1">
|
||||
<div class="min-w-0 flex-1" inert={!canManage || undefined}>
|
||||
<ScheduleDropdown
|
||||
bind:this={scheduleDropdown}
|
||||
allowNone={webhookEnabled}
|
||||
@@ -629,7 +681,7 @@
|
||||
<span class={labelClass}
|
||||
><LinkIcon className="size-3 shrink-0" />{$i18n.t('Webhook')}</span
|
||||
>
|
||||
<div class="min-w-0 flex-1">
|
||||
<div class="min-w-0 flex-1" inert={!canEdit || undefined}>
|
||||
<WebhookDropdown
|
||||
bind:enabled={webhookEnabled}
|
||||
bind:allowGet={webhookAllowGet}
|
||||
@@ -645,7 +697,7 @@
|
||||
|
||||
<div class={rowClass}>
|
||||
<span class={labelClass}><Sparkles className="size-3 shrink-0" />{$i18n.t('Model')}</span>
|
||||
<div class="min-w-0 flex-1">
|
||||
<div class="min-w-0 flex-1" inert={!canEdit || undefined}>
|
||||
<ModelDropdown
|
||||
bind:model_id
|
||||
items={[...$baseModels, ...agentModels]}
|
||||
@@ -660,7 +712,7 @@
|
||||
<span class={labelClass}
|
||||
><Folder className="size-3 shrink-0" />{$i18n.t('Destination')}</span
|
||||
>
|
||||
<div class="min-w-0 flex-1">
|
||||
<div class="min-w-0 flex-1" inert={!canEdit || undefined}>
|
||||
<DestinationDropdown
|
||||
bind:target_type
|
||||
bind:channel_id
|
||||
@@ -680,7 +732,7 @@
|
||||
<span class={labelClass}
|
||||
><Icon name="terminal" size={12} class="shrink-0" />{$i18n.t('Machine')}</span
|
||||
>
|
||||
<div class="min-w-0 flex-1">
|
||||
<div class="min-w-0 flex-1" inert={!canEdit || undefined}>
|
||||
<TerminalDropdown
|
||||
{terminalServers}
|
||||
bind:terminalServerId
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
import GarbageBin from '$lib/components/icons/GarbageBin.svelte';
|
||||
import Link from '$lib/components/icons/Link.svelte';
|
||||
import Play from '$lib/components/icons/Play.svelte';
|
||||
import Share from '$lib/components/icons/Share.svelte';
|
||||
import type i18nType from '$lib/i18n';
|
||||
|
||||
const i18n: typeof i18nType = getContext('i18n');
|
||||
@@ -17,11 +18,13 @@
|
||||
export let loading = false;
|
||||
export let dirty = false;
|
||||
export let saving = false;
|
||||
export let runNowHandler = () => {};
|
||||
export let runNowHandler: (() => void) | null = () => {};
|
||||
export let copyLinkHandler = () => {};
|
||||
export let saveHandler = () => {};
|
||||
export let duplicateHandler = () => {};
|
||||
export let deleteHandler = () => {};
|
||||
// Null hides the action: sharing and deleting are the owner's (or an admin's).
|
||||
export let shareHandler: (() => void) | null = null;
|
||||
export let deleteHandler: (() => void) | null = () => {};
|
||||
|
||||
// Same soft round buttons as the folder view's top bar.
|
||||
const iconButton =
|
||||
@@ -41,21 +44,36 @@
|
||||
</button>
|
||||
{/if}
|
||||
|
||||
<Tooltip content={$i18n.t('Run now')}>
|
||||
<button
|
||||
class={iconButton}
|
||||
on:click={runNowHandler}
|
||||
type="button"
|
||||
aria-disabled={loading}
|
||||
aria-label={$i18n.t('Run now')}
|
||||
>
|
||||
{#if loading}
|
||||
<Spinner className="size-3" />
|
||||
{:else}
|
||||
<Play className="size-3" strokeWidth="1.5" />
|
||||
{/if}
|
||||
</button>
|
||||
</Tooltip>
|
||||
{#if runNowHandler}
|
||||
<Tooltip content={$i18n.t('Run now')}>
|
||||
<button
|
||||
class={iconButton}
|
||||
on:click={runNowHandler}
|
||||
type="button"
|
||||
aria-disabled={loading}
|
||||
aria-label={$i18n.t('Run now')}
|
||||
>
|
||||
{#if loading}
|
||||
<Spinner className="size-3" />
|
||||
{:else}
|
||||
<Play className="size-3" strokeWidth="1.5" />
|
||||
{/if}
|
||||
</button>
|
||||
</Tooltip>
|
||||
{/if}
|
||||
|
||||
{#if shareHandler}
|
||||
<Tooltip content={$i18n.t('Share')}>
|
||||
<button
|
||||
class={iconButton}
|
||||
on:click={shareHandler}
|
||||
type="button"
|
||||
aria-label={$i18n.t('Share')}
|
||||
>
|
||||
<Share className="size-3.5" strokeWidth="1.5" />
|
||||
</button>
|
||||
</Tooltip>
|
||||
{/if}
|
||||
|
||||
<Tooltip content={$i18n.t('Copy link')}>
|
||||
<button
|
||||
@@ -76,9 +94,11 @@
|
||||
<button type="button" on:click={duplicateHandler}>
|
||||
<DocumentDuplicate className="size-3.5" />{$i18n.t('Duplicate')}
|
||||
</button>
|
||||
<button type="button" on:click={deleteHandler}>
|
||||
<GarbageBin className="size-3.5" />{$i18n.t('Delete')}
|
||||
</button>
|
||||
{#if deleteHandler}
|
||||
<button type="button" on:click={deleteHandler}>
|
||||
<GarbageBin className="size-3.5" />{$i18n.t('Delete')}
|
||||
</button>
|
||||
{/if}
|
||||
</DropdownMenu>
|
||||
</Dropdown>
|
||||
</div>
|
||||
@@ -11,8 +11,9 @@
|
||||
|
||||
export let editHandler: Function;
|
||||
export let cloneHandler: Function;
|
||||
export let runHandler: Function = () => {};
|
||||
export let deleteHandler: Function;
|
||||
// Null hides the item: a shared automation may be view-only, and only its owner (or an admin) deletes it.
|
||||
export let runHandler: Function | null = () => {};
|
||||
export let deleteHandler: Function | null;
|
||||
export let onClose: Function = () => {};
|
||||
|
||||
export let show = false;
|
||||
@@ -70,45 +71,49 @@
|
||||
<div class="flex items-center">{$i18n.t('Clone')}</div>
|
||||
</button>
|
||||
|
||||
<button
|
||||
class="select-none flex h-[1.6875rem] w-full cursor-pointer items-center gap-2 rounded-xl bg-transparent px-2 text-[0.8125rem] hover:text-base-900 dark:hover:text-base-100"
|
||||
draggable="false"
|
||||
on:click={() => {
|
||||
runHandler();
|
||||
show = false;
|
||||
}}
|
||||
>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
fill="none"
|
||||
viewBox="0 0 24 24"
|
||||
stroke-width="1.5"
|
||||
stroke="currentColor"
|
||||
class="size-3.5"
|
||||
{#if runHandler}
|
||||
<button
|
||||
class="select-none flex h-[1.6875rem] w-full cursor-pointer items-center gap-2 rounded-xl bg-transparent px-2 text-[0.8125rem] hover:text-base-900 dark:hover:text-base-100"
|
||||
draggable="false"
|
||||
on:click={() => {
|
||||
runHandler?.();
|
||||
show = false;
|
||||
}}
|
||||
>
|
||||
<path
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
d="M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.347a1.125 1.125 0 010 1.972l-11.54 6.347a1.125 1.125 0 01-1.667-.986V5.653z"
|
||||
/>
|
||||
</svg>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
fill="none"
|
||||
viewBox="0 0 24 24"
|
||||
stroke-width="1.5"
|
||||
stroke="currentColor"
|
||||
class="size-3.5"
|
||||
>
|
||||
<path
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
d="M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.347a1.125 1.125 0 010 1.972l-11.54 6.347a1.125 1.125 0 01-1.667-.986V5.653z"
|
||||
/>
|
||||
</svg>
|
||||
|
||||
<div class="flex items-center">{$i18n.t('Run Now')}</div>
|
||||
</button>
|
||||
<div class="flex items-center">{$i18n.t('Run Now')}</div>
|
||||
</button>
|
||||
{/if}
|
||||
|
||||
<hr class="border-base-50 dark:border-base-850/30 mx-1 my-0.5" />
|
||||
{#if deleteHandler}
|
||||
<hr class="border-base-50 dark:border-base-850/30 mx-1 my-0.5" />
|
||||
|
||||
<button
|
||||
class="select-none flex h-[1.6875rem] w-full cursor-pointer items-center gap-2 rounded-xl bg-transparent px-2 text-[0.8125rem] hover:text-base-900 dark:hover:text-base-100"
|
||||
draggable="false"
|
||||
on:click={() => {
|
||||
deleteHandler();
|
||||
show = false;
|
||||
}}
|
||||
>
|
||||
<GarbageBin className="size-3.5" />
|
||||
<div class="flex items-center">{$i18n.t('Delete')}</div>
|
||||
</button>
|
||||
<button
|
||||
class="select-none flex h-[1.6875rem] w-full cursor-pointer items-center gap-2 rounded-xl bg-transparent px-2 text-[0.8125rem] hover:text-base-900 dark:hover:text-base-100"
|
||||
draggable="false"
|
||||
on:click={() => {
|
||||
deleteHandler?.();
|
||||
show = false;
|
||||
}}
|
||||
>
|
||||
<GarbageBin className="size-3.5" />
|
||||
<div class="flex items-center">{$i18n.t('Delete')}</div>
|
||||
</button>
|
||||
{/if}
|
||||
</DropdownMenu>
|
||||
</div>
|
||||
</Dropdown>
|
||||
@@ -48,6 +48,7 @@
|
||||
import Plus from '$lib/components/icons/Plus.svelte';
|
||||
import SidebarIcon from '$lib/components/icons/Sidebar.svelte';
|
||||
import Icon from '$lib/components/chat/FileNav/Icon.svelte';
|
||||
import ChatParticipants from '$lib/components/common/ChatParticipants.svelte';
|
||||
|
||||
dayjs.extend(relativeTime);
|
||||
|
||||
@@ -70,6 +71,10 @@
|
||||
|
||||
let query = '';
|
||||
let statusFilter = 'all';
|
||||
let ownerFilter: 'all' | 'mine' | 'shared' = 'all';
|
||||
// Sharing and deleting are the owner's or an admin's.
|
||||
const canShare = (automation: AutomationResponse) =>
|
||||
automation.user_id === $user?.id || $user?.role === 'admin';
|
||||
let searchDebounceTimer: ReturnType<typeof setTimeout>;
|
||||
|
||||
let page = 1;
|
||||
@@ -102,7 +107,7 @@
|
||||
};
|
||||
|
||||
// Immediate response to page/filter changes (gate behind loaded)
|
||||
$: if (loaded && $active && page && statusFilter !== undefined) {
|
||||
$: if (loaded && $active && page && statusFilter !== undefined && ownerFilter) {
|
||||
getAutomationList();
|
||||
}
|
||||
|
||||
@@ -115,12 +120,17 @@
|
||||
|
||||
loading = true;
|
||||
try {
|
||||
const res = await getAutomationItems(localStorage.token, query, statusFilter, page).catch(
|
||||
(error) => {
|
||||
toast.error(`${error}`);
|
||||
return null;
|
||||
}
|
||||
);
|
||||
const res = await getAutomationItems(
|
||||
localStorage.token,
|
||||
query,
|
||||
statusFilter,
|
||||
page,
|
||||
null,
|
||||
ownerFilter
|
||||
).catch((error) => {
|
||||
toast.error(`${error}`);
|
||||
return null;
|
||||
});
|
||||
|
||||
if (res) {
|
||||
automations = res.items;
|
||||
@@ -164,7 +174,10 @@
|
||||
});
|
||||
if (!allAutomations) return;
|
||||
|
||||
const targets = allAutomations.filter((a) => a.is_active !== enable);
|
||||
// Shared automations you can only view are left as they are.
|
||||
const targets = allAutomations.filter(
|
||||
(a) => a.is_active !== enable && a.write_access !== false
|
||||
);
|
||||
if (targets.length === 0) return;
|
||||
|
||||
try {
|
||||
@@ -250,7 +263,14 @@
|
||||
let totalAutomations = 0;
|
||||
|
||||
do {
|
||||
const res = await getAutomationItems(localStorage.token, query, status, currentPage);
|
||||
const res = await getAutomationItems(
|
||||
localStorage.token,
|
||||
query,
|
||||
status,
|
||||
currentPage,
|
||||
null,
|
||||
ownerFilter
|
||||
);
|
||||
const pageItems = res?.items ?? [];
|
||||
totalAutomations = res?.total ?? pageItems.length;
|
||||
allAutomations = [...allAutomations, ...pageItems];
|
||||
@@ -487,7 +507,7 @@
|
||||
<Dropdown align="end">
|
||||
<button
|
||||
type="button"
|
||||
class="{iconButton} {statusFilter !== 'all'
|
||||
class="{iconButton} {statusFilter !== 'all' || ownerFilter !== 'all'
|
||||
? 'text-base-800 dark:text-base-100'
|
||||
: ''}"
|
||||
aria-label={$i18n.t('Filter')}
|
||||
@@ -502,7 +522,7 @@
|
||||
stroke-linecap="round"
|
||||
aria-hidden="true"><path d="M2.5 4h11M4.5 8h7M6.5 12h3" /></svg
|
||||
>
|
||||
{#if statusFilter !== 'all'}
|
||||
{#if statusFilter !== 'all' || ownerFilter !== 'all'}
|
||||
<span
|
||||
class="absolute -right-0.5 -top-0.5 size-1.5 rounded-full bg-base-800 dark:bg-base-100"
|
||||
></span>
|
||||
@@ -525,6 +545,21 @@
|
||||
{#if statusFilter === value}<Check className="size-3! shrink-0" />{/if}
|
||||
</button>
|
||||
{/each}
|
||||
<div class={menuLabel}>{$i18n.t('Owner')}</div>
|
||||
{#each [['all', 'All'], ['mine', 'Mine'], ['shared', 'Shared with me']] as const as [value, label]}
|
||||
<button
|
||||
type="button"
|
||||
role="menuitemradio"
|
||||
aria-checked={ownerFilter === value}
|
||||
on:click={() => {
|
||||
ownerFilter = value;
|
||||
page = 1;
|
||||
}}
|
||||
>
|
||||
<span class="flex-1 text-left">{$i18n.t(label)}</span>
|
||||
{#if ownerFilter === value}<Check className="size-3! shrink-0" />{/if}
|
||||
</button>
|
||||
{/each}
|
||||
</DropdownMenu>
|
||||
</Dropdown>
|
||||
|
||||
@@ -613,16 +648,13 @@
|
||||
</Tooltip>
|
||||
|
||||
<Tooltip
|
||||
content={automation.last_run_at
|
||||
? dayjs(automation.last_run_at / 1000000)
|
||||
.locale($i18n.language)
|
||||
.format('LLLL')
|
||||
: $i18n.t('Never')}
|
||||
content={`${formatTrigger(automation.data, $i18n)} · ${formatDestination(automation)}`}
|
||||
className="hidden min-w-0 md:block"
|
||||
>
|
||||
<div
|
||||
class="shrink-0 truncate text-[0.6875rem] leading-5 text-base-400 dark:text-base-600"
|
||||
class="truncate text-[0.6875rem] leading-5 text-base-400 dark:text-base-600"
|
||||
>
|
||||
{formatLastRun(automation)}
|
||||
{formatTrigger(automation.data, $i18n)} · {formatDestination(automation)}
|
||||
</div>
|
||||
</Tooltip>
|
||||
</div>
|
||||
@@ -630,21 +662,33 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="hidden max-w-56 shrink-0 self-center truncate text-right text-[0.6875rem] leading-5 text-base-500 dark:text-base-500 md:block"
|
||||
>
|
||||
<!-- The owner's avatar beside the last run, like chats in the folder view. -->
|
||||
<div class="flex w-28 shrink-0 items-center justify-end gap-2 self-center">
|
||||
<div class="hidden shrink-0 md:flex" role="presentation" on:click|stopPropagation>
|
||||
<ChatParticipants
|
||||
owner={{ id: automation.user_id, name: automation.user?.name ?? null }}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<Tooltip
|
||||
content={`${formatTrigger(automation.data, $i18n)} · ${formatDestination(automation)}`}
|
||||
content={automation.last_run_at
|
||||
? dayjs(automation.last_run_at / 1000000)
|
||||
.locale($i18n.language)
|
||||
.format('LLLL')
|
||||
: $i18n.t('Never')}
|
||||
className="min-w-0"
|
||||
>
|
||||
<div class="truncate">
|
||||
{formatTrigger(automation.data, $i18n)} · {formatDestination(automation)}
|
||||
<div class="truncate text-[0.6875rem] leading-5 text-base-500 dark:text-base-500">
|
||||
{formatLastRun(automation)}
|
||||
</div>
|
||||
</Tooltip>
|
||||
</div>
|
||||
|
||||
<div class="flex shrink-0 flex-row items-center self-center">
|
||||
{#if shiftKey}
|
||||
{#if shiftKey && !canShare(automation)}
|
||||
<!-- Same space as the delete button, so the columns stay lined up. -->
|
||||
<div class="size-6"></div>
|
||||
{:else if shiftKey}
|
||||
<Tooltip content={$i18n.t('Delete')}>
|
||||
<button
|
||||
class="flex size-6 items-center justify-center rounded-lg text-base-400 transition dark:text-base-500"
|
||||
@@ -669,13 +713,17 @@
|
||||
cloneHandler={() => {
|
||||
cloneHandler(automation);
|
||||
}}
|
||||
runHandler={() => {
|
||||
runNowHandler(automation);
|
||||
}}
|
||||
deleteHandler={() => {
|
||||
deleteTarget = automation;
|
||||
showDeleteConfirm = true;
|
||||
}}
|
||||
runHandler={automation.write_access !== false
|
||||
? () => {
|
||||
runNowHandler(automation);
|
||||
}
|
||||
: null}
|
||||
deleteHandler={canShare(automation)
|
||||
? () => {
|
||||
deleteTarget = automation;
|
||||
showDeleteConfirm = true;
|
||||
}
|
||||
: null}
|
||||
onClose={() => {
|
||||
openAutomationMenuId = null;
|
||||
}}
|
||||
@@ -708,6 +756,7 @@
|
||||
>
|
||||
<Switch
|
||||
bind:state={automation.is_active}
|
||||
disabled={automation.write_access === false}
|
||||
ariaLabel={$i18n.t('Enabled')}
|
||||
on:change={() => {
|
||||
toggleHandler(automation);
|
||||
|
||||
@@ -30,8 +30,8 @@
|
||||
}
|
||||
|
||||
// An existing automation opens as its own page, in a tab beside the folder like chats do.
|
||||
// Anyone who can see the folder can open it; the page is read-only for what they can't change.
|
||||
function edit(automation: FolderAutomation) {
|
||||
if (!automation.can_edit) return;
|
||||
const href = `/automations/${automation.id}`;
|
||||
if (appLayout?.openPageTab) appLayout.openPageTab({ href, label: automation.name });
|
||||
else void goto(href);
|
||||
@@ -87,9 +87,7 @@
|
||||
{#each automations as automation (automation.id)}
|
||||
<!-- svelte-ignore a11y_click_events_have_key_events, a11y_no_noninteractive_element_interactions -->
|
||||
<li
|
||||
class="flex items-center gap-2.5 rounded-xl px-3 py-1.5 transition-colors hover:bg-base-50 dark:hover:bg-base-850/50 {automation.can_edit
|
||||
? 'cursor-pointer'
|
||||
: ''}"
|
||||
class="flex cursor-pointer items-center gap-2.5 rounded-xl px-3 py-1.5 transition-colors hover:bg-base-50 dark:hover:bg-base-850/50"
|
||||
on:click={() => edit(automation)}
|
||||
>
|
||||
<Icon name="clock" size={14} class="text-base-400 dark:text-base-500" />
|
||||
|
||||
@@ -29,6 +29,7 @@ export const DEFAULT_PERMISSIONS = {
|
||||
notes: false,
|
||||
public_notes: false,
|
||||
folders: false,
|
||||
automations: false,
|
||||
public_chats: false,
|
||||
open_chats: false,
|
||||
public_calendars: false
|
||||
|
||||
@@ -462,6 +462,7 @@
|
||||
"Automation triggered": "تم تشغيل المهمة الآلية",
|
||||
"Automation updated": "تم تحديث المهمة الآلية",
|
||||
"Automations": "المهام الآلية",
|
||||
"Automations Sharing": "",
|
||||
"Available": "متاح",
|
||||
"Available list": "القائمة المتاحة",
|
||||
"Available models": "النماذج المتاحة",
|
||||
@@ -4496,6 +4497,7 @@
|
||||
"Share to Open WebUI Community": "OpenWebUI شارك في مجتمع",
|
||||
"Share your background and interests": "شارك نبذة عنك وعن اهتماماتك",
|
||||
"Shared": "مشترك",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "",
|
||||
"Shared Chats": "المحادثات المشتركة",
|
||||
"Shared note": "",
|
||||
|
||||
@@ -462,6 +462,7 @@
|
||||
"Automation triggered": "تم تشغيل المهمة الآلية",
|
||||
"Automation updated": "تم تحديث المهمة الآلية",
|
||||
"Automations": "المهام الآلية",
|
||||
"Automations Sharing": "",
|
||||
"Available": "متاح",
|
||||
"Available list": "القائمة المتاحة",
|
||||
"Available models": "النماذج المتاحة",
|
||||
@@ -4496,6 +4497,7 @@
|
||||
"Share to Open WebUI Community": "OpenWebUI شارك في مجتمع",
|
||||
"Share your background and interests": "شارك نبذة عنك وعن اهتماماتك",
|
||||
"Shared": "مشترك",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "",
|
||||
"Shared Chats": "المحادثات المشتركة",
|
||||
"Shared note": "",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "Avtomatik tapşırıq işə salındı",
|
||||
"Automation updated": "Avtomatik tapşırıq yeniləndi",
|
||||
"Automations": "Avtomatik tapşırıqlar",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Əlçatan",
|
||||
"Available list": "Mövcud siyahı",
|
||||
"Available models": "Mövcud modellər",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "Open WebUI İcması ilə paylaş",
|
||||
"Share your background and interests": "Keçmişiniz və maraqlarınız haqqında məlumat paylaşın",
|
||||
"Shared": "Paylaşılan",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Paylaşılan çat",
|
||||
"Shared Chats": "Paylaşılan Çatlar",
|
||||
"Shared note": "Paylaşılan qeyd",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "Автоматизацията е задействана",
|
||||
"Automation updated": "Автоматизацията е актуализирана",
|
||||
"Automations": "Автоматизации",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Налични",
|
||||
"Available list": "Наличен списък",
|
||||
"Available models": "Налични модели",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "Споделете с OpenWebUI Общността",
|
||||
"Share your background and interests": "Споделете информация за себе си и интересите си",
|
||||
"Shared": "Споделено",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Споделен чат",
|
||||
"Shared Chats": "Споделени чатове",
|
||||
"Shared note": "Споделена бележка",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "অটোমেশন চালু হয়েছে",
|
||||
"Automation updated": "অটোমেশন হালনাগাদ হয়েছে",
|
||||
"Automations": "অটোমেশনসমূহ",
|
||||
"Automations Sharing": "",
|
||||
"Available": "উপলব্ধ",
|
||||
"Available list": "উপলব্ধ তালিকা",
|
||||
"Available models": "উপলব্ধ মডেলসমূহ",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "OpenWebUI কমিউনিটিতে শেয়ার করুন",
|
||||
"Share your background and interests": "আপনার পটভূমি ও আগ্রহ শেয়ার করুন",
|
||||
"Shared": "শেয়ার করা হয়েছে",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "শেয়ার করা চ্যাট",
|
||||
"Shared Chats": "শেয়ার করা চ্যাটসমূহ",
|
||||
"Shared note": "শেয়ার করা নোট",
|
||||
|
||||
@@ -387,6 +387,7 @@
|
||||
"Automation triggered": "རང་འགུལ་ལས་འགན་འགོ་བསླངས་ཟིན།",
|
||||
"Automation updated": "རང་འགུལ་ལས་འགན་གསར་བཅོས་བྱས་ཟིན།",
|
||||
"Automations": "རང་འགུལ་ལས་འགན་རྣམས།",
|
||||
"Automations Sharing": "",
|
||||
"Available": "སྤྱོད་རུང་།",
|
||||
"Available list": "ཡོད་པའི་ཐོ་གཞུང་།",
|
||||
"Available models": "སྤྱོད་རུང་གི་དཔེ་དབྱིབས།",
|
||||
@@ -4376,6 +4377,7 @@
|
||||
"Share to Open WebUI Community": "Open WebUI སྤྱི་ཚོགས་ལ་མཉམ་སྤྱོད།",
|
||||
"Share your background and interests": "རང་གི་རྒྱབ་ལྗོངས་དང་དགའ་ཕྱོགས་མཉམ་སྤྱོད་བྱེད་པ།",
|
||||
"Shared": "མཉམ་སྤྱོད་བྱས་ཟིན།",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "མཉམ་སྤྱོད་ཁ་བརྡ།",
|
||||
"Shared Chats": "མཉམ་སྤྱོད་ཁ་བརྡ།",
|
||||
"Shared note": "མཉམ་སྤྱོད་མཆན་བུ།",
|
||||
|
||||
@@ -417,6 +417,7 @@
|
||||
"Automation triggered": "Automatizacija je pokrenuta",
|
||||
"Automation updated": "Automatizacija je ažurirana",
|
||||
"Automations": "Automatizacije",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Dostupno",
|
||||
"Available list": "Lista dostupnih opcija",
|
||||
"Available models": "Dostupni modeli",
|
||||
@@ -4424,6 +4425,7 @@
|
||||
"Share to Open WebUI Community": "Podijeli u OpenWebUI zajednici",
|
||||
"Share your background and interests": "Podijelite svoje iskustvo i interesovanja",
|
||||
"Shared": "Podijeljeno",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Podijeljeni razgovor",
|
||||
"Shared Chats": "Podijeljeni razgovori",
|
||||
"Shared note": "Podijeljena bilješka",
|
||||
|
||||
@@ -417,6 +417,7 @@
|
||||
"Automation triggered": "Automatització disparada",
|
||||
"Automation updated": "Automatització actualitzada",
|
||||
"Automations": "Automatització",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Disponible",
|
||||
"Available list": "Llista de disponibles",
|
||||
"Available models": "Models disponibles",
|
||||
@@ -4424,6 +4425,7 @@
|
||||
"Share to Open WebUI Community": "Compartir amb la comunitat OpenWebUI",
|
||||
"Share your background and interests": "Compartir la teva informació i interessos",
|
||||
"Shared": "Compartit",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Xat compartit",
|
||||
"Shared Chats": "Xats compartits",
|
||||
"Shared note": "Nota compartida",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "Gisugdan na ang awtomasyon",
|
||||
"Automation updated": "Na-update ang awtomasyon",
|
||||
"Automations": "Mga awtomasyon",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Magamit",
|
||||
"Available list": "Lista sa magamit",
|
||||
"Available models": "Magamit nga mga modelo",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "Ipakigbahin sa komunidad sa OpenWebUI",
|
||||
"Share your background and interests": "Ipaambit ang imong kasinatian ug mga interes",
|
||||
"Shared": "Gipaambit",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Gipaambit nga panaghisgot",
|
||||
"Shared Chats": "Mga gipaambit nga panaghisgot",
|
||||
"Shared note": "Gipaambit nga nota",
|
||||
|
||||
@@ -432,6 +432,7 @@
|
||||
"Automation triggered": "Automatizace byla spuštěna",
|
||||
"Automation updated": "Automatizace byla aktualizována",
|
||||
"Automations": "Automatizace",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Dostupné",
|
||||
"Available list": "Seznam dostupných",
|
||||
"Available models": "Dostupné modely",
|
||||
@@ -4448,6 +4449,7 @@
|
||||
"Share to Open WebUI Community": "Sdílet s komunitou Open WebUI",
|
||||
"Share your background and interests": "Sdílejte své zkušenosti a zájmy",
|
||||
"Shared": "Sdílené",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Sdílená konverzace",
|
||||
"Shared Chats": "Sdílené konverzace",
|
||||
"Shared note": "Sdílená poznámka",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "Automatiseringen er udløst",
|
||||
"Automation updated": "Automatiseringen er opdateret",
|
||||
"Automations": "Automatiseringer",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Tilgængelig",
|
||||
"Available list": "Tilgængelige lister",
|
||||
"Available models": "Tilgængelige modeller",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "Del til OpenWebUI Community",
|
||||
"Share your background and interests": "Del din baggrund og interesser",
|
||||
"Shared": "Delt",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Delt chat",
|
||||
"Shared Chats": "Delte chats",
|
||||
"Shared note": "Delt note",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "Automatisierung ausgelöst",
|
||||
"Automation updated": "Automatisierung aktualisiert",
|
||||
"Automations": "Automatisierungen",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Verfügbar",
|
||||
"Available list": "Verfügbare Liste",
|
||||
"Available models": "Verfügbare Modelle",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "Mit der Open WebUI Community teilen",
|
||||
"Share your background and interests": "Teilen Sie Ihren Hintergrund und Ihre Interessen",
|
||||
"Shared": "Geteilt",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Geteilter Chat",
|
||||
"Shared Chats": "Geteilte Chats",
|
||||
"Shared note": "Geteilte Notiz",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "Such automation triggered",
|
||||
"Automation updated": "Such automation updated. Wow",
|
||||
"Automations": "Many Automations",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Available",
|
||||
"Available list": "Such available list",
|
||||
"Available models": "Many available models",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "Share to Open WebUI Community",
|
||||
"Share your background and interests": "Share such background and interests",
|
||||
"Shared": "Shared",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "",
|
||||
"Shared Chats": "Many Shared Chats",
|
||||
"Shared note": "",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "Η εκτέλεση του αυτοματισμού ξεκίνησε",
|
||||
"Automation updated": "Ο αυτοματισμός ενημερώθηκε",
|
||||
"Automations": "Αυτοματισμοί",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Διαθέσιμο",
|
||||
"Available list": "Διαθέσιμη λίστα",
|
||||
"Available models": "Διαθέσιμα μοντέλα",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "Κοινή Χρήση στην Κοινότητα OpenWebUI",
|
||||
"Share your background and interests": "Μοιραστείτε μερικά λόγια για εσάς, όπως τα ενδιαφέροντά σας",
|
||||
"Shared": "Κοινόχρηστο",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Κοινόχρηστη συνομιλία",
|
||||
"Shared Chats": "Κοινόχρηστες συνομιλίες",
|
||||
"Shared note": "Κοινόχρηστη σημείωση",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "",
|
||||
"Automation updated": "",
|
||||
"Automations": "",
|
||||
"Automations Sharing": "",
|
||||
"Available": "",
|
||||
"Available list": "",
|
||||
"Available models": "",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "",
|
||||
"Share your background and interests": "",
|
||||
"Shared": "",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "",
|
||||
"Shared Chats": "",
|
||||
"Shared note": "",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "",
|
||||
"Automation updated": "",
|
||||
"Automations": "",
|
||||
"Automations Sharing": "",
|
||||
"Available": "",
|
||||
"Available list": "",
|
||||
"Available models": "",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "",
|
||||
"Share your background and interests": "",
|
||||
"Shared": "",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "",
|
||||
"Shared Chats": "",
|
||||
"Shared note": "",
|
||||
|
||||
@@ -417,6 +417,7 @@
|
||||
"Automation triggered": "Automatización activada",
|
||||
"Automation updated": "Automatización actualizada",
|
||||
"Automations": "Automatizaciones",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Disponible",
|
||||
"Available list": "Lista disponible",
|
||||
"Available models": "Modelos disponibles",
|
||||
@@ -4424,6 +4425,7 @@
|
||||
"Share to Open WebUI Community": "Compartir con la Comunidad Open WebUI",
|
||||
"Share your background and interests": "Compartir tus antecedentes e intereses",
|
||||
"Shared": "Compartido",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Chat compartido",
|
||||
"Shared Chats": "Chats Compartidos",
|
||||
"Shared note": "Nota compartida",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "Automatiseering käivitatud",
|
||||
"Automation updated": "Automatiseering uuendatud",
|
||||
"Automations": "Automatiseeringud",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Saadaval",
|
||||
"Available list": "Saadaolevate nimekiri",
|
||||
"Available models": "Saadaolevad mudelid",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "Jaga Open WebUI kogukonnaga",
|
||||
"Share your background and interests": "Jagage oma tausta ja huvisid",
|
||||
"Shared": "Jagatud",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Jagatud vestlus",
|
||||
"Shared Chats": "Jagatud vestlused",
|
||||
"Shared note": "Jagatud märge",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "Automatizazioa abiarazi da",
|
||||
"Automation updated": "Automatizazioa eguneratu da",
|
||||
"Automations": "Automatizazioak",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Erabilgarriak",
|
||||
"Available list": "Zerrenda erabilgarria",
|
||||
"Available models": "Modelo erabilgarriak",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "Partekatu OpenWebUI komunitatearekin",
|
||||
"Share your background and interests": "Partekatu zure aurrekariak eta interesak",
|
||||
"Shared": "Partekatuta",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Partekatutako txata",
|
||||
"Shared Chats": "Partekatutako txatak",
|
||||
"Shared note": "Partekatutako oharra",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "اجرای خودکارسازی آغاز شد",
|
||||
"Automation updated": "خودکارسازی به\u200cروز شد",
|
||||
"Automations": "خودکارسازی\u200cها",
|
||||
"Automations Sharing": "",
|
||||
"Available": "در دسترس",
|
||||
"Available list": "فهرست دردسترس",
|
||||
"Available models": "مدل\u200cهای موجود",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "اشتراک\u200cگذاری با Open WebUI Community",
|
||||
"Share your background and interests": "پیشینه و علایق خود را به اشتراک بگذارید",
|
||||
"Shared": "اشتراک\u200cگذاری شده",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "گفتگوی اشتراک\u200cگذاری شده",
|
||||
"Shared Chats": "گفتگوهای اشتراک\u200cگذاری شده",
|
||||
"Shared note": "یادداشت اشتراک\u200cگذاری شده",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "Automaatio laukaistu",
|
||||
"Automation updated": "Automaatio päivitetty",
|
||||
"Automations": "Automaatiot",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Käytettävissä",
|
||||
"Available list": "Käytettävissä oleva luettelo",
|
||||
"Available models": "Käytettävissä olevat mallit",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "Jaa OpenWebUI-yhteisöön",
|
||||
"Share your background and interests": "Jaa taustasi ja kiinnostuksen kohteesi",
|
||||
"Shared": "Jaettu",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "",
|
||||
"Shared Chats": "Jaetut keskustelut",
|
||||
"Shared note": "",
|
||||
|
||||
@@ -403,6 +403,7 @@
|
||||
"Automation triggered": "Na-trigger ang automation",
|
||||
"Automation updated": "Na-update ang automation",
|
||||
"Automations": "Mga Automation",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Magagamit",
|
||||
"Available list": "Listahan ng mga magagamit",
|
||||
"Available models": "Mga magagamit na modelo",
|
||||
@@ -4402,6 +4403,7 @@
|
||||
"Share to Open WebUI Community": "Ibahagi sa Open WebUI Community",
|
||||
"Share your background and interests": "Ibahagi ang iyong background at mga interes",
|
||||
"Shared": "Ibinahagi",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Ibinahaging chat",
|
||||
"Shared Chats": "Mga Ibinahaging Chat",
|
||||
"Shared note": "Ibinahaging tala",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "Sjálvvirkning sett í gongd",
|
||||
"Automation updated": "Sjálvvirkning dagførd",
|
||||
"Automations": "Sjálvvirkningar",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Tøkt",
|
||||
"Available list": "Tøkur listi",
|
||||
"Available models": "Tøk modell",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "Deil til Open WebUI Community",
|
||||
"Share your background and interests": "Deil upplýsingar um bakgrund og áhugamál",
|
||||
"Shared": "Deilt",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Deilt kjatt",
|
||||
"Shared Chats": "Deild kjatt",
|
||||
"Shared note": "Deild viðmerking",
|
||||
|
||||
@@ -417,6 +417,7 @@
|
||||
"Automation triggered": "Automatisation déclenchée",
|
||||
"Automation updated": "Automatisation mise à jour",
|
||||
"Automations": "Automatisations",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Disponible",
|
||||
"Available list": "Liste disponible",
|
||||
"Available models": "Modèles disponibles",
|
||||
@@ -4424,6 +4425,7 @@
|
||||
"Share to Open WebUI Community": "Partager avec la communauté OpenWebUI",
|
||||
"Share your background and interests": "Parlez de votre parcours et de vos centres d'intérêt",
|
||||
"Shared": "Partagé",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "",
|
||||
"Shared Chats": "Conversations partagées",
|
||||
"Shared note": "",
|
||||
|
||||
@@ -417,6 +417,7 @@
|
||||
"Automation triggered": "Automatisation déclenchée",
|
||||
"Automation updated": "Automatisation mise à jour",
|
||||
"Automations": "Automatisations",
|
||||
"Automations Sharing": "",
|
||||
"Available": "",
|
||||
"Available list": "Liste disponible",
|
||||
"Available models": "Modèles disponibles",
|
||||
@@ -4424,6 +4425,7 @@
|
||||
"Share to Open WebUI Community": "Partager avec la communauté OpenWebUI",
|
||||
"Share your background and interests": "Partagez votre parcours et vos intérêts",
|
||||
"Shared": "Partagé",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "",
|
||||
"Shared Chats": "Conversations partagées",
|
||||
"Shared note": "",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "Automatización iniciada",
|
||||
"Automation updated": "Automatización actualizada",
|
||||
"Automations": "Automatizacións",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Dispoñible",
|
||||
"Available list": "Lista dispoñible",
|
||||
"Available models": "Modelos dispoñibles",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "Compartir coa comunidads OpenWebUI",
|
||||
"Share your background and interests": "Comparta a súa traxectoria e os seus intereses",
|
||||
"Shared": "Compartido",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Chat compartido",
|
||||
"Shared Chats": "Chats compartidos",
|
||||
"Shared note": "Nota compartida",
|
||||
|
||||
@@ -417,6 +417,7 @@
|
||||
"Automation triggered": "האוטומציה הורצה",
|
||||
"Automation updated": "האוטומציה עודכנה",
|
||||
"Automations": "אוטומציות",
|
||||
"Automations Sharing": "",
|
||||
"Available": "זמין",
|
||||
"Available list": "רשימת האפשרויות הזמינות",
|
||||
"Available models": "מודלים זמינים",
|
||||
@@ -4424,6 +4425,7 @@
|
||||
"Share to Open WebUI Community": "שתף לקהילת OpenWebUI",
|
||||
"Share your background and interests": "שתף את הרקע ותחומי העניין שלך",
|
||||
"Shared": "משותף",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "צ'אט משותף",
|
||||
"Shared Chats": "צ'אטים משותפים",
|
||||
"Shared note": "פתק משותף",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "ऑटोमेशन शुरू किया गया",
|
||||
"Automation updated": "ऑटोमेशन अपडेट किया गया",
|
||||
"Automations": "ऑटोमेशन",
|
||||
"Automations Sharing": "",
|
||||
"Available": "उपलब्ध",
|
||||
"Available list": "उपलब्ध सूची",
|
||||
"Available models": "उपलब्ध मॉडल",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "Open WebUI समुदाय में साझा करें",
|
||||
"Share your background and interests": "अपनी पृष्ठभूमि और रुचियाँ साझा करें",
|
||||
"Shared": "साझा किया गया",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "साझा की गई चैट",
|
||||
"Shared Chats": "साझा की गई चैट",
|
||||
"Shared note": "साझा किया गया नोट",
|
||||
|
||||
@@ -417,6 +417,7 @@
|
||||
"Automation triggered": "Automatizacija je pokrenuta",
|
||||
"Automation updated": "Automatizacija je ažurirana",
|
||||
"Automations": "Automatizacije",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Dostupno",
|
||||
"Available list": "Popis dostupnih mogućnosti",
|
||||
"Available models": "Dostupni modeli",
|
||||
@@ -4424,6 +4425,7 @@
|
||||
"Share to Open WebUI Community": "Podijeli u OpenWebUI zajednici",
|
||||
"Share your background and interests": "Podijelite svoje iskustvo i interese",
|
||||
"Shared": "Podijeljeno",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Podijeljeni razgovor",
|
||||
"Shared Chats": "Podijeljeni razgovori",
|
||||
"Shared note": "Podijeljena bilješka",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "Automatizálás elindítva",
|
||||
"Automation updated": "Automatizálás frissítve",
|
||||
"Automations": "Automatizálások",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Elérhető",
|
||||
"Available list": "Elérhető lista",
|
||||
"Available models": "Elérhető modellek",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "Megosztás az Open WebUI közösségével",
|
||||
"Share your background and interests": "Ossza meg hátterét és érdeklődési köreit",
|
||||
"Shared": "Megosztva",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Megosztott beszélgetés",
|
||||
"Shared Chats": "Megosztott beszélgetések",
|
||||
"Shared note": "Megosztott jegyzet",
|
||||
|
||||
@@ -396,6 +396,7 @@
|
||||
"Automation triggered": "Otomatisasi dipicu",
|
||||
"Automation updated": "Otomatisasi diperbarui",
|
||||
"Automations": "Otomatisasi",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Tersedia",
|
||||
"Available list": "Daftar yang tersedia",
|
||||
"Available models": "Model yang tersedia",
|
||||
@@ -4391,6 +4392,7 @@
|
||||
"Share to Open WebUI Community": "Bagikan ke Komunitas OpenWebUI",
|
||||
"Share your background and interests": "Bagikan latar belakang dan minat Anda",
|
||||
"Shared": "Dibagikan",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Obrolan yang dibagikan",
|
||||
"Shared Chats": "Obrolan Dibagikan",
|
||||
"Shared note": "Catatan yang dibagikan",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "Uathoibriú spreagtha",
|
||||
"Automation updated": "Uathoibriú nuashonraithe",
|
||||
"Automations": "Uathoibrithe",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Ar fáil",
|
||||
"Available list": "Liosta atá ar fáil",
|
||||
"Available models": "Samhlacha atá ar fáil",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "Comhroinn le Pobal OpenWebUI",
|
||||
"Share your background and interests": "Roinn do chúlra agus do leasanna",
|
||||
"Shared": "Roinnte",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Comhrá comhroinnte",
|
||||
"Shared Chats": "Comhráite Comhroinnte",
|
||||
"Shared note": "Nóta comhroinnte",
|
||||
|
||||
@@ -417,6 +417,7 @@
|
||||
"Automation triggered": "Automazione attivata",
|
||||
"Automation updated": "Automazione aggiornata",
|
||||
"Automations": "Automazioni",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Disponibili",
|
||||
"Available list": "Elenco disponibile",
|
||||
"Available models": "Modelli disponibili",
|
||||
@@ -4424,6 +4425,7 @@
|
||||
"Share to Open WebUI Community": "Condividi con la comunità OpenWebUI",
|
||||
"Share your background and interests": "Condividi il tuo background e i tuoi interessi",
|
||||
"Shared": "Condiviso",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "",
|
||||
"Shared Chats": "Chat condivise",
|
||||
"Shared note": "",
|
||||
|
||||
@@ -396,6 +396,7 @@
|
||||
"Automation triggered": "オートメーションが実行されました",
|
||||
"Automation updated": "オートメーションを更新しました",
|
||||
"Automations": "オートメーション",
|
||||
"Automations Sharing": "",
|
||||
"Available": "利用可能",
|
||||
"Available list": "利用可能リスト",
|
||||
"Available models": "利用可能なモデル",
|
||||
@@ -4391,6 +4392,7 @@
|
||||
"Share to Open WebUI Community": "OpenWebUI コミュニティに共有",
|
||||
"Share your background and interests": "あなたの背景情報と興味を教えてください",
|
||||
"Shared": "共有済み",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "共有チャット",
|
||||
"Shared Chats": "共有されたチャット",
|
||||
"Shared note": "共有ノート",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "ავტომატიზაცია ამოქმედდა",
|
||||
"Automation updated": "ავტომატიზაცია განახლდა",
|
||||
"Automations": "ავტომატიზაციები",
|
||||
"Automations Sharing": "",
|
||||
"Available": "ხელმისაწვდომი",
|
||||
"Available list": "ხელმისაწვდომი სია",
|
||||
"Available models": "ხელმისაწვდომი მოდელები",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "გაზიარება Open WebUI-ის საზოგადოებასთან",
|
||||
"Share your background and interests": "გააზიარეთ თქვენი გამოცდილება და ინტერესები",
|
||||
"Shared": "გაზიარებული",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "გაზიარებული ჩატი",
|
||||
"Shared Chats": "გაზიარებული ჩატები",
|
||||
"Shared note": "გაზიარებული შენიშვნა",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "Tawurmant tettwaselkem",
|
||||
"Automation updated": "Tawurmant tettwaleqqem",
|
||||
"Automations": "Tiwurmanin",
|
||||
"Automations Sharing": "",
|
||||
"Available": "I yellan",
|
||||
"Available list": "Tabdart i yellan",
|
||||
"Available models": "Timudmiwin i yellan",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "Bḍu akked temɣiwant n Open WebUI",
|
||||
"Share your background and interests": "Bḍu-d tirmit-ik·im d wayen i k·m-iɛeǧben",
|
||||
"Shared": "Yettwabḍa",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Adiwenni yettwabḍan",
|
||||
"Shared Chats": "Idiwenniyen yettwabḍan",
|
||||
"Shared note": "Tazmilt yettwabḍan",
|
||||
|
||||
@@ -388,6 +388,7 @@
|
||||
"Automation triggered": "자동 시행",
|
||||
"Automation updated": "자동 업데이트",
|
||||
"Automations": "자동",
|
||||
"Automations Sharing": "",
|
||||
"Available": "사용 가능",
|
||||
"Available list": "가능한 목록",
|
||||
"Available models": "사용 가능한 모델",
|
||||
@@ -4378,6 +4379,7 @@
|
||||
"Share to Open WebUI Community": "OpenWebUI 커뮤니티에 공유",
|
||||
"Share your background and interests": "당신의 배경과 관심사를 공유하세요",
|
||||
"Shared": "공유",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "공유된 채팅",
|
||||
"Shared Chats": "공유된 채팅",
|
||||
"Shared note": "공유된 노트",
|
||||
|
||||
@@ -432,6 +432,7 @@
|
||||
"Automation triggered": "Automatizavimas paleistas",
|
||||
"Automation updated": "Automatizavimas atnaujintas",
|
||||
"Automations": "Automatizavimai",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Prieinama",
|
||||
"Available list": "Galimų variantų sąrašas",
|
||||
"Available models": "Galimi modeliai",
|
||||
@@ -4448,6 +4449,7 @@
|
||||
"Share to Open WebUI Community": "Dalintis su OpenWebUI bendruomene",
|
||||
"Share your background and interests": "Papasakokite apie save ir savo pomėgius",
|
||||
"Shared": "Bendrinama",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Bendrinamas pokalbis",
|
||||
"Shared Chats": "Bendrinami pokalbiai",
|
||||
"Shared note": "Bendrinamas užrašas",
|
||||
|
||||
@@ -417,6 +417,7 @@
|
||||
"Automation triggered": "Automatizācija palaista",
|
||||
"Automation updated": "Automatizācija atjaunināta",
|
||||
"Automations": "Automatizācijas",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Pieejams",
|
||||
"Available list": "Pieejamo saraksts",
|
||||
"Available models": "Pieejamie modeļi",
|
||||
@@ -4424,6 +4425,7 @@
|
||||
"Share to Open WebUI Community": "Kopīgot Open WebUI kopienā",
|
||||
"Share your background and interests": "Pastāstiet par savu pieredzi un interesēm",
|
||||
"Shared": "Kopīgots",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Kopīgota tērzēšana",
|
||||
"Shared Chats": "Kopīgotās tērzēšanas",
|
||||
"Shared note": "Kopīgota piezīme",
|
||||
|
||||
@@ -396,6 +396,7 @@
|
||||
"Automation triggered": "Automasi dicetuskan",
|
||||
"Automation updated": "Automasi dikemas kini",
|
||||
"Automations": "Automasi",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Tersedia",
|
||||
"Available list": "Senarai tersedia",
|
||||
"Available models": "Model tersedia",
|
||||
@@ -4391,6 +4392,7 @@
|
||||
"Share to Open WebUI Community": "Kongsi kepada Komuniti Open WebUI",
|
||||
"Share your background and interests": "Kongsi latar belakang dan minat anda",
|
||||
"Shared": "Dikongsi",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Chat yang dikongsi",
|
||||
"Shared Chats": "Chat yang Dikongsi",
|
||||
"Shared note": "Nota yang dikongsi",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "Automatisering utløst",
|
||||
"Automation updated": "Automatisering oppdatert",
|
||||
"Automations": "Automatiseringer",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Tilgjengelig",
|
||||
"Available list": "Tilgjengelig liste",
|
||||
"Available models": "Tilgjengelige modeller",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "Del med OpenWebUI-fellesskapet",
|
||||
"Share your background and interests": "Fortell om bakgrunnen og interessene dine",
|
||||
"Shared": "Delt",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Delt chat",
|
||||
"Shared Chats": "Delte chatter",
|
||||
"Shared note": "Delt notat",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "Automatisering geactiveerd",
|
||||
"Automation updated": "Automatisering bijgewerkt",
|
||||
"Automations": "Automatiseringen",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Beschikbaar",
|
||||
"Available list": "Beschikbare lijst",
|
||||
"Available models": "Beschikbare modellen",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "Deel naar OpenWebUI-community",
|
||||
"Share your background and interests": "Deel je achtergrond en interesses",
|
||||
"Shared": "Gedeeld",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Gedeelde chat",
|
||||
"Shared Chats": "Gedeelde chats",
|
||||
"Shared note": "Gedeelde notitie",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "ਆਟੋਮੇਸ਼ਨ ਸ਼ੁਰੂ ਕੀਤਾ ਗਿਆ",
|
||||
"Automation updated": "ਆਟੋਮੇਸ਼ਨ ਅੱਪਡੇਟ ਕੀਤਾ ਗਿਆ",
|
||||
"Automations": "ਆਟੋਮੇਸ਼ਨ",
|
||||
"Automations Sharing": "",
|
||||
"Available": "ਉਪਲਬਧ",
|
||||
"Available list": "ਉਪਲਬਧ ਫਾਰਮੈਟਾਂ ਦੀ ਸੂਚੀ",
|
||||
"Available models": "ਉਪਲਬਧ ਮਾਡਲ",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "ਓਪਨਵੈਬਯੂਆਈ ਕਮਿਊਨਿਟੀ ਨਾਲ ਸਾਂਝਾ ਕਰੋ",
|
||||
"Share your background and interests": "ਆਪਣੇ ਪਿਛੋਕੜ ਅਤੇ ਦਿਲਚਸਪੀਆਂ ਨੂੰ ਸਾਂਝਾ ਕਰੋ",
|
||||
"Shared": "ਸਾਂਝਾ",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "ਸਾਂਝੀ ਕੀਤੀ ਗੱਲਬਾਤ",
|
||||
"Shared Chats": "ਸਾਂਝੀਆਂ ਕੀਤੀਆਂ ਗੱਲਾਂ",
|
||||
"Shared note": "ਸਾਂਝਾ ਕੀਤਾ ਨੋਟ",
|
||||
|
||||
@@ -432,6 +432,7 @@
|
||||
"Automation triggered": "Automatyzacja uruchomiona",
|
||||
"Automation updated": "Automatyzacja zaktualizowana",
|
||||
"Automations": "Automatyzacje",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Dostępne",
|
||||
"Available list": "Dostępna lista",
|
||||
"Available models": "Dostępne modele",
|
||||
@@ -4448,6 +4449,7 @@
|
||||
"Share to Open WebUI Community": "Udostępnij społeczności Open WebUI",
|
||||
"Share your background and interests": "Udostępnij swoje tło i zainteresowania",
|
||||
"Shared": "Udostępnione",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Udostępniony czat",
|
||||
"Shared Chats": "Udostępnione czaty",
|
||||
"Shared note": "Udostępniona notatka",
|
||||
|
||||
@@ -417,6 +417,7 @@
|
||||
"Automation triggered": "Automação acionada",
|
||||
"Automation updated": "Automação atualizada",
|
||||
"Automations": "Automações",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Disponível",
|
||||
"Available list": "Lista disponível",
|
||||
"Available models": "Modelos disponíveis",
|
||||
@@ -4424,6 +4425,7 @@
|
||||
"Share to Open WebUI Community": "Compartilhar com a Comunidade Open WebUI",
|
||||
"Share your background and interests": "Fale sobre você e seus interesses",
|
||||
"Shared": "Compartilhado",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Chat compartilhado",
|
||||
"Shared Chats": "Chats compartilhados",
|
||||
"Shared note": "Nota compartilhada",
|
||||
|
||||
@@ -417,6 +417,7 @@
|
||||
"Automation triggered": "Automatização acionada",
|
||||
"Automation updated": "Automatização atualizada",
|
||||
"Automations": "Automatizações",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Disponível",
|
||||
"Available list": "Lista disponível",
|
||||
"Available models": "Modelos disponíveis",
|
||||
@@ -4424,6 +4425,7 @@
|
||||
"Share to Open WebUI Community": "Partilhar com a Comunidade OpenWebUI",
|
||||
"Share your background and interests": "Partilhar seu histórico e interesses",
|
||||
"Shared": "Partilhado",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "",
|
||||
"Shared Chats": "Conversas Partilhadas",
|
||||
"Shared note": "",
|
||||
|
||||
@@ -417,6 +417,7 @@
|
||||
"Automation triggered": "Automatizare declanșată",
|
||||
"Automation updated": "Automatizare actualizată",
|
||||
"Automations": "Automatizări",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Disponibile",
|
||||
"Available list": "Listă disponibilă",
|
||||
"Available models": "Modele disponibile",
|
||||
@@ -4424,6 +4425,7 @@
|
||||
"Share to Open WebUI Community": "Partajează cu Comunitatea OpenWebUI",
|
||||
"Share your background and interests": "Descrieți-vă pregătirea și interesele",
|
||||
"Shared": "Partajat",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Conversație partajată",
|
||||
"Shared Chats": "Conversații partajate",
|
||||
"Shared note": "Notă partajată",
|
||||
|
||||
@@ -432,6 +432,7 @@
|
||||
"Automation triggered": "Автоматизация запущена",
|
||||
"Automation updated": "Автоматизация обновлена",
|
||||
"Automations": "Автоматизации",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Доступные",
|
||||
"Available list": "Список вариантов",
|
||||
"Available models": "Доступные модели",
|
||||
@@ -4448,6 +4449,7 @@
|
||||
"Share to Open WebUI Community": "Поделиться с сообществом OpenWebUI",
|
||||
"Share your background and interests": "Расскажите о своём опыте и интересах",
|
||||
"Shared": "Общий доступ",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Общий чат",
|
||||
"Shared Chats": "Общие чаты",
|
||||
"Shared note": "Общая заметка",
|
||||
|
||||
@@ -432,6 +432,7 @@
|
||||
"Automation triggered": "Automatizácia bola spustená",
|
||||
"Automation updated": "Automatizácia bola aktualizovaná",
|
||||
"Automations": "Automatizácie",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Dostupné",
|
||||
"Available list": "Dostupný zoznam",
|
||||
"Available models": "Dostupné modely",
|
||||
@@ -4448,6 +4449,7 @@
|
||||
"Share to Open WebUI Community": "Zdieľať s komunitou OpenWebUI",
|
||||
"Share your background and interests": "Napíšte niečo o sebe a svojich záujmoch",
|
||||
"Shared": "Zdieľané",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Zdieľaný chat",
|
||||
"Shared Chats": "Zdieľané chaty",
|
||||
"Shared note": "Zdieľaná poznámka",
|
||||
|
||||
@@ -432,6 +432,7 @@
|
||||
"Automation triggered": "Avtomatizacija je sprožena",
|
||||
"Automation updated": "Avtomatizacija je posodobljena",
|
||||
"Automations": "Avtomatizacije",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Na voljo",
|
||||
"Available list": "Razpoložljiv seznam",
|
||||
"Available models": "Razpoložljivi modeli",
|
||||
@@ -4448,6 +4449,7 @@
|
||||
"Share to Open WebUI Community": "Deli s skupnostjo Open WebUI",
|
||||
"Share your background and interests": "Deli your background and interests",
|
||||
"Shared": "Deljeno",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Deljeni pogovor",
|
||||
"Shared Chats": "Deljeni pogovori",
|
||||
"Shared note": "Deljeni zapisek",
|
||||
|
||||
@@ -417,6 +417,7 @@
|
||||
"Automation triggered": "Аутоматизација је покренута",
|
||||
"Automation updated": "Аутоматизација је ажурирана",
|
||||
"Automations": "Аутоматизације",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Доступно",
|
||||
"Available list": "Списак доступног",
|
||||
"Available models": "Доступни модели",
|
||||
@@ -4424,6 +4425,7 @@
|
||||
"Share to Open WebUI Community": "Подели са OpenWebUI заједницом",
|
||||
"Share your background and interests": "Поделите нешто о себи и својим интересовањима",
|
||||
"Shared": "Дељено",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Подељено ћаскање",
|
||||
"Shared Chats": "Дељена ћаскања",
|
||||
"Shared note": "Подељена белешка",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "Automatisering utlöst",
|
||||
"Automation updated": "Automatisering uppdaterad",
|
||||
"Automations": "Automatiseringar",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Tillgänglig",
|
||||
"Available list": "Tillgänglig lista",
|
||||
"Available models": "Tillgängliga modeller",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "Dela till OpenWebUI Community",
|
||||
"Share your background and interests": "Dela din bakgrund och intressen",
|
||||
"Shared": "Delat",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Delad chatt",
|
||||
"Shared Chats": "Delade chattar",
|
||||
"Shared note": "Delad anteckning",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "தானியக்கம் தூண்டப்பட்டது",
|
||||
"Automation updated": "தானியக்கம் புதுப்பிக்கப்பட்டது",
|
||||
"Automations": "தானியக்கங்கள்",
|
||||
"Automations Sharing": "",
|
||||
"Available": "கிடைக்கும்",
|
||||
"Available list": "கிடைக்கும் பட்டியல்",
|
||||
"Available models": "கிடைக்கும் மாதிரிகள்",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "Open WebUI சமூகத்தில் பகிரவும்",
|
||||
"Share your background and interests": "உங்கள் பின்னணி மற்றும் ஆர்வங்களைப் பகிரவும்",
|
||||
"Shared": "பகிரப்பட்டது",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "பகிரப்பட்ட அரட்டை",
|
||||
"Shared Chats": "பகிரப்பட்ட அரட்டைகள்",
|
||||
"Shared note": "பகிரப்பட்ட குறிப்பு",
|
||||
|
||||
@@ -387,6 +387,7 @@
|
||||
"Automation triggered": "ระบบอัตโนมัติถูกเรียกใช้งาน",
|
||||
"Automation updated": "ระบบอัตโนมัติถูกอัปเดต",
|
||||
"Automations": "ระบบอัตโนมัติ",
|
||||
"Automations Sharing": "",
|
||||
"Available": "พร้อมใช้งาน",
|
||||
"Available list": "รายการที่พร้อมใช้งาน",
|
||||
"Available models": "โมเดลที่พร้อมใช้งาน",
|
||||
@@ -4376,6 +4377,7 @@
|
||||
"Share to Open WebUI Community": "แชร์ไปยังชุมชน Open WebUI",
|
||||
"Share your background and interests": "เล่าพื้นเพและความสนใจของคุณ",
|
||||
"Shared": "ที่แชร์",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "แชทที่แชร์",
|
||||
"Shared Chats": "แชทที่แชร์",
|
||||
"Shared note": "บันทึกที่แชร์",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "Awtomatlaşdyrma başladyldy",
|
||||
"Automation updated": "Awtomatlaşdyrma täzelendi",
|
||||
"Automations": "Awtomatlaşdyrmalar",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Elýeterli",
|
||||
"Available list": "Elýeterli formatlaryň sanawy",
|
||||
"Available models": "Elýeterli modeller",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "Open WebUI Community bilen paýlaş",
|
||||
"Share your background and interests": "Özüňiz we gyzyklanmalaryňyz barada maglumat paýlaşyň",
|
||||
"Shared": "Paýlaşylan",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Paýlaşylan çat",
|
||||
"Shared Chats": "Paýlaşylan Çatlar",
|
||||
"Shared note": "Paýlaşylan bellik",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "Otomasyon tetiklendi",
|
||||
"Automation updated": "Otomasyon güncellendi",
|
||||
"Automations": "Otomasyonlar",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Kullanılabilir",
|
||||
"Available list": "Mevcut liste",
|
||||
"Available models": "Mevcut modeller",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "OpenWebUI Topluluğu ile Paylaş",
|
||||
"Share your background and interests": "Arka planınızı ve ilgi alanlarınızı paylaşın",
|
||||
"Shared": "Paylaşılan",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Paylaşılan sohbet",
|
||||
"Shared Chats": "Paylaşılan Sohbetler",
|
||||
"Shared note": "Paylaşılan not",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "ئاپتوماتلاشتۇرۇش ئىجرا قىلىندى",
|
||||
"Automation updated": "ئاپتوماتلاشتۇرۇش يېڭىلاندى",
|
||||
"Automations": "ئاپتوماتلاشتۇرۇشلار",
|
||||
"Automations Sharing": "",
|
||||
"Available": "ئىشلىتىشكە بولىدىغان",
|
||||
"Available list": "بار تىزىملىك",
|
||||
"Available models": "ئىشلىتىشكە بولىدىغان مودېللار",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "Open WebUI جەمئىيىتىگە ھەمبەھىرلەش",
|
||||
"Share your background and interests": "كەچمىشلىرىڭىز ۋە قىزىقىشلىرىڭىزنى ھەمبەھىرلەڭ",
|
||||
"Shared": "ھەمبەھىرلەنگەن",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "ھەمبەھىرلەنگەن سۆھبەت",
|
||||
"Shared Chats": "ھەمبەھىرلەنگەن سۆھبەتلەر",
|
||||
"Shared note": "ھەمبەھىرلەنگەن خاتىرە",
|
||||
|
||||
@@ -432,6 +432,7 @@
|
||||
"Automation triggered": "Автоматизацію запущено",
|
||||
"Automation updated": "Автоматизацію оновлено",
|
||||
"Automations": "Автоматизації",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Доступні",
|
||||
"Available list": "Список доступності",
|
||||
"Available models": "Доступні моделі",
|
||||
@@ -4448,6 +4449,7 @@
|
||||
"Share to Open WebUI Community": "Поділитися зі спільнотою Open WebUI",
|
||||
"Share your background and interests": "Розкажіть про свій досвід та інтереси",
|
||||
"Shared": "Спільний",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Чат зі спільним доступом",
|
||||
"Shared Chats": "Чати зі спільним доступом",
|
||||
"Shared note": "Примітка зі спільним доступом",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "آٹومیشن شروع ہو گئی",
|
||||
"Automation updated": "آٹومیشن اپ ڈیٹ ہو گئی",
|
||||
"Automations": "آٹومیشنز",
|
||||
"Automations Sharing": "",
|
||||
"Available": "دستیاب",
|
||||
"Available list": "دستیاب فہرست",
|
||||
"Available models": "دستیاب ماڈلز",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "Open WebUI کمیونٹی کے ساتھ شیئر کریں",
|
||||
"Share your background and interests": "اپنا پس منظر اور دلچسپیاں شیئر کریں",
|
||||
"Shared": "مشترکہ",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "مشترکہ چیٹ",
|
||||
"Shared Chats": "مشترکہ چیٹس",
|
||||
"Shared note": "مشترکہ نوٹ",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "",
|
||||
"Automation updated": "",
|
||||
"Automations": "",
|
||||
"Automations Sharing": "",
|
||||
"Available": "",
|
||||
"Available list": "Мавжуд рўйхат",
|
||||
"Available models": "",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "Опен WебУИ ҳамжамиятига улашинг",
|
||||
"Share your background and interests": "",
|
||||
"Shared": "",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "",
|
||||
"Shared Chats": "",
|
||||
"Shared note": "",
|
||||
|
||||
@@ -402,6 +402,7 @@
|
||||
"Automation triggered": "",
|
||||
"Automation updated": "",
|
||||
"Automations": "",
|
||||
"Automations Sharing": "",
|
||||
"Available": "",
|
||||
"Available list": "Mavjud ro'yxat",
|
||||
"Available models": "",
|
||||
@@ -4400,6 +4401,7 @@
|
||||
"Share to Open WebUI Community": "Open WebUI hamjamiyatiga ulashing",
|
||||
"Share your background and interests": "",
|
||||
"Shared": "",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "",
|
||||
"Shared Chats": "",
|
||||
"Shared note": "",
|
||||
|
||||
@@ -387,6 +387,7 @@
|
||||
"Automation triggered": "Đã bắt đầu chạy tự động hóa",
|
||||
"Automation updated": "Đã cập nhật tự động hóa",
|
||||
"Automations": "Tự động hóa",
|
||||
"Automations Sharing": "",
|
||||
"Available": "Khả dụng",
|
||||
"Available list": "Danh sách có sẵn",
|
||||
"Available models": "Mô hình có sẵn",
|
||||
@@ -4376,6 +4377,7 @@
|
||||
"Share to Open WebUI Community": "Chia sẻ đến Cộng đồng OpenWebUI",
|
||||
"Share your background and interests": "Chia sẻ về bản thân và sở thích của bạn",
|
||||
"Shared": "Được chia sẻ",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "Chat được chia sẻ",
|
||||
"Shared Chats": "Chat đã chia sẻ",
|
||||
"Shared note": "Ghi chú được chia sẻ",
|
||||
|
||||
@@ -394,6 +394,7 @@
|
||||
"Automation triggered": "自动化任务已触发",
|
||||
"Automation updated": "自动化任务已更新",
|
||||
"Automations": "自动化任务",
|
||||
"Automations Sharing": "",
|
||||
"Available": "可用",
|
||||
"Available list": "可用列表",
|
||||
"Available models": "可用模型",
|
||||
@@ -4388,6 +4389,7 @@
|
||||
"Share to Open WebUI Community": "分享到 Open WebUI 社区",
|
||||
"Share your background and interests": "分享您的经历和兴趣爱好",
|
||||
"Shared": "已分享",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "",
|
||||
"Shared Chats": "已分享的对话",
|
||||
"Shared note": "",
|
||||
|
||||
@@ -387,6 +387,7 @@
|
||||
"Automation triggered": "已觸發自動化",
|
||||
"Automation updated": "已更新自動化",
|
||||
"Automations": "自動化",
|
||||
"Automations Sharing": "",
|
||||
"Available": "可用",
|
||||
"Available list": "可用清單",
|
||||
"Available models": "可用模型",
|
||||
@@ -4376,6 +4377,7 @@
|
||||
"Share to Open WebUI Community": "分享到 Open WebUI 社群",
|
||||
"Share your background and interests": "分享您的背景與興趣",
|
||||
"Shared": "已分享",
|
||||
"Shared by {{name}}": "",
|
||||
"Shared chat": "",
|
||||
"Shared Chats": "已分享的對話",
|
||||
"Shared note": "",
|
||||
|
||||
Reference in new issue
Block a user