1
0
mirror of https://gitlab.com/depesz/explain.depesz.com.git synced 2025-10-31 00:07:57 +02:00
Commit Graph

80 Commits

Author SHA1 Message Date
Hubert depesz Lubaczewski
9ba0cc07cc Merge branch 'master' of github.com:depesz/explain.depesz.com 2013-10-28 14:59:48 +01:00
Hubert depesz Lubaczewski
22b973d093 WIP - users support
- users can now:
    - register
    - login
    - logout
    - change password
- new explains know about logged user (it's stored in database)
2013-10-28 14:58:17 +01:00
Hubert depesz Lubaczewski
02331652e5 First step towards users support
Place in database to stor use information
2013-10-22 15:25:20 +02:00
Hubert depesz Lubaczewski
364560bdfb move donation back to its place 2013-10-22 15:22:27 +02:00
Hubert depesz Lubaczewski
a8150c0494 Fix display of writing nodes from older Pgs
Older Pgs (9.0 for example) didn't show table name for
insert/update/delete. Fix template not to assume "scan_on" is available
for writing nodes.
2013-10-08 15:16:48 +02:00
Hubert depesz Lubaczewski
9e73d831a6 fix warning 2013-08-26 13:52:46 +02:00
Hubert depesz Lubaczewski
bb7242c0fe Fix display of Index Only Scans
New Pg::Explain version (0.67) splits them into parts, so it has to be
re-assembled for display
2013-05-25 00:36:52 +02:00
Hubert depesz Lubaczewski
4f52dc7b8e Test syntax change in new mojo 2013-05-14 19:43:16 +02:00
Hubert depesz Lubaczewski
579d9aea26 Apparently new Mojo changed the way app is started 2013-05-14 19:24:58 +02:00
Hubert depesz Lubaczewski
6a31c2e4a1 Make it possible to delete plans
Each plan will have now delete_key (random, 50 character string), which
can be used with url like http://.../d/plan-id/delete-key
to delete it.

The delete key is shown once just after plan creation
2013-03-30 20:18:27 +01:00
Hubert depesz Lubaczewski
adf37dfd65 sync to production 2013-03-30 17:45:15 +01:00
Hubert depesz Lubaczewski
ac303a0069 simple anti-bot measure
There is no point in tryingto find older explains
2013-03-30 17:44:30 +01:00
Hubert depesz Lubaczewski
645606933a Fix logic error
$(...) will always be true, as its collection. But it can have 0 elements.
2013-01-30 14:00:52 +01:00
Hubert depesz Lubaczewski
47c90054a7 Make ctrl-enter submit form with new explain 2013-01-30 13:52:57 +01:00
Hubert depesz Lubaczewski
2c2ba4c85d Fix config to work with new hypnotoad 2013-01-30 13:52:34 +01:00
Hubert depesz Lubaczewski
c8252505ea revert config change from dev machine 2012-11-08 16:12:32 +01:00
Hubert depesz Lubaczewski
c6290a2927 New column in explain - line number
New column can be hidden, stored in cookie/preferences, and it contains
links to given lines.
2012-11-08 16:08:53 +01:00
Hubert depesz Lubaczewski
689169d0ff Fix to work with newer Mojolicious
b() helper disappeared, and I had to remove it from template
2012-11-08 16:08:11 +01:00
Hubert depesz Lubaczewski
00aacf7f26 Forgot to special-case insert/update/delete too
Second batch of changes related to Pg::Explain 0.65
2012-11-08 13:32:07 +01:00
Hubert depesz Lubaczewski
c355a51971 Merge branch 'master' of github.com:depesz/explain.depesz.com 2012-11-08 13:27:53 +01:00
Hubert depesz Lubaczewski
7c32fe3997 Fix for Pg::Explain 0.65
New version of Pg::Explain extracts information about Function Scans, so it
has to be presented using specialized code.
2012-11-08 13:27:12 +01:00
Hubert depesz Lubaczewski
2a59eb6e62 fix form for donations 2012-11-08 13:26:41 +01:00
Hubert depesz Lubaczewski
38d0165f46 Fix display of foreign scans
It was broken due to upgrade to pg::explain 0.63 which splits "Foreign Scan"
lines into more objects (scan_on hashref)
2012-07-08 22:20:01 +02:00
Hubert depesz Lubaczewski
06d8d5835e Merge branch 'master' of github.com:depesz/explain.depesz.com 2012-04-13 20:34:43 +02:00
Hubert depesz Lubaczewski
cef1e42076 move donation plea 2012-04-13 20:34:23 +02:00
Hubert depesz Lubaczewski
ad037a1ead make it connect via pgbouncer 2012-04-13 20:30:21 +02:00
Hubert depesz Lubaczewski
65cfeff37a remove irrelevant tables 2012-03-12 13:21:50 +01:00
Hubert depesz Lubaczewski
e81cf772de Remove link to llewandowski.pl
on request from metys - he no longer owns the site.
2012-02-27 21:09:54 +01:00
Hubert depesz Lubaczewski
dbfb8d70a0 json_config changed name to JSONConfig 2012-01-26 11:28:02 +01:00
Hubert depesz Lubaczewski
da7f1e7f9b Merge branch 'master' of github.com:depesz/explain.depesz.com 2011-09-25 16:34:37 +02:00
Hubert depesz Lubaczewski
a9a149e2ee fix "mail sent" message
It was handled, but with a simple typo (stash!=flash).
2011-09-25 16:33:46 +02:00
Hubert depesz Lubaczewski
f408c6135d fix "mail sent" message
It was handled, but with a simple typo (stash!=flash).
2011-09-25 16:32:50 +02:00
Hubert depesz Lubaczewski
84df996971 Make plan encoded in utf8
Thanks to this anonymization will stop breaking when given plans with accents.
2011-08-25 12:43:49 +02:00
Hubert depesz Lubaczewski
96a6bf6f50 Remove sending mails about bad plans
Most of the emails are situations where people pasted *query* instead of plan.
The rest are just badly wrapped plans.
2011-08-16 13:08:17 +02:00
Hubert depesz Lubaczewski
cda3511363 Fix typos 2011-07-13 13:23:15 +02:00
Hubert depesz Lubaczewski
ef81d3e718 Fix typo 2011-07-13 02:31:55 +02:00
Hubert depesz Lubaczewski
b239a3b5ca Added stats
In view of query, added 3rd tab (HTML, TEXT) - STATS.

This shows list of all different node types with their repetition count,
summarized time, and percent of total query time, plus similar per table
stats.
2011-07-13 02:29:41 +02:00
Hubert depesz Lubaczewski
a5fc1f2544 Added title for plan
Nathan Thom requested ability to add title to plan.

It wasn't very complicated, so it's added :)
2011-06-28 15:25:14 +02:00
Hubert depesz Lubaczewski
986148627e wording correction
problem spotted, and fix suggested by Tomas (tv@[removed].cz)
2011-06-20 21:41:13 +02:00
Hubert depesz Lubaczewski
f505e4a9c6 Add information about donations for Ulas vacation. 2011-06-20 16:34:03 +02:00
Hubert depesz Lubaczewski
493c37661a Make the alert of bad explain more visible
A lot of people are adding bad values for explains - things like modified
explains, explains with some additional quoting characters, or even plain
selects!

Made sure that the error will be more visible.
2011-06-14 14:33:05 +02:00
Hubert depesz Lubaczewski
121ffcc4b3 Hints for adding explains work.
Again, thanks to metys for help - wouldn't be able to do it on my own.
2011-06-14 14:19:51 +02:00
Hubert depesz Lubaczewski
a349ca19d3 Trying to add hints
Some people try to add queries, and not their explain analyze plans. So
decided to add a hint, but can't make it happen. Committing so that I can
show it to someone who could help me.
2011-06-14 14:04:11 +02:00
Hubert depesz Lubaczewski
761cc4742b Add anonymization
Added checkbox, and additional logic which uses anonymization feature of
Pg::Explain from 0.60
2011-06-11 04:44:41 +02:00
metys
34818b7d7b If Explain creation fails:
+ message "Failed to create..." above form
 + log ("info") message
 + send mail with invalid plan
2011-05-04 07:12:41 +00:00
metys
5f5a3b5685 subnodes selection for hover/collapse bug fix
+ cte layout/js fix/update
2011-03-26 21:21:16 +00:00
depesz
0fb780d09c display name of cte when scanning it 2011-03-26 17:59:11 +00:00
metys
7f250c5ccc CTE fix 2011-03-26 17:31:50 +00:00
depesz
879c27bcaa move to direct pg 2011-03-26 16:32:54 +00:00
depesz
70008f6db6 changed name of method returning order of ctes 2011-03-26 16:32:23 +00:00