ArnabChatterjee20k
5827f2ece6
fix: correct presence usage decrement in triggerPresenceUsage calls
2026-05-12 18:05:51 +05:30
ArnabChatterjee20k
c1cab2e41a
removed redundant
2026-05-12 17:33:21 +05:30
ArnabChatterjee20k
95dd44115d
refactor: update Dockerfile to remove composer stage and adjust presence handling in tests
2026-05-12 15:49:59 +05:30
ArnabChatterjee20k
cad35c7d5c
refactor: enhance presence deletion logic and add expiration check in Get action
...
Co-authored-by: Copilot <copilot@github.com >
2026-05-11 16:47:36 +05:30
ArnabChatterjee20k
5767ab8ac7
refactor: update triggerPresenceUsage to accept Document and streamline presence cleanup logic
2026-05-08 12:09:12 +05:30
ArnabChatterjee20k
f526fc8577
roles updated
2026-05-08 11:14:00 +05:30
ArnabChatterjee20k
a1811570b3
fix: update presence permissions from read to write in roles and HTTP handlers
2026-05-08 10:49:38 +05:30
Jake Barnby
a8f33ab964
Merge branch '1.9.x' into presence-api
2026-05-07 19:13:57 +12:00
ArnabChatterjee20k
6679d02a35
refactor: rename connection to connectionId for consistency across handlers
2026-05-07 11:48:45 +05:30
loks0n
8201fea9ef
Differentiate executor timeouts for builds, sync, and async executions
...
Adds Executor\Exception\Timeout (with timeoutSeconds) and translates it at
each call site into BUILD_TIMEOUT, FUNCTION_SYNCHRONOUS_TIMEOUT, or
FUNCTION_ASYNCHRONOUS_TIMEOUT instead of always using the misleading sync
function error. Build timeouts now append to streamed buildLogs rather
than replacing them, and the build worker reports its timeout via Span.
2026-05-06 15:54:11 +01:00
Matej Bačo
e834a95213
PR review improvements
2026-05-06 16:21:50 +02:00
Matej Bačo
d2b551cd12
Fix refreshing nonoauth sessions
2026-05-06 15:50:18 +02:00
Matej Bačo
ec927104fe
Merge pull request #12221 from appwrite/fix-variables-api-feature-parity
...
Feat: Variables API feature parity
2026-05-06 11:27:32 +02:00
Matej Bačo
1ccf058c14
Fix failing tests
2026-05-06 10:19:30 +02:00
Jake Barnby
1273bcd33a
Merge pull request #11673 from appwrite/big-int
...
Big int
2026-05-06 20:17:45 +12:00
Matej Bačo
add2b7b64a
Merge pull request #12208 from appwrite/feat-public-proxy-api
...
Feat: Public Proxy API
2026-05-06 10:15:57 +02:00
ArnabChatterjee20k
a0d77ba1b2
Merge remote-tracking branch 'origin/1.9.x' into big-int
2026-05-06 13:22:37 +05:30
ArnabChatterjee20k
d2ea6ef2ca
removed redundant dumps
2026-05-06 12:33:42 +05:30
ArnabChatterjee20k
1946ee86b2
feat: add realtime message handlers for authentication, ping, presence, subscribe, and unsubscribe
2026-05-06 12:20:06 +05:30
Damodar Lohani
c9ad685e11
fix(indexes): use empty lengths for mixed-type composite to match existing pattern
...
greptile flagged missing lengths but the codebase has two conventions:
- all-string composite: [LENGTH_KEY, LENGTH_KEY] (_key_unique, _key_provider_providerUid)
- mixed/non-string composite: [] (e.g. ('enabled', 'type'), ('region', 'accessedAt'),
('targetInternalId', 'topicInternalId'), ('period', 'time'), ('metric', 'period', 'time'))
(teamInternalId, confirm) is string+boolean; closest match is
('enabled', 'type') which uses lengths => [] and orders => [].
Aligning to that established pattern instead of inventing
[LENGTH_KEY, 0].
2026-05-06 04:48:53 +00:00
Damodar Lohani
83d56a2f36
fix(indexes): set explicit lengths + orders on new indexes (greptile P1)
...
All four new indexes left lengths/orders as empty arrays; greptile
flagged the inconsistency vs every existing string-attribute index in
the file (e.g. _key_team uses [LENGTH_KEY], _key_unique uses
[LENGTH_KEY, LENGTH_KEY]).
- memberships._key_team_confirm: [LENGTH_KEY, 0] for (string, boolean)
+ [ORDER_ASC, ORDER_ASC]
- projects._key_teamInternalId: [LENGTH_KEY] + [ORDER_ASC]
- platforms._key_project_id: [LENGTH_KEY] + [ORDER_ASC]
- webhooks._key_project_id: [LENGTH_KEY] + [ORDER_ASC]
2026-05-06 04:44:58 +00:00
Damodar Lohani
94c968e941
feat(indexes): add 4 missing indexes (CLO-2333)
...
- memberships: _key_team_confirm on (teamInternalId, confirm) for team-membership confirm-state queries
- projects: _key_teamInternalId on teamInternalId for team-scoped project lookups
- platforms: _key_project_id on projectId for user-facing-id lookups
- webhooks: _key_project_id on projectId for user-facing-id lookups
Re-applies the indexes from the stale PR #9629 (1.7.x base, conflicting)
onto a fresh 1.9.x branch. None of these are in 1.9.x today; existing
similar indexes target projectInternalId / teamId rather than the
user-facing projectId / teamInternalId queries this addresses.
2026-05-06 04:35:29 +00:00
Matej Bačo
48fbb59113
pr review fixes
2026-05-05 16:44:47 +02:00
Matej Bačo
305e8e1ec7
Add request filter
2026-05-05 16:24:41 +02:00
ArnabChatterjee20k
bca876acaf
Merge remote-tracking branch 'origin/1.9.x' into big-int
2026-05-05 18:55:11 +05:30
ArnabChatterjee20k
6eb84c8235
Merge remote-tracking branch 'origin/presence-api' into realtime-messsage-dispatchers
2026-05-05 18:48:05 +05:30
ArnabChatterjee20k
f455bb7a58
refactor: add checks for queueForEvents and queueForRealtime in container setup; enhance presence resolution in tests
2026-05-05 17:11:49 +05:30
Matej Bačo
32d30dfd9d
Fix copy
2026-05-05 13:06:57 +02:00
Matej Bačo
b0220292a7
Rename policies to prevent double scope usease
2026-05-05 12:58:06 +02:00
ArnabChatterjee20k
bdf6c660d9
Merge remote-tracking branch 'origin/1.9.x' into presence-api
2026-05-05 11:53:43 +05:30
ArnabChatterjee20k
b0a2ef271a
updated the queue for event propagation
2026-05-05 11:35:49 +05:30
ArnabChatterjee20k
4822164e32
Inject global helpers into PresenceHandler for improved testability and maintainability.
2026-05-04 17:14:09 +05:30
ArnabChatterjee20k
42542aec61
Enhance error handling and validation in Realtime message dispatchers. Update error messages for clarity and enforce required parameters in AuthenticationHandler.
2026-05-04 17:11:35 +05:30
ArnabChatterjee20k
ced5b88b57
Refactor message dispatching and handler parameters for improved clarity and consistency. Update AuthenticationHandler and PresenceHandler to enforce required parameters.
2026-05-04 16:37:35 +05:30
ArnabChatterjee20k
0e0e40f991
fixed the container inheritance bug
2026-05-04 15:59:25 +05:30
Matej Bačo
cd6f5c64f0
Improve proxy API quality
2026-05-04 11:48:02 +02:00
ArnabChatterjee20k
429454ca0e
added handlers
2026-05-04 11:18:22 +05:30
Matej Bačo
8f68a59a79
Apply suggestions from code review
...
Co-authored-by: Matej Bačo <matejbaco2000@gmail.com >
2026-05-03 19:51:56 +02:00
Matej Bačo
6051b8150c
Apply suggestions from code review
...
Co-authored-by: Matej Bačo <matejbaco2000@gmail.com >
2026-05-03 19:51:10 +02:00
Matej Bačo
4e20e382d2
Add deprecated function scopes
2026-05-03 19:49:13 +02:00
Chirag Aggarwal
413930a15e
Add Rust starter function template runtime
2026-05-02 12:19:07 +05:30
ArnabChatterjee20k
8cef822e8f
Refactor presence management to use userInternalId instead of userId for improved consistency and clarity. Updated relevant methods in PresenceState and Upsert classes to reflect this change, ensuring proper handling of user identifiers across the application.
2026-04-30 18:50:46 +05:30
ArnabChatterjee20k
e03218d8fa
reverted last change
2026-04-30 18:24:38 +05:30
ArnabChatterjee20k
4f030619da
temp gitignore
2026-04-30 18:03:25 +05:30
ArnabChatterjee20k
971858078c
updated
2026-04-30 16:50:04 +05:30
ArnabChatterjee20k
88bbb965f8
Merge remote-tracking branch 'origin/1.9.x' into presence-api
2026-04-30 16:41:48 +05:30
ArnabChatterjee20k
5510bc4f6a
Update userInternalId attribute type to VAR_ID and remove lengths from index definition for consistency.
2026-04-30 16:38:26 +05:30
ArnabChatterjee20k
d802c57cb9
Refactor presence management by introducing a new 'presenceLogs' collection and updating related API methods. Added error handling for presence not found scenarios and standardized parameter names across the Update and XList actions. Removed obsolete migration version 25 and adjusted migration mapping for version 1.9.4.
2026-04-30 16:22:28 +05:30
ArnabChatterjee20k
32dc870eaf
Refactor presence API functions and update expiry test to improve clarity and maintainability. Renamed 'triggerPresenceEvent' to 'getQueueForEventsForProject' and adjusted expiry handling in tests for better validation.
2026-04-30 15:56:31 +05:30
Shmuel Fogel
fbbab0f7e1
Merge pull request #12181 from appwrite/set-global-collection
...
Set global collection
2026-04-30 12:49:00 +03:00