-
Notifications
You must be signed in to change notification settings - Fork 35
Framework V2 #102
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
Framework V2 #102
Changes from all commits
Commits
Show all changes
90 commits
Select commit
Hold shift + click to select a range
e817592
adapters and refactor request and response
lohanidamodar ee75d8a
Merge remote-tracking branch 'origin/feat-routing-v2' into feat-v2
lohanidamodar 02006b2
update test and fix
lohanidamodar 151434c
fix lint
lohanidamodar af83713
fix tests
lohanidamodar 4260458
fixes
lohanidamodar 4355dfa
fix param reference
lohanidamodar 29909da
downgrade symfony console
lohanidamodar 63121c8
downgrade phpbench
lohanidamodar b6d83d5
remove leftover code
lohanidamodar 9fbb075
move namespace
lohanidamodar f23bbe8
fix formatting
lohanidamodar 45beee6
update constructor
lohanidamodar d8350d1
Update src/Adapter/Swoole/Server.php
lohanidamodar 415a236
Merge branch 'feat-v2' of https://github.com/utopia-php/framework int…
lohanidamodar 146ae35
fix test
lohanidamodar 4eeddf7
update readme
lohanidamodar 803dddc
file loading support in servers
lohanidamodar 1876af8
fix and update test for both server adapters
lohanidamodar cbe0901
fix test flow
lohanidamodar c2e70ab
fix parameter name
lohanidamodar 136c318
Update src/Adapter.php
lohanidamodar a3bdb49
Update src/Adapter.php
lohanidamodar ab04d15
update dockerfile name
lohanidamodar 8b448f6
update readme
lohanidamodar eaf63bd
abstract away app start
lohanidamodar bd9ff87
rename dockerfile
lohanidamodar c8de4cc
rename App -> Http
lohanidamodar 644687b
fix formatting
lohanidamodar 4bcf458
update namespace
lohanidamodar 31bd350
static file handling
lohanidamodar 97f9320
fix formatting
lohanidamodar dc96765
upate php version for test - dev dependencies now require 8.1
lohanidamodar 73d8f0b
more server related callbacks
lohanidamodar a912fab
start hook
lohanidamodar ab4544a
worker start hooks
lohanidamodar db4ae13
fix setting resource
lohanidamodar 4eb0583
fix reset
lohanidamodar 5a6d171
swoole beforeShutdown callback
lohanidamodar 22bd6d6
support request hooks
lohanidamodar f5a483a
add getter for swoole internal request
lohanidamodar 0e67327
getter for swoole response
lohanidamodar c2cc0f2
Merge remote-tracking branch 'origin/feat-routing-v2' into feat-v2
lohanidamodar 552bccd
get fresh resource each time by default
lohanidamodar 50d4cd5
enable context
lohanidamodar c0b5d73
fresh is now false by default
lohanidamodar 33698fc
fix resource for context null
lohanidamodar cd3c30a
unused code
lohanidamodar 0e4281d
add swoole test
lohanidamodar 0f69480
update tests
lohanidamodar 6dcef9a
fix test with resource reset
lohanidamodar 242a20f
fix lint
lohanidamodar be16910
Merge remote-tracking branch 'origin' into feat-v2
lohanidamodar 54074b9
set a default context and make context string
lohanidamodar 11488b1
make utopia default context
lohanidamodar d2909e7
upgrade callback
lohanidamodar 52c1a06
fix callback reset type
lohanidamodar 7466616
Merge branch 'master' of https://github.com/utopia-php/framework into…
lohanidamodar b7ff4de
fix check and lint
lohanidamodar 1105527
fixes after merge
lohanidamodar f3cb041
update missing resource
lohanidamodar daba6a7
Merge remote-tracking branch 'origin/master' into feat-v2
lohanidamodar d714fcb
remove view from framework
lohanidamodar 6c8ffb0
Fix Swoole coroutine http server
Meldiron a4916b4
Disable forced type on onRequest
Meldiron 69b83a3
Add route resource
Meldiron 2213a3c
Fix tests
Meldiron 96e1f58
Tests fix
Meldiron c9ea90e
Add swoole resources
Meldiron e34ed9c
Add default context to getResources
Meldiron c68f74e
Fix memory leak
Meldiron a73f0a0
Linter fix
Meldiron 7405c1f
Improve Assoc validator with length param
Meldiron 55792e0
Add multiple validator
vermakhushboo d81dd2a
Merge pull request #109 from utopia-php/fix-v2-swoole-coroutines
Meldiron 399c89e
Merge remote-tracking branch 'origin/master' into feat-v2
Meldiron dff85bd
CI/CD fixes
Meldiron e44076b
Update README
Meldiron 8dfe731
Auto-add context to swoole
Meldiron 6cd3232
Update swoole README
Meldiron ceae30f
Improve readme, add example
Meldiron 3ba0cd1
Grammar fixes
Meldiron ecf9791
Update README.md
Meldiron 569428c
Update README.md
Meldiron f5e2ac0
Add fpm resources
Meldiron 8ef5482
Fix formatting
Meldiron 23dedb9
Merge pull request #113 from utopia-php/feat-add-multiple-validator-t…
eldadfux d8ef76a
PR review changes
Meldiron d5e2929
Improve swoole constructor
Meldiron ee4fc6d
Remove worker concept
Meldiron File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| FROM composer:2.0 AS step0 | ||
|
|
||
|
|
||
| ARG TESTING=true | ||
|
|
||
| ENV TESTING=$TESTING | ||
|
|
||
| WORKDIR /usr/local/src/ | ||
|
|
||
| COPY composer.* /usr/local/src/ | ||
|
|
||
| RUN composer install --ignore-platform-reqs --optimize-autoloader \ | ||
| --no-plugins --no-scripts --prefer-dist \ | ||
| `if [ "$TESTING" != "true" ]; then echo "--no-dev"; fi` | ||
|
|
||
| FROM appwrite/base:0.4.3 as final | ||
| LABEL maintainer="team@appwrite.io" | ||
|
|
||
| WORKDIR /usr/src/code | ||
|
|
||
| COPY ./src /usr/src/code/src | ||
| COPY ./tests /usr/src/code/tests | ||
| COPY ./phpunit.xml /usr/src/code/phpunit.xml | ||
| COPY ./phpbench.json /usr/src/code/phpbench.json | ||
| COPY --from=step0 /usr/local/src/vendor /usr/src/code/vendor | ||
|
|
||
| EXPOSE 80 | ||
|
|
||
| CMD ["php", "tests/e2e/server-swoole.php"] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.