Skip to content
This repository has been archived by the owner on Aug 13, 2021. It is now read-only.

sails-neo4j-exe #10

Open
wants to merge 64 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
a370680
initial write
Chuwiey Dec 10, 2013
fd96c78
just an adapter i am i am sam he said the horse
Chuwiey Dec 11, 2013
6e053c8
updated adapter with find query
Chuwiey Dec 11, 2013
0066c42
and now! drum roll please! adapter with tests
Chuwiey Dec 11, 2013
e11220b
added query to adapter
Chuwiey Dec 12, 2013
d7ffa0c
added a small query debug option
Chuwiey Dec 27, 2013
783bda3
added cypher injection
Nearhan Feb 7, 2014
93a23ef
updated the names of the funciton
Nearhan Feb 8, 2014
bb77fd7
updated to latest neo4j-js - should later switch back to tag
Chuwiey Mar 10, 2014
2a4f484
Update package.json
Chuwiey Mar 28, 2014
dac1949
Update package.json
Chuwiey Mar 28, 2014
d7b6fc4
Update package.json
Chuwiey Mar 28, 2014
d789b90
Update package.json
Chuwiey Mar 28, 2014
5655064
Update package.json
Chuwiey Mar 28, 2014
828862c
Update package.json
Chuwiey Mar 28, 2014
08982b4
Update package.json
Chuwiey Mar 28, 2014
22ac0bb
changed a bit of the sanitization functionality to enable param checks
Chuwiey Apr 2, 2014
804dc0e
finalized cypher injection traversals
Chuwiey Apr 3, 2014
d09ea0c
changed unit tests to check with objects instead of array
Chuwiey Apr 3, 2014
8c36942
Merge pull request #2 from natgeo/fs/MIE-674
Chuwiey Apr 3, 2014
bc95c45
updating sails-neo4j to new version
Chuwiey Apr 3, 2014
e211991
removed special char checks from injection checking
Chuwiey Apr 9, 2014
9be9f56
updating to patch 0.1.1
Chuwiey Apr 10, 2014
ccf3346
Merge pull request #3 from natgeo/bf/hotfix/cypherInjection
Chuwiey Apr 11, 2014
8626ef1
Fixed create and find queries. Probably some other broken stuff there...
May 2, 2014
50e163a
Fixed generic controller/find routes (findAll)
May 12, 2014
c7c2273
Find queries now return a more standard object (without the useless '…
May 13, 2014
3418f5f
Added ~= query modifier for case insensitive searchs
May 13, 2014
c7eec0f
Added 'or' query modifier
May 13, 2014
8077f13
Cleared console debug
May 13, 2014
56eff2e
Flatten results of find query
May 14, 2014
6be1e17
Unified query function for finding and creating
May 14, 2014
4336892
Compatibility with findOne(id)
May 14, 2014
65ab443
Added destroy action
May 20, 2014
f42d533
Added update action
May 20, 2014
6e19e05
Fixed id integer parsing
May 20, 2014
300d2ae
Added unique parameter for query to distinguish query on one or multi…
May 24, 2014
0c783c4
Non updated properties are not erased when updating a node : Fixes #4
May 24, 2014
740b0e8
Really Fixes #4
May 24, 2014
c5c2906
Added creating relationship support
May 24, 2014
16c310b
Fix for undefined label namespace for node properties
May 24, 2014
d73f395
Fixed regex typo
Jun 2, 2014
b968b37
Fully switched to single quotes
Jun 2, 2014
7cf4677
Merge pull request #5 from wrousseau/master
squat Jun 4, 2014
7eaa6b4
version up
Chuwiey Jun 4, 2014
8d0bd2e
Bump version.
squat Jun 4, 2014
52b4520
revert back to 0.1.2 because the 0.2.0 tag wasn't with the appropriat…
Chuwiey Jun 4, 2014
a918b96
Fix bug in query function.
squat Jun 11, 2014
d881953
Merge remote-tracking branch 'origin/master' into smallfix
squat Jun 11, 2014
264545c
Merge pull request #6 from natgeo/smallfix
Nearhan Jun 11, 2014
2cdcc42
Bump version
squat Jun 12, 2014
175a289
updated to use the 0.9 adapter api
Nearhan Jun 16, 2014
97ab99a
tests are doing awesome things
Nearhan Jun 17, 2014
dcb1bab
test fixes
Chuwiey Jun 17, 2014
807e8bf
have the tests working with correct registerConnection method
Nearhan Jun 17, 2014
0e3bc3b
Merge branch 'master' of github.com:natgeo/sails-neo4j
Nearhan Jun 17, 2014
7a95a58
updated package
Nearhan Jun 17, 2014
3edd75c
fixing up the api
Chuwiey Jun 19, 2014
c6b18df
up tag
Chuwiey Jun 19, 2014
38c13da
Update README.md
Chuwiey Jul 9, 2014
6ffbfd2
Upgrade adapter for sails 0.10.5. Initial version
Jan 29, 2015
564b72f
Improved registerConnection
Jan 30, 2015
d4fc109
Added travis file. Changed version.
Feb 2, 2015
4099eed
Merge pull request #10 from natgeo/upgrade_sails
Feb 2, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
language: node_js
node_js:
- "0.10"
before_install:
- "./ci/start_neo4j_server.sh"
jdk:
- openjdk7
branches:
only:
- master
35 changes: 3 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,3 @@
![[email protected]](http://i.imgur.com/RIvu9.png)

# BoilerplateAdapter

This template exists to make it easier for you to get started writing an official adapter for Sails.js.


## Getting started
It's usually pretty easy to add your own adapters for integrating with proprietary systems or existing open APIs. For most things, it's as easy as `require('some-module')` and mapping the appropriate methods to match waterline semantics. To get started:

1. Fork this repository
2. Set up your README and package.json file. Sails.js adapter module names are of the form sails-*, where * is the name of the datastore or service you're integrating with.
3. Build your adapter.

## How to test your adapter
1. Run `npm link` in this adapter's directory
2. Clone the sails.js core and modify the tests to use your new adapter.
3. Run `npm link sails-boilerplate`
4. From the sails.js core directory, run `npm test`.

## Submitting your adapter
1. Do a pull request to this repository (make sure you attribute yourself as the author set the license in the package.json to "MIT") Please let us know about any special instructions for usage/testing.
2. We'll run the tests one last time. If there are any issues, we'll let you know.
3. When it's ready, we'll update the documentation with information about your new adapter
4. Then we'll tweet and post about it on our blog, adoring you with lavish praises.
5. Mike will send you jelly beans.


## About Sails.js and Waterline
http://SailsJs.com

Waterline is a new kind of storage and retrieval engine for Sails.js. It provides a uniform API for accessing stuff from different kinds of databases, protocols, and 3rd party APIs. That means you write the same code to get users, whether they live in mySQL, LDAP, MongoDB, or Facebook.
Sails-Neo4j Adapter; Will update the readme very soon.
For now if you have any questions:
[![Gitter chat](https://badges.gitter.im/natgeo/sails-neo4j.png)](https://gitter.im/natgeo/sails-neo4j)
12 changes: 12 additions & 0 deletions ci/start_neo4j_server.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
VERSION="2.1.5"
TARBALL="neo4j$VERSION.tar.gz"

cd /tmp

wget -O $TARBALL "http://dist.neo4j.org/neo4j-community-$VERSION-unix.tar.gz?edition=community&version=$VERSION&distribution=tarball&dlid=2803678"
tar zxf $TARBALL

cd "neo4j-community-$VERSION"

./bin/neo4j start
sleep 3
223 changes: 0 additions & 223 deletions index.js

This file was deleted.

Loading