kenken999 commited on
Commit
a66bb3e
·
1 Parent(s): 5a90c54
php/include/appsettings.php CHANGED
@@ -790,9 +790,9 @@ $suggestAllContent = true;
790
  $strLastSQL = "";
791
  $showCustomMarkerOnPrint = false;
792
 
793
- $projectBuildKey = "3641_1721285067";
794
  $wizardBuildKey = "41974";
795
- $projectBuildNumber = "3641";
796
 
797
  $mlang_messages = array();
798
  $mlang_charsets = array();
@@ -912,6 +912,10 @@ if(mlang_getcurrentlang()=="English")
912
  $globalSettings["showDetailedError"] = true;
913
 
914
 
 
 
 
 
915
 
916
  $globalSettings["mapMarkerCount"] = 50;
917
 
 
790
  $strLastSQL = "";
791
  $showCustomMarkerOnPrint = false;
792
 
793
+ $projectBuildKey = "3642_1721285067";
794
  $wizardBuildKey = "41974";
795
+ $projectBuildNumber = "3642";
796
 
797
  $mlang_messages = array();
798
  $mlang_charsets = array();
 
912
  $globalSettings["showDetailedError"] = true;
913
 
914
 
915
+ $globalSettings["restCreate"] = true;
916
+ $globalSettings["restReturnEncodedBinary"] = 1 != 0;
917
+ $globalSettings["restAcceptEncodedBinary"] = 0 != 0;
918
+ $globalSettings["restAuth"] = REST_BASIC;
919
 
920
  $globalSettings["mapMarkerCount"] = 50;
921
 
php/include/chat126_users1_settings.php CHANGED
@@ -49,6 +49,9 @@ if(mlang_getcurrentlang()=="English")
49
  $fieldLabelschat126_users1["English"]["ext_security_id"] = "Ext Security Id";
50
  $fieldToolTipschat126_users1["English"]["ext_security_id"] = "";
51
  $placeHolderschat126_users1["English"]["ext_security_id"] = "";
 
 
 
52
  if (count($fieldToolTipschat126_users1["English"]))
53
  $tdatachat126_users1[".isUseToolTips"] = true;
54
  }
@@ -207,7 +210,7 @@ $tdatachat126_users1[".strOrderBy"] = $tstrOrderBy;
207
  $tdatachat126_users1[".orderindexes"] = array();
208
 
209
 
210
- $tdatachat126_users1[".sqlHead"] = "SELECT ID, username, password, email, fullname, groupid, active, ext_security_id";
211
  $tdatachat126_users1[".sqlFrom"] = "FROM chat126_users1";
212
  $tdatachat126_users1[".sqlWhereExpr"] = "";
213
  $tdatachat126_users1[".sqlTail"] = "";
@@ -1369,6 +1372,144 @@ $tdatachat126_users1[".hideMobileList"] = array();
1369
 
1370
  $tdatachat126_users1["ext_security_id"] = $fdata;
1371
  $tdatachat126_users1[".searchableFields"][] = "ext_security_id";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1372
 
1373
 
1374
  $tables_data["chat126_users1"]=&$tdatachat126_users1;
@@ -1413,7 +1554,7 @@ function createSqlQuery_chat126_users1()
1413
  {
1414
  $proto0=array();
1415
  $proto0["m_strHead"] = "SELECT";
1416
- $proto0["m_strFieldList"] = "ID, username, password, email, fullname, groupid, active, ext_security_id";
1417
  $proto0["m_strFrom"] = "FROM chat126_users1";
1418
  $proto0["m_strWhere"] = "";
1419
  $proto0["m_strOrderBy"] = "";
@@ -1565,44 +1706,59 @@ $proto20["m_alias"] = "";
1565
  $obj = new SQLFieldListItem($proto20);
1566
 
1567
  $proto0["m_fieldlist"][]=$obj;
1568
- $proto0["m_fromlist"] = array();
1569
- $proto22=array();
1570
- $proto22["m_link"] = "SQLL_MAIN";
1571
- $proto23=array();
1572
- $proto23["m_strName"] = "chat126_users1";
1573
- $proto23["m_srcTableName"] = "chat126_users1";
1574
- $proto23["m_columns"] = array();
1575
- $proto23["m_columns"][] = "ID";
1576
- $proto23["m_columns"][] = "username";
1577
- $proto23["m_columns"][] = "password";
1578
- $proto23["m_columns"][] = "email";
1579
- $proto23["m_columns"][] = "fullname";
1580
- $proto23["m_columns"][] = "groupid";
1581
- $proto23["m_columns"][] = "active";
1582
- $proto23["m_columns"][] = "ext_security_id";
1583
- $obj = new SQLTable($proto23);
1584
-
1585
- $proto22["m_table"] = $obj;
1586
- $proto22["m_sql"] = "chat126_users1";
1587
- $proto22["m_alias"] = "";
1588
  $proto22["m_srcTableName"] = "chat126_users1";
1589
- $proto24=array();
1590
- $proto24["m_sql"] = "";
1591
- $proto24["m_uniontype"] = "SQLL_UNKNOWN";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1592
  $obj = new SQLNonParsed(array(
1593
  "m_sql" => ""
1594
  ));
1595
 
1596
- $proto24["m_column"]=$obj;
1597
- $proto24["m_contained"] = array();
1598
- $proto24["m_strCase"] = "";
1599
- $proto24["m_havingmode"] = false;
1600
- $proto24["m_inBrackets"] = false;
1601
- $proto24["m_useAlias"] = false;
1602
- $obj = new SQLLogicalExpr($proto24);
1603
 
1604
- $proto22["m_joinon"] = $obj;
1605
- $obj = new SQLFromListItem($proto22);
1606
 
1607
  $proto0["m_fromlist"][]=$obj;
1608
  $proto0["m_groupby"] = array();
@@ -1618,7 +1774,7 @@ $queryData_chat126_users1 = createSqlQuery_chat126_users1();
1618
 
1619
  ;
1620
 
1621
-
1622
 
1623
  $tdatachat126_users1[".sqlquery"] = $queryData_chat126_users1;
1624
 
 
49
  $fieldLabelschat126_users1["English"]["ext_security_id"] = "Ext Security Id";
50
  $fieldToolTipschat126_users1["English"]["ext_security_id"] = "";
51
  $placeHolderschat126_users1["English"]["ext_security_id"] = "";
52
+ $fieldLabelschat126_users1["English"]["apikey"] = "Apikey";
53
+ $fieldToolTipschat126_users1["English"]["apikey"] = "";
54
+ $placeHolderschat126_users1["English"]["apikey"] = "";
55
  if (count($fieldToolTipschat126_users1["English"]))
56
  $tdatachat126_users1[".isUseToolTips"] = true;
57
  }
 
210
  $tdatachat126_users1[".orderindexes"] = array();
211
 
212
 
213
+ $tdatachat126_users1[".sqlHead"] = "SELECT ID, username, password, email, fullname, groupid, active, ext_security_id, apikey";
214
  $tdatachat126_users1[".sqlFrom"] = "FROM chat126_users1";
215
  $tdatachat126_users1[".sqlWhereExpr"] = "";
216
  $tdatachat126_users1[".sqlTail"] = "";
 
1372
 
1373
  $tdatachat126_users1["ext_security_id"] = $fdata;
1374
  $tdatachat126_users1[".searchableFields"][] = "ext_security_id";
1375
+ // apikey
1376
+ // Custom field settings
1377
+ $fdata = array();
1378
+ $fdata["Index"] = 9;
1379
+ $fdata["strName"] = "apikey";
1380
+ $fdata["GoodName"] = "apikey";
1381
+ $fdata["ownerTable"] = "chat126_users1";
1382
+ $fdata["Label"] = GetFieldLabel("chat126_users1","apikey");
1383
+ $fdata["FieldType"] = 200;
1384
+
1385
+
1386
+
1387
+
1388
+
1389
+
1390
+ $fdata["strField"] = "apikey";
1391
+
1392
+ $fdata["sourceSingle"] = "apikey";
1393
+
1394
+
1395
+ $fdata["FullName"] = "apikey";
1396
+
1397
+
1398
+
1399
+ $fdata["UploadFolder"] = "files";
1400
+
1401
+ // Begin View Formats
1402
+ $fdata["ViewFormats"] = array();
1403
+
1404
+ $vdata = array("ViewFormat" => "");
1405
+
1406
+
1407
+
1408
+
1409
+
1410
+
1411
+
1412
+
1413
+
1414
+
1415
+
1416
+
1417
+
1418
+
1419
+
1420
+ $vdata["NeedEncode"] = true;
1421
+
1422
+
1423
+ $vdata["truncateText"] = true;
1424
+ $vdata["NumberOfChars"] = 80;
1425
+
1426
+ $fdata["ViewFormats"]["view"] = $vdata;
1427
+ // End View Formats
1428
+
1429
+ // Begin Edit Formats
1430
+ $fdata["EditFormats"] = array();
1431
+
1432
+ $edata = array("EditFormat" => "Text field");
1433
+
1434
+
1435
+ $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
1436
+ $edata["weekdays"] = "[]";
1437
+
1438
+
1439
+
1440
+
1441
+
1442
+
1443
+
1444
+
1445
+
1446
+
1447
+
1448
+ $edata["acceptFileTypesHtml"] = "";
1449
+
1450
+ $edata["maxNumberOfFiles"] = 1;
1451
+
1452
+
1453
+
1454
+
1455
+
1456
+ $edata["HTML5InuptType"] = "text";
1457
+
1458
+ $edata["EditParams"] = "";
1459
+ $edata["EditParams"].= " maxlength=50";
1460
+
1461
+ $edata["controlWidth"] = 200;
1462
+
1463
+ // Begin validation
1464
+ $edata["validateAs"] = array();
1465
+ $edata["validateAs"]["basicValidate"] = array();
1466
+ $edata["validateAs"]["customMessages"] = array();
1467
+
1468
+
1469
+ // End validation
1470
+
1471
+
1472
+
1473
+
1474
+
1475
+
1476
+ $fdata["EditFormats"]["edit"] = $edata;
1477
+ // End Edit Formats
1478
+
1479
+
1480
+ $fdata["isSeparate"] = false;
1481
+
1482
+
1483
+
1484
+
1485
+ // the field's search options settings
1486
+ $fdata["defaultSearchOption"] = "Contains";
1487
+
1488
+ // the default search options list
1489
+ $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
1490
+ // the end of search options settings
1491
+
1492
+
1493
+ //Filters settings
1494
+ $fdata["filterTotals"] = 0;
1495
+ $fdata["filterMultiSelect"] = 0;
1496
+ $fdata["filterFormat"] = "Values list";
1497
+ $fdata["showCollapsed"] = false;
1498
+
1499
+ $fdata["sortValueType"] = 0;
1500
+ $fdata["numberOfVisibleItems"] = 10;
1501
+
1502
+ $fdata["filterBy"] = 0;
1503
+
1504
+
1505
+
1506
+
1507
+
1508
+ //end of Filters settings
1509
+
1510
+
1511
+ $tdatachat126_users1["apikey"] = $fdata;
1512
+ $tdatachat126_users1[".searchableFields"][] = "apikey";
1513
 
1514
 
1515
  $tables_data["chat126_users1"]=&$tdatachat126_users1;
 
1554
  {
1555
  $proto0=array();
1556
  $proto0["m_strHead"] = "SELECT";
1557
+ $proto0["m_strFieldList"] = "ID, username, password, email, fullname, groupid, active, ext_security_id, apikey";
1558
  $proto0["m_strFrom"] = "FROM chat126_users1";
1559
  $proto0["m_strWhere"] = "";
1560
  $proto0["m_strOrderBy"] = "";
 
1706
  $obj = new SQLFieldListItem($proto20);
1707
 
1708
  $proto0["m_fieldlist"][]=$obj;
1709
+ $proto22=array();
1710
+ $obj = new SQLField(array(
1711
+ "m_strName" => "apikey",
1712
+ "m_strTable" => "chat126_users1",
1713
+ "m_srcTableName" => "chat126_users1"
1714
+ ));
1715
+
1716
+ $proto22["m_sql"] = "apikey";
 
 
 
 
 
 
 
 
 
 
 
 
1717
  $proto22["m_srcTableName"] = "chat126_users1";
1718
+ $proto22["m_expr"]=$obj;
1719
+ $proto22["m_alias"] = "";
1720
+ $obj = new SQLFieldListItem($proto22);
1721
+
1722
+ $proto0["m_fieldlist"][]=$obj;
1723
+ $proto0["m_fromlist"] = array();
1724
+ $proto24=array();
1725
+ $proto24["m_link"] = "SQLL_MAIN";
1726
+ $proto25=array();
1727
+ $proto25["m_strName"] = "chat126_users1";
1728
+ $proto25["m_srcTableName"] = "chat126_users1";
1729
+ $proto25["m_columns"] = array();
1730
+ $proto25["m_columns"][] = "ID";
1731
+ $proto25["m_columns"][] = "username";
1732
+ $proto25["m_columns"][] = "password";
1733
+ $proto25["m_columns"][] = "email";
1734
+ $proto25["m_columns"][] = "fullname";
1735
+ $proto25["m_columns"][] = "groupid";
1736
+ $proto25["m_columns"][] = "active";
1737
+ $proto25["m_columns"][] = "ext_security_id";
1738
+ $proto25["m_columns"][] = "apikey";
1739
+ $obj = new SQLTable($proto25);
1740
+
1741
+ $proto24["m_table"] = $obj;
1742
+ $proto24["m_sql"] = "chat126_users1";
1743
+ $proto24["m_alias"] = "";
1744
+ $proto24["m_srcTableName"] = "chat126_users1";
1745
+ $proto26=array();
1746
+ $proto26["m_sql"] = "";
1747
+ $proto26["m_uniontype"] = "SQLL_UNKNOWN";
1748
  $obj = new SQLNonParsed(array(
1749
  "m_sql" => ""
1750
  ));
1751
 
1752
+ $proto26["m_column"]=$obj;
1753
+ $proto26["m_contained"] = array();
1754
+ $proto26["m_strCase"] = "";
1755
+ $proto26["m_havingmode"] = false;
1756
+ $proto26["m_inBrackets"] = false;
1757
+ $proto26["m_useAlias"] = false;
1758
+ $obj = new SQLLogicalExpr($proto26);
1759
 
1760
+ $proto24["m_joinon"] = $obj;
1761
+ $obj = new SQLFromListItem($proto24);
1762
 
1763
  $proto0["m_fromlist"][]=$obj;
1764
  $proto0["m_groupby"] = array();
 
1774
 
1775
  ;
1776
 
1777
+
1778
 
1779
  $tdatachat126_users1[".sqlquery"] = $queryData_chat126_users1;
1780
 
php/include/dal/chats_at_localhost__chat126_users1.php CHANGED
@@ -8,6 +8,7 @@ $dalTablechat126_users1["fullname"] = array("type"=>200,"varname"=>"fullname", "
8
  $dalTablechat126_users1["groupid"] = array("type"=>200,"varname"=>"groupid", "name" => "groupid", "autoInc" => "0");
9
  $dalTablechat126_users1["active"] = array("type"=>3,"varname"=>"active", "name" => "active", "autoInc" => "0");
10
  $dalTablechat126_users1["ext_security_id"] = array("type"=>200,"varname"=>"ext_security_id", "name" => "ext_security_id", "autoInc" => "0");
 
11
  $dalTablechat126_users1["ID"]["key"]=true;
12
 
13
  $dal_info["chats_at_localhost__chat126_users1"] = &$dalTablechat126_users1;
 
8
  $dalTablechat126_users1["groupid"] = array("type"=>200,"varname"=>"groupid", "name" => "groupid", "autoInc" => "0");
9
  $dalTablechat126_users1["active"] = array("type"=>3,"varname"=>"active", "name" => "active", "autoInc" => "0");
10
  $dalTablechat126_users1["ext_security_id"] = array("type"=>200,"varname"=>"ext_security_id", "name" => "ext_security_id", "autoInc" => "0");
11
+ $dalTablechat126_users1["apikey"] = array("type"=>200,"varname"=>"apikey", "name" => "apikey", "autoInc" => "0");
12
  $dalTablechat126_users1["ID"]["key"]=true;
13
 
14
  $dal_info["chats_at_localhost__chat126_users1"] = &$dalTablechat126_users1;