EAS build config + Collaboration UI + i18n updates
- eas.json for Android APK/AAB + iOS builds - Collaboration page: assign, transfer, claim, subtasks - Task detail: assignee avatars, subtask progress - Updated translations (cs,he,ru,ua) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -114,6 +114,17 @@ async function authRoutes(app) {
|
||||
return { status: 'not_implemented', provider, message: `${provider} OAuth coming soon. Configure at Settings > Connections.` };
|
||||
});
|
||||
|
||||
// Search users by name or email (for collaboration)
|
||||
app.get('/auth/users/search', async (req) => {
|
||||
const q = (req.query.q || '').trim();
|
||||
if (q.length < 2) return { data: [] };
|
||||
const { rows } = await app.db.query(
|
||||
"SELECT id, name, email, avatar_url FROM users WHERE (name ILIKE $1 OR email ILIKE $1) ORDER BY name LIMIT 20",
|
||||
["%" + q + "%"]
|
||||
);
|
||||
return { data: rows };
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
module.exports = authRoutes;
|
||||
|
||||
Reference in New Issue
Block a user