Permalink
Browse files

move to new home

  • Loading branch information...
peh committed Feb 8, 2017
1 parent 4b9b6e6 commit 1122be30ccb14e7b285dabb0beea414bf597a82b
Showing with 11,049 additions and 0 deletions.
  1. +4 −0 .babelrc
  2. +116 −0 .bootstraprc
  3. +34 −0 .editorconfig
  4. +35 −0 .eslintrc
  5. +40 −0 .gitignore
  6. +33 −0 .jscsrc
  7. +16 −0 Dockerfile
  8. +158 −0 build.gradle
  9. +113 −0 default-config.groovy
  10. +45 −0 docker-compose.yml
  11. +4 −0 gradle.properties
  12. BIN gradle/wrapper/gradle-wrapper.jar
  13. +6 −0 gradle/wrapper/gradle-wrapper.properties
  14. +160 −0 gradlew
  15. +90 −0 gradlew.bat
  16. BIN grails-app/assets/images/apple-touch-icon-retina.png
  17. BIN grails-app/assets/images/apple-touch-icon.png
  18. BIN grails-app/assets/images/brand.png
  19. BIN grails-app/assets/images/favicon.ico
  20. +44 −0 grails-app/assets/images/grails-cupsonly-logo-white.svg
  21. BIN grails-app/assets/images/nav-logo.png
  22. BIN grails-app/assets/images/sidebar-logo.png
  23. BIN grails-app/assets/images/skin/database_add.png
  24. BIN grails-app/assets/images/skin/database_delete.png
  25. BIN grails-app/assets/images/skin/database_edit.png
  26. BIN grails-app/assets/images/skin/database_save.png
  27. BIN grails-app/assets/images/skin/database_table.png
  28. BIN grails-app/assets/images/skin/exclamation.png
  29. BIN grails-app/assets/images/skin/house.png
  30. BIN grails-app/assets/images/skin/information.png
  31. BIN grails-app/assets/images/skin/shadow.jpg
  32. BIN grails-app/assets/images/skin/sorted_asc.gif
  33. BIN grails-app/assets/images/skin/sorted_desc.gif
  34. BIN grails-app/assets/images/spinner.gif
  35. BIN grails-app/assets/images/website/details-small.png
  36. BIN grails-app/assets/images/website/details.png
  37. BIN grails-app/assets/images/website/docker.png
  38. BIN grails-app/assets/images/website/grails-small.png
  39. BIN grails-app/assets/images/website/grails.png
  40. BIN grails-app/assets/images/website/iphone-landscape.png
  41. BIN grails-app/assets/images/website/list-small.png
  42. BIN grails-app/assets/images/website/list.png
  43. BIN grails-app/assets/images/website/react-small.png
  44. BIN grails-app/assets/images/website/react.png
  45. BIN grails-app/assets/images/website/tech.png
  46. +5 −0 grails-app/assets/javascripts/app.es6
  47. +95 −0 grails-app/assets/javascripts/app/app.js
  48. +108 −0 grails-app/assets/javascripts/app/components/application/application-add.js
  49. +203 −0 grails-app/assets/javascripts/app/components/application/application-settings.js
  50. +80 −0 grails-app/assets/javascripts/app/components/application/deployment-list.js
  51. +80 −0 grails-app/assets/javascripts/app/components/application/list.js
  52. +24 −0 grails-app/assets/javascripts/app/components/errors/common/similar-pill.js
  53. +89 −0 grails-app/assets/javascripts/app/components/errors/details-table.js
  54. +39 −0 grails-app/assets/javascripts/app/components/errors/entry-delete-button.js
  55. +335 −0 grails-app/assets/javascripts/app/components/errors/entry-details.js
  56. +114 −0 grails-app/assets/javascripts/app/components/errors/entry-histogram.js
  57. +21 −0 grails-app/assets/javascripts/app/components/errors/entry-location-item.js
  58. +20 −0 grails-app/assets/javascripts/app/components/errors/entry-refind-button.js
  59. +23 −0 grails-app/assets/javascripts/app/components/errors/entry-report-button.js
  60. +24 −0 grails-app/assets/javascripts/app/components/errors/entry-resolve-button.js
  61. +178 −0 grails-app/assets/javascripts/app/components/errors/error-list.js
  62. +53 −0 grails-app/assets/javascripts/app/components/errors/list-row.js
  63. +27 −0 grails-app/assets/javascripts/app/components/errors/search-bar.jsx
  64. +333 −0 grails-app/assets/javascripts/app/components/lib/autocomplete.js
  65. +263 −0 grails-app/assets/javascripts/app/components/main.js
  66. +20 −0 grails-app/assets/javascripts/app/components/mixins/can-throw-error-mixin.js
  67. +25 −0 grails-app/assets/javascripts/app/components/mixins/handles-pause-state-mixin.js
  68. +34 −0 grails-app/assets/javascripts/app/components/mixins/me-mixin.js
  69. +12 −0 grails-app/assets/javascripts/app/components/mixins/navigates-mixin.js
  70. +26 −0 grails-app/assets/javascripts/app/components/mixins/set-interval-mixin.js
  71. +53 −0 grails-app/assets/javascripts/app/components/monitorings/histogram.js
  72. +16 −0 grails-app/assets/javascripts/app/components/monitorings/icon.jsx
  73. +48 −0 grails-app/assets/javascripts/app/components/monitorings/monitoring-add.js
  74. +122 −0 grails-app/assets/javascripts/app/components/monitorings/monitoring-details.js
  75. +87 −0 grails-app/assets/javascripts/app/components/monitorings/monitoring-list-row.js
  76. +235 −0 grails-app/assets/javascripts/app/components/monitorings/monitoring-list.js
  77. +85 −0 grails-app/assets/javascripts/app/components/monitorings/server-form.js
  78. +86 −0 grails-app/assets/javascripts/app/components/monitorings/service-checks-list.js
  79. +69 −0 grails-app/assets/javascripts/app/components/monitorings/service-form.js
  80. +12 −0 grails-app/assets/javascripts/app/components/navbar/item-text.jsx
  81. +48 −0 grails-app/assets/javascripts/app/components/navbar/item.js
  82. +19 −0 grails-app/assets/javascripts/app/components/navbar/link-item.jsx
  83. +26 −0 grails-app/assets/javascripts/app/components/navbar/logout-item.js
  84. +23 −0 grails-app/assets/javascripts/app/components/navbar/me-item.js
  85. +42 −0 grails-app/assets/javascripts/app/components/navbar/navbar.js
  86. +22 −0 grails-app/assets/javascripts/app/components/navbar/pause-item.js
  87. +68 −0 grails-app/assets/javascripts/app/components/navbar/search-form.js
  88. +98 −0 grails-app/assets/javascripts/app/components/navbar/sidebar.js
  89. +69 −0 grails-app/assets/javascripts/app/components/pager/main.jsx
  90. +27 −0 grails-app/assets/javascripts/app/components/pager/next-button.jsx
  91. +25 −0 grails-app/assets/javascripts/app/components/pager/page-button.jsx
  92. +26 −0 grails-app/assets/javascripts/app/components/pager/prev-button.jsx
  93. +169 −0 grails-app/assets/javascripts/app/components/tools/base-component.js
  94. +18 −0 grails-app/assets/javascripts/app/components/tools/formated-date.js
  95. +12 −0 grails-app/assets/javascripts/app/components/tools/from-now.js
  96. +19 −0 grails-app/assets/javascripts/app/components/tools/hero.js
  97. +14 −0 grails-app/assets/javascripts/app/components/tools/icon.js
  98. +19 −0 grails-app/assets/javascripts/app/components/tools/loading-hero.js
  99. +19 −0 grails-app/assets/javascripts/app/components/tools/object-dl.js
  100. +18 −0 grails-app/assets/javascripts/app/components/tools/submit-button.js
  101. +51 −0 grails-app/assets/javascripts/app/components/tools/validateable-input.js
  102. +66 −0 grails-app/assets/javascripts/app/components/users/login.js
  103. +214 −0 grails-app/assets/javascripts/app/components/users/user-details.js
  104. +37 −0 grails-app/assets/javascripts/app/components/users/user-list-row.js
  105. +56 −0 grails-app/assets/javascripts/app/components/users/user-list.js
  106. +21 −0 grails-app/assets/javascripts/app/events/application-events.js
  107. +12 −0 grails-app/assets/javascripts/app/events/entry-events.js
  108. +13 −0 grails-app/assets/javascripts/app/events/monitoring-events.js
  109. +9 −0 grails-app/assets/javascripts/app/events/user-events.js
  110. +58 −0 grails-app/assets/javascripts/app/services/application-service.js
  111. +89 −0 grails-app/assets/javascripts/app/services/base-service.js
  112. +31 −0 grails-app/assets/javascripts/app/services/configuration-service.js
  113. +24 −0 grails-app/assets/javascripts/app/services/deployment-service.js
  114. +81 −0 grails-app/assets/javascripts/app/services/error-service.js
  115. +53 −0 grails-app/assets/javascripts/app/services/monitoring-service.js
  116. +48 −0 grails-app/assets/javascripts/app/services/server-service.js
  117. +100 −0 grails-app/assets/javascripts/app/services/user-service.js
  118. +36 −0 grails-app/assets/javascripts/app/tools/local-storage.js
  119. +107 −0 grails-app/assets/stylesheets/app/_sidebar.scss
  120. +72 −0 grails-app/assets/stylesheets/app/_variables.scss
  121. +63 −0 grails-app/assets/stylesheets/app/components/_entry-details.scss
  122. +85 −0 grails-app/assets/stylesheets/app/components/_list-row.scss
  123. +118 −0 grails-app/assets/stylesheets/app/components/_monitoring-list.scss
  124. +37 −0 grails-app/assets/stylesheets/app/components/_pagination.scss
  125. +383 −0 grails-app/assets/stylesheets/app/main.scss
  126. +46 −0 grails-app/conf/application.groovy
  127. +118 −0 grails-app/conf/application.yml
  128. +39 −0 grails-app/conf/logback.groovy
  129. +4 −0 grails-app/conf/spring/resources.groovy
  130. +86 −0 grails-app/controllers/errbuddy/AbstractAppApiController.groovy
  131. +72 −0 grails-app/controllers/errbuddy/ApiController.groovy
  132. +42 −0 grails-app/controllers/errbuddy/ApiInterceptor.groovy
  133. +63 −0 grails-app/controllers/errbuddy/AppApiApplicationController.groovy
  134. +19 −0 grails-app/controllers/errbuddy/AppApiDeploymentController.groovy
  135. +118 −0 grails-app/controllers/errbuddy/AppApiEntryGroupController.groovy
  136. +110 −0 grails-app/controllers/errbuddy/AppApiMonitoringController.groovy
  137. +111 −0 grails-app/controllers/errbuddy/AppApiUserController.groovy
  138. +6 −0 grails-app/controllers/errbuddy/PageController.groovy
  139. +13 −0 grails-app/controllers/errbuddy/ShortlinkController.groovy
  140. +67 −0 grails-app/controllers/errbuddy/UrlMappings.groovy
  141. +56 −0 grails-app/domain/errbuddy/App.groovy
  142. +26 −0 grails-app/domain/errbuddy/Deployment.groovy
  143. +118 −0 grails-app/domain/errbuddy/Entry.groovy
  144. +68 −0 grails-app/domain/errbuddy/EntryGroup.groovy
  145. +32 −0 grails-app/domain/errbuddy/Filter.groovy
  146. +42 −0 grails-app/domain/errbuddy/FilterItem.groovy
  147. +67 −0 grails-app/domain/errbuddy/Monitoring.groovy
  148. +25 −0 grails-app/domain/errbuddy/MonitoringCheck.groovy
  149. +15 −0 grails-app/domain/errbuddy/Role.groovy
  150. +68 −0 grails-app/domain/errbuddy/User.groovy
  151. +109 −0 grails-app/domain/errbuddy/UserRole.groovy
  152. +51 −0 grails-app/i18n/messages.properties
  153. +50 −0 grails-app/i18n/messages_cs_CZ.properties
  154. +51 −0 grails-app/i18n/messages_da.properties
  155. +50 −0 grails-app/i18n/messages_de.properties
  156. +50 −0 grails-app/i18n/messages_es.properties
  157. +18 −0 grails-app/i18n/messages_fr.properties
  158. +50 −0 grails-app/i18n/messages_it.properties
  159. +50 −0 grails-app/i18n/messages_ja.properties
  160. +51 −0 grails-app/i18n/messages_nb.properties
  161. +50 −0 grails-app/i18n/messages_nl.properties
  162. +53 −0 grails-app/i18n/messages_pl.properties
  163. +53 −0 grails-app/i18n/messages_pt_BR.properties
  164. +31 −0 grails-app/i18n/messages_pt_PT.properties
  165. +29 −0 grails-app/i18n/messages_ru.properties
  166. +50 −0 grails-app/i18n/messages_sv.properties
  167. +50 −0 grails-app/i18n/messages_th.properties
  168. +18 −0 grails-app/i18n/messages_zh_CN.properties
  169. +117 −0 grails-app/init/BootStrap.groovy
  170. +43 −0 grails-app/init/errbuddy/app/Application.groovy
  171. +14 −0 grails-app/jobs/errbuddy/ApplicationCleanupJob.groovy
  172. +15 −0 grails-app/jobs/errbuddy/ApplicationDeleteJob.groovy
  173. +10 −0 grails-app/jobs/errbuddy/ApplicationDeploymentJob.groovy
  174. +18 −0 grails-app/jobs/errbuddy/DataRetentionJob.groovy
  175. +20 −0 grails-app/jobs/errbuddy/DeleteEmptyGroupsJob.groovy
  176. +10 −0 grails-app/jobs/errbuddy/DeleteEntryGroupJob.groovy
  177. +21 −0 grails-app/jobs/errbuddy/EntryDeleteJob.groovy
  178. +10 −0 grails-app/jobs/errbuddy/EntryPutJob.groovy
  179. +14 −0 grails-app/jobs/errbuddy/FindSimilarEntriesJob.groovy
  180. +24 −0 grails-app/jobs/errbuddy/MonitoringCheckCreatorJob.groovy
  181. +11 −0 grails-app/jobs/errbuddy/MonitoringCheckJob.groovy
  182. +16 −0 grails-app/jobs/errbuddy/PutIntoEntryGroupJob.groovy
  183. +20 −0 grails-app/jobs/errbuddy/RefindFromCollectorJob.groovy
  184. +22 −0 grails-app/jobs/errbuddy/ReindexJob.groovy
  185. +398 −0 grails-app/migrations/20160912_initial.groovy
  186. +4 −0 grails-app/migrations/changelog.groovy
  187. +85 −0 grails-app/services/errbuddy/ApplicationService.groovy
  188. +37 −0 grails-app/services/errbuddy/ConfigurationService.groovy
  189. +55 −0 grails-app/services/errbuddy/CookieService.groovy
  190. +30 −0 grails-app/services/errbuddy/DataRetentionService.groovy
  191. +195 −0 grails-app/services/errbuddy/EntryGroupService.groovy
  192. +190 −0 grails-app/services/errbuddy/EntryService.groovy
  193. +68 −0 grails-app/services/errbuddy/FilterService.groovy
  194. +136 −0 grails-app/services/errbuddy/MessageService.groovy
  195. +93 −0 grails-app/services/errbuddy/MonitoringCheckService.groovy
  196. +54 −0 grails-app/services/errbuddy/MonitoringService.groovy
  197. +20 −0 grails-app/services/errbuddy/UserService.groovy
  198. +19 −0 grails-app/views/page/app.gsp
  199. +70 −0 package.json
  200. +3 −0 settings.gradle
  201. +33 −0 src/main/groovy/CorsFilter.groovy
  202. +15 −0 src/main/groovy/errbuddy/CustomExceptionHandler.groovy
  203. +6 −0 src/main/groovy/errbuddy/ErrbuddyConstants.groovy
  204. +9 −0 src/main/groovy/errbuddy/HasJsonBody.groovy
  205. +9 −0 src/main/groovy/errbuddy/IsFilterable.groovy
  206. +14 −0 src/main/groovy/errbuddy/JsonUtil.groovy
  207. +18 −0 src/main/groovy/errbuddy/LoggingMissingMessageSource.groovy
  208. +28 −0 src/main/groovy/errbuddy/RedisMessageSource.groovy
  209. +27 −0 src/test/groovy/errbuddy/ApiInterceptorSpec.groovy
  210. +22 −0 src/test/groovy/errbuddy/PageControllerSpec.groovy
  211. +22 −0 src/test/groovy/errbuddy/ShortlinkControllerSpec.groovy
  212. +62 −0 webpack.dev.config.js
  213. +60 −0 webpack.prod.config.js
View
@@ -0,0 +1,4 @@
{
"presets": ["es2015", "stage-0", "react"],
"plugins": ["lodash"]
}
View
@@ -0,0 +1,116 @@
---
# Output debugging info
# loglevel: debug
# Major version of Bootstrap: 3 or 4
bootstrapVersion: 3
# If Bootstrap version 3 is used - turn on/off custom icon font path
useCustomIconFontPath: false
# Webpack loaders, order matters
styleLoaders:
- style
- css
- sass
# Extract styles to stand-alone css file
# Different settings for different environments can be used,
# It depends on value of NODE_ENV environment variable
# This param can also be set in webpack config:
# entry: 'bootstrap-loader/extractStyles'
extractStyles: false
env:
development:
extractStyles: false
production:
extractStyles: true
# Customize Bootstrap variables that get imported before the original Bootstrap variables.
# Thus, derived Bootstrap variables can depend on values from here.
# See the Bootstrap _variables.scss file for examples of derived Bootstrap variables.
#
# preBootstrapCustomizations: ./path/to/bootstrap/pre-customizations.scss
# This gets loaded after bootstrap/variables is loaded
# Thus, you may customize Bootstrap variables
# based on the values established in the Bootstrap _variables.scss file
#
bootstrapCustomizations: ./grails-app/assets/stylesheets/app/_variables.scss
# Import your custom styles here
# Usually this endpoint-file contains list of @imports of your application styles
#
appStyles: ./grails-app/assets/stylesheets/app/main.scss
### Bootstrap styles
styles:
# Mixins
mixins: true
# Reset and dependencies
normalize: true
print: true
glyphicons: true
# Core CSS
scaffolding: true
type: true
code: true
grid: true
tables: true
forms: true
buttons: true
# Components
component-animations: true
dropdowns: true
button-groups: true
input-groups: true
navs: true
navbar: true
breadcrumbs: true
pagination: true
pager: true
labels: true
badges: true
jumbotron: true
thumbnails: true
alerts: true
progress-bars: true
media: true
list-group: true
panels: true
wells: true
responsive-embed: true
close: true
# Components w/ JavaScript
modals: true
tooltip: true
popovers: true
carousel: true
# Utility classes
utilities: true
responsive-utilities: true
### Bootstrap scripts
scripts:
transition: true
alert: true
button: true
carousel: true
collapse: true
dropdown: true
modal: true
tooltip: true
popover: true
scrollspy: true
tab: true
affix: true
View
@@ -0,0 +1,34 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
root = true
[*]
# Change these settings to your own preference
indent_style = space
indent_size = 2
# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
break_chained_methods = false
[*.md]
trim_trailing_whitespace = false
[build.gradle]
indent_style = tab
indent_size = 4
[*.groovy]
indent_style = tab
indent_size = 4
[*.java]
indent_style = tab
indent_size = 4
View
@@ -0,0 +1,35 @@
{
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"env": {
"browser": true,
"node": true
},
"plugins": [
"react"
],
"rules": {
"no-console": 1,
"new-cap": 0,
"strict": 0,
"no-underscore-dangle": 0,
"no-use-before-define": 0,
"eol-last": 0,
"quotes": [2, "single"],
"jsx-quotes": 1,
"react/jsx-no-undef": 1,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1
},
"globals": {
"emitter": true,
"superagent": true,
"$": true
}
}
View
@@ -0,0 +1,40 @@
Thumbs.db
.DS_Store
.gradle
build/
node_modules/
.idea
*.iml
*.ipr
*.iws
.project
.settings
.classpath
.asscache
# Eclipse
.classpath
.project
.settings/
# Intellij
.idea/
*.iml
*.iws
# Mac
.DS_Store
.slcache
# Maven
log/
target/
# helpers
/local/
/data/
.slcache
.data/
.nodejs/
classes/
.env
View
33 .jscsrc
@@ -0,0 +1,33 @@
{
"esnext": true,
"preset": "google",
"requireSemicolons": false,
"fileExtensions": [
".js",
".jsx"
],
"requireCurlyBraces": true,
"requireParenthesesAroundIIFE": true,
"maximumLineLength": 120,
"validateLineBreaks": "LF",
"validateIndentation": 2,
"validateQuoteMarks": {
"mark": "'",
"escape": true,
"ignoreJSX": true
},
"disallowKeywords": [
"with"
],
"disallowSpacesInsideObjectBrackets": null,
"disallowImplicitTypeConversion": [
"string"
],
"safeContextKeyword": "that",
"excludeFiles": [
"dist/**",
"node_modules/**"
],
"requireCamelCaseOrUpperCaseIdentifiers": {"allExcept": ["access_token"]}
}
View
@@ -0,0 +1,16 @@
FROM openjdk:8
ENV ERRBUDDY_VERSION=1.0.0
ENV ERRBUDDY_HOME=/opt/errbuddy
RUN mkdir -p "$ERRBUDDY_HOME"
COPY default-config.groovy "$ERRBUDDY_HOME/errbuddy.groovy"
COPY build/libs/errbuddy-$ERRBUDDY_VERSION.war "$ERRBUDDY_HOME/errbuddy.war"
COPY start.sh "$ERRBUDDY_HOME/start.sh"
RUN chmod +x "$ERRBUDDY_HOME/start.sh"
EXPOSE 9000
USER root
CMD ["/opt/errbuddy/start.sh"]
Oops, something went wrong.

0 comments on commit 1122be3

Please sign in to comment.