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.
Files changed (59) hide show
  1. package/.github/ISSUE_TEMPLATE/bug_report.md +58 -0
  2. package/.github/ISSUE_TEMPLATE/feature_request.md +46 -0
  3. package/.jscsrc +15 -15
  4. package/CHANGELOG.md +25 -17
  5. package/README.md +38 -38
  6. package/addon/components/flexberry-login.js +163 -158
  7. package/addon/components/flexberry-pwd-reset.js +123 -123
  8. package/addon/components/flexberry-recaptcha.js +115 -115
  9. package/addon/components/flexberry-register.js +226 -226
  10. package/addon/components/flexberry-user-profile.js +8 -8
  11. package/addon/controllers/email-confirmation.js +91 -91
  12. package/addon/controllers/login.js +4 -4
  13. package/addon/controllers/pwd-reset.js +4 -4
  14. package/addon/controllers/register.js +4 -4
  15. package/addon/controllers/user-profile.js +4 -4
  16. package/addon/locales/en/translations.js +63 -63
  17. package/addon/locales/ru/translations.js +65 -65
  18. package/addon/models/user-profile.js +5 -5
  19. package/addon/routes/email-confirmation.js +4 -4
  20. package/addon/routes/login.js +4 -4
  21. package/addon/routes/pwd-reset.js +4 -4
  22. package/addon/routes/reg-end.js +4 -4
  23. package/addon/routes/register.js +4 -4
  24. package/addon/routes/user-profile.js +4 -4
  25. package/addon/services/user-account.js +184 -184
  26. package/app/components/flexberry-login.js +1 -1
  27. package/app/components/flexberry-pwd-reset.js +1 -1
  28. package/app/components/flexberry-recaptcha.js +1 -1
  29. package/app/components/flexberry-register.js +1 -1
  30. package/app/components/flexberry-user-profile.js +1 -1
  31. package/app/controllers/email-confirmation.js +1 -1
  32. package/app/controllers/login.js +1 -1
  33. package/app/controllers/pwd-reset.js +1 -1
  34. package/app/controllers/register.js +1 -1
  35. package/app/controllers/user-profile.js +1 -1
  36. package/app/models/user-profile.js +1 -1
  37. package/app/routes/login.js +1 -1
  38. package/app/routes/pwd-reset.js +1 -1
  39. package/app/routes/register.js +1 -1
  40. package/app/routes/user-profile.js +1 -1
  41. package/app/services/user-account.js +82 -82
  42. package/app/templates/components/flexberry-login.hbs +53 -53
  43. package/app/templates/components/flexberry-pwd-reset.hbs +38 -38
  44. package/app/templates/components/flexberry-register.hbs +75 -75
  45. package/app/templates/components/flexberry-user-profile.hbs +1 -1
  46. package/app/templates/login.hbs +5 -5
  47. package/app/templates/pwd-reset.hbs +4 -4
  48. package/app/templates/register.hbs +4 -4
  49. package/app/templates/user-profile.hbs +3 -3
  50. package/blueprints/ember-flexberry-account/index.js +43 -43
  51. package/config/environment.js +6 -6
  52. package/index.js +6 -6
  53. package/package.json +1 -1
  54. package/scripts/deploy-to-gh-pages.sh +78 -78
  55. package/yarn.lock +7185 -0
  56. package/.npmignore +0 -16
  57. package/jsconfig.json +0 -1
  58. package/package-lock.json +0 -8894
  59. 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."