Skip to content

Commit 7c60a06

Browse files
author
Greg Bowler
committed
feature: customisation
closes #35 closes #36
1 parent f978aa4 commit 7c60a06

12 files changed

+706
-211
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
/.sass-cache
55
/www/
66
/config.*.ini
7+
/data/upload

build.json

+73
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"script/**/*.es6": {
3+
"require": {
4+
"node": "*",
5+
"babel": "*",
6+
"webpack": "*"
7+
},
8+
"execute": {
9+
"command": "webpack",
10+
"arguments": ["--entry","./script/script.es6", "--output-path", "./www", "--output-filename", "script.js", "--devtool", "source-map", "--mode", "development"]
11+
}
12+
},
13+
14+
"script/*sw.js": {
15+
"require": {
16+
"vendor/bin/sync": "*"
17+
},
18+
"execute": {
19+
"command": "vendor/bin/sync",
20+
"arguments": ["--pattern", "*sw.js", "script", "www/"]
21+
}
22+
},
23+
24+
"script/**/*.js": {
25+
"require": {
26+
"vendor/bin/sync": "*"
27+
},
28+
"execute": {
29+
"command": "vendor/bin/sync",
30+
"arguments": ["--pattern", "*.js", "script", "www/script"]
31+
}
32+
},
33+
34+
"style/**/*.scss": {
35+
"require": {
36+
"sass": "*"
37+
},
38+
"execute": {
39+
"command": "sass",
40+
"arguments": ["./style/style.scss", "www/style.css"]
41+
}
42+
},
43+
44+
"style/**/*.css": {
45+
"require": {
46+
"vendor/bin/sync": "*"
47+
},
48+
"execute": {
49+
"command": "vendor/bin/sync",
50+
"arguments": ["--pattern", "*.css", "style", "www/style"]
51+
}
52+
},
53+
54+
"asset/**/*": {
55+
"require": {
56+
"vendor/bin/sync": ">=1.3.0"
57+
},
58+
"execute": {
59+
"command": "vendor/bin/sync",
60+
"arguments": ["./asset", "./www/asset", "--symlink"]
61+
}
62+
},
63+
64+
"data/upload/**/*": {
65+
"require": {
66+
"vendor/bin/sync": ">=1.3.0"
67+
},
68+
"execute": {
69+
"command": "vendor/bin/sync",
70+
"arguments": ["./data/upload", "./www/data/upload", "--symlink"]
71+
}
72+
}
73+
}

class/User/UserRepository.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function checkLogin(User $user, string $password):bool {
4646
public function create(
4747
ApplicationDeployment $deployment,
4848
string $email,
49-
string $password,
49+
string $password = null,
5050
):void {
5151
$userId = new Ulid();
5252
$this->db->insert("create", [

0 commit comments

Comments
 (0)