-
Notifications
You must be signed in to change notification settings - Fork 3
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
release -> develop merge (230731) #117
Conversation
release branch merge ( 20230626 )
feature. implementation
tks-issues-753
feature. add combindedFilter to pagination
app-serving: add preprocessing for extraEnv param
feature. implementation filter on pagination.
�improvement: apply html contents on email body
feature. re-architecutring pod-restart calendar on dashboard.
bugfix: (app-serving) handle request that doesn't include extraEnv param
bugfix. change organization paramter for deleting appgroup
feature. add workflow paramter for supporting s3.
bugfix. add workflow parameter for deleing appgroup
bugfix. fix filtering query as lower case.
|
||
pg.TotalPages = int(math.Ceil(float64(pg.TotalRows) / float64(pg.Limit))) | ||
orderQuery := fmt.Sprintf("%s %s", pg.SortColumn, pg.SortOrder) | ||
res := db.Offset(pg.GetOffset()).Limit(pg.GetLimit()).Order(orderQuery).Find(&alerts) |
Check failure
Code scanning / CodeQL
Database query built from user-controlled sources
|
||
pg.TotalPages = int(math.Ceil(float64(pg.TotalRows) / float64(pg.Limit))) | ||
orderQuery := fmt.Sprintf("%s %s", pg.SortColumn, pg.SortOrder) | ||
res := db.Offset(pg.GetOffset()).Limit(pg.GetLimit()).Order(orderQuery).Find(&appGroups) |
Check failure
Code scanning / CodeQL
Database query built from user-controlled sources
|
||
pg.TotalPages = int(math.Ceil(float64(pg.TotalRows) / float64(pg.Limit))) | ||
orderQuery := fmt.Sprintf("%s %s", pg.SortColumn, pg.SortOrder) | ||
res := db.Offset(pg.GetOffset()).Limit(pg.GetLimit()).Order(orderQuery).Find(&apps) |
Check failure
Code scanning / CodeQL
Database query built from user-controlled sources
orderQuery := fmt.Sprintf("%s %s", pg.SortColumn, pg.SortOrder) | ||
res := r.db.Offset(pg.GetOffset()).Limit(pg.GetLimit()).Order(orderQuery). | ||
Preload(clause.Associations).Find(&cloudAccounts, "organization_id = ? AND status != ?", organizationId, domain.CloudAccountStatus_DELETED) | ||
res := db.Offset(pg.GetOffset()).Limit(pg.GetLimit()).Order(orderQuery).Find(&cloudAccounts) |
Check failure
Code scanning / CodeQL
Database query built from user-controlled sources
|
||
orderQuery := fmt.Sprintf("%s %s", pg.SortColumn, pg.SortOrder) | ||
res := r.db.Offset(pg.GetOffset()).Limit(pg.GetLimit()).Order(orderQuery). | ||
Preload(clause.Associations).Find(&clusters) | ||
res := db.Offset(pg.GetOffset()).Limit(pg.GetLimit()).Order(orderQuery).Find(&clusters) |
Check failure
Code scanning / CodeQL
Database query built from user-controlled sources
Preload(clause.Associations).Order("updated_at desc, created_at desc"). | ||
Find(&clusters, "organization_id = ? AND status != ?", organizationId, domain.ClusterStatus_DELETED) | ||
|
||
res := db.Offset(pg.GetOffset()).Limit(pg.GetLimit()).Order(orderQuery).Find(&clusters) |
Check failure
Code scanning / CodeQL
Database query built from user-controlled sources
orderQuery := fmt.Sprintf("%s %s", pg.SortColumn, pg.SortOrder) | ||
res := r.db.Offset(pg.GetOffset()).Limit(pg.GetLimit()).Order(orderQuery).Find(&organizations) | ||
res := db.Offset(pg.GetOffset()).Limit(pg.GetLimit()).Order(orderQuery).Find(&organizations) |
Check failure
Code scanning / CodeQL
Database query built from user-controlled sources
orQuery = orQuery + fmt.Sprintf("LOWER(%s.%s::text) like LOWER('%%%s%%') OR ", table, column, combinedFilter.Value) | ||
} | ||
orQuery = orQuery[:len(orQuery)-3] | ||
db = db.Where(orQuery) |
Check failure
Code scanning / CodeQL
Database query built from user-controlled sources
orderQuery := fmt.Sprintf("%s %s", pg.SortColumn, pg.SortOrder) | ||
res := r.db.Offset(pg.GetOffset()).Limit(pg.GetLimit()).Order(orderQuery). | ||
Preload(clause.Associations).Find(&stackTemplates) | ||
res := db.Offset(pg.GetOffset()).Limit(pg.GetLimit()).Order(orderQuery).Find(&stackTemplates) |
Check failure
Code scanning / CodeQL
Database query built from user-controlled sources
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.
👍
No description provided.