-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
merge 2309 #1957
Merged
Merged
merge 2309 #1957
Changes from 250 commits
Commits
Show all changes
339 commits
Select commit
Hold shift + click to select a range
091be2c
fix:spell
taolx0 c54e165
Merge pull request #1793 from actiontech/feishu-5
ColdWaterLW 439dcd3
chore:forbid dingtalk approval
taolx0 b1c63ff
Merge pull request #1796 from actiontech/feat/dingtalk-execution
ColdWaterLW 8a01721
fix spelling
ColdWaterLW 97b3712
Merge pull request #1797 from actiontech/fix-spelling
taolx0 c98e762
support slow log filter
sjjian 106579d
support slow log filter
sjjian 2148e34
fix:git commit error
taolx0 4994f85
Merge pull request #1799 from actiontech/fix-git
ColdWaterLW cc2e273
Merge pull request #1798 from actiontech/slowlog-filter
ColdWaterLW 5f9c2fc
fix spelling
ColdWaterLW 21eb365
Merge pull request #1800 from actiontech/fix-ee-933
taolx0 e690c95
api definitions
ColdWaterLW 1e6fac3
compatible with dml sql that does not use where
hasa1K 3daab8b
hot-fix: cannot using hash algo in generate token
winfredLIN 931cd3c
return creator to front-end
ColdWaterLW 279f59b
change unit test
hasa1K 5b2a774
Merge pull request #1804 from winfredLIN/hot-fix-scanner-token-gen
ColdWaterLW 1b8fe58
Merge pull request #1803 from actiontech/fix-issue1743-7
taolx0 6a909b0
avoid text field
hasa1K 1488803
update sqle community info
KID-G 0255d36
fix descriptions
ColdWaterLW 8c89f71
add instance name
ColdWaterLW a86ff4e
Merge pull request #1802 from actiontech/issue-ee-918
sjjian f3d3fe3
check union index
hasa1K 8f45e3c
fix parameter of api definitions
ColdWaterLW 0747844
Merge pull request #1808 from actiontech/issue-ee-918
sjjian 51776e5
chore:sql manage list api define
taolx0 2d7b94a
add api for detail info
ColdWaterLW b1c11d6
Merge pull request #1810 from actiontech/issue-ee-918
sjjian 21da492
chore:rename
taolx0 494c3e8
Merge pull request #1809 from actiontech/api-ee-943
ColdWaterLW 90dd6c6
rename api field
ColdWaterLW ae28d72
Merge pull request #1812 from actiontech/issue-ee-918
sjjian 67a9738
fix api
ColdWaterLW 7c2c378
add function for reusing
ColdWaterLW d76bf62
implement create sql audit
ColdWaterLW 05d0777
store project id for audit records
ColdWaterLW 1eadbbf
1. correct logs; 2. don not write useless ";"
ColdWaterLW 1eb8392
fix lint
ColdWaterLW 509d1bb
chore:sql manage api define update
taolx0 dd40f92
Merge pull request #1813 from actiontech/issue-1811
sjjian 2147713
check table rows count
hasa1K b7c7acf
add unit test
hasa1K c4f70f3
change unit test
hasa1K 84336d0
chore:optimize api define
taolx0 faa49cc
chore:optimize api define
taolx0 52c4c4e
Merge pull request #1814 from actiontech/api-ee-943-1
sjjian 392fb33
compatible with scheduled tasks
hasa1K c9df6a8
change unit test
hasa1K 2ef7b20
change unit test
hasa1K cc72aba
adjust api
ColdWaterLW 75bc903
implement get audit record list
ColdWaterLW 1fc038d
implement update tags of sql audit record
ColdWaterLW 96acdbd
fix:add @Id
taolx0 cae4602
fix:ci spell
taolx0 fc6ea36
optimize name and error type
ColdWaterLW cd5cb91
return error with error code
ColdWaterLW b3b1bf1
Merge pull request #1818 from actiontech/issue-1811
sjjian 5725b84
support tags
ColdWaterLW ec07d17
adjust api
ColdWaterLW c30d463
implement get sql audit record detail
ColdWaterLW 17c5e7b
Merge pull request #1819 from actiontech/fix-api-1
hasa1K 3f2b934
implement tag tips
ColdWaterLW 09a81fb
skip generate rollback sqls when source is zip file
ColdWaterLW 28022fc
do not delete tasks if they are still related to audit record
ColdWaterLW fe23450
use GetTableRowCount && change init task
hasa1K fa37866
fix: small probability of causing panic
winfredLIN ef580d7
fix syntax
ColdWaterLW d7dc545
Merge pull request #1821 from winfredLIN/fix-issue1756-append2
taolx0 1bd4bf3
the sql audit record id should be got from path
ColdWaterLW 7962075
correct filter audit status
ColdWaterLW f05251e
judge schema && table exist
hasa1K 6611eaa
fix total number
ColdWaterLW 10a609a
change unit test
hasa1K 806b812
remove duplicate code
hasa1K e9e7aef
change tag limitation
ColdWaterLW 2dee317
Merge pull request #1820 from actiontech/issue-1811
sjjian c888817
Merge pull request #1815 from actiontech/fix-issue1783-3
sjjian 89dfca8
tags is required not nil by "dive" validation
ColdWaterLW 32c67bc
use GetTableRowCount and GetColumnCardinality instead GetIndexSelecti…
hasa1K af3c503
chore:optimize api return
taolx0 0cbe0ba
update unit test
hasa1K 526d864
Merge pull request #1823 from actiontech/fix-api-2
sjjian 31dbca3
Merge branch 'main' of github.com:actiontech/sqle into fix-issue1783-2
hasa1K 74214a7
change error code
hasa1K 7815f22
Merge pull request #1822 from actiontech/issue-1811
sjjian 0f12d39
fix spelling
ColdWaterLW 391cf0f
Merge pull request #1824 from actiontech/fix-spelling
sjjian f8a93e9
add CreateTableStmt && change message
hasa1K f38817d
update unit test
hasa1K 371e1e8
Merge pull request #1817 from actiontech/fix-issue1783-2
sjjian 894e334
Merge branch 'main' of github.com:actiontech/sqle into fix-issue1783-1
hasa1K 5630c57
chore:add schema name field
taolx0 2e95882
Merge pull request #1825 from actiontech/fix-api-3
sjjian 793aa4d
add only pk solution
hasa1K 7f0aecd
update unit test
hasa1K 1966d86
add blob unit test
hasa1K 8179d3e
Merge pull request #1816 from actiontech/fix-issue1783-1
sjjian bed0b20
fix log, field don't add message
sjjian cfa74f7
Merge pull request #1826 from actiontech/fix-log-desc
ColdWaterLW b1ea1f7
api definition
ColdWaterLW 3cd0fa3
add check select rows
hasa1K 6c9f310
update unit test
hasa1K badf685
remove unused func
hasa1K 68ffe31
check scan rows
hasa1K eac4747
use type instead of key
hasa1K 065ba7c
change desc
hasa1K 08f91b6
split code to new func
hasa1K df2a45b
update unit test
hasa1K 8923d18
fist run explain
hasa1K 20d649c
update unit test
hasa1K 50732fd
Merge pull request #1828 from actiontech/fix-issue1783-5
sjjian 9987bd1
Merge branch 'main' of github.com:actiontech/sqle into fix-issue1783-6
hasa1K 276d27f
split code from checkExplain
hasa1K 8a9d9b2
add unit test
hasa1K e7d76ac
fix #1830
sjjian 2173ebe
fix #1832
sjjian a296300
Merge pull request #1834 from actiontech/fix-1832-2
ColdWaterLW 026c709
Merge pull request #1831 from actiontech/fix-1830
ColdWaterLW 8ba5430
Merge pull request #1829 from actiontech/fix-issue1783-6
sjjian 64ca8c2
rename fields
ColdWaterLW 014f135
feats: new info collection for slow log statistics
winfredLIN c7da8d4
Merge pull request #1835 from actiontech/issue-ee-958
sjjian 6f61d6e
feats: compatible with older versions of scannerd
winfredLIN 05f60e5
test: update unit test for GetAuditPlanSQLsByReq
winfredLIN 9d4c4ca
Merge pull request #1836 from winfredLIN/issue928
sjjian 44a5cb3
change field name
ColdWaterLW ebfe64d
check join field is using index
hasa1K 42ee9ed
add unit test
hasa1K 03667a1
change annotation
hasa1K 43df8c1
Merge pull request #1837 from actiontech/issue-ee-958
sjjian 06869d4
feat:forbid math computation or func on index
taolx0 fc3ff03
unit test
taolx0 10c338a
chore:change rule category
taolx0 7ae558e
check join field charset and collation
hasa1K b5113ab
update unit test
hasa1K 4469060
fix misspell
hasa1K d374245
Merge pull request #1839 from actiontech/feat-index-rule
ColdWaterLW 22238b4
Merge branch 'main' of github.com:actiontech/sqle into fix-issue1783-6
hasa1K 156a73d
update code
hasa1K 4b3d581
Merge pull request #1840 from actiontech/fix-issue1783-6
taolx0 ae824fd
docs: update api documents
winfredLIN 36822c7
Merge pull request #1841 from winfredLIN/issue928
taolx0 5b196e1
chore:support front ui link
taolx0 5bbed92
Merge pull request #1842 from actiontech/sql-manage-1
sjjian f94f235
chore:add project name query
taolx0 b9e932b
Merge pull request #1843 from actiontech/sql-manage-2
sjjian 2e12c3d
Merge pull request #1807 from actiontech/update-community-info
ColdWaterLW 3a4fb9a
add rules
ColdWaterLW 38c98b0
add unit test
ColdWaterLW 22d39e7
change rule name and level
ColdWaterLW cb49236
fix lint
ColdWaterLW fc16cd4
do not block when error occur
ColdWaterLW fcc60b5
fix unit test
ColdWaterLW f909dea
Merge pull request #1845 from actiontech/issue-1783
sjjian 7950110
chore:sql manage batch update api
taolx0 695a130
Merge pull request #1846 from actiontech/api-sql-manage
sjjian 633354c
docs: modify the SQL audit http interface
winfredLIN ce27966
chore:add remark field
taolx0 32ab6b5
Merge pull request #1847 from actiontech/api-5
sjjian 521bc38
Merge pull request #1848 from winfredLIN/issue959
ColdWaterLW 9b1e228
add parameter to specify rule
ColdWaterLW 44e45dc
add definition to ce
ColdWaterLW ddf26eb
Merge pull request #1850 from actiontech/issue-ee-958
sjjian 6e4d99b
feat:community edition impl
taolx0 1006592
refactor:add sql-fingerprint return
taolx0 8f79d80
refactor:extract model logic
taolx0 e5f4949
feat:support auditPlan and sql audit sync
taolx0 39b6051
chore:sql manage model
taolx0 3c943a8
chore:review fix
taolx0 71e0ea8
Merge pull request #1844 from actiontech/sql-manage-3
sjjian a26f6e1
correct api definition
ColdWaterLW e5bf1ac
Merge pull request #1851 from actiontech/issue-ee-958
sjjian f4e6e91
feat: support audit sqls from git repository
winfredLIN 212a93e
test: unitest for check git http url func
winfredLIN 7d68ea4
chore: upgrade go version from 1.16 to 1.19.6
winfredLIN 65a2ced
chore: upgrade go version from 1.16 to 1.19.6
winfredLIN 9546505
perf: reduce unnecessary file reads
winfredLIN b62ac6a
refactor: optimize the judgment logic
winfredLIN e755e50
content field may store long string
ColdWaterLW d816db4
support longer
ColdWaterLW 0066f22
Merge pull request #1853 from actiontech/issue-ee-958
sjjian 132600c
fix: ci failed
winfredLIN e99bf79
ci: upgrade golang version of ci
winfredLIN 790dd55
ci: upgrade golang version of github action
winfredLIN 9cdf406
chore:ce sql manage
taolx0 e6bff5b
ci: down grade of golang-ci-lint
winfredLIN d7f0c79
Merge pull request #1855 from actiontech/sql-manage-6
sjjian 92e9729
ci: disable forcetypeassert rule of ci-lint
winfredLIN d9181b2
Merge pull request #1854 from winfredLIN/feat-issue959
sjjian d633443
fix:add check
taolx0 aa4f4d6
Merge pull request #1856 from actiontech/sql-manage-6
sjjian 4b7f8b9
fix:not show all assignees
taolx0 17bbb20
Merge pull request #1857 from actiontech/sql-manage-7
sjjian 14b95d6
fix compile error
ColdWaterLW 89f55a7
Merge pull request #1858 from actiontech/issue-ee-959
sjjian 40d8133
chore:support upload sql sync
taolx0 c379394
Merge pull request #1859 from actiontech/sql-manage-10
ColdWaterLW 0f4bf3c
chore:add person audited status
taolx0 343d1f6
Merge pull request #1860 from actiontech/add-status-1
sjjian dc2b875
chore:add update status
taolx0 c745d7d
Merge pull request #1861 from actiontech/add-status-2
sjjian 387aee0
fix:count error and use default status
taolx0 23f7eb2
fix:count bad sql status
taolx0 4c3dcf2
Merge pull request #1862 from actiontech/add-status-3
sjjian 5e01f43
chore:support batch insert
taolx0 0db7ff7
Merge pull request #1863 from actiontech/fix-sql-manage
sjjian bca727c
add a split line between report info and sql audit info
hasa1K 60123f6
Merge pull request #1864 from actiontech/fix-issue1767
sjjian c3d2fbd
fix #1865
sjjian 624c345
Merge pull request #1866 from actiontech/fix-1865
ColdWaterLW d5ece48
chore:swagger sql manage
taolx0 8f0d842
Merge pull request #1868 from actiontech/export
sjjian 0a52320
feat:sql manage export
taolx0 3dd949e
filter query_rewrite schema
hasa1K 2a01904
exchange rule name && update unit test
hasa1K 7d4f6cc
feat:Possible userName are repeated
taolx0 9ef85b6
chore:util convert func
taolx0 e134571
Merge pull request #1871 from actiontech/export
sjjian 073c8a0
Merge pull request #1873 from actiontech/fix-issue1783
ColdWaterLW 6e2b563
exclude unnecessary case
ColdWaterLW 0a0f926
Merge pull request #1874 from actiontech/issue-1872
sjjian dd8b8bf
optimize index suggestion
ColdWaterLW 583d124
fix unit test
ColdWaterLW 265b879
optimize audit result
ColdWaterLW 5d76162
fix desc
ColdWaterLW 9363a35
fix #1878
sjjian 9f795ab
fix #1878
sjjian de44e3a
remove unused func
sjjian a402046
fix: extract sqls from xml file only save one
winfredLIN fefa19d
Merge pull request #1875 from actiontech/fix-issue974
sjjian d071d5e
chore:add remark field length
taolx0 7a0db62
Merge pull request #1881 from actiontech/fiel-length
sjjian 3ab4761
Merge pull request #1879 from actiontech/fix-1878
ColdWaterLW a0d6cda
Merge pull request #1877 from actiontech/issue-1876
sjjian eb954b5
fix:error delete syntax in mysql5.7
taolx0 11500b2
Merge pull request #1882 from actiontech/version-sql-fix
sjjian d53acfa
perf: put judgment and add ; outside of for block
winfredLIN 411a3b0
Merge pull request #1880 from winfredLIN/issue1027
ColdWaterLW 8dfff9a
fix rule description
ColdWaterLW 1b4c062
Merge pull request #1883 from actiontech/issue-1743
sjjian 573c38e
merge release-2.2309
LordofAvernus d29159e
Merge remote-tracking branch 'sqle-ce/release-2.2309.x' into merge-2309
LordofAvernus 48b10da
fix golint & fix unit test
LordofAvernus 4a5bec2
adjustment projectid type
LordofAvernus b2a429c
fix wrong url && update readme
LordofAvernus d1dc01f
fix: field type causing query errors & get inst/user by dms server
LordofAvernus abce285
fix review: wrong url
LordofAvernus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-count 1
目的是啥There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
禁用测试缓存,避免本地用缓存跑测试