Skip to content

Commit

Permalink
open source alternatives to SaaS application
Browse files Browse the repository at this point in the history
  • Loading branch information
koobooteam committed Aug 6, 2024
1 parent 73e876f commit c8959a0
Show file tree
Hide file tree
Showing 1,710 changed files with 178,730 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added AppData/KoobooData/Global/Domain/Id.index
Binary file not shown.
Binary file added AppData/KoobooData/Global/Domain/store.config
Binary file not shown.
Binary file added AppData/KoobooData/Global/EnsureObject/Id.index
Binary file not shown.
Binary file added AppData/KoobooData/Global/EnsureObject/store.config
Binary file not shown.
Binary file added AppData/KoobooData/Global/GlobalSetting/Id.index
Binary file not shown.
Binary file added AppData/KoobooData/Global/GlobalSetting/store.config
Binary file not shown.
Binary file added AppData/KoobooData/Global/Organization/Data.block
Binary file not shown.
Binary file added AppData/KoobooData/Global/Organization/Id.index
Binary file not shown.
Binary file added AppData/KoobooData/Global/Organization/store.config
Binary file not shown.
Binary file added AppData/KoobooData/Global/Queue/Id.index
Binary file not shown.
Binary file added AppData/KoobooData/Global/Queue/store.config
Binary file not shown.
Binary file not shown.
Binary file added AppData/KoobooData/Global/User/Data.block
Binary file not shown.
Binary file added AppData/KoobooData/Global/User/Id.index
Binary file not shown.
Binary file added AppData/KoobooData/Global/User/store.config
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added AppData/KoobooData/admin/Community/Code/Id.index
Binary file not shown.
Binary file added AppData/KoobooData/admin/Community/Code/store.config
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added AppData/KoobooData/admin/Community/Form/Id.index
Binary file not shown.
Binary file added AppData/KoobooData/admin/Community/Form/store.config
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added AppData/KoobooData/admin/Community/Menu/Id.index
Binary file not shown.
Binary file added AppData/KoobooData/admin/Community/Menu/store.config
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added AppData/KoobooData/admin/Community/Page/Id.index
Binary file not shown.
Binary file added AppData/KoobooData/admin/Community/Page/store.config
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added AppData/KoobooData/admin/Community/View/Id.index
Binary file not shown.
Binary file added AppData/KoobooData/admin/Community/View/store.config
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
99 changes: 99 additions & 0 deletions AppData/KoobooData/admin/Community/site.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
{
"id": "cc6ee133-bf51-168b-0212-1774c5913869",
"organizationId": "292f2321-577a-a7a5-4389-4a0e4a801fc3",
"name": "Community",
"folderName": null,
"displayName": "Community",
"cultures": [],
"culture": {
"en": "English",
"zh": "中文"
},
"sitePath": {},
"defaultCulture": "zh",
"autoDetectCulture": false,
"continueDownload": false,
"published": true,
"status": "Published",
"localRootPath": null,
"enableCluster": false,
"mirrorWebSiteBaseUrl": null,
"enableVisitorLog": true,
"enableImageLog": true,
"enableSqlLog": false,
"enableSitePath": false,
"enableFullTextSearch": false,
"enableMultilingual": true,
"enableConstraintFixOnSave": true,
"enableCORS": true,
"enableFrontEvents": false,
"enableConstraintChecker": false,
"enableCache": true,
"enableECommerce": false,
"enablePublicModule": false,
"enableSystemRoute": false,
"enableFileIOUrl": true,
"enableHtmlMinifier": false,
"enableJsCssCompress": false,
"enableJsCssBrowerCache": true,
"enableImageBrowserCache": false,
"enableImageAlt": false,
"enableVideoBrowserCache": true,
"enableSPA": false,
"enableResourceCDN": false,
"enableVisitorCountryRestriction": false,
"visitorCountryRestrictions": {},
"visitorCountryRestrictionPage": null,
"imageCacheDays": 0,
"creationDate": "2024-08-06T19:00:09.3920064Z",
"continueConvert": true,
"previewUrl": null,
"baseUrl": null,
"lastUpdateTime": 638585676093977363,
"ssoLogin": false,
"customErrors": {},
"customSettings": {},
"forceSSL": false,
"siteType": "o",
"whiteListPath": null,
"specialPath": null,
"includePath": false,
"isApp": false,
"automateCovertImageToWebp": false,
"enableLighthouseOptimization": false,
"enableCssSplitByMedia": false,
"mobileMaxWidth": null,
"desktopMinWidth": null,
"defaultDatabase": "Auto",
"lighthouseSettingsJson": "[{\"name\":\"AppendWidthHeight\",\"enable\":true,\"setting\":{}}]",
"pwa": {
"enable": false,
"manifest": "{\"name\":\"bbs\",\"theme_color\":\"#FFFFFF\",\"start_url\":\"/\",\"display\":\"standalone\",\"background_color\":\"#000000\",\"icons\":[{\"sizes\":\"512x512\",\"src\":\"/_pwa/logo.png\"},{\"sizes\":\"512x512\",\"src\":\"/_pwa/logo.png\",\"purpose\":\"maskable\"}]}",
"serviceWorker": "{\"CacheSettings\":[]}"
},
"codeLogSettings": {
"enable": true,
"logLevel": "Information",
"keepDays": 30
},
"sitemapSettings": {
"enable": false,
"path": "/sitemap.xml",
"autoGenerate": true,
"code": "// const result= k.sitemap\r\n// .create()\r\n// .append(\"https://my_site.com/?name=abc\")\r\n// .build();\r\n// export default result"
},
"unocssSettings": {
"enable": false,
"disableSsr": false,
"resetStyle": true,
"config": "{\n \"rules\": [\n [\"m-1\", { \"margin\": \"0.25rem\" }]\n ]\n}"
},
"visibleAdvancedMenus": [],
"enableTinymceToolbarSettings": false,
"tinymceToolbarSettings": null,
"tinymceSettings": {},
"codeSuggestions": [],
"recordSiteLogVideo": false,
"enableUpdateSimilarPage": true,
"devPassword": "9332"
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added AppData/KoobooData/admin/KanbanBoard/Form/Data.block
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// write your dashboard using k.site.dashBoard api
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// Event default code to be defined!
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"name": "zguoqi_Chinese_English_translation_correction813",
"description": "Module Summary Information",
"version": "1.0.0",
"settingDefines": [
{
"name": "text",
"defaultValue": "Dummy text",
"description": "text description",
"display": "Text Input",
"type": "input"
},
{
"name": "number",
"defaultValue": 1234,
"description": "number description",
"display": "number",
"type": "number"
},
{
"name": "selection",
"defaultValue": "option1",
"description": "selecttion description",
"display": "Selection",
"type": "select",
"options": [
"option1",
"option2"
]
},
{
"name": "switch",
"defaultValue": true,
"description": "switch description",
"display": "boolean",
"type": "switch"
},
{
"name": "textarea",
"defaultValue": "textareaDefault",
"description": "textarea description",
"type": "textarea"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<p>Your module information in **MarkDown** syntax</p> <p>Module config value can be access from k.Module.Config</p>
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
<script env="server">
if (k.request.uploadfile) {
var file = k.request.files[0].bytes;
var book = k.office.excel.getWorkBookFromBytes(file, ".xls");
var newbook = k.office.excel.createNewWorkbook(".xls");
var sheet = book.getSheet("Content");
var lines;

var firstLine = true;

var counter =0;

sheet.rows.forEach(function(item) {

if (firstLine) {
firstLine = false;
} else {
var key = item.cells[0].value;
var correct = item.cells[3].value;
if (correct) {
var siteLabel = k.site.labels.get(key);
if (siteLabel) {
siteLabel.setCultureValue("en", correct);
k.site.labels.update(siteLabel);
counter +=1;
}
}
}
});

k.response.write("Job done, records done: "+counter.toString());

} else if (k.request.downloadfile) {

var list = k.site.labels.all();

var data = [];

var header = [];

header.push("Name");
header.push("Chinese");
header.push("English");
header.push("Corrected");
data.push(header);

list.forEach(function(item) {
var obj = [];
obj.push(item.name);
obj.push(item.getCultureValue("zh"));
obj.push(item.getCultureValue("en"));
obj.push(null);
data.push(obj);
});
var exl = k.office.excel.createNewWorkbook(".xls");

var sheet = exl.createSheet("Content");

sheet.fillArrayData(data);

var bytes = exl.readAsBytes();

k.response.binary("application/Excel", bytes, "label.xls");
}
</script>


<form method="post" enctype="multipart/form-data">

<p>
<label>Download file for editing</label><br />
<input type="text" hidden name="downloadfile" value="1" />
</p>
<p>
<input type="submit" value="Download Excel" />
</p>
</form>

<form method="post" enctype="multipart/form-data">
<p>
<label>upload corrected enlish version</label><br />
<input type="file" name="example1" />
<input type="text" hidden name="uploadfile" value="1" />
</p>
<p>
<input type='submit' value="Upload Excel" />
</p>
</form>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
99 changes: 99 additions & 0 deletions AppData/KoobooData/admin/KanbanBoard/site.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
{
"id": "2f580aaa-33dd-d088-3d87-3a9deca8aa3a",
"organizationId": "292f2321-577a-a7a5-4389-4a0e4a801fc3",
"name": "KanbanBoard",
"folderName": null,
"displayName": "KanbanBoard",
"cultures": [],
"culture": {
"en": "English",
"zh": "中文(Zhōngwén), 汉语, 漢語"
},
"sitePath": {},
"defaultCulture": "en",
"autoDetectCulture": false,
"continueDownload": false,
"published": true,
"status": "Published",
"localRootPath": null,
"enableCluster": false,
"mirrorWebSiteBaseUrl": null,
"enableVisitorLog": true,
"enableImageLog": true,
"enableSqlLog": false,
"enableSitePath": false,
"enableFullTextSearch": false,
"enableMultilingual": true,
"enableConstraintFixOnSave": true,
"enableCORS": true,
"enableFrontEvents": false,
"enableConstraintChecker": false,
"enableCache": true,
"enableECommerce": false,
"enablePublicModule": false,
"enableSystemRoute": false,
"enableFileIOUrl": true,
"enableHtmlMinifier": false,
"enableJsCssCompress": false,
"enableJsCssBrowerCache": true,
"enableImageBrowserCache": false,
"enableImageAlt": false,
"enableVideoBrowserCache": true,
"enableSPA": false,
"enableResourceCDN": false,
"enableVisitorCountryRestriction": false,
"visitorCountryRestrictions": {},
"visitorCountryRestrictionPage": null,
"imageCacheDays": 1,
"creationDate": "2024-08-06T18:59:54.4025806Z",
"continueConvert": true,
"previewUrl": null,
"baseUrl": null,
"lastUpdateTime": 638585675944108348,
"ssoLogin": false,
"customErrors": {},
"customSettings": {},
"forceSSL": false,
"siteType": "o",
"whiteListPath": null,
"specialPath": null,
"includePath": false,
"isApp": false,
"automateCovertImageToWebp": false,
"enableLighthouseOptimization": false,
"enableCssSplitByMedia": false,
"mobileMaxWidth": null,
"desktopMinWidth": null,
"defaultDatabase": "Auto",
"lighthouseSettingsJson": "[{\"name\":\"AppendWidthHeight\",\"enable\":true,\"setting\":{}}]",
"pwa": {
"enable": false,
"manifest": "{\"name\":\"task\",\"theme_color\":\"#FFFFFF\",\"start_url\":\"/\",\"display\":\"standalone\",\"background_color\":\"#000000\",\"icons\":[{\"sizes\":\"512x512\",\"src\":\"/_pwa/logo.png\"},{\"sizes\":\"512x512\",\"src\":\"/_pwa/logo.png\",\"purpose\":\"maskable\"}]}",
"serviceWorker": "{\"CacheSettings\":[]}"
},
"codeLogSettings": {
"enable": true,
"logLevel": "Information",
"keepDays": 30
},
"sitemapSettings": {
"enable": false,
"path": "/sitemap.xml",
"autoGenerate": true,
"code": "// const result= k.sitemap\r\n// .create()\r\n// .append(\"https://my_site.com/?name=abc\")\r\n// .build();\r\n// export default result"
},
"unocssSettings": {
"enable": true,
"disableSsr": false,
"resetStyle": true,
"config": "{\n \"safelist\": [\n \"!border-primary\",\n \"px-4\",\n \"mx-4\",\n \"collapse\",\n \"block\",\n \"hidden\",\n \"w-[240px]\",\n \"cursor-not-allowed\",\n \"justify-center\",\n \"border-red-400\",\n \"!bg-[#ecf5ff]\",\n \"bg-[#ecf5ff]\",\n \"bg-gray-200\",\n \"p-[20px]\",\n \"pl-4\",\n \"!p-0\",\n \"!text-[#feb133]\",\n \"text-gray-500\",\n \"text-gray-600\",\n \"text-red-400\",\n \"opacity-100\",\n \"placeholder:text-red-400::placeholder\",\n \"text-primary\"\n ],\n \"theme\": {\n \"colors\": {\n \"primary\": \"#409eff\"\n }\n }\n}"
},
"visibleAdvancedMenus": [],
"enableTinymceToolbarSettings": false,
"tinymceToolbarSettings": null,
"tinymceSettings": {},
"codeSuggestions": [],
"recordSiteLogVideo": false,
"enableUpdateSimilarPage": true,
"devPassword": "9277"
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added AppData/KoobooData/admin/appbox/CmsFile/Id.index
Binary file not shown.
Binary file added AppData/KoobooData/admin/appbox/CmsFile/store.config
Binary file not shown.
Binary file added AppData/KoobooData/admin/appbox/Code/Data.block
Binary file not shown.
Binary file added AppData/KoobooData/admin/appbox/Code/Id.index
Binary file not shown.
Binary file added AppData/KoobooData/admin/appbox/Code/store.config
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added AppData/KoobooData/admin/appbox/Folder/Data.block
Binary file not shown.
Binary file added AppData/KoobooData/admin/appbox/Folder/Id.index
Binary file not shown.
Binary file added AppData/KoobooData/admin/appbox/Folder/store.config
Binary file not shown.
Binary file added AppData/KoobooData/admin/appbox/Form/Data.block
Binary file not shown.
Binary file added AppData/KoobooData/admin/appbox/Form/Id.index
Binary file not shown.
Binary file added AppData/KoobooData/admin/appbox/Form/store.config
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added AppData/KoobooData/admin/appbox/Image/Data.block
Binary file not shown.
Binary file added AppData/KoobooData/admin/appbox/Image/Id.index
Binary file not shown.
Binary file added AppData/KoobooData/admin/appbox/Image/store.config
Binary file not shown.
Binary file not shown.
Binary file added AppData/KoobooData/admin/appbox/Label/Id.index
Binary file not shown.
Binary file added AppData/KoobooData/admin/appbox/Label/store.config
Binary file not shown.
Binary file added AppData/KoobooData/admin/appbox/Layout/Data.block
Binary file not shown.
Binary file added AppData/KoobooData/admin/appbox/Layout/Id.index
Binary file not shown.
Binary file added AppData/KoobooData/admin/appbox/Layout/store.config
Binary file not shown.
Binary file added AppData/KoobooData/admin/appbox/Menu/Id.index
Binary file not shown.
Binary file added AppData/KoobooData/admin/appbox/Menu/store.config
Binary file not shown.
1 change: 1 addition & 0 deletions AppData/KoobooData/admin/appbox/Module/files/Dashboard.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// write your dashboard using k.site.dashBoard api
1 change: 1 addition & 0 deletions AppData/KoobooData/admin/appbox/Module/files/Event.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// Event default code to be defined!
Loading

0 comments on commit c8959a0

Please sign in to comment.