pghero 3.1.0 → 3.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -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 +31 -9
  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 +10 -6
  37. data/lib/pghero/methods/tables.rb +4 -5
  38. data/lib/pghero/version.rb +1 -1
  39. data/lib/pghero.rb +28 -26
  40. data/lib/tasks/pghero.rake +11 -1
  41. data/licenses/LICENSE-chart.js.txt +1 -1
  42. data/licenses/LICENSE-date-fns.txt +21 -20
  43. data/licenses/LICENSE-kurkle-color.txt +9 -0
  44. metadata +5 -4
  45. 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: f26e73390b749930f287536790ab7951268d105c074211c3273c595105558b4e
4
+ data.tar.gz: 8d6e752dde349c152e5569f93f282035c35357f4eb54edf682ddd5c2e3a23986
5
5
  SHA512:
6
- metadata.gz: f22dc29263e1b6d7c008747bc6907dd125d3d8f53141c4ad030d6acd19ef0d501abeb1db148f190115ad99d4c6a6910cbb7d4b1239a14b77c8a838ae204beb17
7
- data.tar.gz: 628a7ffcafd87be24626ffdd171fb4c00a77367548b6e47693cd18265177918a774f8ac02af4c27c15dfc712b41fc88c50269777b868eab412ecc954d6442fd5
6
+ metadata.gz: 9f2be7dd596e50df9319cc794e2098226833445f4b6a1fefb2f57aca21eb38e3f2676c78bc14d620bcc36da413e6825709e053020646b00ae428b33860534406
7
+ data.tar.gz: b852564d036d3c2e427e4f4ccccdfc9cb00c13507a64cf742d0fadf3c6ec35cfc6eddbe5c6a8e29f2d71692fe6a3a663f91ee0bd8807fa946a537938908456c6
data/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ## 3.3.1 (2023-03-15)
2
+
3
+ - Fixed error with Uglifier
4
+
5
+ ## 3.3.0 (2023-03-11)
6
+
7
+ - Improved handling of lock timeouts
8
+ - Improved syntax highlighting
9
+
10
+ ## 3.2.0 (2023-02-21)
11
+
12
+ - Added support for pg_query 4
13
+ - Added `pghero:clean_space_stats` rake task
14
+ - Added support for specifying retention period with `clean_query_stats` and `clean_space_stats`
15
+ - Removed reset button when historical query stats are enabled
16
+
1
17
  ## 3.1.0 (2023-01-04)
2
18
 
3
19
  - Fixed explain error message leaking data - [more info](https://github.com/ankane/pghero/issues/439)