logster 2.1.1 → 2.1.2

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