@galadrim/galadmin 0.1.233 → 0.1.235
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/dbManager.js +1 -1
- package/dist/utils/dbManager.js.map +1 -1
- package/package.json +1 -1
- package/src/front/build/asset-manifest.json +3 -3
- package/src/front/build/index.html +1 -1
- package/src/front/build/static/js/{main.f024ade6.js → main.70ad8e58.js} +3 -3
- package/src/front/build/static/js/{main.f024ade6.js.map → main.70ad8e58.js.map} +1 -1
- package/src/front/ckeditor5-build/node_modules/semver/bin/semver.js +0 -0
- package/src/front/src/components/panels/ChatPanel.js +1 -1
- package/src/utils/dbManager.ts +1 -1
- package/src/front/ckeditor5-build/node_modules/.bin/semver +0 -12
- package/src/front/ckeditor5-build/node_modules/.bin/semver.cmd +0 -17
- package/src/front/ckeditor5-build/node_modules/.bin/semver.ps1 +0 -28
- /package/src/front/build/static/js/{main.f024ade6.js.LICENSE.txt → main.70ad8e58.js.LICENSE.txt} +0 -0
|
File without changes
|
|
@@ -52,7 +52,7 @@ export default ({ panel, record, view, index }) => {
|
|
|
52
52
|
<div key={index} class={`message ${message[panel.isAdminField] ? 'adminMessage' : 'userMessage'}`}>
|
|
53
53
|
{message[panel.messageField]}
|
|
54
54
|
{message[panel.isReadField] !== undefined && <div class="messageDetails read">{message[panel.isReadField] ? 'Lu' : 'Non-lu'}</div>}
|
|
55
|
-
<div class="messageDetails date">{window.moment(message[panel.datetimeField]).format("DD MMM [à] HH:mm")}</div>
|
|
55
|
+
<div class="messageDetails date">{window.moment(message[panel.datetimeField]).format("DD MMM YYYY [à] HH:mm")}</div>
|
|
56
56
|
</div>
|
|
57
57
|
))}
|
|
58
58
|
</div>
|
package/src/utils/dbManager.ts
CHANGED
|
@@ -34,7 +34,7 @@ function convertQuery(mysqlQuery, params) {
|
|
|
34
34
|
function quotePostgresQuery(query) {
|
|
35
35
|
query = query.replace(/`/g, '"');
|
|
36
36
|
|
|
37
|
-
const reservedWords = ["1",
|
|
37
|
+
const reservedWords = ["1","COUNT","*","UPDATE","SELECT","SET","=","INSERT","INTO","DELETE","FROM","WHERE","AND","OR","JOIN","ON","AS","IN","ILIKE","LIKE","EXISTS","ALL","ANY","NOT","NULL","TRUE","FALSE","GROUP","BY","ORDER","LIMIT","OFFSET","DESC","VALUES","LEFT","RIGHT","USING","CONCAT","CASE","WHEN","THEN","ELSE","END","ASC","IS","INTERVAL","CURRENT_DATE","SUM","COALESCE","-","ROUND","DATE_TRUNC","<>","+","DISTINCT","MAX","MIN","AVG","BIT_AND","BIT_OR","BOOL_AND","BOOL_OR","XMLAGG","STRING_AGG","EVERY","CORR","COVAR_POP","COVAR_SAMP","VAR_POP","VAR_SAMP","VARIANCE","REGR_SLOPE","REGR_INTERCEPT","REGR_COUNT","REGR_R2","REGR_AVGX","REGR_AVGY","REGR_SXX","REGR_SXY","REGR_SYY"];
|
|
38
38
|
|
|
39
39
|
const wordsToAddQuotes = new Set()
|
|
40
40
|
const parts = query.split(/[ ,\(\)]/);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
|
6
|
-
esac
|
|
7
|
-
|
|
8
|
-
if [ -x "$basedir/node" ]; then
|
|
9
|
-
exec "$basedir/node" "$basedir/../semver/bin/semver.js" "$@"
|
|
10
|
-
else
|
|
11
|
-
exec node "$basedir/../semver/bin/semver.js" "$@"
|
|
12
|
-
fi
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
@ECHO off
|
|
2
|
-
GOTO start
|
|
3
|
-
:find_dp0
|
|
4
|
-
SET dp0=%~dp0
|
|
5
|
-
EXIT /b
|
|
6
|
-
:start
|
|
7
|
-
SETLOCAL
|
|
8
|
-
CALL :find_dp0
|
|
9
|
-
|
|
10
|
-
IF EXIST "%dp0%\node.exe" (
|
|
11
|
-
SET "_prog=%dp0%\node.exe"
|
|
12
|
-
) ELSE (
|
|
13
|
-
SET "_prog=node"
|
|
14
|
-
SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
15
|
-
)
|
|
16
|
-
|
|
17
|
-
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\semver\bin\semver.js" %*
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env pwsh
|
|
2
|
-
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
3
|
-
|
|
4
|
-
$exe=""
|
|
5
|
-
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
6
|
-
# Fix case when both the Windows and Linux builds of Node
|
|
7
|
-
# are installed in the same directory
|
|
8
|
-
$exe=".exe"
|
|
9
|
-
}
|
|
10
|
-
$ret=0
|
|
11
|
-
if (Test-Path "$basedir/node$exe") {
|
|
12
|
-
# Support pipeline input
|
|
13
|
-
if ($MyInvocation.ExpectingInput) {
|
|
14
|
-
$input | & "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args
|
|
15
|
-
} else {
|
|
16
|
-
& "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args
|
|
17
|
-
}
|
|
18
|
-
$ret=$LASTEXITCODE
|
|
19
|
-
} else {
|
|
20
|
-
# Support pipeline input
|
|
21
|
-
if ($MyInvocation.ExpectingInput) {
|
|
22
|
-
$input | & "node$exe" "$basedir/../semver/bin/semver.js" $args
|
|
23
|
-
} else {
|
|
24
|
-
& "node$exe" "$basedir/../semver/bin/semver.js" $args
|
|
25
|
-
}
|
|
26
|
-
$ret=$LASTEXITCODE
|
|
27
|
-
}
|
|
28
|
-
exit $ret
|
/package/src/front/build/static/js/{main.f024ade6.js.LICENSE.txt → main.70ad8e58.js.LICENSE.txt}
RENAMED
|
File without changes
|