ember-flexberry-account 0.1.0-alpha.7 → 0.1.0-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/.github/ISSUE_TEMPLATE/bug_report.md +58 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +46 -0
- package/.jscsrc +15 -15
- package/CHANGELOG.md +25 -17
- package/README.md +38 -38
- package/addon/components/flexberry-login.js +163 -158
- package/addon/components/flexberry-pwd-reset.js +123 -123
- package/addon/components/flexberry-recaptcha.js +115 -115
- package/addon/components/flexberry-register.js +226 -226
- package/addon/components/flexberry-user-profile.js +8 -8
- package/addon/controllers/email-confirmation.js +91 -91
- package/addon/controllers/login.js +4 -4
- package/addon/controllers/pwd-reset.js +4 -4
- package/addon/controllers/register.js +4 -4
- package/addon/controllers/user-profile.js +4 -4
- package/addon/locales/en/translations.js +63 -63
- package/addon/locales/ru/translations.js +65 -65
- package/addon/models/user-profile.js +5 -5
- package/addon/routes/email-confirmation.js +4 -4
- package/addon/routes/login.js +4 -4
- package/addon/routes/pwd-reset.js +4 -4
- package/addon/routes/reg-end.js +4 -4
- package/addon/routes/register.js +4 -4
- package/addon/routes/user-profile.js +4 -4
- package/addon/services/user-account.js +184 -184
- package/app/components/flexberry-login.js +1 -1
- package/app/components/flexberry-pwd-reset.js +1 -1
- package/app/components/flexberry-recaptcha.js +1 -1
- package/app/components/flexberry-register.js +1 -1
- package/app/components/flexberry-user-profile.js +1 -1
- package/app/controllers/email-confirmation.js +1 -1
- package/app/controllers/login.js +1 -1
- package/app/controllers/pwd-reset.js +1 -1
- package/app/controllers/register.js +1 -1
- package/app/controllers/user-profile.js +1 -1
- package/app/models/user-profile.js +1 -1
- package/app/routes/login.js +1 -1
- package/app/routes/pwd-reset.js +1 -1
- package/app/routes/register.js +1 -1
- package/app/routes/user-profile.js +1 -1
- package/app/services/user-account.js +82 -82
- package/app/templates/components/flexberry-login.hbs +53 -53
- package/app/templates/components/flexberry-pwd-reset.hbs +38 -38
- package/app/templates/components/flexberry-register.hbs +75 -75
- package/app/templates/components/flexberry-user-profile.hbs +1 -1
- package/app/templates/login.hbs +5 -5
- package/app/templates/pwd-reset.hbs +4 -4
- package/app/templates/register.hbs +4 -4
- package/app/templates/user-profile.hbs +3 -3
- package/blueprints/ember-flexberry-account/index.js +43 -43
- package/config/environment.js +6 -6
- package/index.js +6 -6
- package/package.json +1 -1
- package/scripts/deploy-to-gh-pages.sh +78 -78
- package/yarn.lock +7185 -0
- package/.npmignore +0 -16
- package/jsconfig.json +0 -1
- package/package-lock.json +0 -8894
- package/typings/ember/ember.d.ts +0 -3188
@@ -1,78 +1,78 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
|
3
|
-
# Exit with nonzero exit code if anything fails.
|
4
|
-
set -e
|
5
|
-
|
6
|
-
# Define repository relative GitHub address.
|
7
|
-
repositoryRelativeGitHubAddress="Flexberry/ember-flexberry-account"
|
8
|
-
|
9
|
-
# Clone project into 'repository' subdirectory && move to it.
|
10
|
-
echo "Prepare for deploy to gh-pages."
|
11
|
-
echo "Clone ${repositoryRelativeGitHubAddress} repository & checkout latest version of gh-pages branch."
|
12
|
-
git clone --recursive "https://github.com/${repositoryRelativeGitHubAddress}.git" repository
|
13
|
-
cd repository
|
14
|
-
|
15
|
-
# Checkout gh-pages branch & pull it's latest version.
|
16
|
-
git checkout gh-pages
|
17
|
-
git pull
|
18
|
-
|
19
|
-
# Navigate into dummy deploy directory.
|
20
|
-
cd dummy
|
21
|
-
|
22
|
-
# Remove results of previous deploy (for current branch) & recreate directory.
|
23
|
-
echo "Remove results of previous deploy (for ${TRAVIS_BRANCH} branch)."
|
24
|
-
rm -rf "${TRAVIS_BRANCH}"
|
25
|
-
mkdir "${TRAVIS_BRANCH}"
|
26
|
-
|
27
|
-
# Copy builded ember application from 'dist' directory into 'repository/${TRAVIS_BRANCH}'.
|
28
|
-
echo "Copy builded ember application (for ${TRAVIS_BRANCH} branch)."
|
29
|
-
cp -r ../../dist/* "${TRAVIS_BRANCH}"
|
30
|
-
cd ../..
|
31
|
-
|
32
|
-
# Generate autodoc.
|
33
|
-
npm install -g yuidocjs
|
34
|
-
|
35
|
-
# Define yuidoc theme repository relative GitHub address.
|
36
|
-
repositoryYuidocTheme="Flexberry/flexberry-yuidoc-theme"
|
37
|
-
|
38
|
-
# Clone project into 'repositoryYuidocTheme' subdirectory && move to it.
|
39
|
-
echo "Prepare for deploy to gh-pages."
|
40
|
-
echo "Clone ${repositoryYuidocTheme} repository & checkout latest version of gh-pages branch."
|
41
|
-
git clone --recursive "https://github.com/${repositoryYuidocTheme}.git" repositoryYuidocTheme
|
42
|
-
cd repositoryYuidocTheme
|
43
|
-
|
44
|
-
# Checkout and pull same branch.
|
45
|
-
git checkout ${TRAVIS_BRANCH}
|
46
|
-
git pull
|
47
|
-
|
48
|
-
echo "Copy ember addon source (for ${TRAVIS_BRANCH} branch) into addon directory."
|
49
|
-
mkdir addon
|
50
|
-
cp -r ../addon/* addon
|
51
|
-
|
52
|
-
echo "Execute yuidoc autodocumentation generator."
|
53
|
-
yuidoc
|
54
|
-
|
55
|
-
echo "Navigate to target directory for autodoc in gh-pages."
|
56
|
-
cd "../repository/autodoc"
|
57
|
-
|
58
|
-
# Remove results of previous deploy (for current branch) & recreate directory.
|
59
|
-
rm -rf "${TRAVIS_BRANCH}"
|
60
|
-
mkdir "${TRAVIS_BRANCH}"
|
61
|
-
|
62
|
-
echo "Copy autodoc result into ${TRAVIS_BRANCH} directory."
|
63
|
-
cp -r ../../repositoryYuidocTheme/autodoc-result/* ${TRAVIS_BRANCH}
|
64
|
-
|
65
|
-
cd ..
|
66
|
-
|
67
|
-
# Configure git.
|
68
|
-
git config user.name "Flexberry-man"
|
69
|
-
git config user.email "mail@flexberry.net"
|
70
|
-
|
71
|
-
echo "Commit & push changes."
|
72
|
-
git add --all
|
73
|
-
git commit -m "Update gh-pages for ${TRAVIS_BRANCH} branch"
|
74
|
-
|
75
|
-
# Redirect any output to /dev/null to hide any sensitive credential data that might otherwise be exposed.
|
76
|
-
git push --force --quiet "https://${GH_TOKEN}@github.com/${repositoryRelativeGitHubAddress}.git" > /dev/null 2>&1
|
77
|
-
|
78
|
-
echo "Deploy to gh-pages finished."
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
# Exit with nonzero exit code if anything fails.
|
4
|
+
set -e
|
5
|
+
|
6
|
+
# Define repository relative GitHub address.
|
7
|
+
repositoryRelativeGitHubAddress="Flexberry/ember-flexberry-account"
|
8
|
+
|
9
|
+
# Clone project into 'repository' subdirectory && move to it.
|
10
|
+
echo "Prepare for deploy to gh-pages."
|
11
|
+
echo "Clone ${repositoryRelativeGitHubAddress} repository & checkout latest version of gh-pages branch."
|
12
|
+
git clone --recursive "https://github.com/${repositoryRelativeGitHubAddress}.git" repository
|
13
|
+
cd repository
|
14
|
+
|
15
|
+
# Checkout gh-pages branch & pull it's latest version.
|
16
|
+
git checkout gh-pages
|
17
|
+
git pull
|
18
|
+
|
19
|
+
# Navigate into dummy deploy directory.
|
20
|
+
cd dummy
|
21
|
+
|
22
|
+
# Remove results of previous deploy (for current branch) & recreate directory.
|
23
|
+
echo "Remove results of previous deploy (for ${TRAVIS_BRANCH} branch)."
|
24
|
+
rm -rf "${TRAVIS_BRANCH}"
|
25
|
+
mkdir "${TRAVIS_BRANCH}"
|
26
|
+
|
27
|
+
# Copy builded ember application from 'dist' directory into 'repository/${TRAVIS_BRANCH}'.
|
28
|
+
echo "Copy builded ember application (for ${TRAVIS_BRANCH} branch)."
|
29
|
+
cp -r ../../dist/* "${TRAVIS_BRANCH}"
|
30
|
+
cd ../..
|
31
|
+
|
32
|
+
# Generate autodoc.
|
33
|
+
npm install -g yuidocjs
|
34
|
+
|
35
|
+
# Define yuidoc theme repository relative GitHub address.
|
36
|
+
repositoryYuidocTheme="Flexberry/flexberry-yuidoc-theme"
|
37
|
+
|
38
|
+
# Clone project into 'repositoryYuidocTheme' subdirectory && move to it.
|
39
|
+
echo "Prepare for deploy to gh-pages."
|
40
|
+
echo "Clone ${repositoryYuidocTheme} repository & checkout latest version of gh-pages branch."
|
41
|
+
git clone --recursive "https://github.com/${repositoryYuidocTheme}.git" repositoryYuidocTheme
|
42
|
+
cd repositoryYuidocTheme
|
43
|
+
|
44
|
+
# Checkout and pull same branch.
|
45
|
+
git checkout ${TRAVIS_BRANCH}
|
46
|
+
git pull
|
47
|
+
|
48
|
+
echo "Copy ember addon source (for ${TRAVIS_BRANCH} branch) into addon directory."
|
49
|
+
mkdir addon
|
50
|
+
cp -r ../addon/* addon
|
51
|
+
|
52
|
+
echo "Execute yuidoc autodocumentation generator."
|
53
|
+
yuidoc
|
54
|
+
|
55
|
+
echo "Navigate to target directory for autodoc in gh-pages."
|
56
|
+
cd "../repository/autodoc"
|
57
|
+
|
58
|
+
# Remove results of previous deploy (for current branch) & recreate directory.
|
59
|
+
rm -rf "${TRAVIS_BRANCH}"
|
60
|
+
mkdir "${TRAVIS_BRANCH}"
|
61
|
+
|
62
|
+
echo "Copy autodoc result into ${TRAVIS_BRANCH} directory."
|
63
|
+
cp -r ../../repositoryYuidocTheme/autodoc-result/* ${TRAVIS_BRANCH}
|
64
|
+
|
65
|
+
cd ..
|
66
|
+
|
67
|
+
# Configure git.
|
68
|
+
git config user.name "Flexberry-man"
|
69
|
+
git config user.email "mail@flexberry.net"
|
70
|
+
|
71
|
+
echo "Commit & push changes."
|
72
|
+
git add --all
|
73
|
+
git commit -m "Update gh-pages for ${TRAVIS_BRANCH} branch"
|
74
|
+
|
75
|
+
# Redirect any output to /dev/null to hide any sensitive credential data that might otherwise be exposed.
|
76
|
+
git push --force --quiet "https://${GH_TOKEN}@github.com/${repositoryRelativeGitHubAddress}.git" > /dev/null 2>&1
|
77
|
+
|
78
|
+
echo "Deploy to gh-pages finished."
|