Jake Barnby
b12fc12caa
Fix usage for datetime attributes
2022-08-25 23:49:45 +12:00
Jake Barnby
9ccffe9af2
Inherit permissions after role checks to ensure users can update document permissions created by server with other users roles
2022-08-25 23:46:56 +12:00
Jake Barnby
e6e126dff4
Catch AuthorzationExceptions from database to throw 401 instead of 500
2022-08-25 23:30:26 +12:00
Matej Bačo
bc73b7bbf0
Fix bugs after merge
2022-08-25 10:28:13 +00:00
Matej Bačo
e44efb43d1
Fix exception params
2022-08-25 10:13:36 +00:00
Matej Bačo
9d440552bd
Merge remote-tracking branch 'origin/feat-list-endpoints-queries' into feat-variables-api
2022-08-25 10:02:27 +00:00
Matej Bačo
c85363f355
Fix bugs after merge
2022-08-25 09:59:28 +00:00
Matej Bačo
6a22768c9c
Merge remote-tracking branch 'origin/feat-list-users-queries' into feat-list-endpoints-queries
2022-08-25 09:35:06 +00:00
Matej Bačo
f15f8e7bf0
Linter fix
2022-08-25 09:34:36 +00:00
Matej Baco
8513bb2dbe
Merge branch 'feat-list-endpoints-queries' into feat-variables-api
2022-08-25 11:14:42 +02:00
Matej Baco
fd1068a600
Merge branch 'feat-list-users-queries' into feat-list-endpoints-queries
2022-08-25 10:56:06 +02:00
Jake Barnby
7159f9c187
Merge remote-tracking branch 'origin/origin/datetime-attributes' into refactor-permissions-inc-console-fix
...
# Conflicts:
# app/config/specs/open-api3-latest-client.json
# app/config/specs/open-api3-latest-console.json
# app/config/specs/open-api3-latest-server.json
# app/config/specs/swagger2-latest-client.json
# app/config/specs/swagger2-latest-console.json
# app/config/specs/swagger2-latest-server.json
# src/Appwrite/Usage/Calculators/Database.php
2022-08-25 20:53:52 +12:00
Matej Baco
c6e614d896
Merge branch 'refactor-permissions-inc-console-fix' into feat-list-users-queries
2022-08-25 10:38:43 +02:00
fogelito
064d538023
Merge remote-tracking branch 'origin/origin/datetime-attributes' into origin/datetime-attributes
2022-08-25 11:14:48 +03:00
fogelito
c30189f903
Vincent Changes Apply
2022-08-25 11:14:27 +03:00
Shmuel Fogel
c04734048f
Update app/controllers/api/databases.php
...
Co-authored-by: Vincent (Wen Yu) Ge <wenyu1999@hotmail.com>
2022-08-25 11:05:01 +03:00
Jake Barnby
e7298b13b0
Merge remote-tracking branch 'origin/0.16.x' into origin/datetime-attributes
...
# Conflicts:
# app/config/specs/open-api3-latest-client.json
# app/config/specs/open-api3-latest-console.json
# app/config/specs/open-api3-latest-server.json
# app/config/specs/swagger2-latest-client.json
# app/config/specs/swagger2-latest-console.json
# app/config/specs/swagger2-latest-server.json
# app/workers/builds.php
# src/Appwrite/Stats/Usage.php
# src/Appwrite/Usage/Calculators/Database.php
2022-08-25 18:26:30 +12:00
Jake Barnby
625608804e
Merge remote-tracking branch 'origin/0.16.x' into refactor-permissions-inc-console-fix
...
# Conflicts:
# app/config/specs/open-api3-latest-client.json
# app/config/specs/open-api3-latest-console.json
# app/config/specs/open-api3-latest-server.json
# app/config/specs/swagger2-latest-client.json
# app/config/specs/swagger2-latest-console.json
# app/config/specs/swagger2-latest-server.json
# app/controllers/api/databases.php
# app/controllers/api/storage.php
# app/workers/builds.php
# src/Appwrite/Stats/Usage.php
# src/Appwrite/Usage/Calculators/Database.php
2022-08-25 18:21:15 +12:00
Jake Barnby
3149a298a7
Aggregate before role checks
2022-08-25 15:51:21 +12:00
Jake Barnby
002b30d110
Fix missing check for existing validity on listFiles
2022-08-25 13:05:31 +12:00
Jake Barnby
b434dfb6b8
Fix missing check for existing validity on listDocuments
2022-08-25 13:04:47 +12:00
Steven
fc38771d69
Merge branch 'refactor-permissions-inc-console-fix' into feat-list-users-queries
2022-08-24 18:52:39 +00:00
Matej Bačo
65d09705ac
Simplify class name
2022-08-24 18:25:15 +00:00
Matej Bačo
cb6a186c5d
PR review changes
2022-08-24 15:07:18 +00:00
Matej Bačo
b765ad603d
Merge remote-tracking branch 'origin/refactor-permissions-inc-console-fix' into feat-variables-api
2022-08-24 14:12:41 +00:00
Matej Bačo
4b01ff3f51
Use new query methods
2022-08-24 14:10:56 +00:00
Jake Barnby
d4b270e527
Better storage permission checks
2022-08-25 01:24:54 +12:00
Jake Barnby
0d3c1cba9a
Better database permission checks
2022-08-25 01:24:19 +12:00
Matej Bačo
bd7395cb44
Bug fixing, upgrade tests to new syntax
2022-08-24 09:22:13 +00:00
Jake Barnby
dabaa49f8d
Remove redundant extra permissions checks for document read/update/delete
2022-08-24 20:50:05 +12:00
Jake Barnby
ea4b177b83
Fix team permissions
2022-08-24 20:26:47 +12:00
Matej Bačo
01a57d91ad
Fix listDocument queries validation
2022-08-23 16:33:08 +00:00
Matej Bačo
7fb74027d4
Upgrade listDocuments queries
2022-08-23 15:18:59 +00:00
Matej Bačo
531d57feff
Upgrade listMemberships queries
2022-08-23 13:16:46 +00:00
Matej Bačo
2d82eed4be
Linter fix
2022-08-23 13:10:27 +00:00
Matej Bačo
b1348dbdd8
Upgrade account logs queries
2022-08-23 13:06:59 +00:00
Matej Bačo
36903d6358
Upgrade document&collection&database logs queries
2022-08-23 13:03:38 +00:00
Matej Bačo
79560c13e6
Upgrade teamListLogs queries
2022-08-23 12:50:52 +00:00
Matej Bačo
e068bcdbc1
Upgrade listCollections queries
2022-08-23 12:30:28 +00:00
Matej Bačo
94acd32d69
Upgrade listDatabases queries
2022-08-23 09:40:17 +00:00
Matej Bačo
17e41eee1d
Upgrade listExecutions queries
2022-08-23 09:26:34 +00:00
Matej Bačo
a92f96bf80
Upgrade listDeployments queries
2022-08-23 09:12:48 +00:00
Matej Bačo
1eee0baa28
Upgrade listFunctions queries
2022-08-23 09:02:06 +00:00
Matej Bačo
6c971f6ece
Upgrade listTeams queries
2022-08-23 08:56:28 +00:00
Matej Bačo
d1f6cb31d6
Upgrade listFiles queries
2022-08-23 08:49:39 +00:00
Matej Bačo
6fcd3757fe
Upgrade listBuckets queries
2022-08-23 08:37:55 +00:00
Matej Bačo
e780c90dd6
Merge branch 'feat-list-users-queries' into feat-list-endpoints-queries
2022-08-23 08:10:13 +00:00
Jake Barnby
00441885d2
Remove fallback setting for missing permissions
2022-08-23 13:42:53 +12:00
Jake Barnby
e989735e89
Remove permissions processor
2022-08-23 13:42:25 +12:00
Steven
66ff297103
Refactor Queries Validation
2022-08-22 19:16:20 +00:00
Jake Barnby
8841f8fe76
Merge remote-tracking branch 'origin/master' into feat-graphql-support
...
# Conflicts:
# app/controllers/general.php
# app/controllers/shared/api.php
# composer.json
# composer.lock
2022-08-22 21:13:29 +12:00
Jake Barnby
eb1476b28b
Apply validator updates to OpenAPI3
2022-08-22 14:27:17 +12:00
Damodar Lohani
77958b465e
update database usage params label
2022-08-21 02:10:21 +00:00
Damodar Lohani
6af467398b
update usage labels
2022-08-21 02:04:52 +00:00
Damodar Lohani
c5a8e470c5
update usage labels to match audits labels pattern
2022-08-21 02:03:19 +00:00
Damodar Lohani
2205ecd9c6
null safety checks
2022-08-20 11:20:31 +00:00
Steven
e70eb61717
Fix bug with list documents and new queries
2022-08-20 00:47:10 +00:00
Steven
2bde7aa02b
Fix databases tests
2022-08-20 00:15:18 +00:00
Steven
3890dea35b
Add additional Validators for Queries
2022-08-19 23:20:22 +00:00
Steven
a5bc07c9e4
Merge branch 'feat-list-users-queries' into feat-list-user-logs-queries
2022-08-19 22:00:54 +00:00
Steven
c1cdad5566
Merge branch 'refactor-permissions-inc-console-fix' into feat-list-users-queries
2022-08-19 14:50:50 +00:00
Matej Bačo
926d1c6459
Fix incorrect endpoint information
2022-08-19 14:14:39 +00: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
Christy Jacob
74a5bd2556
feat: update default values
2022-08-19 09:54:26 +00:00
Matej Bačo
30c157c23e
Linter fix, update tests
2022-08-19 09:43:03 +00:00
Christy Jacob
2a750eaa73
Merge branch 'refactor-permissions-inc-console-fix' of https://github.com/appwrite/appwrite into feat-improve-keys
2022-08-19 09:32:22 +00:00
Matej Bačo
61ab41bf86
Implement status of oauth providers, and refactor response models
2022-08-19 09:21:51 +00:00
Christy Jacob
278afd77c0
Merge branch 'origin/datetime-attributes' of https://github.com/appwrite/appwrite into feat-improve-keys
2022-08-19 09:20:08 +00:00
Jake Barnby
e4392bdbfb
Merge fixes
...
(cherry picked from commit 24875e352d
)
2022-08-19 17:12:20 +12:00
Jake Barnby
24875e352d
Merge fixes
2022-08-19 17:05:39 +12:00
Jake Barnby
cb6fc7f618
Merge branch 'origin/datetime-attributes' into refactor-permissions-inc-console-fix
...
# Conflicts:
# .gitignore
# app/config/collections.php
# app/controllers/api/account.php
# app/controllers/api/databases.php
# app/controllers/api/storage.php
# app/controllers/api/users.php
# composer.lock
# tests/e2e/Services/Account/AccountCustomClientTest.php
2022-08-19 16:49:34 +12:00
Jake Barnby
5f990ecb6d
Fix imports
2022-08-19 16:28:40 +12:00
Jake Barnby
7019be987c
Merge remote-tracking branch 'origin/0.16.x' into origin/datetime-attributes
...
# Conflicts:
# app/config/specs/open-api3-latest-client.json
# app/config/specs/open-api3-latest-console.json
# app/config/specs/open-api3-latest-server.json
# app/config/specs/swagger2-latest-client.json
# app/config/specs/swagger2-latest-console.json
# app/config/specs/swagger2-latest-server.json
# app/controllers/api/account.php
# app/controllers/api/users.php
# app/controllers/shared/api.php
# app/workers/deletes.php
# composer.lock
# docker-compose.yml
# phpunit.xml
# src/Appwrite/Event/Delete.php
2022-08-19 16:20:19 +12:00
Jake Barnby
9819088563
Lint
2022-08-19 16:05:00 +12:00
Jake Barnby
66539bbe3a
Review updates for role helper usage
2022-08-19 16:04:33 +12:00
Steven
27f69e3c09
Consolidate List User Logs API params
...
Replace limit and offset params with a single queries param since the
Queries V2 change now allows for different types of queries.
2022-08-19 00:09:34 +00:00
Steven
f0d66985f7
Consolidate List Users API params
...
Replace search, limit, offset, cursor, cursorDirection, and orderType
params with a single queries param since the Queries V2 change now
allows for different types of queries.
2022-08-18 19:30:39 +00:00
Damodar Lohani
db9faebcc9
Update app/controllers/api/account.php
...
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-08-18 16:04:19 +05:45
Damodar Lohani
3e43424129
Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-usage-updates
2022-08-18 00:49:31 +00:00
Damodar Lohani
4d482ebb81
fix accounts PR
2022-08-18 00:31:56 +00:00
shimon
d1aa3fea4f
sync with 0.16
2022-08-17 18:03:53 +03:00
shimon
a2af9fef2d
sync with 0.16
2022-08-17 17:57:56 +03:00
shimon
9fc2e4c3a5
sync with 0.16
2022-08-17 17:29:22 +03:00
shimon
cc9a166146
Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label
...
Conflicts:
app/controllers/api/storage.php
app/controllers/shared/api.php
2022-08-17 17:08:54 +03:00
Damodar Lohani
d4f02402bd
Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates
2022-08-17 10:38:16 +00:00
Damodar Lohani
0d97580361
fix usage params in execution
2022-08-17 10:13:50 +00:00
shimon
e94c7eba83
more audit labels on users new routes
2022-08-17 13:01:16 +03:00
Damodar Lohani
a1e6f7bdf4
Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates
2022-08-17 09:34:40 +00:00
shimon
835ef0ffc1
small fix
2022-08-17 12:25:47 +03:00
shimon
9c68cff317
Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-file-cache-cleanup
...
Conflicts:
composer.json
composer.lock
2022-08-17 11:16:09 +03:00
shimon
88f6a67802
sync with 0.16
2022-08-17 10:36:38 +03:00
shimon
cc887beae9
sync with 0.16
2022-08-17 10:32:42 +03:00
shimon
2dc8fba40a
Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label
...
Conflicts:
app/controllers/api/account.php
app/controllers/api/users.php
composer.json
composer.lock
2022-08-17 10:05:37 +03:00
Damodar Lohani
3bc0aa8dca
fix merge issues
2022-08-17 02:35:55 +00:00
Damodar Lohani
80dfa85c82
Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates
2022-08-17 00:45:07 +00:00
Christy Jacob
4b0c707fd3
Merge branch 'origin/datetime-attributes' of https://github.com/appwrite/appwrite into feat-ui-datetime
2022-08-16 20:37:05 +00:00
Eldad A. Fux
69a4f51d58
Merge pull request #3656 from appwrite/feat-functions-console-logs
...
Functions Console Logs Capture
2022-08-16 23:23:53 +03:00
Matej Bačo
7a1dfbfb8d
Fix passwordUpdate time for non-pass users
2022-08-16 15:56:54 +00:00
shimon
7ad7d1807e
fill gaps from merge
2022-08-16 17:56:05 +03:00
shimon
5d284b8c27
fill gaps from merge
2022-08-16 16:20:35 +03:00
Matej Bačo
2814a6f680
Linter fix
2022-08-16 13:03:38 +00:00
Matej Bačo
3088535806
Added phone number to UsersAPI createUser + tests
2022-08-16 13:02:28 +00:00
Jake Barnby
b09aaabd14
Fix teams exception
2022-08-17 00:14:22 +12:00
Matej Bačo
1e96f8c3d9
Revert changes regarding AccountAPI createAccount
2022-08-16 12:05:46 +00:00
shimon
de42895096
fill gaps from merge
2022-08-16 14:27:50 +03:00
Jake Barnby
e3ec275a51
Cleaner permission checks
2022-08-16 23:26:38 +12:00
shimon
beaad6c49d
fill gaps from merge
2022-08-16 13:19:38 +03:00
shimon
923a741c5a
Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label
...
Conflicts:
app/controllers/api/account.php
app/controllers/api/functions.php
app/controllers/api/users.php
2022-08-16 12:47:51 +03:00
Jake Barnby
1aa36b6b2c
Simplify permission checks
2022-08-16 21:08:14 +12:00
Jake Barnby
326220762e
Exception fixes
2022-08-16 21:07:30 +12:00
shimon
8f8f033d1a
fill gaps from merge
2022-08-16 12:00:28 +03:00
Jake Barnby
5d84d6d43f
Lint
2022-08-16 20:33:06 +12:00
Jake Barnby
bbf7f8d8c3
Merge remote-tracking branch 'origin/origin/datetime-attributes' into refactor-permissions-inc-console-fix
...
# Conflicts:
# app/controllers/api/databases.php
# app/controllers/api/storage.php
# src/Appwrite/Extend/Exception.php
2022-08-16 20:30:00 +12:00
Jake Barnby
fb34ecfa7d
Merge remote-tracking branch 'origin/0.16.x' into datetime-attributes-merge
...
# Conflicts:
# app/controllers/api/account.php
# app/controllers/api/databases.php
# app/controllers/api/functions.php
# app/controllers/api/projects.php
# app/controllers/api/storage.php
# app/controllers/api/teams.php
# app/controllers/api/users.php
# app/controllers/general.php
# app/controllers/shared/api.php
2022-08-16 19:20:26 +12:00
Christy Jacob
5b7b39a300
Revert "Fix Endpoint Order"
2022-08-16 12:29:03 +05:30
Jake Barnby
f672269a8c
Handle aggregates per resource type at the controller level
2022-08-16 17:54:44 +12:00
Damodar Lohani
34fd6763e1
Update app/controllers/api/account.php
...
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-08-16 11:14:55 +05:45
Damodar Lohani
4fb743e934
fix lint errors
2022-08-16 05:23:51 +00:00
Damodar Lohani
94d9bb8a18
Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-functions-console-logs
2022-08-16 04:42:03 +00:00
Damodar Lohani
078b1ec377
updating to use if condition
2022-08-16 04:34:49 +00:00
shimon
9770f10a8c
fill gaps from merge
2022-08-15 20:33:44 +03:00
shimon
f091774afd
fill gaps from merge
2022-08-15 20:04:23 +03:00
shimon
590c1467bc
Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label
...
Conflicts:
app/controllers/api/account.php
app/controllers/api/functions.php
app/controllers/api/users.php
2022-08-15 18:19:59 +03:00
shimon
f12ccfa02a
prefix removed from storage audits label
2022-08-15 16:59:58 +03:00
shimon
df0bdeb8a3
some fixes
2022-08-15 16:55:11 +03:00
Jake Barnby
bf2fa212aa
Fix setting defaults
2022-08-16 01:16:20 +12:00
Jake Barnby
28e7934aeb
Update document/file validator allowed permissions
2022-08-16 01:02:02 +12:00
Jake Barnby
b53f185ec6
Remove permissions processor
2022-08-16 00:56:19 +12:00
shimon
67d12d3120
some fixes
2022-08-15 15:16:32 +03:00
Jake Barnby
77a28a2de7
Don't use ID helper with existing ID's
2022-08-15 23:24:31 +12:00
Jake Barnby
813e9135c6
Review fixes
2022-08-15 22:11:17 +12:00
shimon
0dc485d8d7
some fixes
2022-08-15 12:05:41 +03:00
Eldad A. Fux
72e524963c
Update app/controllers/api/account.php
...
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-08-15 11:30:58 +03:00
Christy Jacob
7723c633a0
feat: fix tests
2022-08-15 13:24:54 +05:30
Jake Barnby
33970276b2
Self review
2022-08-15 19:20:10 +12:00
Christy Jacob
509f9083c9
Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-reorder-endpoints-2
2022-08-15 12:43:24 +05:30
Jake Barnby
66f518b531
Fix team membership delete
2022-08-15 18:04:00 +12:00
Damodar Lohani
c0d05132df
fix usage metric typo in database
2022-08-15 05:50:36 +00:00
Damodar Lohani
a5aa20ac5c
Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates
2022-08-15 05:35:14 +00:00
shimon
5e476a2e5a
some fixes
2022-08-15 07:29:44 +03:00
Jake Barnby
cb4a256d5f
Merge remote-tracking branch 'origin/feat-ui-datetime' into refactor-permissions-inc-queries-update-datetime-fixes
...
# Conflicts:
# app/config/specs/open-api3-latest-client.json
# app/config/specs/open-api3-latest-console.json
# app/config/specs/open-api3-latest-server.json
# app/config/specs/swagger2-latest-client.json
# app/config/specs/swagger2-latest-console.json
# app/config/specs/swagger2-latest-server.json
# composer.lock
# public/dist/scripts/app-all.js
# public/dist/scripts/app-dep.js
# public/dist/scripts/app.js
# public/dist/styles/default-ltr.css
# public/dist/styles/default-rtl.css
# public/scripts/dependencies/appwrite.js
2022-08-15 12:05:52 +12:00
shimon
c0d8337417
some fixes
2022-08-14 23:45:05 +03:00
shimon
104e6564f7
some fixes
2022-08-14 23:06:21 +03:00
shimon
cabe989555
some fixes
2022-08-14 22:42:20 +03:00
shimon
1109004727
some fixes
2022-08-14 22:27:43 +03:00
Eldad Fux
95181546b4
Adpated tests
2022-08-14 21:09:24 +03:00
shimon
857803e362
some fixes
2022-08-14 21:02:38 +03:00
Eldad Fux
98e2564330
Merge branch 'feat-password-hash-algos' of https://github.com/appwrite/appwrite into feat-missing-phone-param
2022-08-14 20:22:52 +03:00
Eldad Fux
bd77354926
Fixed test
2022-08-14 20:22:01 +03:00
Eldad A. Fux
340cfb0104
Update app/controllers/api/users.php
2022-08-14 20:01:32 +03:00
Eldad Fux
22c38a484f
Merge branch 'feat-password-hash-algos' of https://github.com/appwrite/appwrite into feat-missing-phone-param
2022-08-14 19:43:53 +03:00
Eldad Fux
7d83f9d644
Removed import path
2022-08-14 19:29:07 +03:00
Eldad Fux
98fc8669e1
Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-password-hash-algos
2022-08-14 19:23:30 +03:00
Eldad Fux
2ed9199bf1
Added the ability to create a user with a phone number
2022-08-14 18:10:12 +03:00
shimon
ab27e0a74d
some fixes
2022-08-14 18:01:34 +03:00
Jake Barnby
613a0f8006
ID and test fixes
2022-08-15 02:22:38 +12:00
Eldad Fux
b36c24c508
Decouple Auth code from SMS provider adapter
2022-08-14 17:19:58 +03:00
Eldad Fux
25f176875d
Changed provider name from phone to sms
2022-08-14 16:43:41 +03:00
Eldad A. Fux
d641fbb635
Merge pull request #3588 from appwrite/feat-simplify-exceptions
...
Simplify Exception Creation
2022-08-14 15:27:52 +03:00
Jake Barnby
9c260164ef
Merge remote-tracking branch 'origin/feat-datetime-attributes-with-database-query-update' into refactor-permissions-inc-queries-update-datetime-fixes
...
# Conflicts:
# app/controllers/api/databases.php
# app/controllers/api/storage.php
# app/controllers/general.php
# app/controllers/shared/api.php
# composer.json
# composer.lock
2022-08-14 23:46:34 +12:00
Damodar Lohani
5120158bdb
Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates
2022-08-14 11:39:41 +00: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
Christy Jacob
26634cdf0b
feat: linter fix
2022-08-14 15:52:19 +05:30
Christy Jacob
bb4693ddfc
feat: update email session endpoint
2022-08-14 15:41:21 +05:30
Damodar Lohani
d9745b3477
fix execution list UI
2022-08-14 09:23:41 +00:00
Christy Jacob
979768fc9f
Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-reorder-endpoints-2
2022-08-14 14:42:14 +05:30
Christy Jacob
70d2ebf55b
feat: tests
2022-08-14 14:25:59 +05:30
Damodar Lohani
3ce8565513
hide execution stdout and stderr on client side response
2022-08-14 08:54:11 +00:00
Damodar Lohani
734454ee85
hiding stdout and stderr on client execution response
2022-08-14 08:44:17 +00:00
Christy Jacob
ebb9af1eb2
feat: re-order functions endpoint
2022-08-14 13:56:11 +05:30
Christy Jacob
8e24dbe22f
feat: update exception class
2022-08-14 13:35:11 +05:30
Christy Jacob
cfab9221f2
feat: exceptions on more files
2022-08-14 12:32:41 +05:30
Christy Jacob
a5bc0a61ca
feat: exceptions on more files
2022-08-14 12:26:12 +05:30
Steven
610ec1a6a4
Update database query syntax
2022-08-14 05:44:55 +00:00
Jake Barnby
a8698b6065
Lint
2022-08-14 17:24:50 +12:00
Jake Barnby
b2e659bd3f
Review fixes
2022-08-14 17:21:33 +12:00
Jake Barnby
fe5d3a1892
Use permission helpers
2022-08-14 17:21:11 +12:00
Bradley Schofield
237f5264d9
Fix vars exception, change cachedoc usage,
2022-08-13 20:18:48 +01:00
Christy Jacob
5296e61d35
feat: address issues on accounts controller
2022-08-13 20:45:19 +05:30
shimon
630954c94e
some fixes
2022-08-13 17:55:27 +03:00
Christy Jacob
8b23dcd69e
fix: update constructor, remove account entity, add missing ID error
2022-08-13 20:14:04 +05:30
Jake Barnby
ed712fb196
Merge remote-tracking branch 'origin/0.16.x' into refactor-permissions-inc-console-fix
...
# Conflicts:
# app/controllers/general.php
# composer.lock
2022-08-14 02:31:06 +12:00
Jake Barnby
bdc8202422
Bad request for create permission on document/file
2022-08-14 02:24:28 +12:00
Jake Barnby
68cc919aaa
Test fixes
2022-08-14 02:10:28 +12:00
shimon
51e3fc8cab
some fixes
2022-08-13 12:59:34 +03:00
Eldad A. Fux
a91584853c
Merge pull request #3558 from appwrite/fix-teams-roles-no-owner
...
Fix teams roles no owner
2022-08-13 12:37:11 +03:00
shimon
e8a2e30bb5
Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-file-cache-cleanup
2022-08-13 10:35:54 +03:00
shimon
48b2fb0b36
Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label
2022-08-13 10:34:25 +03:00
shimon
cc9dad6bb8
Tidy up
2022-08-13 10:34:03 +03:00
Jake Barnby
737ebe408c
Don't add create permission to documents/files if missing
2022-08-13 18:34:04 +12:00
Damodar Lohani
560bd97fcd
organize metrics
2022-08-13 05:02:18 +00:00
Damodar Lohani
c1c325505b
organize metrics
2022-08-13 05:01:43 +00:00
Damodar Lohani
85f39ec0ef
organize metrics
2022-08-13 05:00:22 +00:00
Damodar Lohani
02074a93ef
remove unused import
2022-08-13 04:55:42 +00:00
Damodar Lohani
d688187e23
update metrics value
2022-08-13 04:39:01 +00:00
Damodar Lohani
74a159ab99
fix key
2022-08-13 03:44:57 +00:00
Eldad Fux
3c7a7f0fa4
Merge branch '0.16.x' of https://github.com/appwrite/appwrite into origin/datetime-attributes
2022-08-13 06:21:50 +03:00
Damodar Lohani
be00b64b7e
Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates
2022-08-13 03:14:28 +00:00
Steven
1abe9d4c01
Merge branch '0.16.x' into fix-datetime-attributes
2022-08-12 22:54:33 +00:00
Christy Jacob
9693c6e941
Merge branch 'master' of github.com:appwrite/appwrite into 0.16.x
2022-08-12 21:44:36 +05:30
Bradley Schofield
83c1129ed5
Add TODO Warning
2022-08-12 17:01:25 +01:00
Bradley Schofield
930120fc4d
Update app/controllers/api/users.php
...
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-08-12 16:55:58 +01:00
Bradley Schofield
cb87c248d5
Rebuild Specs, SDKs and start working on subqueries
2022-08-12 16:51:24 +01:00
Jake Barnby
8d4191b1a0
Lint
2022-08-13 02:46:50 +12:00
Jake Barnby
09b001e891
PR fixes
2022-08-13 02:41:57 +12:00
Bradley Schofield
d86e4ac0b6
Run Linter
2022-08-12 15:15:58 +01:00
Bradley Schofield
d9104ceced
Update capitalisation on some names
2022-08-12 15:15:36 +01:00
Bradley Schofield
7af92b3b30
Fix Endpoint Order
2022-08-12 15:10:41 +01:00
shimon
1af95fcdaa
Tidy up
2022-08-12 16:21:32 +03: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
Jake Barnby
c104860448
Use roles validator for function execution
2022-08-13 00:23:58 +12:00
shimon
90cfac9b52
replace request param extractions
2022-08-12 14:01:12 +03:00
Jake Barnby
1d7c25b561
Single role per permissions entry
2022-08-12 22:36:59 +12:00
shimon
b5f977e46d
adding user to audits labels
2022-08-11 16:19:05 +03:00
Eldad A. Fux
f4bbcc9fa3
Merge pull request #3619 from appwrite/fix-phone-search
...
Fix: User Search attribute (phone)
2022-08-11 14:20:44 +03:00
Damodar Lohani
cd9efec4d2
refactor
2022-08-11 06:49:20 +00:00
Damodar Lohani
1753dbe8b0
fix formatting
2022-08-11 06:18:37 +00:00
Damodar Lohani
b5f5aff626
fix response and project usage issues
2022-08-11 06:05:38 +00:00
Damodar Lohani
63371ce76e
functions usage stats using route labels
2022-08-11 05:25:39 +00:00
Damodar Lohani
c5993ba8b9
storage usage stats via route labels
2022-08-11 02:18:22 +00:00
Damodar Lohani
e666ae2b2e
fix users usage endpoint
2022-08-11 02:11:31 +00:00
Damodar Lohani
5647f957a7
users metrics via route labels
2022-08-11 01:43:02 +00:00
Damodar Lohani
73f675aebe
Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates
2022-08-11 01:15:29 +00:00
Bradley Schofield
15fbe86124
Fix variables not being correctly used
2022-08-10 14:43:05 +01:00
shimon
5a15d29a22
sync with 0.16.x
2022-08-10 12:22:55 +03:00
shimon
d31c23d25a
Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label
...
Conflicts:
app/controllers/api/databases.php
2022-08-10 12:18:05 +03:00
Damodar Lohani
cb369dd326
update account routes usage labels
2022-08-10 08:45:10 +00:00
Damodar Lohani
391d1127ca
update container to accept new response format
2022-08-10 07:19:07 +00:00
Damodar Lohani
8aa7486e71
database usage stats working via labels
2022-08-10 02:33:46 +00:00
Damodar Lohani
ebf3d813cb
refactor database usage to labels
2022-08-10 02:18:18 +00:00
Damodar Lohani
16fe9e241a
Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates
2022-08-10 01:49:27 +00:00
Bradley Schofield
42e0895dad
Fix Tests
2022-08-09 16:29:24 +01:00
shimon
d2519c9a5b
addressing comments
2022-08-09 17:38:54 +03:00
Torsten Dittmann
5db5f7217f
Merge branch 'origin/datetime-attributes' of https://github.com/appwrite/appwrite into feat-ui-datetime
2022-08-09 14:49:08 +02:00
Bradley Schofield
6882ffaa00
Merge branch '0.16.x' into feat-variables-api
2022-08-09 13:37:24 +01:00
Bradley Schofield
d4da9d823b
Add API Descriptions and use APP_LIMIT_COUNT
2022-08-09 13:11:50 +01:00
shimon
092e682591
Merge branch 'master' of github.com:appwrite/appwrite into feat-file-cache-cleanup
...
Conflicts:
app/controllers/shared/api.php
2022-08-09 15:02:29 +03:00
Bradley Schofield
c4d453b738
Update Variables API Signature
2022-08-09 12:56:45 +01:00
fogelito
db5d737235
Merge branch '0.16.x' of github.com:appwrite/appwrite into origin/datetime-api
...
Conflicts:
tests/e2e/Services/Databases/DatabasesBase.php
2022-08-09 14:37:21 +03:00
Christy Jacob
6a6c7d4b90
Merge pull request #3547 from appwrite/fix-update-status-codes
...
Use 202 when resources are created asyncronously
2022-08-09 14:42:40 +05:30
Jake Barnby
3611f9df94
Parameter order fix
2022-08-09 18:58:08 +12:00
Damodar Lohani
bce998cb53
update imports and fix database usage
2022-08-09 06:28:38 +00:00
Jake Barnby
216486a4c6
Fix DB tests
2022-08-09 18:03:41 +12:00
Jake Barnby
fb0168ea50
Fix erroneous whitespace
2022-08-09 14:48:39 +12:00
shimon
6e0b7cc650
leftovers
2022-08-08 18:44:11 +03:00
shimon
2d7a2bb57f
leftovers
2022-08-08 18:23:45 +03:00
shimon
62ef532801
leftovers
2022-08-08 17:32:54 +03:00
Bradley Schofield
43660d9c8f
Merge branch 'master' into feat-simplify-exceptions
2022-08-08 15:03:01 +01:00
shimon
89f164bdd7
resource namespace
2022-08-08 15:19:41 +03:00
Jake Barnby
69a79f660f
Storage permission check fixes
2022-08-08 22:58:36 +12:00
Jake Barnby
20f621d05c
Databases permission check fixes
2022-08-08 22:58:28 +12:00
shimon
a6a9ad8cc0
databases controller
2022-08-08 11:14:27 +03:00
shimon
e9ef94e8af
account controller
2022-08-07 18:49:30 +03:00
shimon
c8196c41d4
api::payload
2022-08-07 18:09:37 +03:00
shimon
ec39ff267c
api::parseLabel
2022-08-07 17:30:47 +03:00
shimon
f4c1a5ea35
response::send
2022-08-07 14:01:00 +03:00
Christy Jacob
c96f1e76e2
feat: add new attributes for API Keys
2022-08-05 15:50:48 +05:30
Jake Barnby
5e4a422495
Use helpers to process permissions
2022-08-05 18:01:25 +12:00
Jake Barnby
e8af744c97
More write ref updates
2022-08-05 18:00:56 +12:00
Jake Barnby
bed6eb70af
Replace write refs
2022-08-05 17:23:32 +12:00
Jake Barnby
62b1eba836
Replace write refs
2022-08-05 17:23:18 +12:00
Damodar Lohani
34794d2554
Merge branch 'master' of https://github.com/appwrite/appwrite into feat-usage-updates
2022-08-04 06:03:39 +00:00
Jake Barnby
54b07a9446
Handle document/file level security in collections layer
2022-08-04 16:20:11 +12:00
Jake Barnby
d9f0ece812
Remove new properties from DB level
2022-08-04 12:08:16 +12:00
Eldad A. Fux
8e49b8365c
Merge pull request #3590 from iifawzi/fix-3583-fixing-create-team-membership-to-return-added-name-email
...
Fixing #3583 - create team membership to return added person name and…
2022-08-04 00:07:29 +03:00
Bradley Schofield
f62ad19ecd
Fix old function tests
2022-08-03 13:32:50 +00:00
Jake Barnby
7b9fb32fae
Update role references
2022-08-03 21:52:34 +12:00
Jake Barnby
dbb8e5421a
Fix syntax error
2022-08-03 17:43:03 +12:00
Jake Barnby
1ab86c9331
Role reference updates
2022-08-03 16:17:49 +12:00
Eldad A. Fux
a9cfb06ee9
Merge pull request #3586 from appwrite/feat-hooks-implementation
...
implementing new Utopia hooks
2022-08-03 07:17:44 +03:00
Bradley Schofield
452a8512c4
Add Tests
2022-08-02 16:11:15 +00:00
Bradley Schofield
31897bc7b5
Run Linter
2022-08-02 10:34:04 +00:00
Bradley Schofield
9d9935a625
First working draft of new UI
2022-08-02 10:05:58 +00:00
Jake Barnby
ce38e74ba2
Update remaining services to new permissions
2022-08-02 21:21:53 +12:00
Jake Barnby
4520114780
Refactor storage to use new permissions
2022-08-02 21:19:15 +12:00
Jake Barnby
9a182d615a
Refactor databases to use new permissions
2022-08-02 21:18:49 +12:00
Damodar Lohani
51a6db995a
groups at the top in hooks
2022-08-02 01:10:48 +00:00
Bradley Schofield
66fcbee0df
Start working on adding UI
2022-08-01 15:13:47 +00:00
shimon
cc93113934
Reference comments
2022-07-31 15:11:49 +03:00
shimon
45ad0f6bdf
Reference comments
2022-07-30 22:10:30 +03:00
shimon
39d2f6b981
Reference comments
2022-07-30 21:55:36 +03:00
shimon
5511a93e9c
Expires header returned to the endpoints
2022-07-28 18:24:18 +03:00
Torsten Dittmann
ba65b5a58f
fix duplicates
2022-07-28 14:51:47 +02:00
Torsten Dittmann
a4588cc848
Merge branch 'master' of https://github.com/appwrite/appwrite into origin/datetime-api
2022-07-28 14:49:28 +02:00
Torsten Dittmann
e3fee55e3d
Merge branch 'origin/datetime-api' of https://github.com/appwrite/appwrite into origin/datetime-api
2022-07-28 14:45:15 +02:00
Torsten Dittmann
7b95c46cf5
Merge branch 'master' of https://github.com/appwrite/appwrite into origin/datetime-api
2022-07-28 14:40:45 +02:00
Torsten Dittmann
bd550f8a1e
feat: ui for datetime attribute
2022-07-28 14:38:54 +02:00
fogelito
ba40ac4e90
Change models Class name
2022-07-28 13:26:22 +03:00
Matej Bačo
15b5df10a4
Fix search attribute regarding phone number
2022-07-28 09:36:08 +00:00
Damodar Lohani
f555568d50
Update app/controllers/api/functions.php
...
Co-authored-by: Matej Bačo <matejbacocom@gmail.com>
2022-07-28 12:40:14 +05:45
Bradley Schofield
467d8b2cd2
Fix linting errors
2022-07-27 14:50:13 +01:00
Bradley Schofield
e3a3ca4c0d
Translate more errors
...
+ Fixed an issue where some errors that should use 401 uses 400 error codes
+ Updated error messages and tests for multiple exceptions
2022-07-27 14:47:35 +01:00
Jake Barnby
d92328dbb4
Merge remote-tracking branch 'origin/master' into fix-teams-roles-no-owner
2022-07-27 19:57:06 +12:00
Steven
723c6f5436
Fix incorrect databases links
2022-07-26 23:16:47 +00:00
Bradley Schofield
3c808ca895
Fix problem with Exception class
2022-07-26 15:56:59 +01:00
Bradley Schofield
96c6c0ff00
Migrate all exceptions to new signature
2022-07-26 15:24:32 +01:00
shimon
d09bf306ce
response changes
2022-07-26 15:50:33 +03:00
Matej Bačo
ef3496d55b
Bug fixing afte merge
2022-07-25 12:37:29 +00:00
Matej Bačo
dbccf39a9f
Merge branch 'master' into feat-password-hash-algos
2022-07-25 12:37:07 +00:00
fogelito
b58c04c28b
Add attribute datetime
2022-07-25 11:53:41 +03:00
Fawzi E. Abdulfattah
3f09575740
get the invitee info from the db
...
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-07-25 06:09:35 +02:00
shimon
16ed2c1572
tidy up
2022-07-24 18:22:31 +03:00
shimon
f214ead6f6
tidy up
2022-07-24 12:49:51 +03:00
Matej Bačo
61cba414bf
Fix linter
2022-07-24 08:22:24 +00:00
shimon
64050337cf
tidy up
2022-07-24 10:05:24 +03:00
shimon
02907f12f1
cache logic moved to api::init & api::shutdown
2022-07-23 20:42:42 +03:00
Fawzi E. Abdulfattah
9f45bce55f
Fixing #3583 - create team membership to return added person name and email
...
Signed-off-by: Fawzi E. Abdulfattah <iifawzie@gmail.com>
2022-07-23 01:51:58 +02:00
Bradley Schofield
40022decb4
Start working on simplifying exceptions
2022-07-22 15:38:06 +01:00
Damodar Lohani
b168dde502
implementing new Utopia hooks
2022-07-22 06:00:42 +00:00
Jake Barnby
24d0d84bd1
JSON decode packed query
2022-07-22 16:09:23 +12:00
Jake Barnby
427b25dfb7
Unpack query if request is coming from an SDK
2022-07-22 11:38:28 +12:00
Jake Barnby
f8649a1a8d
Add graphql sdk method type
2022-07-21 16:37:34 +12:00
Matej Bačo
183a18f618
Implement functions CRUD operations
2022-07-20 07:18:49 +00:00
Jake Barnby
8320fc0686
Use labels parameters to add extra methods to spec
2022-07-20 01:28:47 +12:00
Jake Barnby
2d0bc9c193
Add get tests
2022-07-19 14:11:58 +12:00
Damodar Lohani
1ca9e7ab3e
Merge branch 'master' of https://github.com/appwrite/appwrite into feat-usage-updates
2022-07-19 01:53:06 +00:00
Jake Barnby
37c832134b
Encode get query params for test
2022-07-19 13:41:31 +12:00
Jake Barnby
d3565b673e
Add get route test
2022-07-19 13:31:14 +12:00
Jake Barnby
4cf5797827
Expose upload as seperate endpoint for SDKs
2022-07-19 13:30:01 +12:00
Jake Barnby
ca62d67d37
Merge remote-tracking branch 'origin/master' into feat-graphql-support
2022-07-19 11:55:29 +12:00
Bradley Schofield
74a53af316
Fix Tests
2022-07-18 14:22:23 +01:00
Bradley Schofield
35c546782f
Change more status codes to 202
2022-07-18 10:43:51 +01:00
Jake Barnby
9333efd3c3
Format
2022-07-18 21:41:11 +12:00
Jake Barnby
e3bed0c636
Test fixes
2022-07-18 21:38:13 +12:00
Bradley Schofield
88064cdbaf
Merge branch 'master' into fix-update-status-codes
2022-07-18 10:37:07 +01:00
Jake Barnby
41dfd84543
Ensure user creating team with custom roles is always owner as well
2022-07-18 20:57:00 +12:00
Jake Barnby
f37bddbc6d
Ensure user creating team with custom roles is always owner as well
2022-07-18 20:55:59 +12:00
Jake Barnby
b8bd81e232
Add back fullBody params for testing
2022-07-18 19:31:07 +12:00
Jake Barnby
3530d3dfe0
Update env defaults
2022-07-18 19:29:37 +12:00
Jake Barnby
b3600ae576
Remove redundant param parameters
2022-07-18 14:53:06 +12:00
Damodar Lohani
f9d62599a4
fix get usage on Functions
2022-07-17 10:43:10 +00:00
Damodar Lohani
dbd941f464
fix param
2022-07-17 10:39:44 +00:00
Damodar Lohani
ff8e730b8a
new function usages endpoint
2022-07-17 10:30:58 +00:00
Ishan Vyas
af167a58a8
Fix SDK response type for get & update database call
...
Signed-off-by: Ishan Vyas <isvyas@gmail.com>
2022-07-17 12:44:37 +05:30
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
Bradley Schofield
5f0032bb7f
Use 202 when resources are created asyncronously
2022-07-14 10:52:55 +01:00
Jake Barnby
0b7b5496f3
Merge remote-tracking branch 'origin/master' into feat-graphql-support
...
# Conflicts:
# app/init.php
2022-07-14 20:13:41 +12:00
Jake Barnby
221e7b59c4
Add abuse test
2022-07-14 20:11:39 +12:00
Jake Barnby
4f5c7ddada
Add invalid query exception
2022-07-14 15:57:51 +12:00
Jake Barnby
4ee7f80433
Add too many queries exception
2022-07-14 15:57:34 +12:00
Jake Barnby
ded46774bc
Add max batch size env var
2022-07-14 15:56:02 +12:00
fogelito
9a8ef2a30d
change DatetimeValidator
2022-07-13 17:07:03 +03:00
fogelito
45ac40cc85
change function names
2022-07-13 17:02:49 +03:00
fogelito
76b65c5dea
change test validations from strings to datetime
2022-07-13 16:55:57 +03:00
Jake Barnby
3896cd3d39
No content responses
2022-07-14 01:34:25 +12:00
Jake Barnby
4ca6750309
Cleanup controller
2022-07-13 23:21:02 +12:00
Jake Barnby
a656699fa7
Code cleanup
2022-07-13 21:34:56 +12:00