logster 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +19 -19
  3. data/.rubocop.yml +1 -1
  4. data/.travis.yml +16 -16
  5. data/CHANGELOG.md +169 -166
  6. data/Gemfile +4 -4
  7. data/Guardfile +8 -8
  8. data/LICENSE.txt +22 -22
  9. data/README.md +99 -99
  10. data/Rakefile +21 -21
  11. data/assets/fonts/FontAwesome.otf +0 -0
  12. data/assets/fonts/fontawesome-webfont.eot +0 -0
  13. data/assets/fonts/fontawesome-webfont.svg +639 -639
  14. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  15. data/assets/fonts/fontawesome-webfont.woff +0 -0
  16. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  17. data/assets/images/Icon-144_rounded.png +0 -0
  18. data/assets/images/Icon-144_square.png +0 -0
  19. data/assets/images/icon_144x144.png +0 -0
  20. data/assets/images/icon_64x64.png +0 -0
  21. data/assets/javascript/client-app.js +100 -100
  22. data/assets/stylesheets/client-app.css +0 -0
  23. data/build_client_app.sh +0 -0
  24. data/client-app/.editorconfig +20 -20
  25. data/client-app/.ember-cli +9 -9
  26. data/client-app/.eslintignore +19 -19
  27. data/client-app/.eslintrc.js +46 -46
  28. data/client-app/.gitignore +23 -23
  29. data/client-app/.travis.yml +27 -27
  30. data/client-app/.watchmanconfig +3 -3
  31. data/client-app/README.md +57 -57
  32. data/client-app/app/app.js +14 -14
  33. data/client-app/app/components/actions-menu.js +37 -37
  34. data/client-app/app/components/env-tab.js +44 -44
  35. data/client-app/app/components/message-info.js +65 -65
  36. data/client-app/app/components/message-row.js +45 -45
  37. data/client-app/app/components/panel-resizer.js +74 -74
  38. data/client-app/app/components/tab-contents.js +27 -27
  39. data/client-app/app/components/tab-link.js +5 -5
  40. data/client-app/app/components/tabbed-section.js +32 -32
  41. data/client-app/app/components/time-formatter.js +25 -25
  42. data/client-app/app/components/update-time.js +21 -21
  43. data/client-app/app/controllers/index.js +105 -105
  44. data/client-app/app/controllers/show.js +13 -13
  45. data/client-app/app/index.html +29 -29
  46. data/client-app/app/initializers/app-init.js +72 -72
  47. data/client-app/app/lib/preload.js +14 -14
  48. data/client-app/app/lib/utilities.js +140 -140
  49. data/client-app/app/models/message-collection.js +178 -178
  50. data/client-app/app/models/message.js +100 -100
  51. data/client-app/app/resolver.js +3 -3
  52. data/client-app/app/router.js +14 -14
  53. data/client-app/app/routes/index.js +57 -57
  54. data/client-app/app/routes/show.js +14 -14
  55. data/client-app/app/styles/app.css +521 -521
  56. data/client-app/app/templates/application.hbs +2 -2
  57. data/client-app/app/templates/components/actions-menu.hbs +12 -12
  58. data/client-app/app/templates/components/env-tab.hbs +10 -10
  59. data/client-app/app/templates/components/message-info.hbs +41 -41
  60. data/client-app/app/templates/components/message-row.hbs +15 -15
  61. data/client-app/app/templates/components/panel-resizer.hbs +3 -3
  62. data/client-app/app/templates/components/tabbed-section.hbs +10 -10
  63. data/client-app/app/templates/components/time-formatter.hbs +1 -1
  64. data/client-app/app/templates/index.hbs +58 -58
  65. data/client-app/app/templates/show.hbs +7 -7
  66. data/client-app/config/environment.js +51 -51
  67. data/client-app/config/optional-features.json +3 -3
  68. data/client-app/config/targets.js +18 -18
  69. data/client-app/ember-cli-build.js +29 -29
  70. data/client-app/package-lock.json +11365 -11365
  71. data/client-app/package.json +56 -56
  72. data/client-app/testem.js +25 -25
  73. data/client-app/tests/index.html +34 -34
  74. data/client-app/tests/integration/components/actions-menu-test.js +26 -26
  75. data/client-app/tests/integration/components/env-tab-test.js +73 -73
  76. data/client-app/tests/integration/components/message-info-test.js +26 -26
  77. data/client-app/tests/integration/components/message-row-test.js +26 -26
  78. data/client-app/tests/integration/components/panel-resizer-test.js +26 -26
  79. data/client-app/tests/integration/components/tab-contents-test.js +26 -26
  80. data/client-app/tests/integration/components/tab-link-test.js +26 -26
  81. data/client-app/tests/integration/components/tabbed-section-test.js +26 -26
  82. data/client-app/tests/integration/components/time-formatter-test.js +26 -26
  83. data/client-app/tests/integration/components/update-time-test.js +26 -26
  84. data/client-app/tests/test-helper.js +8 -8
  85. data/client-app/tests/unit/controllers/index-test.js +12 -12
  86. data/client-app/tests/unit/controllers/show-test.js +12 -12
  87. data/client-app/tests/unit/initializers/app-init-test.js +31 -31
  88. data/client-app/tests/unit/routes/index-test.js +11 -11
  89. data/client-app/tests/unit/routes/show-test.js +11 -11
  90. data/lib/examples/sidekiq_logster_reporter.rb +21 -21
  91. data/lib/logster.rb +54 -54
  92. data/lib/logster/base_store.rb +141 -141
  93. data/lib/logster/configuration.rb +25 -25
  94. data/lib/logster/defer_logger.rb +14 -14
  95. data/lib/logster/ignore_pattern.rb +65 -65
  96. data/lib/logster/logger.rb +113 -113
  97. data/lib/logster/message.rb +212 -212
  98. data/lib/logster/middleware/debug_exceptions.rb +26 -26
  99. data/lib/logster/middleware/reporter.rb +55 -55
  100. data/lib/logster/middleware/viewer.rb +221 -221
  101. data/lib/logster/rails/railtie.rb +63 -63
  102. data/lib/logster/redis_store.rb +566 -566
  103. data/lib/logster/scheduler.rb +54 -40
  104. data/lib/logster/version.rb +3 -3
  105. data/lib/logster/web.rb +14 -14
  106. data/logster.gemspec +35 -35
  107. data/test/examples/test_sidekiq_reporter_example.rb +46 -46
  108. data/test/fake_data/Gemfile +4 -4
  109. data/test/fake_data/generate.rb +10 -10
  110. data/test/logster/middleware/test_reporter.rb +19 -19
  111. data/test/logster/middleware/test_viewer.rb +96 -96
  112. data/test/logster/test_base_store.rb +147 -147
  113. data/test/logster/test_defer_logger.rb +34 -34
  114. data/test/logster/test_ignore_pattern.rb +41 -41
  115. data/test/logster/test_logger.rb +86 -86
  116. data/test/logster/test_message.rb +119 -119
  117. data/test/logster/test_redis_rate_limiter.rb +230 -230
  118. data/test/logster/test_redis_store.rb +720 -720
  119. data/test/test_helper.rb +38 -38
  120. data/vendor/assets/javascripts/logster.js.erb +39 -39
  121. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 484138ca4f1b5b9212316516f8aca1ea2c062f658da58d0f39556780407f9515
4
- data.tar.gz: f341af6a072b39c1ce7d2b1ed33c0971cc2797509db10a88205566f60c30df96
3
+ metadata.gz: 21a3d58a99b5138f8d0dabf59530e48f0347ab731ff2381dcb48a29f37475760
4
+ data.tar.gz: '0796872b1e58eff77d6753a8505725e2c2ede17f0c06d745fb8e0886ab90a257'
5
5
  SHA512:
6
- metadata.gz: f0037037f85b24ffb9b668555b262114b17d1b8eb9c40132030db9e641401384de993d7c6b31fad715c62d6c5b655f746f9504de2400b16e37c15733e4cb65c8
7
- data.tar.gz: 86671e65478cc95e12dd6babb49bfd37cf0a919d8a4e7b7f73c981ead3e3b93b4fb37756330359ad914983f2ee526c36ad2e158897ad13f64b910a40f590e55f
6
+ metadata.gz: 684231cab01c02506e5cef41d79307b36ec17bffcccc10ce8c6baf7869791d3d1b5ff2599e6601514184db126272a5beb6bb12e5a0410294a90f5f127b30a374
7
+ data.tar.gz: dc7165c9b2ede358cc718a48acf94567d279220825bc18060b766002c3df8527a715a5c672936d81d37090252eddca3a49eb8b58a1a65ff3cb476caf8282340f
data/.gitignore CHANGED
@@ -1,19 +1,19 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- Gemfile.lock
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
- pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
- tmp
18
- .byebug_history
19
- .rubocop-https---raw-githubusercontent-com-discourse-discourse-master--rubocop-yml
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ .byebug_history
19
+ .rubocop-https---raw-githubusercontent-com-discourse-discourse-master--rubocop-yml
@@ -1 +1 @@
1
- inherit_from: https://raw.githubusercontent.com/discourse/discourse/master/.rubocop.yml
1
+ inherit_from: https://raw.githubusercontent.com/discourse/discourse/master/.rubocop.yml
@@ -1,16 +1,16 @@
1
- language: ruby
2
-
3
- matrix:
4
- fast_finish: true
5
-
6
- rvm:
7
- - 2.3.4
8
- - 2.5.3
9
-
10
- services:
11
- - redis-server
12
-
13
- before_install:
14
- - gem install bundler -v 1.17.2
15
-
16
- sudo: false
1
+ language: ruby
2
+
3
+ matrix:
4
+ fast_finish: true
5
+
6
+ rvm:
7
+ - 2.3.4
8
+ - 2.5.3
9
+
10
+ services:
11
+ - redis-server
12
+
13
+ before_install:
14
+ - gem install bundler -v 1.17.2
15
+
16
+ sudo: false
@@ -1,166 +1,169 @@
1
- # CHANGELOG
2
-
3
- - 2019-02-13: Version 2.1.0
4
- - FEATURE/DEV: adds a defer logger that will do logging asynchronously only in dev environments. It should speed things up a little in dev.
5
-
6
- - 2019-02-05: Version 2.0.1
7
- - FIX: env line height issue on iOS
8
-
9
- - 2019-01-17: Version 2.0.0.pre
10
- - FIX: don't merge any new env samples if there are 50 samples (1.4.0.pre regression)
11
- - UX: make env navigation controls stick to the top when scrolled
12
- - PERF: store env samples separately from the rest of message data
13
- - DEV: Rubocop
14
-
15
- - 2019-01-09: Version 1.4.0.pre
16
- - FEATURE: allow navigation through merged errors
17
- - FEATURE: search should look at env
18
- - FIX: deselect message if new filtering doesn't include selected message
19
- - UX: don't give timestamps more space than they need; use `div`s with flexbox instead of `table`
20
- - FIX: hide "load more" when there are no more messages and filters/search applied
21
-
22
- - 2018-12-30: Version 1.3.4
23
- - FIX: linear-gradient issue on iOS
24
- - FIX: actions menu should have highest z-index
25
-
26
- - 2018-12-26: Version 1.3.3
27
- - Fix: fix double lines logs when date is too long
28
-
29
- - 2018-12-25: Version 1.3.2
30
- - UX: improve usability on mobile
31
-
32
- - 2018-11-09: Version 1.3.1
33
- - Feature: auto scrub invalid messages reported to logger
34
-
35
- - 2018-11-09: Version 1.3.0
36
- - Feature: upgrade Ember to 3.5.1
37
- - Feature: remove inline JS for CSP compliance
38
-
39
- - 2018-08-13: Version 1.2.10
40
- - Feature: expose chained loggers in Logster::Logger
41
-
42
- - 2017-10-27: Version 1.2.8
43
- - Fix: `Logster::Middleware::DebugExceptions` is passed a request in Rails 5 instead of the env.
44
-
45
- - 2017-01-30: Version 1.2.7
46
- - Feature: Add override_level to Logster::Logger allowing for threadsafe logger override
47
-
48
- - 2016-10-24: Version 1.2.6
49
- - Fix: Check if `Rails.env` is defined when using Logster in a none Rails project.
50
-
51
- - 2016-07-11: Version 1.2.5
52
- - Fix: Chained `Logster::Logger` logger now receives backtrace as well.
53
-
54
- - 2016-05-05: Version 1.2.4
55
- - Fix: XSS in log message show if attacker can inject script into ENV
56
-
57
- - 2016-05-05: Version 1.2.3
58
- - Fix: clear_all now also clears rate limits
59
- - Fix: protect against corrupt data in redis during clear
60
-
61
- - 2016-03-22: Version 1.2.2
62
- - Fix: Conflicting attributes and method name for `Logster::RedisStore#rate_limits`.
63
- - Fix: Rate limit checker was tracking limits too early. It should only track when a message has been bumped or saved.
64
-
65
- - 2016-03-22: Version 1.2.1
66
- - Feature: Add method to retrieve current rate from rate limiters.
67
- - Feature: Make `RedisStore#rate_limits` readable.
68
- - Feature: Make `RedisRateLimiter#callback` and `RedisRateLimiter#duration` readable.
69
-
70
- - 2016-03-18: Version 1.2.0
71
- - Fix: Move Redis configuration into RedisStore.
72
- - Feature: Allow `RedisStore#redis_prefix` to either be a String or a Proc.
73
-
74
- - 2016-02-11: Version 1.1.1
75
- - Feature: Error rate can now be tracked in one minute and one hour buckets.
76
-
77
- - 2015-11-27: Version 1.0.1
78
- - New assets and logster logo
79
- - Added favicon
80
- - Added title
81
- - Use rails logger instead of invoking store
82
-
83
- - 2015-08-18: Version 0.9.9
84
- - This marks the largest release of Logster to date, it has been in production use for quite a while, hence the version bump.
85
- - Feature: automatically group errors in production mode, can be manually controlled via Logster.config.allow_grouping
86
- - Feature: automatically track application version, can be manually controlled via Logster.config.application_version
87
- - Feature: Font Awesome icons used throughout
88
- - Feature: Ember upgrade to 1.13
89
- - Feature: you can now "solve" a class of errors, if error has an application_version and backtrace. Once an error is solved it will no longer be reported for the "solved" application_versions
90
- - Feature: allow users to delete a single error
91
- - UX: use table for env
92
- - Feature: display "protected" state of message in list
93
- - Feature: use local times as opposed to relative times in time column
94
- - UX: use Google Roboto font as opposed to system fonts
95
- - UX: remove pointless titles from log table
96
- - Feature: If Logster is in a background tab only poll once every 60 seconds (as opposed to 3)
97
- - Fix: protect/unprotect redirected to show page
98
-
99
- - 2015-06-16: Version 0.8.3
100
- - Chained loggers now respect chain ignore
101
- - Add hostname and process_id to env on all messages
102
-
103
- - 2015-06-10: Version 0.8.2
104
- - Add hostname and process_id to env on all messages
105
-
106
- - 2015-05-01: Version 0.8.1
107
- - Don't crash out logging routine if redis is down or stderr is closed
108
-
109
- - 2015-04-16: Version 0.8.0
110
- - Improve formatting of /show page
111
- - Big version bump cause it is quite stable
112
-
113
- - 2015-02-27: Version 0.1.7
114
- - Fix invalid request on ?test
115
-
116
- - 2014-08-05: Version 0.1.3
117
- - Automatically include ignore filter
118
-
119
- - 2014-08-13: Version 0.1.6
120
- - Simplify install process
121
- - Fix crash on 404 in /logs dir
122
-
123
- - 2014-08-10: Version 0.1.5
124
- - Fix crash in Rails 3
125
-
126
- - 2014-08-08: Version 0.1.4
127
- - Fix crash in ignore filter
128
-
129
- - 2014-07-17: Version 0.1.1
130
- - Refactored report method into base_store.rb - will be easier to make a new log store
131
- - Add link in UI to clear all (non-protected) logs
132
- - Add example of submitting logs from Sidekiq jobs
133
- - Show Protect/Share links on all tabs
134
- - Render hashes provided via Logster.add_to_env
135
-
136
- - 2014-07-04: Version 0.0.12
137
- - Feature: Able to share logs, at /logs/show/(hexdigits)
138
- - Add protecting logs, so they aren't deleted when old (for use with sharing)
139
- - Restructured Redis data model
140
-
141
- - 2014-05-24: Version 0.0.10
142
- - Correct context for error reporting
143
- - Clean up backtraces of reported exceptions
144
-
145
- - 2014-05-13: Version 0.0.9
146
- - Stray debugger message removed, add window.location logging to js
147
-
148
- - 2014-05-13: Version 0.0.8
149
- - Fix pacakging binstubs by mistake
150
-
151
- - 2014-05-13: Version 0.0.7
152
- - Add support for javascript exception logging
153
-
154
- - 2014-05-12: Version 0.0.6
155
- - Add referer to env
156
-
157
- - 2014-05-12: Version 0.0.5
158
- - Feature: We now log basic rack environment with the messages
159
- - Add your own with Logster.add_to_env(env, key, value)
160
-
161
- - 2014-05-07: Version 0.0.4
162
- - Feature: Ability to ignore patterns with Logster.store.ignore = [/regex/]
163
- - Feature: Store backtraces, allow people to view them in the GUI
164
-
165
- - 2014-05-07: Started changelog :)
166
- - Report params in env tab
1
+ # CHANGELOG
2
+
3
+ - 2019-02-21: Version 2.1.1
4
+ - FEATURE: allow defer logger to be disabled as Ruby 2.5.3 can segfault with defer logger due to a bug in Ruby. To disable run `Logster::Scheduler.disable`
5
+
6
+ - 2019-02-13: Version 2.1.0
7
+ - FEATURE/DEV: adds a defer logger that will do logging asynchronously only in dev environments. It should speed things up a little in dev.
8
+
9
+ - 2019-02-05: Version 2.0.1
10
+ - FIX: env line height issue on iOS
11
+
12
+ - 2019-01-17: Version 2.0.0.pre
13
+ - FIX: don't merge any new env samples if there are 50 samples (1.4.0.pre regression)
14
+ - UX: make env navigation controls stick to the top when scrolled
15
+ - PERF: store env samples separately from the rest of message data
16
+ - DEV: Rubocop
17
+
18
+ - 2019-01-09: Version 1.4.0.pre
19
+ - FEATURE: allow navigation through merged errors
20
+ - FEATURE: search should look at env
21
+ - FIX: deselect message if new filtering doesn't include selected message
22
+ - UX: don't give timestamps more space than they need; use `div`s with flexbox instead of `table`
23
+ - FIX: hide "load more" when there are no more messages and filters/search applied
24
+
25
+ - 2018-12-30: Version 1.3.4
26
+ - FIX: linear-gradient issue on iOS
27
+ - FIX: actions menu should have highest z-index
28
+
29
+ - 2018-12-26: Version 1.3.3
30
+ - Fix: fix double lines logs when date is too long
31
+
32
+ - 2018-12-25: Version 1.3.2
33
+ - UX: improve usability on mobile
34
+
35
+ - 2018-11-09: Version 1.3.1
36
+ - Feature: auto scrub invalid messages reported to logger
37
+
38
+ - 2018-11-09: Version 1.3.0
39
+ - Feature: upgrade Ember to 3.5.1
40
+ - Feature: remove inline JS for CSP compliance
41
+
42
+ - 2018-08-13: Version 1.2.10
43
+ - Feature: expose chained loggers in Logster::Logger
44
+
45
+ - 2017-10-27: Version 1.2.8
46
+ - Fix: `Logster::Middleware::DebugExceptions` is passed a request in Rails 5 instead of the env.
47
+
48
+ - 2017-01-30: Version 1.2.7
49
+ - Feature: Add override_level to Logster::Logger allowing for threadsafe logger override
50
+
51
+ - 2016-10-24: Version 1.2.6
52
+ - Fix: Check if `Rails.env` is defined when using Logster in a none Rails project.
53
+
54
+ - 2016-07-11: Version 1.2.5
55
+ - Fix: Chained `Logster::Logger` logger now receives backtrace as well.
56
+
57
+ - 2016-05-05: Version 1.2.4
58
+ - Fix: XSS in log message show if attacker can inject script into ENV
59
+
60
+ - 2016-05-05: Version 1.2.3
61
+ - Fix: clear_all now also clears rate limits
62
+ - Fix: protect against corrupt data in redis during clear
63
+
64
+ - 2016-03-22: Version 1.2.2
65
+ - Fix: Conflicting attributes and method name for `Logster::RedisStore#rate_limits`.
66
+ - Fix: Rate limit checker was tracking limits too early. It should only track when a message has been bumped or saved.
67
+
68
+ - 2016-03-22: Version 1.2.1
69
+ - Feature: Add method to retrieve current rate from rate limiters.
70
+ - Feature: Make `RedisStore#rate_limits` readable.
71
+ - Feature: Make `RedisRateLimiter#callback` and `RedisRateLimiter#duration` readable.
72
+
73
+ - 2016-03-18: Version 1.2.0
74
+ - Fix: Move Redis configuration into RedisStore.
75
+ - Feature: Allow `RedisStore#redis_prefix` to either be a String or a Proc.
76
+
77
+ - 2016-02-11: Version 1.1.1
78
+ - Feature: Error rate can now be tracked in one minute and one hour buckets.
79
+
80
+ - 2015-11-27: Version 1.0.1
81
+ - New assets and logster logo
82
+ - Added favicon
83
+ - Added title
84
+ - Use rails logger instead of invoking store
85
+
86
+ - 2015-08-18: Version 0.9.9
87
+ - This marks the largest release of Logster to date, it has been in production use for quite a while, hence the version bump.
88
+ - Feature: automatically group errors in production mode, can be manually controlled via Logster.config.allow_grouping
89
+ - Feature: automatically track application version, can be manually controlled via Logster.config.application_version
90
+ - Feature: Font Awesome icons used throughout
91
+ - Feature: Ember upgrade to 1.13
92
+ - Feature: you can now "solve" a class of errors, if error has an application_version and backtrace. Once an error is solved it will no longer be reported for the "solved" application_versions
93
+ - Feature: allow users to delete a single error
94
+ - UX: use table for env
95
+ - Feature: display "protected" state of message in list
96
+ - Feature: use local times as opposed to relative times in time column
97
+ - UX: use Google Roboto font as opposed to system fonts
98
+ - UX: remove pointless titles from log table
99
+ - Feature: If Logster is in a background tab only poll once every 60 seconds (as opposed to 3)
100
+ - Fix: protect/unprotect redirected to show page
101
+
102
+ - 2015-06-16: Version 0.8.3
103
+ - Chained loggers now respect chain ignore
104
+ - Add hostname and process_id to env on all messages
105
+
106
+ - 2015-06-10: Version 0.8.2
107
+ - Add hostname and process_id to env on all messages
108
+
109
+ - 2015-05-01: Version 0.8.1
110
+ - Don't crash out logging routine if redis is down or stderr is closed
111
+
112
+ - 2015-04-16: Version 0.8.0
113
+ - Improve formatting of /show page
114
+ - Big version bump cause it is quite stable
115
+
116
+ - 2015-02-27: Version 0.1.7
117
+ - Fix invalid request on ?test
118
+
119
+ - 2014-08-05: Version 0.1.3
120
+ - Automatically include ignore filter
121
+
122
+ - 2014-08-13: Version 0.1.6
123
+ - Simplify install process
124
+ - Fix crash on 404 in /logs dir
125
+
126
+ - 2014-08-10: Version 0.1.5
127
+ - Fix crash in Rails 3
128
+
129
+ - 2014-08-08: Version 0.1.4
130
+ - Fix crash in ignore filter
131
+
132
+ - 2014-07-17: Version 0.1.1
133
+ - Refactored report method into base_store.rb - will be easier to make a new log store
134
+ - Add link in UI to clear all (non-protected) logs
135
+ - Add example of submitting logs from Sidekiq jobs
136
+ - Show Protect/Share links on all tabs
137
+ - Render hashes provided via Logster.add_to_env
138
+
139
+ - 2014-07-04: Version 0.0.12
140
+ - Feature: Able to share logs, at /logs/show/(hexdigits)
141
+ - Add protecting logs, so they aren't deleted when old (for use with sharing)
142
+ - Restructured Redis data model
143
+
144
+ - 2014-05-24: Version 0.0.10
145
+ - Correct context for error reporting
146
+ - Clean up backtraces of reported exceptions
147
+
148
+ - 2014-05-13: Version 0.0.9
149
+ - Stray debugger message removed, add window.location logging to js
150
+
151
+ - 2014-05-13: Version 0.0.8
152
+ - Fix pacakging binstubs by mistake
153
+
154
+ - 2014-05-13: Version 0.0.7
155
+ - Add support for javascript exception logging
156
+
157
+ - 2014-05-12: Version 0.0.6
158
+ - Add referer to env
159
+
160
+ - 2014-05-12: Version 0.0.5
161
+ - Feature: We now log basic rack environment with the messages
162
+ - Add your own with Logster.add_to_env(env, key, value)
163
+
164
+ - 2014-05-07: Version 0.0.4
165
+ - Feature: Ability to ignore patterns with Logster.store.ignore = [/regex/]
166
+ - Feature: Store backtraces, allow people to view them in the GUI
167
+
168
+ - 2014-05-07: Started changelog :)
169
+ - Report params in env tab
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in rack-log-viewer.gemspec
4
- gemspec
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in rack-log-viewer.gemspec
4
+ gemspec
data/Guardfile CHANGED
@@ -1,8 +1,8 @@
1
- # A sample Guardfile
2
- # More info at https://github.com/guard/guard#readme
3
-
4
- guard :minitest do
5
- watch(%r{^test/(.*)\/?test_(.*)\.rb$})
6
- watch(%r{^lib/(.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}test_#{m[2]}.rb" }
7
- watch(%r{^test/test_helper\.rb$}) { 'test' }
8
- end
1
+ # A sample Guardfile
2
+ # More info at https://github.com/guard/guard#readme
3
+
4
+ guard :minitest do
5
+ watch(%r{^test/(.*)\/?test_(.*)\.rb$})
6
+ watch(%r{^lib/(.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}test_#{m[2]}.rb" }
7
+ watch(%r{^test/test_helper\.rb$}) { 'test' }
8
+ end