Steven Nguyen
2befa60350
Track a user's last activity
...
A user will have an accessedAt timestamp that will update at most once
per day if they make some API call. This timestamp can then be used
find active users and calculate daily, weekly, and monthly active users.
To ensure consistent updates to the user the $user from the resource
is always updated to the user making the request, including requests
like Create Account, Update Team Membership Status, and Create Phone
Session (confirmation). This ensures the shutdown can update the
accessedAt timestamp if there was a $user set.
2023-07-19 22:22:58 -07:00
Torsten Dittmann
7020c85f78
tests: fix teams tests
2023-03-23 13:06:48 +01:00
Torsten Dittmann
10cd97e978
Merge branch '1.3.x' of https://github.com/appwrite/appwrite into feat-team-prefs
2023-03-23 13:03:50 +01:00
Torsten Dittmann
496da61cd9
feat: team preferences
2023-03-06 19:54:02 +05:30
Torsten Dittmann
6e5b8fab4b
fix: implement new framework changes
2023-03-01 17:30:36 +05:30
fogelito
b301a64dc4
clean up some use classes not in use
2022-12-21 10:02:22 +02:00
fogelito
91db596b42
remove static $dateValidator
2022-12-19 13:21:09 +02:00
fogelito
bdc3e9f935
$dateValidator
2022-12-15 10:51:27 +02:00
fogelito
8ade726932
Changing Role + Permissions namespace
2022-12-14 18:04:06 +02:00
fogelito
f96128e14f
Changing Id
2022-12-14 17:42:25 +02:00
Torsten Dittmann
0e2e7395a9
ci: increase test timeouts
2022-09-14 19:17:03 +02:00
Matej Bačo
e9c29a4812
Update createExecution param default value
2022-09-07 08:24:49 +00:00
Jake Barnby
02f54eca65
Fix tests
2022-09-06 13:02:32 +12:00
Matej Bačo
0897cd0fe4
Merge branch '0.16.x' into feat-variables-api
2022-08-31 09:37:47 +02:00
Jake Barnby
22f0468c8e
Merge remote-tracking branch 'origin/0.16.x' into feat-allow-automatic-test-retries
...
# Conflicts:
# app/controllers/api/teams.php
# package-lock.json
# package.json
# tests/e2e/Services/Teams/TeamsBase.php
2022-08-30 23:14:28 +12:00
Jake Barnby
f4d916a4d2
Rename FlakyTest attribute to Retry
2022-08-30 23:10:15 +12:00
Jake Barnby
bbeeb356ab
Allow flaky tests to be automatically retried with an attribute
2022-08-26 21:21:08 +12:00
Bradley Schofield
0d81918685
Merge remote-tracking branch 'origin/refactor-permissions-inc-console-fix' into feat-variables-api
2022-08-19 11:25:39 +01:00
Jake Barnby
66539bbe3a
Review updates for role helper usage
2022-08-19 16:04:33 +12:00
Jake Barnby
6a5de3e0b6
Merge remote-tracking branch 'origin/fix-datetime-attributes' into refactor-permissions-inc-queries-update-datetime-fixes
...
# Conflicts:
# app/config/collections.php
# app/controllers/api/databases.php
# app/controllers/api/projects.php
# app/controllers/api/teams.php
# composer.json
# composer.lock
# tests/e2e/Services/Account/AccountBase.php
# tests/e2e/Services/Databases/DatabasesBase.php
# tests/e2e/Services/Functions/FunctionsCustomServerTest.php
# tests/e2e/Services/Projects/ProjectsConsoleClientTest.php
# tests/e2e/Services/Storage/StorageBase.php
# tests/e2e/Services/Storage/StorageCustomClientTest.php
# tests/e2e/Services/Storage/StorageCustomServerTest.php
# tests/e2e/Services/Teams/TeamsBase.php
# tests/e2e/Services/Webhooks/WebhooksBase.php
# tests/e2e/Services/Webhooks/WebhooksCustomClientTest.php
# tests/e2e/Services/Webhooks/WebhooksCustomServerTest.php
# tests/unit/Auth/AuthTest.php
2022-08-14 23:11:05 +12:00
Jake Barnby
b007acfa95
ID updates
2022-08-14 22:33:36 +12:00
Jake Barnby
fe5d3a1892
Use permission helpers
2022-08-14 17:21:11 +12:00
Jake Barnby
68cc919aaa
Test fixes
2022-08-14 02:10:28 +12:00
Jake Barnby
09b001e891
PR fixes
2022-08-13 02:41:57 +12:00
Jake Barnby
d2b9102f84
Merge remote-tracking branch 'origin/0.16.x' into refactor-permissions-inc-console-fix
...
# Conflicts:
# tests/e2e/Services/Databases/DatabasesBase.php
# tests/e2e/Services/Databases/DatabasesCustomServerTest.php
2022-08-13 00:54:27 +12:00
Bradley Schofield
42e0895dad
Fix Tests
2022-08-09 16:29:24 +01:00
Bradley Schofield
6882ffaa00
Merge branch '0.16.x' into feat-variables-api
2022-08-09 13:37:24 +01:00
fogelito
82a240998b
Merge branch '0.16.x' of github.com:appwrite/appwrite into origin/datetime-attributes
...
Conflicts:
composer.lock
src/Appwrite/Stats/Usage.php
2022-08-09 14:20:26 +03:00
Jake Barnby
a61fd030ff
Fix storage tests
2022-08-09 19:11:30 +12:00
Jake Barnby
62b1eba836
Replace write refs
2022-08-05 17:23:18 +12:00
Bradley Schofield
2650706be1
Run Linter
2022-08-03 13:35:11 +00:00
Bradley Schofield
f62ad19ecd
Fix old function tests
2022-08-03 13:32:50 +00:00
Jake Barnby
1f0b55bfed
Update execute permission refs
2022-08-03 22:11:39 +12:00
Jake Barnby
1ab86c9331
Role reference updates
2022-08-03 16:17:49 +12:00
Jake Barnby
ce38e74ba2
Update remaining services to new permissions
2022-08-02 21:21:53 +12:00
Bradley Schofield
ac184a6fe3
Fix realtime and webhook tests
2022-07-20 13:43:18 +01:00
Bradley Schofield
74a53af316
Fix Tests
2022-07-18 14:22:23 +01:00
fogelito
bded3da5df
Fix comments
2022-07-14 17:56:50 +03:00
fogelito
1b74473421
remove comments
2022-07-14 16:51:47 +03:00
fogelito
97250d8193
Merge remote-tracking branch 'origin/origin/datetime-attributes' into origin/datetime-attributes
2022-07-14 16:35:25 +03:00
fogelito
0816dd15f9
remove comments
2022-07-14 16:12:44 +03:00
Torsten Dittmann
5604a6837f
Merge branch '0.16.x' of https://github.com/appwrite/appwrite into origin/datetime-attributes
2022-07-14 14:14:05 +02:00
fogelito
30054d177b
web hook test for joined
2022-07-13 19:28:03 +03:00
fogelito
76b65c5dea
change test validations from strings to datetime
2022-07-13 16:55:57 +03:00
fogelito
7ab26e5b0d
change test validations from strings to datetime
2022-07-13 15:51:27 +03:00
fogelito
fc39281bdb
change test validations from strings to datetime
2022-07-12 21:12:35 +03:00
fogelito
f676a0bf9e
change test validations from strings to datetime
2022-07-12 19:44:58 +03:00
Matej Bačo
aae7ec6146
Upgrade to use new permissiosn validator features
2022-07-10 17:25:27 +00:00
fogelito
e0f2d59864
scheduleNext + schedulePrevious functions changes
2022-07-07 12:26:30 +03:00
fogelito
29436c1e5f
Datetime change for joined and invited
2022-07-07 10:44:28 +03:00