Initial commit.

This commit is contained in:
Jonathan Cremin 2015-07-09 23:01:43 +01:00
commit b48a4e92e1
169 changed files with 7538 additions and 0 deletions

21
test/fixtures/mongo-file.js vendored Normal file
View file

@ -0,0 +1,21 @@
db.files.createIndex({
"owner": 1,
"status": 1,
"time_added": -1
});
db.files.save({"_id": "94U1ruo7anyQ",
"owner": ObjectId("54fd04a37675bcd06213eac8"),
"system_name": "94U1ruo7anyQ",
"file_name": "utah-arches.jpg",
"original_name": "utah-arches.jpg",
"file_size": 194544,
"time_added": 1436223854,
"status": "active",
"last_accessed": null,
"s3": true,
"type": "image",
"ip": "::1",
"md5": "1f4185751b4db05494cbc0aad68d7d77",
"width": 1024,
"height": 683
});

7
test/fixtures/mongo-user.js vendored Normal file
View file

@ -0,0 +1,7 @@
db.users.save({
"_id": ObjectId("54fd04a37675bcd06213eac8"),
"email": "test@hostr.co",
"salted_password": "$pbkdf2-256-1$2$kBhIDRqFwnF/1ms6ZHfME2o2$a48e8c350d26397fcc88bf0a7a2817b1cdcd1ffffe0521a5",
"joined": 1425867940,
"signup_ip": "127.0.0.1"
});

BIN
test/fixtures/utah-arches.jpg vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 KiB