Commit Graph

34 Commits

Author SHA1 Message Date
Semyon Proshev
8f4d31d439 PY-23311 Fixed: Postgres Create Extension doesn't get syntax highlighting
Add PostgreSQL extensions support.
2017-06-05 20:29:40 +03:00
Yann Cébron
81d29f9bd5 Plugin descriptors: remove deprecated attribute idea-plugin@version (IDEA-163694) 2016-11-11 17:08:58 +01:00
Semyon Proshev
68d99378ee PY-19506 Fixed: CREATE TEMP TABLE not recognized as SQL-statement within Python-String
Support temp tables creating
2016-06-23 14:27:44 +03:00
Semyon Proshev
4925746bf7 PY-19473 Fixed: Incorrect sql injection detected
Update "COPY FROM/TO" regexp to decrease false positives
2016-05-18 19:17:34 +03:00
Semyon Proshev
621158c494 PY-19075 Fixed: PyCharm 2016.1.1 freezes immediately after the update
Improve SQL injection regexps so performance become better. Also add test for whitespace string injection
2016-04-08 20:51:19 +03:00
Semyon Proshev
5c7d96e49e PY-19075 Fixed: PyCharm 2016.1.1 freezes immediately after the update
The problem was in SQL regexps, in comments matching. It runs exponential on the strings like "/**//**//**//**//**//**/"
2016-04-07 18:21:27 +03:00
Semyon Proshev
cf8a80f3c0 PY-19075 Fixed: PyCharm 2016.1.1 freezes immediately after the update
The problem was in SQL regexps, in comments matching. It runs exponential on the strings like "-----------------------------"
2016-04-07 16:29:10 +03:00
Semyon Proshev
4722816635 PY-16814 Fixed: No Language Injection for PostgresQL WITH statements
PY-18345 Fixed: SQL dialect incorrect after update to 5.0.4
PY-18871 Fixed: Wrong SQL detection

Improve SQL injection by pyInjections.xml enhancement
2016-03-28 14:10:03 +03:00
Andrey Vlasovskikh
18e0685313 Inject SQL into strings with "CREATE VIEW" (PY-17414) 2015-12-23 19:27:49 +03:00
Andrey Vlasovskikh
8db8aa0cf2 Search for SQL patterns in string literals not only in the begginning (PY-12041, PY-16814) 2015-12-23 19:27:48 +03:00
nik
65d50f97c9 don't specify ITNReporter as errorHandler explicitly, it is automatically used for exception from plugins which vendor is JetBrains 2015-12-17 12:11:27 +03:00
Andrey Vlasovskikh
e083779793 Updated copyright 2014-10-16 17:56:38 +04:00
Andrey Vlasovskikh
bf58d9d3ca Added copyright 2014-10-16 17:54:28 +04:00
Dmitry Trofimov
120a5e8db8 Fixed python-intellilang dependencies, moved configs to better place. 2014-07-31 15:41:30 +02:00
Gregory.Shrago
5d4ad8a0c4 Python: turn comment injector back on 2014-07-30 01:03:07 +04:00
Anna Kozlova
c8b9be70fe make python depends on IntelliLang as all others plugins do (IDEA-127778) 2014-07-25 20:41:54 +02:00
Andrey Vlasovskikh
5fd0a911b0 Fixed SQL 'select/insert/...' rule injection into indented string literals (PY-11970) 2014-01-29 21:53:58 +04:00
Andrey Vlasovskikh
6e66b227d6 Don't run code analysis for injections with interpolation in string formatting (PY-11962) 2014-01-29 20:58:08 +04:00
Andrey Vlasovskikh
a185876d3a Disabled comment injector for Python for performance reasons
Searching for comments in the AST takes some time, we need to improve
it.
2014-01-24 14:31:53 +04:00
Andrey Vlasovskikh
7ca0e527f8 Inject SQL only into strings that have SELECT/UPDATE... at the beginning 2014-01-22 19:44:57 +04:00
Andrey Vlasovskikh
cfe29d7846 Revert "Detect SQL fragments only in the beginning of string literals" (PY-11828)
It was a temporary solution for injecting SQL into concatenated fragments of
strings. Now fragment injection handles it well.

This reverts commit 546c532128.
2014-01-15 16:54:44 +04:00
Andrey Vlasovskikh
546c532128 Detect SQL fragments only in the beginning of string literals 2013-12-05 21:00:22 +04:00
Andrey Vlasovskikh
b0fa5ca1f5 Added comment-based language injector for Python 2013-11-25 18:37:47 +04:00
Andrey Vlasovskikh
78fc601818 Fixed un-inject language availability for temporary Python injections 2013-11-25 17:47:28 +04:00
Andrey Vlasovskikh
67c086f0bc Fixed SQL select IntelliLang pattern (PY-10926) 2013-11-22 21:05:44 +04:00
Andrey Vlasovskikh
fd11bd29dd Support for temporary and configuration-based IntelliLang injections in Python (PY-10983, PY-10721) 2013-11-22 20:55:02 +04:00
Dmitry Jemerov
2067b87220 help for Python language injection settings (PY-10753) 2013-10-31 21:00:15 +01:00
Dmitry Jemerov
70e628954f Apache 2 copyright headers 2013-10-21 15:29:20 +02:00
Dmitry Jemerov
4bbd3d3ee8 fix dependencies of IntelliLang-python module 2013-10-21 11:46:42 +02:00
Andrey Vlasovskikh
cac4b7a29d Fixed IntelliLang default injections for multi-part Python string literals (PY-10983) 2013-10-11 16:12:16 +04:00
Gregory.Shrago
5cefc841c9 Extensible comment injector API 2013-08-06 22:09:08 +04:00
Dmitry Jemerov
33fa552c59 inject SQL by regexp 2013-07-22 10:06:03 +02:00
Dmitry Jemerov
36f033f667 inject SQL in arguments of sqlite3 module (PY-4260 work in progress) 2013-07-19 16:35:30 +02:00
Dmitry Jemerov
92387172d7 intellilang support for python (work in progress) 2013-07-19 15:48:16 +02:00