Gavin D'souza
3446026555
chore: Update header: license.txt => LICENSE
The license.txt file has been replaced with LICENSE for quite a while
now. INAL but it didn't seem accurate to say "hey, checkout license.txt
although there's no such file". Apart from this, there were
inconsistencies in the headers altogether...this change brings
consistency.
3 years ago
Ankush Menat
1bebe28876
feat: import/export full recorder captures
3 years ago
Gavin D'souza
e407b78506
chore: Drop dead and deprecated code
* Remove six for PY2 compatability since our dependencies are not, PY2
is legacy.
* Removed usages of utils from future/past libraries since they are
deprecated. This includes 'from __future__ ...' and 'from past...'
statements.
* Removed compatibility imports for PY2, switched from six imports to
standard library imports.
* Removed utils code blocks that handle operations depending on PY2/3
versions.
* Removed 'from __future__ ...' lines from templates/code generators
* Used PY3 syntaxes in place of PY2 compatible blocks. eg: metaclass
4 years ago
Aditya Hase
e54694dbf4
fix(recorder): Error page rendering shouldn't fail when recorder is active
4 years ago
Aditya Hase
cb294329ad
style: Black + Flake8
5 years ago
Aditya Hase
2ed69034cb
perf(recorder): Don't store context (code) and frame locals
5 years ago
Rushabh Mehta
1c893e44c0
fix: frappe.conf.db_type -> frappe.db.db_type
6 years ago
Aditya Hase
d0f83f3420
style: Linting fixes
6 years ago
Aditya Hase
567d4247b0
fix(recorder): Show better stack trace
6 years ago
Faris Ansari
b61a37a233
fix: Notification test in Postgres ( #7044 )
6 years ago
Aditya Hase
e034979b16
fix(recorder): use cursor.query to obtain executed query for postgres
6 years ago
Aditya Hase
58367b7df7
fix(recorder): Use EXPLAIN instead of EXPLAIN EXTENDED
EXPLAIN EXTENDED is not a valid postgres query, use EXPLAIN instead
6 years ago
Aditya Hase
e33563e24c
test(recorder): Add python tests for recorder
6 years ago
Aditya Hase
0aaa7fcfd1
fix(recorder): Only allow Administrator to use Recorder
6 years ago
Aditya Hase
a9238c874d
feat(recorder): Identify duplicate queries
6 years ago
Aditya Hase
f83d1be9af
feat(recorder): Add paging in SQL queries table
6 years ago
Aditya Hase
7ef273cf82
fix(recorder): Cleanup
Add breadcrumb for backward navigation
Add Table view for SQL Explain
Add __debug__ check for NOOP in production
Remove unnecessary v-bind
Use router.push instead of router-link
Route to request-detail page if route is set to /request/:id
6 years ago
Aditya Hase
488a23b7c6
fix(recorder): Yield smaller stack trace
6 years ago
Aditya Hase
614a8f0b46
refactor(Recorder): Cleanup
6 years ago
Aditya Hase
1e1456afa0
refactor(recorder): Rename uuid to id
6 years ago
Aditya Hase
426642a7ee
fix(recorder): Remove unused code
6 years ago
Aditya Hase
451eb01cdc
refactor(recorder): Refactor API
6 years ago
Aditya Hase
8ba1b7e527
refactor(recorder): New decorator do_not_record
6 years ago
Aditya Hase
3ce2cf28e5
fix(recorder): Remove recoder web page
6 years ago
Aditya Hase
804dabbe6a
feat(recorder): Show requests count in list view
6 years ago
Aditya Hase
1ad73f61bd
feat(recorder): Enhanced list view
6 years ago
Aditya Hase
cdde489d7b
feat(recorder): Add time on queries column in request list
6 years ago
Aditya Hase
0bf2d3f830
feat(recorder): Show query count in request list
6 years ago
Aditya Hase
d9c2fab892
feat(recorder): Interactive table for sql list
6 years ago
Aditya Hase
5b4ec4dc22
fix(recorder): Show query execution time in ms
6 years ago
Aditya Hase
b0faf64386
style: Linting fixes
6 years ago
Aditya Hase
10f8fad12d
fix(recorder): Sort based on cmd correctly
6 years ago
Aditya Hase
d0b8d0fa0f
feat(recorder): Show duration field in request list
6 years ago
Aditya Hase
f2afceb6e2
feat(recorder): Update request list in realtime
6 years ago
Aditya Hase
cca0d75695
feat(recorder): Render SQL results properly in table
6 years ago
Aditya Hase
fddbb7b94e
fix(recorder): Generate valid dict for empty explain_result
6 years ago
Aditya Hase
7ddece641d
fix(recorder): Reduce verbosity of SQL Profile results
6 years ago
Aditya Hase
e43ee8e6e5
fix(recorder): Start SQL profiling before all queries
6 years ago
Aditya Hase
226951d53c
refactor(recorder): No need to sqlparse.format query twice
6 years ago
Aditya Hase
256912153f
feat(recorder): Show Profile, EXPLAIN and query result in a table
6 years ago
Aditya Hase
62e3ac0b5d
feat(recorder): Syntax highlighting for SQL query
6 years ago
Aditya Hase
00d091be3b
feat(recorder): New commands for recorder
Allow recorder to be started and stopped using bench commands
start: bench --site <site-name> start-recording
stop: bench --site <site-name> stop-recording
6 years ago
Aditya Hase
c54b8a65ba
refactor(recorder): Major refactor
6 years ago
Aditya Hase
51925b2644
feat(recorder): Show http method and time in request list
6 years ago
Aditya Hase
38c85f3c9d
refactor(recorder): Remove "Path > Request" hierarchy
6 years ago
Aditya Hase
3f9bba02f7
refactor(recorder): Don't record cache activity
6 years ago
Aditya Hase
b0362a307d
feat(recorder): Distinguish between requests using form_dict.cmd
6 years ago
Aditya Hase
d4501033df
feat(recorder): Format SQL query with SQLParse
6 years ago
Aditya Hase
3a8606cd1e
refactor(recorder): Collect PROFILE and EXPLAIN results in a dict
6 years ago
Aditya Hase
af2c1dc471
fix(recorder): Split query correctly
6 years ago