1
0
Fork 0
mirror of synced 2024-08-20 12:41:26 +12:00
Commit graph

2552 commits

Author SHA1 Message Date
Damodar Lohani
c60a3a66a0 feat: session limit separate default and max value 2022-12-12 05:07:18 +00:00
Damodar Lohani
fd93c8aebd feat: add auth session limit param 2022-12-11 07:15:18 +00:00
Jake Barnby
ccc5f7776d
Cast to array for stdClass case 2022-12-08 18:02:35 +13:00
Jake Barnby
ddbd03388e
Remove prefixed items from additional data 2022-12-08 16:10:49 +13:00
Jake Barnby
fd52cdc45f
Revert prefix to _ 2022-12-08 16:08:57 +13:00
Jake Barnby
da2821b4a8
Fix blacklist entries 2022-12-08 13:10:35 +13:00
Matej Bačo
0a177713f0 Implement migration for mimeType 2022-12-07 11:01:58 +00:00
Jake Barnby
4de3289ebb
Remove redundant function 2022-12-07 19:29:24 +13:00
Jake Barnby
b6723b7c83
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	app/init.php
2022-12-06 20:38:09 +13:00
Torsten Dittmann
b382031ae7 chore: release 1.1.1 2022-11-23 18:43:48 +01:00
Jake Barnby
5a84a37a9e
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	app/init.php
2022-11-18 12:41:48 +13:00
Torsten Dittmann
dd34dfce22 fix: migration for oauthproviders 2022-11-17 15:33:46 +01:00
Torsten Dittmann
bba9284c3e chore: add comments to v16 migration 2022-11-17 14:58:16 +01:00
Torsten Dittmann
d1eae37577 fix: make migration for oauth providers non-destructive 2022-11-17 14:57:27 +01:00
Torsten Dittmann
36cc6d8621 chore: prepare 1.1.1 release 2022-11-17 14:38:49 +01:00
Torsten Dittmann
53adb4e114 fix: migration for oauth providers 2022-11-17 12:38:09 +01:00
Torsten Dittmann
eb5e853f2d fix: migration for stats region 2022-11-17 11:31:24 +01:00
Jake Barnby
f9d2976c1d
Merge remote-tracking branch 'origin/1.1.x' into feat-graphql-support
# Conflicts:
#	CHANGES.md
#	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/init.php
#	app/tasks/sdks.php
#	composer.lock
#	docker-compose.yml
2022-11-16 19:37:35 +13:00
Jake Barnby
dd6c5c056f
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	CHANGES.md
2022-11-16 19:31:40 +13:00
Torsten Dittmann
006cb4665e
Merge pull request #4674 from appwrite/fix-usage-executions
Fix: usage executions
2022-11-15 15:39:12 +01:00
Torsten Dittmann
344669db46
Merge pull request #4677 from appwrite/fix-realtime-console-project
chore: prepare release
2022-11-15 15:35:52 +01:00
Torsten Dittmann
35b7a2ee96 fix: linter 2022-11-15 15:22:57 +01:00
Torsten Dittmann
522ae8d538 feat: migration for 1.1.x 2022-11-15 13:59:35 +01:00
Bradley Schofield
64b725a6f7 Update Defaults 2022-11-15 10:19:35 +00:00
Matej Bačo
8dd5eb09f0 Fix executions usage count 2022-11-15 09:33:07 +00:00
Torsten Dittmann
825738ced9 chore: prepare 1.1.x 2022-11-14 22:42:48 +01:00
Bradley Schofield
3c71164741 Merge branch '1.1.x' into feat-implement-session-length-api 2022-11-14 15:30:38 +00:00
Ikko Ashimine
956db2ec2f
Fix typo in Model/Locale.php
Europian -> European
2022-11-14 21:31:08 +09:00
Bradley Schofield
43d4d6fec3 Address Eldad's Comments 2022-11-14 09:57:37 +00:00
Eldad A. Fux
42cedf8ed0
Merge pull request #3909 from appwrite/feat-usage-refactor
new stats to count resources
2022-11-10 11:05:36 +02:00
Bradley Schofield
29c30a361b Fix null warnings
- Fixed Avatars isset operator
- Added isset operator to openSSL data in files
- dns_get_record does not throw errors, instead it logs a warning and returns false. Altered code accordingly. PHP Bug Report: https://bugs.php.net/bug.php?id=73149
-
2022-11-09 11:45:15 +00:00
Torsten Dittmann
4befb19c35 feat: add databases and buckets to projects usage 2022-11-08 13:09:18 +01:00
Bradley Schofield
4dfafd1169 Merge branch 'master' into feat-implement-session-length-api 2022-11-04 16:11:38 +00:00
Bradley Schofield
e1f9a8e0ce Clean up a couple things and fix tests 2022-11-04 14:48:29 +00:00
Bradley Schofield
94676a6c16 Alter sessionVerify to remove expire 2022-11-04 09:50:59 +00:00
Damodar Lohani
4b5d537eee
Apply suggestions from code review
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2022-11-02 15:41:50 +05:45
Christy Jacob
bf34af86ac Merge branch '1.0.x' of github.com:appwrite/appwrite into 1.1.x 2022-11-01 22:24:53 +05:30
Bradley Schofield
cddacfbb78 Handle Eldad's Comments 2022-11-01 14:43:18 +00:00
Bradley Schofield
d34359fd49 Implement Variable Session Duration 2022-10-31 14:54:15 +00:00
Torsten Dittmann
d387f198db Merge branch 'master' of https://github.com/appwrite/appwrite into rebase-1.1.x 2022-10-31 09:45:51 +01:00
Damodar Lohani
4efabe9370 fix formatting 2022-10-31 07:44:44 +00:00
Damodar Lohani
cf5ecd5a62 ignore data without projectInternalId 2022-10-31 07:27:51 +00:00
Damodar Lohani
67113971d9 fix model 2022-10-31 07:27:43 +00:00
Damodar Lohani
4086ba93ad Merge remote-tracking branch 'origin/1.1.x' into feat-usage-refactor 2022-10-31 06:36:26 +00:00
Damodar Lohani
60f2d10a50 update variable namings 2022-10-28 09:54:56 +00:00
Damodar Lohani
6d7b30d77e fix formatting issues 2022-10-28 09:08:58 +00:00
Damodar Lohani
a0a0ef2386 update docblock comments and naming 2022-10-28 08:40:04 +00:00
Jake Barnby
c23cca950a
Merge branch 'fix-provider-model' into feat-graphql-support 2022-10-28 11:30:15 +13:00
Jake Barnby
9274ec6880
Fix type error 2022-10-28 11:26:32 +13:00
Jake Barnby
e46eeb3e16
Remove namespace from var name 2022-10-28 10:19:09 +13:00
Jake Barnby
e632731c4e
Merge remote-tracking branch 'origin/1.1.x' into feat-graphql-support 2022-10-27 12:24:57 +13:00
Torsten Dittmann
eb31bfb78e
Merge pull request #4418 from appwrite/feat-deployment-buildtime
Add build time to deployments
2022-10-26 18:42:53 +02:00
Jake Barnby
9fbf8d6aee
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	tests/e2e/General/HTTPTest.php
2022-10-26 13:54:52 +13:00
Steven Nguyen
ab2bb8176c
Fix create deployment realtime not triggering
Because the deployment event was missing the project ID, the realtime
event never fired.
2022-10-25 13:38:04 -07:00
Jake Barnby
b6e7e84d50
Comments 2022-10-25 16:35:00 +13:00
Torsten Dittmann
461c12c7fe
Merge pull request #3701 from appwrite/feat-oauth-improvements
Feat: OAuth improvements
2022-10-24 17:57:40 +02:00
Damodar Lohani
c8b5301267 update maintenance to delete only hourly metrics older than 3 months 2022-10-23 07:29:13 +00:00
Damodar Lohani
cbeb4984ab Merge remote-tracking branch 'origin' into feat-usage-refactor 2022-10-23 05:23:29 +00:00
Damodar Lohani
8048d24857 deprecate database aggregation 2022-10-23 05:17:50 +00:00
Damodar Lohani
3ed3ef9d71 rename variable 2022-10-23 04:46:23 +00:00
Eldad A. Fux
04066af992
Merge pull request #4277 from appwrite/feat-phone-examples
Add meaningful phone number to generated examples.
2022-10-22 12:42:31 +03:00
Damodar Lohani
9195c813db missing documents total count 2022-10-21 01:53:39 +00:00
Damodar Lohani
088fd89294 fix metric name 2022-10-21 01:40:26 +00:00
Jake Barnby
f9a32f6011
Fix reserved attribute selections 2022-10-21 13:53:54 +13:00
Jake Barnby
19123257fc
Strip $ instead of replace to match SDK models 2022-10-20 15:29:56 +13:00
Jake Barnby
120b788343
Update resolvers for framework changes 2022-10-20 12:22:46 +13:00
Jake Barnby
ce76fb58b1
Update request/response extensions for framework changes 2022-10-20 12:12:09 +13:00
Jake Barnby
f6dc7b2068
Add OAuth to blacklist 2022-10-19 13:23:42 +13:00
Jake Barnby
c2e0ef3f98
Merge remote-tracking branch 'origin/1.0.x' into feat-graphql-support
# Conflicts:
#	CHANGES.md
2022-10-19 13:21:06 +13:00
Jake Barnby
a2b1941a47
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	CONTRIBUTING.md
#	composer.json
#	composer.lock
#	docs/references/teams/list-teams.md
2022-10-19 13:17:56 +13:00
Akshay Rana
c08f2e65e6
Updated timestamp format
Co-authored-by: Steven <1477010+stnguyen90@users.noreply.github.com>
2022-10-18 22:22:01 +05:30
Damodar Lohani
5ff8ac46aa fix negative stats 2022-10-18 08:28:12 +00:00
Damodar Lohani
8cd4060334 fix storage stats 2022-10-18 07:38:05 +00:00
Damodar Lohani
027dafe906 fix linters 2022-10-18 07:26:28 +00:00
Damodar Lohani
e7c82a28dd more fixes 2022-10-18 07:09:11 +00:00
Damodar Lohani
305dafe2ad update missing stats 2022-10-18 06:53:17 +00:00
Damodar Lohani
8093f034c0 fix inbound and outbount 2022-10-18 03:53:07 +00:00
Damodar Lohani
a3f14220d3 take care of negative values 2022-10-18 03:19:12 +00:00
Matej Bačo
97df10e6b8 Fix project pagination in usage containers 2022-10-17 11:45:38 +00:00
Damodar Lohani
00d194d5d1 fix linters 2022-10-17 07:37:30 +00:00
Akshay Rana
1fcc5eccb1 updated timestamp format to ISO string in realtime payload 2022-10-17 12:44:44 +05:30
Damodar Lohani
ffe029932d refactor stats 2022-10-17 06:59:27 +00:00
Damodar Lohani
f78cb09694 Merge remote-tracking branch 'origin/master' into feat-usage-refactor 2022-10-17 06:55:01 +00:00
Jake Barnby
fb5d2fc25c
Abstract setting params to init 2022-10-17 13:27:15 +13:00
Jake Barnby
cecc6dada2
Merge remote-tracking branch 'origin/1.1.x' into feat-graphql-support
# 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/init.php
#	composer.json
#	composer.lock
2022-10-17 12:04:13 +13:00
Damodar Lohani
51cbc653af use metadata constant 2022-10-14 11:26:33 +00:00
Damodar Lohani
185b206076 fix moved constant 2022-10-14 11:23:20 +00:00
Damodar Lohani
e7b9ba70b6 fix error 2022-10-14 11:07:20 +00:00
Damodar Lohani
dee4f5c517 use metadata constants 2022-10-14 11:07:07 +00:00
Damodar Lohani
e7e8c53d89 use same array for all metrics 2022-10-14 08:49:00 +00:00
Jake Barnby
d163217d1f
Remove Appwrite URL dependency from resolvers 2022-10-14 18:04:23 +13:00
Jake Barnby
a1718e8a44
Remove database dependency from mapper 2022-10-14 18:01:39 +13:00
Jake Barnby
09e0e948b5
Remove resolver database dependency 2022-10-14 18:00:22 +13:00
Jake Barnby
444c68e07e
Remove redundant error 2022-10-14 13:23:21 +13:00
Jake Barnby
4e60db0598
Use upstream raw payload function 2022-10-13 16:56:12 +13:00
Jake Barnby
9c372d7335
Fix checking content type with postfixes 2022-10-13 14:32:06 +13:00
Jake Barnby
a2b532ed22
Set dirty property instead of in registry from shutdown 2022-10-13 12:59:32 +13:00
Jake Barnby
5c5bdac3d9
Add route blacklist instead of individual cases 2022-10-13 12:58:28 +13:00
Torsten Dittmann
99a6d7044c
Merge pull request #4433 from appwrite/1.0.x
sync: master <- 1.0.x
2022-10-12 13:22:40 +02:00
Torsten Dittmann
bc66efa1a5 chore: prepare 1.0.3 2022-10-12 12:03:55 +02:00
Jake Barnby
9821cc5e18
Check if value has then function when setting result to check external promise types 2022-10-12 21:48:58 +13:00
Jake Barnby
bb64bcc1c1
Allow cloning a request 2022-10-12 20:55:43 +13:00
Jake Barnby
597885028a
Use request setters 2022-10-12 20:55:04 +13:00
Jake Barnby
5debe2c13c
Alias + name fixes 2022-10-12 20:20:44 +13:00
Jake Barnby
b6621f5e87
Restructure schema building 2022-10-12 14:04:11 +13:00
Jake Barnby
39fcbe4d76
Restructure exception 2022-10-12 13:59:35 +13:00
Jake Barnby
4bc44183b6
Restructure type related helpers 2022-10-12 13:57:37 +13:00
Jake Barnby
ee2e8fcc23
Generify promises 2022-10-12 13:55:43 +13:00
fogelito
778751160b Merge branch '1.1.x' of github.com:appwrite/appwrite into bug_model_metric
 Conflicts:
	app/config/specs/open-api3-latest-console.json
	app/config/specs/swagger2-latest-console.json
2022-10-11 17:06:37 +03:00
Torsten Dittmann
e9ef7c0ecd
Merge pull request #4424 from appwrite/master
sync: 1.1.x <- master
2022-10-11 16:03:43 +02:00
fogelito
4250234231 Model MODEL_METRIC changes 2022-10-11 13:34:42 +03:00
Damodar Lohani
910c033d2a refactor build and execution time 2022-10-11 05:40:28 +00:00
Jake Barnby
bf194c30e9
Review updates 2022-10-11 13:38:06 +13:00
Jake Barnby
62038bd2a9
Passthru JSON objects 2022-10-11 12:32:04 +13:00
Jake Barnby
0716c430d6
Fix getting union implementations 2022-10-11 12:31:12 +13:00
Jake Barnby
96bce27642
Cherrypick empty model rules 2022-10-11 12:28:46 +13:00
Jake Barnby
fd8d4f4a1b
Add type property to hash algorithms to allow resolving union type implementation 2022-10-11 12:27:03 +13:00
Bradley Schofield
380a45f987 Add build time to deployment 2022-10-10 16:24:40 +01:00
Damodar Lohani
3ffc31ba58 fix formatting 2022-10-10 09:39:26 +00:00
Damodar Lohani
f41d388bf5 separate cumulative metrics 2022-10-10 09:13:20 +00:00
Jake Barnby
575b882b30
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	.github/workflows/tests.yml
#	composer.lock
2022-10-10 18:41:40 +13:00
Jake Barnby
f93099cbb6
Merge remote-tracking branch 'origin/1.1.x' into feat-integrate-messaging 2022-10-10 14:04:01 +13:00
Jake Barnby
608f1532a6
Merge remote-tracking branch 'origin/1.0.x' into feat-integrate-messaging
# Conflicts:
#	app/workers/messaging.php
#	src/Appwrite/SMS/Adapter/Mock.php
#	tests/e2e/Services/Account/AccountCustomClientTest.php
2022-10-10 14:01:59 +13:00
Damodar Lohani
8ddbde62c1 use project internal id 2022-10-09 06:45:46 +00:00
megatank58
d898ccd8e0
fix: correctly handle = in .env 2022-10-09 11:29:00 +05:30
sooraj
5958577a6e camel case update 2022-10-08 06:31:28 +05:30
sooraj
3a2d6da052 sanitized_url add in parse url 2022-10-07 06:11:38 +05:30
Sooraj S
81fc5ee6b3
Merge pull request #1 from appwrite/master
new
2022-10-06 09:01:55 +05:30
Vincent (Wen Yu) Ge
207941558f fix typo in email examples 2022-10-03 15:13:04 +00:00
Vincent (Wen Yu) Ge
3281b8bbd4 Add meaningful Phone number examples to specs 2022-10-03 15:06:44 +00:00
Matej Bačo
a883d3728f Allow teamId queries on listProjects 2022-10-03 07:16:49 +00:00
Jake Barnby
2bb8854f61
WIP integrate messaging library
(cherry picked from commit 9a25f77e3e7e76f6c93cc3ce1985f43426a0debf)

# Conflicts:
#	app/workers/messaging.php
#	src/Appwrite/SMS/Adapter/Mock.php
#	tests/e2e/Services/Account/AccountCustomClientTest.php
2022-10-03 13:28:30 +13:00
Torsten Dittmann
5d32ddb408 Merge branch '1.0.x' of https://github.com/appwrite/appwrite into chore-prepare-1-0-2 2022-09-30 14:36:53 +02:00
Torsten Dittmann
0c1222f0f5 Merge branch 'master' of https://github.com/appwrite/appwrite into 1.0.x 2022-09-30 14:23:06 +02:00
Torsten Dittmann
fbbb150e86 Revert "Merge pull request #4041 from appwrite/revert-3789-feat-app-region"
This reverts commit 2117fa53f0, reversing
changes made to c634d12ef4.
2022-09-30 14:22:11 +02:00
Torsten Dittmann
e0b9f57d85
Revert "Feat app region" 2022-09-30 12:32:58 +02:00
sooraj
f6c586986d sanitized url in url Validation 2022-09-30 15:58:56 +05:30
Torsten Dittmann
757a3f8651 chore: prepare 1.0.2 2022-09-30 12:27:26 +02:00
Torsten Dittmann
1b490233b6
Merge pull request #4038 from appwrite/fix-3949-migrate-audit-time
Fix migration for audit
2022-09-30 11:56:05 +02:00
Jake Barnby
6ac4d4f490
Handle response model union type rules 2022-09-30 19:59:20 +13:00
Jake Barnby
1fbcedec42
Move mapping functions to TypeMapper 2022-09-30 19:58:26 +13:00
Jake Barnby
f1429e8155
Move custom types to their own class 2022-09-30 19:51:27 +13:00
Steven Nguyen
c97fea37c0 Fix migration for audit
`time` attribute should be a DateTime type rather than int.
2022-09-29 19:15:54 +00:00
Jake Barnby
df651c3c78
Match class names instead of strings 2022-09-29 19:28:41 +13:00
Jake Barnby
b176929557
Sort schema 2022-09-29 19:27:57 +13:00
Jake Barnby
0471bf1c90
Only allow default values for optional params 2022-09-29 17:54:48 +13:00
Jake Barnby
73d0f033b8
Skip new models with no rules 2022-09-29 17:53:53 +13:00
Jake Barnby
e5b9e261c5
Upcase type names 2022-09-29 17:53:07 +13:00
Jake Barnby
6c81069b27
Custom type serialization fixes 2022-09-29 17:51:53 +13:00
Jake Barnby
5e1bb655dc
Fix scrypt algo response model rule default types 2022-09-29 16:54:01 +13:00