1
0
Fork 0
mirror of synced 2024-09-06 12:51:43 +12:00
Commit graph

2419 commits

Author SHA1 Message Date
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
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
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
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
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
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
391d1127ca update container to accept new response format 2022-08-10 07:19:07 +00: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
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
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
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
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
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
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
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
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
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
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
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
Bradley Schofield
88064cdbaf Merge branch 'master' into fix-update-status-codes 2022-07-18 10:37:07 +01: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
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
Matej Bačo
d93ac31b4e Fix function usage missing 2022-07-13 08:57:57 +00:00
fogelito
f384a3352b change class from database:: to dateTime:: 2022-07-12 16:32:39 +03:00
fogelito
7e08575245 builds, stats 2022-07-11 18:12:41 +03:00
Torsten Dittmann
648b6f2038
Merge pull request #3532 from appwrite/fix-permission-array-lengths
Fix: Permissions validator max-length
2022-07-11 13:16:55 +02:00
Torsten Dittmann
5d7e7a48ad
Merge pull request #3509 from stnguyen90/fix-3508-hardcoded-db-schema
Fix hardcoded appwrite database schema
2022-07-11 12:16:04 +02:00
Torsten Dittmann
bddd477bd7
Merge pull request #3511 from appwrite/fix-attribute-dbid
Fix attribute databaseId
2022-07-11 12:13:35 +02:00
Matej Bačo
aae7ec6146 Upgrade to use new permissiosn validator features 2022-07-10 17:25:27 +00:00
shimon
428adcf47f logger moved to App::shutdown 2022-07-09 21:30:01 +03:00
shimon
59627ea9ef logger moved to App::shutdown 2022-07-09 21:24:28 +03:00
Steven
3666d0ab73 Add alias for POST /v1/account/sessions/email
Add /v1/account/sessions as an alias for POST /v1/account/sessions/email
for backwards compatibility.
2022-07-07 22:23:52 +00:00
shimon
b2b2534dcc logger moved to App::shutdown 2022-07-07 18:06:05 +03:00
shimon
a0cfc2110a logger moved to App::shutdown 2022-07-07 17:51:22 +03:00
fogelito
10ca7de6ba workers functions 2022-07-07 12:54:46 +03: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
Jake Barnby
d13afe0b2e Fix get deployment response type 2022-07-07 16:51:37 +12:00
Steven
8a0f2010a2 Fix hardcoded appwrite database schema 2022-07-06 17:04:29 +00:00
fogelito
d7244bd9ba Tests 2022-07-06 17:47:34 +03:00
Torsten Dittmann
9bdd1087ba
Merge pull request #3500 from appwrite/fix-internal-dates-update
Fix: createdAt bug after updating document
2022-07-06 12:54:50 +02:00
Jake Barnby
937240f244 Fix attribute databaseId 2022-07-06 17:13:29 +12:00
Steven Nguyen
ee4aff0ca4 Fix get collection usage alias 2022-07-06 04:07:53 +00:00
fogelito
ae4cb685c0 expire 2022-07-05 21:55:20 +03:00
fogelito
acba505144 addCookie timestamp 2022-07-05 21:24:10 +03:00
fogelito
2630d0b56c certificate getRenewDate 2022-07-05 19:29:12 +03:00
Matej Bačo
9f364bb9dd Fix document date 2022-07-05 16:07:07 +00:00
fogelito
203b3058a2 providerAccessTokenExpiry 2022-07-05 16:06:55 +03:00
fogelito
a9a91603d1 account expire 2022-07-05 13:59:03 +03:00
shimon
27333035c0 restore 2022-07-05 10:48:52 +03:00
shimon
0c2c030b71 restore 2022-07-05 10:46:41 +03:00
shimon
56a21b3968 small fix 2022-07-05 10:37:46 +03:00
Shimon Newman
716c62ba8f
Update app/controllers/api/avatars.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-07-05 10:10:58 +03:00
fogelito
903ca342cb Model changes 2022-07-04 13:11:38 +03:00
fogelito
8628105eef Model changes 2022-07-04 12:55:11 +03:00
shimon
7b429bdcd7 cache cleanup 2022-07-03 12:36:59 +03:00
fogelito
73a19614e1 functions api 2022-07-02 17:38:53 +03:00
fogelito
cff5bab403 functions api 2022-07-02 17:25:44 +03:00
fogelito
6d46332f96 changing datetime from timestamp to datetime 2022-07-01 15:05:14 +03:00
Christy Jacob
9fdaa92bd1 feat: trigger sms for createVerification 2022-06-29 01:04:08 +02:00
Torsten Dittmann
f438d4695d
Merge pull request #3405 from appwrite/fix-internal-indexes
Feat: Allow internal indexes
2022-06-28 14:21:27 +02:00
Torsten Dittmann
e83cf382fd fix: all sdks and specs 2022-06-28 13:21:28 +02:00
Vincent (Wen Yu) Ge
9ceef4c096
Merge branch '0.15.x' into database-layer-docs 2022-06-24 12:39:06 -04:00
Matej Bačo
5a10a9494f
Update SCrypt tests 2022-06-24 14:30:39 +02:00
Torsten Dittmann
ef1daf8f1c Merge branch 'master' of https://github.com/appwrite/appwrite into 0.15.x 2022-06-24 14:15:42 +02:00
Torsten Dittmann
0f0654d49e
Merge pull request #3346 from gepd/feat-empty-payload
Allows to update permissions without payload
2022-06-24 14:09:01 +02:00
Christy Jacob
43f834c0bd feat: add new errors for phone auth 2022-06-24 12:49:00 +02:00