10000 0.8.x by eldadfux · Pull Request #1159 · appwrite/appwrite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

0.8.x #1159

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 633 commits into from
May 19, 2021
Merged

0.8.x #1159

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
633 commits
Select commit Hold shift + click to select a range
04fbb9b
tests: temporarily disable tests
TorstenDittmann Apr 20, 2021
f6c163d
Revert "tests: adjust schedule for functions"
TorstenDittmann Apr 20, 2021
26d8ef4
Revert "tests: add timeout after executing fiunction for webhooks"
TorstenDittmann Apr 20, 2021
6ed9788
tests: fix env skip for functions
TorstenDittmann Apr 20, 2021
a12db54
Merge branch '0.8.x' into feat-auth-limits
eldadfux Apr 20, 2021
36665e1
tests: use only latest env version
TorstenDittmann Apr 20, 2021
56c2c03
tests: remove cloud function env tests
TorstenDittmann Apr 20, 2021
b0cb7a9
Merge pull request #1097 from TorstenDittmann/fix-false-boolean-prope…
eldadfux Apr 20, 2021
791de55
Merge branch 'master' of github.com:appwrite/appwrite into dev
eldadfux Apr 21, 2021
71f7de0
Merge branch 'dev' of github.com:appwrite/appwrite into dev
eldadfux Apr 21, 2021
dcee9fc
Updated specs
eldadfux Apr 21, 2021
0a0af89
Updated CLI examples
eldadfux Apr 21, 2021
5d1492b
Fixed code examples
eldadfux Apr 21, 2021
2bcfaff
Updated SDK version
eldadfux Apr 21, 2021
25b03c9
feat: introduce appwrite/php-runtimes
TorstenDittmann Apr 21, 2021 8000
0719806
fix: runtime whitelist
TorstenDittmann Apr 21, 2021
664201c
composer: remove unused system library
TorstenDittmann Apr 21, 2021
cc34719
feat: preferences response model
TorstenDittmann Apr 21, 2021
222b9ab
chore: update changelog
TorstenDittmann Apr 21, 2021
5668579
fix: improve error message on anon login
TorstenDittmann Apr 21, 2021
9dd7549
Merge pull request #1103 from TorstenDittmann/fix-anon-login-error
eldadfux Apr 22, 2021
26a747d
feat: update new php-runtimes version
TorstenDittmann Apr 22, 2021
457aeb1
deps: update appwrite/php-runtimes to 0.1.*
TorstenDittmann Apr 22, 2021
7eb9891
chore: update composer dep to github and adust readme
TorstenDittmann Apr 22, 2021
fe5c004
revert: php-runtimes to composer dep
TorstenDittmann Apr 22, 2021
04d53ea
Fixed missing permissions
eldadfux Apr 23, 2021
ba49f4d
Merge branch '0.8.x' into feat-auth-limits
eldadfux Apr 23, 2021
a82531d
deps: update appwrite/php-runtimes to 0.2.0
TorstenDittmann Apr 23, 2021
cb5c88a
fix: use new runtimes filter syntax
TorstenDittmann Apr 23, 2021
4629cc1
Merge pull request #1101 from TorstenDittmann/feat-upgrade-php-versio…
eldadfux Apr 23, 2021
c80ddfb
Merge pull request #947 from appwrite/feat-auth-limits
eldadfux Apr 23, 2021
5b2549c
deps: update swoole to 4.6.6
TorstenDittmann Apr 23, 2021
72f4f3a
tests: fix function execution
TorstenDittmann Apr 23, 2021
3d960a2
Merge branch '0.8.x' of https://github.com/appwrite/appwrite into fea…
TorstenDittmann Apr 23, 2021
2c12396
chore: update composer
TorstenDittmann Apr 23, 2021
d2792b3
tests: fix functions schedule
TorstenDittmann Apr 23, 2021
ef57c35
tests: debug travis
TorstenDittmann Apr 23, 2021
204a3c9
tests: debug travis
TorstenDittmann Apr 23, 2021
62f7418
revert: travis phpunit exec
TorstenDittmann Apr 23, 2021
1a4e813
Merge branch '0.8.x' of github.com:appwrite/appwrite into feat-god-user
eldadfux Apr 23, 2021
61a73ee
Updated vars order
eldadfux Apr 23, 2021
f7fa029
Updated image paths
eldadfux Apr 23, 2021
77fdd1a
Reverted
eldadfux Apr 23, 2021
be9b49d
fix: runtimes logo path
TorstenDittmann Apr 26, 2021
061f389
fix: test flow
TorstenDittmann Apr 26, 2021
9b75f7b
tests: debug travis
TorstenDittmann Apr 26, 2021
72d820e
tests: debug travis
TorstenDittmann Apr 26, 2021
a17bfff
tests: debug travis
TorstenDittmann Apr 26, 2021
038a93b
tests: debug travis
TorstenDittmann Apr 26, 2021
1bda854
tests: debug travis
TorstenDittmann Apr 26, 2021
2d909a1
tests: debug travis
TorstenDittmann Apr 26, 2021
8d0184a
tests: debug travis
TorstenDittmann Apr 26, 2021
e7fc22e
tests: debug travis
TorstenDittmann Apr 26, 2021
3a9b6e2
tests: debug travis
TorstenDittmann Apr 26, 2021
bc19c4c
tests: debug travis
TorstenDittmann Apr 26, 2021
0c98ee1
tests: debug travis
TorstenDittmann Apr 26, 2021
e3fa1e6
tests: debug travis
TorstenDittmann Apr 26, 2021
fa8f337
tests: debug travis
TorstenDittmann Apr 26, 2021
4b7ddb9
tests: debug travis
TorstenDittmann Apr 26, 2021
cc711df
tests: debug travis
TorstenDittmann Apr 26, 2021
18a927e
tests: debug travis
TorstenDittmann Apr 26, 2021
7084cc6
tests: debug travis
TorstenDittmann Apr 26, 2021
3838c93
tests: debug travis
TorstenDittmann Apr 26, 2021
140aa14
tests: debug travis
TorstenDittmann Apr 26, 2021
1367e57
tests: debug travis
TorstenDittmann Apr 26, 2021
4c511e4
deps: update composer
TorstenDittmann Apr 27, 2021
ee9a041
fix: breaking deps
TorstenDittmann Apr 27, 2021
4eb298e
fix: executions permission validation
TorstenDittmann Apr 27, 2021
f2426aa
fix: use authorization control instead of arguments
TorstenDittmann Apr 27, 2021
a21bb8d
tests: reorder tests
TorstenDittmann Apr 27, 2021
c905803
chore: updated changelog
TorstenDittmann Apr 27, 2021
ab325bf
chore: upgrade MaxMind-DB-Reader to 1.10.1
TorstenDittmann Apr 27, 2021
1c8be29
tests: debug influxdb
TorstenDittmann Apr 27, 2021
b747c5c
tests: try different influxdb
TorstenDittmann Apr 27, 2021
d775b17
tests: fix typo
TorstenDittmann Apr 27, 2021
acbf643
tests: revert influxdb image
TorstenDittmann Apr 27, 2021
5ddcdf1
fix: influx db client
TorstenDittmann Apr 27, 2021
4689d0b
Revert "fix: influx db client"
TorstenDittmann Apr 27, 2021
1ce0536
tests: re-arrange order
TorstenDittmann Apr 27, 2021
c557e6c
tests: add sleep before project usage test
TorstenDittmann Apr 27, 2021
107bbf5
tests: debug travis
TorstenDittmann Apr 28, 2021
ef7c454
tests: adjust curl
TorstenDittmann Apr 28, 2021
0ddefb9
tests: adjust curl
TorstenDittmann Apr 28, 2021
c3bf481
tests: remove debug
TorstenDittmann Apr 28, 2021
86c7ff7
tests: remove docker-compose upgrade
TorstenDittmann Apr 28, 2021
cffa50f
Merge pull request #1109 from TorstenDittmann/fix-executions-permissions
eldadfux Apr 28, 2021
c2a3d52
tests: revert debug changes
TorstenDittmann Apr 28, 2021
7ddf277
tests: only use php-8.0 for runtimes
TorstenDittmann Apr 28, 2021
ebd41c7
tests: add travis prepare script
TorstenDittmann Apr 28, 2021
cac9875
tests: clean up travis file
TorstenDittmann Apr 28, 2021
53526d4
chore: fix whitespace in travis file
TorstenDittmann Apr 28, 2021
3c4476f
fix: prevent throwing error when document is missing ID
TorstenDittmann Apr 29, 2021
24705f2
Merge branch '0.8.x' of https://github.com/appwrite/appwrite into fea…
TorstenDittmann Apr 29, 2021
e09c80c
Merge pull request #1111 from TorstenDittmann/fix-migration-errors
eldadfux Apr 29, 2021
6a19671
fix: adapt to review
TorstenDittmann Apr 29, 2021
d58cc60
fix: deprecation notice for
TorstenDittmann Apr 29, 2021
5e4b335
fix: cloud functions
TorstenDittmann Apr 29, 2021
5aad3f7
Merge pull request #713 from appwrite/feat-upgrade-php-version
eldadfux Apr 29, 2021
8e4a87e
Merge pull request #1102 from TorstenDittmann/feat-prefs-response-model
eldadfux Apr 29, 2021
7272ca8
Fixed missing default values
eldadfux Apr 30, 2021
0aaf504
Merge pull request #1113 from appwrite/fix-usage-worker-errors
eldadfux Apr 30, 2021
c42c0a6
Added new OS logos
eldadfux May 4, 2021
15522c2
feat(influxdb): introduce official client SDK
TorstenDittmann May 4, 2021
bf8994f
Revert "feat(influxdb): introduce official client SDK"
TorstenDittmann May 4, 2021
a466385
debug influx
TorstenDittmann May 4, 2021
3ab5fef
fix(influx): use curl as driver
TorstenDittmann May 4, 2021
cee42bf
tests(project): remove timeout from usage call
TorstenDittmann May 4, 2021
2db5ea6
Merge pull request #1117 from TorstenDittmann/feat-influxdb-client-php
eldadfux May 4, 2021
d5beb05
tests(project): change test order for influxdb to have a database
TorstenDittmann May 4, 2021
9c2b066
test(travis): use new runtimes env variable
TorstenDittmann May 4, 2021
fee94d3
Merge pull request #1118 from TorstenDittmann/fix-project-usage
eldadfux May 4, 2021
eaac52b
feat: allow external users to update password without oldPassword
christyjacob4 May 4, 2021
3b73ab4
Merge branch '0.8.x' of github.com:appwrite/appwrite into feat-new-pl…
eldadfux May 5, 2021
762bd8b
Merge pull request #1116 from appwrite/feat-new-platform-logos
eldadfux May 5, 2021
80328f1
feat: review comments
christyjacob4 May 6, 2021
e8172f7
feat: review comments
christyjacob4 May 6, 2021
d99f0cb
feat: review comments
christyjacob4 May 6, 2021
a0d30ae
chore(vars): fix typo on god account description
TorstenDittmann May 7, 2021
501f68c
Merge branch 'dev' of https://github.com/appwrite/appwrite into merge…
TorstenDittmann May 7, 2021
a6b08dd
chore(composer): update lock file
TorstenDittmann May 7, 2021
fd3d789
chore(composer): update composer
TorstenDittmann May 7, 2021
b357119
chore(changelog): update changelog
TorstenDittmann May 7, 2021
a512edf
Merge pull request #1127 from TorstenDittmann/merge-dev-into-0.8.x
eldadfux May 7, 2021
f128cd9
feat: refactor inviteId to membershipId
christyjacob4 May 7, 2021
391ff24
feat: refactor inviteId to membershipId
christyjacob4 May 7, 2021
18e12ee
feat: fix tests
christyjacob4 May 7, 2021
c97dcbf
feat: fix tests and update changelog
christyjacob4 May 10, 2021
0c3bcb4
poc certificate auto generation
lohanidamodar May 10, 2021
75d8076
skip certificate generation when localhost or hostname is IP
lohanidamodar May 10, 2021
934b9ae
Merge pull request #1129 from appwrite/feat-refactor-inviteid
eldadfux May 10, 2021
c22dd15
implementing review suggestions
lohanidamodar May 11, 2021
35b76c1
refactoring moving ssl generation to init function
lohanidamodar May 11, 2021
4170eaa
fix error
lohanidamodar May 11, 2021
dc92498
disable auth for writing
lohanidamodar May 11, 2021
dc52c69
fix error
lohanidamodar May 11, 2021
f83ad43
fix auth issue
lohanidamodar May 11, 2021
be5b882
Apply suggestions from code review
lohanidamodar May 12, 2021
0e90c75
refactor based on review
lohanidamodar May 12, 2021
3330841
changelog
lohanidamodar May 12, 2021
9097cf2
unattended installl
lohanidamodar May 12, 2021
7a75c35
remove log
lohanidamodar May 12, 2021
d198977
check interactive with a param
lohanidamodar May 12, 2021
e2000db
remove extra white space
lohanidamodar May 12, 2021
bd73b3a
discord link in the footer
lohanidamodar May 12, 2021
c5a2a93
Merge branch '0.8.x' of github.com:appwrite/appwrite into feat-god-user
eldadfux May 12, 2021
f7f54c0
Leverage auth limit for god feature
eldadfux May 12, 2021
d947714
format update for travis reboot
lohanidamodar May 12, 2021
c20d578
signup to newsletter option in console signup
lohanidamodar May 12, 2021
a38678f
feat: adding update membership role
christyjacob4 May 12, 2021
10435d4
feat: update membership roles
christyjacob4 May 12, 2021
69abbba
Changed god account to root account
eldadfux May 12, 2021
6b5b1b4
Merge pull request #1140 from lohanidamodar/feat-discord-link
eldadfux May 12, 2021
73e45c2
Merge pull request #1133 from lohanidamodar/feat-auto-ssl-generation
eldadfux May 12, 2021
31dc2d7
feat: added enpoint for updating membership roles
christyjacob4 May 12, 2021
978f646
feat: uncomment tests
christyjacob4 May 12, 2021
df3f2d7
feat: reorder tests
christyjacob4 May 12, 2021
af0bbd7
feat: increase memberships fetched to 2000
christyjacob4 May 12, 2021
67b4e8c
feat: correct the event names
christyjacob4 May 12, 2021
7192fc5
Fixed root redirect
eldadfux May 13, 2021
956f5c1
Merge pull request #937 from appwrite/feat-god-user
eldadfux May 13, 2021
5206d58
updated signup process
lohanidamodar May 13, 2021
a346f7a
Merge branch '0.8.x' of github.com:appwrite/appwrite into feat-newsle…
lohanidamodar May 13, 2021
40c334a
adding loading alert on signup
lohanidamodar May 13, 2021
06344ee
feat: added to changelog
christyjacob4 May 13, 2021
8d60338
Merge pull request #1143 from appwrite/fix-teams-api-issues
eldadfux May 13, 2021
eefe7f7
feat: update doc
christyjacob4 May 13, 2021
3b74a92
Apply suggestions from code review
christyjacob4 May 13, 2021
5c4ee95
Merge branch '0.8.x' into feat-update-team-membership-password
eldadfux May 13, 2021
69ab1ea
Merge pull request #1120 from appwrite/feat-update-team-membership-pa…
eldadfux May 13, 2021
a35a567
feat: added server side test
christyjacob4 May 13, 2021
bd02cc8
feat: added changelog
christyjacob4 May 13, 2021
732163b
Debug
eldadfux May 13, 2021
3704dc6
Merge branch '0.8.x' of github.com:appwrite/appwrite into feat-add-up…
eldadfux May 13, 2021
2c838bf
fix: failing tests
christyjacob4 May 13, 2021
6a9d9ed
feat: some comments
christyjacob4 May 13, 2021
bb39d90
updating description for param
lohanidamodar May 14, 2021
52dc0a9
Update app/tasks/install.php
eldadfux May 14, 2021
3804f71
Merge pull request #1139 from lohanidamodar/feat-automated-install
eldadfux May 14, 2021
fb8561f
Merge pull request #1141 from lohanidamodar/feat-newsletter-subscribe
eldadfux May 14, 2021
d7e411c
Fix redirect from signup
eldadfux May 14, 2021
dc00346
Merge pull request #1142 from appwrite/feat-add-update-membership-end…
eldadfux May 14, 2021
d7c81ba
feat: update response filters
christyjacob4 May 14, 2021
9c0ebc5
Added string escaping
eldadfux May 15, 2021
2a3a73d
Fixed autocomplete
eldadfux May 15, 2021
2783787
Added comments
eldadfux May 15, 2021
85dffbd
Removed duplicated class attribute
eldadfux May 15, 2021
b6b48b7
Merge pull request #1148 from appwrite/fix-oauth-autocomplete
eldadfux May 15, 2021
18a1a2b
Merge pull request #1147 from appwrite/fix-1144-users-list
eldadfux May 15, 2021
5050e6f
Merge pull request #1145 from appwrite/fix-auth-redirect
eldadfux May 15, 2021
af7f9dd
Merge pull request #1149 from appwrite/feat-response-filters
eldadfux May 15, 2021
79bf993
Removed DB connection
eldadfux May 17, 2021
af470a3
Cleanups
eldadfux May 17, 2021
a8cc398
Updated functions trigger
eldadfux May 17, 2021
63a92a7
Fixed functions webhooks trigger
eldadfux May 17, 2021
6f22854
Add certificate collection rules for updated and certificateID
kodumbeats May 17, 2021
1120e88
CertificateID not a required param
kodumbeats May 17, 2021
49fa978
Merge branch 'master' of github.com:appwrite/appwrite into dev
eldadfux May 17, 2021
d274952
Merge branch 'dev' of github.com:appwrite/appwrite into 0.8.x
eldadfux May 17, 2021
98ca565
Add certificates exception fix to changelog
kodumbeats May 17, 2021
f2405dc
Merge pull request #1151 from appwrite/fix-certificate-collection-rul…
eldadfux May 17, 2021
0f7b745
response format header
lohanidamodar May 18, 2021
7864b19
supporting generating password and secret key
lohanidamodar May 18, 2021
a246695
fix filter and mysql root password
lohanidamodar May 18, 2021
fd2edd9
creating backup of existing file
lohanidamodar May 18, 2021
80ded8e
providing organization and image as param to the installation script …
lohanidamodar May 18, 2021
52e2dc3
specify image and org name for main appwrite image
lohanidamodar May 18, 2021
6bb46a6
multiple backups of old files
lohanidamodar May 18, 2021
8b60061
remove delay
lohanidamodar May 18, 2021
4ff892d
Merge pull request #1150 from appwrite/fect-stateless-webhooks-worker
eldadfux May 18, 2021
3927406
Updated change log
eldadfux May 18, 2021
77f67b1
Updated docs
eldadfux May 18, 2021
50e779f
Update app/controllers/general.php
eldadfux May 18, 2021
44cccf1
Merge pull request #1155 from lohanidamodar/fix-certificates-queueing
eldadfux May 18, 2021
d9f8236
Merge pull request #1153 from lohanidamodar/feat-response-format-head…
eldadfux May 18, 2021
e9e501b
Merge pull request #1156 from appwrite/feat-updated-docs-expiry-times
eldadfux May 18, 2021
666f51f
Updated code examples
eldadfux May 18, 2021
1c7ac36
Updated specs and examples
eldadfux May 18, 2021
8ec0c66
Update app/tasks/install.php
eldadfux May 18, 2021
5185321
Update app/tasks/install.php
eldadfux May 18, 2021
a0daea0
Update app/tasks/install.php
eldadfux May 18, 2021
cb97b8c
Merge pull request #1154 from lohanidamodar/feat-auto-generate-secret…
eldadfux May 18, 2021
8830828
Updated SDKs versions
eldadfux May 18, 2021
dfdb162
updated the change log
eldadfux May 18, 2021
6a56095
Merge pull request #1158 from appwrite/feat-update-sdks-versions
eldadfux May 18, 2021
552c67d
Merge pull request #1157 from appwrite/feat-update-code-examples
eldadfux May 18, 2021
e6597bb
Updated cachebuster
eldadfux May 18, 2021
7273396
Merge branch '0.8.x' of github.com:appwrite/appwrite into 0.8.x
eldadfux May 18, 2021
5157906
Updated sdk-generator
eldadfux May 19, 2021
b730350
Update CHANGES.md
eldadfux May 19, 2021
86a94af
fix(docker): functions worker openssl key
TorstenDittmann May 19, 2021
9ede38c
fix(docker): functions worker openssl key
TorstenDittmann May 19, 2021
46a4036
Merge pull request #1161 from TorstenDittmann/fix-worker-envs
eldadfux May 19, 2021
ca14298
fix(docker): influxdb image
TorstenDittmann May 19, 2021
c257c20
Merge pull request #1162 from appwrite/fix-docker-influx
eldadfux May 19, 2021
f4e12ac
Updated Flutter changelog
eldadfux May 19, 2021
28bdfd2
Updated Flutter changelog
eldadfux May 19, 2021
4febefc
Updated Dart changelog
eldadfux May 19, 2021
1cd7cfb
Updated Dart changelog
eldadfux May 19, 2021
785f5a8
Updated change log
eldadfux May 19, 2021
cb038a2
Updated specs
eldadfux May 19, 2021
8084292
Updated specs
eldadfux May 19, 2021
019f1e9
Fixed specs and code examples
eldadfux May 19, 2021
b8154a2
Updated docs
eldadfux May 19, 2021
a2ccbfa
Added line break
eldadfux May 19, 2021
e9db13b
Added line break
eldadfux May 19, 2021
44a87a1
Added line break
eldadfux May 19, 2021
98df165
Updated platform types
eldadfux May 19, 2021
f1644af
Updated specs
eldadfux May 19, 2021
d316ecb
Fixed config
eldadfux May 19, 2021
284236a
Fixed docs
eldadfux May 19, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
6D4E
Diff view
  •  
  •  
  •  
8 changes: 6 additions & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
_APP_ENV=production
_APP_ENV=development
_APP_LOCALE=en
_APP_CONSOLE_WHITELIST_ROOT=disabled
_APP_CONSOLE_WHITELIST_EMAILS=
_APP_CONSOLE_WHITELIST_IPS=
_APP_SYSTEM_EMAIL_NAME=Appwrite
_APP_SYSTEM_EMAIL_ADDRESS=team@appwrite.io
_APP_SYSTEM_SECURITY_EMAIL_ADDRESS=security@appwrite.io
Expand All @@ -16,15 +20,15 @@ _APP_DB_PORT=3306
_APP_DB_SCHEMA=appwrite
_APP_DB_USER=user
_APP_DB_PASS=password
_APP_STORAGE_ANTIVIRUS=enabled
_APP_STORAGE_ANTIVIRUS=disabled
_APP_STORAGE_ANTIVIRUS_HOST=clamav
_APP_STORAGE_ANTIVIRUS_PORT=3310
_APP_INFLUXDB_HOST=influxdb
_APP_INFLUXDB_PORT=8086
_APP_STATSD_HOST=telegraf
_APP_STATSD_PORT=8125
_APP_SMTP_HOST=maildev
_APP_SMTP_PORT=25
_APP_SMTP_PORT=1025
_APP_SMTP_SECURE=
_APP_SMTP_USERNAME=
_APP_SMTP_PASSWORD=
Expand Down
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ dist: xenial

arch:
- amd64
- arm64

os: linux

Expand All @@ -10,9 +11,6 @@ language: shell
notifications:
email:
- team@appwrite.io

services:
- docker

before_install:
- curl -fsSL https://get.docker.com | sh
Expand All @@ -27,6 +25,9 @@ before_install:
- docker --version
- docker buildx create --use
- chmod -R u+x ./.travis-ci
- export COMPOSE_INTERACTIVE_NO_CLI=1
# Only pass a single runtime for CI stability
- echo "_APP_FUNCTIONS_RUNTIMES=php-8.0" >> .env

install:
- docker-compose up -d
Expand Down
52 changes: 50 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,53 @@
# Version 0.8.0 (Not Released Yet)
# Version 0.8.0

- Anonymous login
## Features
- Refactoring SSL generation to work on every request so no domain environment variable is required for SSL generation (#1133)
- Added Anonymous Login ([RFC-010](https://github.com/appwrite/rfc/blob/main/010-anonymous-login.md), #914)
- Added events for functions and executions (#971)
- Added JWT support (#784)
- Added ARM support (#726)
- New awesome image preview features, supports borderRadius, borderColor, borderWidth
- Split token & session models to become 2 different internal entities (#922)
- Added Dart 2.12 as a new Cloud Functions runtime (#989)
- Added option to disable email/password (#947)
- Added option to disable anonymous login (need to merge and apply changed) (#947)
- Added option to disable JWT auth (#947)
- Added option to disable team invites (#947)
- Option to limit number of users (good for app launches + root account PR) (#947)
- Added 2 new endpoints to the projects API to allow new settings
- Enabled 501 errors (Not Implemented) from the error handler
- Added Python 3.9 as a new Cloud Functions runtime (#1044)
- Added Deno 1.8 as a new Cloud Functions runtime (#989)
- Upgraded to PHP 8.0 (#713)
- ClamAV is now disabled by default to allow lower min requirements for Appwrite (#1064)
- Added a new env var named `_APP_LOCALE` that allow to change the default `en` locale value (#1056)
- Updated all the console bottom control to be consistent. Dropped the `+` icon (#1062)
- Added Response Models for Documents and Preferences (#1075, #1102)
- Added new endpoint to update team membership roles (#1142)
- Removed DB connection from webhooks worker for improved performance (#1150)

## Bugs

- Fixed default value for HTTPS force option
- Fixed form array casting in dashboard (#1070)
- Fixed collection document rule form in dashboard (#1069)
- Bugs in the Teams API:
- Fixed incorrect audit worker event names (#1143)
- Increased limit of memberships fetched in `createTeamMembership` to 2000 (#1143)
- Fixed exception thrown when SSL certificate is already stored in the database (#1151)

## Breaking Changes (Read before upgrading!)

- Rename `deleteuser` to `delete` on Users Api (#1089)
- Environment variable `_APP_FUNCTIONS_ENVS` renamed to `_APP_FUNCTIONS_RUNTIMES` (#1101)
- Only logged in users can execute functions (for guests, use anonymous login) (#976)
- Only the user who has triggered the execution get access to the relevant execution logs (#1045)
- Function execution environment variable `APPWRITE_FUNCTION_EVENT_PAYLOAD` renamed to `APPWRITE_FUNCTION_EVENT_DATA` (#1045)
- Function execution environment variable `APPWRITE_FUNCTION_ENV_NAME` renamed to `APPWRITE_FUNCTION_RUNTIME_NAME` (#1101)
- Function execution environment variable `APPWRITE_FUNCTION_ENV_VERSION` renamed to `APPWRITE_FUNCTION_RUNTIME_VERSION` (#1101)
- Introduces rate limits for:
- Team invite (10 requests in every 60 minutes per IP address) (#1088)
- Rename param `inviteId` to the more accurate `membershipId` in the Teams A 10000 PI (#1129)

# Version 0.7.2

Expand Down Expand Up @@ -31,6 +78,7 @@
- Force adding a security email on setup
- SMTP is now disabled by default, no dummy SMTP is included in setup
- Added a new endpoint that returns the server and SDKs latest versions numbers #941
- Custom data strings, userId, and JWT available for cloud functions #967

## Upgrades

Expand Down
8 changes: 2 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,13 +278,9 @@ Before running the command, make sure you have proper write permissions to the A
```bash
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x -t appwrite/appwrite:dev --push .
```
**Build Functions Envs**
**Build Functions Runtimes**

Build envs for all supported cloud functions (multicore builds)

```bash
bash ./docker/environments/build.sh
```
The Runtimes for all supported cloud functions (multicore builds) can be found at the [appwrite/php-runtimes](https://github.com/appwrite/php-runtimes) repository.

## Tests

Expand Down
69 changes: 48 additions & 21 deletions Dockerfile
2851
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ RUN composer update --ignore-platform-reqs --optimize-autoloader \
--no-plugins --no-scripts --prefer-dist \
`if [ "$TESTING" != "true" ]; then echo "--no-dev"; fi`

FROM php:7.4-cli-alpine as step1
FROM php:8.0-cli-alpine as step1

ENV PHP_REDIS_VERSION=5.3.3 \
PHP_SWOOLE_VERSION=v4.5.8 \
PHP_MAXMINDDB_VERSION=v1.10.0 \
PHP_XDEBUG_VERSION=sdebug_2_9-beta
ENV PHP_REDIS_VERSION=5.3.4 \
PHP_SWOOLE_VERSION=v4.6.6 \
PHP_IMAGICK_VERSION=master \
PHP_YAML_VERSION=2.2.1 \
PHP_MAXMINDDB_VERSION=v1.10.1

RUN \
apk add --no-cache --virtual .deps \
Expand All @@ -29,49 +30,71 @@ RUN \
git \
zlib-dev \
brotli-dev \
yaml-dev \
imagemagick \
imagemagick-dev \
libmaxminddb-dev

RUN docker-php-ext-install sockets

RUN \
# Redis Extension
git clone https://github.com/phpredis/phpredis.git && \
git clone --depth 1 --branch $PHP_REDIS_VERSION https://github.com/phpredis/phpredis.git && \
cd phpredis && \
git checkout $PHP_REDIS_VERSION && \
phpize && \
./configure && \
make && make install && \
cd .. && \
## Swoole Extension
git clone https://github.com/swoole/swoole-src.git && \
git clone --depth 1 --branch $PHP_SWOOLE_VERSION https://github.com/swoole/swoole-src.git && \
cd swoole-src && \
git checkout $PHP_SWOOLE_VERSION && \
phpize && \
./configure --enable-sockets --enable-http2 && \
./configure --enable-http2 && \
make && make install && \
cd .. && \
## Imagick Extension
git clone --depth 1 --branch $PHP_IMAGICK_VERSION https://github.com/Imagick/imagick && \
cd imagick && \
phpize && \
./configure && \
make && make install && \
cd .. && \
## YAML Extension
git clone --depth 1 --branch $PHP_YAML_VERSION https://github.com/php/pecl-file_formats-yaml && \
cd pecl-file_formats-yaml && \
phpize && \
./configure && \
make && make install && \
cd .. && \
## Maxminddb extension
git clone https://github.com/maxmind/MaxMind-DB-Reader-php.git && \
git clone --depth 1 --branch $PHP_MAXMINDDB_VERSION https://github.com/maxmind/MaxMind-DB-Reader-php.git && \
cd MaxMind-DB-Reader-php && \
git checkout $PHP_MAXMINDDB_VERSION && \
cd ext && \
phpize && \
./configure && \
make && make install && \
cd ../..

FROM php:7.4-cli-alpine as final
FROM php:8.0-cli-alpine as final

LABEL maintainer="team@appwrite.io"

ARG VERSION=dev

ENV _APP_SERVER=swoole \
_APP_ENV=production \
_APP_LOCALE=en \
_APP_DOMAIN=localhost \
_APP_DOMAIN_TARGET=localhost \
_APP_HOME=https://appwrite.io \
_APP_EDITION=community \
_APP_CONSOLE_WHITELIST_ROOT=enabled \
_APP_CONSOLE_WHITELIST_EMAILS= \
_APP_CONSOLE_WHITELIST_IPS= \
_APP_SYSTEM_EMAIL_NAME= \
_APP_SYSTEM_EMAIL_ADDRESS= \
_APP_SYSTEM_RESPONSE_FORMAT= \
_APP_SYSTEM_SECURITY_EMAIL_ADDRESS= \
_APP_OPTIONS_ABUSE=enabled \
_APP_OPTIONS_FORCE_HTTPS=disabled \
_APP_OPENSSL_KEY_V1=your-secret-key \
Expand Down Expand Up @@ -123,26 +146,26 @@ RUN \
curl-dev \
&& apk add --no-cache \
libstdc++ \
certbot \
brotli-dev \
yaml-dev \
imagemagick \
imagemagick-dev \
libmaxminddb-dev \
certbot \
docker-cli \
docker-compose \
libmaxminddb \
libmaxminddb-dev \
&& pecl install imagick yaml \
&& docker-php-ext-enable imagick yaml \
&& docker-php-ext-install sockets opcache pdo_mysql \
&& apk del .deps \
&& rm -rf /var/cache/apk/*

WORKDIR /usr/src/code

COPY --from=step0 /usr/local/src/vendor /usr/src/code/vendor
COPY --from=step1 /usr/local/lib/php/extensions/no-debug-non-zts-20190902/swoole.so /usr/local/lib/php/extensions/no-debug-non-zts-20190902/
COPY --from=step1 /usr/local/lib/php/extensions/no-debug-non-zts-20190902/redis.so /usr/local/lib/php/extensions/no-debug-non-zts-20190902/
COPY --from=step1 /usr/local/lib/php/extensions/no-debug-non-zts-20190902/maxminddb.so /usr/local/lib/php/extensions/no-debug-non-zts-20190902/
COPY --from=step1 /usr/local/lib/php/extensions/no-debug-non-zts-20200930/swoole.so /usr/local/lib/php/extensions/no-debug-non-zts-20200930/
COPY --from=step1 /usr/local/lib/php/extensions/no-debug-non-zts-20200930/redis.so /usr/local/lib/php/extensions/no-debug-non-zts-20200930/
COPY --from=step1 /usr/local/lib/php/extensions/no-debug-non-zts-20200930/imagick.so /usr/local/lib/php/extensions/no-debug-non-zts-20200930/
COPY --from=step1 /usr/local/lib/php/extensions/no-debug-non-zts-20200930/yaml.so /usr/local/lib/php/extensions/no-debug-non-zts-20200930/
COPY --from=step1 /usr/local/lib/php/extensions/no-debug-non-zts-20200930/maxminddb.so /usr/local/lib/php/extensions/no-debug-non-zts-20200930/

# Add Source Code
COPY ./app /usr/src/code/app
Expand Down Expand Up @@ -190,11 +213,15 @@ RUN mkdir -p /etc/letsencrypt/live/ && chmod -Rf 755 /etc/letsencrypt/live/
# Enable Extensions
RUN echo extension=swoole.so >> /usr/local/etc/php/conf.d/swoole.ini
RUN echo extension=redis.so >> /usr/local/etc/php/conf.d/redis.ini
RUN echo extension=imagick.so >> /usr/local/etc/php/conf.d/imagick.ini
RUN echo extension=yaml.so >> /usr/local/etc/php/conf.d/yaml.ini
RUN echo extension=maxminddb.so >> /usr/local/etc/php/conf.d/maxminddb.ini

RUN echo "opcache.preload_user=www-data" >> /usr/local/etc/php/conf.d/appwrite.ini
RUN echo "opcache.preload=/usr/src/code/app/preload.php" >> /usr/local/etc/php/conf.d/appwrite.ini
RUN echo "opcache.enable_cli=1" >> /usr/local/etc/php/conf.d/appwrite.ini
RUN echo "opcache.jit_buffer_size=100M" >> /usr/local/etc/php/conf.d/appwrite.ini
RUN echo "opcache.jit=1235" >> /usr/local/etc/php/conf.d/appwrite.ini

EXPOSE 80

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:0.7.2
appwrite/appwrite:0.8.0
```

### Windows
Expand All @@ -66,7 +66,7 @@ docker run -it --rm ^
--volume //var/run/docker.sock:/var/run/docker.sock ^
--volume "%cd%"/appwrite:/usr/src/code/appwrite:rw ^
--entrypoint="install" ^
appwrite/appwrite:0.7.2
appwrite/appwrite:0.8.0
```

#### PowerShell
Expand All @@ -76,7 +76,7 @@ docker run -it --rm ,
--volume /var/run/docker.sock:/var/run/docker.sock ,
--volume ${pwd}/appwrite:/usr/src/code/appwrite:rw ,
--entrypoint="install" ,
appwrite/appwrite:0.7.2
appwrite/appwrite:0.8.0
```

Once the Docker installation completes, go to http://localhost to access the Appwrite console from your browser. Please note that on non-linux native hosts, the server might take a few minutes to start after installation completes.
Expand Down
42 changes: 42 additions & 0 deletions app/config/auth.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?php

// Auth methods

return [
'email-password' => [
'name' => 'Email/Password',
'key' => 'usersAuthEmailPassword',
'icon' => '/images/users/email-password.png',
'docs' => 'https://appwrite.io/docs/client/account?sdk=web#accountCreateSession',
'enabled' => true,
],
'anonymous' => [
'name' => 'Anonymous',
'key' => 'usersAuthAnonymous',
'icon' => '/images/users/anonymous.png',
'docs' => 'https://appwrite.io/docs/client/account?sdk=web#accountCreateAnonymousSession',
'enabled' => true,
],
'invites' => [
'name' => 'Invites',
'key' => 'usersAuthInvites',
'icon' => '/images/users/invites.png',
'docs' => 'https://appwrite.io/docs/client/teams?sdk=web#teamsCreateMembership',
'enabled' => true,
],
'jwt' => [
'name' => 'JWT',
'key' => 'usersAuthJWT',
'icon' => '/images/users/jwt.png',
'docs' => 'https://appwrite.io/docs/client/account?sdk=web#accountCreateJWT',
'enabled' => true,
],
'phone' => [
'name' => 'Phone',
'key' => 'usersAuthPhone',
'icon' => '/images/users/phone.png',
'docs' => 'https://appwrite.io/docs/client/account?sdk=web#accountCreatePhoneSession',
'docs' => '',
'enabled' => false,
],
];
Loading
0