Release of v5.1.3
Stability update addressing a post-release field issue. #1262. Fix a security vulnerability in custom code redirect URL validation. Add an alert to the Compiler view when no Components exist. #1263.
This commit is contained in:
75 files changed
+2696
-1581
No files matched your search
@@ -813,23 +813,23 @@ async function getCodeFrom_server(id, type, typeName, callingName) {
|
||||
try {
|
||||
// --- Validation ---
|
||||
if (!getCodeFrom_isValidId(id)) {
|
||||
console.error('[getCodeFrom_server] Invalid ID provided:', id);
|
||||
console.debug('[getCodeFrom_server] Invalid ID provided:', id);
|
||||
return null;
|
||||
}
|
||||
if (typeof type !== 'string' || !type.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid type provided:', type);
|
||||
console.debug('[getCodeFrom_server] Invalid type provided:', type);
|
||||
return null;
|
||||
}
|
||||
if (typeof typeName !== 'string' || !typeName.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid typeName provided:', typeName);
|
||||
console.debug('[getCodeFrom_server] Invalid typeName provided:', typeName);
|
||||
return null;
|
||||
}
|
||||
if (typeof callingName !== 'string' || !callingName.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid callingName provided:', callingName);
|
||||
console.debug('[getCodeFrom_server] Invalid callingName provided:', callingName);
|
||||
return null;
|
||||
}
|
||||
if (typeof token !== 'string' || !token.trim()) {
|
||||
console.error('[getCodeFrom_server] Missing security token.');
|
||||
console.debug('[getCodeFrom_server] Missing security token.');
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@@ -223,23 +223,23 @@ async function getCodeFrom_server(id, type, typeName, callingName) {
|
||||
try {
|
||||
// --- Validation ---
|
||||
if (!getCodeFrom_isValidId(id)) {
|
||||
console.error('[getCodeFrom_server] Invalid ID provided:', id);
|
||||
console.debug('[getCodeFrom_server] Invalid ID provided:', id);
|
||||
return null;
|
||||
}
|
||||
if (typeof type !== 'string' || !type.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid type provided:', type);
|
||||
console.debug('[getCodeFrom_server] Invalid type provided:', type);
|
||||
return null;
|
||||
}
|
||||
if (typeof typeName !== 'string' || !typeName.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid typeName provided:', typeName);
|
||||
console.debug('[getCodeFrom_server] Invalid typeName provided:', typeName);
|
||||
return null;
|
||||
}
|
||||
if (typeof callingName !== 'string' || !callingName.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid callingName provided:', callingName);
|
||||
console.debug('[getCodeFrom_server] Invalid callingName provided:', callingName);
|
||||
return null;
|
||||
}
|
||||
if (typeof token !== 'string' || !token.trim()) {
|
||||
console.error('[getCodeFrom_server] Missing security token.');
|
||||
console.debug('[getCodeFrom_server] Missing security token.');
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@@ -1764,23 +1764,23 @@ async function getCodeFrom_server(id, type, typeName, callingName) {
|
||||
try {
|
||||
// --- Validation ---
|
||||
if (!getCodeFrom_isValidId(id)) {
|
||||
console.error('[getCodeFrom_server] Invalid ID provided:', id);
|
||||
console.debug('[getCodeFrom_server] Invalid ID provided:', id);
|
||||
return null;
|
||||
}
|
||||
if (typeof type !== 'string' || !type.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid type provided:', type);
|
||||
console.debug('[getCodeFrom_server] Invalid type provided:', type);
|
||||
return null;
|
||||
}
|
||||
if (typeof typeName !== 'string' || !typeName.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid typeName provided:', typeName);
|
||||
console.debug('[getCodeFrom_server] Invalid typeName provided:', typeName);
|
||||
return null;
|
||||
}
|
||||
if (typeof callingName !== 'string' || !callingName.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid callingName provided:', callingName);
|
||||
console.debug('[getCodeFrom_server] Invalid callingName provided:', callingName);
|
||||
return null;
|
||||
}
|
||||
if (typeof token !== 'string' || !token.trim()) {
|
||||
console.error('[getCodeFrom_server] Missing security token.');
|
||||
console.debug('[getCodeFrom_server] Missing security token.');
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
+750
-250
File diff suppressed because it is too large.
Load diff
@@ -265,23 +265,23 @@ async function getCodeFrom_server(id, type, typeName, callingName) {
|
||||
try {
|
||||
// --- Validation ---
|
||||
if (!getCodeFrom_isValidId(id)) {
|
||||
console.error('[getCodeFrom_server] Invalid ID provided:', id);
|
||||
console.debug('[getCodeFrom_server] Invalid ID provided:', id);
|
||||
return null;
|
||||
}
|
||||
if (typeof type !== 'string' || !type.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid type provided:', type);
|
||||
console.debug('[getCodeFrom_server] Invalid type provided:', type);
|
||||
return null;
|
||||
}
|
||||
if (typeof typeName !== 'string' || !typeName.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid typeName provided:', typeName);
|
||||
console.debug('[getCodeFrom_server] Invalid typeName provided:', typeName);
|
||||
return null;
|
||||
}
|
||||
if (typeof callingName !== 'string' || !callingName.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid callingName provided:', callingName);
|
||||
console.debug('[getCodeFrom_server] Invalid callingName provided:', callingName);
|
||||
return null;
|
||||
}
|
||||
if (typeof token !== 'string' || !token.trim()) {
|
||||
console.error('[getCodeFrom_server] Missing security token.');
|
||||
console.debug('[getCodeFrom_server] Missing security token.');
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@@ -141,23 +141,23 @@ async function getCodeFrom_server(id, type, typeName, callingName) {
|
||||
try {
|
||||
// --- Validation ---
|
||||
if (!getCodeFrom_isValidId(id)) {
|
||||
console.error('[getCodeFrom_server] Invalid ID provided:', id);
|
||||
console.debug('[getCodeFrom_server] Invalid ID provided:', id);
|
||||
return null;
|
||||
}
|
||||
if (typeof type !== 'string' || !type.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid type provided:', type);
|
||||
console.debug('[getCodeFrom_server] Invalid type provided:', type);
|
||||
return null;
|
||||
}
|
||||
if (typeof typeName !== 'string' || !typeName.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid typeName provided:', typeName);
|
||||
console.debug('[getCodeFrom_server] Invalid typeName provided:', typeName);
|
||||
return null;
|
||||
}
|
||||
if (typeof callingName !== 'string' || !callingName.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid callingName provided:', callingName);
|
||||
console.debug('[getCodeFrom_server] Invalid callingName provided:', callingName);
|
||||
return null;
|
||||
}
|
||||
if (typeof token !== 'string' || !token.trim()) {
|
||||
console.error('[getCodeFrom_server] Missing security token.');
|
||||
console.debug('[getCodeFrom_server] Missing security token.');
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
+5
-5
@@ -61,23 +61,23 @@ async function getCodeFrom_server(id, type, typeName, callingName) {
|
||||
try {
|
||||
// --- Validation ---
|
||||
if (!getCodeFrom_isValidId(id)) {
|
||||
console.error('[getCodeFrom_server] Invalid ID provided:', id);
|
||||
console.debug('[getCodeFrom_server] Invalid ID provided:', id);
|
||||
return null;
|
||||
}
|
||||
if (typeof type !== 'string' || !type.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid type provided:', type);
|
||||
console.debug('[getCodeFrom_server] Invalid type provided:', type);
|
||||
return null;
|
||||
}
|
||||
if (typeof typeName !== 'string' || !typeName.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid typeName provided:', typeName);
|
||||
console.debug('[getCodeFrom_server] Invalid typeName provided:', typeName);
|
||||
return null;
|
||||
}
|
||||
if (typeof callingName !== 'string' || !callingName.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid callingName provided:', callingName);
|
||||
console.debug('[getCodeFrom_server] Invalid callingName provided:', callingName);
|
||||
return null;
|
||||
}
|
||||
if (typeof token !== 'string' || !token.trim()) {
|
||||
console.error('[getCodeFrom_server] Missing security token.');
|
||||
console.debug('[getCodeFrom_server] Missing security token.');
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
+5
-5
@@ -943,23 +943,23 @@ async function getCodeFrom_server(id, type, typeName, callingName) {
|
||||
try {
|
||||
// --- Validation ---
|
||||
if (!getCodeFrom_isValidId(id)) {
|
||||
console.error('[getCodeFrom_server] Invalid ID provided:', id);
|
||||
console.debug('[getCodeFrom_server] Invalid ID provided:', id);
|
||||
return null;
|
||||
}
|
||||
if (typeof type !== 'string' || !type.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid type provided:', type);
|
||||
console.debug('[getCodeFrom_server] Invalid type provided:', type);
|
||||
return null;
|
||||
}
|
||||
if (typeof typeName !== 'string' || !typeName.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid typeName provided:', typeName);
|
||||
console.debug('[getCodeFrom_server] Invalid typeName provided:', typeName);
|
||||
return null;
|
||||
}
|
||||
if (typeof callingName !== 'string' || !callingName.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid callingName provided:', callingName);
|
||||
console.debug('[getCodeFrom_server] Invalid callingName provided:', callingName);
|
||||
return null;
|
||||
}
|
||||
if (typeof token !== 'string' || !token.trim()) {
|
||||
console.error('[getCodeFrom_server] Missing security token.');
|
||||
console.debug('[getCodeFrom_server] Missing security token.');
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
+5
-5
@@ -71,23 +71,23 @@ async function getCodeFrom_server(id, type, typeName, callingName) {
|
||||
try {
|
||||
// --- Validation ---
|
||||
if (!getCodeFrom_isValidId(id)) {
|
||||
console.error('[getCodeFrom_server] Invalid ID provided:', id);
|
||||
console.debug('[getCodeFrom_server] Invalid ID provided:', id);
|
||||
return null;
|
||||
}
|
||||
if (typeof type !== 'string' || !type.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid type provided:', type);
|
||||
console.debug('[getCodeFrom_server] Invalid type provided:', type);
|
||||
return null;
|
||||
}
|
||||
if (typeof typeName !== 'string' || !typeName.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid typeName provided:', typeName);
|
||||
console.debug('[getCodeFrom_server] Invalid typeName provided:', typeName);
|
||||
return null;
|
||||
}
|
||||
if (typeof callingName !== 'string' || !callingName.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid callingName provided:', callingName);
|
||||
console.debug('[getCodeFrom_server] Invalid callingName provided:', callingName);
|
||||
return null;
|
||||
}
|
||||
if (typeof token !== 'string' || !token.trim()) {
|
||||
console.error('[getCodeFrom_server] Missing security token.');
|
||||
console.debug('[getCodeFrom_server] Missing security token.');
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@@ -264,23 +264,23 @@ async function getCodeFrom_server(id, type, typeName, callingName) {
|
||||
try {
|
||||
// --- Validation ---
|
||||
if (!getCodeFrom_isValidId(id)) {
|
||||
console.error('[getCodeFrom_server] Invalid ID provided:', id);
|
||||
console.debug('[getCodeFrom_server] Invalid ID provided:', id);
|
||||
return null;
|
||||
}
|
||||
if (typeof type !== 'string' || !type.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid type provided:', type);
|
||||
console.debug('[getCodeFrom_server] Invalid type provided:', type);
|
||||
return null;
|
||||
}
|
||||
if (typeof typeName !== 'string' || !typeName.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid typeName provided:', typeName);
|
||||
console.debug('[getCodeFrom_server] Invalid typeName provided:', typeName);
|
||||
return null;
|
||||
}
|
||||
if (typeof callingName !== 'string' || !callingName.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid callingName provided:', callingName);
|
||||
console.debug('[getCodeFrom_server] Invalid callingName provided:', callingName);
|
||||
return null;
|
||||
}
|
||||
if (typeof token !== 'string' || !token.trim()) {
|
||||
console.error('[getCodeFrom_server] Missing security token.');
|
||||
console.debug('[getCodeFrom_server] Missing security token.');
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@@ -61,23 +61,23 @@ async function getCodeFrom_server(id, type, typeName, callingName) {
|
||||
try {
|
||||
// --- Validation ---
|
||||
if (!getCodeFrom_isValidId(id)) {
|
||||
console.error('[getCodeFrom_server] Invalid ID provided:', id);
|
||||
console.debug('[getCodeFrom_server] Invalid ID provided:', id);
|
||||
return null;
|
||||
}
|
||||
if (typeof type !== 'string' || !type.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid type provided:', type);
|
||||
console.debug('[getCodeFrom_server] Invalid type provided:', type);
|
||||
return null;
|
||||
}
|
||||
if (typeof typeName !== 'string' || !typeName.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid typeName provided:', typeName);
|
||||
console.debug('[getCodeFrom_server] Invalid typeName provided:', typeName);
|
||||
return null;
|
||||
}
|
||||
if (typeof callingName !== 'string' || !callingName.trim()) {
|
||||
console.error('[getCodeFrom_server] Invalid callingName provided:', callingName);
|
||||
console.debug('[getCodeFrom_server] Invalid callingName provided:', callingName);
|
||||
return null;
|
||||
}
|
||||
if (typeof token !== 'string' || !token.trim()) {
|
||||
console.error('[getCodeFrom_server] Missing security token.');
|
||||
console.debug('[getCodeFrom_server] Missing security token.');
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user