-
Notifications
You must be signed in to change notification settings - Fork 11
Nette 2.4 compatibility #42
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
Open
jkuchar
wants to merge
26
commits into
master
Choose a base branch
from
nette-2-4-compatibility
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 15 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
e53eac8
composer: bumped compatibility with nette ~2.4 (thanks @akyn84, @lubo)
jkuchar 9c46056
got rid of Environment (introduced dependency on Container) (thanks @…
jkuchar 570f0d6
latter: {? replaced with {php (thanks @akyn84, @lubo)
jkuchar 6b06f4c
model: introduced second implementation of driver for MySQL over Nett…
jkuchar fb01df6
.gitignore: vendor, .idea
jkuchar 27d2bc9
MySQL driver: removed
landrisek db98b25
NetteDatabaseModel: removed magic configuration from container (+ ref…
jkuchar d4da69a
NetteDatabase/Queues.php: added depencency on Container
jkuchar 30a814a
MultipleFileUpload: added dependency on container
jkuchar bd73dcb
DI extension: introduced simple extension
landrisek 91614d6
MultipleFileUpload: explicit register() function parameters
jkuchar 7c2d610
Queues: ???
jkuchar 683510a
UI\Registrator: requires HttpRequest insted of container
landrisek 4cbaf8b
UI\AbstractInterface: requires HttpRequest instead of Container
jkuchar d3a6884
Queues: fixed edge case
6f9352f
notes
jkuchar c763cf5
MultipleFileUpload: formatting
jkuchar e53bc11
formatting
jkuchar 27ef5c5
refactoring: removed wrongly used ternary operator
jkuchar d30cb32
DI model
landrisek 9aa59f3
[Extension]
landrisek adf2552
[Nette\Environment][DI connection]
landrisek 3f573d9
[Nette\Environment][DI connection][sqlite][swf]
landrisek 3820012
[NetteDatabase php 5.6 cmopatibility]
1494fbf
todos and comments
jkuchar 9ac871b
DibiDriver: removed static queues variable
landrisek 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| /nbproject/ | ||
| /composer.lock | ||
| /Nette/ | ||
| /Nette/ | ||
| .idea/ | ||
| vendor/ |
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,24 @@ | ||
| <?php | ||
|
|
||
| namespace MultipleFileUpload; | ||
|
|
||
| use Nette; | ||
|
|
||
| class Extension extends Nette\DI\CompilerExtension { | ||
|
|
||
| public function loadConfiguration() { | ||
| } | ||
|
|
||
| public function beforeCompile() { | ||
| parent::beforeCompile(); | ||
| } | ||
|
|
||
| public function afterCompile(Nette\PhpGenerator\ClassType $class) { | ||
| $initialize = $class->methods['initialize']; | ||
| $initialize->addBody('MultipleFileUpload\MultipleFileUpload::init($this->getByType(?), $this->getParameters());', ['Nette\Http\IRequest']); | ||
| $initialize->addBody('MultipleFileUpload\MultipleFileUpload::register($this->getService(?));', ['mfuStorage']); | ||
| $initialize->addBody('$this->getService(?)->onStartup[] = [?, ?];', ['application', 'MultipleFileUpload\MultipleFileUpload', 'handleUploads']); | ||
| $initialize->addBody('$this->getService(?)->onShutdown[] = [?, ?];', ['application', 'MultipleFileUpload\MultipleFileUpload', 'cleanCache']); | ||
| } | ||
|
|
||
| } | ||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
completely missing configuration of storage driver + UIs