houston-core 0.5.0.beta1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (368) hide show
  1. checksums.yaml +4 -4
  2. data/.codeclimate.yml +0 -2
  3. data/.gitignore +3 -0
  4. data/Gemfile +1 -0
  5. data/Gemfile.lock +63 -62
  6. data/README.md +13 -121
  7. data/app/adapters/houston/adapters/ci_server/errors.rb +4 -4
  8. data/app/adapters/houston/adapters/ci_server/jenkins_adapter/job.rb +50 -50
  9. data/app/adapters/houston/adapters/ci_server/jenkins_adapter.rb +4 -4
  10. data/app/adapters/houston/adapters/ci_server/none_adapter/job.rb +5 -5
  11. data/app/adapters/houston/adapters/ci_server/none_adapter.rb +4 -4
  12. data/app/adapters/houston/adapters/deployment/engineyard.rb +20 -20
  13. data/app/adapters/houston/adapters/error_tracker/errbit_adapter/app.rb +14 -14
  14. data/app/adapters/houston/adapters/error_tracker/errbit_adapter/connection.rb +41 -41
  15. data/app/adapters/houston/adapters/error_tracker/errbit_adapter/notice.rb +6 -6
  16. data/app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb +25 -25
  17. data/app/adapters/houston/adapters/error_tracker/errbit_adapter.rb +20 -20
  18. data/app/adapters/houston/adapters/error_tracker/none_adapter.rb +8 -8
  19. data/app/adapters/houston/adapters/error_tracker/null_app.rb +13 -13
  20. data/app/adapters/houston/adapters/ticket_tracker/errors.rb +5 -5
  21. data/app/adapters/houston/adapters/ticket_tracker/github_adapter/connection.rb +41 -41
  22. data/app/adapters/houston/adapters/ticket_tracker/github_adapter/issue.rb +22 -22
  23. data/app/adapters/houston/adapters/ticket_tracker/github_adapter.rb +7 -7
  24. data/app/adapters/houston/adapters/ticket_tracker/houston_adapter/connection.rb +13 -13
  25. data/app/adapters/houston/adapters/ticket_tracker/houston_adapter/ticket.rb +15 -15
  26. data/app/adapters/houston/adapters/ticket_tracker/houston_adapter.rb +4 -4
  27. data/app/adapters/houston/adapters/ticket_tracker/none_adapter.rb +4 -4
  28. data/app/adapters/houston/adapters/ticket_tracker/null_connection.rb +13 -13
  29. data/app/adapters/houston/adapters/ticket_tracker/null_ticket.rb +19 -19
  30. data/app/adapters/houston/adapters/ticket_tracker/unfuddle_adapter/connection.rb +54 -54
  31. data/app/adapters/houston/adapters/ticket_tracker/unfuddle_adapter/milestone.rb +10 -10
  32. data/app/adapters/houston/adapters/ticket_tracker/unfuddle_adapter/ticket.rb +59 -59
  33. data/app/adapters/houston/adapters/ticket_tracker/unfuddle_adapter.rb +9 -9
  34. data/app/adapters/houston/adapters/version_control/commit.rb +4 -4
  35. data/app/adapters/houston/adapters/version_control/errors.rb +9 -9
  36. data/app/adapters/houston/adapters/version_control/git_adapter/github_repo.rb +15 -15
  37. data/app/adapters/houston/adapters/version_control/git_adapter/remote_repo.rb +53 -30
  38. data/app/adapters/houston/adapters/version_control/git_adapter/repo.rb +60 -55
  39. data/app/adapters/houston/adapters/version_control/git_adapter.rb +22 -22
  40. data/app/adapters/houston/adapters/version_control/none_adapter.rb +4 -4
  41. data/app/adapters/houston/adapters/version_control/null_commit.rb +4 -4
  42. data/app/adapters/houston/adapters/version_control/null_repo.rb +18 -18
  43. data/app/adapters/houston/adapters.rb +10 -10
  44. data/app/assets/javascripts/app/boot.coffee +5 -5
  45. data/app/assets/javascripts/app/infinite_scroll.coffee +6 -6
  46. data/app/assets/javascripts/app/models/commit.coffee +1 -1
  47. data/app/assets/javascripts/app/models/release.coffee +1 -1
  48. data/app/assets/javascripts/app/models/task.coffee +1 -1
  49. data/app/assets/javascripts/app/models/tester.coffee +1 -1
  50. data/app/assets/javascripts/app/models/testing_note.coffee +2 -2
  51. data/app/assets/javascripts/app/models/ticket.coffee +24 -24
  52. data/app/assets/javascripts/app/models/user.coffee +1 -1
  53. data/app/assets/javascripts/app/releases.coffee +6 -6
  54. data/app/assets/javascripts/app/stacked_area_graph.coffee +22 -22
  55. data/app/assets/javascripts/app/stacked_bar_graph.coffee +20 -20
  56. data/app/assets/javascripts/app/table_row_expander.coffee +10 -10
  57. data/app/assets/javascripts/app/ticket_tracker_refresh.coffee +19 -19
  58. data/app/assets/javascripts/app/views/_show_sprint_view.coffee +14 -14
  59. data/app/assets/javascripts/app/views/_tickets_view.coffee +8 -8
  60. data/app/assets/javascripts/app/views/all_tickets_view.coffee +1 -2
  61. data/app/assets/javascripts/app/views/commit_view.coffee +2 -2
  62. data/app/assets/javascripts/app/views/edit_sprint_view.coffee +36 -36
  63. data/app/assets/javascripts/app/views/find_or_create_ticket_view.coffee +3 -3
  64. data/app/assets/javascripts/app/views/keyboard_shortcuts_modal.coffee +14 -14
  65. data/app/assets/javascripts/app/views/new_ticket_modal.coffee +4 -4
  66. data/app/assets/javascripts/app/views/new_ticket_view.coffee +34 -34
  67. data/app/assets/javascripts/app/views/problems_view.coffee +8 -8
  68. data/app/assets/javascripts/app/views/reports_view.coffee +5 -5
  69. data/app/assets/javascripts/app/views/testing_note_view.coffee +10 -10
  70. data/app/assets/javascripts/app/views/testing_report_view.coffee +7 -7
  71. data/app/assets/javascripts/app/views/testing_ticket_view.coffee +36 -36
  72. data/app/assets/javascripts/app/views/ticket_modal_view.coffee +5 -5
  73. data/app/assets/javascripts/core/app.coffee +22 -22
  74. data/app/assets/javascripts/core/burndown_chart.coffee +21 -21
  75. data/app/assets/javascripts/core/errors.coffee +2 -2
  76. data/app/assets/javascripts/core/handlebars_helpers.coffee +6 -6
  77. data/app/assets/javascripts/core/jquery_extensions.coffee +28 -28
  78. data/app/assets/javascripts/dashboard/refresher.coffee +4 -4
  79. data/app/assets/stylesheets/application/ansi.scss +2 -2
  80. data/app/assets/stylesheets/application/commit.scss +1 -1
  81. data/app/assets/stylesheets/application/exceptions.scss +3 -3
  82. data/app/assets/stylesheets/application/find_or_create_ticket.scss +2 -2
  83. data/app/assets/stylesheets/application/follow_up.scss +2 -2
  84. data/app/assets/stylesheets/application/forms.scss +2 -2
  85. data/app/assets/stylesheets/application/freight_train.css.scss +5 -5
  86. data/app/assets/stylesheets/application/full_screen.scss +2 -2
  87. data/app/assets/stylesheets/application/infinite_scroll.scss +1 -1
  88. data/app/assets/stylesheets/application/keyboard_shortcuts.scss +3 -3
  89. data/app/assets/stylesheets/application/markdown.scss +2 -2
  90. data/app/assets/stylesheets/application/navigation.scss +15 -15
  91. data/app/assets/stylesheets/application/new_ticket_view.scss +16 -16
  92. data/app/assets/stylesheets/application/omnibar.scss +6 -6
  93. data/app/assets/stylesheets/application/project_banner_buttons.scss +6 -6
  94. data/app/assets/stylesheets/application/project_tiles.scss +2 -2
  95. data/app/assets/stylesheets/application/projects.css.scss +3 -3
  96. data/app/assets/stylesheets/application/pull_requests.scss +6 -6
  97. data/app/assets/stylesheets/application/queue.scss +2 -2
  98. data/app/assets/stylesheets/application/release_form.scss +10 -10
  99. data/app/assets/stylesheets/application/releases.scss +32 -39
  100. data/app/assets/stylesheets/application/sortable_table.scss +6 -6
  101. data/app/assets/stylesheets/application/sprint.scss +6 -6
  102. data/app/assets/stylesheets/application/tables.scss +6 -6
  103. data/app/assets/stylesheets/application/test_run.scss +16 -16
  104. data/app/assets/stylesheets/application/ticket.scss +13 -13
  105. data/app/assets/stylesheets/application/ticket_modal.scss +19 -19
  106. data/app/assets/stylesheets/application/tickets.scss +2 -2
  107. data/app/assets/stylesheets/application/timeline.scss +30 -30
  108. data/app/assets/stylesheets/application/tips.scss +1 -1
  109. data/app/assets/stylesheets/application/typeahead.scss +4 -4
  110. data/app/assets/stylesheets/application/uploading.scss +13 -13
  111. data/app/assets/stylesheets/application/welcome.scss +3 -3
  112. data/app/assets/stylesheets/core/burndown_chart.scss +11 -11
  113. data/app/assets/stylesheets/core/misc.scss +8 -8
  114. data/app/assets/stylesheets/core/overrides.scss +2 -2
  115. data/app/assets/stylesheets/core/scores.scss +26 -26
  116. data/app/assets/stylesheets/dashboard/dashboard.scss +16 -16
  117. data/app/assets/stylesheets/print.css.scss +3 -3
  118. data/app/concerns/commit_synchronizer.rb +24 -24
  119. data/app/concerns/feature_state.rb +7 -7
  120. data/app/concerns/feature_support.rb +4 -4
  121. data/app/concerns/historical_weekly_stats.rb +4 -4
  122. data/app/concerns/milestone_synchronizer.rb +14 -14
  123. data/app/concerns/nosync.rb +4 -4
  124. data/app/concerns/project_adapter.rb +22 -22
  125. data/app/concerns/retirement.rb +7 -7
  126. data/app/concerns/ticket_synchronizer.rb +31 -31
  127. data/app/concerns/unique_add.rb +2 -2
  128. data/app/controllers/api/v1/sprint_tasks_controller.rb +19 -19
  129. data/app/controllers/api/v1/ticket_tasks_controller.rb +14 -14
  130. data/app/controllers/application_controller.rb +46 -40
  131. data/app/controllers/commits_controller.rb +10 -10
  132. data/app/controllers/deploys_controller.rb +11 -11
  133. data/app/controllers/home_controller.rb +4 -4
  134. data/app/controllers/jobs_controller.rb +3 -3
  135. data/app/controllers/oauth_consumers_controller.rb +1 -1
  136. data/app/controllers/omnibar_controller.rb +6 -6
  137. data/app/controllers/project_exceptions_controller.rb +11 -11
  138. data/app/controllers/project_hooks_controller.rb +7 -7
  139. data/app/controllers/project_options_controller.rb +8 -8
  140. data/app/controllers/project_pretickets_controller.rb +6 -6
  141. data/app/controllers/project_roles_controller.rb +7 -7
  142. data/app/controllers/project_tickets_controller.rb +28 -28
  143. data/app/controllers/project_tickets_sync_controller.rb +8 -8
  144. data/app/controllers/projects_controller.rb +29 -29
  145. data/app/controllers/releases_controller.rb +25 -25
  146. data/app/controllers/reports_controller.rb +36 -36
  147. data/app/controllers/sessions_controller.rb +2 -2
  148. data/app/controllers/settings_controller.rb +3 -3
  149. data/app/controllers/sprint_task_locks_controller.rb +11 -11
  150. data/app/controllers/sprints_controller.rb +25 -25
  151. data/app/controllers/tasks_controller.rb +10 -10
  152. data/app/controllers/test_runs_controller.rb +8 -8
  153. data/app/controllers/tester_bar_controller.rb +2 -2
  154. data/app/controllers/testing_notes_controller.rb +15 -15
  155. data/app/controllers/testing_report_controller.rb +14 -14
  156. data/app/controllers/tickets_controller.rb +9 -9
  157. data/app/controllers/uploads_controller.rb +9 -9
  158. data/app/controllers/user_credentials_controller.rb +4 -4
  159. data/app/controllers/user_options_controller.rb +6 -6
  160. data/app/controllers/users_controller.rb +34 -34
  161. data/app/controllers/welcome_controller.rb +6 -6
  162. data/app/helpers/ansi_helper.rb +4 -4
  163. data/app/helpers/application_helper.rb +26 -26
  164. data/app/helpers/avatar_helper.rb +12 -12
  165. data/app/helpers/backtrace_helper.rb +2 -2
  166. data/app/helpers/breadcrumbs_helper.rb +9 -9
  167. data/app/helpers/commit_helper.rb +16 -12
  168. data/app/helpers/demo_helper.rb +4 -4
  169. data/app/helpers/email_helper.rb +3 -3
  170. data/app/helpers/emoji_helper.rb +1 -1
  171. data/app/helpers/excel_helpers.rb +2 -2
  172. data/app/helpers/exposure_helper.rb +3 -3
  173. data/app/helpers/flash_message_helper.rb +6 -6
  174. data/app/helpers/maintenance_light_helper.rb +3 -3
  175. data/app/helpers/markdown_helper.rb +3 -3
  176. data/app/helpers/navigation_helper.rb +12 -12
  177. data/app/helpers/project_helper.rb +5 -5
  178. data/app/helpers/release_helper.rb +9 -9
  179. data/app/helpers/score_card_helper.rb +16 -16
  180. data/app/helpers/sprint_helper.rb +2 -2
  181. data/app/helpers/static_chart_helper.rb +2 -2
  182. data/app/helpers/test_run_helper.rb +6 -6
  183. data/app/helpers/ticket_helper.rb +14 -14
  184. data/app/helpers/timeline_helper.rb +5 -5
  185. data/app/helpers/url_helper.rb +26 -26
  186. data/app/helpers/user_helper.rb +6 -6
  187. data/app/helpers/version_helper.rb +4 -4
  188. data/app/interactors/test_run_comparer.rb +9 -9
  189. data/app/interactors/ticket_report.rb +7 -7
  190. data/app/jobs/sync_all_tickets_job.rb +13 -13
  191. data/app/jobs/sync_commits_job.rb +3 -3
  192. data/app/jobs/sync_project_tickets_job.rb +9 -9
  193. data/app/mailers/deploy_notification.rb +9 -9
  194. data/app/mailers/project_notification.rb +29 -29
  195. data/app/mailers/view_mailer.rb +20 -38
  196. data/app/models/ability.rb +21 -21
  197. data/app/models/activity_feed.rb +25 -25
  198. data/app/models/antecedent.rb +3 -3
  199. data/app/models/code_climate/coverage_report.rb +25 -25
  200. data/app/models/commit.rb +77 -82
  201. data/app/models/consumer_token.rb +2 -2
  202. data/app/models/deploy.rb +31 -27
  203. data/app/models/environment.rb +12 -12
  204. data/app/models/github/commit_status_report.rb +16 -16
  205. data/app/models/github/pull_request.rb +35 -12
  206. data/app/models/github/pull_request_event.rb +6 -5
  207. data/app/models/github_token.rb +2 -2
  208. data/app/models/historical_head.rb +2 -2
  209. data/app/models/key_dependency.rb +17 -17
  210. data/app/models/maintenance_light.rb +3 -3
  211. data/app/models/measurement.rb +22 -22
  212. data/app/models/menu_item.rb +5 -5
  213. data/app/models/menu_item_divider.rb +1 -1
  214. data/app/models/milestone.rb +27 -27
  215. data/app/models/output_stream.rb +4 -4
  216. data/app/models/post_receive_payload.rb +7 -7
  217. data/app/models/project.rb +93 -89
  218. data/app/models/project_dependencies.rb +9 -9
  219. data/app/models/project_dependency.rb +33 -33
  220. data/app/models/project_menu_item.rb +3 -3
  221. data/app/models/release.rb +60 -60
  222. data/app/models/release_change.rb +18 -18
  223. data/app/models/role.rb +15 -15
  224. data/app/models/rubygems/gem.rb +21 -21
  225. data/app/models/run_tests_on_post_receive.rb +36 -36
  226. data/app/models/setting.rb +3 -3
  227. data/app/models/settings.rb +8 -8
  228. data/app/models/source_file_coverage.rb +2 -2
  229. data/app/models/sprint.rb +19 -19
  230. data/app/models/sprint_report.rb +7 -7
  231. data/app/models/sprint_task.rb +8 -8
  232. data/app/models/static_chart/area.rb +19 -19
  233. data/app/models/static_chart.rb +35 -35
  234. data/app/models/task.rb +64 -64
  235. data/app/models/test_error.rb +2 -2
  236. data/app/models/test_result.rb +7 -0
  237. data/app/models/test_run.rb +75 -79
  238. data/app/models/test_run_statistics.rb +18 -19
  239. data/app/models/testing_note.rb +19 -19
  240. data/app/models/ticket.rb +104 -104
  241. data/app/models/ticket_antecedent.rb +11 -11
  242. data/app/models/ticket_comment.rb +6 -6
  243. data/app/models/ticket_committer.rb +3 -3
  244. data/app/models/ticket_tag.rb +6 -6
  245. data/app/models/user.rb +44 -44
  246. data/app/models/user_credentials.rb +11 -11
  247. data/app/models/value_statement.rb +3 -3
  248. data/app/presenters/commit_presenter.rb +6 -6
  249. data/app/presenters/one_or_many.rb +4 -4
  250. data/app/presenters/problem_presenter.rb +8 -8
  251. data/app/presenters/release_presenter.rb +4 -4
  252. data/app/presenters/sprint_task_presenter.rb +9 -9
  253. data/app/presenters/task_presenter.rb +8 -8
  254. data/app/presenters/tasks_excel_presenter.rb +6 -6
  255. data/app/presenters/tester_presenter.rb +3 -3
  256. data/app/presenters/testing_note_presenter.rb +4 -4
  257. data/app/presenters/testing_report_ticket_presenter.rb +9 -9
  258. data/app/presenters/ticket_presenter.rb +4 -4
  259. data/app/views/deploys/show.html.erb +8 -0
  260. data/app/views/jobs/show.html.erb +0 -34
  261. data/app/views/layouts/application.html.erb +1 -0
  262. data/app/views/layouts/minimal.html.erb +1 -0
  263. data/app/views/projects/_form.html.erb +0 -7
  264. data/app/views/releases/_form.html.erb +9 -3
  265. data/app/views/releases/index.html.erb +1 -1
  266. data/config/application.rb +1 -2
  267. data/config/database.yml +3 -3
  268. data/config/environments/production.rb +1 -1
  269. data/config/environments/test.rb +1 -1
  270. data/config/initializers/action_view_field_error_proc.rb +3 -3
  271. data/config/initializers/constants.rb +3 -3
  272. data/config/initializers/devise.rb +8 -8
  273. data/config/initializers/hard_coded_knowledge.rb +3 -3
  274. data/config/initializers/houston_async.rb +2 -2
  275. data/config/initializers/houston_report_exception.rb +3 -3
  276. data/config/initializers/houston_try.rb +3 -3
  277. data/config/initializers/sync_commits_on_post_receive.rb +0 -5
  278. data/config/routes.rb +108 -108
  279. data/db/migrate/20120417175450_devise_create_users.rb +2 -2
  280. data/db/migrate/20120501230243_add_unfuddle_id_to_tickets.rb +1 -1
  281. data/db/migrate/20120504143615_link_tickets_and_releases.rb +3 -3
  282. data/db/migrate/20120626150333_add_last_release_at_to_tickets.rb +2 -2
  283. data/db/migrate/20120626151320_link_tickets_and_commits.rb +2 -2
  284. data/db/migrate/20120626152020_add_committer_email_to_commits.rb +2 -2
  285. data/db/migrate/20120715230922_create_user_notifications.rb +3 -3
  286. data/db/migrate/20120716010743_add_user_to_releases.rb +3 -3
  287. data/db/migrate/20120726231754_link_projects_and_maintainers.rb +2 -2
  288. data/db/migrate/20120826022643_add_authentication_token_to_users.rb +2 -2
  289. data/db/migrate/20120920023251_add_administrator_to_users.rb +3 -3
  290. data/db/migrate/20121026014457_split_users_name_into_first_and_last.rb +2 -2
  291. data/db/migrate/20121027160548_create_deploys.rb +1 -1
  292. data/db/migrate/20121222170917_add_version_control_adapter_to_projects.rb +2 -2
  293. data/db/migrate/20121222223635_add_ticket_tracking_adapter_to_projects.rb +2 -2
  294. data/db/migrate/20121224212623_rename_environments.rb +3 -3
  295. data/db/migrate/20121225175106_replace_environment_id_with_environment_name.rb +8 -8
  296. data/db/migrate/20121230174234_create_test_runs.rb +3 -3
  297. data/db/migrate/20130119203853_remove_cached_queries_from_projects.rb +1 -1
  298. data/db/migrate/20130119204608_add_extended_attributes_to_tickets.rb +10 -10
  299. data/db/migrate/20130120182026_create_ticket_prerequisites.rb +2 -2
  300. data/db/migrate/20130312224911_create_errors.rb +1 -1
  301. data/db/migrate/20130407195450_create_roles.rb +2 -2
  302. data/db/migrate/20130407200624_populate_roles.rb +9 -9
  303. data/db/migrate/20130407220039_add_project_id_to_testing_notes.rb +6 -6
  304. data/db/migrate/20130407220937_add_project_id_to_commits.rb +6 -6
  305. data/db/migrate/20130416020627_add_environments_subscribed_to_to_users.rb +3 -3
  306. data/db/migrate/20130420174126_add_error_tracker_name_to_projects.rb +2 -2
  307. data/db/migrate/20130427223925_create_project_quotas.rb +2 -2
  308. data/db/migrate/20130504014802_add_extended_attributes_to_projects.rb +3 -3
  309. data/db/migrate/20130504135741_add_antecedents_to_tickets.rb +6 -6
  310. data/db/migrate/20130505144446_add_tags_to_tickets.rb +1 -1
  311. data/db/migrate/20130505162039_add_type_to_tickets.rb +1 -1
  312. data/db/migrate/20130505212838_add_closed_at_to_tickets.rb +1 -1
  313. data/db/migrate/20130519163615_create_user_credentials.rb +2 -2
  314. data/db/migrate/20130526024851_give_default_values_for_counts_from_test_runs.rb +2 -2
  315. data/db/migrate/20130710233849_add_authored_at_to_commits.rb +10 -10
  316. data/db/migrate/20130711013156_link_commits_and_users.rb +6 -6
  317. data/db/migrate/20130806143651_link_commits_and_releases.rb +2 -2
  318. data/db/migrate/20130921141449_create_milestones.rb +3 -3
  319. data/db/migrate/20131004185618_add_first_release_at_to_tickets.rb +2 -2
  320. data/db/migrate/20131012152403_create_sprints.rb +3 -3
  321. data/db/migrate/20131112010815_delete_duplicate_commits.rb +7 -7
  322. data/db/migrate/20140217160450_add_email_addresses_to_users.rb +3 -3
  323. data/db/migrate/20140327020121_drop_ticket_prerequisites.rb +1 -1
  324. data/db/migrate/20140406183224_remove_new_relic_id_from_projects.rb +1 -1
  325. data/db/migrate/20140406230121_delete_automatically_generated_messages_for_releases.rb +1 -1
  326. data/db/migrate/20140407010111_drop_sprints_project_id.rb +1 -1
  327. data/db/migrate/20140418133005_change_ticket_antecedents_to_text_array.rb +1 -1
  328. data/db/migrate/20140425141946_embed_changes_in_releases.rb +3 -3
  329. data/db/migrate/20140515174322_create_tasks.rb +3 -3
  330. data/db/migrate/20140516012049_create_tasks_for_existing_tickets.rb +1 -1
  331. data/db/migrate/20140517012626_prevent_hstore_fields_from_being_null.rb +2 -2
  332. data/db/migrate/20140521014652_allow_task_descriptions_to_be_null.rb +1 -1
  333. data/db/migrate/20140526155845_add_commit_id_to_deploys.rb +5 -5
  334. data/db/migrate/20140526162645_add_commit_before_id_and_commit_after_id_to_releases.rb +4 -4
  335. data/db/migrate/20140526180608_associate_remaining_deploys_and_releases.rb +12 -12
  336. data/db/migrate/20140724231918_create_sprints_tasks.rb +3 -3
  337. data/db/migrate/20140824194031_add_project_id_to_tasks.rb +1 -1
  338. data/db/migrate/20140824194526_add_completed_at_to_tasks.rb +3 -3
  339. data/db/migrate/20140824211249_require_sprints_to_be_unique.rb +1 -1
  340. data/db/migrate/20140907012329_drop_table_changes.rb +1 -1
  341. data/db/migrate/20140907013836_drop_table_errors.rb +1 -1
  342. data/db/migrate/20140921190022_add_checked_out_to_sprints_tasks.rb +2 -2
  343. data/db/migrate/20140921201441_drop_users_name.rb +1 -1
  344. data/db/migrate/20140925021043_rename_deploys_commit_to_sha.rb +1 -1
  345. data/db/migrate/20140929004347_create_historical_heads.rb +4 -4
  346. data/db/migrate/20141027194819_make_users_environments_subscribed_to_an_array.rb +2 -2
  347. data/db/migrate/20141226171730_create_measurements.rb +1 -1
  348. data/db/migrate/20150119154013_drop_unused_fields_from_milestones.rb +1 -1
  349. data/db/migrate/20150222205616_add_features_to_projects.rb +2 -2
  350. data/db/migrate/20150323004452_add_deploys_completed_at.rb +1 -1
  351. data/db/migrate/20150805180939_add_commit_id_to_test_runs.rb +1 -1
  352. data/db/migrate/20150808161805_create_test_results.rb +1 -1
  353. data/db/migrate/20150809132417_rename_test_results_regression_to_difference.rb +1 -1
  354. data/db/migrate/20150927014445_required_pull_requests_to_be_unique_by_project_and_number.rb +13 -0
  355. data/db/structure.sql +9 -0
  356. data/houston.gemspec +23 -26
  357. data/lib/configuration.rb +0 -5
  358. data/lib/core_ext/duration.rb +4 -4
  359. data/lib/core_ext/hash.rb +17 -17
  360. data/lib/houston/version.rb +1 -1
  361. data/lib/houston_server.rb +6 -6
  362. data/lib/parallel_enumerable.rb +16 -16
  363. data/lib/tasks/specific_tests.rake +37 -0
  364. metadata +91 -107
  365. data/app/interactors/push_gemfile_to_gemnasium.rb +0 -88
  366. data/app/models/gemnasium/alert.rb +0 -25
  367. data/app/views/welcome/_tdl.html.erb +0 -31
  368. data/config/initializers/houston_tdl.rb +0 -104
@@ -1,14 +1,14 @@
1
- window.App =
2
-
1
+ window.App =
2
+
3
3
  meta: (name)->
4
4
  $("meta[name=\"#{name}\"]").attr('content')
5
-
5
+
6
6
  serverDateFormat: d3.time.format('%Y-%m-%d')
7
-
7
+
8
8
  parseDate: (date)->
9
9
  return date unless _.isString(date)
10
10
  @serverDateFormat.parse date.slice(0, 10)
11
-
11
+
12
12
  checkRevision: (jqXHR)->
13
13
  @clientRevision ||= App.meta('revision')
14
14
  serverRevision = jqXHR.getResponseHeader('X-Revision')
@@ -18,12 +18,12 @@ window.App =
18
18
  window.location.reload()
19
19
  else
20
20
  window.console.log("[App.checkRevision] serverRevision is blank")
21
-
21
+
22
22
  relativeRoot: ->
23
23
  relativeRoot = App.meta('relative_url_root')
24
24
  relativeRoot = relativeRoot.substring(0, relativeRoot.length - 1) if /\/$/.test(relativeRoot)
25
25
  relativeRoot
26
-
26
+
27
27
  mdown: (markdown)->
28
28
  return '' unless markdown
29
29
  converter = new Markdown.Converter()
@@ -36,15 +36,15 @@ window.App =
36
36
  "<img alt=\"#{$1}\" height=\"20\" width=\"20\" src=\"#{App.relativeRoot()}/images/emoji/#{$1}.png\" class=\"emoji\" />"
37
37
  else
38
38
  match
39
-
39
+
40
40
  formatTicketSummary: (message)->
41
41
  message = Handlebars.Utils.escapeExpression(message)
42
42
  [feature, sentence] = message.split(':', 2)
43
43
  if sentence then "<b>#{feature}:</b>#{sentence}" else message
44
-
44
+
45
45
  formatPercent: (number)->
46
46
  (number * 100).toFixed(0) + '%'
47
-
47
+
48
48
  showErrorMessage: (title, responseText)->
49
49
  html = """
50
50
  <div class="modal hide">
@@ -62,30 +62,30 @@ window.App =
62
62
  """
63
63
  $modal = $(html).modal()
64
64
  $modal.on 'hidden', -> $(@).remove()
65
-
65
+
66
66
  uploadComplete: (id, args...)->
67
67
  $(id).trigger('upload:complete', args)
68
-
68
+
69
69
  toggleFullScreen: ->
70
70
  $body = $('body')
71
-
71
+
72
72
  $body.keypress (e)->
73
73
  if e.which is 102 # f
74
74
  $body.toggleClass('full-screen')
75
75
  window.location.hash = $body.attr('class')
76
76
  kanbanObj.setKanbanHeight() if window.kanbanObj # TMI: extract to event
77
-
77
+
78
78
  $body.keydown (e)->
79
79
  if e.keyCode is 27
80
80
  $body.removeClass('full-screen')
81
81
  window.location.hash = ''
82
82
  kanbanObj.setKanbanHeight() if window.kanbanObj # TMI: extract to event
83
-
83
+
84
84
  options = window.location.hash.substring(1).split(' ')
85
85
  if _.include(options, 'full-screen')
86
86
  $body.toggleClass('full-screen')
87
87
  kanbanObj.setKanbanHeight() if window.kanbanObj # TMI: extract to events
88
-
88
+
89
89
  showNewTicket: (options)->
90
90
  options ?= {}
91
91
  $banner = $('.project-banner')
@@ -93,10 +93,10 @@ window.App =
93
93
  color = $banner.attr('data-project-color')
94
94
  if slug and $('#new_ticket_modal').length is 0
95
95
  new NewTicketModal(_.extend(options, slug: slug, color: color)).show()
96
-
96
+
97
97
  oauth: (url)->
98
98
  window.location = url
99
-
99
+
100
100
  truncateDate: (date)->
101
101
  return date unless date.setHours
102
102
  date.setHours(0)
@@ -104,15 +104,15 @@ window.App =
104
104
  date.setSeconds(0)
105
105
  date.setMilliseconds(0)
106
106
  date
107
-
107
+
108
108
  truncatedDate: (date)->
109
109
  date = new Date(date.getTime())
110
110
  App.truncateDate(date)
111
-
111
+
112
112
  showTicket: (number, project, options)->
113
113
  project = project || $('.project-banner').attr('data-project-slug')
114
114
  return false unless number and project
115
-
115
+
116
116
  options ||= {}
117
117
  options.project = project
118
118
  $context = options.$context || $('#tickets')
@@ -120,7 +120,7 @@ window.App =
120
120
  options.ticketNumbers = numbers if numbers.length > 0
121
121
  options.edit = window.user.canEditTickets() if window.user
122
122
  new TicketModalView(options).show(number)
123
-
123
+
124
124
  promptForCredentialsTo: (service)->
125
125
  html = """
126
126
  <div class="modal hide fade">
@@ -1,5 +1,5 @@
1
1
  class Houston.BurndownChart
2
-
2
+
3
3
  constructor: ->
4
4
  @_margin = {top: 40, right: 0, bottom: 24, left: 50}
5
5
  @_selector = '#graph'
@@ -10,60 +10,60 @@ class Houston.BurndownChart
10
10
  @_regressions = {}
11
11
  $(window).resize (e)=>
12
12
  @render() if e.target is window
13
-
13
+
14
14
  margin: (@_margin)-> @
15
15
  height: (@_height)-> @
16
16
  selector: (@_selector)-> @$el = $(@_selector); @
17
- dateFormat: (@_dateFormat)-> @
17
+ dateFormat: (@_dateFormat)-> @
18
18
  days: (@days)-> @
19
19
  totalEffort: (@_totalEffort)-> @
20
20
  addLine: (slug, data)-> @_lines[slug] = data; @
21
21
  addRegression: (slug, data)-> @_regressions[slug] = data; @
22
-
22
+
23
23
  render: ->
24
24
  width = @$el.width() || 960
25
25
  height = @_height
26
26
  graphWidth = width - @_margin.left - @_margin.right
27
27
  graphHeight = height - @_margin.top - @_margin.bottom
28
-
28
+
29
29
  totalEffort = @_totalEffort
30
30
  unless totalEffort
31
31
  for slug, data of @_lines
32
32
  totalEffort = data[0].effort if data[0] and data[0].effort > totalEffort
33
-
33
+
34
34
  formatDate = @_dateFormat || d3.time.format('%A')
35
-
35
+
36
36
  [min, max] = d3.extent(@days)
37
37
  x = d3.scale.ordinal().rangePoints([0, graphWidth], 0.75).domain(@days)
38
38
  y = d3.scale.linear().range([graphHeight, 0]).domain([0, totalEffort])
39
39
  rx = d3.scale.linear().range([x(min), x(max)]).domain([min, max])
40
-
40
+
41
41
  xAxis = d3.svg.axis()
42
42
  .scale(x)
43
43
  .orient('bottom')
44
44
  .tickFormat((d)=> formatDate(new Date(d)))
45
-
45
+
46
46
  yAxis = d3.svg.axis()
47
47
  .scale(y)
48
48
  .orient('left')
49
-
49
+
50
50
  line = d3.svg.line()
51
51
  .interpolate('linear')
52
52
  .x((d)-> x(d.day))
53
53
  .y((d)-> y(d.effort))
54
-
54
+
55
55
  @$el.empty()
56
56
  svg = d3.select(@_selector).append('svg')
57
57
  .attr('width', width)
58
58
  .attr('height', height)
59
59
  .append('g')
60
60
  .attr('transform', "translate(#{@_margin.left},#{@_margin.top})")
61
-
61
+
62
62
  svg.append('g')
63
63
  .attr('class', 'x axis')
64
64
  .attr('transform', "translate(0,#{graphHeight})")
65
65
  .call(xAxis)
66
-
66
+
67
67
  svg.append('g')
68
68
  .attr('class', 'y axis')
69
69
  .call(yAxis)
@@ -75,9 +75,9 @@ class Houston.BurndownChart
75
75
  .attr('class', 'legend')
76
76
  .style('text-anchor', 'end')
77
77
  .text('Points Remaining')
78
-
79
-
80
-
78
+
79
+
80
+
81
81
  for slug, data of @_regressions
82
82
  svg.append('line')
83
83
  .attr('class', "regression regression-#{slug}")
@@ -85,14 +85,14 @@ class Houston.BurndownChart
85
85
  .attr('y1', y(data.y1))
86
86
  .attr('x2', rx(data.x2))
87
87
  .attr('y2', y(data.y2))
88
-
89
-
90
-
88
+
89
+
90
+
91
91
  for slug, data of @_lines
92
92
  svg.append('path')
93
93
  .attr('class', "line line-#{slug}")
94
94
  .attr('d', line(data))
95
-
95
+
96
96
  svg.selectAll("circle.circle-#{slug}")
97
97
  .data(data)
98
98
  .enter()
@@ -101,7 +101,7 @@ class Houston.BurndownChart
101
101
  .attr('r', 5)
102
102
  .attr('cx', (d)-> x(d.day))
103
103
  .attr('cy', (d)-> y(d.effort))
104
-
104
+
105
105
  svg.selectAll(".effort-remaining.effort-#{slug}")
106
106
  .data(data)
107
107
  .enter()
@@ -1,5 +1,5 @@
1
1
  class window.Errors
2
-
2
+
3
3
  constructor: (response)->
4
4
  if response.status == 401
5
5
  if response.getResponseHeader('X-Credentials') == 'Missing Credentials'
@@ -13,7 +13,7 @@ class window.Errors
13
13
  @errors = {base: [message]}
14
14
  else
15
15
  @errors = JSON.parse(response.responseText)
16
-
16
+
17
17
  renderToAlert: ->
18
18
  sentences = []
19
19
  for attribute, messages of @errors
@@ -72,12 +72,12 @@ Handlebars.registerHelper 'testerAvatar', (email, size, title)->
72
72
  tester = window.testers.findByEmail(email)
73
73
  gravatarUrl = "//www.gravatar.com/avatar/#{MD5(email.toLowerCase().trim())}?r=g&d=retro&s=#{size * 2}"
74
74
  "<img src=\"#{gravatarUrl}\" width=\"#{size}\" height=\"#{size}\" rel=\"tooltip\" title=\"#{tester.get('name')}\" />"
75
-
75
+
76
76
  Handlebars.registerHelper 'userAvatar', (size)->
77
77
  user = window.user
78
78
  gravatarUrl = "//www.gravatar.com/avatar/#{MD5(user.get('email').toLowerCase().trim())}?r=g&d=retro&s=#{size * 2}"
79
79
  "<img src=\"#{gravatarUrl}\" width=\"#{size}\" height=\"#{size}\" rel=\"tooltip\" title=\"#{user.get('name')}\" />"
80
-
80
+
81
81
  Handlebars.registerHelper 'avatar', (email, size, title)->
82
82
  return "<img class=\"avatar avatar-empty\" width=\"#{size}\" height=\"#{size}\" />" unless email
83
83
  gravatarUrl = "//www.gravatar.com/avatar/#{MD5(email.toLowerCase().trim())}?r=g&d=retro&s=#{size * 2}"
@@ -85,7 +85,7 @@ Handlebars.registerHelper 'avatar', (email, size, title)->
85
85
  "<img src=\"#{gravatarUrl}\" class=\"avatar\" width=\"#{size}\" height=\"#{size}\" rel=\"tooltip\" title=\"#{title}\" />"
86
86
  else
87
87
  "<img src=\"#{gravatarUrl}\" class=\"avatar\" width=\"#{size}\" height=\"#{size}\" />"
88
-
88
+
89
89
  Handlebars.registerHelper 'ifEq', (v1, v2, block)->
90
90
  if v1 == v2
91
91
  block.fn(@)
@@ -107,11 +107,11 @@ Handlebars.registerHelper 'timelineDateRange', (lastDate, date)->
107
107
  return Handlebars.helpers.timelineDate(date) unless lastDate
108
108
  days = (lastDate - date) / Duration.DAY
109
109
  return Handlebars.helpers.timelineDateAfterGap(date) if days >= 3
110
-
110
+
111
111
  _.inject [0...days],
112
112
  ((html, i)-> html + Handlebars.helpers.timelineDate((i + 1).days().before(lastDate)))
113
113
  , ''
114
-
114
+
115
115
  Handlebars.registerHelper 'timelineDate', (date)->
116
116
  format = d3.time.format """
117
117
  <div class="timeline-date">
@@ -122,7 +122,7 @@ Handlebars.registerHelper 'timelineDate', (date)->
122
122
  </div>
123
123
  """
124
124
  format Date.create(date)
125
-
125
+
126
126
  Handlebars.registerHelper 'timelineTime', (time)->
127
127
  format = d3.time.format('<span class="timeline-event-time">%-I:%M%p</span>')
128
128
  format Date.create(time)
@@ -1,20 +1,20 @@
1
1
  $.fn.extend
2
-
2
+
3
3
  pseudoHover: ->
4
4
  $(@).addClass('unhovered').hover(
5
5
  -> $(@).addClass('hover').removeClass('unhovered'),
6
6
  -> $(@).removeClass('hover').addClass('unhovered'))
7
-
7
+
8
8
  appendView: (view)->
9
9
  el = @append(view.el)
10
10
  view.render()
11
11
  el
12
-
12
+
13
13
  prependView: (view)->
14
14
  el = @prepend(view.el)
15
15
  view.render()
16
16
  el
17
-
17
+
18
18
  serializeObject: ->
19
19
  o = {}
20
20
  a = @serializeArray()
@@ -26,19 +26,19 @@ $.fn.extend
26
26
  else
27
27
  o[@name] = @value || ''
28
28
  o
29
-
29
+
30
30
  highlight: ->
31
31
  $(@).effect('highlight', {}, 1500)
32
-
32
+
33
33
  reset: ->
34
34
  $(@).each -> @reset()
35
-
35
+
36
36
  disable: ->
37
37
  $(@).find('input[type="submit"], input[type="reset"], button').attr('disabled', 'disabled').end()
38
-
38
+
39
39
  enable: ->
40
40
  $(@).find('input[type="submit"], input[type="reset"], button').removeAttr('disabled').end()
41
-
41
+
42
42
  getCursorPosition: ->
43
43
  input = @get(0)
44
44
  return unless input
@@ -50,7 +50,7 @@ $.fn.extend
50
50
  selLen = document.selection.createRange().text.length
51
51
  sel.moveStart 'character', -input.value.length
52
52
  sel.text.length - selLen
53
-
53
+
54
54
  appendAsAlert: ->
55
55
  $alerts = $('#body .alert')
56
56
  $newAlert = $(@)
@@ -61,35 +61,35 @@ $.fn.extend
61
61
  $newAlert.prependTo($('#body')).alert()
62
62
  else
63
63
  $newAlert.prependTo($('#body')).alert()
64
-
64
+
65
65
  putCursorAtEnd: ->
66
66
  @each ->
67
67
  $(@).focus()
68
-
68
+
69
69
  # If this function exists...
70
70
  if @setSelectionRange
71
71
  # ... then use it (Doesn't work in IE)
72
-
72
+
73
73
  # Double the length because Opera is inconsistent about whether a carriage return is one character or two. Sigh.
74
74
  len = $(@).val().length * 2
75
-
75
+
76
76
  @setSelectionRange(len, len)
77
77
  else
78
-
78
+
79
79
  # ... otherwise replace the contents with itself
80
80
  # (Doesn't work in Google Chrome)
81
-
81
+
82
82
  $(@).val($(@).val())
83
-
83
+
84
84
  insertAtCursor: (text)->
85
85
  textarea = @[0]
86
-
86
+
87
87
  # IE support
88
88
  if document.selection
89
89
  textarea.focus()
90
90
  sel = document.selection.createRange()
91
91
  sel.text = text
92
-
92
+
93
93
  # MOZILLA and others
94
94
  else if textarea.selectionStart || textarea.selectionStart == '0'
95
95
  startPos = textarea.selectionStart
@@ -97,13 +97,13 @@ $.fn.extend
97
97
  textarea.value = textarea.value.substring(0, startPos) + text + textarea.value.substring(endPos, textarea.value.length)
98
98
  textarea.selectionStart = startPos + text.length
99
99
  textarea.selectionEnd = startPos + text.length
100
-
100
+
101
101
  else
102
102
  textarea.value += text
103
-
103
+
104
104
  supportImages: ->
105
105
  $el = @
106
-
106
+
107
107
  $el.append '''
108
108
  <div class="drag-and-drop">
109
109
  Attach images by dragging &amp; dropping them or <a class="dz-selector">selecting them</a>.
@@ -111,7 +111,7 @@ $.fn.extend
111
111
  <div class="upload-progress"></div>
112
112
  <div class="upload-error"></div>
113
113
  '''
114
-
114
+
115
115
  bucket = App.meta('s3-bucket')
116
116
  $el.dropzone
117
117
  maxFilesize: 13 # MB
@@ -120,18 +120,18 @@ $.fn.extend
120
120
  url: "//#{bucket}.s3.amazonaws.com"
121
121
  uploadprogress: (file, progress)->
122
122
  $el.find('.upload-progress').html "Uploading #{file.name} (#{progress.toFixed(0)}% complete)"
123
-
123
+
124
124
  complete: ->
125
125
  if @getUploadingFiles().length is 0 and @getQueuedFiles().length is 0
126
126
  $el.removeClass('uploading')
127
-
127
+
128
128
  error: (file, errorMessage)->
129
129
  $el.addClass('error')
130
130
  $el.find('.upload-error').html """
131
131
  <span class="message">#{errorMessage}</span>
132
132
  <a class="dz-selector">Try again</a>"
133
133
  """
134
-
134
+
135
135
  sending: (file, xhr, formData)=>
136
136
  $el.removeClass('error').addClass('uploading')
137
137
  $el.find('.upload-progress').html "Uploading #{file.name}..."
@@ -155,11 +155,11 @@ $.extend
155
155
  if jQuery.isFunction(data)
156
156
  callback = data
157
157
  data = {}
158
-
158
+
159
159
  data = data || {}
160
160
  data['_method'] = 'put'
161
161
  jQuery.post(url, data, callback, type)
162
-
162
+
163
163
  destroy: (url, data, callback, type)->
164
164
  if jQuery.isFunction(data)
165
165
  callback = data
@@ -1,6 +1,6 @@
1
1
  class @Refresher
2
2
  τ = 2 * Math.PI # http://tauday.com/tau-manifesto
3
-
3
+
4
4
  constructor: ->
5
5
  @_rate = 1000 # 1 second
6
6
  @_interval = 5 * 60 * 1000 # 5 minutes
@@ -9,12 +9,12 @@ class @Refresher
9
9
  @innerRadius = @width / 3
10
10
  @outerRadius = @width / 2
11
11
  @_container = 'body'
12
-
12
+
13
13
  rate: (@_rate)-> @
14
14
  container: (@_container)-> @
15
15
  interval: (@_interval)-> @
16
16
  callback: (@_callback)-> @
17
-
17
+
18
18
  render: ->
19
19
  # An arc function with all values bound except the endAngle. So, to compute an
20
20
  # SVG path string for a given angle, we pass an object with an endAngle
@@ -104,7 +104,7 @@ class @Refresher
104
104
  # Calculate the current arc angle based on the transition time, t. Since
105
105
  # the t for the transition and the t for the interpolate both range from
106
106
  # 0 to 1, we can pass t directly to the interpolator.
107
-
107
+
108
108
  # Note that the interpolated angle is written into the element's bound
109
109
  # data object! This is important: it means that if the transition were
110
110
  # interrupted, the data bound to the element would still be consistent
@@ -11,12 +11,12 @@
11
11
  white-space: pre-wrap;
12
12
  background-color: #33302c;
13
13
  color: #989897;
14
-
14
+
15
15
  &, * {
16
16
  &::selection { background: #474441; } // WebKit/Blink Browsers
17
17
  &::-moz-selection { background: #474441; } // Gecko Browsers
18
18
  }
19
-
19
+
20
20
  .ansi-bold { font-weight: bold; }
21
21
  .ansi-underline { text-decoration: underline; }
22
22
  .ansi-black { color: rgb(0, 35, 44); }
@@ -1,5 +1,5 @@
1
1
  .commit-profile {
2
-
2
+
3
3
  .avatar { float: left; margin: 0 14px 14px 0; }
4
4
  h2 { font-weight: 100; margin-left: 110px; }
5
5
  h4 { font-weight: 400; }
@@ -9,14 +9,14 @@ $completed-foreground: rgb(42, 133, 19);
9
9
  a { color: $completed-foreground; }
10
10
  .exception-comments { background: #DFECDC; }
11
11
  }
12
-
12
+
13
13
  .fa-check-sign {
14
14
  font-size: 19px;
15
15
  color: #666;
16
16
  }
17
17
  }
18
18
  &.hide-completed .exception.has-ticket { display: none; }
19
-
19
+
20
20
  .buttons { text-align: center; }
21
21
  .exception-summary { max-width: 30em; }
22
22
  .exception-message { word-break: break-all; }
@@ -39,7 +39,7 @@ $completed-foreground: rgb(42, 133, 19);
39
39
  text-overflow: ellipsis;
40
40
  font-size: 0.9em;
41
41
  color: #484848;
42
-
42
+
43
43
  p { display: inline; }
44
44
  }
45
45
  .exception-first, .exception-last {
@@ -1,12 +1,12 @@
1
1
  .find-or-create-ticket {
2
2
  form { margin: 0; }
3
3
  .create-ticket { display: none; }
4
-
4
+
5
5
  &.no-suggestions.has-content .create-ticket {
6
6
  display: block;
7
7
  position: absolute;
8
8
  padding: 0.5em 1em;
9
9
  }
10
-
10
+
11
11
  padding-bottom: 1.5em;
12
12
  }
@@ -18,7 +18,7 @@
18
18
  .followup-customer-info {
19
19
  overflow: hidden;
20
20
  line-height: 1.66em;
21
-
21
+
22
22
  dt { float: left; clear: left; font-weight: bold; width: 80px; }
23
23
  dd { float: left; margin-left: 0; }
24
24
  }
@@ -36,7 +36,7 @@
36
36
  ol.followup-history {
37
37
  margin: 3em 0 0 0;
38
38
  padding: 0 0 0 2em;
39
-
39
+
40
40
  li {
41
41
  display: block;
42
42
  margin: 1em 0;
@@ -25,8 +25,8 @@ form.button_to {
25
25
  .controls > ul {
26
26
  margin: 0 0 5px 0;
27
27
  padding: 5px 0 0 0;
28
-
29
- li { list-style-type: none; }
28
+
29
+ li { list-style-type: none; }
30
30
  }
31
31
 
32
32
  @media only screen and (max-width: 600px) {
@@ -1,14 +1,14 @@
1
1
  .nested.editor ol {
2
2
  margin: 0;
3
3
  padding: 0;
4
-
4
+
5
5
  li {
6
6
  list-style: none;
7
7
  margin: 0;
8
-
8
+
9
9
  &.change { padding: 0; white-space: nowrap; }
10
-
11
- div {
10
+
11
+ div {
12
12
  display: inline-block;
13
13
  margin-right: 0.5em;
14
14
  margin: 1px 0;
@@ -23,7 +23,7 @@
23
23
  }
24
24
 
25
25
 
26
- .add-link, .delete-link {
26
+ .add-link, .delete-link {
27
27
  display: inline-block;
28
28
  width: 16px;
29
29
  height: 16px;
@@ -1,8 +1,8 @@
1
1
  body.full-screen {
2
-
2
+
3
3
  .dashboard {
4
4
  top: 0;
5
5
  z-index: 2000;
6
6
  }
7
-
7
+
8
8
  }
@@ -1,7 +1,7 @@
1
1
  .infinite-scroll {
2
2
  padding-bottom: 6em;
3
3
  position: relative;
4
-
4
+
5
5
  .spinner { display: none; }
6
6
  &.loading .spinner {
7
7
  position: absolute;
@@ -1,5 +1,5 @@
1
1
  .keyboard-shortcuts {
2
-
2
+
3
3
  dt {
4
4
  float: left;
5
5
  clear: left;
@@ -7,13 +7,13 @@
7
7
  text-align: right;
8
8
  padding: 4px 0;
9
9
  }
10
-
10
+
11
11
  dd {
12
12
  margin-left: 100px;
13
13
  padding: 4px 0;
14
14
  line-height: 24px;
15
15
  }
16
-
16
+
17
17
  .key {
18
18
  display: inline-block;
19
19
  min-width: 20px;