pghero 3.1.0 → 3.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +24 -0
  3. data/app/assets/javascripts/pghero/Chart.bundle.js +23379 -19766
  4. data/app/assets/javascripts/pghero/application.js +13 -12
  5. data/app/assets/javascripts/pghero/chartkick.js +834 -764
  6. data/app/assets/javascripts/pghero/highlight.min.js +440 -0
  7. data/app/assets/javascripts/pghero/jquery.js +318 -197
  8. data/app/assets/javascripts/pghero/nouislider.js +676 -1066
  9. data/app/assets/stylesheets/pghero/application.css +8 -2
  10. data/app/assets/stylesheets/pghero/nouislider.css +4 -10
  11. data/app/controllers/pg_hero/home_controller.rb +41 -12
  12. data/app/helpers/pg_hero/home_helper.rb +2 -2
  13. data/app/views/layouts/pg_hero/application.html.erb +1 -1
  14. data/app/views/pg_hero/home/_query_stats_slider.html.erb +6 -6
  15. data/app/views/pg_hero/home/connections.html.erb +6 -6
  16. data/app/views/pg_hero/home/index.html.erb +3 -1
  17. data/app/views/pg_hero/home/queries.html.erb +4 -2
  18. data/app/views/pg_hero/home/relation_space.html.erb +1 -1
  19. data/app/views/pg_hero/home/show_query.html.erb +16 -12
  20. data/app/views/pg_hero/home/space.html.erb +44 -40
  21. data/app/views/pg_hero/home/system.html.erb +6 -6
  22. data/lib/generators/pghero/query_stats_generator.rb +1 -0
  23. data/lib/generators/pghero/space_stats_generator.rb +1 -0
  24. data/lib/pghero/engine.rb +1 -1
  25. data/lib/pghero/methods/basic.rb +5 -8
  26. data/lib/pghero/methods/connections.rb +4 -4
  27. data/lib/pghero/methods/constraints.rb +1 -1
  28. data/lib/pghero/methods/indexes.rb +8 -8
  29. data/lib/pghero/methods/kill.rb +1 -1
  30. data/lib/pghero/methods/maintenance.rb +3 -3
  31. data/lib/pghero/methods/queries.rb +2 -2
  32. data/lib/pghero/methods/query_stats.rb +19 -19
  33. data/lib/pghero/methods/replication.rb +2 -2
  34. data/lib/pghero/methods/sequences.rb +2 -2
  35. data/lib/pghero/methods/space.rb +18 -12
  36. data/lib/pghero/methods/suggested_indexes.rb +11 -6
  37. data/lib/pghero/methods/system.rb +10 -4
  38. data/lib/pghero/methods/tables.rb +4 -5
  39. data/lib/pghero/version.rb +1 -1
  40. data/lib/pghero.rb +28 -26
  41. data/lib/tasks/pghero.rake +11 -1
  42. data/licenses/LICENSE-chart.js.txt +1 -1
  43. data/licenses/LICENSE-date-fns.txt +21 -20
  44. data/licenses/LICENSE-kurkle-color.txt +9 -0
  45. metadata +5 -4
  46. data/app/assets/javascripts/pghero/highlight.pack.js +0 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb0dc9f78c0e8095569b48f1d6d48235238ea92efa8a94326f97639d2fa30d38
4
- data.tar.gz: 452e6f781c32bcb4d6b68a6b4bda62425023587c7779a88f34c0905b09ac93c9
3
+ metadata.gz: '002087a8cb8c6db43d1f084fd773aa4c8320c6fe77be3d4f42b6ca55ff91d39d'
4
+ data.tar.gz: fd4cb80b991e10232d7628604049e25685ae3723c53c7dd3231288b369015976
5
5
  SHA512:
6
- metadata.gz: f22dc29263e1b6d7c008747bc6907dd125d3d8f53141c4ad030d6acd19ef0d501abeb1db148f190115ad99d4c6a6910cbb7d4b1239a14b77c8a838ae204beb17
7
- data.tar.gz: 628a7ffcafd87be24626ffdd171fb4c00a77367548b6e47693cd18265177918a774f8ac02af4c27c15dfc712b41fc88c50269777b868eab412ecc954d6442fd5
6
+ metadata.gz: 42a29de1135ce51d59423e0aedafff5261ffea8e93740a40aa80d472a48d01a799349ea9c48f78c027f86d493e342901698707894156b149236ca7e8f101a0a1
7
+ data.tar.gz: 68e636a77b47b825803c04ef90005827a66ae6abc0dab5f60bde8877f0c0d4aa580daa60c7959042bb0f9f0bb374eda3e885e0903069247a00c7a9a8779945a2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,27 @@
1
+ ## 3.3.3 (2023-04-18)
2
+
3
+ - Fixed error with system stats for Azure Database
4
+
5
+ ## 3.3.2 (2023-04-12)
6
+
7
+ - Fixed error with suggested indexes and empty statements
8
+
9
+ ## 3.3.1 (2023-03-15)
10
+
11
+ - Fixed error with Uglifier
12
+
13
+ ## 3.3.0 (2023-03-11)
14
+
15
+ - Improved handling of lock timeouts
16
+ - Improved syntax highlighting
17
+
18
+ ## 3.2.0 (2023-02-21)
19
+
20
+ - Added support for pg_query 4
21
+ - Added `pghero:clean_space_stats` rake task
22
+ - Added support for specifying retention period with `clean_query_stats` and `clean_space_stats`
23
+ - Removed reset button when historical query stats are enabled
24
+
1
25
  ## 3.1.0 (2023-01-04)
2
26
 
3
27
  - Fixed explain error message leaking data - [more info](https://github.com/ankane/pghero/issues/439)