diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 000000000..f7e6acb8d
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,11 @@
+sudo: false
+language: python
+python:
+ - 2.7
+install:
+ - pip install tox-travis
+ - pip install coveralls
+script:
+ - tox
+after_success:
+ - coveralls
diff --git a/CA_TECH b/CA_TECH
deleted file mode 100644
index 3ef2665c8..000000000
--- a/CA_TECH
+++ /dev/null
@@ -1,84 +0,0 @@
-#!groovy
-
-node('slave_CA_notejam') {
- /*stage('Clean Environment') {
- cleanWs()
- }
-
- stage('Code Check Out') {
- withCredentials([[$class: 'AmazonWebServicesCredentialsBinding', accessKeyVariable: 'AWS_ACCESS_KEY_ID', credentialsId: 'jenkins-service-account', secretKeyVariable: 'AWS_SECRET_ACCESS_KEY']]) {
- sh label: '', script: '''git config --global credential.helper \'!aws --profile assume_mobile codecommit credential-helper $@\''''
- */// checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'jenkins-service-codecommit', url: 'https://git-codecommit.eu-central-1.amazonaws.com/v1/repos/ma_android-platform']]])
- /* }
- }*/
-
- /*stage('SonarQube Code Analysis') {
- echo 'Analysing code...'
- withSonarQubeEnv('SonarQube') {
- sh returnStdout: true, script: '''
- gradle wrapper
- ./gradlew sonarqube -x compileDebugAndroidTestKotlin -x compileDebugUnitTestKotlin -Dsonar.host.url=${SONAR_HOST_URL} -Dsonar.projectKey=${JOB_BASE_NAME} -Dsonar.projectName=$JOB_BASE_NAME -Dsonar.projectVersion=1.0-SNAPSHOT
- '''
- sleep 10;
- }
- }*/
-
- stage('SonarQube Code Analysis') {
- echo 'Analysing code...'
- withSonarQubeEnv('SonarQube') {
- sh returnStdout: true, script: '''
- gradle wrapper
- ./gradlew sonarqube -Dsonar.host.url=${SONAR_HOST_URL} -Dsonar.projectKey=${JOB_BASE_NAME} -Dsonar.projectName=$JOB_BASE_NAME -Dsonar.projectVersion=1.0-SNAPSHOT
- '''
- sleep 10;
- }
- }
-
- stage("SonarQube Quality-Gate Validation") {
- echo 'Quality Gate Verification...'
- timeout(time: 1, unit: 'MINUTES') {
- def qg = waitForQualityGate()
- if (qg.status != 'OK') {
- error "Pipeline aborted due to quality gate failure: ${qg.status}"
- }
- }
- }
-
- stage('Build') {
- echo 'Building ..'
- sh returnStdout: true, script: '''
- ./gradlew clean assembleDebug
- '''
- }
-
- stage('Push .APK to Nexus') {
- withEnv([
- 'NEXUS_CREDS=nexus-service-account',
- 'NEXUS_URL=artifacts.le.tnt.bank.ikano',
- 'NEXUS_REPO=maven-snapshots',
- 'NEXUS_PROTOCOL=https',
- 'NEXUS_VERSION=nexus3'
- ]) {
- filesByGlob = findFiles(glob: "app/build/outputs/apk/debug/*.apk");
- artifactPath = filesByGlob[0].path;
- artifactExists = fileExists artifactPath
- if(artifactExists) {
- nexusArtifactUploader(
- nexusVersion: NEXUS_VERSION,
- protocol: NEXUS_PROTOCOL,
- nexusUrl: NEXUS_URL,
- groupId: 'com.ikano.ipay.mobile',
- version: '1.0-SNAPSHOT',
- repository: NEXUS_REPO,
- credentialsId: NEXUS_CREDS,
- artifacts: [
- [artifactId: 'ma_android-platform',
- type: 'apk',
- file: artifactPath,
- classifier: '']
- ]
- )
- }
- }
- }
-}
diff --git a/README.rst b/README.rst
index 07f28807c..3c851adc3 100644
--- a/README.rst
+++ b/README.rst
@@ -2,14 +2,9 @@
Notejam
*******
-**The easy way to learn web frameworks**
-
-Do you know framework X and want to try framework Y?
-The easy way to start with a new framework is to compare it with frameworks you already know.
-The goal of the project is to help developers easily learn new frameworks by examples.
-
Notejam is a unified sample web application (more than just "Hello World") implemented using different server-side frameworks.
-Currently python, php, ruby and javascript frameworks are supported.
+The goal of this repository to give our candidates a simple application that can be deployed to present their skills
+during the tech assignment.
====================
@@ -19,44 +14,8 @@ Supported frameworks
**Python**
-* `Django = __("My pads"); ?>
-
-
- SQL Query: - = h($error->queryString) ?> -
- -params)) : ?> - SQL Query Params: - = Debugger::dump($error->params) ?> - -= $this->element('auto_table_warning') ?> -end(); -endif; -?> -- = __d('cake', 'Error') ?>: - = sprintf( - __d('cake', 'The requested address %s was not found on this server.'), - "'{$url}'" - ) ?> -
diff --git a/cakephp/notejam/src/Template/Error/error500.ctp b/cakephp/notejam/src/Template/Error/error500.ctp deleted file mode 100644 index d2b7d92a1..000000000 --- a/cakephp/notejam/src/Template/Error/error500.ctp +++ /dev/null @@ -1,37 +0,0 @@ -layout = 'dev_error'; - - $this->assign('title', $message); - $this->assign('templateName', 'error500.ctp'); - - $this->start('file'); -?> -queryString)) : ?> -- SQL Query: - = h($error->queryString) ?> -
- -params)) : ?> - SQL Query Params: - = Debugger::dump($error->params) ?> - -element('auto_table_warning'); - - if (extension_loaded('xdebug')): - xdebug_print_function_stack(); - endif; - - $this->end(); -endif; -?> -- = __d('cake', 'Error') ?>: - = h($message) ?> -
diff --git a/cakephp/notejam/src/Template/Layout/Email/html/default.ctp b/cakephp/notejam/src/Template/Layout/Email/html/default.ctp deleted file mode 100644 index 2b4397008..000000000 --- a/cakephp/notejam/src/Template/Layout/Email/html/default.ctp +++ /dev/null @@ -1,24 +0,0 @@ - - - - -
-
-
diff --git a/cakephp/notejam/src/Template/Layout/error.ctp b/cakephp/notejam/src/Template/Layout/error.ctp
deleted file mode 100644
index e6945a8ad..000000000
--- a/cakephp/notejam/src/Template/Layout/error.ctp
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-
-
- = $this->Html->charset() ?>
- = __("Are you sure you want to delete {$note->name};") ?>
-= $this->Form->create(); ?> - - " ?> - - = $this->Html->link(__('Cancel'), ['_name' => 'view_note', 'id' => $note->id]) ?> -= $this->Form->end(); ?> diff --git a/cakephp/notejam/src/Template/Notes/edit.ctp b/cakephp/notejam/src/Template/Notes/edit.ctp deleted file mode 100644 index 24faf5dee..000000000 --- a/cakephp/notejam/src/Template/Notes/edit.ctp +++ /dev/null @@ -1,3 +0,0 @@ -assign('title', __('Edit ' . $note->name)); ?> - -element('notes/form'); ?> diff --git a/cakephp/notejam/src/Template/Notes/index.ctp b/cakephp/notejam/src/Template/Notes/index.ctp deleted file mode 100644 index db767a984..000000000 --- a/cakephp/notejam/src/Template/Notes/index.ctp +++ /dev/null @@ -1,20 +0,0 @@ -assign('title', __("All notes ({$notes->count()})")); ?> -count()): ?> -| = __("Note") ?> = $this->Html->link('↑', ['_name' => 'index', 'order' => '-name'], ['class' => 'sort_arrow']) ?>= $this->Html->link('↓', ['_name' => 'index', 'order' => 'name'], ['class' => 'sort_arrow']) ?> | -= __("Pad") ?> | -= __("Last modified") ?> = $this->Html->link('↑', ['_name' => 'index', 'order' => '-updated_at'], ['class' => 'sort_arrow']) ?>= $this->Html->link('↓', ['_name' => 'index', 'order' => 'updated_at'], ['class' => 'sort_arrow']) ?> | -
|---|---|---|
| = $this->Html->link($note->name, ['id' => $note->id, '_name' => 'view_note']) ?> | -= h($note->pad) ? $this->Html->link($note->pad->name, ['id' => $note->pad->id, '_name' => 'view_pad']) : 'No pad'; ?> | -= $note->getPrettyDate(); ?> | -
= __("Create your first note") ?>
- -= $this->Html->link(__("New note"), ["_name" => "create_note"], ["class" => "button"]); ?> diff --git a/cakephp/notejam/src/Template/Notes/view.ctp b/cakephp/notejam/src/Template/Notes/view.ctp deleted file mode 100644 index 3c48c2362..000000000 --- a/cakephp/notejam/src/Template/Notes/view.ctp +++ /dev/null @@ -1,9 +0,0 @@ -assign('title', h($note->name)); ?> -Last edited at = $note->getPrettyDate(); ?>
-- = h($note->text); ?> -
-= __("Are you sure you want to delete {$pad->name};") ?>
-= $this->Form->create(); ?> - " ?> - - = $this->Html->link(__('Cancel'), ['_name' => 'index']) ?> -= $this->Form->end(); ?> diff --git a/cakephp/notejam/src/Template/Pads/edit.ctp b/cakephp/notejam/src/Template/Pads/edit.ctp deleted file mode 100644 index 7fba45ec6..000000000 --- a/cakephp/notejam/src/Template/Pads/edit.ctp +++ /dev/null @@ -1,4 +0,0 @@ -assign('title', __('Edit ' . $pad->name)); ?> - -element('pads/form'); ?> -= $this->Html->link('Delete pad', ['id' => $pad->id, '_name' => 'delete_pad'], ['class' => 'small-red']) ?> diff --git a/cakephp/notejam/src/Template/Pads/view.ctp b/cakephp/notejam/src/Template/Pads/view.ctp deleted file mode 100644 index 4766dc3f1..000000000 --- a/cakephp/notejam/src/Template/Pads/view.ctp +++ /dev/null @@ -1,19 +0,0 @@ -assign('title', __($pad->name . " ({$notes->count()})")); ?> -count()): ?> -| = __("Note") ?> = $this->Html->link('↑', ['_name' => 'view_pad', 'order' => '-name', 'id' => $pad->id], ['class' => 'sort_arrow']) ?>= $this->Html->link('↓', ['_name' => 'view_pad', 'order' => 'name', 'id' => $pad->id], ['class' => 'sort_arrow']) ?> | -= __("Last modified") ?> = $this->Html->link('↑', ['_name' => 'view_pad', 'order' => '-updated_at', 'id' => $pad->id], ['class' => 'sort_arrow']) ?>= $this->Html->link('↓', ['_name' => 'view_pad', 'order' => 'updated_at', 'id' => $pad->id], ['class' => 'sort_arrow']) ?> | -
|---|---|
| = $this->Html->link($note->name, ['id' => $note->id, '_name' => 'view_note']) ?> | -= $note->getPrettyDate(); ?> | -
= __("Create your first note in the pad") ?>
- -= $this->Html->link(__("New note"), ["_name" => "create_note", "pad" => $pad->id], ["class" => "button"]); ?>| = $this->Paginator->sort('id') ?> | -= $this->Paginator->sort('email') ?> | -= $this->Paginator->sort('password') ?> | -= __('Actions') ?> | -
|---|---|---|---|
| = $this->Number->format($user->id) ?> | -= h($user->email) ?> | -= h($user->password) ?> | -- = $this->Html->link(__('View'), ['action' => 'view', $user->id]) ?> - = $this->Html->link(__('Edit'), ['action' => 'edit', $user->id]) ?> - = $this->Form->postLink(__('Delete'), ['action' => 'delete', $user->id], ['confirm' => __('Are you sure you want to delete # {0}?', $user->id)]) ?> - | -
= $this->Paginator->counter() ?>
-= $this->Html->link(__('Forgot password?'), ['_name' => 'forgot_password'], ['class' => 'small-red']) ?>
-Form->end(); ?> diff --git a/cakephp/notejam/src/Template/Users/signup.ctp b/cakephp/notejam/src/Template/Users/signup.ctp deleted file mode 100644 index 770953124..000000000 --- a/cakephp/notejam/src/Template/Users/signup.ctp +++ /dev/null @@ -1,7 +0,0 @@ -assign('title', __('Sign up')); ?> -Form->create($user, ['class' => 'offset-by-six sign-in']); ?> - Form->input('email'); ?> - Form->input('password', ['label' => __('Password')]); ?> - Form->input('confirm_password', ['label' => __('Confirm password'), 'type' => 'password']); ?> - or = $this->Html->link(__('Sign In'), ['_name' => 'signin']) ?> -Form->end(); ?> diff --git a/cakephp/notejam/src/View/AppView.php b/cakephp/notejam/src/View/AppView.php deleted file mode 100644 index e8bb1118c..000000000 --- a/cakephp/notejam/src/View/AppView.php +++ /dev/null @@ -1,35 +0,0 @@ -loadHelper('Html');` - * - * @return void - */ - public function initialize() - { - } -} diff --git a/cakephp/notejam/src/View/Cell/PadsCell.php b/cakephp/notejam/src/View/Cell/PadsCell.php deleted file mode 100644 index 10d2d301a..000000000 --- a/cakephp/notejam/src/View/Cell/PadsCell.php +++ /dev/null @@ -1,33 +0,0 @@ -request->session()->read('Auth.User.id'); - $user = \Cake\ORM\TableRegistry::get('Users')->get($id, [ - 'contain' => ['Pads'] - ]); - $this->set('pads', $user->pads); - } -} diff --git a/cakephp/notejam/tests/Fixture/NotesFixture.php b/cakephp/notejam/tests/Fixture/NotesFixture.php deleted file mode 100644 index 5252801d2..000000000 --- a/cakephp/notejam/tests/Fixture/NotesFixture.php +++ /dev/null @@ -1,51 +0,0 @@ - ['type' => 'integer', 'length' => null, 'unsigned' => false, 'null' => false, 'default' => null, 'autoIncrement' => true, 'precision' => null, 'comment' => null], - 'pad_id' => ['type' => 'integer', 'length' => null, 'unsigned' => false, 'null' => true, 'default' => null, 'precision' => null, 'comment' => null, 'autoIncrement' => null], - 'user_id' => ['type' => 'integer', 'length' => null, 'unsigned' => false, 'null' => false, 'default' => null, 'precision' => null, 'comment' => null, 'autoIncrement' => null], - 'name' => ['type' => 'string', 'length' => 100, 'null' => false, 'default' => null, 'precision' => null, 'comment' => null, 'fixed' => null], - 'text' => ['type' => 'text', 'length' => null, 'null' => false, 'default' => null, 'precision' => null, 'comment' => null], - 'created_at' => ['type' => 'datetime', 'length' => null, 'null' => false, 'default' => null, 'precision' => null, 'comment' => null], - 'updated_at' => ['type' => 'datetime', 'length' => null, 'null' => false, 'default' => null, 'precision' => null, 'comment' => null], - '_constraints' => [ - 'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []], - 'user_id_fk' => ['type' => 'foreign', 'columns' => ['user_id'], 'references' => ['users', 'id'], 'update' => 'noAction', 'delete' => 'noAction', 'length' => []], - 'pad_id_fk' => ['type' => 'foreign', 'columns' => ['pad_id'], 'references' => ['pads', 'id'], 'update' => 'noAction', 'delete' => 'noAction', 'length' => []], - ], - ]; - // @codingStandardsIgnoreEnd - - /** - * Records - * - * @var array - */ - public $records = [ - [ - 'id' => 1, - 'pad_id' => 1, - 'user_id' => 1, - 'name' => 'Note #1', - 'text' => 'Lorem ipsum dolor sit amet, aliquet feugiat. Convallis morbi fringilla gravida, phasellus feugiat dapibus velit nunc, pulvinar eget sollicitudin venenatis cum nullam, vivamus ut a sed, mollitia lectus. Nulla vestibulum massa neque ut et, id hendrerit sit, feugiat in taciti enim proin nibh, tempor dignissim, rhoncus duis vestibulum nunc mattis convallis.', - 'created_at' => '2015-07-12 19:07:40', - 'updated_at' => '2015-07-12 19:07:40' - ], - ]; -} diff --git a/cakephp/notejam/tests/Fixture/PadsFixture.php b/cakephp/notejam/tests/Fixture/PadsFixture.php deleted file mode 100644 index 27da918d4..000000000 --- a/cakephp/notejam/tests/Fixture/PadsFixture.php +++ /dev/null @@ -1,42 +0,0 @@ - ['type' => 'integer', 'length' => null, 'unsigned' => false, 'null' => false, 'default' => null, 'autoIncrement' => true, 'precision' => null, 'comment' => null], - 'name' => ['type' => 'string', 'length' => 100, 'null' => false, 'default' => null, 'precision' => null, 'comment' => null, 'fixed' => null], - 'user_id' => ['type' => 'integer', 'length' => null, 'unsigned' => false, 'null' => false, 'default' => null, 'precision' => null, 'comment' => null, 'autoIncrement' => null], - '_constraints' => [ - 'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []], - 'user_id_fk' => ['type' => 'foreign', 'columns' => ['user_id'], 'references' => ['users', 'id'], 'update' => 'noAction', 'delete' => 'noAction', 'length' => []], - ], - ]; - // @codingStandardsIgnoreEnd - - /** - * Records - * - * @var array - */ - public $records = [ - [ - 'id' => 1, - 'name' => 'Pad', - 'user_id' => 1 - ], - ]; -} diff --git a/cakephp/notejam/tests/Fixture/UsersFixture.php b/cakephp/notejam/tests/Fixture/UsersFixture.php deleted file mode 100644 index 6731d3a4f..000000000 --- a/cakephp/notejam/tests/Fixture/UsersFixture.php +++ /dev/null @@ -1,48 +0,0 @@ - ['type' => 'integer', 'length' => null, 'unsigned' => false, 'null' => false, 'default' => null, 'autoIncrement' => true, 'precision' => null, 'comment' => null], - 'email' => ['type' => 'string', 'length' => 75, 'null' => false, 'default' => null, 'precision' => null, 'comment' => null, 'fixed' => null], - 'password' => ['type' => 'string', 'length' => 128, 'null' => false, 'default' => null, 'precision' => null, 'comment' => null, 'fixed' => null], - '_constraints' => [ - 'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []], - ], - ]; - // @codingStandardsIgnoreEnd - - /** - * Records - * - * @var array - */ - public $records = [ - [ - 'id' => 1, - 'email' => 'user1@example.com', - // password is 111111 - 'password' => '$2y$10$0hoGWxcL.dC6WWrhCDQUVezLFlxMkguhXDziDi.yQSLjhoBaI9FDO' - ], - [ - 'id' => 2, - 'email' => 'user2@example.com', - // password is 111111 - 'password' => '$2y$10$0hoGWxcL.dC6WWrhCDQUVezLFlxMkguhXDziDi.yQSLjhoBaI9FDO' - ], - ]; -} diff --git a/cakephp/notejam/tests/TestCase/Controller/NotesControllerTest.php b/cakephp/notejam/tests/TestCase/Controller/NotesControllerTest.php deleted file mode 100644 index 5fc33976f..000000000 --- a/cakephp/notejam/tests/TestCase/Controller/NotesControllerTest.php +++ /dev/null @@ -1,151 +0,0 @@ -signin($this->user); - $data = ['name' => 'New note', 'text' => 'Text']; - $this->post('/notes/create', $data); - $this->assertResponseSuccess(); - $this->assertRedirect('/'); - $this->assertEquals( - TableRegistry::get('Notes')->get(2)->name, - $data['name'] - ); - } - - /** - * Test if validation works when create a note - * - * @return void - */ - public function testCreateFailRequiredFields() - { - $this->signin($this->user); - $this->post('/notes/create', ['name' => '']); - $this->assertResponseContains('This field cannot be left empty'); - } - - /** - * Test if note can be successfully edited - * - * @return void - */ - public function testEditSuccess() - { - $this->signin($this->user); - $data = ['name' => 'New note name']; - $this->post('/notes/1/edit', $data); - $this->assertResponseSuccess(); - $this->assertRedirect('/notes/1'); - $this->assertEquals( - TableRegistry::get('Notes')->get(1)->name, - $data['name'] - ); - } - - /** - * Test if validation works when edit a note - * - * @return void - */ - public function testEditFailRequiredFields() - { - $this->signin($this->user); - $this->post('/notes/1/edit', ['name' => '']); - $this->assertResponseContains('This field cannot be left empty'); - } - - /** - * Test if note cannot be successfully viewed by not an owner - * - * @return void - */ - public function testEditFailNotAnOwner() - { - $this->signin(['id' => 2, 'email' => 'user2@example.com']); - $data = ['name' => 'New note name']; - $this->post('/notes/1/edit', $data); - $this->assertResponseError(); - } - - /** - * Test if note can be successfully viewed - * - * @return void - */ - public function testViewSuccess() - { - $this->signin($this->user); - $this->get('/notes/1'); - $this->assertResponseSuccess(); - $this->assertResponseContains('Note #1'); - } - - /** - * Test if note cannot be viewed by not an owner - * - * @return void - */ - public function testViewFailNotAnOwner() - { - $this->signin(['id' => 2, 'email' => 'user2@example.com']); - $this->get('/notes/1/'); - $this->assertResponseError(); - } - - /** - * Test if note can be successfully deleted - * - * @return void - */ - public function testDeleteSuccess() - { - $this->signin($this->user); - $this->post('/notes/1/delete', []); - $this->assertResponseSuccess(); - $this->assertRedirect('/'); - $this->assertEquals( - TableRegistry::get('Notes')->find('all')->count(), - 0 - ); - } - - /** - * Test if note cannot be deleted by not an owner - * - * @return void - */ - public function testDeleteFailNotAnOwner() - { - $this->signin(['id' => 2, 'email' => 'user2@example.com']); - $this->post('/notes/1/delete', []); - $this->assertResponseError(); - } -} diff --git a/cakephp/notejam/tests/TestCase/Controller/PadsControllerTest.php b/cakephp/notejam/tests/TestCase/Controller/PadsControllerTest.php deleted file mode 100644 index d1921f7cb..000000000 --- a/cakephp/notejam/tests/TestCase/Controller/PadsControllerTest.php +++ /dev/null @@ -1,151 +0,0 @@ -signin($this->user); - $data = ['name' => 'New pad']; - $this->post('/pads/create', $data); - $this->assertResponseSuccess(); - $this->assertRedirect('/pads/2'); - $this->assertEquals( - TableRegistry::get('Pads')->get(2)->name, - $data['name'] - ); - } - - /** - * Test if validation works when create a pad - * - * @return void - */ - public function testCreateFailRequiredFields() - { - $this->signin($this->user); - $this->post('/pads/create', ['name' => '']); - $this->assertResponseContains('This field cannot be left empty'); - } - - /** - * Test if pad can be successfully edited - * - * @return void - */ - public function testEditSuccess() - { - $this->signin($this->user); - $data = ['name' => 'New pad name']; - $this->post('/pads/1/edit', $data); - $this->assertResponseSuccess(); - $this->assertRedirect('/pads/1'); - $this->assertEquals( - TableRegistry::get('Pads')->get(1)->name, - $data['name'] - ); - } - - /** - * Test if validation works when edit a pad - * - * @return void - */ - public function testEditFailRequiredFields() - { - $this->signin($this->user); - $this->post('/pads/1/edit', ['name' => '']); - $this->assertResponseContains('This field cannot be left empty'); - } - - /** - * Test if pad cannot be edited by not an owner - * - * @return void - */ - public function testEditFailNotAnOwner() - { - $this->signin(['id' => 2, 'email' => 'user2@example.com']); - $data = ['name' => 'New pad name']; - $this->post('/pads/1/edit', $data); - $this->assertResponseError(); - } - - /** - * Test if pad can be successfully viewed - * - * @return void - */ - public function testViewSuccess() - { - $this->signin($this->user); - $this->get('/pads/1'); - $this->assertResponseSuccess(); - $this->assertResponseContains('Pad (1)'); - } - - /** - * Test if pad cannot be viewed by not an owner - * - * @return void - */ - public function testViewFailNotAnOwner() - { - $this->signin(['id' => 2, 'email' => 'user2@example.com']); - $this->get('/pads/1'); - $this->assertResponseError(); - } - - /** - * Test if pad can be successfully deleted - * - * @return void - */ - public function testDeleteSuccess() - { - $this->signin($this->user); - $this->post('/pads/1/delete', []); - $this->assertResponseSuccess(); - $this->assertRedirect('/'); - $this->assertEquals( - TableRegistry::get('Pads')->find('all')->count(), - 0 - ); - } - - /** - * Test if pad cannot be deleted by not an owner - * - * @return void - */ - public function testDeleteFailNotAnOwner() - { - $this->signin(['id' => 2, 'email' => 'user2@example.com']); - $this->post('/pads/1/delete', []); - $this->assertResponseError(); - } -} diff --git a/cakephp/notejam/tests/TestCase/Controller/UsersControllerTest.php b/cakephp/notejam/tests/TestCase/Controller/UsersControllerTest.php deleted file mode 100644 index 15ce28ec3..000000000 --- a/cakephp/notejam/tests/TestCase/Controller/UsersControllerTest.php +++ /dev/null @@ -1,139 +0,0 @@ - 'user@example.com', - 'password' => 'pa$$word', - 'confirm_password' => 'pa$$word' - ]; - $this->post('/signup', $data); - $this->assertResponseSuccess(); - $users = TableRegistry::get('Users'); - $query = $users->find()->where(['email' => $data['email']]); - $this->assertEquals(1, $query->count()); - } - - /** - * Test if signup fails if required fields are missing - * - * @return void - */ - public function testSignupFailRequiredFields() - { - $data = [ - 'email' => '', - 'password' => '', - 'confirm_password' => '' - ]; - $this->post('/signup', $data); - $this->assertResponseSuccess(); - $this->assertResponseContains('This field cannot be left empty'); - } - - /** - * Test if signup fails if email is invalid - * - * @return void - */ - public function testSignupFailInvalidEmail() - { - $data = [ - 'email' => 'invalid email' - ]; - $this->post('/signup', $data); - $this->assertResponseSuccess(); - $this->assertResponseContains('The provided value is invalid'); - } - - /** - * Test if signup fails if email already exists - * - * @return void - */ - public function testSignupFailEmailExists() - { - $data = [ - 'email' => 'user1@example.com', - 'password' => 'pa$$word', - 'confirm_password' => 'pa$$word' - ]; - $this->post('/signup', $data); - $this->assertResponseSuccess(); - $this->assertResponseContains('This value is already in use'); - } - - /** - * Test if signup fails if passwords do not match - * - * @return void - */ - public function testSignupFailPasswordsNotMatch() - { - $data = [ - 'email' => 'user1@example.com', - 'password' => 'pa$$word1', - 'confirm_password' => 'pa$$word2' - ]; - $this->post('/signup', $data); - $this->assertResponseSuccess(); - $this->assertResponseContains('Passwords do not match'); - } - - /** - * Test if signin success - * - * @return void - */ - public function testSigninSuccess() - { - $data = [ - 'email' => 'user1@example.com', - 'password' => '111111' - ]; - $this->post('/signin', $data); - $this->assertResponseSuccess(); - $this->assertRedirect(['controller' => 'Notes', 'action' => 'index']); - $this->assertSession('user1@example.com', 'Auth.User.email'); - - } - - /** - * Test if signin fails if provided credentials are wroing - * - * @return void - */ - public function testSigninFailWrongCredentials() - { - $data = [ - 'email' => 'user2@example.com', - 'password' => 'wrong password' - ]; - $this->post('/signin', $data); - $this->assertResponseContains('Your username or password is incorrect.'); - } -} diff --git a/cakephp/notejam/tests/TestCase/NotejamTestCase.php b/cakephp/notejam/tests/TestCase/NotejamTestCase.php deleted file mode 100644 index d8d5f468c..000000000 --- a/cakephp/notejam/tests/TestCase/NotejamTestCase.php +++ /dev/null @@ -1,44 +0,0 @@ - 1, - 'email' => 'user@example.com' - ]; - - /** - * Sign in user - * - * @param array $user User - * @return void - */ - public function signin($user) - { - $this->session([ - 'Auth' => [ - 'User' => [ - 'id' => $user['id'], - 'username' => $user['email'] - ] - ] - ]); - } - - /** - * Create a user - * - * @param array $userData User data - * @return User - */ - public function createUser($userData) - { - $user = TableRegistry::get('Users')->newEntity($userData); - TableRegistry::get('Users')->save($user); - return $user; - } -} diff --git a/cakephp/notejam/tests/bootstrap.php b/cakephp/notejam/tests/bootstrap.php deleted file mode 100644 index e56aa9df2..000000000 --- a/cakephp/notejam/tests/bootstrap.php +++ /dev/null @@ -1,8 +0,0 @@ - - RewriteEngine On - RewriteCond %{REQUEST_FILENAME} !-f - RewriteRule ^ index.php [L] - diff --git a/cakephp/notejam/webroot/css/style.css b/cakephp/notejam/webroot/css/style.css deleted file mode 100644 index 5748e0390..000000000 --- a/cakephp/notejam/webroot/css/style.css +++ /dev/null @@ -1,396 +0,0 @@ -/* -* Skeleton V1.0.3 -* Copyright 2011, Dave Gamache -* www.getskeleton.com -* Free to use under the MIT license. -* http://www.opensource.org/licenses/mit-license.php -* 7/17/2011 -*/ - - -/* Documentation Styles -================================================== */ - div.container { - padding-top: 40px; } - - /* Doc nav */ - nav { - width: 160px; } - #logo, .bold-header { - margin-bottom: 30px; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - letter-spacing: -1px; - color: #555; - font-weight: bold; } - .bold-header span { - font-weight: normal; - font-size: 23px; - } - .bold-header a.header { - text-decoration: none; - color: inherit; - } - .bold-header span.jam { - font-size: 46px; - line-height: 50px; - } - nav ul { - float: left; } - nav ul li { - display: block; - margin-bottom: 10px; } - nav ul li a, - nav ul li a:visited, - nav ul li a:active { - font-size: 14px; - color: #555; - text-decoration: none; - font-weight: bold; } - nav ul li a:hover, - nav ul li a:focus { - color: #222; } - header h1 { - font-size: 52px; - line-height: 61px; - letter-spacing: -1px; - font-weight: normal; - font-family: "Georgia", "Times New Roman", Helvetica, Arial, sans-serif; } - hr.large { - border: none; - height: 8px; - background: #ebebeb; - margin: 50px 0; } - div.doc-section { - margin: 30px 0; } - - #whatAndWhy .row { - padding: 30px 0 0; } - - #typography blockquote { - margin-top: 20px; } - - .hidden-code a { - font-size: 12px; - color: #999; } - .hidden-code>div { - display: none; } - - - /* Grid */ - #grid .column, - #grid .columns { - background: #ddd; - height: 25px; - line-height: 25px; - margin-bottom: 10px; - text-align: center; - text-transform: uppercase; - color: #555; - font-size: 12px; - font-weight: bold; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; } - #grid .column:hover, - #grid .columns:hover { - background: #bbb; - color: #333; } - #grid .example-grid { overflow: hidden; } - - .post-button-note, - .post-button-note a { - font-size: 11px; - color: #999; } - - #examples .four.columns a { - text-decoration: none; - } - #examples .four.columns a:hover { - text-decoration: underline; - } - - - .resize { - position: fixed; - bottom: 0; - right: 0; - height: 80px; - width: 80px; - background: url(images/resize.png); } - - - img { - max-width: 100%; - height: auto; } - - .gist-meta { display: none !important;} - - ul ul ul li { margin-bottom: 3px; } - - .twitter-share-button { margin-bottom: -18px; } - - /* Table stylesheets */ - table { - width: 100%; - border-collapse: collapse; - } - - table th, table td { - padding: 10px 10px 9px; - font-size: 13px; - line-height: 18px; - text-align: left; - } - - table td { - vertical-align: top; - border-top: solid 1px #ddd; - } - - table th { - padding-top: 9px; - font-weight: bold; - vertical-align: middle; - } - - table.condensed th, table.condensed td { - padding: 5px 5px 4px; - } - - table.bordered { - border-collapse: separate; - border: solid 1px #ddd; - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - border-radius: 2px; - } - - table.bordered th + th, - table.bordered th + td, - table.bordered td + td { - border-left: solid 1px #ddd; - } - - .zebra-striped tbody tr:nth-child(odd) td, - .zebra-striped tbody tr:nth-child(odd) th { - background: #f5f5f5; - } - -.carbonad, -.carbonad-image, -.carbonad-text, -.carbonad-tag { - background: none !important; - border: none !important; - margin-left: 0 !important; -} -.carbonad-tag { - margin-top: 6px !important; - padding-top: 0 !important; -} -.carbonad-text { - height: auto !important; -} -.carbonad-image { - margin-top: 0 !important; -} - -.hidden-text { - font-size: 12px; - color: #999; -} - -td.date, th.date { - text-align: right; -} - -td.date { - font-style: italic; -} - -form.note input[type="text"], form.note textarea { - width: 100%; -} - -form hr { - width: 218px; - margin: 10px 0px; -} - -form.note textarea { - height: 250px; -} - -div.content-area { - min-height: 600px; -} - -hr.footer { - margin-bottom: 10px; -} - -div.footer { - margin-bottom: 10px; - text-align: center; - font-size: 12px; -} - -form.sign-in { - margin: 50px 0 0 0; -} - -.sort_arrow { - text-decoration: none; -} - -.sort_arrow:hover { - text-decoration: none; - color: red; -} - -div.sign-in-out-block { - position: absolute; - right: 14px; - top: 8px; - font-size: 12px; -} - -div.sign-in-out-block a { - /*text-decoration: none;*/ -} - -a.small-red { - color: red; - font-size: 12px; -} - -table.notes { - margin: 0 0 20px 0; -} - -table.notes th.note { - width: 72%; -} - -table.notes td.pad { - color: grey; -} - -table.notes td.pad a { - color: grey; - text-decoration: underline; - font-style: normal; -} - - -table.notes td.pad a:hover { - color: black; -} - -p.empty { - color: grey; - font-style: italic; -} - -a.delete-note { - float: right; - font-size: 12px; - color: red; -} - -.red, input.red { - color: red !important; -} - -ul.errorlist, ul.errors, .error-message { - margin: -18px 0 0 0; -} - -ul.errorlist li, ul.errors li, .error-message { - color: red; -} - -.alert-area { - text-align: center; -} - -.alert { - padding: 5px 8px; - margin: 0 0 12px 0; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; -} - -.alert-success { - color: #468847; - background-color: #dff0d8; - border: 1px solid #d6e9c6; -} - -.alert-error { - color: #b94a48; - background-color: #f2dede; - border: 1px solid #eed3d7; -} - - /* Mobile */ - @media only screen and (max-width: 767px) { - header h1 { font-size: 34px; line-height: 37px; } - nav { position: relative; } - nav ul, - .carbonad { - display: none; - } - #logo { text-align: left; } - #examples .four.columns { - padding-top: 30px; - } - } - - /* Mobile Landscape */ - @media only screen and (min-width: 480px) and (max-width: 767px) { - nav ul { - display: none; - } - } - - /* Non 960 */ - @media only screen and (max-width: 959px) { - #logo { - font-size: 21px; - margin-bottom: 15px; } - nav .button { - padding: 9px 20px 11px; } - } - - /* iPad Portrait/Browser */ - @media only screen and (min-width: 768px) and (max-width: 959px) { - nav { - width: 124px; } - } - - /* Mobile/Browser */ - @media only screen and (max-width: 767px) {} - - /* Mobile Landscape/Browser */ - @media only screen and (min-width: 480px) and (max-width: 767px) {} - - /* Anything smaller than standard 960 */ - @media only screen and (max-width: 959px) {} - - - /* iPad Portrait Only */ - @media only screen and (min-width: 768px) and (max-width: 959px) and (max-device-width: 1000px) {} - - /* Mobile Only */ - @media only screen and (max-width: 767px) and (max-device-width: 1000px) {} - - /* Mobile Landscape Only */ - @media only screen and (min-width: 480px) and (max-width: 767px) and (max-device-width: 1000px) {} - - /* Anything smaller than standard 960 on a device */ - @media only screen and (max-width: 959px) and (max-device-width: 1000px) { - .resize { display: none; } - } - diff --git a/cakephp/notejam/webroot/favicon.ico b/cakephp/notejam/webroot/favicon.ico deleted file mode 100644 index aaac9c853..000000000 Binary files a/cakephp/notejam/webroot/favicon.ico and /dev/null differ diff --git a/cakephp/notejam/webroot/img/cake.icon.png b/cakephp/notejam/webroot/img/cake.icon.png deleted file mode 100644 index 394fa42d5..000000000 Binary files a/cakephp/notejam/webroot/img/cake.icon.png and /dev/null differ diff --git a/cakephp/notejam/webroot/img/cake.power.gif b/cakephp/notejam/webroot/img/cake.power.gif deleted file mode 100644 index 8f8d570a2..000000000 Binary files a/cakephp/notejam/webroot/img/cake.power.gif and /dev/null differ diff --git a/cakephp/notejam/webroot/index.php b/cakephp/notejam/webroot/index.php deleted file mode 100644 index d1e7b66db..000000000 --- a/cakephp/notejam/webroot/index.php +++ /dev/null @@ -1,37 +0,0 @@ -dispatch( - Request::createFromGlobals(), - new Response() -); diff --git a/cakephp/notejam/webroot/js/empty b/cakephp/notejam/webroot/js/empty deleted file mode 100644 index e69de29bb..000000000 diff --git a/contribute.rst b/contribute.rst index 4272d6c7f..b3b0d4103 100644 --- a/contribute.rst +++ b/contribute.rst @@ -16,26 +16,18 @@ Please prepend commit messages with framework name. Django: Implemented signout functionality -.. code-block:: - - Symfony: Fixed broken pad tests - **Bad** commit messages: .. code-block:: Implemented signout functionality in django -.. code-block:: - - Fixed broken symfony pad tests - ========== Code style ========== -Please follow code style guidelines and best practices for your programming language and framework. +Please follow code style guidelines and best practices for your framework. Specify guidelines in a README file in a code style section. @@ -44,7 +36,7 @@ Application overview ==================== Notejam is a web application which allows user to sign up/in/out and create/view/edit/delete notes. -Notes are grouped in pads. See `screenshotsAre you sure you want to delete {{ note.name }}?
- -{% endblock %} diff --git a/django/notejam/notes/templates/notes/note_create.html b/django/notejam/notes/templates/notes/note_create.html deleted file mode 100644 index fd38ecb14..000000000 --- a/django/notejam/notes/templates/notes/note_create.html +++ /dev/null @@ -1,8 +0,0 @@ -{% extends "base.html" %} - -{% block title %}New note{% endblock %} -{% block page_title %}New note{% endblock %} - -{% block content %} - {% include "notes/note_form.html" %} -{% endblock %} diff --git a/django/notejam/notes/templates/notes/note_detail.html b/django/notejam/notes/templates/notes/note_detail.html deleted file mode 100644 index 2390b9df9..000000000 --- a/django/notejam/notes/templates/notes/note_detail.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "base.html" %} -{% load date_tags %} - -{% block title %}{{note.name}}{%endblock%} -{% block page_title %}{{note.name}}{%endblock%} - -{% block content %} -Last edited {{ note.updated_at|smart_date }}
-| Note ↓↑ | -Pad | -Last modified ↓↑ | -
|---|---|---|
| {{ note.name }} | -- {% if note.pad %} - {{ note.pad.name }} - {% else %} - No pad - {% endif %} - | -{{ note.updated_at|smart_date }} | -
Create your first note.
- {% endif %} - New note -{% endblock %} diff --git a/django/notejam/notes/templatetags/__init__.py b/django/notejam/notes/templatetags/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/django/notejam/notes/templatetags/date_tags.py b/django/notejam/notes/templatetags/date_tags.py deleted file mode 100644 index acc17a0c0..000000000 --- a/django/notejam/notes/templatetags/date_tags.py +++ /dev/null @@ -1,17 +0,0 @@ -from datetime import date -from django import template - -register = template.Library() - - -@register.filter -def smart_date(updated_at): - delta = date.today() - updated_at.date() - if delta.days == 0: - return 'Today at {}'.format(updated_at.strftime("%H:%M")) - elif delta.days == 1: - return 'Yesterday at {}'.format(updated_at.strftime("%H:%M")) - elif 1 > delta.days > 4: - return '{} days ago'.format(abs(delta.days)) - else: - return updated_at.date() diff --git a/django/notejam/notes/tests.py b/django/notejam/notes/tests.py deleted file mode 100644 index e99e18798..000000000 --- a/django/notejam/notes/tests.py +++ /dev/null @@ -1,110 +0,0 @@ -from django.core.urlresolvers import reverse -from django.test import TestCase, Client - -from notejam.tests import create_user -from notes.models import Note - - -class NoteTest(TestCase): - def setUp(self): - user_data = { - 'email': 'user@example.com', - 'password': 'secure_password' - } - self.user = create_user(user_data) - self.client.login(**user_data) - - def test_create_success(self): - self.client.post( - reverse('create_note'), {'name': 'pad', 'text': 'pad text'}) - self.assertEqual(1, Note.objects.count()) - - def test_create_fail_required_fields(self): - response = self.client.post(reverse('create_note'), {}) - self.assertEqual( - set(['name', 'text']), set(response.context['form'].errors.keys())) - - def test_edit_success(self): - note_data = { - 'name': 'note name', - 'text': 'note text' - } - note = Note.objects.create(user=self.user, **note_data) - - note_data['name'] = 'new name' - response = self.client.post( - reverse('edit_note', args=(note.id,)), note_data) - self.assertRedirects(response, reverse('home')) - self.assertEqual(note_data['name'], Note.objects.get(id=note.id).name) - - def test_another_user_cant_edit(self): - user_data = { - 'email': 'another_user@example.com', - 'password': 'another_secure_password' - } - create_user(user_data) - - note_data = { - 'name': 'note name', - 'text': 'note text' - } - note = Note.objects.create(user=self.user, **note_data) - - client = Client() - client.login(**user_data) - response = client.post(reverse('edit_note', args=(note.id,)), {}) - self.assertEqual(404, response.status_code) - - def test_view_success(self): - note_data = { - 'name': 'note name', - 'text': 'note text' - } - note = Note.objects.create(user=self.user, **note_data) - response = self.client.get(reverse('view_note', args=(note.id,)), {}) - self.assertEqual(note, response.context['note']) - - def test_another_user_cant_view(self): - user_data = { - 'email': 'another_user@example.com', - 'password': 'another_secure_password' - } - create_user(user_data) - - note_data = { - 'name': 'note name', - 'text': 'note text' - } - note = Note.objects.create(user=self.user, **note_data) - - client = Client() - client.login(**user_data) - response = client.get(reverse('view_note', args=(note.id,)), {}) - self.assertEqual(404, response.status_code) - - def test_delete_success(self): - note_data = { - 'name': 'note name', - 'text': 'note text' - } - note = Note.objects.create(user=self.user, **note_data) - self.client.post(reverse('delete_note', args=(note.id,)), {}) - self.assertEqual(0, Note.objects.count()) - - def test_another_user_cant_delete(self): - user_data = { - 'email': 'another_user@example.com', - 'password': 'another_secure_password' - } - create_user(user_data) - - note_data = { - 'name': 'note name', - 'text': 'note text' - } - note = Note.objects.create(user=self.user, **note_data) - - client = Client() - client.login(**user_data) - response = client.get(reverse('view_note', args=(note.id,)), {}) - self.assertEqual(404, response.status_code) diff --git a/django/notejam/notes/urls.py b/django/notejam/notes/urls.py deleted file mode 100644 index 8f12af5c5..000000000 --- a/django/notejam/notes/urls.py +++ /dev/null @@ -1,21 +0,0 @@ -from django.conf.urls import patterns, url -from django.contrib.auth.decorators import login_required - -from notes.views import (NoteCreateView, NoteDeleteView, -NoteDetailView, NoteUpdateView) - - -# Uncomment the next two lines to enable the admin: -# from django.contrib import admin -# admin.autodiscover() - -urlpatterns = patterns('notes.views', - url(r'^create/$', login_required(NoteCreateView.as_view()), - name='create_note'), - url(r'^(?PAre you sure you want to delete {{ pad.name }} and all related notes?
- -{% endblock %} - - - diff --git a/django/notejam/pads/templates/pads/pad_create.html b/django/notejam/pads/templates/pads/pad_create.html deleted file mode 100644 index 77506cf8c..000000000 --- a/django/notejam/pads/templates/pads/pad_create.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends "base.html" %} - -{% block title %}New pad{% endblock %} -{% block page_title %}New pad{% endblock %} - -{% block content %} - {% include "pads/pad_form.html" %} -{% endblock %} - diff --git a/django/notejam/pads/templates/pads/pad_edit.html b/django/notejam/pads/templates/pads/pad_edit.html deleted file mode 100644 index 1e7fa62cf..000000000 --- a/django/notejam/pads/templates/pads/pad_edit.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ pad.name }}{% endblock %} -{% block page_title %}{{ pad.name }}{% endblock %} - -{% block content %} - {% include "pads/pad_form.html" %} - Delete pad -{% endblock %} - - diff --git a/django/notejam/pads/templates/pads/pad_form.html b/django/notejam/pads/templates/pads/pad_form.html deleted file mode 100644 index fd678c0b9..000000000 --- a/django/notejam/pads/templates/pads/pad_form.html +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/django/notejam/pads/templates/pads/pad_note_list.html b/django/notejam/pads/templates/pads/pad_note_list.html deleted file mode 100644 index c04602836..000000000 --- a/django/notejam/pads/templates/pads/pad_note_list.html +++ /dev/null @@ -1,29 +0,0 @@ -{% extends "base.html" %} -{% load date_tags %} - -{% block title %}{{ pad.name }} ({{ notes.count }}){%endblock%} -{% block page_title %}{{ pad.name }} ({{ notes.count }}){%endblock%} - -{% block content %} - {% if notes %} -| Note ↓↑ | -Last modified ↓↑ | -
|---|---|
| {{ note.name }} | -{{ note.updated_at|smart_date }} | -
Create your first note in the pad.
- {% endif %} - New note - Pad settings -{% endblock %} - - - diff --git a/django/notejam/pads/templatetags/__init__.py b/django/notejam/pads/templatetags/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/django/notejam/pads/templatetags/pad_tags.py b/django/notejam/pads/templatetags/pad_tags.py deleted file mode 100644 index eb029b146..000000000 --- a/django/notejam/pads/templatetags/pad_tags.py +++ /dev/null @@ -1,31 +0,0 @@ -from django import template - -from pads.models import Pad - -register = template.Library() - - -def do_get_pads(parser, token): - try: - tag_name, as_, var_name = token.split_contents() - except ValueError: - raise template.TemplateSyntaxError( - "%r tag requires a single argument - var name" - % token.contents.split()[0] - ) - if as_ != 'as': - raise template.TemplateSyntaxError( - "Format is: %r as VARNAME" % tag_name - ) - return GetPadsNode(var_name) - - -class GetPadsNode(template.Node): - def __init__(self, var_name): - self.var_name = var_name - - def render(self, context): - context[self.var_name] = Pad.objects.filter(user=context['user']) - return '' - -register.tag('get_pads', do_get_pads) diff --git a/django/notejam/pads/tests.py b/django/notejam/pads/tests.py deleted file mode 100644 index d76e87109..000000000 --- a/django/notejam/pads/tests.py +++ /dev/null @@ -1,49 +0,0 @@ -from django.core.urlresolvers import reverse -from django.test import TestCase, Client - -from notejam.tests import create_user -from pads.models import Pad - - -class PadTest(TestCase): - def setUp(self): - user_data = { - 'email': 'user@example.com', - 'password': 'secure_password' - } - self.user = create_user(user_data) - self.client.login(**user_data) - - def _create_pads(self, pads): - return [ - (lambda pad: Pad.objects.create(name=pad, user=self.user).id)(pad) - for pad in pads - ] - - def test_create_success(self): - self.client.post(reverse('create_pad'), {'name': 'pad'}) - self.assertEqual(1, Pad.objects.count()) - - def test_create_fail_required_name(self): - response = self.client.post(reverse('create_pad'), {}) - self.assertIn('name', response.context['form'].errors) - - def test_edit_success(self): - id = self._create_pads(['pad'])[0] - data = {'name': 'new name'} - response = self.client.post(reverse('edit_pad', args=(id,)), data) - self.assertRedirects(response, reverse('view_pad_notes', args=(id,))) - self.assertEqual(data['name'], Pad.objects.get(id=id).name) - - def test_another_user_cant_edit_pad(self): - user_data = { - 'email': 'another_user@example.com', - 'password': 'another_secure_password' - } - create_user(user_data) - - client = Client() - client.login(**user_data) - id = self._create_pads(['pad'])[0] - response = client.post(reverse('edit_pad', args=(id,)), {}) - self.assertEqual(404, response.status_code) diff --git a/django/notejam/pads/urls.py b/django/notejam/pads/urls.py deleted file mode 100644 index bec671a6a..000000000 --- a/django/notejam/pads/urls.py +++ /dev/null @@ -1,16 +0,0 @@ -from django.conf.urls import patterns, url -from django.contrib.auth.decorators import login_required - -from pads.views import (PadCreateView, PadNotesListView, PadUpdateView, -PadDeleteView) - -urlpatterns = patterns('', - url(r'^create/$', login_required(PadCreateView.as_view()), - name='create_pad'), - url(r'^(?P
-
-
diff --git a/django/notejam/templates/user.html b/django/notejam/templates/user.html
deleted file mode 100644
index 39a93a045..000000000
--- a/django/notejam/templates/user.html
+++ /dev/null
@@ -1,5 +0,0 @@
-{% extends "base.html" %}
-
-{% block pads %}{% endblock %}
-
-{% block content_class %}sixteen columns content-area{% endblock %}
diff --git a/django/notejam/users/__init__.py b/django/notejam/users/__init__.py
deleted file mode 100644
index e69de29bb..000000000
diff --git a/django/notejam/users/auth_backends.py b/django/notejam/users/auth_backends.py
deleted file mode 100644
index ada5ecd92..000000000
--- a/django/notejam/users/auth_backends.py
+++ /dev/null
@@ -1,18 +0,0 @@
-from django.contrib.auth.models import User
-
-
-class EmailModelBackend(object):
- ''' Custom backend to be able to use email for authentication '''
- def authenticate(self, email=None, password=None):
- try:
- user = User.objects.get(email=email)
- if user.check_password(password):
- return user
- except User.DoesNotExist:
- return None
-
- def get_user(self, user_id):
- try:
- return User.objects.get(pk=user_id)
- except User.DoesNotExist:
- return None
diff --git a/django/notejam/users/forms.py b/django/notejam/users/forms.py
deleted file mode 100644
index 0079708fb..000000000
--- a/django/notejam/users/forms.py
+++ /dev/null
@@ -1,56 +0,0 @@
-from django import forms
-from django.contrib.auth.models import User
-
-
-class SignupForm(forms.ModelForm):
- email = forms.EmailField()
- password = forms.CharField(widget=forms.PasswordInput())
- repeat_password = forms.CharField(widget=forms.PasswordInput())
-
- class Meta:
- model = User
- fields = ('email',)
-
- def save(self, force_insert=False, force_update=False, commit=True):
- user = super(SignupForm, self).save(commit=False)
- # username hack (we don't need username, but django requires it ?)
- user.username = user.email
-
- user.set_password(self.cleaned_data['password'])
- if commit:
- user.save()
- return user
-
- def clean_email(self):
- email = self.cleaned_data.get('email')
-
- if User.objects.filter(email=email).count():
- raise forms.ValidationError(
- 'User with this email is already signed up'
- )
-
- return email
-
- def clean_repeat_password(self):
- password = self.cleaned_data.get('password')
- repeat_password = self.cleaned_data.get('repeat_password')
-
- if password != repeat_password:
- raise forms.ValidationError("Your passwords do not match")
-
-
-class SigninForm(forms.Form):
- email = forms.EmailField()
- password = forms.CharField(widget=forms.PasswordInput())
-
-
-class ForgotPasswordForm(forms.Form):
- email = forms.EmailField()
-
- def clean_email(self):
- email = self.cleaned_data.get('email')
- try:
- User.objects.get(email=email)
- return email
- except User.DoesNotExist:
- raise forms.ValidationError("No user with given email")
diff --git a/django/notejam/users/models.py b/django/notejam/users/models.py
deleted file mode 100644
index 71a836239..000000000
--- a/django/notejam/users/models.py
+++ /dev/null
@@ -1,3 +0,0 @@
-from django.db import models
-
-# Create your models here.
diff --git a/django/notejam/users/templates/forgot_password.html b/django/notejam/users/templates/forgot_password.html
deleted file mode 100644
index 8851e0f07..000000000
--- a/django/notejam/users/templates/forgot_password.html
+++ /dev/null
@@ -1,15 +0,0 @@
-{% extends "user.html" %}
-
-{% block title %}Forgot password?{% endblock %}
-{% block page_title %}Forgot password?{% endblock %}
-
-{% block content %}
-
-{% endblock %}
-
diff --git a/django/notejam/users/templates/settings.html b/django/notejam/users/templates/settings.html
deleted file mode 100644
index 699e780ee..000000000
--- a/django/notejam/users/templates/settings.html
+++ /dev/null
@@ -1,20 +0,0 @@
-{% extends "user.html" %}
-
-{% block title %}Account Settings{% endblock %}
-{% block page_title %}Account Settings{% endblock %}
-
-{% block content %}
-
-{% endblock %}
diff --git a/django/notejam/users/templates/signin.html b/django/notejam/users/templates/signin.html
deleted file mode 100644
index faee87030..000000000
--- a/django/notejam/users/templates/signin.html
+++ /dev/null
@@ -1,19 +0,0 @@
-{% extends "user.html" %}
-
-{% block title %}Sign In{% endblock %}
-{% block page_title %}Sign In{% endblock %}
-
-{% block content %}
-
-{% endblock %}
diff --git a/django/notejam/users/templates/signup.html b/django/notejam/users/templates/signup.html
deleted file mode 100644
index ba717ced7..000000000
--- a/django/notejam/users/templates/signup.html
+++ /dev/null
@@ -1,21 +0,0 @@
-{% extends "user.html" %}
-
-{% block title %}Sign Up{% endblock %}
-{% block page_title %}Sign Up{% endblock %}
-
-{% block content %}
-
-{% endblock %}
-
diff --git a/django/notejam/users/tests.py b/django/notejam/users/tests.py
deleted file mode 100644
index 5923a6a83..000000000
--- a/django/notejam/users/tests.py
+++ /dev/null
@@ -1,83 +0,0 @@
-from django.contrib.auth.models import User
-from django.core.urlresolvers import reverse
-from django.test import TestCase
-
-
-class SignUpTest(TestCase):
- def _get_user_data(self, **kwargs):
- user_data = {
- 'email': 'email@example.com',
- 'password': 'secure_password',
- 'repeat_password': 'secure_password'
- }
- user_data.update(**kwargs)
- return user_data
-
- def test_signup_success(self):
- response = self.client.post(
- reverse('signup'), self._get_user_data())
- self.assertRedirects(response, reverse('signin'))
- self.assertEqual(1, User.objects.all().count())
-
- def test_signup_fail_required_fields(self):
- response = self.client.post(reverse('signup'), {})
- self.assertEqual(
- response.context['form'].errors.keys(),
- self._get_user_data().keys()
- )
-
- def test_signup_fail_invalid_email(self):
- invalid_data = self._get_user_data(email='invalid email')
- response = self.client.post(reverse('signup'), invalid_data)
- self.assertIn('email', response.context['form'].errors)
-
- def test_signup_fail_passwords_dont_match(self):
- invalid_data = self._get_user_data(password='another pass')
- response = self.client.post(reverse('signup'), invalid_data)
- self.assertIn('repeat_password', response.context['form'].errors)
-
- def test_signup_fail_email_exists(self):
- data = self._get_user_data()
- User.objects.create(
- email=data['email'],
- username=data['email'],
- password=data['password']
- )
-
- response = self.client.post(reverse('signup'), data)
- self.assertIn('email', response.context['form'].errors)
-
-
-class SignInTest(TestCase):
- def _get_user_data(self, **kwargs):
- user_data = {
- 'email': 'email@example.com',
- 'password': 'secure_password'
- }
- user_data.update(**kwargs)
- return user_data
-
- def test_signin_success(self):
- data = self._get_user_data()
- user = User.objects.create(email=data['email'], username=data['email'])
- user.set_password(data['password'])
- user.save()
-
- response = self.client.post(reverse('signin'), data)
- self.assertRedirects(response, reverse('home'))
-
- def test_signin_fail(self):
- response = self.client.post(reverse('signin'), self._get_user_data())
- self.assertContains(response, 'Wrong email or password')
-
- def test_signin_fail_required_fields(self):
- response = self.client.post(reverse('signin'), {})
- self.assertEqual(
- response.context['form'].errors.keys(),
- self._get_user_data().keys()
- )
-
- def test_signin_fail_invalid_email(self):
- invalid_data = self._get_user_data(email='invalid email')
- response = self.client.post(reverse('signin'), invalid_data)
- self.assertIn('email', response.context['form'].errors)
diff --git a/django/notejam/users/views.py b/django/notejam/users/views.py
deleted file mode 100644
index 51ac56d38..000000000
--- a/django/notejam/users/views.py
+++ /dev/null
@@ -1,106 +0,0 @@
-import hashlib
-from datetime import datetime
-
-from django.conf import settings
-from django.contrib import messages
-from django.contrib.auth import authenticate, login
-from django.contrib.auth.forms import PasswordChangeForm
-from django.contrib.auth.models import User
-from django.core.mail import send_mail
-from django.core.urlresolvers import reverse_lazy
-from django.shortcuts import redirect
-from django.views.generic.edit import FormView
-from django.views.generic.edit import CreateView
-
-from users.forms import SignupForm, SigninForm, ForgotPasswordForm
-
-
-class SignupView(CreateView):
- model = User
- form_class = SignupForm
- template_name = "signup.html"
- success_url = reverse_lazy('signin')
- success_message = "Account is created. Now you can sign in."
-
- def form_valid(self, form):
- messages.success(self.request, self.success_message)
- return super(SignupView, self).form_valid(form)
-
-
-class SigninView(FormView):
- template_name = "signin.html"
- form_class = SigninForm
- success_url = reverse_lazy('home')
- error_message = "Wrong email or password"
-
- def post(self, request, *args, **kwargs):
- form_class = self.get_form_class()
- form = self.get_form(form_class)
- if form.is_valid():
- user = authenticate(
- email=form.cleaned_data['email'],
- password=form.cleaned_data['password']
- )
- if user is not None:
- login(request, user)
- return redirect(reverse_lazy('home'))
- else:
- messages.error(request, self.error_message)
-
- return self.render_to_response(
- self.get_context_data(form=form)
- )
- else:
- return self.form_invalid(form, **kwargs)
-
-
-class ForgotPasswordView(FormView):
- form_class = ForgotPasswordForm
- template_name = 'forgot_password.html'
- success_url = reverse_lazy('signin')
- success_message = 'New password is sent in your email inbox'
-
- def form_valid(self, form):
- m = hashlib.md5()
- m.update(
- "{email}{secret}{date}".format(
- email=form.cleaned_data['email'],
- secret=settings.SECRET_KEY,
- date=str(datetime.today())
- )
- )
- new_password = m.hexdigest()[:8]
-
- user = User.objects.get(email=form.cleaned_data['email'])
- user.set_password(new_password)
- user.save()
-
- send_mail(
- 'Notejam password reset',
- 'Hi, {}. Your new password is {}.'.format(
- form.cleaned_data['email'],
- new_password
- ),
- 'from@notejamapp.com',
- [form.cleaned_data['email']],
- fail_silently=False
- )
- messages.success(self.request, self.success_message)
-
- return super(ForgotPasswordView, self).form_valid(form)
-
-
-class AccountSettingsView(FormView):
- form_class = PasswordChangeForm
- template_name = 'settings.html'
- success_url = reverse_lazy('home')
- success_message = 'Password is successfully changed'
-
- def get_form_kwargs(self):
- kwargs = super(AccountSettingsView, self).get_form_kwargs()
- kwargs['user'] = self.request.user
- return kwargs
-
- def form_valid(self, form):
- messages.success(self.request, self.success_message)
- return super(AccountSettingsView, self).form_valid(form)
diff --git a/django/requirements.txt b/django/requirements.txt
deleted file mode 100644
index 4c05c817f..000000000
--- a/django/requirements.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Django==1.6.5
-South==1.0
diff --git a/express/README.rst b/express/README.rst
deleted file mode 100644
index a851fa182..000000000
--- a/express/README.rst
+++ /dev/null
@@ -1,83 +0,0 @@
-****************
-Notejam: Express
-****************
-
-Notejam application implemented using `Express.js
-
-
diff --git a/laravel/notejam/app/views/note/create.blade.php b/laravel/notejam/app/views/note/create.blade.php
deleted file mode 100644
index 6b801ba8f..000000000
--- a/laravel/notejam/app/views/note/create.blade.php
+++ /dev/null
@@ -1,24 +0,0 @@
-@extends('user')
-
-@section('page_title')
-New note
-@stop
-
-@section('content')
- {{ Form::open(array("route" => "notes.store", "class" => "note")) }}
-
- {{ Form::label('name', 'Name') . Form::text('name', Input::old('name'), array('class' => 'thirteen')) }}
- @include('partials.error', array('error' => $errors->first('name')))
-
- {{ Form::label('text', 'Text') . Form::textarea('text', Input::old('text'), array('class' => 'thirteen')) }}
- @include('partials.error', array('error' => $errors->first('text')))
-
- {{ Form::label('pad_id', 'Pad') . Form::select('pad_id', array(0 => '-----------') + Auth::user()->pads()->lists('name', 'id'), Input::old('pad_id')) }}
-
- {{ Form::submit('Create') }}
-
- {{ Form::close() }}
-
-@stop
-
-
diff --git a/laravel/notejam/app/views/note/delete.blade.php b/laravel/notejam/app/views/note/delete.blade.php
deleted file mode 100644
index 9b226b376..000000000
--- a/laravel/notejam/app/views/note/delete.blade.php
+++ /dev/null
@@ -1,16 +0,0 @@
-@extends('user')
-
-@section('page_title')
-{{ $note->name }}
-@stop
-
-@section('content')
- {{ Form::open() }}
- Are you sure you want to delete {{ $note->name }}?
- {{ Form::submit('Yes, I want to delete this note', array('class' => 'button red')) }} - Cancel - - {{ Form::close() }} -@stop - - diff --git a/laravel/notejam/app/views/note/edit.blade.php b/laravel/notejam/app/views/note/edit.blade.php deleted file mode 100644 index d95e76c86..000000000 --- a/laravel/notejam/app/views/note/edit.blade.php +++ /dev/null @@ -1,26 +0,0 @@ -@extends('user') - -@section('page_title') -{{ $note->name }} -@stop - -@section('content') - {{ Form::open(array("route" => array("notes.update", $note->id), "class" => "note")) }} - - {{ Form::label('name', 'Name') . Form::text('name', $note->name, array('class' => 'thirteen')) }} - @include('partials.error', array('error' => $errors->first('name'))) - - {{ Form::label('text', 'Text') . Form::textarea('text', $note->text, array('class' => 'thirteen')) }} - @include('partials.error', array('error' => $errors->first('text'))) - - {{ Form::label('pad_id', 'Pad') . Form::select('pad_id', array(0 => '-----------') + Auth::user()->pads()->lists('name', 'id'), $note->pad_id) }} - - {{ Form::submit('Save') }} - - {{ Form::close() }} - -@stop - - - - diff --git a/laravel/notejam/app/views/note/index.blade.php b/laravel/notejam/app/views/note/index.blade.php deleted file mode 100644 index 367a52a6b..000000000 --- a/laravel/notejam/app/views/note/index.blade.php +++ /dev/null @@ -1,33 +0,0 @@ -@extends('user') - -@section('page_title') -All notes ({{ $notes->count() }}) -@stop - -@section('content') - @if ($notes->count()) -| Note ↑↓ | -Pad | -Last modified ↑↓ | -
|---|---|---|
| {{ $note->name }} | -- @if ($note->pad) - {{ $note->pad->name }} - @else - No pad - @endif - | -{{ $note->smartDate(); }} | -
Create your first note.
- @endif - New note -@stop diff --git a/laravel/notejam/app/views/note/view.blade.php b/laravel/notejam/app/views/note/view.blade.php deleted file mode 100644 index 19a552c3d..000000000 --- a/laravel/notejam/app/views/note/view.blade.php +++ /dev/null @@ -1,21 +0,0 @@ -@extends('user') - -@section('page_title') -{{ $note->name }} -@stop - -@section('content') -Last edited at {{ $note->smartDate() }}
-- {{ $note->text }} -
-Are you sure you want to delete {{ $pad->name }}?
- {{ Form::submit('Yes, I want to delete this pad', array('class' => 'button red')) }} - Cancel - - {{ Form::close() }} -@stop - diff --git a/laravel/notejam/app/views/pad/edit.blade.php b/laravel/notejam/app/views/pad/edit.blade.php deleted file mode 100644 index ac46abe20..000000000 --- a/laravel/notejam/app/views/pad/edit.blade.php +++ /dev/null @@ -1,17 +0,0 @@ -@extends('user') - -@section('page_title') -{{ $pad->name }} -@stop - -@section('content') - {{ Form::open(array('route' => array('pads.update', $pad->id))) }} - - {{ Form::label('name', 'Name') . Form::text('name', $pad->name) }} - @include('partials.error', array('error' => $errors->first('name'))) - - {{ Form::submit('Save') }} - {{ Form::close() }} - Delete pad - -@stop diff --git a/laravel/notejam/app/views/pad/view.blade.php b/laravel/notejam/app/views/pad/view.blade.php deleted file mode 100644 index 6fd1935e7..000000000 --- a/laravel/notejam/app/views/pad/view.blade.php +++ /dev/null @@ -1,26 +0,0 @@ -@extends('user') - -@section('page_title') -{{ $pad->name; }} ({{ $notes->count() }}) -@stop - -@section('content') - @if ($notes->count()) -| Note ↑↓ | -Last modified ↑↓ | -
|---|---|
| {{ $note->name }} | -{{ $note->smartDate(); }} | -
You don't have notes in this pad yet.
- @endif - New note - Pad settings -@stop diff --git a/laravel/notejam/app/views/partials/error.blade.php b/laravel/notejam/app/views/partials/error.blade.php deleted file mode 100644 index cf7c470da..000000000 --- a/laravel/notejam/app/views/partials/error.blade.php +++ /dev/null @@ -1,5 +0,0 @@ -@if($error) -
- {block javascripts}
-
- {/block}
-
-
diff --git a/nette/doctrine/notejam/app/Presenters/templates/@user.latte b/nette/doctrine/notejam/app/Presenters/templates/@user.latte
deleted file mode 100644
index 2b72e3db8..000000000
--- a/nette/doctrine/notejam/app/Presenters/templates/@user.latte
+++ /dev/null
@@ -1,5 +0,0 @@
-{extends '@layout.latte'}
-
-{block content_class}sixteen columns content-area{/block}
-
-{block pads}{/block}
diff --git a/nette/doctrine/notejam/app/Presenters/templates/Error/403.latte b/nette/doctrine/notejam/app/Presenters/templates/Error/403.latte
deleted file mode 100644
index 25c24ab3c..000000000
--- a/nette/doctrine/notejam/app/Presenters/templates/Error/403.latte
+++ /dev/null
@@ -1,7 +0,0 @@
-{block body}
-You do not have permission to view this page. Please try contact the web -site administrator if you believe you should be able to view this page.
- -error 403
diff --git a/nette/doctrine/notejam/app/Presenters/templates/Error/404.latte b/nette/doctrine/notejam/app/Presenters/templates/Error/404.latte deleted file mode 100644 index d0a09f2a3..000000000 --- a/nette/doctrine/notejam/app/Presenters/templates/Error/404.latte +++ /dev/null @@ -1,8 +0,0 @@ -{block body} -The page you requested could not be found. It is possible that the address is -incorrect, or that the page no longer exists. Please use a search engine to find -what you are looking for.
- -error 404
diff --git a/nette/doctrine/notejam/app/Presenters/templates/Error/405.latte b/nette/doctrine/notejam/app/Presenters/templates/Error/405.latte deleted file mode 100644 index 28192d2ff..000000000 --- a/nette/doctrine/notejam/app/Presenters/templates/Error/405.latte +++ /dev/null @@ -1,6 +0,0 @@ -{block body} -The requested method is not allowed for the URL.
- -error 405
diff --git a/nette/doctrine/notejam/app/Presenters/templates/Error/410.latte b/nette/doctrine/notejam/app/Presenters/templates/Error/410.latte deleted file mode 100644 index b81f19b68..000000000 --- a/nette/doctrine/notejam/app/Presenters/templates/Error/410.latte +++ /dev/null @@ -1,6 +0,0 @@ -{block body} -The page you requested has been taken off the site. We apologize for the inconvenience.
- -error 410
diff --git a/nette/doctrine/notejam/app/Presenters/templates/Error/4xx.latte b/nette/doctrine/notejam/app/Presenters/templates/Error/4xx.latte deleted file mode 100644 index d084ed723..000000000 --- a/nette/doctrine/notejam/app/Presenters/templates/Error/4xx.latte +++ /dev/null @@ -1,4 +0,0 @@ -{block body} -Your browser sent a request that this server could not understand or process.
diff --git a/nette/doctrine/notejam/app/Presenters/templates/Error/500.phtml b/nette/doctrine/notejam/app/Presenters/templates/Error/500.phtml deleted file mode 100644 index 619611eac..000000000 --- a/nette/doctrine/notejam/app/Presenters/templates/Error/500.phtml +++ /dev/null @@ -1,20 +0,0 @@ - - - -We're sorry! The server encountered an internal error and - was unable to complete your request. Please try again later.
- -error 500
-| - Note - ↑ - ↓ - | -Pad | -- Last modified - ↑ - ↓ - | -
|---|---|---|
| {$note->name} | -- {if $note->pad} - {$note->pad} - {else} - No pad - {/if} - | -{$note->updatedAt|date:'d M. Y'} | -
Create your first note.
-{/if} - -New note diff --git a/nette/doctrine/notejam/app/Presenters/templates/Note/delete.latte b/nette/doctrine/notejam/app/Presenters/templates/Note/delete.latte deleted file mode 100644 index 8b552f369..000000000 --- a/nette/doctrine/notejam/app/Presenters/templates/Note/delete.latte +++ /dev/null @@ -1,9 +0,0 @@ -{block title}Delete note {$note->name}{/block} -{block page_title}Delete note {$note->name}{/block} - -{block body} - diff --git a/nette/doctrine/notejam/app/Presenters/templates/Note/detail.latte b/nette/doctrine/notejam/app/Presenters/templates/Note/detail.latte deleted file mode 100644 index 8c2409094..000000000 --- a/nette/doctrine/notejam/app/Presenters/templates/Note/detail.latte +++ /dev/null @@ -1,10 +0,0 @@ -{block title}{$note->name}{/block} -{block page_title}{$note->name}{/block} - -{block body} -Last edited at {$note->updatedAt->format('H:i')}
-| - Note - ↑ - ↓ - | -Pad | -- Last modified - ↑ - ↓ - | -
|---|---|---|
| {$note->name} | -- {if $note->pad} - {$note->pad} - {else} - No pad - {/if} - | -{$note->updatedAt|date:'d M. Y'} | -
Create first note in the pad
-{/if} - -New note -Pad settings diff --git a/nette/doctrine/notejam/app/Presenters/templates/Pad/edit.latte b/nette/doctrine/notejam/app/Presenters/templates/Pad/edit.latte deleted file mode 100644 index 6448a3c4e..000000000 --- a/nette/doctrine/notejam/app/Presenters/templates/Pad/edit.latte +++ /dev/null @@ -1,6 +0,0 @@ -{block title}{$pad->name}{/block} -{block page_title}{$pad->name}{/block} - -{block body} - {control editPad-form} - Delete pad diff --git a/nette/doctrine/notejam/app/Presenters/templates/User/forgottenPassword.latte b/nette/doctrine/notejam/app/Presenters/templates/User/forgottenPassword.latte deleted file mode 100644 index e9ab4b29b..000000000 --- a/nette/doctrine/notejam/app/Presenters/templates/User/forgottenPassword.latte +++ /dev/null @@ -1,10 +0,0 @@ -{extends '../@user.latte'} - -{block title}Forgot Password?{/block} -{block page_title}Forgot Password?{/block} - -{block body} - diff --git a/nette/doctrine/notejam/app/Presenters/templates/User/settings.latte b/nette/doctrine/notejam/app/Presenters/templates/User/settings.latte deleted file mode 100644 index a33ed1173..000000000 --- a/nette/doctrine/notejam/app/Presenters/templates/User/settings.latte +++ /dev/null @@ -1,10 +0,0 @@ -{extends '../@user.latte'} - -{block title}Account Settings{/block} -{block page_title}Account Settings{/block} - -{block body} - diff --git a/nette/doctrine/notejam/app/Presenters/templates/User/signIn.latte b/nette/doctrine/notejam/app/Presenters/templates/User/signIn.latte deleted file mode 100644 index a8f4e16e7..000000000 --- a/nette/doctrine/notejam/app/Presenters/templates/User/signIn.latte +++ /dev/null @@ -1,21 +0,0 @@ -{extends '../@user.latte'} - -{block title}Sign In{/block} -{block page_title}Sign In{/block} - -{block body} - diff --git a/nette/doctrine/notejam/app/Presenters/templates/User/signUp.latte b/nette/doctrine/notejam/app/Presenters/templates/User/signUp.latte deleted file mode 100644 index 5b91bc2b9..000000000 --- a/nette/doctrine/notejam/app/Presenters/templates/User/signUp.latte +++ /dev/null @@ -1,20 +0,0 @@ -{extends '../@user.latte'} - -{block title}Sign Up{/block} -{block page_title}Sign Up{/block} - -{block body} - diff --git a/nette/doctrine/notejam/app/bootstrap.php b/nette/doctrine/notejam/app/bootstrap.php deleted file mode 100644 index 8fd851263..000000000 --- a/nette/doctrine/notejam/app/bootstrap.php +++ /dev/null @@ -1,21 +0,0 @@ -setDebugMode('23.75.345.200'); // enable for your remote IP -$configurator->enableDebugger(__DIR__ . '/../log'); - -$configurator->setTempDirectory(__DIR__ . '/../temp'); - -$configurator->createRobotLoader() - ->addDirectory(__DIR__) - ->register(); - -$configurator->addConfig(__DIR__ . '/config/config.neon'); -$configurator->addConfig(__DIR__ . '/config/config.local.neon'); - -$container = $configurator->createContainer(); - -return $container; diff --git a/nette/doctrine/notejam/app/config/config.local.example.neon b/nette/doctrine/notejam/app/config/config.local.example.neon deleted file mode 100644 index 8ef3ce85f..000000000 --- a/nette/doctrine/notejam/app/config/config.local.example.neon +++ /dev/null @@ -1,2 +0,0 @@ -# copy me to config.local.neon -parameters: diff --git a/nette/doctrine/notejam/app/config/config.neon b/nette/doctrine/notejam/app/config/config.neon deleted file mode 100644 index 63a9977a2..000000000 --- a/nette/doctrine/notejam/app/config/config.neon +++ /dev/null @@ -1,42 +0,0 @@ -# WARNING: it is CRITICAL that this file & directory are NOT accessible directly via a web browser! -# https://nette.org/security-warning - -parameters: - srcDir: %appDir%/../src - - -php: - date.timezone: Europe/Prague - - -extensions: - console: Kdyby\Console\DI\ConsoleExtension - events: Kdyby\Events\DI\EventsExtension - annotations: Kdyby\Annotations\DI\AnnotationsExtension - doctrine: Kdyby\Doctrine\DI\OrmExtension - doctrine2identity: Majkl578\NetteAddons\Doctrine2Identity\DI\IdentityExtension - - -application: - errorPresenter: Error - mapping: - *: Notejam\*Module\Presenters\*Presenter - - -session: - expiration: 14 days - - -doctrine: - driver: pdo_sqlite - path: %appDir%/../notejam.db - metadata: - Notejam: %srcDir%/Notejam - - -events: - debugger: off - - -includes: - - services.neon diff --git a/nette/doctrine/notejam/app/config/services.neon b/nette/doctrine/notejam/app/config/services.neon deleted file mode 100644 index 4a04010a4..000000000 --- a/nette/doctrine/notejam/app/config/services.neon +++ /dev/null @@ -1,21 +0,0 @@ -services: - router: Notejam\Http\RouterFactory::createRouter - security.authenticator: Notejam\Users\Authenticator - - latte.latteFactory: - setup: - - addFilter(length, 'Notejam\Templating\RuntimeFilters::length') - - - Notejam\UI\FormFactory - - Notejam\Components\ISignInControlFactory - - Notejam\Components\ISignUpControlFactory - - Notejam\Components\INoteControlFactory - - Notejam\Components\IPadsControlFactory - - Notejam\Components\ISettingsControlFactory - - Notejam\Components\PadsList\IPadsListControlFactory - - Notejam\Components\IForgottenPasswordControlFactory - - Notejam\Components\IConfirmationControlFactory - - - Notejam\Notes\NoteRepository - - Notejam\Pads\PadRepository - - Notejam\Users\UserRepository diff --git a/nette/doctrine/notejam/codeception.yml b/nette/doctrine/notejam/codeception.yml deleted file mode 100644 index 15019d00a..000000000 --- a/nette/doctrine/notejam/codeception.yml +++ /dev/null @@ -1,23 +0,0 @@ -actor: Tester -paths: - tests: tests - log: tests/_output - data: tests/_data - support: tests/_support - envs: tests/_envs -settings: - bootstrap: _bootstrap.php - colors: true - memory_limit: 1024M -extensions: - enabled: - - Codeception\Extension\RunFailed -modules: - config: - Db: - dsn: 'sqlite:notejam.db' - user: - password: - dump: tests/_data/dump.sql - populate: true - cleanup: true diff --git a/nette/doctrine/notejam/composer.json b/nette/doctrine/notejam/composer.json deleted file mode 100644 index 6edba100b..000000000 --- a/nette/doctrine/notejam/composer.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "nette/web-project", - "description": "Nette: Standard Web Project", - "type": "project", - "license": ["MIT", "BSD-3-Clause", "GPL-2.0", "GPL-3.0"], - "require": { - "php": ">= 5.4.0", - "nette/application": "~2.3.6", - "nette/bootstrap": "~2.3.0", - "nette/caching": "~2.3.0", - "nette/di": "~2.3.0", - "nette/finder": "~2.3.0", - "nette/forms": "~2.3.0", - "nette/http": "~2.3.0", - "nette/mail": "~2.3.0", - "nette/robot-loader": "~2.3.0", - "nette/safe-stream": "~2.3.0", - "nette/security": "~2.3.0", - "nette/utils": "~2.3.0", - "latte/latte": "~2.3.0", - "tracy/tracy": "~2.3.0", - "nextras/static-router": "^1.0", - "kdyby/doctrine": "^3.0", - "majkl578/nette-identity-doctrine": "~2.3@rc" - }, - "autoload": { - "classmap": [ - "app/", - "src/Notejam/exceptions.php" - ], - "psr-4": { - "Notejam\\": "src/Notejam" - } - }, - "require-dev": { - "nette/tester": "~1.4", - "codeception/codeception": "^2.0" - } -} diff --git a/nette/doctrine/notejam/composer.lock b/nette/doctrine/notejam/composer.lock deleted file mode 100644 index 42880c42d..000000000 --- a/nette/doctrine/notejam/composer.lock +++ /dev/null @@ -1,3754 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", - "This file is @generated automatically" - ], - "hash": "99a26131a249a67fdc54e59ec1add7b2", - "content-hash": "bb5d12a2b59bf82f1fd5ad6e2252efce", - "packages": [ - { - "name": "doctrine/annotations", - "version": "v1.2.7", - "source": { - "type": "git", - "url": "https://github.com/doctrine/annotations.git", - "reference": "f25c8aab83e0c3e976fd7d19875f198ccf2f7535" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/annotations/zipball/f25c8aab83e0c3e976fd7d19875f198ccf2f7535", - "reference": "f25c8aab83e0c3e976fd7d19875f198ccf2f7535", - "shasum": "" - }, - "require": { - "doctrine/lexer": "1.*", - "php": ">=5.3.2" - }, - "require-dev": { - "doctrine/cache": "1.*", - "phpunit/phpunit": "4.*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3.x-dev" - } - }, - "autoload": { - "psr-0": { - "Doctrine\\Common\\Annotations\\": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "Docblock Annotations Parser", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "annotations", - "docblock", - "parser" - ], - "time": "2015-08-31 12:32:49" - }, - { - "name": "doctrine/cache", - "version": "v1.5.1", - "source": { - "type": "git", - "url": "https://github.com/doctrine/cache.git", - "reference": "2b9cec5a5e722010cbebc91713d4c11eaa064d5e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/cache/zipball/2b9cec5a5e722010cbebc91713d4c11eaa064d5e", - "reference": "2b9cec5a5e722010cbebc91713d4c11eaa064d5e", - "shasum": "" - }, - "require": { - "php": ">=5.3.2" - }, - "conflict": { - "doctrine/common": ">2.2,<2.4" - }, - "require-dev": { - "phpunit/phpunit": ">=3.7", - "predis/predis": "~1.0", - "satooshi/php-coveralls": "~0.6" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.5.x-dev" - } - }, - "autoload": { - "psr-4": { - "Doctrine\\Common\\Cache\\": "lib/Doctrine/Common/Cache" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "Caching library offering an object-oriented API for many cache backends", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "cache", - "caching" - ], - "time": "2015-11-02 18:35:48" - }, - { - "name": "doctrine/collections", - "version": "v1.3.0", - "source": { - "type": "git", - "url": "https://github.com/doctrine/collections.git", - "reference": "6c1e4eef75f310ea1b3e30945e9f06e652128b8a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/collections/zipball/6c1e4eef75f310ea1b3e30945e9f06e652128b8a", - "reference": "6c1e4eef75f310ea1b3e30945e9f06e652128b8a", - "shasum": "" - }, - "require": { - "php": ">=5.3.2" - }, - "require-dev": { - "phpunit/phpunit": "~4.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.2.x-dev" - } - }, - "autoload": { - "psr-0": { - "Doctrine\\Common\\Collections\\": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "Collections Abstraction library", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "array", - "collections", - "iterator" - ], - "time": "2015-04-14 22:21:58" - }, - { - "name": "doctrine/common", - "version": "v2.5.1", - "source": { - "type": "git", - "url": "https://github.com/doctrine/common.git", - "reference": "0009b8f0d4a917aabc971fb089eba80e872f83f9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/common/zipball/0009b8f0d4a917aabc971fb089eba80e872f83f9", - "reference": "0009b8f0d4a917aabc971fb089eba80e872f83f9", - "shasum": "" - }, - "require": { - "doctrine/annotations": "1.*", - "doctrine/cache": "1.*", - "doctrine/collections": "1.*", - "doctrine/inflector": "1.*", - "doctrine/lexer": "1.*", - "php": ">=5.3.2" - }, - "require-dev": { - "phpunit/phpunit": "~3.7" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.6.x-dev" - } - }, - "autoload": { - "psr-0": { - "Doctrine\\Common\\": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "Common Library for Doctrine projects", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "annotations", - "collections", - "eventmanager", - "persistence", - "spl" - ], - "time": "2015-08-31 13:00:22" - }, - { - "name": "doctrine/dbal", - "version": "v2.5.2", - "source": { - "type": "git", - "url": "https://github.com/doctrine/dbal.git", - "reference": "01dbcbc5cd0a913d751418e635434a18a2f2a75c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/01dbcbc5cd0a913d751418e635434a18a2f2a75c", - "reference": "01dbcbc5cd0a913d751418e635434a18a2f2a75c", - "shasum": "" - }, - "require": { - "doctrine/common": ">=2.4,<2.6-dev", - "php": ">=5.3.2" - }, - "require-dev": { - "phpunit/phpunit": "4.*", - "symfony/console": "2.*" - }, - "suggest": { - "symfony/console": "For helpful console commands such as SQL execution and import of files." - }, - "bin": [ - "bin/doctrine-dbal" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.5.x-dev" - } - }, - "autoload": { - "psr-0": { - "Doctrine\\DBAL\\": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - } - ], - "description": "Database Abstraction Layer", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "database", - "dbal", - "persistence", - "queryobject" - ], - "time": "2015-09-16 16:29:33" - }, - { - "name": "doctrine/inflector", - "version": "v1.1.0", - "source": { - "type": "git", - "url": "https://github.com/doctrine/inflector.git", - "reference": "90b2128806bfde671b6952ab8bea493942c1fdae" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/90b2128806bfde671b6952ab8bea493942c1fdae", - "reference": "90b2128806bfde671b6952ab8bea493942c1fdae", - "shasum": "" - }, - "require": { - "php": ">=5.3.2" - }, - "require-dev": { - "phpunit/phpunit": "4.*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1.x-dev" - } - }, - "autoload": { - "psr-0": { - "Doctrine\\Common\\Inflector\\": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "Common String Manipulations with regard to casing and singular/plural rules.", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "inflection", - "pluralize", - "singularize", - "string" - ], - "time": "2015-11-06 14:35:42" - }, - { - "name": "doctrine/instantiator", - "version": "1.0.5", - "source": { - "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d", - "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d", - "shasum": "" - }, - "require": { - "php": ">=5.3,<8.0-DEV" - }, - "require-dev": { - "athletic/athletic": "~0.1.8", - "ext-pdo": "*", - "ext-phar": "*", - "phpunit/phpunit": "~4.0", - "squizlabs/php_codesniffer": "~2.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "http://ocramius.github.com/" - } - ], - "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://github.com/doctrine/instantiator", - "keywords": [ - "constructor", - "instantiate" - ], - "time": "2015-06-14 21:17:01" - }, - { - "name": "doctrine/lexer", - "version": "v1.0.1", - "source": { - "type": "git", - "url": "https://github.com/doctrine/lexer.git", - "reference": "83893c552fd2045dd78aef794c31e694c37c0b8c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/lexer/zipball/83893c552fd2045dd78aef794c31e694c37c0b8c", - "reference": "83893c552fd2045dd78aef794c31e694c37c0b8c", - "shasum": "" - }, - "require": { - "php": ">=5.3.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-0": { - "Doctrine\\Common\\Lexer\\": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "lexer", - "parser" - ], - "time": "2014-09-09 13:34:57" - }, - { - "name": "doctrine/orm", - "version": "v2.5.2", - "source": { - "type": "git", - "url": "https://github.com/doctrine/doctrine2.git", - "reference": "464b5fdbfbbeb4a65465ac173c4c5d90960f41ff" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/doctrine2/zipball/464b5fdbfbbeb4a65465ac173c4c5d90960f41ff", - "reference": "464b5fdbfbbeb4a65465ac173c4c5d90960f41ff", - "shasum": "" - }, - "require": { - "doctrine/cache": "~1.4", - "doctrine/collections": "~1.2", - "doctrine/common": ">=2.5-dev,<2.6-dev", - "doctrine/dbal": ">=2.5-dev,<2.6-dev", - "doctrine/instantiator": "~1.0.1", - "ext-pdo": "*", - "php": ">=5.4", - "symfony/console": "~2.5|~3.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.0", - "satooshi/php-coveralls": "dev-master", - "symfony/yaml": "~2.3|~3.0" - }, - "suggest": { - "symfony/yaml": "If you want to use YAML Metadata Mapping Driver" - }, - "bin": [ - "bin/doctrine", - "bin/doctrine.php" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.6.x-dev" - } - }, - "autoload": { - "psr-0": { - "Doctrine\\ORM\\": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - } - ], - "description": "Object-Relational-Mapper for PHP", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "database", - "orm" - ], - "time": "2015-11-23 12:44:25" - }, - { - "name": "kdyby/annotations", - "version": "v2.3.0", - "source": { - "type": "git", - "url": "https://github.com/Kdyby/Annotations.git", - "reference": "36cb90e8a28c1f9a23a5c351af2449139c21229d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Kdyby/Annotations/zipball/36cb90e8a28c1f9a23a5c351af2449139c21229d", - "reference": "36cb90e8a28c1f9a23a5c351af2449139c21229d", - "shasum": "" - }, - "require": { - "doctrine/annotations": "~1.2", - "kdyby/doctrine-cache": "~2.4@dev", - "nette/di": "~2.3@dev", - "nette/utils": "~2.3@dev" - }, - "conflict": { - "kdyby/doctrine": "0.9.*" - }, - "require-dev": { - "latte/latte": "~2.3@dev", - "nette/application": "~2.3@dev", - "nette/bootstrap": "~2.3@dev", - "nette/caching": "~2.3@dev", - "nette/component-model": "~2.2@dev", - "nette/database": "~2.3@dev", - "nette/deprecated": "~2.3@dev", - "nette/di": "~2.3@dev", - "nette/finder": "~2.3@dev", - "nette/forms": "~2.3@dev", - "nette/http": "~2.3@dev", - "nette/mail": "~2.3@dev", - "nette/neon": "~2.3@dev", - "nette/php-generator": "~2.3@dev", - "nette/reflection": "~2.3@dev", - "nette/robot-loader": "~2.3@dev", - "nette/safe-stream": "~2.3@dev", - "nette/security": "~2.3@dev", - "nette/tester": "~1.3@rc", - "nette/tokenizer": "~2.2@dev", - "nette/utils": "~2.3@dev", - "tracy/tracy": "~2.3@dev" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.2-dev" - } - }, - "autoload": { - "psr-0": { - "Kdyby\\Annotations\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "Filip Procházka", - "email": "filip@prochazka.su", - "homepage": "http://filip-prochazka.com" - }, - { - "name": "Jáchym Toušek", - "email": "enumag@gmail.com", - "homepage": "http://enumag.cz" - } - ], - "description": "Doctrine Annotations integration into Nette Framework", - "homepage": "http://kdyby.org", - "keywords": [ - "annotations", - "doctrine", - "kdyby", - "nette" - ], - "time": "2015-10-30 21:04:27" - }, - { - "name": "kdyby/console", - "version": "v2.5.0", - "source": { - "type": "git", - "url": "https://github.com/Kdyby/Console.git", - "reference": "50e9f6ce4db18628d01724d5085d8056056eb9cb" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Kdyby/Console/zipball/50e9f6ce4db18628d01724d5085d8056056eb9cb", - "reference": "50e9f6ce4db18628d01724d5085d8056056eb9cb", - "shasum": "" - }, - "require": { - "nette/application": "~2.3@dev", - "nette/di": "~2.3@dev", - "nette/http": "~2.3@dev", - "symfony/console": "~2.3" - }, - "require-dev": { - "kdyby/events": "~2.4@dev", - "latte/latte": "~2.3@dev", - "nette/application": "~2.3@dev", - "nette/bootstrap": "~2.3@dev", - "nette/caching": "~2.3@dev", - "nette/component-model": "~2.2@dev", - "nette/database": "~2.3@dev", - "nette/deprecated": "~2.3@dev", - "nette/di": "~2.3@dev", - "nette/finder": "~2.3@dev", - "nette/forms": "~2.3@dev", - "nette/http": "~2.3@dev", - "nette/mail": "~2.3@dev", - "nette/neon": "~2.3@dev", - "nette/php-generator": "~2.3@dev", - "nette/reflection": "~2.3@dev", - "nette/robot-loader": "~2.3@dev", - "nette/safe-stream": "~2.3@dev", - "nette/security": "~2.3@dev", - "nette/tester": "~1.6@rc", - "nette/tokenizer": "~2.2@dev", - "nette/utils": "~2.3@dev", - "symfony/event-dispatcher": "~2.3", - "tracy/tracy": "~2.3@dev" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.4-dev" - } - }, - "autoload": { - "psr-0": { - "Kdyby\\Console\\": "src/" - }, - "classmap": [ - "src/Kdyby/Console/CliPresenter.php", - "src/Kdyby/Console/exceptions.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "Filip Procházka", - "email": "filip@prochazka.su", - "homepage": "http://filip-prochazka.com" - } - ], - "description": "Symfony Console integration for Kdyby components", - "homepage": "http://kdyby.org", - "keywords": [ - "console", - "kdyby", - "nette" - ], - "time": "2015-10-30 21:57:23" - }, - { - "name": "kdyby/doctrine", - "version": "v3.0.1", - "source": { - "type": "git", - "url": "https://github.com/Kdyby/Doctrine.git", - "reference": "69c63fe943d1fade98d8879a9e3aa8fc9e7b5c4b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Kdyby/Doctrine/zipball/69c63fe943d1fade98d8879a9e3aa8fc9e7b5c4b", - "reference": "69c63fe943d1fade98d8879a9e3aa8fc9e7b5c4b", - "shasum": "" - }, - "require": { - "doctrine/dbal": "~2.5", - "doctrine/orm": "~2.5", - "kdyby/annotations": "~2.3@dev", - "kdyby/console": "~2.5@dev", - "kdyby/doctrine-cache": "~2.5@dev", - "kdyby/events": "~3.0@dev", - "nette/di": "~2.3@dev", - "nette/neon": "~2.3@dev", - "nette/robot-loader": "~2.3@dev", - "nette/utils": "~2.3@dev" - }, - "require-dev": { - "dg/dibi": "~2.0", - "latte/latte": "~2.3@dev", - "nette/application": "~2.3@dev", - "nette/bootstrap": "~2.3@dev", - "nette/caching": "~2.3@dev", - "nette/component-model": "~2.2@dev", - "nette/database": "~2.3@dev", - "nette/deprecated": "~2.2@dev", - "nette/di": "~2.3@dev", - "nette/finder": "~2.3@dev", - "nette/forms": "~2.3@dev", - "nette/http": "~2.3@dev", - "nette/mail": "~2.3@dev", - "nette/neon": "~2.3@dev", - "nette/php-generator": "~2.3@dev", - "nette/reflection": "~2.3@dev", - "nette/robot-loader": "~2.3@dev", - "nette/safe-stream": "~2.3@dev", - "nette/security": "~2.3@dev", - "nette/tester": "~1.3@rc", - "nette/tokenizer": "~2.2@dev", - "nette/utils": "~2.3@dev", - "tracy/tracy": "~2.3@dev" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "psr-0": { - "Kdyby\\Doctrine\\": "src/", - "Kdyby\\Persistence\\": "src/", - "Kdyby\\DibiBridge\\": "src/" - }, - "classmap": [ - "src/Kdyby/Doctrine/exceptions.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "Filip Procházka", - "email": "filip@prochazka.su", - "homepage": "http://filip-prochazka.com" - } - ], - "description": "Doctrine integration into Nette Framework", - "homepage": "http://kdyby.org", - "keywords": [ - "dbal", - "doctrine", - "kdyby", - "nette", - "orm" - ], - "time": "2015-11-14 14:11:04" - }, - { - "name": "kdyby/doctrine-cache", - "version": "v2.5.0", - "source": { - "type": "git", - "url": "https://github.com/Kdyby/DoctrineCache.git", - "reference": "01a55db5ab0e0892c77a7f6fa9ea0022dabb9440" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Kdyby/DoctrineCache/zipball/01a55db5ab0e0892c77a7f6fa9ea0022dabb9440", - "reference": "01a55db5ab0e0892c77a7f6fa9ea0022dabb9440", - "shasum": "" - }, - "require": { - "doctrine/cache": "~1.5", - "nette/caching": "~2.3@dev", - "nette/di": "~2.3@dev", - "php": ">=5.4" - }, - "require-dev": { - "latte/latte": "~2.3@dev", - "nette/application": "~2.3@dev", - "nette/bootstrap": "~2.3@dev", - "nette/caching": "~2.3@dev", - "nette/component-model": "~2.2@dev", - "nette/database": "~2.3@dev", - "nette/deprecated": "~2.3@dev", - "nette/di": "~2.3@dev", - "nette/finder": "~2.3@dev", - "nette/forms": "~2.3@dev", - "nette/http": "~2.3@dev", - "nette/mail": "~2.3@dev", - "nette/neon": "~2.3@dev", - "nette/php-generator": "~2.3@dev", - "nette/reflection": "~2.3@dev", - "nette/robot-loader": "~2.3@dev", - "nette/safe-stream": "~2.3@dev", - "nette/security": "~2.3@dev", - "nette/tester": "~1.3@rc", - "nette/tokenizer": "~2.2@dev", - "nette/utils": "~2.3@dev", - "tracy/tracy": "~2.3@dev" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.4-dev" - } - }, - "autoload": { - "psr-0": { - "Kdyby\\DoctrineCache\\": "src/" - }, - "classmap": [ - "src/Kdyby/DoctrineCache/exceptions.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "Filip Procházka", - "email": "filip@prochazka.su", - "homepage": "http://filip-prochazka.com" - } - ], - "description": "Doctrine Cache bridge for Nette Framework", - "homepage": "http://kdyby.org", - "keywords": [ - "cache", - "doctrine", - "kdyby", - "nette" - ], - "time": "2015-10-30 20:54:56" - }, - { - "name": "kdyby/events", - "version": "v3.0.0", - "source": { - "type": "git", - "url": "https://github.com/Kdyby/Events.git", - "reference": "fc82cd11e3415bb3c30d661948ab6279c40caa04" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Kdyby/Events/zipball/fc82cd11e3415bb3c30d661948ab6279c40caa04", - "reference": "fc82cd11e3415bb3c30d661948ab6279c40caa04", - "shasum": "" - }, - "require": { - "nette/di": "~2.3@dev", - "nette/utils": "~2.3@dev" - }, - "require-dev": { - "latte/latte": "~2.3@dev", - "nette/application": "~2.3@dev", - "nette/bootstrap": "~2.3@dev", - "nette/caching": "~2.3@dev", - "nette/component-model": "~2.2@dev", - "nette/database": "~2.3@dev", - "nette/deprecated": "~2.3@dev", - "nette/di": "~2.3@dev", - "nette/finder": "~2.3@dev", - "nette/forms": "~2.3@dev", - "nette/http": "~2.3@dev", - "nette/mail": "~2.3@dev", - "nette/neon": "~2.3@dev", - "nette/php-generator": "~2.3@dev", - "nette/reflection": "~2.3@dev", - "nette/robot-loader": "~2.3@dev", - "nette/safe-stream": "~2.3@dev", - "nette/security": "~2.3@dev", - "nette/tester": "~1.4", - "nette/tokenizer": "~2.2@dev", - "nette/utils": "~2.3@dev", - "symfony/event-dispatcher": "~2.3", - "tracy/tracy": "~2.3@dev" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.4-dev" - } - }, - "autoload": { - "psr-0": { - "Kdyby\\Events\\": "src/" - }, - "classmap": [ - "src/Kdyby/Events/exceptions.php" - ], - "files": [ - "src/Doctrine/compatibility.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "Filip Procházka", - "email": "filip@prochazka.su", - "homepage": "http://filip-prochazka.com" - } - ], - "description": "Events for Nette Framework", - "homepage": "http://kdyby.org", - "keywords": [ - "kdyby", - "nette" - ], - "time": "2015-10-30 18:00:28" - }, - { - "name": "latte/latte", - "version": "v2.3.7", - "source": { - "type": "git", - "url": "https://github.com/nette/latte.git", - "reference": "b6e090e461c9cd88d60ae79a7713990b17b1531c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nette/latte/zipball/b6e090e461c9cd88d60ae79a7713990b17b1531c", - "reference": "b6e090e461c9cd88d60ae79a7713990b17b1531c", - "shasum": "" - }, - "require": { - "ext-tokenizer": "*", - "php": ">=5.3.1" - }, - "require-dev": { - "nette/tester": "~1.3" - }, - "suggest": { - "ext-fileinfo": "to use filter |datastream", - "ext-mbstring": "to use filters like lower, upper, capitalize, ..." - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "https://davidgrudl.com" - }, - { - "name": "Nette Community", - "homepage": "https://nette.org/contributors" - } - ], - "description": "Latte: the amazing template engine for PHP", - "homepage": "https://latte.nette.org", - "keywords": [ - "templating", - "twig" - ], - "time": "2015-11-07 22:54:05" - }, - { - "name": "majkl578/nette-identity-doctrine", - "version": "v2.3-rc1", - "source": { - "type": "git", - "url": "https://github.com/Majkl578/nette-identity-doctrine.git", - "reference": "6d78821908dcf06e276b34eae7a3123d9fe1fb3a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Majkl578/nette-identity-doctrine/zipball/6d78821908dcf06e276b34eae7a3123d9fe1fb3a", - "reference": "6d78821908dcf06e276b34eae7a3123d9fe1fb3a", - "shasum": "" - }, - "require": { - "doctrine/orm": "~2.3", - "nette/di": "~2.2", - "nette/http": "~2.2", - "nette/security": "~2.2", - "php": ">=5.3.2" - }, - "require-dev": { - "kdyby/doctrine": "~2.0", - "nette/bootstrap": "~2.2", - "phpunit/phpunit": "~4.8", - "tracy/tracy": "~2.2" - }, - "type": "nette-addon", - "autoload": { - "psr-4": { - "Majkl578\\NetteAddons\\Doctrine2Identity\\": "lib" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Moravec" - } - ], - "description": "Integration of entities implementing IIdentity in Nette 2", - "keywords": [ - "Authentication", - "doctrine", - "identity", - "nette", - "orm", - "security" - ], - "time": "2015-11-27 13:47:40" - }, - { - "name": "nette/application", - "version": "v2.3.7", - "source": { - "type": "git", - "url": "https://github.com/nette/application.git", - "reference": "8e87ae81c2098abd7895bfd96d9fac1cd332abc3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nette/application/zipball/8e87ae81c2098abd7895bfd96d9fac1cd332abc3", - "reference": "8e87ae81c2098abd7895bfd96d9fac1cd332abc3", - "shasum": "" - }, - "require": { - "nette/component-model": "~2.2", - "nette/http": "~2.2", - "nette/reflection": "~2.2", - "nette/security": "~2.2", - "nette/utils": "~2.2", - "php": ">=5.3.1" - }, - "conflict": { - "nette/nette": "<2.2" - }, - "require-dev": { - "latte/latte": "~2.3.0", - "nette/di": "~2.3", - "nette/forms": "~2.2", - "nette/robot-loader": "~2.2", - "nette/tester": "~1.3" - }, - "suggest": { - "latte/latte": "Allows using Latte in templates", - "nette/forms": "Allows to use Nette\\Application\\UI\\Form" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "https://davidgrudl.com" - }, - { - "name": "Nette Community", - "homepage": "https://nette.org/contributors" - } - ], - "description": "Nette Application MVC Component", - "homepage": "https://nette.org", - "time": "2015-10-13 14:33:28" - }, - { - "name": "nette/bootstrap", - "version": "v2.3.3", - "source": { - "type": "git", - "url": "https://github.com/nette/bootstrap.git", - "reference": "8e2db45c39a1fa24f88e94c7b2a62ad09e9a306e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nette/bootstrap/zipball/8e2db45c39a1fa24f88e94c7b2a62ad09e9a306e", - "reference": "8e2db45c39a1fa24f88e94c7b2a62ad09e9a306e", - "shasum": "" - }, - "require": { - "nette/di": "~2.3", - "nette/utils": "~2.2", - "php": ">=5.3.1" - }, - "conflict": { - "nette/nette": "<2.2" - }, - "require-dev": { - "latte/latte": "~2.2", - "nette/application": "~2.3", - "nette/caching": "~2.3", - "nette/database": "~2.3", - "nette/forms": "~2.3", - "nette/http": "~2.3", - "nette/mail": "~2.3", - "nette/robot-loader": "~2.2", - "nette/safe-stream": "~2.2", - "nette/security": "~2.3", - "nette/tester": "~1.3", - "tracy/tracy": "~2.3" - }, - "suggest": { - "nette/robot-loader": "to use Configurator::createRobotLoader()", - "tracy/tracy": "to use Configurator::enableDebugger()" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "http://davidgrudl.com" - }, - { - "name": "Nette Community", - "homepage": "http://nette.org/contributors" - } - ], - "description": "Nette Bootstrap", - "homepage": "http://nette.org", - "time": "2015-07-11 21:07:11" - }, - { - "name": "nette/caching", - "version": "v2.3.3", - "source": { - "type": "git", - "url": "https://github.com/nette/caching.git", - "reference": "d4be13806d70c02d53b72cc63e93de6cf813f50f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nette/caching/zipball/d4be13806d70c02d53b72cc63e93de6cf813f50f", - "reference": "d4be13806d70c02d53b72cc63e93de6cf813f50f", - "shasum": "" - }, - "require": { - "nette/finder": "~2.2", - "nette/utils": "~2.2", - "php": ">=5.3.1" - }, - "conflict": { - "nette/nette": "<2.2" - }, - "require-dev": { - "latte/latte": "~2.3.0", - "nette/di": "~2.3", - "nette/tester": "~1.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.3-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "http://davidgrudl.com" - }, - { - "name": "Nette Community", - "homepage": "http://nette.org/contributors" - } - ], - "description": "Nette Caching Component", - "homepage": "http://nette.org", - "time": "2015-07-11 21:09:42" - }, - { - "name": "nette/component-model", - "version": "v2.2.4", - "source": { - "type": "git", - "url": "https://github.com/nette/component-model.git", - "reference": "07bce436051fd92d084642ce7a47f00045e0d1e5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nette/component-model/zipball/07bce436051fd92d084642ce7a47f00045e0d1e5", - "reference": "07bce436051fd92d084642ce7a47f00045e0d1e5", - "shasum": "" - }, - "require": { - "nette/utils": "^2.3.5", - "php": ">=5.3.1" - }, - "conflict": { - "nette/nette": "<2.2" - }, - "require-dev": { - "nette/tester": "~1.3" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "https://davidgrudl.com" - }, - { - "name": "Nette Community", - "homepage": "https://nette.org/contributors" - } - ], - "description": "Nette Component Model", - "homepage": "https://nette.org", - "time": "2015-10-06 17:54:05" - }, - { - "name": "nette/di", - "version": "v2.3.6", - "source": { - "type": "git", - "url": "https://github.com/nette/di.git", - "reference": "efa1d13f016b58b4a9200802c9c5b14d10d72e85" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nette/di/zipball/efa1d13f016b58b4a9200802c9c5b14d10d72e85", - "reference": "efa1d13f016b58b4a9200802c9c5b14d10d72e85", - "shasum": "" - }, - "require": { - "nette/neon": "^2.3.3", - "nette/php-generator": "^2.3.3", - "nette/utils": "~2.3", - "php": ">=5.3.1" - }, - "conflict": { - "nette/nette": "<2.2" - }, - "require-dev": { - "nette/tester": "~1.3" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "http://davidgrudl.com" - }, - { - "name": "Nette Community", - "homepage": "http://nette.org/contributors" - } - ], - "description": "Nette Dependency Injection Component", - "homepage": "http://nette.org", - "time": "2015-09-14 18:18:24" - }, - { - "name": "nette/finder", - "version": "v2.3.1", - "source": { - "type": "git", - "url": "https://github.com/nette/finder.git", - "reference": "38f803a03f4cddf352e28af70294c71f7026e516" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nette/finder/zipball/38f803a03f4cddf352e28af70294c71f7026e516", - "reference": "38f803a03f4cddf352e28af70294c71f7026e516", - "shasum": "" - }, - "require": { - "nette/utils": "~2.2", - "php": ">=5.3.1" - }, - "conflict": { - "nette/nette": "<2.2" - }, - "require-dev": { - "nette/tester": "~1.4" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "http://davidgrudl.com" - }, - { - "name": "Nette Community", - "homepage": "http://nette.org/contributors" - } - ], - "description": "Nette Finder: Files Searching", - "homepage": "http://nette.org", - "time": "2015-07-11 21:13:50" - }, - { - "name": "nette/forms", - "version": "v2.3.6", - "source": { - "type": "git", - "url": "https://github.com/nette/forms.git", - "reference": "5e07a7b7180e5e88db9d44e12f1677e36b4f164b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nette/forms/zipball/5e07a7b7180e5e88db9d44e12f1677e36b4f164b", - "reference": "5e07a7b7180e5e88db9d44e12f1677e36b4f164b", - "shasum": "" - }, - "require": { - "nette/component-model": "~2.2", - "nette/http": "~2.2", - "nette/utils": "~2.2", - "php": ">=5.3.1" - }, - "conflict": { - "nette/nette": "<2.2" - }, - "require-dev": { - "latte/latte": "~2.3.2", - "nette/di": "~2.3", - "nette/tester": "~1.3", - "tracy/tracy": "~2.2" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "https://davidgrudl.com" - }, - { - "name": "Nette Community", - "homepage": "https://nette.org/contributors" - } - ], - "description": "Nette Forms: greatly facilitates web forms", - "homepage": "https://nette.org", - "time": "2015-10-19 01:41:55" - }, - { - "name": "nette/http", - "version": "v2.3.3", - "source": { - "type": "git", - "url": "https://github.com/nette/http.git", - "reference": "ff2e4608391bca2444df9af6eaf8666ac853eb02" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nette/http/zipball/ff2e4608391bca2444df9af6eaf8666ac853eb02", - "reference": "ff2e4608391bca2444df9af6eaf8666ac853eb02", - "shasum": "" - }, - "require": { - "nette/utils": "~2.2, >=2.2.2", - "php": ">=5.3.1" - }, - "conflict": { - "nette/nette": "<2.2" - }, - "require-dev": { - "nette/di": "~2.3", - "nette/tester": "~1.4" - }, - "suggest": { - "ext-fileinfo": "to detect type of uploaded files" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "http://davidgrudl.com" - }, - { - "name": "Nette Community", - "homepage": "http://nette.org/contributors" - } - ], - "description": "Nette HTTP Component", - "homepage": "http://nette.org", - "time": "2015-07-19 16:17:50" - }, - { - "name": "nette/mail", - "version": "v2.3.3", - "source": { - "type": "git", - "url": "https://github.com/nette/mail.git", - "reference": "4ea303d96c6a80ffe357baf59d387f4fe2cfd412" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nette/mail/zipball/4ea303d96c6a80ffe357baf59d387f4fe2cfd412", - "reference": "4ea303d96c6a80ffe357baf59d387f4fe2cfd412", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "nette/utils": "~2.2", - "php": ">=5.3.1" - }, - "conflict": { - "nette/nette": "<2.2" - }, - "require-dev": { - "nette/di": "~2.3", - "nette/tester": "~1.3" - }, - "suggest": { - "ext-fileinfo": "to detect type of attached files" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "https://davidgrudl.com" - }, - { - "name": "Nette Community", - "homepage": "https://nette.org/contributors" - } - ], - "description": "Nette Mail: Sending E-mails", - "homepage": "https://nette.org", - "time": "2015-10-05 12:58:01" - }, - { - "name": "nette/neon", - "version": "v2.3.3", - "source": { - "type": "git", - "url": "https://github.com/nette/neon.git", - "reference": "12bbb0e85ba8521dd291f4df0fe20a1b79aae32c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nette/neon/zipball/12bbb0e85ba8521dd291f4df0fe20a1b79aae32c", - "reference": "12bbb0e85ba8521dd291f4df0fe20a1b79aae32c", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "php": ">=5.3.1" - }, - "require-dev": { - "nette/tester": "~1.4" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "http://davidgrudl.com" - }, - { - "name": "Nette Community", - "homepage": "http://nette.org/contributors" - } - ], - "description": "Nette NEON: parser & generator for Nette Object Notation", - "homepage": "http://ne-on.org", - "time": "2015-08-22 15:23:30" - }, - { - "name": "nette/php-generator", - "version": "v2.3.4", - "source": { - "type": "git", - "url": "https://github.com/nette/php-generator.git", - "reference": "846028e9d885d2d8ec60823d995e1291bbe3eb69" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nette/php-generator/zipball/846028e9d885d2d8ec60823d995e1291bbe3eb69", - "reference": "846028e9d885d2d8ec60823d995e1291bbe3eb69", - "shasum": "" - }, - "require": { - "nette/utils": "~2.2", - "php": ">=5.3.1" - }, - "conflict": { - "nette/nette": "<2.2" - }, - "require-dev": { - "nette/tester": "~1.4" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "https://davidgrudl.com" - }, - { - "name": "Nette Community", - "homepage": "https://nette.org/contributors" - } - ], - "description": "Nette PHP Generator", - "homepage": "https://nette.org", - "time": "2015-10-09 14:34:13" - }, - { - "name": "nette/reflection", - "version": "v2.3.1", - "source": { - "type": "git", - "url": "https://github.com/nette/reflection.git", - "reference": "9c2ed2a29f1f58125a0f19ffc987812d6b17d3e6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nette/reflection/zipball/9c2ed2a29f1f58125a0f19ffc987812d6b17d3e6", - "reference": "9c2ed2a29f1f58125a0f19ffc987812d6b17d3e6", - "shasum": "" - }, - "require": { - "ext-tokenizer": "*", - "nette/caching": "~2.2", - "nette/utils": "~2.2", - "php": ">=5.3.1" - }, - "conflict": { - "nette/nette": "<2.2" - }, - "require-dev": { - "nette/di": "~2.3", - "nette/tester": "~1.4" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "http://davidgrudl.com" - }, - { - "name": "Nette Community", - "homepage": "http://nette.org/contributors" - } - ], - "description": "Nette PHP Reflection Component", - "homepage": "http://nette.org", - "time": "2015-07-11 21:34:53" - }, - { - "name": "nette/robot-loader", - "version": "v2.3.1", - "source": { - "type": "git", - "url": "https://github.com/nette/robot-loader.git", - "reference": "69331d359bbc9e5f911c12b82187cac914d983fb" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nette/robot-loader/zipball/69331d359bbc9e5f911c12b82187cac914d983fb", - "reference": "69331d359bbc9e5f911c12b82187cac914d983fb", - "shasum": "" - }, - "require": { - "nette/caching": "~2.2", - "nette/finder": "~2.3", - "nette/utils": "~2.2", - "php": ">=5.3.1" - }, - "conflict": { - "nette/nette": "<2.2" - }, - "require-dev": { - "nette/tester": "~1.4" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "http://davidgrudl.com" - }, - { - "name": "Nette Community", - "homepage": "http://nette.org/contributors" - } - ], - "description": "Nette RobotLoader: comfortable autoloading", - "homepage": "http://nette.org", - "time": "2015-07-11 21:20:57" - }, - { - "name": "nette/safe-stream", - "version": "v2.3.1", - "source": { - "type": "git", - "url": "https://github.com/nette/safe-stream.git", - "reference": "bf30db367b51a0932c44dcb9a378927644d48b2e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nette/safe-stream/zipball/bf30db367b51a0932c44dcb9a378927644d48b2e", - "reference": "bf30db367b51a0932c44dcb9a378927644d48b2e", - "shasum": "" - }, - "require": { - "php": ">=5.3.1" - }, - "conflict": { - "nette/nette": "<2.2" - }, - "require-dev": { - "nette/tester": "~1.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.3-dev" - } - }, - "autoload": { - "files": [ - "src/loader.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "http://davidgrudl.com" - }, - { - "name": "Nette Community", - "homepage": "http://nette.org/contributors" - } - ], - "description": "Nette SafeStream: Atomic Operations", - "homepage": "http://nette.org", - "time": "2015-07-11 20:59:15" - }, - { - "name": "nette/security", - "version": "v2.3.1", - "source": { - "type": "git", - "url": "https://github.com/nette/security.git", - "reference": "744264a42b506d63009d7e3853ed72b04c99e964" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nette/security/zipball/744264a42b506d63009d7e3853ed72b04c99e964", - "reference": "744264a42b506d63009d7e3853ed72b04c99e964", - "shasum": "" - }, - "require": { - "nette/utils": "~2.2", - "php": ">=5.3.1" - }, - "conflict": { - "nette/nette": "<2.2" - }, - "require-dev": { - "nette/di": "~2.3", - "nette/http": "~2.3", - "nette/tester": "~1.4" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "http://davidgrudl.com" - }, - { - "name": "Nette Community", - "homepage": "http://nette.org/contributors" - } - ], - "description": "Nette Security: Access Control Component", - "homepage": "http://nette.org", - "time": "2015-07-11 21:22:53" - }, - { - "name": "nette/utils", - "version": "v2.3.6", - "source": { - "type": "git", - "url": "https://github.com/nette/utils.git", - "reference": "c9dfaec788eb65d5ef10cefed0ae63bc76febaa8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nette/utils/zipball/c9dfaec788eb65d5ef10cefed0ae63bc76febaa8", - "reference": "c9dfaec788eb65d5ef10cefed0ae63bc76febaa8", - "shasum": "" - }, - "require": { - "php": ">=5.3.1" - }, - "conflict": { - "nette/nette": "<2.2" - }, - "require-dev": { - "nette/tester": "~1.0" - }, - "suggest": { - "ext-gd": "to use Image", - "ext-iconv": "to use Strings::webalize() and toAscii()", - "ext-intl": "for script transliteration in Strings::webalize() and toAscii()", - "ext-mbstring": "to use Strings::lower() etc..." - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "https://davidgrudl.com" - }, - { - "name": "Nette Community", - "homepage": "https://nette.org/contributors" - } - ], - "description": "Nette Utility Classes", - "homepage": "https://nette.org", - "time": "2015-10-05 12:18:24" - }, - { - "name": "nextras/static-router", - "version": "v1.0.1", - "source": { - "type": "git", - "url": "https://github.com/nextras/static-router.git", - "reference": "cf4155820b9f2d2cb98705ce5538feb22226e8cc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nextras/static-router/zipball/cf4155820b9f2d2cb98705ce5538feb22226e8cc", - "reference": "cf4155820b9f2d2cb98705ce5538feb22226e8cc", - "shasum": "" - }, - "require": { - "nette/application": "~2.2", - "php": ">=5.3" - }, - "require-dev": { - "nette/tester": "~1.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Nextras\\Routing\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nextras Community", - "homepage": "https://github.com/nextras/static-router/graphs/contributors" - } - ], - "description": "Simple static router for Nette Framework", - "homepage": "https://github.com/nextras/static-router", - "keywords": [ - "nette", - "nextras", - "router" - ], - "time": "2015-06-13 09:05:20" - }, - { - "name": "symfony/console", - "version": "v2.7.7", - "source": { - "type": "git", - "url": "https://github.com/symfony/console.git", - "reference": "16bb1cb86df43c90931df65f529e7ebd79636750" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/16bb1cb86df43c90931df65f529e7ebd79636750", - "reference": "16bb1cb86df43c90931df65f529e7ebd79636750", - "shasum": "" - }, - "require": { - "php": ">=5.3.9" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/event-dispatcher": "~2.1", - "symfony/process": "~2.1" - }, - "suggest": { - "psr/log": "For using the console logger", - "symfony/event-dispatcher": "", - "symfony/process": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.7-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Console\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Console Component", - "homepage": "https://symfony.com", - "time": "2015-11-18 09:54:26" - }, - { - "name": "tracy/tracy", - "version": "v2.3.6", - "source": { - "type": "git", - "url": "https://github.com/nette/tracy.git", - "reference": "79831c75b6f48fcb897d25ccae5deec358cb2142" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nette/tracy/zipball/79831c75b6f48fcb897d25ccae5deec358cb2142", - "reference": "79831c75b6f48fcb897d25ccae5deec358cb2142", - "shasum": "" - }, - "require": { - "php": ">=5.3.1" - }, - "require-dev": { - "nette/di": "~2.3", - "nette/tester": "~1.3" - }, - "type": "library", - "autoload": { - "classmap": [ - "src" - ], - "files": [ - "src/shortcuts.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "https://davidgrudl.com" - }, - { - "name": "Nette Community", - "homepage": "https://nette.org/contributors" - } - ], - "description": "Tracy: useful PHP debugger", - "homepage": "https://tracy.nette.org", - "keywords": [ - "debug", - "debugger", - "nette" - ], - "time": "2015-10-28 23:49:21" - } - ], - "packages-dev": [ - { - "name": "codeception/codeception", - "version": "2.1.4", - "source": { - "type": "git", - "url": "https://github.com/Codeception/Codeception.git", - "reference": "6a812e8a0d1b1db939a29b4dc14cb398b21b6112" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Codeception/Codeception/zipball/6a812e8a0d1b1db939a29b4dc14cb398b21b6112", - "reference": "6a812e8a0d1b1db939a29b4dc14cb398b21b6112", - "shasum": "" - }, - "require": { - "ext-json": "*", - "ext-mbstring": "*", - "facebook/webdriver": ">=1.0.1", - "guzzlehttp/guzzle": ">=4.1.4 <7.0", - "guzzlehttp/psr7": "~1.0", - "php": ">=5.4.0", - "phpunit/phpunit": "~4.8.0", - "symfony/browser-kit": "~2.4", - "symfony/console": "~2.4", - "symfony/css-selector": "~2.4", - "symfony/dom-crawler": "~2.4,!=2.4.5", - "symfony/event-dispatcher": "~2.4", - "symfony/finder": "~2.4", - "symfony/yaml": "~2.4" - }, - "require-dev": { - "codeception/specify": "~0.3", - "facebook/php-sdk-v4": "~4.0", - "flow/jsonpath": "~0.2", - "monolog/monolog": "~1.8", - "pda/pheanstalk": "~2.0", - "videlalvaro/php-amqplib": "~2.4" - }, - "suggest": { - "codeception/phpbuiltinserver": "Extension to start and stop PHP built-in web server for your tests", - "codeception/specify": "BDD-style code blocks", - "codeception/verify": "BDD-style assertions", - "monolog/monolog": "Log test steps", - "phpseclib/phpseclib": "Extension required to use the SFTP option in the FTP Module." - }, - "bin": [ - "codecept" - ], - "type": "library", - "extra": { - "branch-alias": [] - }, - "autoload": { - "psr-4": { - "Codeception\\": "src\\Codeception", - "Codeception\\Extension\\": "ext" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Bodnarchuk", - "email": "davert@mail.ua", - "homepage": "http://codegyre.com" - } - ], - "description": "BDD-style testing framework", - "homepage": "http://codeception.com/", - "keywords": [ - "BDD", - "TDD", - "acceptance testing", - "functional testing", - "unit testing" - ], - "time": "2015-11-12 03:57:06" - }, - { - "name": "facebook/webdriver", - "version": "1.0.4", - "source": { - "type": "git", - "url": "https://github.com/facebook/php-webdriver.git", - "reference": "a6e209a309bf7cd71acf15476f40b11a25d5a79d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/facebook/php-webdriver/zipball/a6e209a309bf7cd71acf15476f40b11a25d5a79d", - "reference": "a6e209a309bf7cd71acf15476f40b11a25d5a79d", - "shasum": "" - }, - "require": { - "php": ">=5.3.19" - }, - "require-dev": { - "phpunit/phpunit": "4.6.*" - }, - "suggest": { - "phpdocumentor/phpdocumentor": "2.*" - }, - "type": "library", - "autoload": { - "psr-4": { - "Facebook\\WebDriver\\": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "description": "A PHP client for WebDriver", - "homepage": "https://github.com/facebook/php-webdriver", - "keywords": [ - "facebook", - "php", - "selenium", - "webdriver" - ], - "time": "2015-11-03 22:17:22" - }, - { - "name": "guzzlehttp/guzzle", - "version": "6.1.1", - "source": { - "type": "git", - "url": "https://github.com/guzzle/guzzle.git", - "reference": "c6851d6e48f63b69357cbfa55bca116448140e0c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/c6851d6e48f63b69357cbfa55bca116448140e0c", - "reference": "c6851d6e48f63b69357cbfa55bca116448140e0c", - "shasum": "" - }, - "require": { - "guzzlehttp/promises": "~1.0", - "guzzlehttp/psr7": "~1.1", - "php": ">=5.5.0" - }, - "require-dev": { - "ext-curl": "*", - "phpunit/phpunit": "~4.0", - "psr/log": "~1.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "6.1-dev" - } - }, - "autoload": { - "files": [ - "src/functions_include.php" - ], - "psr-4": { - "GuzzleHttp\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "description": "Guzzle is a PHP HTTP client library", - "homepage": "http://guzzlephp.org/", - "keywords": [ - "client", - "curl", - "framework", - "http", - "http client", - "rest", - "web service" - ], - "time": "2015-11-23 00:47:50" - }, - { - "name": "guzzlehttp/promises", - "version": "1.0.3", - "source": { - "type": "git", - "url": "https://github.com/guzzle/promises.git", - "reference": "b1e1c0d55f8083c71eda2c28c12a228d708294ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/b1e1c0d55f8083c71eda2c28c12a228d708294ea", - "reference": "b1e1c0d55f8083c71eda2c28c12a228d708294ea", - "shasum": "" - }, - "require": { - "php": ">=5.5.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "psr-4": { - "GuzzleHttp\\Promise\\": "src/" - }, - "files": [ - "src/functions_include.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "description": "Guzzle promises library", - "keywords": [ - "promise" - ], - "time": "2015-10-15 22:28:00" - }, - { - "name": "guzzlehttp/psr7", - "version": "1.2.1", - "source": { - "type": "git", - "url": "https://github.com/guzzle/psr7.git", - "reference": "4d0bdbe1206df7440219ce14c972aa57cc5e4982" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/4d0bdbe1206df7440219ce14c972aa57cc5e4982", - "reference": "4d0bdbe1206df7440219ce14c972aa57cc5e4982", - "shasum": "" - }, - "require": { - "php": ">=5.4.0", - "psr/http-message": "~1.0" - }, - "provide": { - "psr/http-message-implementation": "1.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "psr-4": { - "GuzzleHttp\\Psr7\\": "src/" - }, - "files": [ - "src/functions_include.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "description": "PSR-7 message implementation", - "keywords": [ - "http", - "message", - "stream", - "uri" - ], - "time": "2015-11-03 01:34:55" - }, - { - "name": "nette/tester", - "version": "v1.6.1", - "source": { - "type": "git", - "url": "https://github.com/nette/tester.git", - "reference": "b0f312e7ab9a70bbd5c92568e2a20dd46be9a529" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nette/tester/zipball/b0f312e7ab9a70bbd5c92568e2a20dd46be9a529", - "reference": "b0f312e7ab9a70bbd5c92568e2a20dd46be9a529", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "bin": [ - "src/tester" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.6-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "https://davidgrudl.com" - }, - { - "name": "Nette Community", - "homepage": "https://nette.org/contributors" - } - ], - "description": "An easy-to-use PHP unit testing framework.", - "homepage": "https://tester.nette.org", - "keywords": [ - "nette", - "testing", - "unit" - ], - "time": "2015-10-26 05:38:30" - }, - { - "name": "phpdocumentor/reflection-docblock", - "version": "2.0.4", - "source": { - "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "d68dbdc53dc358a816f00b300704702b2eaff7b8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/d68dbdc53dc358a816f00b300704702b2eaff7b8", - "reference": "d68dbdc53dc358a816f00b300704702b2eaff7b8", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "phpunit/phpunit": "~4.0" - }, - "suggest": { - "dflydev/markdown": "~1.0", - "erusev/parsedown": "~1.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "psr-0": { - "phpDocumentor": [ - "src/" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Mike van Riel", - "email": "mike.vanriel@naenius.com" - } - ], - "time": "2015-02-03 12:10:50" - }, - { - "name": "phpspec/prophecy", - "version": "v1.5.0", - "source": { - "type": "git", - "url": "https://github.com/phpspec/prophecy.git", - "reference": "4745ded9307786b730d7a60df5cb5a6c43cf95f7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4745ded9307786b730d7a60df5cb5a6c43cf95f7", - "reference": "4745ded9307786b730d7a60df5cb5a6c43cf95f7", - "shasum": "" - }, - "require": { - "doctrine/instantiator": "^1.0.2", - "phpdocumentor/reflection-docblock": "~2.0", - "sebastian/comparator": "~1.1" - }, - "require-dev": { - "phpspec/phpspec": "~2.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.4.x-dev" - } - }, - "autoload": { - "psr-0": { - "Prophecy\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Konstantin Kudryashov", - "email": "ever.zet@gmail.com", - "homepage": "http://everzet.com" - }, - { - "name": "Marcello Duarte", - "email": "marcello.duarte@gmail.com" - } - ], - "description": "Highly opinionated mocking framework for PHP 5.3+", - "homepage": "https://github.com/phpspec/prophecy", - "keywords": [ - "Double", - "Dummy", - "fake", - "mock", - "spy", - "stub" - ], - "time": "2015-08-13 10:07:40" - }, - { - "name": "phpunit/php-code-coverage", - "version": "2.2.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979", - "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "phpunit/php-file-iterator": "~1.3", - "phpunit/php-text-template": "~1.2", - "phpunit/php-token-stream": "~1.3", - "sebastian/environment": "^1.3.2", - "sebastian/version": "~1.0" - }, - "require-dev": { - "ext-xdebug": ">=2.1.4", - "phpunit/phpunit": "~4" - }, - "suggest": { - "ext-dom": "*", - "ext-xdebug": ">=2.2.1", - "ext-xmlwriter": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.2.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" - } - ], - "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", - "homepage": "https://github.com/sebastianbergmann/php-code-coverage", - "keywords": [ - "coverage", - "testing", - "xunit" - ], - "time": "2015-10-06 15:47:00" - }, - { - "name": "phpunit/php-file-iterator", - "version": "1.4.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "6150bf2c35d3fc379e50c7602b75caceaa39dbf0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/6150bf2c35d3fc379e50c7602b75caceaa39dbf0", - "reference": "6150bf2c35d3fc379e50c7602b75caceaa39dbf0", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.4.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" - } - ], - "description": "FilterIterator implementation that filters files based on a list of suffixes.", - "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", - "keywords": [ - "filesystem", - "iterator" - ], - "time": "2015-06-21 13:08:43" - }, - { - "name": "phpunit/php-text-template", - "version": "1.2.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686", - "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Simple template engine.", - "homepage": "https://github.com/sebastianbergmann/php-text-template/", - "keywords": [ - "template" - ], - "time": "2015-06-21 13:50:34" - }, - { - "name": "phpunit/php-timer", - "version": "1.0.7", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "3e82f4e9fc92665fafd9157568e4dcb01d014e5b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3e82f4e9fc92665fafd9157568e4dcb01d014e5b", - "reference": "3e82f4e9fc92665fafd9157568e4dcb01d014e5b", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" - } - ], - "description": "Utility class for timing", - "homepage": "https://github.com/sebastianbergmann/php-timer/", - "keywords": [ - "timer" - ], - "time": "2015-06-21 08:01:12" - }, - { - "name": "phpunit/php-token-stream", - "version": "1.4.8", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da", - "reference": "3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da", - "shasum": "" - }, - "require": { - "ext-tokenizer": "*", - "php": ">=5.3.3" - }, - "require-dev": { - "phpunit/phpunit": "~4.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.4-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Wrapper around PHP's tokenizer extension.", - "homepage": "https://github.com/sebastianbergmann/php-token-stream/", - "keywords": [ - "tokenizer" - ], - "time": "2015-09-15 10:49:45" - }, - { - "name": "phpunit/phpunit", - "version": "4.8.18", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "fa33d4ad96481b91df343d83e8c8aabed6b1dfd3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/fa33d4ad96481b91df343d83e8c8aabed6b1dfd3", - "reference": "fa33d4ad96481b91df343d83e8c8aabed6b1dfd3", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-json": "*", - "ext-pcre": "*", - "ext-reflection": "*", - "ext-spl": "*", - "php": ">=5.3.3", - "phpspec/prophecy": "^1.3.1", - "phpunit/php-code-coverage": "~2.1", - "phpunit/php-file-iterator": "~1.4", - "phpunit/php-text-template": "~1.2", - "phpunit/php-timer": ">=1.0.6", - "phpunit/phpunit-mock-objects": "~2.3", - "sebastian/comparator": "~1.1", - "sebastian/diff": "~1.2", - "sebastian/environment": "~1.3", - "sebastian/exporter": "~1.2", - "sebastian/global-state": "~1.0", - "sebastian/version": "~1.0", - "symfony/yaml": "~2.1|~3.0" - }, - "suggest": { - "phpunit/php-invoker": "~1.1" - }, - "bin": [ - "phpunit" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.8.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "The PHP Unit Testing framework.", - "homepage": "https://phpunit.de/", - "keywords": [ - "phpunit", - "testing", - "xunit" - ], - "time": "2015-11-11 11:32:49" - }, - { - "name": "phpunit/phpunit-mock-objects", - "version": "2.3.8", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983", - "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983", - "shasum": "" - }, - "require": { - "doctrine/instantiator": "^1.0.2", - "php": ">=5.3.3", - "phpunit/php-text-template": "~1.2", - "sebastian/exporter": "~1.2" - }, - "require-dev": { - "phpunit/phpunit": "~4.4" - }, - "suggest": { - "ext-soap": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.3.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" - } - ], - "description": "Mock Object library for PHPUnit", - "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/", - "keywords": [ - "mock", - "xunit" - ], - "time": "2015-10-02 06:51:40" - }, - { - "name": "psr/http-message", - "version": "1.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-message.git", - "reference": "85d63699f0dbedb190bbd4b0d2b9dc707ea4c298" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/85d63699f0dbedb190bbd4b0d2b9dc707ea4c298", - "reference": "85d63699f0dbedb190bbd4b0d2b9dc707ea4c298", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Message\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common interface for HTTP messages", - "keywords": [ - "http", - "http-message", - "psr", - "psr-7", - "request", - "response" - ], - "time": "2015-05-04 20:22:00" - }, - { - "name": "sebastian/comparator", - "version": "1.2.0", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "937efb279bd37a375bcadf584dec0726f84dbf22" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/937efb279bd37a375bcadf584dec0726f84dbf22", - "reference": "937efb279bd37a375bcadf584dec0726f84dbf22", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "sebastian/diff": "~1.2", - "sebastian/exporter": "~1.2" - }, - "require-dev": { - "phpunit/phpunit": "~4.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.2.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@2bepublished.at" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides the functionality to compare PHP values for equality", - "homepage": "http://www.github.com/sebastianbergmann/comparator", - "keywords": [ - "comparator", - "compare", - "equality" - ], - "time": "2015-07-26 15:48:44" - }, - { - "name": "sebastian/diff", - "version": "1.3.0", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "863df9687835c62aa423a22412d26fa2ebde3fd3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/863df9687835c62aa423a22412d26fa2ebde3fd3", - "reference": "863df9687835c62aa423a22412d26fa2ebde3fd3", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "phpunit/phpunit": "~4.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Kore Nordmann", - "email": "mail@kore-nordmann.de" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Diff implementation", - "homepage": "http://www.github.com/sebastianbergmann/diff", - "keywords": [ - "diff" - ], - "time": "2015-02-22 15:13:53" - }, - { - "name": "sebastian/environment", - "version": "1.3.2", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "6324c907ce7a52478eeeaede764f48733ef5ae44" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/6324c907ce7a52478eeeaede764f48733ef5ae44", - "reference": "6324c907ce7a52478eeeaede764f48733ef5ae44", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "phpunit/phpunit": "~4.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "http://www.github.com/sebastianbergmann/environment", - "keywords": [ - "Xdebug", - "environment", - "hhvm" - ], - "time": "2015-08-03 06:14:51" - }, - { - "name": "sebastian/exporter", - "version": "1.2.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "7ae5513327cb536431847bcc0c10edba2701064e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/7ae5513327cb536431847bcc0c10edba2701064e", - "reference": "7ae5513327cb536431847bcc0c10edba2701064e", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "sebastian/recursion-context": "~1.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.2.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@2bepublished.at" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Adam Harvey", - "email": "aharvey@php.net" - } - ], - "description": "Provides the functionality to export PHP variables for visualization", - "homepage": "http://www.github.com/sebastianbergmann/exporter", - "keywords": [ - "export", - "exporter" - ], - "time": "2015-06-21 07:55:53" - }, - { - "name": "sebastian/global-state", - "version": "1.1.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4", - "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "phpunit/phpunit": "~4.2" - }, - "suggest": { - "ext-uopz": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Snapshotting of global state", - "homepage": "http://www.github.com/sebastianbergmann/global-state", - "keywords": [ - "global state" - ], - "time": "2015-10-12 03:26:01" - }, - { - "name": "sebastian/recursion-context", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "994d4a811bafe801fb06dccbee797863ba2792ba" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/994d4a811bafe801fb06dccbee797863ba2792ba", - "reference": "994d4a811bafe801fb06dccbee797863ba2792ba", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "phpunit/phpunit": "~4.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Adam Harvey", - "email": "aharvey@php.net" - } - ], - "description": "Provides functionality to recursively process PHP variables", - "homepage": "http://www.github.com/sebastianbergmann/recursion-context", - "time": "2015-06-21 08:04:50" - }, - { - "name": "sebastian/version", - "version": "1.0.6", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/version.git", - "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6", - "reference": "58b3a85e7999757d6ad81c787a1fbf5ff6c628c6", - "shasum": "" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library that helps with managing the version number of Git-hosted PHP projects", - "homepage": "https://github.com/sebastianbergmann/version", - "time": "2015-06-21 13:59:46" - }, - { - "name": "symfony/browser-kit", - "version": "v2.7.7", - "source": { - "type": "git", - "url": "https://github.com/symfony/browser-kit.git", - "reference": "bd28847ea2193916074c7b11d4fdd78570049694" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/browser-kit/zipball/bd28847ea2193916074c7b11d4fdd78570049694", - "reference": "bd28847ea2193916074c7b11d4fdd78570049694", - "shasum": "" - }, - "require": { - "php": ">=5.3.9", - "symfony/dom-crawler": "~2.0,>=2.0.5" - }, - "require-dev": { - "symfony/css-selector": "~2.0,>=2.0.5", - "symfony/process": "~2.3.34|~2.7,>=2.7.6" - }, - "suggest": { - "symfony/process": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.7-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\BrowserKit\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony BrowserKit Component", - "homepage": "https://symfony.com", - "time": "2015-11-02 20:20:53" - }, - { - "name": "symfony/css-selector", - "version": "v2.7.7", - "source": { - "type": "git", - "url": "https://github.com/symfony/css-selector.git", - "reference": "abb47717fb88aebd9437da2fc8bb01a50a36679f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/abb47717fb88aebd9437da2fc8bb01a50a36679f", - "reference": "abb47717fb88aebd9437da2fc8bb01a50a36679f", - "shasum": "" - }, - "require": { - "php": ">=5.3.9" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.7-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\CssSelector\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jean-François Simon", - "email": "jeanfrancois.simon@sensiolabs.com" - }, - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony CssSelector Component", - "homepage": "https://symfony.com", - "time": "2015-10-30 20:10:21" - }, - { - "name": "symfony/dom-crawler", - "version": "v2.7.7", - "source": { - "type": "git", - "url": "https://github.com/symfony/dom-crawler.git", - "reference": "b33593cbfe1d81b50d48353f338aca76a08658d8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/b33593cbfe1d81b50d48353f338aca76a08658d8", - "reference": "b33593cbfe1d81b50d48353f338aca76a08658d8", - "shasum": "" - }, - "require": { - "php": ">=5.3.9" - }, - "require-dev": { - "symfony/css-selector": "~2.3" - }, - "suggest": { - "symfony/css-selector": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.7-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\DomCrawler\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony DomCrawler Component", - "homepage": "https://symfony.com", - "time": "2015-11-02 20:20:53" - }, - { - "name": "symfony/event-dispatcher", - "version": "v2.7.7", - "source": { - "type": "git", - "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "7e2f9c31645680026c2372edf66f863fc7757af5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/7e2f9c31645680026c2372edf66f863fc7757af5", - "reference": "7e2f9c31645680026c2372edf66f863fc7757af5", - "shasum": "" - }, - "require": { - "php": ">=5.3.9" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/config": "~2.0,>=2.0.5", - "symfony/dependency-injection": "~2.6", - "symfony/expression-language": "~2.6", - "symfony/stopwatch": "~2.3" - }, - "suggest": { - "symfony/dependency-injection": "", - "symfony/http-kernel": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.7-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\EventDispatcher\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony EventDispatcher Component", - "homepage": "https://symfony.com", - "time": "2015-10-30 20:10:21" - }, - { - "name": "symfony/finder", - "version": "v2.7.7", - "source": { - "type": "git", - "url": "https://github.com/symfony/finder.git", - "reference": "a06a0c0ff7db3736a50d530c908cca547bf13da9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/a06a0c0ff7db3736a50d530c908cca547bf13da9", - "reference": "a06a0c0ff7db3736a50d530c908cca547bf13da9", - "shasum": "" - }, - "require": { - "php": ">=5.3.9" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.7-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Finder\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Finder Component", - "homepage": "https://symfony.com", - "time": "2015-10-30 20:10:21" - }, - { - "name": "symfony/yaml", - "version": "v2.7.7", - "source": { - "type": "git", - "url": "https://github.com/symfony/yaml.git", - "reference": "4cfcd7a9fceba662b3c036b7d9a91f6197af046c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/4cfcd7a9fceba662b3c036b7d9a91f6197af046c", - "reference": "4cfcd7a9fceba662b3c036b7d9a91f6197af046c", - "shasum": "" - }, - "require": { - "php": ">=5.3.9" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.7-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Yaml\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Yaml Component", - "homepage": "https://symfony.com", - "time": "2015-11-18 13:41:01" - } - ], - "aliases": [], - "minimum-stability": "stable", - "stability-flags": { - "majkl578/nette-identity-doctrine": 5 - }, - "prefer-stable": false, - "prefer-lowest": false, - "platform": { - "php": ">= 5.4.0" - }, - "platform-dev": [] -} diff --git a/nette/doctrine/notejam/log/.gitignore b/nette/doctrine/notejam/log/.gitignore deleted file mode 100644 index d6b7ef32c..000000000 --- a/nette/doctrine/notejam/log/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore diff --git a/nette/doctrine/notejam/src/Notejam/Http/RouterFactory.php b/nette/doctrine/notejam/src/Notejam/Http/RouterFactory.php deleted file mode 100644 index d3a6d7584..000000000 --- a/nette/doctrine/notejam/src/Notejam/Http/RouterFactory.php +++ /dev/null @@ -1,40 +0,0 @@ - 'signup', - 'User:signIn' => 'signin', - 'User:signOut' => 'signout', - 'User:forgottenPassword' => 'forgot-password', - 'User:settings' => 'settings', - ]); - - $router[] = new Route('pads/The site is temporarily down for maintenance. Please try again in a few minutes.
- -div { - display: none; } - - - /* Grid */ - #grid .column, - #grid .columns { - background: #ddd; - height: 25px; - line-height: 25px; - margin-bottom: 10px; - text-align: center; - text-transform: uppercase; - color: #555; - font-size: 12px; - font-weight: bold; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; } - #grid .column:hover, - #grid .columns:hover { - background: #bbb; - color: #333; } - #grid .example-grid { overflow: hidden; } - - .post-button-note, - .post-button-note a { - font-size: 11px; - color: #999; } - - #examples .four.columns a { - text-decoration: none; - } - #examples .four.columns a:hover { - text-decoration: underline; - } - - - .resize { - position: fixed; - bottom: 0; - right: 0; - height: 80px; - width: 80px; - background: url(images/resize.png); } - - - img { - max-width: 100%; - height: auto; } - - .gist-meta { display: none !important;} - - ul ul ul li { margin-bottom: 3px; } - - .twitter-share-button { margin-bottom: -18px; } - - /* Table stylesheets */ - table { - width: 100%; - border-collapse: collapse; - } - - table th, table td { - padding: 10px 10px 9px; - font-size: 13px; - line-height: 18px; - text-align: left; - } - - table td { - vertical-align: top; - border-top: solid 1px #ddd; - } - - table th { - padding-top: 9px; - font-weight: bold; - vertical-align: middle; - } - - table.condensed th, table.condensed td { - padding: 5px 5px 4px; - } - - table.bordered { - border-collapse: separate; - border: solid 1px #ddd; - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - border-radius: 2px; - } - - table.bordered th + th, - table.bordered th + td, - table.bordered td + td { - border-left: solid 1px #ddd; - } - - .zebra-striped tbody tr:nth-child(odd) td, - .zebra-striped tbody tr:nth-child(odd) th { - background: #f5f5f5; - } - -.carbonad, -.carbonad-image, -.carbonad-text, -.carbonad-tag { - background: none !important; - border: none !important; - margin-left: 0 !important; -} -.carbonad-tag { - margin-top: 6px !important; - padding-top: 0 !important; -} -.carbonad-text { - height: auto !important; -} -.carbonad-image { - margin-top: 0 !important; -} - -.hidden-text { - font-size: 12px; - color: #999; -} - -td.date, th.date { - text-align: right; -} - -td.date { - font-style: italic; -} - -form.note input[type="text"], form.note textarea { - width: 100%; -} - -form hr { - width: 218px; - margin: 10px 0px; -} - -form.note textarea { - height: 250px; -} - -div.content-area { - min-height: 600px; -} - -hr.footer { - margin-bottom: 10px; -} - -div.footer { - margin-bottom: 10px; - text-align: center; - font-size: 12px; -} - -form.sign-in { - margin: 50px 0 0 0; -} - -.sort_arrow { - text-decoration: none; -} - -.sort_arrow:hover { - text-decoration: none; - color: red; -} - -div.sign-in-out-block { - position: absolute; - right: 14px; - top: 8px; - font-size: 12px; -} - -div.sign-in-out-block a { - /*text-decoration: none;*/ -} - -a.small-red { - color: red; - font-size: 12px; -} - -table.notes { - margin: 0 0 20px 0; -} - -table.notes th.note { - width: 72%; -} - -table.notes td.pad { - color: grey; -} - -table.notes td.pad a { - color: grey; - text-decoration: underline; - font-style: normal; -} - - -table.notes td.pad a:hover { - color: black; -} - -p.empty { - color: grey; - font-style: italic; -} - -a.delete-note { - float: right; - font-size: 12px; - color: red; -} - -.red, input.red { - color: red !important; -} - -ul.errorlist, ul.errors { - margin: -18px 0 0 0; -} - -ul.errorlist li, ul.errors li { - color: red; -} - -.alert-area { - text-align: center; -} - -.alert { - padding: 5px 8px; - margin: 0 0 12px 0; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; -} - -.alert-success { - color: #468847; - background-color: #dff0d8; - border: 1px solid #d6e9c6; -} - -.alert-error { - color: #b94a48; - background-color: #f2dede; - border: 1px solid #eed3d7; -} - - /* Mobile */ - @media only screen and (max-width: 767px) { - header h1 { font-size: 34px; line-height: 37px; } - nav { position: relative; } - nav ul, - .carbonad { - display: none; - } - #logo { text-align: left; } - #examples .four.columns { - padding-top: 30px; - } - } - - /* Mobile Landscape */ - @media only screen and (min-width: 480px) and (max-width: 767px) { - nav ul { - display: none; - } - } - - /* Non 960 */ - @media only screen and (max-width: 959px) { - #logo { - font-size: 21px; - margin-bottom: 15px; } - nav .button { - padding: 9px 20px 11px; } - } - - /* iPad Portrait/Browser */ - @media only screen and (min-width: 768px) and (max-width: 959px) { - nav { - width: 124px; } - } - - /* Mobile/Browser */ - @media only screen and (max-width: 767px) {} - - /* Mobile Landscape/Browser */ - @media only screen and (min-width: 480px) and (max-width: 767px) {} - - /* Anything smaller than standard 960 */ - @media only screen and (max-width: 959px) {} - - - /* iPad Portrait Only */ - @media only screen and (min-width: 768px) and (max-width: 959px) and (max-device-width: 1000px) {} - - /* Mobile Only */ - @media only screen and (max-width: 767px) and (max-device-width: 1000px) {} - - /* Mobile Landscape Only */ - @media only screen and (min-width: 480px) and (max-width: 767px) and (max-device-width: 1000px) {} - - /* Anything smaller than standard 960 on a device */ - @media only screen and (max-width: 959px) and (max-device-width: 1000px) { - .resize { display: none; } - } - diff --git a/nette/doctrine/notejam/www/favicon.ico b/nette/doctrine/notejam/www/favicon.ico deleted file mode 100644 index b20cfd0f0..000000000 Binary files a/nette/doctrine/notejam/www/favicon.ico and /dev/null differ diff --git a/nette/doctrine/notejam/www/index.php b/nette/doctrine/notejam/www/index.php deleted file mode 100644 index 26a5aebd0..000000000 --- a/nette/doctrine/notejam/www/index.php +++ /dev/null @@ -1,8 +0,0 @@ -getByType('Nette\Application\Application')->run(); diff --git a/nette/doctrine/notejam/www/robots.txt b/nette/doctrine/notejam/www/robots.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/nette/native_db/notejam/.gitignore b/nette/native_db/notejam/.gitignore deleted file mode 100644 index 32b40f1f6..000000000 --- a/nette/native_db/notejam/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -log/* -temp/* -vendor/* -!.gitignore -app/config/config.local.neon - -tests/_output/* diff --git a/nette/native_db/notejam/app/bootstrap.php b/nette/native_db/notejam/app/bootstrap.php deleted file mode 100644 index 8fd851263..000000000 --- a/nette/native_db/notejam/app/bootstrap.php +++ /dev/null @@ -1,21 +0,0 @@ -setDebugMode('23.75.345.200'); // enable for your remote IP -$configurator->enableDebugger(__DIR__ . '/../log'); - -$configurator->setTempDirectory(__DIR__ . '/../temp'); - -$configurator->createRobotLoader() - ->addDirectory(__DIR__) - ->register(); - -$configurator->addConfig(__DIR__ . '/config/config.neon'); -$configurator->addConfig(__DIR__ . '/config/config.local.neon'); - -$container = $configurator->createContainer(); - -return $container; diff --git a/nette/native_db/notejam/app/components/Notes/INotesFactory.php b/nette/native_db/notejam/app/components/Notes/INotesFactory.php deleted file mode 100644 index 375c2e520..000000000 --- a/nette/native_db/notejam/app/components/Notes/INotesFactory.php +++ /dev/null @@ -1,18 +0,0 @@ - -
-
-
-
diff --git a/nette/native_db/notejam/app/presenters/templates/Account/settings.latte b/nette/native_db/notejam/app/presenters/templates/Account/settings.latte
deleted file mode 100644
index d5e1a7424..000000000
--- a/nette/native_db/notejam/app/presenters/templates/Account/settings.latte
+++ /dev/null
@@ -1,13 +0,0 @@
-{block title}Account settings{/block}
-{block header}Account settings{/block}
-{block content}
-
-{/block}
diff --git a/nette/native_db/notejam/app/presenters/templates/Error/403.latte b/nette/native_db/notejam/app/presenters/templates/Error/403.latte
deleted file mode 100644
index de00328e7..000000000
--- a/nette/native_db/notejam/app/presenters/templates/Error/403.latte
+++ /dev/null
@@ -1,7 +0,0 @@
-{block content}
-You do not have permission to view this page. Please try contact the web -site administrator if you believe you should be able to view this page.
- -error 403
diff --git a/nette/native_db/notejam/app/presenters/templates/Error/404.latte b/nette/native_db/notejam/app/presenters/templates/Error/404.latte deleted file mode 100644 index 022001c2a..000000000 --- a/nette/native_db/notejam/app/presenters/templates/Error/404.latte +++ /dev/null @@ -1,8 +0,0 @@ -{block content} -The page you requested could not be found. It is possible that the address is -incorrect, or that the page no longer exists. Please use a search engine to find -what you are looking for.
- -error 404
diff --git a/nette/native_db/notejam/app/presenters/templates/Error/405.latte b/nette/native_db/notejam/app/presenters/templates/Error/405.latte deleted file mode 100644 index d42489233..000000000 --- a/nette/native_db/notejam/app/presenters/templates/Error/405.latte +++ /dev/null @@ -1,6 +0,0 @@ -{block content} -The requested method is not allowed for the URL.
- -error 405
diff --git a/nette/native_db/notejam/app/presenters/templates/Error/410.latte b/nette/native_db/notejam/app/presenters/templates/Error/410.latte deleted file mode 100644 index 99bde92c1..000000000 --- a/nette/native_db/notejam/app/presenters/templates/Error/410.latte +++ /dev/null @@ -1,6 +0,0 @@ -{block content} -The page you requested has been taken off the site. We apologize for the inconvenience.
- -error 410
diff --git a/nette/native_db/notejam/app/presenters/templates/Error/4xx.latte b/nette/native_db/notejam/app/presenters/templates/Error/4xx.latte deleted file mode 100644 index d5ce82f19..000000000 --- a/nette/native_db/notejam/app/presenters/templates/Error/4xx.latte +++ /dev/null @@ -1,4 +0,0 @@ -{block content} -Your browser sent a request that this server could not understand or process.
diff --git a/nette/native_db/notejam/app/presenters/templates/Error/500.phtml b/nette/native_db/notejam/app/presenters/templates/Error/500.phtml deleted file mode 100644 index 619611eac..000000000 --- a/nette/native_db/notejam/app/presenters/templates/Error/500.phtml +++ /dev/null @@ -1,20 +0,0 @@ - - - -We're sorry! The server encountered an internal error and - was unable to complete your request. Please try again later.
- -error 500
-Last edited {$note->updated_at|date:'d. M. Y'}
-{$note->text}
-Are you sure you want to delete the note?
- -{/block} diff --git a/nette/native_db/notejam/app/presenters/templates/Note/edit.latte b/nette/native_db/notejam/app/presenters/templates/Note/edit.latte deleted file mode 100644 index 5066cc048..000000000 --- a/nette/native_db/notejam/app/presenters/templates/Note/edit.latte +++ /dev/null @@ -1,13 +0,0 @@ -{block title}{$note->name}{/block} -{block header}{$note->name}{/block} -{block content} - -{/block} diff --git a/nette/native_db/notejam/app/presenters/templates/Note/new.latte b/nette/native_db/notejam/app/presenters/templates/Note/new.latte deleted file mode 100644 index 4b3f7daba..000000000 --- a/nette/native_db/notejam/app/presenters/templates/Note/new.latte +++ /dev/null @@ -1,13 +0,0 @@ -{block title}New note{/block} -{block header}New note{/block} -{block content} - -{/block} diff --git a/nette/native_db/notejam/app/presenters/templates/Pad/default.latte b/nette/native_db/notejam/app/presenters/templates/Pad/default.latte deleted file mode 100644 index 86e3c6904..000000000 --- a/nette/native_db/notejam/app/presenters/templates/Pad/default.latte +++ /dev/null @@ -1,8 +0,0 @@ -{block title}New pad{/block} -{block header}New pad{/block} -{block content} - {control notes} - New note - - Pad settings -{/block} diff --git a/nette/native_db/notejam/app/presenters/templates/Pad/delete.latte b/nette/native_db/notejam/app/presenters/templates/Pad/delete.latte deleted file mode 100644 index dbc159065..000000000 --- a/nette/native_db/notejam/app/presenters/templates/Pad/delete.latte +++ /dev/null @@ -1,9 +0,0 @@ -{block title}{$pad->name}{/block} -{block header}{$pad->name}{/block} -{block content} -Are you sure you want to delete the pad?
- -{/block} diff --git a/nette/native_db/notejam/app/presenters/templates/Pad/edit.latte b/nette/native_db/notejam/app/presenters/templates/Pad/edit.latte deleted file mode 100644 index 95decdce9..000000000 --- a/nette/native_db/notejam/app/presenters/templates/Pad/edit.latte +++ /dev/null @@ -1,11 +0,0 @@ -{block title}{$pad->name}{/block} -{block header}{$pad->name}{/block} -{block content} - -{/block} diff --git a/nette/native_db/notejam/app/presenters/templates/Pad/new.latte b/nette/native_db/notejam/app/presenters/templates/Pad/new.latte deleted file mode 100644 index 70acc715b..000000000 --- a/nette/native_db/notejam/app/presenters/templates/Pad/new.latte +++ /dev/null @@ -1,9 +0,0 @@ -{block title}New pad{/block} -{block header}New pad{/block} -{block content} - -{/block} diff --git a/nette/native_db/notejam/app/presenters/templates/Sign/forgotten.latte b/nette/native_db/notejam/app/presenters/templates/Sign/forgotten.latte deleted file mode 100644 index 7f2702b6d..000000000 --- a/nette/native_db/notejam/app/presenters/templates/Sign/forgotten.latte +++ /dev/null @@ -1,9 +0,0 @@ -{block title}Frogot password?{/block} -{block header}Forgot password?{/block} -{block content} - -{/block} diff --git a/nette/native_db/notejam/app/presenters/templates/Sign/in.latte b/nette/native_db/notejam/app/presenters/templates/Sign/in.latte deleted file mode 100644 index 0644d8aa9..000000000 --- a/nette/native_db/notejam/app/presenters/templates/Sign/in.latte +++ /dev/null @@ -1,13 +0,0 @@ -{block title}Sign In{/block} -{block header}Sign In{/block} -{block content} - -{/block} diff --git a/nette/native_db/notejam/app/presenters/templates/Sign/up.latte b/nette/native_db/notejam/app/presenters/templates/Sign/up.latte deleted file mode 100644 index b742ab8ee..000000000 --- a/nette/native_db/notejam/app/presenters/templates/Sign/up.latte +++ /dev/null @@ -1,15 +0,0 @@ -{block title}Sign Up{/block} -{block header}Sign Up{/block} -{block content} - -{/block} diff --git a/nette/native_db/notejam/app/router/RouterFactory.php b/nette/native_db/notejam/app/router/RouterFactory.php deleted file mode 100644 index c601dec2a..000000000 --- a/nette/native_db/notejam/app/router/RouterFactory.php +++ /dev/null @@ -1,40 +0,0 @@ -', 'Note:default'); - $router[] = new Route('/notes/The site is temporarily down for maintenance. Please try again in a few minutes.
- -div { - display: none; } - - -/* Grid */ -#grid .column, -#grid .columns { - background: #ddd; - height: 25px; - line-height: 25px; - margin-bottom: 10px; - text-align: center; - text-transform: uppercase; - color: #555; - font-size: 12px; - font-weight: bold; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; } -#grid .column:hover, -#grid .columns:hover { - background: #bbb; - color: #333; } -#grid .example-grid { overflow: hidden; } - -.post-button-note, -.post-button-note a { - font-size: 11px; - color: #999; } - -#examples .four.columns a { - text-decoration: none; -} -#examples .four.columns a:hover { - text-decoration: underline; -} - - -.resize { - position: fixed; - bottom: 0; - right: 0; - height: 80px; - width: 80px; - background: url(images/resize.png); } - - -img { - max-width: 100%; - height: auto; } - -.gist-meta { display: none !important;} - -ul ul ul li { margin-bottom: 3px; } - -.twitter-share-button { margin-bottom: -18px; } - -/* Table stylesheets */ -table { - width: 100%; - border-collapse: collapse; -} - -table th, table td { - padding: 10px 10px 9px; - font-size: 13px; - line-height: 18px; - text-align: left; -} - -table td { - vertical-align: top; - border-top: solid 1px #ddd; -} - -table th { - padding-top: 9px; - font-weight: bold; - vertical-align: middle; -} - -table.condensed th, table.condensed td { - padding: 5px 5px 4px; -} - -table.bordered { - border-collapse: separate; - border: solid 1px #ddd; - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - border-radius: 2px; -} - -table.bordered th + th, -table.bordered th + td, -table.bordered td + td { - border-left: solid 1px #ddd; -} - -.zebra-striped tbody tr:nth-child(odd) td, -.zebra-striped tbody tr:nth-child(odd) th { - background: #f5f5f5; -} - -.carbonad, -.carbonad-image, -.carbonad-text, -.carbonad-tag { - background: none !important; - border: none !important; - margin-left: 0 !important; -} -.carbonad-tag { - margin-top: 6px !important; - padding-top: 0 !important; -} -.carbonad-text { - height: auto !important; -} -.carbonad-image { - margin-top: 0 !important; -} - -.hidden-text { - font-size: 12px; - color: #999; -} - -td.date, th.date { - text-align: right; -} - -td.date { - font-style: italic; -} - -form.note input[type="text"], form.note textarea { - width: 100%; -} - -form hr { - width: 218px; - margin: 10px 0px; -} - -form.note textarea { - height: 250px; -} - -div.content-area { - min-height: 600px; -} - -hr.footer { - margin-bottom: 10px; -} - -div.footer { - margin-bottom: 10px; - text-align: center; - font-size: 12px; -} - -form.sign-in { - margin: 50px 0 0 0; -} - -.sort_arrow { - text-decoration: none; -} - -.sort_arrow:hover { - text-decoration: none; - color: red; -} - -div.sign-in-out-block { - position: absolute; - right: 14px; - top: 8px; - font-size: 12px; -} - -div.sign-in-out-block a { - /*text-decoration: none;*/ -} - -a.small-red { - color: red; - font-size: 12px; -} - -table.notes { - margin: 0 0 20px 0; -} - -table.notes th.note { - width: 72%; -} - -table.notes td.pad { - color: grey; -} - -table.notes td.pad a { - color: grey; - text-decoration: underline; - font-style: normal; -} - - -table.notes td.pad a:hover { - color: black; -} - -p.empty { - color: grey; - font-style: italic; -} - -a.delete-note { - float: right; - font-size: 12px; - color: red; -} - -.red, input.red { - color: red !important; -} - -ul.errorlist, ul.errors { - margin: -18px 0 0 0; -} - -ul.errorlist li, ul.errors li { - color: red; -} - -.alert-area { - text-align: center; -} - -.alert { - padding: 5px 8px; - margin: 0 0 12px 0; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; -} - -.alert-success { - color: #468847; - background-color: #dff0d8; - border: 1px solid #d6e9c6; -} - -.alert-error { - color: #b94a48; - background-color: #f2dede; - border: 1px solid #eed3d7; -} - -/* Mobile */ -@media only screen and (max-width: 767px) { - header h1 { font-size: 34px; line-height: 37px; } - nav { position: relative; } - nav ul, - .carbonad { - display: none; - } - #logo { text-align: left; } - #examples .four.columns { - padding-top: 30px; - } -} - -/* Mobile Landscape */ -@media only screen and (min-width: 480px) and (max-width: 767px) { - nav ul { - display: none; - } -} - -/* Non 960 */ -@media only screen and (max-width: 959px) { - #logo { - font-size: 21px; - margin-bottom: 15px; } - nav .button { - padding: 9px 20px 11px; } -} - -/* iPad Portrait/Browser */ -@media only screen and (min-width: 768px) and (max-width: 959px) { - nav { - width: 124px; } -} - -/* Mobile/Browser */ -@media only screen and (max-width: 767px) {} - -/* Mobile Landscape/Browser */ -@media only screen and (min-width: 480px) and (max-width: 767px) {} - -/* Anything smaller than standard 960 */ -@media only screen and (max-width: 959px) {} - - -/* iPad Portrait Only */ -@media only screen and (min-width: 768px) and (max-width: 959px) and (max-device-width: 1000px) {} - -/* Mobile Only */ -@media only screen and (max-width: 767px) and (max-device-width: 1000px) {} - -/* Mobile Landscape Only */ -@media only screen and (min-width: 480px) and (max-width: 767px) and (max-device-width: 1000px) {} - -/* Anything smaller than standard 960 on a device */ -@media only screen and (max-width: 959px) and (max-device-width: 1000px) { - .resize { display: none; } -} diff --git a/nette/native_db/notejam/www/favicon.ico b/nette/native_db/notejam/www/favicon.ico deleted file mode 100644 index b20cfd0f0..000000000 Binary files a/nette/native_db/notejam/www/favicon.ico and /dev/null differ diff --git a/nette/native_db/notejam/www/images/spinner.gif b/nette/native_db/notejam/www/images/spinner.gif deleted file mode 100644 index 185a077d3..000000000 Binary files a/nette/native_db/notejam/www/images/spinner.gif and /dev/null differ diff --git a/nette/native_db/notejam/www/index.php b/nette/native_db/notejam/www/index.php deleted file mode 100644 index 13b8a6a6d..000000000 --- a/nette/native_db/notejam/www/index.php +++ /dev/null @@ -1,13 +0,0 @@ -getByType('Nette\Application\Application')->run(); diff --git a/nette/native_db/notejam/www/js/main.js b/nette/native_db/notejam/www/js/main.js deleted file mode 100644 index f5aaa4205..000000000 --- a/nette/native_db/notejam/www/js/main.js +++ /dev/null @@ -1,2 +0,0 @@ -$(function () { -}); diff --git a/nette/native_db/notejam/www/robots.txt b/nette/native_db/notejam/www/robots.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/nette/native_db/readme.rst b/nette/native_db/readme.rst deleted file mode 100644 index b68fe3fe8..000000000 --- a/nette/native_db/readme.rst +++ /dev/null @@ -1,99 +0,0 @@ -************** -Notejam: Nette -************** - -Notejam application implemented using `Nette framework| - - | -<%= mat(:account, :id) %> | -<%= mat(:account, :name) %> | -<%= mat(:account, :surname) %> | -<%= mat(:account, :email) %> | -- |
|---|---|---|---|---|---|
| - <%= check_box_tag 'account_ids[]', :value => account.id, :class => 'list-selectable-checkbox' %> - | -<%= account.id %> | -<%= account.name %> | -<%= account.surname %> | -<%= account.email %> | -
-
- <%= link_to tag_icon(:edit), :href => url(:accounts, :edit, :id => account.id), :rel => :tooltip, :title => "#{pat(:edit)} account", :class => 'list-row-action-wrapper-link' %>
- <%= link_to tag_icon(:trash), :rel => :tooltip, :title => "#{pat(:delete)} account", :class => 'list-row-action-delete-one list-row-action-wrapper-link' %>
-
-
- <%= pat(:delete, :model => "account") %>-
- <%- form_tag url(:accounts, :destroy, :id => account.id), :method => :delete do %>
- <%= submit_tag pat(:delete), :class =>'list-row-action-popover-delete-one-btn btn btn-danger btn-small' %>
-
- <%= pat(:cancel) %>
- <% end %>
- |
- <% end %>
-
Padrino is a ruby framework built upon the Sinatra web library.
-It was created to make it fun and easy to code more advanced web applications while still adhering to the spirit that makes Sinatra great!
-Padrino comes shipped with a slick and beautiful Admin Interface, with the following features:
-<%= tag_icon 'minus-sign icon-3x' %>
-<%= pat('custom_errors.403.description') %>
diff --git a/padrino/notejam/admin/views/errors/404.erb b/padrino/notejam/admin/views/errors/404.erb deleted file mode 100644 index 630469e15..000000000 --- a/padrino/notejam/admin/views/errors/404.erb +++ /dev/null @@ -1,3 +0,0 @@ -<%= tag_icon 'warning-sign icon-3x' %>
-<%= pat('custom_errors.404.description') %>
diff --git a/padrino/notejam/admin/views/errors/500.erb b/padrino/notejam/admin/views/errors/500.erb deleted file mode 100644 index 8c44b9a27..000000000 --- a/padrino/notejam/admin/views/errors/500.erb +++ /dev/null @@ -1,3 +0,0 @@ -<%= tag_icon 'beaker icon-3x' %>
-<%= pat('custom_errors.500.description') %>
diff --git a/padrino/notejam/admin/views/layouts/application.erb b/padrino/notejam/admin/views/layouts/application.erb deleted file mode 100644 index 49c251e25..000000000 --- a/padrino/notejam/admin/views/layouts/application.erb +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - -
-
-
diff --git a/padrino/notejam/app/views/layouts/user.html.erb b/padrino/notejam/app/views/layouts/user.html.erb
deleted file mode 100644
index 34579b994..000000000
--- a/padrino/notejam/app/views/layouts/user.html.erb
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/padrino/notejam/app/views/mailers/mailer/new_password_email.erb b/padrino/notejam/app/views/mailers/mailer/new_password_email.erb
deleted file mode 100644
index 3d48fc0b9..000000000
--- a/padrino/notejam/app/views/mailers/mailer/new_password_email.erb
+++ /dev/null
@@ -1,5 +0,0 @@
-Hi, <%= @email %>
-=========================================
-
-Your new password is <%= @password %>
-
diff --git a/padrino/notejam/app/views/note/create.html.erb b/padrino/notejam/app/views/note/create.html.erb
deleted file mode 100644
index 8aa32eeea..000000000
--- a/padrino/notejam/app/views/note/create.html.erb
+++ /dev/null
@@ -1,18 +0,0 @@
-<% content_for :page_title do %>New note<% end %>
-
-<% form_for :note, url(:note, :create), {:class => "note"} do |f| %>
- <%= f.label :name %>
- <%= f.text_field :name %>
- <%= field_errors :name, @note %>
-
- <%= f.label :text %>
- <%= f.text_area :text %>
- <%= field_errors :text, @note %>
-
- <%= f.label :pad %>
- <%= f.select :pad_id, :collection => current_account.pads, :fields => ['name', 'id'], :include_blank => ['-------', 0], :selected => params[:pad] %>
-
- <%= f.submit "Create" %>
-<% end %>
-
-
diff --git a/padrino/notejam/app/views/note/delete.html.erb b/padrino/notejam/app/views/note/delete.html.erb
deleted file mode 100644
index fff921148..000000000
--- a/padrino/notejam/app/views/note/delete.html.erb
+++ /dev/null
@@ -1,9 +0,0 @@
-<% content_for :page_title do %><%= @note.name %><% end %>
-
-Are you sure you want to delete <%= @note.name %>?
-<% form_for :note, url(:note, :delete, :id => @note.id) do |f| %> - <%= f.submit "Yes, I want to delete this note", :class => "red" %> - <%= link_to "Cancel", url(:note, :view, {:id => @note.id}) %> -<% end %> - - diff --git a/padrino/notejam/app/views/note/edit.html.erb b/padrino/notejam/app/views/note/edit.html.erb deleted file mode 100644 index a734442fa..000000000 --- a/padrino/notejam/app/views/note/edit.html.erb +++ /dev/null @@ -1,19 +0,0 @@ -<% content_for :page_title do %><%= @note.name %><% end %> - -<% form_for :note, url(:note, :edit, {:id => @note.id}), {:class => "note"} do |f| %> - <%= f.label :name %> - <%= f.text_field :name %> - <%= field_errors :name, @note %> - - <%= f.label :text %> - <%= f.text_area :text %> - <%= field_errors :text, @note %> - - <%= f.label :pad %> - <%= f.select :pad_id, :collection => current_account.pads, :fields => ['name', 'id'], :include_blank => ['-------', 0], :selected => params[:pad] %> - - <%= f.submit "Save" %> -<% end %> - - - diff --git a/padrino/notejam/app/views/note/list.html.erb b/padrino/notejam/app/views/note/list.html.erb deleted file mode 100644 index 9d435d93e..000000000 --- a/padrino/notejam/app/views/note/list.html.erb +++ /dev/null @@ -1,27 +0,0 @@ -<% content_for :page_title do %>All notes (<%= @notes.count %>)<% end %> -<% if @notes.count.nonzero? %> -| Note " class="sort_arrow">↑" class="sort_arrow">↓ | -Pad | -Last modified " class="sort_arrow">↑" class="sort_arrow">↓ | -
|---|---|---|
| <%= link_to note.name, url(:note, :view, :id => note.id) %> | -- <% if note.pad %> - <%= link_to note.pad.name, url(:pad, :view, :id => note.pad.id) %> - <% else %> - No pad - <% end %> - | -<%= smart_date note.updated_at %> | -
Create your first note.
-<% end %> -<%= link_to "New note", url(:note, :create), :class => "button" %> - diff --git a/padrino/notejam/app/views/note/view.html.erb b/padrino/notejam/app/views/note/view.html.erb deleted file mode 100644 index 8675c97cd..000000000 --- a/padrino/notejam/app/views/note/view.html.erb +++ /dev/null @@ -1,11 +0,0 @@ -<% content_for :page_title do %><%= @note.name %><% end %> - -Last edited: <%= smart_date @note.updated_at %>
-- <%= @note.text %> -
-Are you sure you want to delete <%= @pad.name %>?
-<% form_for :pad, url(:pad, :delete, :id => @pad.id) do |f| %> - <%= f.submit "Yes, I want to delete this pad", :class => "red" %> - <%= link_to "Cancel", url(:pad, :edit, :id => @pad.id) %> -<% end %> - diff --git a/padrino/notejam/app/views/pad/edit.html.erb b/padrino/notejam/app/views/pad/edit.html.erb deleted file mode 100644 index 16100c5f4..000000000 --- a/padrino/notejam/app/views/pad/edit.html.erb +++ /dev/null @@ -1,12 +0,0 @@ -<% content_for :page_title do %><%= @pad.name %><% end %> - -<% form_for :pad, url(:pad, :edit, :id => @pad.id) do |f| %> - <%= f.label :name %> - <%= f.text_field :name %> - <%= field_errors :name, @pad %> - - <%= f.submit "Save" %> - <%= link_to "Delete pad", url(:pad, :delete, {:id => @pad.id}), :class => "red" %> -<% end %> - - diff --git a/padrino/notejam/app/views/pad/view.html.erb b/padrino/notejam/app/views/pad/view.html.erb deleted file mode 100644 index de5345b2d..000000000 --- a/padrino/notejam/app/views/pad/view.html.erb +++ /dev/null @@ -1,19 +0,0 @@ -<% content_for :page_title do %><%= @pad.name %> (<%= @notes.count %>)<% end %> -<% if @notes.count.nonzero? %> -| Note " class="sort_arrow">↑" class="sort_arrow">↓ | -Last modified " class="sort_arrow">↑" class="sort_arrow">↓ | -
|---|---|
| <%= link_to note.name, url(:note, :view, :id => note.id) %> | -<%= smart_date note.updated_at %> | -
Create first note in the pad.
-<% end %> -<%= link_to "Create a note", url(:note, :create, {:pad => @pad.id}), :class => "button" %> -<%= link_to "Pad settings", url(:pad, :edit, {:id => @pad.id}) %> diff --git a/padrino/notejam/app/views/user/forgot-password.html.erb b/padrino/notejam/app/views/user/forgot-password.html.erb deleted file mode 100644 index 63c58028a..000000000 --- a/padrino/notejam/app/views/user/forgot-password.html.erb +++ /dev/null @@ -1,10 +0,0 @@ -<% content_for :page_title do %>Forgot password?<% end %> - -<% form_tag({}, {:class => "offset-by-six sign-in"}) do %> - <%= label_tag :email %> - <%= text_field_tag :email, :required => true %> - - <%= submit_tag "Generate password" %> -<% end %> - - diff --git a/padrino/notejam/app/views/user/settings.html.erb b/padrino/notejam/app/views/user/settings.html.erb deleted file mode 100644 index 3379ffdbb..000000000 --- a/padrino/notejam/app/views/user/settings.html.erb +++ /dev/null @@ -1,17 +0,0 @@ -<% content_for :page_title do %>Account Settings<% end %> - -<% form_for :user, url(:user, :settings), :class => "offset-by-six sign-in" do |f| %> - <%= label_tag :current_password %> - <%= password_field_tag :current_password %> - - <%= f.label "New password" %> - <%= f.password_field :password %> - <%= field_errors :password, @user %> - - <%= f.label :password_confirmation %> - <%= f.password_field :password_confirmation %> - <%= field_errors :password_confirmation, @user %> - - <%= f.submit "Change Password" %> -<% end %> - diff --git a/padrino/notejam/app/views/user/signin.html.erb b/padrino/notejam/app/views/user/signin.html.erb deleted file mode 100644 index fd292056a..000000000 --- a/padrino/notejam/app/views/user/signin.html.erb +++ /dev/null @@ -1,14 +0,0 @@ -<% content_for :page_title do %>Sign In<% end %> - -<% form_tag({}, {:class => "offset-by-six sign-in"}) do %> - <%= label_tag :email %> - <%= text_field_tag :email, :required => true %> - - <%= label_tag :password %> - <%= password_field_tag :password %> - - <%= submit_tag "Sign In" %> or Sign Up -| t |
| Note ↓↑ | -Pad | -Last modified ↓↑ | -|
|---|---|---|---|
| ${note.name} | -${note.pad.name} | -No pad | -${note.created_at.strftime('%d.%m.%Y')} | -
Create your first note.
- New note -Last edited at ${note.created_at.strftime('%d.%m.%Y')}
-Are you sure you want to delete ${pad.name}?
- -| Note ↓↑ | -Last modified ↓↑ | -
|---|---|
| ${note.name} | -${note.created_at.strftime('%d.%m.%Y')} | -
Create your first note in the pad.
- New note - Pad settings -
-
-
diff --git a/rubyonrails/notejam/app/views/layouts/users.html.erb b/rubyonrails/notejam/app/views/layouts/users.html.erb
deleted file mode 100644
index 9115a8021..000000000
--- a/rubyonrails/notejam/app/views/layouts/users.html.erb
+++ /dev/null
@@ -1,3 +0,0 @@
-<% content_for :content_class do %>sixteen<% end %>
-<% content_for :pad_menu do %><% end %>
-<%= render template: "layouts/application" %>
diff --git a/rubyonrails/notejam/app/views/notes/create.html.erb b/rubyonrails/notejam/app/views/notes/create.html.erb
deleted file mode 100644
index d3e5e5066..000000000
--- a/rubyonrails/notejam/app/views/notes/create.html.erb
+++ /dev/null
@@ -1,16 +0,0 @@
-<% content_for :page_title do %>New note<% end %>
-
-<%= form_for :note, :html => {:class => "note"} do |f| %>
- <%= f.label :name %>
- <%= f.text_field :name %>
- <%= field_errors :name, @note %>
-
- <%= f.label :text %>
- <%= f.text_area :text %>
- <%= field_errors :text, @note %>
-
- <%= f.label :pad %>
- <%= f.select(:pad_id, [['---------', 0]] + current_user.pads.collect { |p| [p.name, p.id]}, :selected => params[:pad]) %>
-
- <%= f.submit "Save" %>
-<% end %>
diff --git a/rubyonrails/notejam/app/views/notes/delete.html.erb b/rubyonrails/notejam/app/views/notes/delete.html.erb
deleted file mode 100644
index 835905775..000000000
--- a/rubyonrails/notejam/app/views/notes/delete.html.erb
+++ /dev/null
@@ -1,7 +0,0 @@
-<% content_for :page_title do %><%= @note.name %><% end %>
-
-Are you sure you want to delete <%= @note.name %>?
-<%= form_for :note do |f| %> - <%= f.submit "Yes, I want to delete this note", :class => "red" %> - <%= link_to "Cancel", notes_path %> -<% end %> diff --git a/rubyonrails/notejam/app/views/notes/edit.html.erb b/rubyonrails/notejam/app/views/notes/edit.html.erb deleted file mode 100644 index cec61c667..000000000 --- a/rubyonrails/notejam/app/views/notes/edit.html.erb +++ /dev/null @@ -1,16 +0,0 @@ -<% content_for :page_title do %><%= @current_name %><% end %> - -<%= form_for :note, :html => {:class => "note"} do |f| %> - <%= f.label :name %> - <%= f.text_field :name %> - <%= field_errors :name, @note %> - - <%= f.label :text %> - <%= f.text_area :text %> - <%= field_errors :text, @note %> - - <%= f.label :pad %> - <%= f.select(:pad_id, [['---------', 0]] + current_user.pads.collect { |p| [p.name, p.id]}) %> - - <%= f.submit "Save" %> -<% end %> diff --git a/rubyonrails/notejam/app/views/notes/index.html.erb b/rubyonrails/notejam/app/views/notes/index.html.erb deleted file mode 100644 index 5eae06713..000000000 --- a/rubyonrails/notejam/app/views/notes/index.html.erb +++ /dev/null @@ -1,26 +0,0 @@ -<% content_for :page_title do %>All notes (<%= @notes.count %>)<% end %> -<% if @notes.count.nonzero? %> -| Note " class="sort_arrow">↑" class="sort_arrow">↓ | -Pad | -Last modified " class="sort_arrow">↑" class="sort_arrow">↓ | -
|---|---|---|
| <%= link_to note.name, note_path(:id => note.id) %> | -- <% if note.pad %> - <%= link_to note.pad.name, pad_path(:id => note.pad.id) %> - <% else %> - No pad - <% end %> - | -<%= smart_date note.updated_at %> | -
Create your first note.
-<% end %> -<%= link_to "New note", create_note_path, :class => "button" %> diff --git a/rubyonrails/notejam/app/views/notes/show.html.erb b/rubyonrails/notejam/app/views/notes/show.html.erb deleted file mode 100644 index a16b0c0f6..000000000 --- a/rubyonrails/notejam/app/views/notes/show.html.erb +++ /dev/null @@ -1,10 +0,0 @@ -<% content_for :page_title do %><%= @note.name %><% end %> - -Last edited: <%= smart_date @note.updated_at %>
-- <%= @note.text %> -
-Are you sure you want to delete <%= @pad.name %>?
-<%= form_for :pad do |f| %> - <%= f.submit "Yes, I want to delete this pad", :class => "red" %> - <%= link_to "Cancel", notes_path %> -<% end %> diff --git a/rubyonrails/notejam/app/views/pads/edit.html.erb b/rubyonrails/notejam/app/views/pads/edit.html.erb deleted file mode 100644 index 0bd37d7a4..000000000 --- a/rubyonrails/notejam/app/views/pads/edit.html.erb +++ /dev/null @@ -1,9 +0,0 @@ -<% content_for :page_title do %><%= @current_name %><% end %> - -<%= form_for :pad do |f| %> - <%= f.label :name %> - <%= f.text_field :name %> - <%= field_errors :name, @pad %> - - <%= f.submit "Save" %> -<% end %> diff --git a/rubyonrails/notejam/app/views/pads/show.html.erb b/rubyonrails/notejam/app/views/pads/show.html.erb deleted file mode 100644 index 40ba2cb5c..000000000 --- a/rubyonrails/notejam/app/views/pads/show.html.erb +++ /dev/null @@ -1,19 +0,0 @@ -<% content_for :page_title do %><%= @pad.name %> (<%= @notes.count %>)<% end %> -<% if @notes.count.nonzero? %> -| Note " class="sort_arrow">↑" class="sort_arrow">↓ | -Last modified " class="sort_arrow">↑" class="sort_arrow">↓ | -
|---|---|
| <%= link_to note.name, note_path(:id => note.id) %> | -<%= smart_date note.updated_at %> | -
Create first note in the pad.
-<% end %> -<%= link_to "New note", create_note_path + "?pad=" + @pad.id.to_s, :class => "button" %> - diff --git a/rubyonrails/notejam/app/views/user_mailer/send_new_password.text.erb b/rubyonrails/notejam/app/views/user_mailer/send_new_password.text.erb deleted file mode 100644 index 525a45224..000000000 --- a/rubyonrails/notejam/app/views/user_mailer/send_new_password.text.erb +++ /dev/null @@ -1,4 +0,0 @@ -Hi, <%= @user.email %> -========================================= - -Your new password is <%= @password %> diff --git a/rubyonrails/notejam/app/views/users/forgot_password.html.erb b/rubyonrails/notejam/app/views/users/forgot_password.html.erb deleted file mode 100644 index bdbaae1b1..000000000 --- a/rubyonrails/notejam/app/views/users/forgot_password.html.erb +++ /dev/null @@ -1,9 +0,0 @@ -<% content_for :page_title do %>Forgot Password?<% end %> - -<%= form_tag({}, {:class => "offset-by-six sign-in"}) do %> - <%= label_tag :email %> - <%= text_field_tag :email, nil, :required => true %> - - <%= submit_tag "Generate password" %> -<% end %> - diff --git a/rubyonrails/notejam/app/views/users/settings.html.erb b/rubyonrails/notejam/app/views/users/settings.html.erb deleted file mode 100644 index ef799d8b9..000000000 --- a/rubyonrails/notejam/app/views/users/settings.html.erb +++ /dev/null @@ -1,16 +0,0 @@ -<% content_for :page_title do %>Account Settings<% end %> - -<%= form_for :user, :html => {:class => "offset-by-six sign-in"} do |f| %> - <%= label_tag :current_password %> - <%= password_field_tag :current_password %> - - <%= f.label "New password" %> - <%= f.password_field :password %> - <%= field_errors :password, @user %> - - <%= f.label :password_confirmation %> - <%= f.password_field :password_confirmation %> - <%= field_errors :password_confirmation, @user %> - - <%= f.submit "Save" %> -<% end %> diff --git a/rubyonrails/notejam/app/views/users/signin.html.erb b/rubyonrails/notejam/app/views/users/signin.html.erb deleted file mode 100644 index 500a3f651..000000000 --- a/rubyonrails/notejam/app/views/users/signin.html.erb +++ /dev/null @@ -1,13 +0,0 @@ -<% content_for :page_title do %>Sign In<% end %> - -<%= form_tag({}, {:class => "offset-by-six sign-in"}) do %> - <%= label_tag :email %> - <%= text_field_tag :email, nil, :required => true %> - - <%= label_tag :password %> - <%= password_field_tag :password %> - - <%= submit_tag "Sign In" %> or Sign up -You may have mistyped the address or the page may have moved.
-If you are the application owner check the logs for more information.
- - diff --git a/rubyonrails/notejam/public/422.html b/rubyonrails/notejam/public/422.html deleted file mode 100644 index fbb4b84d7..000000000 --- a/rubyonrails/notejam/public/422.html +++ /dev/null @@ -1,58 +0,0 @@ - - - -Maybe you tried to change something you didn't have access to.
-If you are the application owner check the logs for more information.
- - diff --git a/rubyonrails/notejam/public/500.html b/rubyonrails/notejam/public/500.html deleted file mode 100644 index e9052d35b..000000000 --- a/rubyonrails/notejam/public/500.html +++ /dev/null @@ -1,57 +0,0 @@ - - - -If you are the application owner check the logs for more information.
- - diff --git a/rubyonrails/notejam/public/favicon.ico b/rubyonrails/notejam/public/favicon.ico deleted file mode 100644 index e69de29bb..000000000 diff --git a/rubyonrails/notejam/public/robots.txt b/rubyonrails/notejam/public/robots.txt deleted file mode 100644 index 1a3a5e4dd..000000000 --- a/rubyonrails/notejam/public/robots.txt +++ /dev/null @@ -1,5 +0,0 @@ -# See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file -# -# To ban all spiders from the entire site uncomment the next two lines: -# User-agent: * -# Disallow: / diff --git a/rubyonrails/notejam/test/controllers/.keep b/rubyonrails/notejam/test/controllers/.keep deleted file mode 100644 index e69de29bb..000000000 diff --git a/rubyonrails/notejam/test/controllers/notes_controller_test.rb b/rubyonrails/notejam/test/controllers/notes_controller_test.rb deleted file mode 100644 index 529fcb06d..000000000 --- a/rubyonrails/notejam/test/controllers/notes_controller_test.rb +++ /dev/null @@ -1,90 +0,0 @@ -require 'test_helper' - -class NotesControllerTest < ActionController::TestCase - test 'note should be successfully created' do - assert_response :success - login_as(:existent_user) - assert_difference('Note.count') do - post :create, note: { name: 'test note', text: 'text', pad_id: 0 } - end - end - - test 'note should not be created by anonymous user' do - post :create, note: { name: 'test note', text: 'text' } - assert_redirected_to signin_path - end - - test 'note should not be created if required fields are missing' do - login_as(:existent_user) - post :create, note: { name: '', text: '', pad_id: 0 } - assert_select '.errorlist li', count: 2 - end - - test 'note should be edited by an owner' do - login_as(:existent_user) - note = notes(:existent_note) - new_name = 'new name' - new_text = 'new text' - post :edit, id: note.id, note: { name: new_name, text: new_text, pad_id: 0 } - assert_redirected_to note_path id: note.id - assert_equal [new_name, new_text], [Note.first.name, Note.first.text] - end - - test "note can't be edited if required fields are missing" do - login_as(:existent_user) - note = notes(:existent_note) - post :edit, id: note.id, note: { name: '', text: '', pad_id: 0 } - assert_select '.errorlist li', count: 2 - end - - test 'note should not be edited by not an owner' do - login_as(:existent_user2) - note = notes(:existent_note) - post :edit, id: note.id, note: { name: 'name', text: 'text' } - assert_response :missing - end - - test "note should not be added into another's user pad" do - login_as(:existent_user2) - another_user_pad = pads(:existent_pad) - post :create, note: { - name: 'name', text: 'text', pad_id: another_user_pad.id - } - assert_response :missing - end - - test 'note should be viewed by an owner' do - login_as(:existent_user) - note = notes(:existent_note) - get :show, id: note.id - assert_response :success - end - - test 'note should not be viewed by not an owner' do - login_as(:existent_user2) - note = notes(:existent_note) - get :show, id: note.id - assert_response :missing - end - - test 'note should be deleted by an owner' do - login_as(:existent_user) - note = notes(:existent_note) - assert_difference('Note.count', -1) do - post :delete, id: note.id - end - end - - test 'note should not be deleted by not an owner' do - login_as(:existent_user2) - note = notes(:existent_note) - post :delete, id: note.id - assert_response :missing - end - - test 'note should be listed in index page' do - login_as(:existent_user) - get :index - assert_response :success - end -end diff --git a/rubyonrails/notejam/test/controllers/pads_controller_test.rb b/rubyonrails/notejam/test/controllers/pads_controller_test.rb deleted file mode 100644 index 284ac9df9..000000000 --- a/rubyonrails/notejam/test/controllers/pads_controller_test.rb +++ /dev/null @@ -1,74 +0,0 @@ -require 'test_helper' - -class PadsControllerTest < ActionController::TestCase - test 'pad should be created' do - login_as(:existent_user) - assert_difference('Pad.count') do - post :create, pad: { name: 'test pad' } - end - end - - test 'pad should not be created if required fields are missing' do - login_as(:existent_user) - post :create, pad: { name: '' } - assert_select '.errorlist li', "name can't be blank" - end - - test 'pad should not be created by anonymous user' do - post :create, pad: { name: 'test pad' } - assert_redirected_to signin_path - end - - test 'pad should not be edited if required fields are misiing' do - login_as(:existent_user) - pad = pads(:existent_pad) - post :edit, id: pad.id, pad: { name: '' } - assert_select '.errorlist li', "name can't be blank" - end - - test 'pad should be edited by an owner' do - login_as(:existent_user) - pad = pads(:existent_pad) - new_name = 'new_name' - post :edit, id: pad.id, pad: { name: new_name } - assert_redirected_to pad_path id: pad.id - assert_equal new_name, Pad.first.name - end - - test 'pad should not be edited by not an owner' do - login_as(:existent_user2) - pad = pads(:existent_pad) - new_name = 'new_name' - post :edit, id: pad.id, pad: { name: new_name } - assert_response :missing - end - - test 'pad notes should be viewd by an owner' do - login_as(:existent_user) - pad = pads(:existent_pad) - get :show, id: pad.id - assert_response :success - end - - test 'pad notes should not be viewed by not an owner' do - login_as(:existent_user2) - pad = pads(:existent_pad) - get :show, id: pad.id - assert_response :missing - end - - test 'pad should be deleted by an owner' do - login_as(:existent_user) - pad = pads(:existent_pad) - assert_difference('Pad.count', -1) do - post :delete, id: pad.id - end - end - - test 'pad should not be deleted by not an owner' do - login_as(:existent_user2) - pad = pads(:existent_pad) - post :delete, id: pad.id - assert_response :missing - end -end diff --git a/rubyonrails/notejam/test/controllers/users_controller_test.rb b/rubyonrails/notejam/test/controllers/users_controller_test.rb deleted file mode 100644 index 5b734a92a..000000000 --- a/rubyonrails/notejam/test/controllers/users_controller_test.rb +++ /dev/null @@ -1,61 +0,0 @@ -require 'test_helper' - -class UsersControllerTest < ActionController::TestCase - test 'should successfully signup' do - assert_difference('User.count') do - post :signup, user: { - email: 'user@example.com', password: 'password', - password_confirmation: 'password' - } - end - assert_redirected_to signin_path - end - - test 'should not signup if invalid email' do - post :signup, user: { - email: 'invalid email', password: 'password', - password_confirmation: 'password' - } - assert_select '.errorlist li', 'email is invalid' - end - - test 'should not signup if required fields are missing' do - post :signup, user: { - email: '', password: '', - password_confirmation: '' - } - assert_select '.errorlist li' - end - - test 'should not signup if email exists' do - email = users(:existent_user).email - post :signup, user: { - email: email, password: 'password', - password_confirmation: 'password' - } - assert_select '.errorlist li', 'email has already been taken' - end - - test 'should not signup if passwords do not match' do - post :signup, user: { - email: 'user@example.com', password: 'password1', - password_confirmation: 'password2' - } - assert_select '.errorlist li' - end - - test 'should successfully signin' do - email = users(:existent_user).email - post :signin, - email: email, password: 'secure_password' - - assert_redirected_to notes_path - end - - test 'should not signin if wrong email/password' do - post :signin, - email: 'some_email@example.com', password: 'password' - - assert_select '.alert-error', 'Invalid email or password' - end -end diff --git a/rubyonrails/notejam/test/fixtures/.keep b/rubyonrails/notejam/test/fixtures/.keep deleted file mode 100644 index e69de29bb..000000000 diff --git a/rubyonrails/notejam/test/fixtures/notes.yml b/rubyonrails/notejam/test/fixtures/notes.yml deleted file mode 100644 index fd12e2428..000000000 --- a/rubyonrails/notejam/test/fixtures/notes.yml +++ /dev/null @@ -1,4 +0,0 @@ -existent_note: - name: "Note" - pad: existent_pad - user: existent_user diff --git a/rubyonrails/notejam/test/fixtures/pads.yml b/rubyonrails/notejam/test/fixtures/pads.yml deleted file mode 100644 index 851fd7185..000000000 --- a/rubyonrails/notejam/test/fixtures/pads.yml +++ /dev/null @@ -1,3 +0,0 @@ -existent_pad: - name: "Pad" - user: existent_user diff --git a/rubyonrails/notejam/test/fixtures/users.yml b/rubyonrails/notejam/test/fixtures/users.yml deleted file mode 100644 index f514aee89..000000000 --- a/rubyonrails/notejam/test/fixtures/users.yml +++ /dev/null @@ -1,7 +0,0 @@ -existent_user: - email: 'existent_user@example.com' - password_digest: <%= BCrypt::Password.create("secure_password")%> - -existent_user2: - email: 'existent_user2@example.com' - password_digest: <%= BCrypt::Password.create("secure_password")%> diff --git a/rubyonrails/notejam/test/helpers/.keep b/rubyonrails/notejam/test/helpers/.keep deleted file mode 100644 index e69de29bb..000000000 diff --git a/rubyonrails/notejam/test/helpers/note_helper_test.rb b/rubyonrails/notejam/test/helpers/note_helper_test.rb deleted file mode 100644 index 58d49228a..000000000 --- a/rubyonrails/notejam/test/helpers/note_helper_test.rb +++ /dev/null @@ -1,4 +0,0 @@ -require 'test_helper' - -class NoteHelperTest < ActionView::TestCase -end diff --git a/rubyonrails/notejam/test/helpers/pad_helper_test.rb b/rubyonrails/notejam/test/helpers/pad_helper_test.rb deleted file mode 100644 index a04e97ef5..000000000 --- a/rubyonrails/notejam/test/helpers/pad_helper_test.rb +++ /dev/null @@ -1,4 +0,0 @@ -require 'test_helper' - -class PadHelperTest < ActionView::TestCase -end diff --git a/rubyonrails/notejam/test/helpers/user_helper_test.rb b/rubyonrails/notejam/test/helpers/user_helper_test.rb deleted file mode 100644 index ad44a5374..000000000 --- a/rubyonrails/notejam/test/helpers/user_helper_test.rb +++ /dev/null @@ -1,4 +0,0 @@ -require 'test_helper' - -class UserHelperTest < ActionView::TestCase -end diff --git a/rubyonrails/notejam/test/integration/.keep b/rubyonrails/notejam/test/integration/.keep deleted file mode 100644 index e69de29bb..000000000 diff --git a/rubyonrails/notejam/test/mailers/.keep b/rubyonrails/notejam/test/mailers/.keep deleted file mode 100644 index e69de29bb..000000000 diff --git a/rubyonrails/notejam/test/mailers/user_mailer_test.rb b/rubyonrails/notejam/test/mailers/user_mailer_test.rb deleted file mode 100644 index 67a1629cc..000000000 --- a/rubyonrails/notejam/test/mailers/user_mailer_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class UserMailerTest < ActionMailer::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/rubyonrails/notejam/test/models/.keep b/rubyonrails/notejam/test/models/.keep deleted file mode 100644 index e69de29bb..000000000 diff --git a/rubyonrails/notejam/test/models/note_test.rb b/rubyonrails/notejam/test/models/note_test.rb deleted file mode 100644 index 7bbab5370..000000000 --- a/rubyonrails/notejam/test/models/note_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class NoteTest < ActiveSupport::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/rubyonrails/notejam/test/models/pad_test.rb b/rubyonrails/notejam/test/models/pad_test.rb deleted file mode 100644 index fd17ddbf6..000000000 --- a/rubyonrails/notejam/test/models/pad_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class PadTest < ActiveSupport::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/rubyonrails/notejam/test/models/user_test.rb b/rubyonrails/notejam/test/models/user_test.rb deleted file mode 100644 index 82f61e010..000000000 --- a/rubyonrails/notejam/test/models/user_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class UserTest < ActiveSupport::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/rubyonrails/notejam/test/test_helper.rb b/rubyonrails/notejam/test/test_helper.rb deleted file mode 100644 index 9545f86cc..000000000 --- a/rubyonrails/notejam/test/test_helper.rb +++ /dev/null @@ -1,18 +0,0 @@ -ENV["RAILS_ENV"] ||= "test" -require File.expand_path('../../config/environment', __FILE__) -require 'rails/test_help' - -class ActiveSupport::TestCase - ActiveRecord::Migration.check_pending! - - # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order. - # - # Note: You'll currently still have to declare fixtures explicitly in integration tests - # -- they do not yet inherit this setting - fixtures :all - - # Add more helper methods to be used by all tests here... - def login_as(user) - @request.session[:user_id] = user ? users(user).id : nil - end -end diff --git a/rubyonrails/notejam/vendor/assets/javascripts/.keep b/rubyonrails/notejam/vendor/assets/javascripts/.keep deleted file mode 100644 index e69de29bb..000000000 diff --git a/rubyonrails/notejam/vendor/assets/stylesheets/.keep b/rubyonrails/notejam/vendor/assets/stylesheets/.keep deleted file mode 100644 index e69de29bb..000000000 diff --git a/spring/.gitignore b/spring/.gitignore deleted file mode 100644 index 55276a330..000000000 --- a/spring/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/target/ -db.* -application.properties diff --git a/spring/README.rst b/spring/README.rst deleted file mode 100644 index 2e3b57aa3..000000000 --- a/spring/README.rst +++ /dev/null @@ -1,103 +0,0 @@ -*************** -Notejam: Spring -*************** - -Notejam application implemented using `Spring
- * The annotated object type.
- *
- * @return The matching objects.
- */
- public static
- * The annotated object type.
- *
- * @return The matching objects.
- */
- @SuppressWarnings("unchecked")
- public static Last
- edited at 10:32 The typography of Skeleton is designed to create a strong
- hierarchy with basic styles. The primary font is the classic
- Helvetica Neue, but the font stack can be easily changed with just a
- couple adjustments. Regular paragraphs are set at a 14px base with
- 21px line height. Create your first note. Are you sure you want to delete {{ note.name }}? Create your first note. Last edited at 10:32 Are you sure you want to delete {{ pad.name }} and all related notes? Create first note in the pad. Welcome to your new Symfony project.
- This script will guide you through the basic configuration of your project.
- You can also do the same by editing the ‘app/config/parameters.yml’ file directly.
- Major problems have been detected and must be fixed before continuing:
- Additionally, toTo enhance your Symfony experience,
- it’s recommended that you fix the following:
- *
- getPhpIniConfigPath()): ?>
- Changes to the php.ini file must be done in "getPhpIniConfigPath() ?>".
-
- To change settings, create a "php.ini".
-
- Your configuration looks good to run Symfony. The path to yii framework seems to be incorrect. You need to install Yii framework via composer or adjust the framework path in file ' . basename(__FILE__) . '. Please refer to the README on how to install Yii. Are you sure you want to delete = Html::encode($this->title) ?>?
- The above error occurred while the Web server was processing your request.
-
- Please contact us if you think this is a server error. Thank you.
- Create your first note. Last edited at = $note->getSmartDate(); ?>
- = HtmlPurifier::process($note->text) ?>
- Are you sure you want to delete = Html::encode($this->title) ?>?
- Delete pad
- Create first note in the pad.[[#{error.title}]]
-
-
-
-
diff --git a/spring/src/main/resources/templates/note/create.html b/spring/src/main/resources/templates/note/create.html
deleted file mode 100644
index 4ec1bea1e..000000000
--- a/spring/src/main/resources/templates/note/create.html
+++ /dev/null
@@ -1,47 +0,0 @@
-
-
-
-[[#{note.create.title}]]
-
- [[${note.name}]]
-
- [[${note.name}]]
-
- [[${note.name}]]
-
-
- All notes (8)
- Business (8 notes)
-
-
-
-
- New note
-
- New note
- Pad settings
-
-
-
-
- [[#{pad.view.note}]]
- ↑↓
-
- Pad
- [[#{pad.view.modified}]]
- ↑↓
-
-
-
- My sport activities
-
-
- Pad
-
-
- No Pad
- Just now
- [[#{pad.create.title}]]
-
- [[${pad.name}]]
-
- [[${pad.name}]]
-
- [[#{account.title}]]
-
- [[#{forgot.title}]]
-
- [[#{login.title}]]
-
- [[#{forgot.title}]]
-
- [[#{signup.title}]]
-
-
- notejam:
- {% block page_title %}
- All notes
- {% endblock %}
-
-
-
-
- {% block javascripts %}{% endblock %}
-
-
diff --git a/symfony/notejam/app/Resources/views/fields.html.twig b/symfony/notejam/app/Resources/views/fields.html.twig
deleted file mode 100644
index 930b37b8d..000000000
--- a/symfony/notejam/app/Resources/views/fields.html.twig
+++ /dev/null
@@ -1,13 +0,0 @@
-{% form_theme form _self %}
-
-{% block form_errors %}
- {% spaceless %}
- {% if errors|length > 0 %}
-
- {% for error in errors %}
-
- {% endif %}
- {% endspaceless %}
-{% endblock form_errors %}
diff --git a/symfony/notejam/app/Resources/views/user.html.twig b/symfony/notejam/app/Resources/views/user.html.twig
deleted file mode 100644
index 91f66a7cb..000000000
--- a/symfony/notejam/app/Resources/views/user.html.twig
+++ /dev/null
@@ -1,5 +0,0 @@
-{% extends 'base.html.twig' %}
-
-{% block content_class %}sixteen columns content-area{% endblock %}
-
-{% block pads %}{% endblock %}
diff --git a/symfony/notejam/app/SymfonyRequirements.php b/symfony/notejam/app/SymfonyRequirements.php
deleted file mode 100644
index 28b0dcdbf..000000000
--- a/symfony/notejam/app/SymfonyRequirements.php
+++ /dev/null
@@ -1,764 +0,0 @@
-
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-/*
- * Users of PHP 5.2 should be able to run the requirements checks.
- * This is why the file and all classes must be compatible with PHP 5.2+
- * (e.g. not using namespaces and closures).
- *
- * ************** CAUTION **************
- *
- * DO NOT EDIT THIS FILE as it will be overridden by Composer as part of
- * the installation/update process. The original file resides in the
- * SensioDistributionBundle.
- *
- * ************** CAUTION **************
- */
-
-/**
- * Represents a single PHP requirement, e.g. an installed extension.
- * It can be a mandatory requirement or an optional recommendation.
- * There is a special subclass, named PhpIniRequirement, to check a php.ini configuration.
- *
- * @author Tobias Schultze
-
-{% else %}
-
-
- {% for note in notes %}
- Note ↑↓
- Pad
- Last modified ↑↓
-
-
- {% endfor %}
- {{ note.name }}
-
- {% if note.pad %}
- {{ note.pad }}
- {% else %}
- No pad
- {% endif %}
-
- {{ note.getUpdatedAt }}
- My pads
-
-
-
-{% else %}
-
-
- {% for note in notes %}
- Note ↑↓
- Pad
- Last modified ↑↓
-
-
- {% endfor %}
- {{ note.name }}
-
- {% if note.pad %}
- {{ note.pad }}
- {% else %}
- No pad
- {% endif %}
-
- {{ note.getUpdatedAt }}
-
- Forgot Password?
- {{ form_end(form) }}
-{% endblock %}
-
-
diff --git a/symfony/notejam/src/AppBundle/Resources/views/User/signup.html.twig b/symfony/notejam/src/AppBundle/Resources/views/User/signup.html.twig
deleted file mode 100644
index e4961b49d..000000000
--- a/symfony/notejam/src/AppBundle/Resources/views/User/signup.html.twig
+++ /dev/null
@@ -1,23 +0,0 @@
-{% extends 'user.html.twig' %}
-
-{% block title %}Sign Up{% endblock %}
-{% block page_title %}Sign Up{% endblock %}
-
-{% block body %}
- {{ form_start(form, {'attr': {'class': 'offset-by-six sign-in'}}) }}
- {{ form_label(form.email) }}
- {{ form_widget(form.email) }}
- {{ form_errors(form.email) }}
-
- {{ form_label(form.password.password) }}
- {{ form_widget(form.password.password) }}
- {{ form_errors(form.password.password , {'attr': {'class': 'errorlist'}}) }}
-
- {{ form_label(form.password.confirm) }}
- {{ form_widget(form.password.confirm) }}
- {{ form_errors(form.password.confirm) }}
-
-
- {{ form_end(form) }}
-{% endblock %}
-
diff --git a/symfony/notejam/src/AppBundle/Tests/Controller/NoteControllerTest.php b/symfony/notejam/src/AppBundle/Tests/Controller/NoteControllerTest.php
deleted file mode 100644
index d62cdac06..000000000
--- a/symfony/notejam/src/AppBundle/Tests/Controller/NoteControllerTest.php
+++ /dev/null
@@ -1,40 +0,0 @@
-loadFixtures(array());
- // init kernel to init entity manager
- static::$kernel = static::createKernel(array('environment' => 'test'));
- static::$kernel->boot();
- }
-
- public function getEm() {
- $this->em = static::$kernel->getContainer()
- ->get('doctrine')
- ->getManager() ;
- return $this->em;
- }
-
- private function _createUser($email, $password) {
- $user = new User();
-
- $encoder = static::$kernel->getContainer()
- ->get('security.encoder_factory')
- ->getEncoder($user);
-
- $password = $encoder->encodePassword($password, $user->getSalt());
- $user->setEmail($email)
- ->setPassword($password);
-
- $this->getEm()->persist($user);
- $this->getEm()->flush();
-
- return $user;
- }
-
- private function _createPad($name, $user) {
- $pad = new Pad();
- $pad->setName($name);
- $pad->setUser($user);
-
- $this->getEm()->persist($pad);
- $this->getEm()->flush();
-
- return $pad;
- }
-
- private function _signIn($user)
- {
- $client = static::createClient();
- $session = $client->getContainer()->get('session');
-
- $firewall = 'main';
- $token = new UsernamePasswordToken(
- $user, $user->getPassword(), $firewall, array('ROLE_USER')
- );
- $session->set('_security_'.$firewall, serialize($token));
- $session->save();
-
- $cookie = new Cookie($session->getName(), $session->getId());
- $client->getCookieJar()->set($cookie);
- return $client;
- }
-
- public function testCreatePadSuccess()
- {
- $email = 'test@example.com';
- $password = '123123';
- $user = $this->_createUser($email, $password);
-
- $client = $this->_signIn($user);
- $client->followRedirects();
- $crawler = $client->request('GET', '/pads/create');
- $form = $crawler->filter('button')->form();
- $form['pad[name]'] = 'Pad';
- $crawler = $client->submit($form);
- $this->assertEquals(1, $crawler->filter('nav > ul > li')->count());
- $this->assertCount(
- 1, $this->getEm()->getRepository('AppBundle:Pad')->findAll()
- );
- }
-
- public function testCreatePadErrorRequiredFields()
- {
- $email = 'test@example.com';
- $password = '123123';
- $user = $this->_createUser($email, $password);
-
- $client = $this->_signIn($user);
- $crawler = $client->request('GET', '/pads/create');
- $form = $crawler->filter('button')->form();
- $crawler = $client->submit($form);
- $this->assertEquals(1, $crawler->filter('ul.errorlist > li')->count());
- }
-
- public function testEditPadSuccess()
- {
- $email = 'test@example.com';
- $password = '123123';
- $user = $this->_createUser($email, $password);
- $pad = $this->_createPad('initial pad', $user);
-
- $client = $this->_signIn($user);
- $crawler = $client->request('GET', "/pads/{$pad->getId()}/edit");
- $form = $crawler->filter('button')->form();
- $newName = 'new pad name';
- $form['pad[name]'] = $newName;
- $crawler = $client->submit($form);
-
- $updatedPad = $this->getEm()->getRepository(
- 'AppBundle:Pad'
- )->find(1);
- $this->assertEquals($newName, $updatedPad->getName());
- }
-
- public function testEditPadErrorRequiredFields()
- {
- $email = 'test@example.com';
- $password = '123123';
- $user = $this->_createUser($email, $password);
- $pad = $this->_createPad('initial pad', $user);
-
- $client = $this->_signIn($user);
- $crawler = $client->request('GET', "/pads/{$pad->getId()}/edit");
- $form = $crawler->filter('button')->form();
- $form['pad[name]'] = "";
- $crawler = $client->submit($form);
- $this->assertEquals(1, $crawler->filter('ul.errorlist > li')->count());
- }
-
- public function testDeletePadSuccess()
- {
- $email = 'test@example.com';
- $password = '123123';
- $user = $this->_createUser($email, $password);
- $pad = $this->_createPad('test pad', $user);
-
- $client = $this->_signIn($user);
- $crawler = $client->request('GET', "/pads/{$pad->getId()}/delete");
- $form = $crawler->filter('button')->form();
- $crawler = $client->submit($form);
-
- $this->assertCount(
- 0, $this->getEm()->getRepository('AppBundle:Pad')->findAll()
- );
- }
-
- public function testDeletePadErrorAnotherUser()
- {
- $email = 'test@example.com';
- $password = '123123';
- $user = $this->_createUser($email, $password);
- $pad = $this->_createPad('test pad', $user);
-
- $anotherUser = $this->_createUser('test2@example.com', $password);
- $client = $this->_signIn($anotherUser);
- $crawler = $client->request('GET', "/pads/{$pad->getId()}/delete");
- $this->assertTrue($client->getResponse()->isNotFound());
- }
-
- public function testViewPadNotesSuccess()
- {
- $email = 'test@example.com';
- $password = '123123';
- $user = $this->_createUser($email, $password);
- $pad = $this->_createPad('test pad', $user);
-
- $client = $this->_signIn($user);
- $client->followRedirects();
- $crawler = $client->request('GET', "/pads/{$pad->getId()}/notes");
- $this->assertTrue($client->getResponse()->isSuccessful());
- }
-}
-
-
diff --git a/symfony/notejam/web/.htaccess b/symfony/notejam/web/.htaccess
deleted file mode 100644
index 0c5f37def..000000000
--- a/symfony/notejam/web/.htaccess
+++ /dev/null
@@ -1,52 +0,0 @@
-# Use the front controller as index file. It serves as a fallback solution when
-# every other rewrite/redirect fails (e.g. in an aliased environment without
-# mod_rewrite). Additionally, this reduces the matching process for the
-# start page (path "/") because otherwise Apache will apply the rewriting rules
-# to each configured DirectoryIndex file (e.g. index.php, index.html, index.pl).
-DirectoryIndex app.php
-
-
- Welcome!
- Major problems
-
-
-
-
-
-
- Recommendations
-
-
-
-
-
- hasPhpIniConfigIssue()): ?>
- true.' : ''
- ),
- array(
- 'name' => 'APC extension',
- 'mandatory' => false,
- 'condition' => extension_loaded('apc'),
- 'by' => 'ApcCache',
- ),
- // PHP ini :
- 'phpSafeMode' => array(
- 'name' => 'PHP safe mode',
- 'mandatory' => false,
- 'condition' => $requirementsChecker->checkPhpIniOff("safe_mode"),
- 'by' => 'File uploading and console command execution',
- 'memo' => '"safe_mode" should be disabled at php.ini',
- ),
- 'phpExposePhp' => array(
- 'name' => 'Expose PHP',
- 'mandatory' => false,
- 'condition' => $requirementsChecker->checkPhpIniOff("expose_php"),
- 'by' => 'Security reasons',
- 'memo' => '"expose_php" should be disabled at php.ini',
- ),
- 'phpAllowUrlInclude' => array(
- 'name' => 'PHP allow url include',
- 'mandatory' => false,
- 'condition' => $requirementsChecker->checkPhpIniOff("allow_url_include"),
- 'by' => 'Security reasons',
- 'memo' => '"allow_url_include" should be disabled at php.ini',
- ),
- 'phpSmtp' => array(
- 'name' => 'PHP mail SMTP',
- 'mandatory' => false,
- 'condition' => strlen(ini_get('SMTP'))>0,
- 'by' => 'Email sending',
- 'memo' => 'PHP mail SMTP server required',
- ),
-);
-$requirementsChecker->checkYii()->check($requirements)->render();
diff --git a/yii/notejam/runtime/.gitignore b/yii/notejam/runtime/.gitignore
deleted file mode 100644
index c96a04f00..000000000
--- a/yii/notejam/runtime/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*
-!.gitignore
\ No newline at end of file
diff --git a/yii/notejam/tests/.gitignore b/yii/notejam/tests/.gitignore
deleted file mode 100644
index c5aa0743d..000000000
--- a/yii/notejam/tests/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-# these files are auto generated by codeception build
-/unit/CodeGuy.php
-/functional/TestGuy.php
-/acceptance/WebGuy.php
diff --git a/yii/notejam/tests/README.md b/yii/notejam/tests/README.md
deleted file mode 100644
index e1aed9a6e..000000000
--- a/yii/notejam/tests/README.md
+++ /dev/null
@@ -1,33 +0,0 @@
-This folder contains various tests for the basic application.
-These tests are developed with [Codeception PHP Testing Framework](http://codeception.com/).
-
-After creating the basic application, follow these steps to prepare for the tests:
-
-1. Install additional composer packages:
-
- ```
- php composer.phar require --dev "codeception/codeception: 2.0.*" "codeception/specify: *" "codeception/verify: *"
- ```
-2. In the file `_bootstrap.php`, modify the definition of the constant `TEST_ENTRY_URL` so
- that it points to the correct entry script URL.
-3. Go to the application base directory and build the test suites:
-
- ```
- vendor/bin/codecept build
- ```
-
-Now you can run the tests with the following commands:
-
-```
-# run all available tests
-vendor/bin/codecept run
-# run acceptance tests
-vendor/bin/codecept run acceptance
-# run functional tests
-vendor/bin/codecept run functional
-# run unit tests
-vendor/bin/codecept run unit
-```
-
-Please refer to [Codeception tutorial](http://codeception.com/docs/01-Introduction) for
-more details about writing and running acceptance, functional and unit tests.
diff --git a/yii/notejam/tests/_bootstrap.php b/yii/notejam/tests/_bootstrap.php
deleted file mode 100644
index 4890b3ed7..000000000
--- a/yii/notejam/tests/_bootstrap.php
+++ /dev/null
@@ -1,23 +0,0 @@
- [
- 'mailer' => [
- 'useFileTransport' => true,
- ],
- 'urlManager' => [
- 'showScriptName' => true,
- ],
- ],
-];
diff --git a/yii/notejam/tests/_console_bootstrap.php b/yii/notejam/tests/_console_bootstrap.php
deleted file mode 100644
index 81287f3d8..000000000
--- a/yii/notejam/tests/_console_bootstrap.php
+++ /dev/null
@@ -1,12 +0,0 @@
-guy->fillField('input[name="Note[name]"]', $name);
- $this->guy->fillField('textarea[name="Note[text]"]', $text);
- $this->guy->click('button[type=submit]');
- }
-}
-
-
diff --git a/yii/notejam/tests/_pages/CreatePadPage.php b/yii/notejam/tests/_pages/CreatePadPage.php
deleted file mode 100644
index 0209fadf8..000000000
--- a/yii/notejam/tests/_pages/CreatePadPage.php
+++ /dev/null
@@ -1,17 +0,0 @@
-guy->fillField('input[name="Pad[name]"]', $name);
- $this->guy->click('button[type=submit]');
- }
-}
-
diff --git a/yii/notejam/tests/_pages/DeleteNotePage.php b/yii/notejam/tests/_pages/DeleteNotePage.php
deleted file mode 100644
index 37a7fab18..000000000
--- a/yii/notejam/tests/_pages/DeleteNotePage.php
+++ /dev/null
@@ -1,22 +0,0 @@
-guy->click('button[type=submit]');
- }
-}
-
-
-
-
-
diff --git a/yii/notejam/tests/_pages/DeletePadPage.php b/yii/notejam/tests/_pages/DeletePadPage.php
deleted file mode 100644
index c7d5f84c0..000000000
--- a/yii/notejam/tests/_pages/DeletePadPage.php
+++ /dev/null
@@ -1,21 +0,0 @@
-guy->click('button[type=submit]');
- }
-}
-
-
-
-
diff --git a/yii/notejam/tests/_pages/EditNotePage.php b/yii/notejam/tests/_pages/EditNotePage.php
deleted file mode 100644
index 2aade7f06..000000000
--- a/yii/notejam/tests/_pages/EditNotePage.php
+++ /dev/null
@@ -1,24 +0,0 @@
-guy->fillField('input[name="Note[name]"]', $name);
- $this->guy->fillField('textarea[name="Note[text]"]', $text);
- $this->guy->click('button[type=submit]');
- }
-}
-
-
-
-
diff --git a/yii/notejam/tests/_pages/EditPadPage.php b/yii/notejam/tests/_pages/EditPadPage.php
deleted file mode 100644
index 525ffef14..000000000
--- a/yii/notejam/tests/_pages/EditPadPage.php
+++ /dev/null
@@ -1,21 +0,0 @@
-guy->fillField('input[name="Pad[name]"]', $name);
- $this->guy->click('button[type=submit]');
- }
-}
-
-
-
diff --git a/yii/notejam/tests/_pages/SignedInPage.php b/yii/notejam/tests/_pages/SignedInPage.php
deleted file mode 100644
index fe3419e3e..000000000
--- a/yii/notejam/tests/_pages/SignedInPage.php
+++ /dev/null
@@ -1,31 +0,0 @@
-signin($user['email'], $user['password']);
- }
- $I->amOnPage($page->getUrl($params));
-
- return $page;
- }
-
- public static function signout($I)
- {
- $I->amOnPage(\Yii::$app->getUrlManager()->createUrl(['user/signout']));
- }
-}
-
-
-
-
-
diff --git a/yii/notejam/tests/_pages/SigninPage.php b/yii/notejam/tests/_pages/SigninPage.php
deleted file mode 100644
index 1e0e8fa1a..000000000
--- a/yii/notejam/tests/_pages/SigninPage.php
+++ /dev/null
@@ -1,24 +0,0 @@
-guy->fillField('input[name="SigninForm[email]"]', $email);
- $this->guy->fillField('input[name="SigninForm[password]"]', $password);
- $this->guy->click('button[type=submit]');
- //$this->guy->submitForm('form', array('SigninForm' => array(
- //'email' => $email,
- //'password' => $password,
- //)));
- }
-}
diff --git a/yii/notejam/tests/_pages/SignupPage.php b/yii/notejam/tests/_pages/SignupPage.php
deleted file mode 100644
index 712110231..000000000
--- a/yii/notejam/tests/_pages/SignupPage.php
+++ /dev/null
@@ -1,25 +0,0 @@
-guy->fillField('input[name="SignupForm[email]"]', $email);
- $this->guy->fillField('input[name="SignupForm[password]"]', $password);
- $this->guy->fillField(
- 'input[name="SignupForm[passwordConfirmation]"]', $passwordConfirmation
- );
- $this->guy->click('button[type=submit]');
- }
-}
-
diff --git a/yii/notejam/tests/_pages/ViewNotePage.php b/yii/notejam/tests/_pages/ViewNotePage.php
deleted file mode 100644
index 72359d26a..000000000
--- a/yii/notejam/tests/_pages/ViewNotePage.php
+++ /dev/null
@@ -1,10 +0,0 @@
- [
- 'db' => [
- 'dsn' => 'mysql:host=localhost;dbname=yii2_basic_acceptance',
- ],
- ],
- ]
-);
diff --git a/yii/notejam/tests/acceptance/_console.php b/yii/notejam/tests/acceptance/_console.php
deleted file mode 100644
index 03cdd1ff6..000000000
--- a/yii/notejam/tests/acceptance/_console.php
+++ /dev/null
@@ -1,13 +0,0 @@
- [
- 'db' => [
- 'dsn' => 'mysql:host=localhost;dbname=yii2_basic_acceptance',
- ],
- ],
- ]
-);
diff --git a/yii/notejam/tests/acceptance/yii b/yii/notejam/tests/acceptance/yii
deleted file mode 100644
index e587ba400..000000000
--- a/yii/notejam/tests/acceptance/yii
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env php
-run();
-exit($exitCode);
diff --git a/yii/notejam/tests/acceptance/yii.bat b/yii/notejam/tests/acceptance/yii.bat
deleted file mode 100644
index 5e21e2e99..000000000
--- a/yii/notejam/tests/acceptance/yii.bat
+++ /dev/null
@@ -1,20 +0,0 @@
-@echo off
-
-rem -------------------------------------------------------------
-rem Yii command line bootstrap script for Windows.
-rem
-rem @author Qiang Xue My pads
-
-
- notejam: = Html::encode($this->title) ?>
-
-
-
- = Html::encode($this->title) ?>
-
-
-
-
-
-
-
- Note ↑↓
- Pad
- Last modified ↑↓
-
-
-
- = Html::encode($note->name); ?>
-
- pad): ?>
- = Html::encode($note->pad->name); ?>
-
- No pad
-
-
- = $note->getSmartDate(); ?>
-
-
-
-
-
-
- Note ↑↓
- Last modified ↑↓
-
-
-
- = Html::encode($note->name); ?>
- = $note->getSmartDate(); ?>
-
- getErrors($field) as $error): ?>
-
-
diff --git a/yii/notejam/views/user/forgot-password.php b/yii/notejam/views/user/forgot-password.php
deleted file mode 100644
index da3926060..000000000
--- a/yii/notejam/views/user/forgot-password.php
+++ /dev/null
@@ -1,21 +0,0 @@
-title = 'Forgot Password?';
-?>
-
- 'login-form',
- 'options' => ['class' => 'offset-by-six sign-in'],
- 'fieldConfig' => [
- 'template' => "{label}{input}",
- ],
-]); ?>
-
-= $form->field($model, 'email'); ?>
-= $this->render('/partials/errors', ['model' => $model, 'field' => 'email']) ?>
-
-= Html::submitButton('Generate password') ?>
-
-
-
diff --git a/yii/notejam/views/user/settings.php b/yii/notejam/views/user/settings.php
deleted file mode 100644
index 618823ff6..000000000
--- a/yii/notejam/views/user/settings.php
+++ /dev/null
@@ -1,28 +0,0 @@
-title = 'Account Settings';
-
-?>
-
- 'login-form',
- 'options' => ['class' => 'offset-by-six sign-in'],
- 'fieldConfig' => [
- 'template' => "{label}{input}",
- ],
-]); ?>
-
-= $form->field($model, 'currentPassword')->passwordInput(); ?>
-= $this->render('/partials/errors', ['model' => $model, 'field' => 'currentPassword']) ?>
-
-= $form->field($model, 'password')->passwordInput(); ?>
-= $this->render('/partials/errors', ['model' => $model, 'field' => 'password']) ?>
-
-= $form->field($model, 'passwordConfirmation')->passwordInput() ?>
-= $this->render('/partials/errors', ['model' => $model, 'field' => 'passwordConfirmation']) ?>
-
-= Html::submitButton('Save') ?>
-
-
diff --git a/yii/notejam/views/user/signin.php b/yii/notejam/views/user/signin.php
deleted file mode 100644
index e378f881e..000000000
--- a/yii/notejam/views/user/signin.php
+++ /dev/null
@@ -1,27 +0,0 @@
-title = 'Sign In';
-
-?>
-
- 'login-form',
- 'options' => ['class' => 'offset-by-six sign-in'],
- 'fieldConfig' => [
- 'template' => "{label}{input}",
- ],
-]); ?>
-
-= $form->field($model, 'email') ?>
-= $this->render('/partials/errors', ['model' => $model, 'field' => 'email']) ?>
-
-= $form->field($model, 'password')->passwordInput() ?>
-= $this->render('/partials/errors', ['model' => $model, 'field' => 'password']) ?>
-
-= Html::submitButton('Sign in') ?> or Sign up
-
-Forgot password?
-
-
diff --git a/yii/notejam/views/user/signup.php b/yii/notejam/views/user/signup.php
deleted file mode 100644
index 16010b9df..000000000
--- a/yii/notejam/views/user/signup.php
+++ /dev/null
@@ -1,28 +0,0 @@
-title = 'Sign Up';
-
-?>
-
- 'login-form',
- 'options' => ['class' => 'offset-by-six sign-in'],
- 'fieldConfig' => [
- 'template' => "{label}{input}",
- ],
-]); ?>
-
-= $form->field($model, 'email') ?>
-= $this->render('/partials/errors', ['model' => $model, 'field' => 'email']) ?>
-
-= $form->field($model, 'password')->passwordInput() ?>
-= $this->render('/partials/errors', ['model' => $model, 'field' => 'password']) ?>
-
-= $form->field($model, 'passwordConfirmation')->passwordInput() ?>
-= $this->render('/partials/errors', ['model' => $model, 'field' => 'passwordConfirmation']) ?>
-
-= Html::submitButton('Sign up') ?> or Sign in
-
-
diff --git a/yii/notejam/web/assets/.gitignore b/yii/notejam/web/assets/.gitignore
deleted file mode 100644
index c96a04f00..000000000
--- a/yii/notejam/web/assets/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*
-!.gitignore
\ No newline at end of file
diff --git a/yii/notejam/web/css/site.css b/yii/notejam/web/css/site.css
deleted file mode 100644
index 698be709c..000000000
--- a/yii/notejam/web/css/site.css
+++ /dev/null
@@ -1,91 +0,0 @@
-html,
-body {
- height: 100%;
-}
-
-.wrap {
- min-height: 100%;
- height: auto;
- margin: 0 auto -60px;
- padding: 0 0 60px;
-}
-
-.wrap > .container {
- padding: 70px 15px 20px;
-}
-
-.footer {
- height: 60px;
- background-color: #f5f5f5;
- border-top: 1px solid #ddd;
- padding-top: 20px;
-}
-
-.jumbotron {
- text-align: center;
- background-color: transparent;
-}
-
-.jumbotron .btn {
- font-size: 21px;
- padding: 14px 24px;
-}
-
-.not-set {
- color: #c55;
- font-style: italic;
-}
-
-/* add sorting icons to gridview sort links */
-a.asc:after, a.desc:after {
- position: relative;
- top: 1px;
- display: inline-block;
- font-family: 'Glyphicons Halflings';
- font-style: normal;
- font-weight: normal;
- line-height: 1;
- padding-left: 5px;
-}
-
-a.asc:after {
- content: /*"\e113"*/ "\e151";
-}
-
-a.desc:after {
- content: /*"\e114"*/ "\e152";
-}
-
-.sort-numerical a.asc:after {
- content: "\e153";
-}
-
-.sort-numerical a.desc:after {
- content: "\e154";
-}
-
-.sort-ordinal a.asc:after {
- content: "\e155";
-}
-
-.sort-ordinal a.desc:after {
- content: "\e156";
-}
-
-.grid-view th {
- white-space: nowrap;
-}
-
-.hint-block {
- display: block;
- margin-top: 5px;
- color: #999;
-}
-
-.error-summary {
- color: #a94442;
- background: #fdf7f7;
- border-left: 3px solid #eed3d7;
- padding: 10px 20px;
- margin: 0 0 15px 0;
-}
diff --git a/yii/notejam/web/css/style.css b/yii/notejam/web/css/style.css
deleted file mode 100644
index f2cf7f5de..000000000
--- a/yii/notejam/web/css/style.css
+++ /dev/null
@@ -1,397 +0,0 @@
-/*
-* Skeleton V1.0.3
-* Copyright 2011, Dave Gamache
-* www.getskeleton.com
-* Free to use under the MIT license.
-* http://www.opensource.org/licenses/mit-license.php
-* 7/17/2011
-*/
-
-
-/* Documentation Styles
-================================================== */
- div.container {
- padding-top: 40px; }
-
- /* Doc nav */
- nav {
- width: 160px; }
- #logo, .bold-header {
- margin-bottom: 30px;
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- letter-spacing: -1px;
- color: #555;
- font-weight: bold; }
- .bold-header span {
- font-weight: normal;
- font-size: 23px;
- }
- .bold-header a.header {
- text-decoration: none;
- color: inherit;
- }
- .bold-header span.jam {
- font-size: 46px;
- line-height: 50px;
- }
- nav ul {
- float: left; }
- nav ul li {
- display: block;
- margin-bottom: 10px; }
- nav ul li a,
- nav ul li a:visited,
- nav ul li a:active {
- font-size: 14px;
- color: #555;
- text-decoration: none;
- font-weight: bold; }
- nav ul li a:hover,
- nav ul li a:focus {
- color: #222; }
- header h1 {
- font-size: 52px;
- line-height: 61px;
- letter-spacing: -1px;
- font-weight: normal;
- font-family: "Georgia", "Times New Roman", Helvetica, Arial, sans-serif; }
- hr.large {
- border: none;
- height: 8px;
- background: #ebebeb;
- margin: 50px 0; }
- div.doc-section {
- margin: 30px 0; }
-
- #whatAndWhy .row {
- padding: 30px 0 0; }
-
- #typography blockquote {
- margin-top: 20px; }
-
- .hidden-code a {
- font-size: 12px;
- color: #999; }
- .hidden-code>div {
- display: none; }
-
-
- /* Grid */
- #grid .column,
- #grid .columns {
- background: #ddd;
- height: 25px;
- line-height: 25px;
- margin-bottom: 10px;
- text-align: center;
- text-transform: uppercase;
- color: #555;
- font-size: 12px;
- font-weight: bold;
- -moz-border-radius: 2px;
- -webkit-border-radius: 2px;
- border-radius: 2px; }
- #grid .column:hover,
- #grid .columns:hover {
- background: #bbb;
- color: #333; }
- #grid .example-grid { overflow: hidden; }
-
- .post-button-note,
- .post-button-note a {
- font-size: 11px;
- color: #999; }
-
- #examples .four.columns a {
- text-decoration: none;
- }
- #examples .four.columns a:hover {
- text-decoration: underline;
- }
-
-
- .resize {
- position: fixed;
- bottom: 0;
- right: 0;
- height: 80px;
- width: 80px;
- background: url(images/resize.png); }
-
-
- img {
- max-width: 100%;
- height: auto; }
-
- .gist-meta { display: none !important;}
-
- ul ul ul li { margin-bottom: 3px; }
-
- .twitter-share-button { margin-bottom: -18px; }
-
- /* Table stylesheets */
- table {
- width: 100%;
- border-collapse: collapse;
- }
-
- table th, table td {
- padding: 10px 10px 9px;
- font-size: 13px;
- line-height: 18px;
- text-align: left;
- }
-
- table td {
- vertical-align: top;
- border-top: solid 1px #ddd;
- }
-
- table th {
- padding-top: 9px;
- font-weight: bold;
- vertical-align: middle;
- }
-
- table.condensed th, table.condensed td {
- padding: 5px 5px 4px;
- }
-
- table.bordered {
- border-collapse: separate;
- border: solid 1px #ddd;
- -webkit-border-radius: 2px;
- -moz-border-radius: 2px;
- border-radius: 2px;
- }
-
- table.bordered th + th,
- table.bordered th + td,
- table.bordered td + td {
- border-left: solid 1px #ddd;
- }
-
- .zebra-striped tbody tr:nth-child(odd) td,
- .zebra-striped tbody tr:nth-child(odd) th {
- background: #f5f5f5;
- }
-
-.carbonad,
-.carbonad-image,
-.carbonad-text,
-.carbonad-tag {
- background: none !important;
- border: none !important;
- margin-left: 0 !important;
-}
-.carbonad-tag {
- margin-top: 6px !important;
- padding-top: 0 !important;
-}
-.carbonad-text {
- height: auto !important;
-}
-.carbonad-image {
- margin-top: 0 !important;
-}
-
-.hidden-text {
- font-size: 12px;
- color: #999;
-}
-
-td.date, th.date {
- text-align: right;
-}
-
-td.date {
- font-style: italic;
-}
-
-form.note input[type="text"], form.note textarea {
- width: 100%;
-}
-
-form hr {
- width: 218px;
- margin: 10px 0px;
-}
-
-form.note textarea {
- height: 250px;
-}
-
-div.content-area {
- min-height: 600px;
-}
-
-hr.footer {
- margin-bottom: 10px;
-}
-
-div.footer {
- margin-bottom: 10px;
- text-align: center;
- font-size: 12px;
-}
-
-form.sign-in {
- margin: 50px 0 0 0;
-}
-
-.sort_arrow {
- text-decoration: none;
-}
-
-.sort_arrow:hover {
- text-decoration: none;
- color: red;
-}
-
-div.sign-in-out-block {
- position: absolute;
- right: 14px;
- top: 8px;
- font-size: 12px;
-}
-
-div.sign-in-out-block a {
- /*text-decoration: none;*/
-}
-
-a.small-red {
- color: red;
- font-size: 12px;
-}
-
-table.notes {
- margin: 0 0 20px 0;
-}
-
-table.notes th.note {
- width: 72%;
-}
-
-table.notes td.pad {
- color: grey;
-}
-
-table.notes td.pad a {
- color: grey;
- text-decoration: underline;
- font-style: normal;
-}
-
-
-table.notes td.pad a:hover {
- color: black;
-}
-
-p.empty {
- color: grey;
- font-style: italic;
-}
-
-a.delete-note {
- float: right;
- font-size: 12px;
- color: red;
-}
-
-.red, input.red {
- color: red !important;
-}
-
-ul.errorlist, ul.errors {
- margin: -18px 0 0 0;
-}
-
-ul.errorlist li, ul.errors li {
- color: red;
-}
-
-.alert-area {
- text-align: center;
-}
-
-.alert {
- padding: 5px 8px;
- margin: 0 0 12px 0;
- -moz-border-radius: 2px;
- -webkit-border-radius: 2px;
- border-radius: 2px;
-}
-
-.alert-success {
- color: #468847;
- background-color: #dff0d8;
- border: 1px solid #d6e9c6;
-}
-
-.alert-error {
- color: #b94a48;
- background-color: #f2dede;
- border: 1px solid #eed3d7;
-}
-
- /* Mobile */
- @media only screen and (max-width: 767px) {
- header h1 { font-size: 34px; line-height: 37px; }
- nav { position: relative; }
- nav ul,
- .carbonad {
- display: none;
- }
- #logo { text-align: left; }
- #examples .four.columns {
- padding-top: 30px;
- }
- }
-
- /* Mobile Landscape */
- @media only screen and (min-width: 480px) and (max-width: 767px) {
- nav ul {
- display: none;
- }
- }
-
- /* Non 960 */
- @media only screen and (max-width: 959px) {
- #logo {
- font-size: 21px;
- margin-bottom: 15px; }
- nav .button {
- padding: 9px 20px 11px; }
- }
-
- /* iPad Portrait/Browser */
- @media only screen and (min-width: 768px) and (max-width: 959px) {
- nav {
- width: 124px; }
- }
-
- /* Mobile/Browser */
- @media only screen and (max-width: 767px) {}
-
- /* Mobile Landscape/Browser */
- @media only screen and (min-width: 480px) and (max-width: 767px) {}
-
- /* Anything smaller than standard 960 */
- @media only screen and (max-width: 959px) {}
-
-
- /* iPad Portrait Only */
- @media only screen and (min-width: 768px) and (max-width: 959px) and (max-device-width: 1000px) {}
-
- /* Mobile Only */
- @media only screen and (max-width: 767px) and (max-device-width: 1000px) {}
-
- /* Mobile Landscape Only */
- @media only screen and (min-width: 480px) and (max-width: 767px) and (max-device-width: 1000px) {}
-
- /* Anything smaller than standard 960 on a device */
- @media only screen and (max-width: 959px) and (max-device-width: 1000px) {
- .resize { display: none; }
- }
-
-
diff --git a/yii/notejam/web/favicon.ico b/yii/notejam/web/favicon.ico
deleted file mode 100644
index 580ed732e..000000000
Binary files a/yii/notejam/web/favicon.ico and /dev/null differ
diff --git a/yii/notejam/web/index-test.php b/yii/notejam/web/index-test.php
deleted file mode 100644
index 326608d21..000000000
--- a/yii/notejam/web/index-test.php
+++ /dev/null
@@ -1,16 +0,0 @@
-run();
diff --git a/yii/notejam/web/index.php b/yii/notejam/web/index.php
deleted file mode 100644
index d1e070a39..000000000
--- a/yii/notejam/web/index.php
+++ /dev/null
@@ -1,12 +0,0 @@
-run();
diff --git a/yii/notejam/web/robots.txt b/yii/notejam/web/robots.txt
deleted file mode 100644
index 6f27bb66a..000000000
--- a/yii/notejam/web/robots.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-User-agent: *
-Disallow:
\ No newline at end of file
diff --git a/yii/notejam/yii b/yii/notejam/yii
deleted file mode 100755
index b032ebdbc..000000000
--- a/yii/notejam/yii
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env php
-run();
-exit($exitCode);
diff --git a/yii/notejam/yii.bat b/yii/notejam/yii.bat
deleted file mode 100644
index 5e21e2e99..000000000
--- a/yii/notejam/yii.bat
+++ /dev/null
@@ -1,20 +0,0 @@
-@echo off
-
-rem -------------------------------------------------------------
-rem Yii command line bootstrap script for Windows.
-rem
-rem @author Qiang Xue