xing-framework 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (216) hide show
  1. checksums.yaml +4 -4
  2. data/default_configuration/base_app/API_DOC/README +23 -0
  3. data/default_configuration/base_app/API_DOC/admin-menus +167 -0
  4. data/default_configuration/base_app/API_DOC/admin-pages +173 -0
  5. data/default_configuration/base_app/API_DOC/content-block +10 -0
  6. data/default_configuration/base_app/API_DOC/navigation +54 -0
  7. data/default_configuration/base_app/API_DOC/page +38 -0
  8. data/default_configuration/base_app/CHANGELOG.md +122 -0
  9. data/default_configuration/base_app/Capfile +26 -0
  10. data/default_configuration/base_app/Gemfile +7 -0
  11. data/default_configuration/base_app/Gemfile.lock +155 -0
  12. data/default_configuration/base_app/README.md +24 -0
  13. data/default_configuration/base_app/Rakefile +25 -0
  14. data/default_configuration/base_app/backend/Gemfile +45 -0
  15. data/default_configuration/base_app/backend/Gemfile.lock +292 -0
  16. data/default_configuration/base_app/backend/README +12 -0
  17. data/default_configuration/base_app/backend/Rakefile +10 -0
  18. data/default_configuration/base_app/backend/app/controllers/application_controller.rb +3 -0
  19. data/default_configuration/base_app/backend/app/controllers/confirmations_controller.rb +3 -0
  20. data/default_configuration/base_app/backend/app/controllers/passwords_controller.rb +3 -0
  21. data/default_configuration/base_app/backend/app/controllers/registrations_controller.rb +15 -0
  22. data/default_configuration/base_app/backend/app/models/ability.rb +13 -0
  23. data/default_configuration/base_app/backend/app/models/role/admin.rb +8 -0
  24. data/default_configuration/base_app/backend/app/models/user.rb +43 -0
  25. data/default_configuration/base_app/backend/autotest/discover.rb +2 -0
  26. data/default_configuration/base_app/backend/bin/bundle +3 -0
  27. data/default_configuration/base_app/backend/bin/rails +4 -0
  28. data/default_configuration/base_app/backend/bin/rake +4 -0
  29. data/default_configuration/base_app/backend/config.ru +6 -0
  30. data/default_configuration/base_app/backend/config/application.rb +71 -0
  31. data/default_configuration/base_app/backend/config/boot.rb +4 -0
  32. data/default_configuration/base_app/backend/config/database.yml.ci +9 -0
  33. data/default_configuration/base_app/backend/config/database.yml.example +22 -0
  34. data/default_configuration/base_app/backend/config/environment.rb +5 -0
  35. data/default_configuration/base_app/backend/config/environments/development.rb +45 -0
  36. data/default_configuration/base_app/backend/config/environments/production.rb +78 -0
  37. data/default_configuration/base_app/backend/config/environments/staging.rb +48 -0
  38. data/default_configuration/base_app/backend/config/environments/test.rb +47 -0
  39. data/default_configuration/base_app/backend/config/initializers/assets.rb +8 -0
  40. data/default_configuration/base_app/backend/config/initializers/backtrace_silencers.rb +7 -0
  41. data/default_configuration/base_app/backend/config/initializers/constants.rb +1 -0
  42. data/default_configuration/base_app/backend/config/initializers/cookies_serializer.rb +3 -0
  43. data/default_configuration/base_app/backend/config/initializers/devise.rb +241 -0
  44. data/default_configuration/base_app/backend/config/initializers/devise_token_auth.rb +22 -0
  45. data/default_configuration/base_app/backend/config/initializers/filter_parameter_logging.rb +4 -0
  46. data/default_configuration/base_app/backend/config/initializers/inflections.rb +16 -0
  47. data/default_configuration/base_app/backend/config/initializers/mime_types.rb +4 -0
  48. data/default_configuration/base_app/backend/config/initializers/session_store.rb +3 -0
  49. data/default_configuration/base_app/backend/config/initializers/smtp.rb +25 -0
  50. data/default_configuration/base_app/backend/config/initializers/time_formats.rb +12 -0
  51. data/default_configuration/base_app/backend/config/initializers/wrap_parameters.rb +14 -0
  52. data/default_configuration/base_app/backend/config/locales/en.yml +23 -0
  53. data/default_configuration/base_app/backend/config/locales/json.yml +29 -0
  54. data/default_configuration/base_app/backend/config/routes.rb +33 -0
  55. data/default_configuration/base_app/backend/config/secrets.yml.ci +22 -0
  56. data/default_configuration/base_app/backend/config/secrets.yml.example +57 -0
  57. data/default_configuration/base_app/backend/config/sidekiq.yml +4 -0
  58. data/default_configuration/base_app/backend/db/sample_data/users.rake +10 -0
  59. data/default_configuration/base_app/backend/db/seeds.rb +14 -0
  60. data/default_configuration/base_app/backend/lib/static-app.rb +15 -0
  61. data/default_configuration/base_app/backend/public/404.html +26 -0
  62. data/default_configuration/base_app/backend/public/422.html +26 -0
  63. data/default_configuration/base_app/backend/public/500.html +26 -0
  64. data/default_configuration/base_app/backend/public/favicon.ico +0 -0
  65. data/default_configuration/base_app/backend/public/index.html +0 -0
  66. data/default_configuration/base_app/backend/public/robots.txt +5 -0
  67. data/default_configuration/base_app/backend/script/rails +6 -0
  68. data/default_configuration/base_app/backend/spec/factories/user_sessions_factory.rb +6 -0
  69. data/default_configuration/base_app/backend/spec/factories/users_factory.rb +35 -0
  70. data/default_configuration/base_app/backend/spec/features/user_sends_reset_password_email_spec.rb +30 -0
  71. data/default_configuration/base_app/backend/spec/features/user_signs_up_spec.rb +32 -0
  72. data/default_configuration/base_app/backend/spec/models/role/admin_spec.rb +12 -0
  73. data/default_configuration/base_app/backend/spec/models/role_spec.rb +48 -0
  74. data/default_configuration/base_app/backend/spec/models/user_spec.rb +59 -0
  75. data/default_configuration/base_app/backend/spec/requests/resources_index_spec.rb +22 -0
  76. data/default_configuration/base_app/backend/spec/spec_helper.rb +65 -0
  77. data/default_configuration/base_app/backend/spec/support/devise_helper.rb +78 -0
  78. data/default_configuration/base_app/backend/spec/support/log_tests.rb +5 -0
  79. data/default_configuration/base_app/backend/spec/support/session_helpers.rb +67 -0
  80. data/default_configuration/base_app/backend/spec/tasks/sample_data_rake_spec.rb +17 -0
  81. data/default_configuration/base_app/backend/static-app.ru +3 -0
  82. data/default_configuration/base_app/codeclimate.yml +7 -0
  83. data/default_configuration/base_app/config/compass.rb +21 -0
  84. data/default_configuration/base_app/config/deploy.rb +157 -0
  85. data/default_configuration/base_app/config/deploy/bundle-config +4 -0
  86. data/default_configuration/base_app/config/deploy/production.rb +7 -0
  87. data/default_configuration/base_app/config/deploy/staging.rb +6 -0
  88. data/default_configuration/base_app/doc/01_fail_resources.txt +173 -0
  89. data/default_configuration/base_app/doc/02_fail_auth.txt +165 -0
  90. data/default_configuration/base_app/doc/03_fail_menus.txt +174 -0
  91. data/default_configuration/base_app/dummy-api/admin/menu_items/10.json +15 -0
  92. data/default_configuration/base_app/dummy-api/admin/menu_items/11.json +15 -0
  93. data/default_configuration/base_app/dummy-api/admin/menu_items/12.json +15 -0
  94. data/default_configuration/base_app/dummy-api/admin/menu_items/13.json +15 -0
  95. data/default_configuration/base_app/dummy-api/admin/menu_items/14.json +15 -0
  96. data/default_configuration/base_app/dummy-api/admin/menu_items/15.json +15 -0
  97. data/default_configuration/base_app/dummy-api/admin/menu_items/16.json +15 -0
  98. data/default_configuration/base_app/dummy-api/admin/menus.json +23 -0
  99. data/default_configuration/base_app/dummy-api/admin/menus/1.json +118 -0
  100. data/default_configuration/base_app/dummy-api/admin/menus/2.json +8 -0
  101. data/default_configuration/base_app/dummy-api/admin/pages.json +105 -0
  102. data/default_configuration/base_app/dummy-api/admin/pages/about_us.json +45 -0
  103. data/default_configuration/base_app/dummy-api/admin/pages/contact_us.json +36 -0
  104. data/default_configuration/base_app/dummy-api/admin/pages/gallery.json +36 -0
  105. data/default_configuration/base_app/dummy-api/admin/pages/home.json +36 -0
  106. data/default_configuration/base_app/dummy-api/admin/pages/homepage.json +18 -0
  107. data/default_configuration/base_app/dummy-api/admin/pages/links.json +36 -0
  108. data/default_configuration/base_app/dummy-api/admin/pages/newsletter.json +54 -0
  109. data/default_configuration/base_app/dummy-api/homepage.json +14 -0
  110. data/default_configuration/base_app/dummy-api/navigation/main.json +119 -0
  111. data/default_configuration/base_app/dummy-api/pages/about_us.json +41 -0
  112. data/default_configuration/base_app/dummy-api/pages/contact_us.json +32 -0
  113. data/default_configuration/base_app/dummy-api/pages/gallery.json +32 -0
  114. data/default_configuration/base_app/dummy-api/pages/home.json +32 -0
  115. data/default_configuration/base_app/dummy-api/pages/homepage.json +14 -0
  116. data/default_configuration/base_app/dummy-api/pages/links.json +32 -0
  117. data/default_configuration/base_app/dummy-api/pages/newsletter.json +50 -0
  118. data/default_configuration/base_app/dump.rdb +0 -0
  119. data/default_configuration/base_app/example-lrd-dev-tmux.conf +17 -0
  120. data/default_configuration/base_app/frontend/CHANGELOG.md +125 -0
  121. data/default_configuration/base_app/frontend/Gemfile +5 -0
  122. data/default_configuration/base_app/frontend/Gemfile.lock +34 -0
  123. data/default_configuration/base_app/frontend/Gruntfile.js +3 -0
  124. data/default_configuration/base_app/frontend/LICENSE +19 -0
  125. data/default_configuration/base_app/frontend/README.md +5 -0
  126. data/default_configuration/base_app/frontend/bin/index.html +0 -0
  127. data/default_configuration/base_app/frontend/build.config.js +110 -0
  128. data/default_configuration/base_app/frontend/changelog.tpl +23 -0
  129. data/default_configuration/base_app/frontend/config/compass.rb +33 -0
  130. data/default_configuration/base_app/frontend/config/environments/development.js +4 -0
  131. data/default_configuration/base_app/frontend/config/environments/integration.js +4 -0
  132. data/default_configuration/base_app/frontend/config/environments/production.js +3 -0
  133. data/default_configuration/base_app/frontend/config/environments/test.js +4 -0
  134. data/default_configuration/base_app/frontend/create +0 -0
  135. data/default_configuration/base_app/frontend/karma/karma-unit.tpl.js +80 -0
  136. data/default_configuration/base_app/frontend/module.prefix +1 -0
  137. data/default_configuration/base_app/frontend/module.suffix +1 -0
  138. data/default_configuration/base_app/frontend/npm-shrinkwrap.json +4334 -0
  139. data/default_configuration/base_app/frontend/package.json +75 -0
  140. data/default_configuration/base_app/frontend/sprockets/index.tpl.js +2 -0
  141. data/default_configuration/base_app/frontend/src/README.md +48 -0
  142. data/default_configuration/base_app/frontend/src/app/README.md +68 -0
  143. data/default_configuration/base_app/frontend/src/app/app.js +47 -0
  144. data/default_configuration/base_app/frontend/src/app/appConfig.js +19 -0
  145. data/default_configuration/base_app/frontend/src/app/auth/auth.js +66 -0
  146. data/default_configuration/base_app/frontend/src/app/auth/config.js +22 -0
  147. data/default_configuration/base_app/frontend/src/app/auth/confirmations/confirmations-success.tpl.html +1 -0
  148. data/default_configuration/base_app/frontend/src/app/auth/confirmations/confirmations.js +8 -0
  149. data/default_configuration/base_app/frontend/src/app/auth/confirmations/confirmationsStates.js +12 -0
  150. data/default_configuration/base_app/frontend/src/app/auth/passwords/passwords-request-success.tpl.html +3 -0
  151. data/default_configuration/base_app/frontend/src/app/auth/passwords/passwords-request.tpl.html +16 -0
  152. data/default_configuration/base_app/frontend/src/app/auth/passwords/passwords-update-success.tpl.html +3 -0
  153. data/default_configuration/base_app/frontend/src/app/auth/passwords/passwords-update.tpl.html +21 -0
  154. data/default_configuration/base_app/frontend/src/app/auth/passwords/passwords.js +11 -0
  155. data/default_configuration/base_app/frontend/src/app/auth/passwords/passwordsControllers.js +47 -0
  156. data/default_configuration/base_app/frontend/src/app/auth/passwords/passwordsStates.js +38 -0
  157. data/default_configuration/base_app/frontend/src/app/auth/registrations/registrations-success.tpl.html +1 -0
  158. data/default_configuration/base_app/frontend/src/app/auth/registrations/registrations.js +14 -0
  159. data/default_configuration/base_app/frontend/src/app/auth/registrations/registrations.tpl.html +37 -0
  160. data/default_configuration/base_app/frontend/src/app/auth/registrations/registrationsControllers.js +25 -0
  161. data/default_configuration/base_app/frontend/src/app/auth/registrations/registrationsStates.js +18 -0
  162. data/default_configuration/base_app/frontend/src/app/auth/sessions/sessions-success.tpl.html +1 -0
  163. data/default_configuration/base_app/frontend/src/app/auth/sessions/sessions.js +18 -0
  164. data/default_configuration/base_app/frontend/src/app/auth/sessions/sessions.tpl.html +25 -0
  165. data/default_configuration/base_app/frontend/src/app/auth/sessions/sessionsControllers.js +26 -0
  166. data/default_configuration/base_app/frontend/src/app/auth/sessions/sessionsStates.js +20 -0
  167. data/default_configuration/base_app/frontend/src/app/homepage/homepage-show.tpl.html +2 -0
  168. data/default_configuration/base_app/frontend/src/app/homepage/homepage.js +10 -0
  169. data/default_configuration/base_app/frontend/src/app/homepage/homepage.tpl.html +13 -0
  170. data/default_configuration/base_app/frontend/src/app/homepage/homepageControllers.js +9 -0
  171. data/default_configuration/base_app/frontend/src/app/homepage/homepageStates.js +22 -0
  172. data/default_configuration/base_app/frontend/src/app/inner.tpl.html +16 -0
  173. data/default_configuration/base_app/frontend/src/app/root.tpl.html +2 -0
  174. data/default_configuration/base_app/frontend/src/app/rootController.js +8 -0
  175. data/default_configuration/base_app/frontend/src/app/rootStates.js +20 -0
  176. data/default_configuration/base_app/frontend/src/assets/README.md +4 -0
  177. data/default_configuration/base_app/frontend/src/assets/icons/alert.svg +1 -0
  178. data/default_configuration/base_app/frontend/src/common/README.md +19 -0
  179. data/default_configuration/base_app/frontend/src/common/components/OnLoginDirective/OnLoginDirective.js +17 -0
  180. data/default_configuration/base_app/frontend/src/common/components/adminOnly/admin-only.tpl.html +4 -0
  181. data/default_configuration/base_app/frontend/src/common/components/adminOnly/adminOnly.js +23 -0
  182. data/default_configuration/base_app/frontend/src/common/components/sessionLinks/session-links.tpl.html +5 -0
  183. data/default_configuration/base_app/frontend/src/common/components/sessionLinks/sessionLinks.js +25 -0
  184. data/default_configuration/base_app/frontend/src/common/components/signOut/signOut.js +19 -0
  185. data/default_configuration/base_app/frontend/src/common/config.js +27 -0
  186. data/default_configuration/base_app/frontend/src/index.html +86 -0
  187. data/default_configuration/base_app/frontend/src/styles/_constants.sass +14 -0
  188. data/default_configuration/base_app/frontend/src/styles/main.sass +52 -0
  189. data/default_configuration/base_app/frontend/src/styles/partials/_footer.sass +18 -0
  190. data/default_configuration/base_app/frontend/src/styles/partials/_forms.sass +9 -0
  191. data/default_configuration/base_app/frontend/src/styles/partials/_layout.sass +17 -0
  192. data/default_configuration/base_app/frontend/src/styles/partials/_navbar.sass +10 -0
  193. data/default_configuration/base_app/frontend/src/styles/partials/_typography.sass +18 -0
  194. data/default_configuration/base_app/frontend/src/styles/states/_errorFallback.sass +7 -0
  195. data/default_configuration/base_app/frontend/src/styles/states/_root_homepage.sass +8 -0
  196. data/default_configuration/base_app/frontend/test-help/xpath.js +9 -0
  197. data/default_configuration/base_app/frontend/test/app.js +24 -0
  198. data/default_configuration/base_app/frontend/test/auth/confirmations/confirmationsStates.js +46 -0
  199. data/default_configuration/base_app/frontend/test/auth/passwords/passwordsControllers.js +193 -0
  200. data/default_configuration/base_app/frontend/test/auth/passwords/passwordsStates.js +108 -0
  201. data/default_configuration/base_app/frontend/test/auth/registrations/registrationsControllers.js +117 -0
  202. data/default_configuration/base_app/frontend/test/auth/registrations/registrationsStates.js +64 -0
  203. data/default_configuration/base_app/frontend/test/auth/sessions/sessionsControllers.js +95 -0
  204. data/default_configuration/base_app/frontend/test/auth/sessions/sessionsStates.js +67 -0
  205. data/default_configuration/base_app/frontend/test/specHelper.js +33 -0
  206. data/default_configuration/base_app/frontend/test/support/mockDirective.js +13 -0
  207. data/default_configuration/base_app/frontend/test/support/stateResolveFn.js +3 -0
  208. data/default_configuration/base_app/frontend/test/support/testStates.js +20 -0
  209. data/default_configuration/base_app/frontend/tools.md +223 -0
  210. data/default_configuration/base_app/lib/capistrano/tasks/sidekiq.rake +218 -0
  211. data/default_configuration/base_app/static-app.ru +3 -0
  212. data/default_configuration/base_app/tmux-windows +68 -0
  213. data/default_configuration/base_app/tmux-windows.txt +53 -0
  214. data/lib/xing/cli.rb +8 -3
  215. data/lib/xing/cli/generators/new_project.rb +48 -13
  216. metadata +219 -7
@@ -0,0 +1,14 @@
1
+ {
2
+ "links": {
3
+ "self": "/pages/homepage",
4
+ "admin": "/admin/pages/homepage"
5
+ },
6
+ "data": {
7
+ "title": "This site's homepage",
8
+ "keywords": "Info, about, this, site.",
9
+ "description": "This site was built with LRD's CMS framework.",
10
+ "layout": "homepage",
11
+ "contents": {
12
+ }
13
+ }
14
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "links": {
3
+ "self": "/pages/links",
4
+ "admin": "/admin/pages/links"
5
+ },
6
+ "data": {
7
+ "title": "Links",
8
+ "keywords": "links",
9
+ "description": "Nihil laboriosam dolor consectetur consequatur autem vitae vel ea",
10
+ "layout": "one_column",
11
+ "contents": {
12
+ "main": {
13
+ "links": {
14
+ "self": "/admin/content_blocks/28"
15
+ },
16
+ "data": {
17
+ "content_type": "text/html",
18
+ "body": "Aut facere quasi fugiat optio ducimus numquam qui nostrum soluta. vero et itaque et quo quis consequatur perspiciatis reprehenderit est aspernatur cupiditate odit minima. sit ipsa nostrum quis porro non unde autem qui qui maiores et quia hic non in et sunt nam. voluptas sit animi ab minus aut a sit nobis voluptatem magnam doloremque eum\n\nDeserunt consequuntur voluptatem consequatur error voluptatem aut officiis natus et temporibus veritatis. consequatur harum ea illo numquam eum beatae occaecati voluptates ut animi quos incidunt eligendi omnis quasi veniam. id aut aut pariatur minima omnis sit vero laudantium consequatur aspernatur dignissimos. eum eaque incidunt hic rem incidunt voluptatem fugiat voluptatem eaque dolorem aut. iusto numquam at voluptates consequatur exercitationem aliquid ut impedit id perspiciatis aut labore ratione aliquid autem odio laborum nulla. aut quia odio velit quasi dolor quaerat esse dicta eligendi praesentium. ex at eligendi voluptatem ipsa perferendis. vel illum vero quo consequatur qui dolorum\n\nNesciunt nobis dolore ut quis et fuga neque deleniti in voluptatem omnis sunt illum. excepturi animi repellat qui et cupiditate repellendus recusandae ex. voluptatem rerum omnis voluptas dolor consequatur\n\nEarum eum sed provident rerum est dolor et. ut pariatur quas laudantium iure consequatur sunt delectus tempora aut. quod nemo molestiae dolor vel recusandae quia iusto veritatis natus alias velit id ipsa dolore error dolores blanditiis odio"
19
+ }
20
+ },
21
+ "headline": {
22
+ "links": {
23
+ "self": "/admin/content_blocks/27"
24
+ },
25
+ "data": {
26
+ "content_type": "text/html",
27
+ "body": "Distinctio Sed Et Sed"
28
+ }
29
+ }
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,50 @@
1
+ {
2
+ "links": {
3
+ "self": "/pages/newsletter",
4
+ "admin": "/admin/pages/newsletter"
5
+ },
6
+ "data": {
7
+ "title": "Newsletter",
8
+ "keywords": "adipisci, repellat",
9
+ "description": "Magni quo non et soluta. Vero aliquam ut ut adipisci facere",
10
+ "layout": "two_column",
11
+ "contents": {
12
+ "column_two": {
13
+ "links": {
14
+ "self": "/admin/content_blocks/32"
15
+ },
16
+ "data": {
17
+ "content_type": "text/html",
18
+ "body": "Magni et esse consequatur quia recusandae et animi aut repudiandae reprehenderit. expedita praesentium aut ipsa numquam autem laudantium ducimus nulla ipsa quae fugit. illo est culpa cumque dolores doloribus eum eos ab hic ducimus qui alias et sit quo. aut odit eos magnam nihil beatae\n\nIusto nihil voluptatem sunt dolore laborum facere sed esse. earum dolorum iste quos facere ab non quo quidem quo ipsa vel ducimus. sed dolor nostrum iste occaecati maiores eius voluptas repudiandae est corporis accusantium quo iusto ut quidem nostrum illum vel. rem incidunt quaerat quos et ex unde ab consequatur quod optio voluptatem molestiae autem aut possimus"
19
+ }
20
+ },
21
+ "column_one": {
22
+ "links": {
23
+ "self": "/admin/content_blocks/31"
24
+ },
25
+ "data": {
26
+ "content_type": "text/html",
27
+ "body": "Quia reiciendis velit beatae nihil fuga deleniti porro blanditiis velit sunt placeat ea deleniti in. placeat aut ipsa quo ut praesentium dolores vel sunt consequatur sit dolor inventore vitae qui laudantium sed recusandae consequuntur. eligendi earum et vel ut ex fuga eaque dolorem laboriosam officiis tenetur expedita delectus\n\nQuis adipisci assumenda vitae commodi illum aut sint sed earum omnis sapiente omnis. mollitia ex assumenda esse voluptatem eum excepturi voluptas est quia dolor eius dolorem. maxime dicta aliquam vel hic ipsum et ea id voluptatem molestiae labore sed et optio quos. quidem perspiciatis ut vero ullam a iusto. quasi tempora commodi mollitia maxime odit vitae amet eum ut exercitationem voluptatibus magni et a. quos natus eligendi eligendi non similique pariatur velit qui. dolorum maxime tempore aut doloribus illo inventore. impedit nemo doloremque distinctio adipisci dignissimos cumque corporis expedita voluptatibus dicta rerum sit non pariatur sapiente voluptates tempore"
28
+ }
29
+ },
30
+ "styles": {
31
+ "links": {
32
+ "self": "/admin/content_blocks/30"
33
+ },
34
+ "data": {
35
+ "content_type": "text/css",
36
+ "body": " "
37
+ }
38
+ },
39
+ "headline": {
40
+ "links": {
41
+ "self": "/admin/content_blocks/29"
42
+ },
43
+ "data": {
44
+ "content_type": "text/html",
45
+ "body": "Doloribus Aspernatur"
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
@@ -0,0 +1,17 @@
1
+ # Copy this file to ~/.lrd-dev-tmux.conf
2
+ # Then you'll be able to use
3
+ # Ctrl-b Ctrl-r to restart a dead service
4
+ # Ctrl-b Ctrl-Shift-R to restart everything
5
+ # Ctrl-b Ctrl-x to kill the session (with confirmation!)
6
+
7
+ bind C-r respawn-pane
8
+ bind C-R respawn-window -k
9
+ bind-key C-x confirm-before -p "kill-session? (y/n)" kill-session
10
+
11
+ # Some people prefer Ctrl-a as a prefix (it's less of a stretch than Ctrl-b)
12
+ # If you want to try that, uncomment these lines:
13
+ #
14
+ #set-option -g prefix C-a
15
+ #unbind-key C-b
16
+ #bind-key -r a send-prefix
17
+ #bind-key C-a select-window -t !
@@ -0,0 +1,125 @@
1
+ # 0.3.1 (2013-09-13)
2
+
3
+ ## Features
4
+
5
+ * Page titles are now set via state objects ([33de8097](git@github.com:joshdmiller/ng-boilerplate/commit/33de8097))
6
+ * Append pkg.version to JS and CSS ([90e1b71f](git@github.com:joshdmiller/ng-boilerplate/commit/90e1b71f))
7
+ * Vendor CSS is copied and concatenated with the app's CSS ([dda8792c](git@github.com:joshdmiller/ng-boilerplate/commit/dda8792c))
8
+ * Vendor assets are copied to the build too ([29502bff](git@github.com:joshdmiller/ng-boilerplate/commit/29502bff))
9
+ * Treat JS in src/assets as assets (i.e. don't do anything with it) ([99b50751](git@github.com:joshdmiller/ng-boilerplate/commit/99b50751))
10
+ * Added PhantomJS support ([89acf5f6](git@github.com:joshdmiller/ng-boilerplate/commit/89acf5f6))
11
+ * Files for use only in testing are now configurable ([a04e663b](git@github.com:joshdmiller/ng-boilerplate/commit/a04e663b))
12
+
13
+ ## Bug fixes
14
+
15
+ * CopyPasteException in index.html comments ([3a0596a7](git@github.com:joshdmiller/ng-boilerplate/commit/3a0596a7))
16
+ * Fixed typos in the README ([5ae95393](git@github.com:joshdmiller/ng-boilerplate/commit/5ae95393)), ([8c362208](git@github.com:joshdmiller/ng-boilerplate/commit/8c362208)), and ([6b617282](git@github.com:joshdmiller/ng-boilerplate/commit/6b617282))
17
+ * Vendor files were added to build twice ([09277b74](git@github.com:joshdmiller/ng-boilerplate/commit/09277b74))
18
+ * IE7 Font Awesome stylesheet pointed nowhere ([515673b1](git@github.com:joshdmiller/ng-boilerplate/commit/515673b1))
19
+
20
+ # 0.3.0 (2013-06-25)
21
+
22
+ ## Features
23
+ ### build
24
+
25
+ * split build into build+compile ([97fb290d](https://github.com/joshdmiller/ng-boilerplate/commits/97fb290d))
26
+ * Moved config to separate file ([ff5d8b58](https://github.com/joshdmiller/ng-boilerplate/commits/ff5d8b58))
27
+ * Added grunt-bump to ease releasing ([27312de1](https://github.com/joshdmiller/ng-boilerplate/commits/27312de1))
28
+ * Added changelog generation ([328d25d2](https://github.com/joshdmiller/ng-boilerplate/commits/328d25d2))
29
+ * karma config managed automatically ([3384b6fd](https://github.com/joshdmiller/ng-boilerplate/commits/3384b6fd))
30
+ * CoffeeScript support ([0f308f2f](https://github.com/joshdmiller/ng-boilerplate/commits/0f308f2f))
31
+
32
+ ### *
33
+
34
+ * switched to ui-router for state mgmt ([7bec0378](https://github.com/joshdmiller/ng-boilerplate/commits/7bec0378))
35
+
36
+ ## Bug fixes
37
+ ### build
38
+
39
+ * Karma no longer hangs the watch (([f66cfcc6])(https://github.com/joshdmiller/ng-boilerplate/commits/f66cfcc6))
40
+
41
+
42
+
43
+ # 0.2.0 (2013-05-10)
44
+
45
+ ## Features
46
+ ### build
47
+
48
+ * live reload added through grunt-watch ([653df741](https://github.com/joshdmiller/ng-boilerplate/commits/653df741))
49
+
50
+ * Add grunt ng-min for annotation ([9c529ccb](https://github.com/joshdmiller/ng-boilerplate/commits/9c529ccb))
51
+
52
+ ### *
53
+
54
+ * far better Bower integration ([864c2656](https://github.com/joshdmiller/ng-boilerplate/commits/864c2656))
55
+
56
+ * included AngularUI `utils` to use uiRoute ([df08e4be](https://github.com/joshdmiller/ng-boilerplate/commits/df08e4be))
57
+
58
+
59
+
60
+
61
+
62
+
63
+ # 0.1.0 (2013-03-11)
64
+
65
+ ## Features
66
+ ### *
67
+
68
+ * Initial application structure ([7c149227](https://github.com/joshdmiller/ng-boilerplate/commits/7c149227))
69
+
70
+ * improved navigation styling and added home page tpl ([e1a655e0](https://github.com/joshdmiller/ng-boilerplate/commits/e1a655e0))
71
+
72
+ ### app
73
+
74
+ * added current route indication to menu with appropriate unit test ([14d35da8](https://github.com/joshdmiller/ng-boilerplate/commits/14d35da8))
75
+
76
+ ### index
77
+
78
+ * improved navbar style and added additional links ([a7c4504c](https://github.com/joshdmiller/ng-boilerplate/commits/a7c4504c))
79
+
80
+ ### about
81
+
82
+ * Added an about page with some descriptive content ([290704ab](https://github.com/joshdmiller/ng-boilerplate/commits/290704ab))
83
+
84
+ * Added placeholders demo to about page ([89a06e9f](https://github.com/joshdmiller/ng-boilerplate/commits/89a06e9f))
85
+
86
+ ### titleService
87
+
88
+ * dynamic title support) ([3db6ec2b](https://github.com/joshdmiller/ng-boilerplate/commits/3db6ec2b))
89
+
90
+ * suffix is now customizable ([9f8b4c73](https://github.com/joshdmiller/ng-boilerplate/commits/9f8b4c73))
91
+
92
+ ### activeIfCurrentDirective
93
+
94
+ * created directory to test for current route ([0ac1f4b4](https://github.com/joshdmiller/ng-boilerplate/commits/0ac1f4b4))
95
+
96
+ ### home
97
+
98
+ * replaced placeholder text with mrktg copy ([dcaf7237](https://github.com/joshdmiller/ng-boilerplate/commits/dcaf7237))
99
+
100
+ * added google +1 button ([98d3312b](https://github.com/joshdmiller/ng-boilerplate/commits/98d3312b))
101
+
102
+
103
+
104
+ ## Bug fixes
105
+ ### build
106
+
107
+ * Removed unnecessary step from delta:unittest ([5ffbfd78](https://github.com/joshdmiller/ng-boilerplate/commits/5ffbfd78))
108
+
109
+ * delta tasks that concat must also uglify ([926983f8](https://github.com/joshdmiller/ng-boilerplate/commits/926983f8))
110
+
111
+ ### test-config
112
+
113
+ * Change browser-name case, add browser list ([682b1ea4](https://github.com/joshdmiller/ng-boilerplate/commits/682b1ea4))
114
+
115
+ ### home
116
+
117
+ * corrected typo in tweet button URL ([b9920eea](https://github.com/joshdmiller/ng-boilerplate/commits/b9920eea))
118
+
119
+ ### testacular
120
+
121
+ * fixed typo in browser docstring ([11a60fa7](https://github.com/joshdmiller/ng-boilerplate/commits/11a60fa7))
122
+
123
+
124
+
125
+
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem 'sass'
4
+ gem 'compass'
5
+ gem 'rack'
@@ -0,0 +1,34 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ chunky_png (1.3.1)
5
+ compass (1.0.1)
6
+ chunky_png (~> 1.3.1)
7
+ compass-core (~> 1.0.1)
8
+ compass-import-once (~> 1.0.5)
9
+ rb-fsevent (>= 0.9.3)
10
+ rb-inotify (>= 0.9)
11
+ sass (>= 3.3.13, < 3.5)
12
+ compass-core (1.0.1)
13
+ multi_json (~> 1.0)
14
+ sass (>= 3.3.0, < 3.5)
15
+ compass-import-once (1.0.5)
16
+ sass (>= 3.2, < 3.5)
17
+ ffi (1.9.3)
18
+ multi_json (1.10.1)
19
+ rack (1.5.2)
20
+ rb-fsevent (0.9.4)
21
+ rb-inotify (0.9.5)
22
+ ffi (>= 0.5.0)
23
+ sass (3.4.3)
24
+
25
+ PLATFORMS
26
+ ruby
27
+
28
+ DEPENDENCIES
29
+ compass
30
+ rack
31
+ sass
32
+
33
+ BUNDLED WITH
34
+ 1.10.4
@@ -0,0 +1,3 @@
1
+ module.exports = function( grunt , options ) {
2
+ require('xing-frontend-grunt')(grunt, options);
3
+ };
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2013 Josh David Miller <josh@joshdmiller.com>
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
4
+ this software and associated documentation files (the "Software"), to deal in
5
+ the Software without restriction, including without limitation the rights to
6
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7
+ of the Software, and to permit persons to whom the Software is furnished to do
8
+ so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
@@ -0,0 +1,5 @@
1
+ # Xing Frontend
2
+
3
+ This directory contains all the front-end (i.e. Angular and CSS) related files for
4
+ an empty Xing application.
5
+
@@ -0,0 +1,110 @@
1
+ /**
2
+ * This file/module contains all configuration for the build process.
3
+ */
4
+ module.exports = {
5
+ /**
6
+ * The `build_dir` folder is where our projects are compiled during
7
+ * development and the `compile_dir` folder is where our app resides once it's
8
+ * completely built.
9
+ */
10
+ build_dirs: {
11
+ root: 'build',
12
+ stylesheets: '<%= build_dirs.root %>/stylesheets',
13
+ js: '<%= build_dirs.root %>/javascripts',
14
+ assets: '<%= build_dirs.root %>/assets',
15
+ test: '<%= build_dirs.root%>/test'
16
+ },
17
+ build_dir: '<%= build_dirs.root %>',
18
+ compile_dir: 'bin',
19
+ //compile_dir: '../server/public',
20
+ tmp_dir: 'tmp',
21
+
22
+ compile_targets: {
23
+ js: '<%= compile_dir %>/assets/<%= pkg.name %>-<%= pkg.version %>.js',
24
+ vendor_js: '<%= compile_dir %>/assets/vendor.js',
25
+ css: '<%= compile_dir %>/assets/<%= pkg.name %>-<%= pkg.version %>.css',
26
+ map: '<%= compile_dir %>/assets/<%= pkg.name %>-<%= pkg.version %>.map',
27
+ },
28
+
29
+ /**
30
+ * This is a collection of file patterns that refer to our app code (the
31
+ * stuff in `src/`). These file paths are used in the configuration of
32
+ * build tasks. `js` is all project javascript, less tests. `ctpl` contains
33
+ * our reusable components' (`src/common`) template HTML files, while
34
+ * `atpl` contains the same, but for our app's code. `html` is just our
35
+ * main HTML file, `less` is our main stylesheet, and `unit` contains our
36
+ * app's unit tests.
37
+ */
38
+ app_files: {
39
+ js_roots: [ 'src/app/app.js' ],
40
+ js_dir: 'src',
41
+ js: [ 'src/**/*.js', '!src/**/*.spec.js', '!src/assets/**/*.js' ],
42
+ js_es6: [ 'build/src-es6/**/*.js', '!build/src-es6/**/*.spec.js', '!build/src-es6/assets/**/*.js' ],
43
+ jsunit: [ 'test/**/*.js' ],
44
+ jstest: [ 'test/**/*.js', 'test-help/**/*.js' ],
45
+ jstest_es6: [ 'build/test-es6/**/*.js', 'build/test-help-es6/**/*.js' ],
46
+ test_dir: 'test',
47
+ test_help_dir: 'test-help',
48
+ coffee: [ 'src/**/*.coffee', '!src/**/*.spec.coffee' ],
49
+ coffeeunit: [ 'test/**/*.coffee' ],
50
+
51
+ atpl: [ 'src/app/**/*.tpl.html' ],
52
+ ctpl: [ 'src/common/**/*.tpl.html' ],
53
+ ttpl: [ 'test/**/*.json', 'test/**/*.tpl.html' ],
54
+ html: [ 'src/index.html' ],
55
+ stylesheets: 'src/styles'
56
+ },
57
+
58
+
59
+ /**
60
+ * This is a collection of files used during testing only.
61
+ */
62
+ test_files: {
63
+ js: [
64
+ 'vendor/angular-mocks/angular-mocks.js'
65
+ ]
66
+ },
67
+
68
+ /**
69
+ * This is the same as `app_files`, except it contains patterns that
70
+ * reference vendor code (`vendor/`) that we need to place into the build
71
+ * process somewhere. While the `app_files` property ensures all
72
+ * standardized files are collected for compilation, it is the user's job
73
+ * to ensure non-standardized (i.e. vendor-related) files are handled
74
+ * appropriately in `vendor_files.js`.
75
+ *
76
+ * The `vendor_files.js` property holds files to be automatically
77
+ * concatenated and minified with our project source files.
78
+ *
79
+ * The `vendor_files.css` property holds any CSS files to be automatically
80
+ * included in our app.
81
+ *
82
+ * The `vendor_files.assets` property holds any assets to be copied along
83
+ * with our app's assets. This structure is flattened, so it is not
84
+ * recommended that you use wildcards.
85
+ *
86
+ * If stray files make it into vendor, the solution is *not* to change this config
87
+ * We need to change the Gruntfile.js or bower.json to export only the files we want.
88
+ *
89
+ */
90
+ vendor_files: {
91
+ js: [
92
+ 'node_modules/jquery/dist/jquery.js',
93
+ 'node_modules/lodash/dist/lodash.js',
94
+ 'node_modules/angular/angular.js',
95
+ 'node_modules/angular-cookies/angular-cookies.js',
96
+ 'node_modules/angular-fontawesome/dist/angular-fontawesome.js',
97
+ 'node_modules/angular-ui-router/release/angular-ui-router.js',
98
+ 'node_modules/xing-frontend-token-auth/src/xing-frontend-token-auth.js',
99
+ 'node_modules/responsive-nav/responsive-nav.js',
100
+ 'node_modules/hammerjs/hammer.js',
101
+ 'node_modules/uri-templates/uri-templates.js'
102
+ ],
103
+ css: [
104
+ 'node_modules/froala-editor/css/font-awesome.min.css'
105
+ ],
106
+ assets: [
107
+ 'node_modules/font-awesome/fonts/fontawesome-webfont.*'
108
+ ]
109
+ },
110
+ };
@@ -0,0 +1,23 @@
1
+
2
+ # <%= version%> (<%= today%>)
3
+
4
+ <% if (_(changelog.feat).size() > 0) { %> ## Features
5
+ <% _(changelog.feat).forEach(function(changes, scope) { %>
6
+ - **<%= scope%>:**
7
+ <% changes.forEach(function(change) { %> - <%= change.msg%> (<%= helpers.commitLink(change.sha1) %>)
8
+ <% }); %>
9
+ <% }); %> <% } %>
10
+
11
+ <% if (_(changelog.fix).size() > 0) { %> ## Fixes
12
+ <% _(changelog.fix).forEach(function(changes, scope) { %>
13
+ - **<%= scope%>:**
14
+ <% changes.forEach(function(change) { %> - <%= change.msg%> (<%= helpers.commitLink(change.sha1) %>)
15
+ <% }); %>
16
+ <% }); %> <% } %>
17
+
18
+ <% if (_(changelog.breaking).size() > 0) { %> ## Breaking Changes
19
+ <% _(changelog.breaking).forEach(function(changes, scope) { %>
20
+ - **<%= scope%>:**
21
+ <% changes.forEach(function(change) { %> <%= change.msg%>
22
+ <% }); %>
23
+ <% }); %> <% } %>