diff --git a/build/deploy/bin/ObfuscateJSApi.exe b/build/deploy/bin/ObfuscateJSApi.exe deleted file mode 100644 index a8c51da00..000000000 Binary files a/build/deploy/bin/ObfuscateJSApi.exe and /dev/null differ diff --git a/build/deploy/bin/ObfuscateStrings.exe b/build/deploy/bin/ObfuscateStrings.exe deleted file mode 100644 index dd821aafe..000000000 Binary files a/build/deploy/bin/ObfuscateStrings.exe and /dev/null differ diff --git a/build/deploy/com.eu.json b/build/deploy/com.eu.json deleted file mode 100644 index 323d5d2b6..000000000 --- a/build/deploy/com.eu.json +++ /dev/null @@ -1,175 +0,0 @@ -{ - "version": { - "major": 1, - "minor": 309 - }, - "src": "../../deploy", - "dst": "../../deploy-to-com.eu", - "path": { - "pattern": [ - "locale/", - "resources/img/" - ], - "base_path": "<%= pkg.dst %>", - "src_path": [ - "apps/documenteditor/embed/app-all.js", - "apps/documenteditor/main/app-edit.js", - "apps/documenteditor/main/app-view.js", - "apps/documenteditor/mobile/app-all.js", - "apps/spreadsheeteditor/embed/app-all.js", - "apps/spreadsheeteditor/main/app-edit.js", - "apps/spreadsheeteditor/main/app-view.js", - "apps/spreadsheeteditor/mobile/app-all.js", - "apps/presentationeditor/embed/app-all.js", - "apps/presentationeditor/main/app-edit.js", - "apps/presentationeditor/main/app-view.js", - "apps/presentationeditor/mobile/app-all.js" - ] - }, - "replace": { - "url": { - "options": { - "variables": { - "../../../": "https://d3i7fx3rvnqogx.cloudfront.net/OfficeWeb/" - }, - "prefix": "" - }, - "files": [ - { - "<%= pkg.dst %>/apps/api/documents/cache-scripts.html": "<%= pkg.dst %>/apps/api/documents/cache-scripts.html" - }, - { - "<%= pkg.dst %>/apps/documenteditor/embed/index.html": "<%= pkg.dst %>/apps/documenteditor/embed/index.html" - }, - { - "<%= pkg.dst %>/apps/documenteditor/embed/app-all.js": "<%= pkg.dst %>/apps/documenteditor/embed/app-all.js" - }, - { - "<%= pkg.dst %>/apps/documenteditor/main/index.html": "<%= pkg.dst %>/apps/documenteditor/main/index.html" - }, - { - "<%= pkg.dst %>/apps/documenteditor/main/app-edit.js": "<%= pkg.dst %>/apps/documenteditor/main/app-edit.js" - }, - { - "<%= pkg.dst %>/apps/documenteditor/main/app-view.js": "<%= pkg.dst %>/apps/documenteditor/main/app-view.js" - }, - { - "<%= pkg.dst %>/apps/documenteditor/mobile/index.html": "<%= pkg.dst %>/apps/documenteditor/mobile/index.html" - }, - { - "<%= pkg.dst %>/apps/documenteditor/mobile/app-all.js": "<%= pkg.dst %>/apps/documenteditor/mobile/app-all.js" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/embed/index.html": "<%= pkg.dst %>/apps/spreadsheeteditor/embed/index.html" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/embed/app-all.js": "<%= pkg.dst %>/apps/spreadsheeteditor/embed/app-all.js" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/main/index.html": "<%= pkg.dst %>/apps/spreadsheeteditor/main/index.html" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/main/app-edit.js": "<%= pkg.dst %>/apps/spreadsheeteditor/main/app-edit.js" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/main/app-view.js": "<%= pkg.dst %>/apps/spreadsheeteditor/main/app-view.js" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/mobile/index.html": "<%= pkg.dst %>/apps/spreadsheeteditor/mobile/index.html" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/mobile/app-all.js": "<%= pkg.dst %>/apps/spreadsheeteditor/mobile/app-all.js" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/embed/index.html": "<%= pkg.dst %>/apps/presentationeditor/embed/index.html" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/embed/app-all.js": "<%= pkg.dst %>/apps/presentationeditor/embed/app-all.js" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/main/index.html": "<%= pkg.dst %>/apps/presentationeditor/main/index.html" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/main/app-edit.js": "<%= pkg.dst %>/apps/presentationeditor/main/app-edit.js" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/main/app-view.js": "<%= pkg.dst %>/apps/presentationeditor/main/app-view.js" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/mobile/index.html": "<%= pkg.dst %>/apps/presentationeditor/mobile/index.html" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/mobile/app-all.js": "<%= pkg.dst %>/apps/presentationeditor/mobile/app-all.js" - } - ] - }, - "settings": { - "options": { - "variables": { - "\"http://192.168.3.213:3000\"": "\"https://coauthoring.teamlab.eu.com\"" - }, - "prefix": "" - }, - "files": [ - { - "<%= pkg.dst %>/sdk/Word/sdk-all.js": "<%= pkg.dst %>/sdk/Word/sdk-all.js" - }, - { - "<%= pkg.dst %>/sdk/Excel/sdk-all.js": "<%= pkg.dst %>/sdk/Excel/sdk-all.js" - }, - { - "<%= pkg.dst %>/sdk/PowerPoint/sdk-all.js": "<%= pkg.dst %>/sdk/PowerPoint/sdk-all.js" - } - ] - }, - "use_embebbed_fonts": { - "options": { - "variables": { - "ASC_DOCS_API_USE_EMBEDDED_FONTS": "true" - } - }, - "files": [ - { - "<%= pkg.dst %>/sdk/Word/sdk-all.js": "<%= pkg.dst %>/sdk/Word/sdk-all.js" - }, - { - "<%= pkg.dst %>/sdk/Excel/sdk-all.js": "<%= pkg.dst %>/sdk/Excel/sdk-all.js" - }, - { - "<%= pkg.dst %>/sdk/PowerPoint/sdk-all.js": "<%= pkg.dst %>/sdk/PowerPoint/sdk-all.js" - } - ] - }, - "prevent_script_caching": { - "options": { - "variables": { - "_dc=0": "_dc=<%= grunt.template.today(\"yyyy-mm-dd\") %>" - }, - "prefix": "" - }, - "files": [ - { - "<%= pkg.dst %>/apps/api/documents/api.js": "<%= pkg.dst %>/apps/api/documents/api.js" - } - ] - } - }, - "compress": { - "dist": { - "files": { - "<%= pkg.dst %>/deploy-to-com.eu.zip": [ - "<%= pkg.dst %>/3rdparty/**", - "<%= pkg.dst %>/apps/**", - "<%= pkg.dst %>/sdk/**" - ] - }, - "options": { - "rootDir": "empty", - "level": 9 - } - } - }, - "tasks": { - "deploy": "increment-deploy-version insert-version-to-url deploy-configure-all deploy-compress-all" - } -} \ No newline at end of file diff --git a/build/deploy/com.json b/build/deploy/com.json deleted file mode 100644 index 306cc6356..000000000 --- a/build/deploy/com.json +++ /dev/null @@ -1,175 +0,0 @@ -{ - "version": { - "major": 1, - "minor": 309 - }, - "src": "../../deploy", - "dst": "../../deploy-to-com", - "path": { - "pattern": [ - "locale/", - "resources/img/" - ], - "base_path": "<%= pkg.dst %>", - "src_path": [ - "apps/documenteditor/embed/app-all.js", - "apps/documenteditor/main/app-edit.js", - "apps/documenteditor/main/app-view.js", - "apps/documenteditor/mobile/app-all.js", - "apps/spreadsheeteditor/embed/app-all.js", - "apps/spreadsheeteditor/main/app-edit.js", - "apps/spreadsheeteditor/main/app-view.js", - "apps/spreadsheeteditor/mobile/app-all.js", - "apps/presentationeditor/embed/app-all.js", - "apps/presentationeditor/main/app-edit.js", - "apps/presentationeditor/main/app-view.js", - "apps/presentationeditor/mobile/app-all.js" - ] - }, - "replace": { - "url": { - "options": { - "variables": { - "../../../": "https://d2kp880jrkyy2h.cloudfront.net/OfficeWeb/" - }, - "prefix": "" - }, - "files": [ - { - "<%= pkg.dst %>/apps/api/documents/cache-scripts.html": "<%= pkg.dst %>/apps/api/documents/cache-scripts.html" - }, - { - "<%= pkg.dst %>/apps/documenteditor/embed/index.html": "<%= pkg.dst %>/apps/documenteditor/embed/index.html" - }, - { - "<%= pkg.dst %>/apps/documenteditor/embed/app-all.js": "<%= pkg.dst %>/apps/documenteditor/embed/app-all.js" - }, - { - "<%= pkg.dst %>/apps/documenteditor/main/index.html": "<%= pkg.dst %>/apps/documenteditor/main/index.html" - }, - { - "<%= pkg.dst %>/apps/documenteditor/main/app-edit.js": "<%= pkg.dst %>/apps/documenteditor/main/app-edit.js" - }, - { - "<%= pkg.dst %>/apps/documenteditor/main/app-view.js": "<%= pkg.dst %>/apps/documenteditor/main/app-view.js" - }, - { - "<%= pkg.dst %>/apps/documenteditor/mobile/index.html": "<%= pkg.dst %>/apps/documenteditor/mobile/index.html" - }, - { - "<%= pkg.dst %>/apps/documenteditor/mobile/app-all.js": "<%= pkg.dst %>/apps/documenteditor/mobile/app-all.js" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/embed/index.html": "<%= pkg.dst %>/apps/spreadsheeteditor/embed/index.html" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/embed/app-all.js": "<%= pkg.dst %>/apps/spreadsheeteditor/embed/app-all.js" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/main/index.html": "<%= pkg.dst %>/apps/spreadsheeteditor/main/index.html" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/main/app-edit.js": "<%= pkg.dst %>/apps/spreadsheeteditor/main/app-edit.js" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/main/app-view.js": "<%= pkg.dst %>/apps/spreadsheeteditor/main/app-view.js" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/mobile/index.html": "<%= pkg.dst %>/apps/spreadsheeteditor/mobile/index.html" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/mobile/app-all.js": "<%= pkg.dst %>/apps/spreadsheeteditor/mobile/app-all.js" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/embed/index.html": "<%= pkg.dst %>/apps/presentationeditor/embed/index.html" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/embed/app-all.js": "<%= pkg.dst %>/apps/presentationeditor/embed/app-all.js" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/main/index.html": "<%= pkg.dst %>/apps/presentationeditor/main/index.html" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/main/app-edit.js": "<%= pkg.dst %>/apps/presentationeditor/main/app-edit.js" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/main/app-view.js": "<%= pkg.dst %>/apps/presentationeditor/main/app-view.js" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/mobile/index.html": "<%= pkg.dst %>/apps/presentationeditor/mobile/index.html" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/mobile/app-all.js": "<%= pkg.dst %>/apps/presentationeditor/mobile/app-all.js" - } - ] - }, - "settings": { - "options": { - "variables": { - "\"http://192.168.3.213:3000\"": "\"https://coauthoring.teamlab.com\"" - }, - "prefix": "" - }, - "files": [ - { - "<%= pkg.dst %>/sdk/Word/sdk-all.js": "<%= pkg.dst %>/sdk/Word/sdk-all.js" - }, - { - "<%= pkg.dst %>/sdk/Excel/sdk-all.js": "<%= pkg.dst %>/sdk/Excel/sdk-all.js" - }, - { - "<%= pkg.dst %>/sdk/PowerPoint/sdk-all.js": "<%= pkg.dst %>/sdk/PowerPoint/sdk-all.js" - } - ] - }, - "use_embebbed_fonts": { - "options": { - "variables": { - "ASC_DOCS_API_USE_EMBEDDED_FONTS": "true" - } - }, - "files": [ - { - "<%= pkg.dst %>/sdk/Word/sdk-all.js": "<%= pkg.dst %>/sdk/Word/sdk-all.js" - }, - { - "<%= pkg.dst %>/sdk/Excel/sdk-all.js": "<%= pkg.dst %>/sdk/Excel/sdk-all.js" - }, - { - "<%= pkg.dst %>/sdk/PowerPoint/sdk-all.js": "<%= pkg.dst %>/sdk/PowerPoint/sdk-all.js" - } - ] - }, - "prevent_script_caching": { - "options": { - "variables": { - "_dc=0": "_dc=<%= grunt.template.today(\"yyyy-mm-dd\") %>" - }, - "prefix": "" - }, - "files": [ - { - "<%= pkg.dst %>/apps/api/documents/api.js": "<%= pkg.dst %>/apps/api/documents/api.js" - } - ] - } - }, - "compress": { - "dist": { - "files": { - "<%= pkg.dst %>/deploy-to-com.zip": [ - "<%= pkg.dst %>/3rdparty/**", - "<%= pkg.dst %>/apps/**", - "<%= pkg.dst %>/sdk/**" - ] - }, - "options": { - "rootDir": "empty", - "level": 9 - } - } - }, - "tasks": { - "deploy": "increment-deploy-version insert-version-to-url deploy-configure-all deploy-compress-all" - } -} \ No newline at end of file diff --git a/build/deploy/doc-test.json b/build/deploy/doc-test.json deleted file mode 100644 index e6a3499bc..000000000 --- a/build/deploy/doc-test.json +++ /dev/null @@ -1,175 +0,0 @@ -{ - "version": { - "major": 1, - "minor": 309 - }, - "src": "../../deploy", - "dst": "../../deploy-to-doc-test", - "path": { - "pattern": [ - "locale/", - "resources/img/" - ], - "base_path": "<%= pkg.dst %>", - "src_path": [ - "apps/documenteditor/embed/app-all.js", - "apps/documenteditor/main/app-edit.js", - "apps/documenteditor/main/app-view.js", - "apps/documenteditor/mobile/app-all.js", - "apps/spreadsheeteditor/embed/app-all.js", - "apps/spreadsheeteditor/main/app-edit.js", - "apps/spreadsheeteditor/main/app-view.js", - "apps/spreadsheeteditor/mobile/app-all.js", - "apps/presentationeditor/embed/app-all.js", - "apps/presentationeditor/main/app-edit.js", - "apps/presentationeditor/main/app-view.js", - "apps/presentationeditor/mobile/app-all.js" - ] - }, - "replace": { - "url": { - "options": { - "variables": { - "../../../": "https://d3582o17zfgn8f.cloudfront.net/OfficeWeb/" - }, - "prefix": "" - }, - "files": [ - { - "<%= pkg.dst %>/apps/api/documents/cache-scripts.html": "<%= pkg.dst %>/apps/api/documents/cache-scripts.html" - }, - { - "<%= pkg.dst %>/apps/documenteditor/embed/index.html": "<%= pkg.dst %>/apps/documenteditor/embed/index.html" - }, - { - "<%= pkg.dst %>/apps/documenteditor/embed/app-all.js": "<%= pkg.dst %>/apps/documenteditor/embed/app-all.js" - }, - { - "<%= pkg.dst %>/apps/documenteditor/main/index.html": "<%= pkg.dst %>/apps/documenteditor/main/index.html" - }, - { - "<%= pkg.dst %>/apps/documenteditor/main/app-edit.js": "<%= pkg.dst %>/apps/documenteditor/main/app-edit.js" - }, - { - "<%= pkg.dst %>/apps/documenteditor/main/app-view.js": "<%= pkg.dst %>/apps/documenteditor/main/app-view.js" - }, - { - "<%= pkg.dst %>/apps/documenteditor/mobile/index.html": "<%= pkg.dst %>/apps/documenteditor/mobile/index.html" - }, - { - "<%= pkg.dst %>/apps/documenteditor/mobile/app-all.js": "<%= pkg.dst %>/apps/documenteditor/mobile/app-all.js" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/embed/index.html": "<%= pkg.dst %>/apps/spreadsheeteditor/embed/index.html" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/embed/app-all.js": "<%= pkg.dst %>/apps/spreadsheeteditor/embed/app-all.js" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/main/index.html": "<%= pkg.dst %>/apps/spreadsheeteditor/main/index.html" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/main/app-edit.js": "<%= pkg.dst %>/apps/spreadsheeteditor/main/app-edit.js" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/main/app-view.js": "<%= pkg.dst %>/apps/spreadsheeteditor/main/app-view.js" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/mobile/index.html": "<%= pkg.dst %>/apps/spreadsheeteditor/mobile/index.html" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/mobile/app-all.js": "<%= pkg.dst %>/apps/spreadsheeteditor/mobile/app-all.js" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/embed/index.html": "<%= pkg.dst %>/apps/presentationeditor/embed/index.html" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/embed/app-all.js": "<%= pkg.dst %>/apps/presentationeditor/embed/app-all.js" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/main/index.html": "<%= pkg.dst %>/apps/presentationeditor/main/index.html" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/main/app-edit.js": "<%= pkg.dst %>/apps/presentationeditor/main/app-edit.js" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/main/app-view.js": "<%= pkg.dst %>/apps/presentationeditor/main/app-view.js" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/mobile/index.html": "<%= pkg.dst %>/apps/presentationeditor/mobile/index.html" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/mobile/app-all.js": "<%= pkg.dst %>/apps/presentationeditor/mobile/app-all.js" - } - ] - }, - "settings": { - "options": { - "variables": { - "\"http://192.168.3.213:3000\"": "\"https://doc-test.teamlab.com:8080\"" - }, - "prefix": "" - }, - "files": [ - { - "<%= pkg.dst %>/sdk/Word/sdk-all.js": "<%= pkg.dst %>/sdk/Word/sdk-all.js" - }, - { - "<%= pkg.dst %>/sdk/Excel/sdk-all.js": "<%= pkg.dst %>/sdk/Excel/sdk-all.js" - }, - { - "<%= pkg.dst %>/sdk/PowerPoint/sdk-all.js": "<%= pkg.dst %>/sdk/PowerPoint/sdk-all.js" - } - ] - }, - "use_embebbed_fonts": { - "options": { - "variables": { - "ASC_DOCS_API_USE_EMBEDDED_FONTS": "true" - } - }, - "files": [ - { - "<%= pkg.dst %>/sdk/Word/sdk-all.js": "<%= pkg.dst %>/sdk/Word/sdk-all.js" - }, - { - "<%= pkg.dst %>/sdk/Excel/sdk-all.js": "<%= pkg.dst %>/sdk/Excel/sdk-all.js" - }, - { - "<%= pkg.dst %>/sdk/PowerPoint/sdk-all.js": "<%= pkg.dst %>/sdk/PowerPoint/sdk-all.js" - } - ] - }, - "prevent_script_caching": { - "options": { - "variables": { - "_dc=0": "_dc=<%= grunt.template.today(\"yyyy-mm-dd\") %>" - }, - "prefix": "" - }, - "files": [ - { - "<%= pkg.dst %>/apps/api/documents/api.js": "<%= pkg.dst %>/apps/api/documents/api.js" - } - ] - } - }, - "compress": { - "dist": { - "files": { - "<%= pkg.dst %>/deploy-to-doc-test.zip": [ - "<%= pkg.dst %>/3rdparty/**", - "<%= pkg.dst %>/apps/**", - "<%= pkg.dst %>/sdk/**" - ] - }, - "options": { - "rootDir": "empty", - "level": 9 - } - } - }, - "tasks": { - "deploy": "increment-deploy-version insert-version-to-url deploy-configure-all deploy-compress-all" - } -} \ No newline at end of file diff --git a/build/deploy/documenteditor.json b/build/deploy/documenteditor.json deleted file mode 100644 index ad284c96f..000000000 --- a/build/deploy/documenteditor.json +++ /dev/null @@ -1,443 +0,0 @@ -{ - "version": "1.0", - "build": 877, - "homepage": "http://www.teamlab.com", - "sdk": { - "clean": [ - "../../deploy/sdk/Common", - "../../deploy/sdk/Word" - ], - "copy": { - "../../deploy/sdk/Common/": "../../sdk/Common/AllFonts.js", - "../../deploy/sdk/Fonts/": "../../sdk/Fonts/**/**", - "../../deploy/sdk/Word/": "../../sdk/Word/sdk-all.js" - } - }, - "api": { - "clean": [ - "../../deploy/apps/api" - ], - "copy": { - "../../deploy/apps/api/documents/": "../../apps/api/**" - } - }, - "main": { - "clean": [ - "../../deploy/apps/documenteditor/main" - ], - "js": { - "srcview": [ - "../../apps/common/Gateway.js", - "../../apps/common/Analytics.js", - "../../apps/common/IrregularStack.js", - "../../apps/common/main/loader.js", - "../../apps/common/main/lib/plugin/ScrollPane.js", - "../../apps/common/main/lib/plugin/DataViewScrollPane.js", - "../../apps/common/main/lib/plugin/TextAreaAutoHeight.js", - "../../apps/common/main/lib/plugin/MenuExpand.js", - "../../apps/common/main/lib/component/LoadMask.js", - "../../apps/common/main/lib/component/SplitColorButton.js", - "../../apps/common/main/lib/component/MetricSpinner.js", - "../../apps/common/main/lib/component/IndeterminateCheckBox.js", - "../../apps/common/main/lib/component/SearchField.js", - "../../apps/common/main/lib/component/util/LanguageName.js", - "../../apps/common/main/lib/component/util/MetricSettings.js", - "../../apps/common/main/lib/model/User.js", - "../../apps/common/main/lib/model/ChatMessage.js", - "../../apps/common/main/lib/model/Comment.js", - "../../apps/common/main/lib/model/Reply.js", - "../../apps/common/main/lib/store/ChatMessages.js", - "../../apps/common/main/lib/store/Comments.js", - "../../apps/common/main/lib/store/Users.js", - "../../apps/common/main/lib/view/About.js", - "../../apps/common/main/lib/view/Header.js", - "../../apps/common/main/lib/view/ChatPanel.js", - "../../apps/common/main/lib/view/CommentsEditForm.js", - "../../apps/common/main/lib/view/CommentsPanel.js", - "../../apps/common/main/lib/view/CommentsPopover.js", - "../../apps/common/main/lib/view/DocumentAccessDialog.js", - "../../apps/common/main/lib/view/SearchDialog.js", - "../../apps/common/main/lib/view/Participants.js", - "../../apps/common/main/lib/view/ExternalDiagramEditor.js", - "../../apps/common/main/lib/controller/Chat.js", - "../../apps/common/main/lib/controller/CommentsBase.js", - "../../apps/common/main/lib/controller/CommentsList.js", - "../../apps/common/main/lib/controller/CommentsPopover.js", - "../../apps/common/main/lib/controller/ExternalDiagramEditor.js", - "../../apps/common/main/lib/view/ComboFonts.js", - "../../apps/common/main/lib/model/Font.js", - "../../apps/common/main/lib/store/Fonts.js", - "../../apps/common/main/lib/controller/Fonts.js", - "../../apps/documenteditor/main/app/view/ChromeRecommendation.js", - "../../apps/documenteditor/main/app/view/DocumentHelp.js", - "../../apps/documenteditor/main/app/view/DocumentInfo.js", - "../../apps/documenteditor/main/app/view/DocumentSettings.js", - "../../apps/documenteditor/main/app/view/File.js", - "../../apps/documenteditor/main/app/view/CreateFile.js", - "../../apps/documenteditor/main/app/view/RecentFiles.js", - "../../apps/documenteditor/main/app/view/DocumentStatusInfo.js", - "../../apps/documenteditor/main/app/view/DocumentHolder.js", - "../../apps/documenteditor/main/app/view/MainMenu.js", - "../../apps/documenteditor/main/app/view/Viewport.js", - "../../apps/documenteditor/main/app/model/FileTemplate.js", - "../../apps/documenteditor/main/app/model/RecentFile.js", - "../../apps/documenteditor/main/app/store/FileTemplates.js", - "../../apps/documenteditor/main/app/store/RecentFiles.js", - "../../apps/documenteditor/main/app/controller/CreateFile.js", - "../../apps/documenteditor/main/app/controller/RecentFiles.js", - "../../apps/documenteditor/main/app/controller/Search.js", - "../../apps/documenteditor/main/app/controller/DocumentHolder.js", - "../../apps/documenteditor/main/app/controller/Main.js", - "../../apps/common/locale.js", - "../../apps/documenteditor/main/app.js", - "../../apps/documenteditor/main/restrictions.js", - "../../apps/documenteditor/main/environment.js.deploy" - ], - "destview": "../../deploy/apps/documenteditor/main/app-view.js", - "srcedit": [ - "../../apps/common/main/lib/plugin/GridScrollPane.js", - "../../apps/common/main/lib/plugin/ComboBoxScrollPane.js", - "../../apps/common/main/lib/component/util/RGBColor.js", - "../../apps/common/main/lib/component/HSBColorPicker.js", - "../../apps/common/main/lib/view/ExtendedColorDialog.js", - "../../apps/common/main/lib/component/DataViewPicker.js", - "../../apps/common/main/lib/component/MenuDataViewPicker.js", - "../../apps/common/main/lib/component/ThemeColorPalette.js", - "../../apps/common/main/lib/component/MultiSliderGradient.js", - "../../apps/common/main/lib/component/ComboDataView.js", - "../../apps/common/main/lib/view/ImageFromUrlDialog.js", - "../../apps/common/main/lib/view/CopyWarning.js", - "../../apps/common/main/lib/view/AbstractSettingsPanel.js", - "../../apps/common/main/lib/component/SynchronizeTip.js", - "../../apps/common/main/lib/model/Group.js", - "../../apps/common/main/lib/model/GroupItem.js", - "../../apps/common/main/lib/component/GroupedDataView.js", - "../../apps/documenteditor/main/app/model/ShapeGroup.js", - "../../apps/documenteditor/main/app/store/ShapeGroups.js", - "../../apps/documenteditor/main/app/component/CellStyler.js", - "../../apps/documenteditor/main/app/component/TableStyler.js", - "../../apps/documenteditor/main/app/component/ComboDropFonts.js", - "../../apps/documenteditor/main/app/component/DimensionPicker.js", - "../../apps/documenteditor/main/app/component/MenuDimensionPicker.js", - "../../apps/documenteditor/main/app/view/DocumentLanguage.js", - "../../apps/documenteditor/main/app/view/InsertTableDialog.js", - "../../apps/documenteditor/main/app/view/HyperlinkSettingsDialog.js", - "../../apps/documenteditor/main/app/view/ShapeSettingsAdvancedCnt.js", - "../../apps/documenteditor/main/app/view/ImageSettingsAdvanced.js", - "../../apps/documenteditor/main/app/view/TableSettingsAdvanced.js", - "../../apps/documenteditor/main/app/view/ParagraphSettingsAdvanced.js", - "../../apps/documenteditor/main/app/view/DropcapSettingsAdvanced.js", - "../../apps/documenteditor/main/app/view/ImageSettings.js", - "../../apps/documenteditor/main/app/view/HeaderFooterSettings.js", - "../../apps/documenteditor/main/app/view/ParagraphSettings.js", - "../../apps/documenteditor/main/app/view/TableSettings.js", - "../../apps/documenteditor/main/app/view/ShapeSettings.js", - "../../apps/documenteditor/main/app/view/ChartSettings.js", - "../../apps/documenteditor/main/app/view/RightPanel.js", - "../../apps/documenteditor/main/app/view/RightMenu.js", - "../../apps/documenteditor/main/app/view/Toolbar.js", - "../../apps/documenteditor/main/app/controller/Toolbar.js" - ], - "destedit": "../../deploy/apps/documenteditor/main/app-edit.js" - }, - "css": { - "srcedit": [ - "../../apps/common/main/resources/css/dataview-picker.css", - "../../apps/common/main/resources/css/hsb-colorpicker.css", - "../../apps/common/main/resources/css/themecolorpalette.css", - "../../apps/common/main/resources/css/comments-panel.css", - "../../apps/common/main/resources/css/comments-popover.css", - "../../apps/common/main/resources/css/synchronize-tip.css", - "../../apps/common/main/resources/css/grouped-data-view.css", - "../../apps/common/main/resources/css/multislider-gradient.css", - "../../apps/common/main/resources/css/dataview-combo.css", - "../../apps/documenteditor/main/resources/css/right-panels.css", - "../../apps/documenteditor/main/resources/css/toolbar.css", - "../../apps/documenteditor/main/resources/css/dimension-picker.css", - "../../apps/documenteditor/main/resources/css/table-border-styler.css", - "../../apps/documenteditor/main/resources/css/advanced-settings-dialog.css" - ], - "destedit": "../../deploy/apps/documenteditor/main/resources/css/app-edit.css", - "srcview": [ - "../../apps/common/main/resources/css/load-mask.css", - "../../apps/common/main/resources/css/jquery.jscrollpane.css", - "../../apps/common/main/resources/css/chat-panel.css", - "../../apps/common/main/resources/css/header.css", - "../../apps/common/main/resources/css/asc.css", - "../../apps/common/main/resources/css/about.css", - "../../apps/common/main/resources/css/searchfield.css", - "../../apps/common/main/resources/css/searchdialog.css", - "../../apps/common/main/resources/css/participantspanel.css", - "../../apps/documenteditor/main/resources/css/de-main-colors.css", - "../../apps/documenteditor/main/resources/css/header.css", - "../../apps/documenteditor/main/resources/css/document-holder.css", - "../../apps/documenteditor/main/resources/css/document-statusinfo.css", - "../../apps/documenteditor/main/resources/css/main-menu.css", - "../../apps/documenteditor/main/resources/css/file.css", - "../../apps/documenteditor/main/resources/css/file-create-new.css", - "../../apps/documenteditor/main/resources/css/file-open-recent.css" - ], - "destview": "../../deploy/apps/documenteditor/main/resources/css/app-view.css" - }, - "copy": { - "localization": { - "../../deploy/apps/documenteditor/main/locale/": "../../apps/documenteditor/main/locale/*" - }, - "help": { - "../../deploy/apps/documenteditor/main/resources/help/en/": "../../apps/documenteditor/main/resources/help/en/**", - "../../deploy/apps/documenteditor/main/resources/help/de/": "../../apps/documenteditor/main/resources/help/de/**", - "../../deploy/apps/documenteditor/main/resources/help/es/": "../../apps/documenteditor/main/resources/help/es/**", - "../../deploy/apps/documenteditor/main/resources/help/fr/": "../../apps/documenteditor/main/resources/help/fr/**", - "../../deploy/apps/documenteditor/main/resources/help/it/": "../../apps/documenteditor/main/resources/help/it/**", - "../../deploy/apps/documenteditor/main/resources/help/ru/": "../../apps/documenteditor/main/resources/help/ru/**" - }, - "index-page": { - "../../deploy/apps/documenteditor/main/index.html": "../../apps/documenteditor/main/index.html.deploy" - }, - "images-app": { - "../../deploy/apps/documenteditor/main/resources/img/": "../../apps/documenteditor/main/resources/img/**" - }, - "images-common": { - "../../deploy/apps/documenteditor/main/Images/": "../../sdk/Word/Images/*.cur", - "../../deploy/apps/documenteditor/main/resources/img/": "../../apps/common/main/resources/img/**" - } - } - }, - "mobile": { - "clean": [ - "../../deploy/apps/documenteditor/mobile" - ], - "js": { - "src": [ - "../../apps/common/Gateway.js", - "../../apps/common/Analytics.js", - "../../apps/common/mobile/loader.js", - "../../apps/common/mobile/lib/component/PlanarSpinner.js", - "../../apps/common/mobile/lib/component/RepeatableButton.js", - "../../apps/common/mobile/lib/component/SettingsList.js", - "../../apps/common/mobile/lib/model/SettingItem.js", - "../../apps/common/mobile/lib/store/SettingsList.js", - "../../apps/common/mobile/lib/view/PopoverPanel.js", - "../../apps/common/mobile/lib/view/PopClip.js", - "../../apps/common/mobile/lib/controller/PopClip.js", - "../../apps/documenteditor/mobile/app/plugin/Pinchemu.js", - "../../apps/documenteditor/mobile/app/view/Main.js", - "../../apps/documenteditor/mobile/app/view/phone/toolbar/Search.js", - "../../apps/documenteditor/mobile/app/view/phone/toolbar/View.js", - "../../apps/documenteditor/mobile/app/view/phone/Main.js", - "../../apps/documenteditor/mobile/app/view/tablet/panel/Font.js", - "../../apps/documenteditor/mobile/app/view/tablet/panel/FontStyle.js", - "../../apps/documenteditor/mobile/app/view/tablet/panel/Insert.js", - "../../apps/documenteditor/mobile/app/view/tablet/panel/ListStyle.js", - "../../apps/documenteditor/mobile/app/view/tablet/panel/ParagraphAlignment.js", - "../../apps/documenteditor/mobile/app/view/tablet/panel/Spacing.js", - "../../apps/documenteditor/mobile/app/view/tablet/panel/TextColor.js", - "../../apps/documenteditor/mobile/app/view/tablet/toolbar/Edit.js", - "../../apps/documenteditor/mobile/app/view/tablet/toolbar/Search.js", - "../../apps/documenteditor/mobile/app/view/tablet/toolbar/View.js", - "../../apps/documenteditor/mobile/app/view/tablet/Main.js", - "../../apps/documenteditor/mobile/app/controller/Main.js", - "../../apps/documenteditor/mobile/app/controller/Document.js", - "../../apps/documenteditor/mobile/app/controller/Search.js", - "../../apps/documenteditor/mobile/app/controller/phone/Main.js", - "../../apps/documenteditor/mobile/app/controller/tablet/Main.js", - "../../apps/documenteditor/mobile/app/controller/tablet/panel/Font.js", - "../../apps/documenteditor/mobile/app/controller/tablet/panel/FontStyle.js", - "../../apps/documenteditor/mobile/app/controller/tablet/panel/Insert.js", - "../../apps/documenteditor/mobile/app/controller/tablet/panel/ParagraphAlignment.js", - "../../apps/documenteditor/mobile/app/controller/tablet/panel/Spacing.js", - "../../apps/documenteditor/mobile/app/controller/tablet/panel/Style.js", - "../../apps/documenteditor/mobile/app/controller/tablet/panel/TextColor.js", - "../../apps/documenteditor/mobile/app/controller/toolbar/Edit.js", - "../../apps/documenteditor/mobile/app/controller/toolbar/View.js", - "../../apps/documenteditor/mobile/app/profile/Phone.js", - "../../apps/documenteditor/mobile/app/profile/Tablet.js", - "../../apps/common/locale.js", - "../../apps/documenteditor/mobile/app.js" - ], - "dist": "../../deploy/apps/documenteditor/mobile/app-all.js" - }, - "css": { - "normal": { - "src": [ - "../../apps/documenteditor/mobile/resources/css/application-normal.css" - ], - "dist": "../../deploy/apps/documenteditor/mobile/resources/css/application-normal.css" - }, - "retina": { - "src": [ - "../../apps/documenteditor/mobile/resources/css/application-retina.css" - ], - "dist": "../../deploy/apps/documenteditor/mobile/resources/css/application-retina.css" - } - }, - "copy": { - "index-page": { - "../../deploy/apps/documenteditor/mobile/index.html": "../../apps/documenteditor/mobile/index.html.deploy" - }, - "localization": { - "../../deploy/apps/documenteditor/mobile/locale/": "../../apps/documenteditor/mobile/locale/*" - }, - "images-app": { - "../../deploy/apps/documenteditor/mobile/resources/img/": "../../apps/documenteditor/mobile/resources/img/**" - } - } - }, - "embed": { - "clean": [ - "../../deploy/apps/documenteditor/embed" - ], - "js": { - "src": [ - "../../apps/common/Gateway.js", - "../../apps/common/Analytics.js", - "../../apps/documenteditor/embed/js/ApplicationView.js", - "../../apps/documenteditor/embed/js/ApplicationController.js", - "../../apps/documenteditor/embed/js/application.js" - ], - "dist": "../../deploy/apps/documenteditor/embed/app-all.js" - }, - "css": { - "src": [ - "../../apps/documenteditor/embed/resources/css/application.css" - ], - "dist": "../../deploy/apps/documenteditor/embed/resources/css/app-all.css" - }, - "copy": { - "index-page": { - "../../deploy/apps/documenteditor/embed/index.html": "../../apps/documenteditor/embed/index.html.deploy" - }, - "images-app": { - "../../deploy/apps/documenteditor/embed/resources/img/": "../../apps/documenteditor/embed/resources/img/**" - } - } - }, - "extjs": { - "clean": [ - "../../deploy/3rdparty/extjs" - ], - "copy": { - "script": { - "../../deploy/3rdparty/extjs/": "../../3rdparty/extjs/ext-all.js" - }, - "css": { - "../../deploy/3rdparty/extjs/resources/css/": "../../3rdparty/extjs/resources/css/ext-all.css" - }, - "images": { - "../../deploy/3rdparty/extjs/resources/themes/images/default/": "../../3rdparty/extjs/resources/themes/images/default/**" - } - } - }, - "bootstrap": { - "clean": [ - "../../deploy/3rdparty/bootstrap" - ], - "copy": { - "script": { - "../../deploy/3rdparty/bootstrap/js/": "../../3rdparty/bootstrap/js/bootstrap.min.js" - }, - "css": { - "../../deploy/3rdparty/bootstrap/css/": "../../3rdparty/bootstrap/css/bootstrap.min.css" - }, - "images": { - "../../deploy/3rdparty/bootstrap/img/": "../../3rdparty/bootstrap/img/*" - } - } - }, - "jquery": { - "clean": [ - "../../deploy/3rdparty/jquery" - ], - "copy": { - "script": { - "../../deploy/3rdparty/jquery/": [ - "../../3rdparty/jquery/jquery-1.7.1.min.js", - "../../3rdparty/jquery/jquery-1.8.1.min.js" - ], - "../../deploy/3rdparty/jquery/mousewheel/": "../../3rdparty/jquery/mousewheel/jquery.mousewheel.js", - "../../deploy/3rdparty/jquery/jscrollpane/": "../../3rdparty/jquery/jscrollpane/jquery.jscrollpane.min.js" - } - } - }, - "megapixel": { - "clean": [ - "../../deploy/3rdparty/megapixel" - ], - "copy": { - "script": { - "../../deploy/3rdparty/megapixel/": "../../3rdparty/megapixel/megapix-image-min.js" - } - } - }, - "sockjs": { - "clean": [ - "../../deploy/3rdparty/sockjs" - ], - "copy": { - "script": { - "../../deploy/3rdparty/sockjs/": "../../3rdparty/sockjs/sockjs-0.3.min.js" - } - } - }, - "xregexp": { - "clean": [ - "../../deploy/3rdparty/xregexp" - ], - "copy": { - "script": { - "../../deploy/3rdparty/xregexp/": "../../3rdparty/xregexp/xregexp-all-min.js" - } - } - }, - "underscore": { - "clean": [ - "../../deploy/3rdparty/underscore" - ], - "copy": { - "script": { - "../../deploy/3rdparty/underscore/": "../../3rdparty/underscore/underscore-min.js" - } - } - }, - "zeroclipboard": { - "clean": [ - "../../deploy/3rdparty/ZeroClipboard" - ], - "copy": { - "script": { - "../../deploy/3rdparty/ZeroClipboard/": [ - "../../3rdparty/ZeroClipboard/ZeroClipboard.min.js", - "../../3rdparty/ZeroClipboard/ZeroClipboard*.swf" - ] - } - } - }, - "obf_api": { - "ccvars": "../../sdk/Word/variable.map", - "ccprops": "../../sdk/Word/property.map", - "api": "../../sdk/Word/apiExport.js", - "clientjs": [ - "../../deploy/apps/documenteditor/main/app-edit.js", - "../../deploy/apps/documenteditor/main/app-view.js", - "../../deploy/apps/documenteditor/mobile/app-all.js", - "../../deploy/apps/documenteditor/embed/app-all.js", - "../../deploy/apps/api/documents/cache-scripts.html" - ], - "ccres": "../../deploy/sdk/Word/sdk-all.js" - }, - "obf": { - "api": "../../deploy/sdk/Word/sdk-all.js", - "pat": "asc_\\w+", - "keys": "-exp se -use-for-name", - "apply": [ - "../../deploy/sdk/Word/sdk-all.js", - "../../deploy/apps/documenteditor/main/app-edit.js", - "../../deploy/apps/documenteditor/main/app-view.js", - "../../deploy/apps/documenteditor/mobile/app-all.js", - "../../deploy/apps/documenteditor/embed/app-all.js" - ] - }, - "tasks": { - "deploy": "increment-build deploy-api deploy-sdk deploy-3rdparty-bootstrap deploy-3rdparty-extjs deploy-3rdparty-megapixel deploy-3rdparty-jquery deploy-3rdparty-sockjs deploy-3rdparty-xregexp deploy-3rdparty-underscore deploy-3rdparty-zeroclipboard deploy-app-main deploy-app-mobile deploy-app-embed" - } -} \ No newline at end of file diff --git a/build/deploy/grunt.js b/build/deploy/grunt.js deleted file mode 100644 index eaaf1b38c..000000000 --- a/build/deploy/grunt.js +++ /dev/null @@ -1,597 +0,0 @@ -module.exports = function(grunt) { - var defaultConfig, packageFile, deployConfig, deployFile; - - grunt.loadNpmTasks('grunt-contrib'); - grunt.loadNpmTasks('grunt-exec'); - grunt.loadNpmTasks('grunt-replace'); - - grunt.registerTask('sdk-init', function() { - grunt.initConfig({ - clean: packageFile['sdk']['clean'], - - copy: { - sdk: { - files: packageFile['sdk']['copy'] - } - } - }); - }); - - grunt.registerTask('api-init', function() { - grunt.initConfig({ - clean: packageFile['api']['clean'], - - copy: { - api: { - files: packageFile['api']['copy'] - } - } - }); - }); - - grunt.registerTask('bootstrap-init', function() { - grunt.initConfig({ - clean: packageFile['bootstrap']['clean'], - - copy: { - script: { - files: packageFile['bootstrap']["copy"]["script"] - }, - css: { - files: packageFile['bootstrap']["copy"]["css"] - }, - images: { - files: packageFile['bootstrap']["copy"]["images"] - } - } - }); - }); - - grunt.registerTask('extjs-init', function() { - grunt.initConfig({ - clean: packageFile['extjs']['clean'], - - copy: { - script: { - files: packageFile['extjs']["copy"]["script"] - }, - css: { - files: packageFile['extjs']["copy"]["css"] - }, - images: { - files: packageFile['extjs']["copy"]["images"] - } - } - }); - }); - - grunt.registerTask('megapixel-init', function() { - grunt.initConfig({ - clean: packageFile['megapixel']['clean'], - - copy: { - script: { - files: packageFile['megapixel']["copy"]["script"] - } - } - }); - }); - - grunt.registerTask('jquery-init', function() { - grunt.initConfig({ - clean: packageFile['jquery']['clean'], - - copy: { - scripts: { - files: packageFile['jquery']["copy"]["script"] - } - } - }); - }); - - grunt.registerTask('sockjs-init', function() { - grunt.initConfig({ - clean: packageFile['sockjs']['clean'], - - copy: { - script: { - files: packageFile['sockjs']["copy"]["script"] - } - } - }); - }); - - grunt.registerTask('xregexp-init', function() { - grunt.initConfig({ - clean: packageFile['xregexp']['clean'], - - copy: { - script: { - files: packageFile['xregexp']["copy"]["script"] - } - } - }); - }); - - grunt.registerTask('underscore-init', function() { - grunt.initConfig({ - clean: packageFile['underscore']['clean'], - - copy: { - script: { - files: packageFile['underscore']["copy"]["script"] - } - } - }); - }); - - grunt.registerTask('zeroclipboard-init', function() { - grunt.initConfig({ - clean: packageFile['zeroclipboard']['clean'], - - copy: { - script: { - files: packageFile['zeroclipboard']["copy"]["script"] - } - } - }); - }); - - grunt.registerTask('main-app-init', function() { - grunt.initConfig({ - pkg: '', - - clean: packageFile['main']['clean'], - - meta: { - banner: '/*\n' + - ' * Copyright (c) Ascensio System SIA <%= grunt.template.today("yyyy") %>. All rights reserved\n' + - ' *\n' + - ' * <%= pkg.homepage %> \n' + - ' *\n' + - ' * Version: <%= pkg.version %> (build:<%= pkg.build %>)\n' + - ' */' - }, - - min: { - scriptsview: { - src: [''].concat(packageFile['main']["js"]['srcview']), - dest: packageFile['main']["js"]['destview'] - }, - scriptsedit: { - src: [''].concat(packageFile['main']["js"]['srcedit']), - dest: packageFile['main']["js"]['destedit'] - } - }, - - mincss: { - styles: { - files: { - "<%= pkg.main.css.destview %>" : packageFile['main']["css"]['srcview'] - ,"<%= pkg.main.css.destedit %>" : packageFile['main']["css"]['srcedit'] - } - } - }, - - copy: { - localization: { - files: packageFile['main']['copy']["localization"] - }, - help: { - files: packageFile['main']['copy']["help"] - }, - 'index-page': { - files: packageFile['main']['copy']["index-page"] - }, - 'images-app': { - files: packageFile['main']['copy']["images-app"] - }, - 'images-common': { - files: packageFile['main']['copy']["images-common"] - } - } - }); - }); - - grunt.registerTask('mobile-app-init', function() { - grunt.initConfig({ - pkg: '', - - clean: packageFile['mobile']['clean'], - - meta: { - banner: '/*\n' + - ' * Copyright (c) Ascensio System SIA <%= grunt.template.today("yyyy") %>. All rights reserved\n' + - ' *\n' + - ' * <%= pkg.homepage %>\n' + - ' *\n' + - ' * Version: <%= pkg.version %> (build:<%= pkg.build %>)\n' + - ' */' - }, - - min: { - scrips: { - src: [''].concat(packageFile['mobile']["js"]['src']), - dest: packageFile['mobile']["js"]['dist'] - } - }, - - mincss: { - styles: { - files: { - "<%= pkg.mobile.css.normal.dist %>" : packageFile['mobile']["css"]['normal']['src'], - "<%= pkg.mobile.css.retina.dist %>" : packageFile['mobile']["css"]['retina']['src'] - } - } - }, - - copy: { - localization: { - files: packageFile['mobile']['copy']["localization"] - }, - 'index-page': { - files: packageFile['mobile']['copy']["index-page"] - }, - 'images-app': { - files: packageFile['mobile']['copy']["images-app"] - } - } - }); - }); - - grunt.registerTask('embed-app-init', function() { - grunt.initConfig({ - pkg: '', - - clean: packageFile['embed']['clean'], - - meta: { - banner: '/*\n' + - ' * Copyright (c) Ascensio System SIA <%= grunt.template.today("yyyy") %>. All rights reserved\n' + - ' *\n' + - ' * <%= pkg.homepage %>\n' + - ' *\n' + - ' * Version: <%= pkg.version %> (build:<%= pkg.build %>)\n' + - ' */' - }, - - min: { - scrips: { - src: [''].concat(packageFile['embed']["js"]['src']), - dest: packageFile['embed']["js"]['dist'] - } - }, - - mincss: { - styles: { - files: { - "<%= pkg.embed.css.dist %>" : packageFile['embed']["css"]['src'] - } - } - }, - - copy: { - 'index-page': { - files: packageFile['embed']['copy']["index-page"] - }, - 'images-app': { - files: packageFile['embed']['copy']["images-app"] - } - } - }); - }); - - grunt.registerTask('increment-build', function() { - var pkg = grunt.file.readJSON(defaultConfig); - pkg.build = parseInt(pkg.build) + 1; - grunt.file.write(defaultConfig, JSON.stringify(pkg, null, 4)); - }); - - - - grunt.registerTask('deploy-api', 'api-init clean copy'); - grunt.registerTask('deploy-sdk', 'sdk-init clean copy'); - - grunt.registerTask('deploy-3rdparty-bootstrap', 'bootstrap-init clean copy'); - grunt.registerTask('deploy-3rdparty-extjs', 'extjs-init clean copy'); - grunt.registerTask('deploy-3rdparty-megapixel', 'megapixel-init clean copy'); - grunt.registerTask('deploy-3rdparty-jquery', 'jquery-init clean copy'); - grunt.registerTask('deploy-3rdparty-sockjs', 'sockjs-init clean copy'); - grunt.registerTask('deploy-3rdparty-xregexp', 'xregexp-init clean copy'); - grunt.registerTask('deploy-3rdparty-underscore', 'underscore-init clean copy'); - grunt.registerTask('deploy-3rdparty-zeroclipboard', 'zeroclipboard-init clean copy'); - - grunt.registerTask('deploy-app-main', 'main-app-init clean min mincss copy'); - grunt.registerTask('deploy-app-mobile', 'mobile-app-init clean min mincss copy'); - grunt.registerTask('deploy-app-embed', 'embed-app-init clean min mincss copy'); - - - - grunt.registerTask('init-build-documenteditor', 'Initialize build DocumentEditor.', function(){ - defaultConfig = 'documenteditor.json'; - packageFile = require('./' + defaultConfig); - - if (packageFile) - grunt.log.ok('DocumentEditor config loaded successfully'.green); - else - grunt.log.error().writeln('Could not load config file'.red); - }); - - grunt.registerTask('init-build-spreadsheeteditor', 'Initialize build SpreadsheetEditor.', function(){ - defaultConfig = 'spreadsheeteditor.json'; - packageFile = require('./' + defaultConfig); - - if (packageFile) - grunt.log.ok('SpreadsheetEditor config loaded successfully'.green); - else - grunt.log.error().writeln('Could not load config file'.red); - }); - - grunt.registerTask('init-build-presentationeditor', 'Initialize build PresentationEditor.', function(){ - defaultConfig = 'presentationeditor.json'; - packageFile = require('./' + defaultConfig); - - if (packageFile) - grunt.log.ok('PresentationEditor config loaded successfully'.green); - else - grunt.log.error().writeln('Could not load config file'.red); - }); - - grunt.registerTask('deploy-app', 'Deploy application.', function(){ - if (packageFile) { - if (packageFile['tasks']['deploy']) - grunt.task.run(packageFile['tasks']['deploy']); - else - grunt.log.error().writeln('Not found "deploy" task in configure'.red); - } else { - grunt.log.error().writeln('Is not load configure file.'.red); - } - }); - - grunt.registerTask('init-obfuscate-app', 'Obfuscate application.', function(){ - grunt.initConfig({ - exec: { - obfuscate_string: { - command: function() { - var exec_string = '.\\bin\\ObfuscateStrings.exe'; - exec_string += ' -api ' + packageFile['obf']['api']; - exec_string += ' -pat ' + packageFile['obf']['pat']; - exec_string += ' ' + packageFile['obf']['keys']; - for(var i in packageFile['obf']['apply']){ - exec_string += ' -apply ' + packageFile['obf']['apply'][i] + ' ' + packageFile['obf']['apply'][i]; - } - return exec_string; - }, - stdout: false - } - } - }); - }); - - grunt.registerTask('init-obfuscate-api', 'Obfuscate api.', function(){ - grunt.initConfig({ - exec: { - obfuscate_api: { - command: function() { - var exec_string = '.\\bin\\ObfuscateJSApi.exe -verbose'; - exec_string += ' -ccvars ' + packageFile['obf_api']['ccvars']; - exec_string += ' -ccprops ' + packageFile['obf_api']['ccprops']; - exec_string += ' -api ' + packageFile['obf_api']['api']; - for(var i in packageFile['obf_api']['clientjs']){ - exec_string += ' -clientjs ' + packageFile['obf_api']['clientjs'][i] + ' ' + packageFile['obf_api']['clientjs'][i]; - } - exec_string += ' -ccres ' + packageFile['obf_api']['ccres'] + ' ' + packageFile['obf_api']['ccres']; - return exec_string; - }, - stdout: false - } - } - }); - }); - - grunt.registerTask('obfuscate-api', 'init-obfuscate-api exec'); - grunt.registerTask('obfuscate-app', 'init-obfuscate-app exec'); - - grunt.registerTask('deploy-documenteditor', 'init-build-documenteditor deploy-app'); - grunt.registerTask('deploy-spreadsheeteditor', 'init-build-spreadsheeteditor deploy-app'); - grunt.registerTask('deploy-presentationeditor', 'init-build-presentationeditor deploy-app'); - - grunt.registerTask('obfuscate-documenteditor', 'deploy-documenteditor obfuscate-api obfuscate-app'); - grunt.registerTask('obfuscate-spreadsheeteditor', 'deploy-spreadsheeteditor obfuscate-app'); - grunt.registerTask('obfuscate-presentationeditor', 'deploy-presentationeditor obfuscate-api obfuscate-app'); - - grunt.registerTask('obfuscate-all', 'obfuscate-documenteditor obfuscate-spreadsheeteditor obfuscate-presentationeditor'); - - grunt.registerTask('init-deploy-isa209', 'Initialize deploy to isa209.', function(){ - deployConfig = 'isa209.json'; - - deployFile = require('./' + deployConfig); - - if (deployFile) - grunt.log.ok('isa209 config loaded successfully'.green); - else - grunt.log.error().writeln('Could not load config file'.red); - }); - - grunt.registerTask('init-deploy-testserver', 'Initialize deploy to testserver.', function(){ - deployConfig = 'testserver.json'; - - deployFile = require('./' + deployConfig); - - if (deployFile) - grunt.log.ok('testserver config loaded successfully'.green); - else - grunt.log.error().writeln('Could not load config file'.red); - }); - - grunt.registerTask('init-deploy-com', 'Initialize deploy to com.', function(){ - deployConfig = 'com.json'; - - deployFile = require('./' + deployConfig); - - if (deployFile) - grunt.log.ok('com config loaded successfully'.green); - else - grunt.log.error().writeln('Could not load config file'.red); - }); - - grunt.registerTask('init-deploy-com.eu', 'Initialize deploy to com.', function(){ - deployConfig = 'com.eu.json'; - - deployFile = require('./' + deployConfig); - - if (deployFile) - grunt.log.ok('com config loaded successfully'.green); - else - grunt.log.error().writeln('Could not load config file'.red); - }); - - grunt.registerTask('init-deploy-nct', 'Initialize deploy to nct.', function(){ - deployConfig = 'nct.json'; - - deployFile = require('./' + deployConfig); - - if (deployFile) - grunt.log.ok('nct config loaded successfully'.green); - else - grunt.log.error().writeln('Could not load config file'.red); - }); - - grunt.registerTask('init-deploy-doc-test', 'Initialize deploy to doc-test.', function(){ - deployConfig = 'doc-test.json'; - - deployFile = require('./' + deployConfig); - - if (deployFile) - grunt.log.ok('doc-test config loaded successfully'.green); - else - grunt.log.error().writeln('Could not load config file'.red); - }); - - grunt.registerTask('run-deploy-task', 'Run deploy task.', function(){ - if (deployFile) { - if (deployFile['tasks']['deploy']) - grunt.task.run(deployFile['tasks']['deploy']); - else - grunt.log.error().writeln('Not found "deploy" task in configure'.red); - } else { - grunt.log.error().writeln('Is not load configure file.'.red); - } - }); - - grunt.registerTask('insert-version-to-url', function() { - var dst_folder = 'v' + deployFile['version']['major'] + '.' + deployFile['version']['minor']; - - if(undefined !== process.env['BUILD_NUMBER']) - { - grunt.log.ok('Use Jenkins build number as minor version!'.yellow); - dst_folder = 'v' + deployFile['version']['major'] + '.' + process.env['BUILD_NUMBER']; - } - - //change current config: - //set version's named folder as rootDir for archived sources - if(undefined !== deployFile['compress']) - deployFile['compress']['dist']['options']['rootDir'] = dst_folder; - - if(undefined !== deployFile['dst']) - deployFile['dst'] = deployFile['dst'] + '/' + dst_folder; - - //add version's named folder to full path url - var full_url = deployFile['replace']['url']['options']['variables']; - for(var i in full_url){ - full_url[i] = full_url[i] + dst_folder + '/'; - } - }); - - grunt.registerTask('increment-deploy-version', function() { - - var pkg = grunt.file.readJSON(deployConfig); - pkg.version.minor = parseInt(pkg.version.minor) + 1; - - //write changes - grunt.file.write(deployConfig, JSON.stringify(pkg, null, 4)); - }); - - grunt.registerTask('init-deploy-compress', function(){ - grunt.initConfig({ - pkg: '', - compress: deployFile['compress'] - }); - }); - - grunt.registerTask('deploy-compress-all', 'init-deploy-compress'); - - grunt.registerTask('init-deploy-configure', 'Init configure task.', function(){ - var replace_path_array = {}; - - if(deployFile['path']){ - //Generate structure for the replace tasks - //for each pattern - for(var i in deployFile['path']['pattern']){ - //and for each file - for(var j in deployFile['path']['src_path']){ - var replace_task_name = 'path_subtask_' + i + j; - replace_path_array[replace_task_name] = {}; - replace_path_array[replace_task_name]['options'] = {}; - var find = deployFile['path']['pattern'][i]; - - var replace = ''; - //find the count of slash - var start_index = 0; - while(true){ - start_index = deployFile['path']['src_path'][j].indexOf('/', start_index + 1); - //add up folder to replace string per each slash - if(start_index != -1) - replace = replace + '../'; - else - break; - } - //find the begin of file name - var last_slash = deployFile['path']['src_path'][j].lastIndexOf('/'); - //and add path to file to replace string whithout file name - if(last_slash != -1) - replace = replace + deployFile['path']['src_path'][j].substring(0, last_slash + 1); - replace = replace + find; - - replace_path_array[replace_task_name]['options']['variables'] = {}; - replace_path_array[replace_task_name]['options']['variables'][find] = replace; - replace_path_array[replace_task_name]['options']['prefix'] = ""; - var file = deployFile['path']['base_path'] + '/' + deployFile['path']['src_path'][j]; - replace_path_array[replace_task_name]['files'] = {}; - replace_path_array[replace_task_name]['files'][file] = file; - grunt.log.ok(JSON.stringify(replace_path_array[replace_task_name], null, 4).green); - } - } - } - //Copy replace task from configuration file - for(var i in deployFile['replace']){ - replace_path_array[i] = deployFile['replace'][i]; - } - - grunt.initConfig({ - pkg: deployFile, - pkg_origin: '', - clean: [ '<%= pkg_origin.dst %>/' ], - copy: { - all: { - files: { - '<%= pkg.dst %>/': '<%= pkg.src %>/**' - } - } - }, - replace: replace_path_array - }); - }); - - grunt.registerTask('deploy-configure-all', 'init-deploy-configure clean copy replace'); - - grunt.registerTask('deploy-to-isa209', 'init-deploy-isa209 run-deploy-task'); - grunt.registerTask('deploy-to-testserver', 'init-deploy-testserver run-deploy-task'); - grunt.registerTask('deploy-to-com', 'init-deploy-com run-deploy-task'); - grunt.registerTask('deploy-to-com.eu', 'init-deploy-com.eu run-deploy-task'); - grunt.registerTask('deploy-to-nct', 'init-deploy-nct run-deploy-task'); - grunt.registerTask('deploy-to-doc-test', 'init-deploy-doc-test run-deploy-task'); - grunt.registerTask('deploy-to-all', 'deploy-to-isa209 deploy-to-testserver deploy-to-com deploy-to-com.eu deploy-to-nct deploy-to-doc-test'); - - grunt.registerTask('default', 'deploy-documenteditor deploy-spreadsheeteditor deploy-presentationeditor'); -}; \ No newline at end of file diff --git a/build/deploy/installtools.bat b/build/deploy/installtools.bat deleted file mode 100644 index 2480e0ae8..000000000 --- a/build/deploy/installtools.bat +++ /dev/null @@ -1,8 +0,0 @@ -@echo off - -echo Installation grunt and grunt-contrib -call npm install -g grunt@0.3.17 -call npm install grunt-contrib@0.3.0 -call npm install grunt-closure-tools@0.6.12 -call npm install grunt-exec@0.3.0 -call npm install grunt-replace@0.3.2 \ No newline at end of file diff --git a/build/deploy/isa209.json b/build/deploy/isa209.json deleted file mode 100644 index b4874c792..000000000 --- a/build/deploy/isa209.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "version": { - "major": 1, - "minor": 309 - }, - "src": "../../deploy", - "dst": "../../deploy-to-isa209", - "replace": { - "use_embebbed_fonts": { - "options": { - "variables": { - "ASC_DOCS_API_USE_EMBEDDED_FONTS": "true" - } - }, - "files": [ - { - "<%= pkg.dst %>/sdk/Word/sdk-all.js": "<%= pkg.dst %>/sdk/Word/sdk-all.js" - }, - { - "<%= pkg.dst %>/sdk/Excel/sdk-all.js": "<%= pkg.dst %>/sdk/Excel/sdk-all.js" - }, - { - "<%= pkg.dst %>/sdk/PowerPoint/sdk-all.js": "<%= pkg.dst %>/sdk/PowerPoint/sdk-all.js" - } - ] - } - }, - "tasks": { - "deploy": "increment-deploy-version deploy-configure-all" - } -} \ No newline at end of file diff --git a/build/deploy/nct.json b/build/deploy/nct.json deleted file mode 100644 index db81f5231..000000000 --- a/build/deploy/nct.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "version": { - "major": 1, - "minor": 309 - }, - "src": "../../deploy", - "dst": "../../deploy-to-nct", - "replace": { - "settings": { - "options": { - "variables": { - "\"http://192.168.3.213:3000\"": "\"https://doc-nct.teamlab.com:8080\"" - }, - "prefix": "" - }, - "files": [ - { - "<%= pkg.dst %>/sdk/Word/sdk-all.js": "<%= pkg.dst %>/sdk/Word/sdk-all.js" - }, - { - "<%= pkg.dst %>/sdk/Excel/sdk-all.js": "<%= pkg.dst %>/sdk/Excel/sdk-all.js" - }, - { - "<%= pkg.dst %>/sdk/PowerPoint/sdk-all.js": "<%= pkg.dst %>/sdk/PowerPoint/sdk-all.js" - } - ] - }, - "use_embebbed_fonts": { - "options": { - "variables": { - "ASC_DOCS_API_USE_EMBEDDED_FONTS": "true" - } - }, - "files": [ - { - "<%= pkg.dst %>/sdk/Word/sdk-all.js": "<%= pkg.dst %>/sdk/Word/sdk-all.js" - }, - { - "<%= pkg.dst %>/sdk/Excel/sdk-all.js": "<%= pkg.dst %>/sdk/Excel/sdk-all.js" - }, - { - "<%= pkg.dst %>/sdk/PowerPoint/sdk-all.js": "<%= pkg.dst %>/sdk/PowerPoint/sdk-all.js" - } - ] - }, - "prevent_script_caching": { - "options": { - "variables": { - "_dc=0": "_dc=<%= grunt.template.today(\"yyyy-mm-dd\") %>" - }, - "prefix": "" - }, - "files": [ - { - "<%= pkg.dst %>/apps/api/documents/api.js": "<%= pkg.dst %>/apps/api/documents/api.js" - } - ] - } - }, - "compress": { - "dist": { - "files": { - "<%= pkg.dst %>/deploy-to-nct.zip": [ - "<%= pkg.dst %>/3rdparty/**", - "<%= pkg.dst %>/apps/**", - "<%= pkg.dst %>/sdk/**" - ] - }, - "options": { - "rootDir": "empty", - "level": 9 - } - } - }, - "tasks": { - "deploy": "deploy-configure-all deploy-compress-all" - } -} \ No newline at end of file diff --git a/build/deploy/presentationeditor.json b/build/deploy/presentationeditor.json deleted file mode 100644 index 026c9f06f..000000000 --- a/build/deploy/presentationeditor.json +++ /dev/null @@ -1,404 +0,0 @@ -{ - "version": "1.0", - "build": 744, - "homepage": "http://www.teamlab.com", - "sdk": { - "clean": [ - "../../deploy/sdk/Common", - "../../deploy/sdk/PowerPoint", - "../../deploy/sdk/Fonts" - ], - "copy": { - "../../deploy/sdk/Common/": "../../sdk/Common/AllFonts.js", - "../../deploy/sdk/Fonts/": "../../sdk/Fonts/**/**", - "../../deploy/sdk/PowerPoint/themes/": "../../sdk/PowerPoint/themes/**", - "../../deploy/sdk/PowerPoint/": [ - "../../sdk/PowerPoint/sdk-all.js" - ] - } - }, - "api": { - "clean": [ - "../../deploy/apps/api" - ], - "copy": { - "../../deploy/apps/api/documents/": "../../apps/api/**" - } - }, - "main": { - "clean": [ - "../../deploy/apps/presentationeditor/main" - ], - "js": { - "srcview": [ - "../../apps/common/Gateway.js", - "../../apps/common/Analytics.js", - "../../apps/common/IrregularStack.js", - "../../apps/common/main/loader.js", - "../../apps/common/main/lib/plugin/ScrollPane.js", - "../../apps/common/main/lib/plugin/DataViewScrollPane.js", - "../../apps/common/main/lib/plugin/TextAreaAutoHeight.js", - "../../apps/common/main/lib/plugin/MenuExpand.js", - "../../apps/common/main/lib/component/LoadMask.js", - "../../apps/common/main/lib/component/SplitColorButton.js", - "../../apps/common/main/lib/component/MetricSpinner.js", - "../../apps/common/main/lib/component/IndeterminateCheckBox.js", - "../../apps/common/main/lib/component/SearchField.js", - "../../apps/common/main/lib/component/util/MetricSettings.js", - "../../apps/common/main/lib/model/User.js", - "../../apps/common/main/lib/model/ChatMessage.js", - "../../apps/common/main/lib/model/Comment.js", - "../../apps/common/main/lib/model/Reply.js", - "../../apps/common/main/lib/store/ChatMessages.js", - "../../apps/common/main/lib/store/Comments.js", - "../../apps/common/main/lib/store/Users.js", - "../../apps/common/main/lib/view/About.js", - "../../apps/common/main/lib/view/Header.js", - "../../apps/common/main/lib/view/ChatPanel.js", - "../../apps/common/main/lib/view/CommentsEditForm.js", - "../../apps/common/main/lib/view/CommentsPanel.js", - "../../apps/common/main/lib/view/CommentsPopover.js", - "../../apps/common/main/lib/view/DocumentAccessDialog.js", - "../../apps/common/main/lib/view/SearchDialog.js", - "../../apps/common/main/lib/view/Participants.js", - "../../apps/common/main/lib/view/ExternalDiagramEditor.js", - "../../apps/common/main/lib/controller/Chat.js", - "../../apps/common/main/lib/controller/CommentsBase.js", - "../../apps/common/main/lib/controller/CommentsList.js", - "../../apps/common/main/lib/controller/CommentsPopover.js", - "../../apps/common/main/lib/controller/ExternalDiagramEditor.js", - "../../apps/common/main/lib/view/ComboFonts.js", - "../../apps/common/main/lib/model/Font.js", - "../../apps/common/main/lib/store/Fonts.js", - "../../apps/common/main/lib/controller/Fonts.js", - "../../apps/presentationeditor/main/app/view/DocumentHelp.js", - "../../apps/presentationeditor/main/app/view/DocumentInfo.js", - "../../apps/presentationeditor/main/app/view/DocumentSettings.js", - "../../apps/presentationeditor/main/app/view/File.js", - "../../apps/presentationeditor/main/app/view/CreateFile.js", - "../../apps/presentationeditor/main/app/view/RecentFiles.js", - "../../apps/presentationeditor/main/app/view/DocumentStatusInfo.js", - "../../apps/presentationeditor/main/app/view/DocumentHolder.js", - "../../apps/presentationeditor/main/app/view/DocumentPreview.js", - "../../apps/presentationeditor/main/app/view/MainMenu.js", - "../../apps/presentationeditor/main/app/view/Viewport.js", - "../../apps/presentationeditor/main/app/model/FileTemplate.js", - "../../apps/presentationeditor/main/app/model/RecentFile.js", - "../../apps/presentationeditor/main/app/store/FileTemplates.js", - "../../apps/presentationeditor/main/app/store/RecentFiles.js", - "../../apps/presentationeditor/main/app/controller/CreateFile.js", - "../../apps/presentationeditor/main/app/controller/RecentFiles.js", - "../../apps/presentationeditor/main/app/controller/Search.js", - "../../apps/presentationeditor/main/app/controller/DocumentHolder.js", - "../../apps/presentationeditor/main/app/controller/Main.js", - "../../apps/common/locale.js", - "../../apps/presentationeditor/main/app.js", - "../../apps/presentationeditor/main/restrictions.js", - "../../apps/presentationeditor/main/environment.js.deploy" - ], - "destview": "../../deploy/apps/presentationeditor/main/app-view.js", - "srcedit": [ - "../../apps/common/main/lib/plugin/GridScrollPane.js", - "../../apps/common/main/lib/plugin/ComboBoxScrollPane.js", - "../../apps/common/main/lib/component/util/RGBColor.js", - "../../apps/common/main/lib/component/DataViewPicker.js", - "../../apps/common/main/lib/component/MenuDataViewPicker.js", - "../../apps/common/main/lib/component/HSBColorPicker.js", - "../../apps/common/main/lib/component/MultiSliderGradient.js", - "../../apps/common/main/lib/component/SynchronizeTip.js", - "../../apps/common/main/lib/component/ComboDataView.js", - "../../apps/common/main/lib/view/ExtendedColorDialog.js", - "../../apps/common/main/lib/view/ImageFromUrlDialog.js", - "../../apps/common/main/lib/view/CopyWarning.js", - "../../apps/common/main/lib/view/AbstractSettingsPanel.js", - "../../apps/common/main/lib/component/ThemeColorPalette.js", - "../../apps/common/main/lib/model/Group.js", - "../../apps/common/main/lib/model/GroupItem.js", - "../../apps/common/main/lib/component/GroupedDataView.js", - "../../apps/presentationeditor/main/app/model/ShapeGroup.js", - "../../apps/presentationeditor/main/app/model/SlideLayout.js", - "../../apps/presentationeditor/main/app/store/ShapeGroups.js", - "../../apps/presentationeditor/main/app/store/SlideLayouts.js", - "../../apps/presentationeditor/main/app/component/DimensionPicker.js", - "../../apps/presentationeditor/main/app/component/MenuDimensionPicker.js", - "../../apps/presentationeditor/main/app/view/InsertTableDialog.js", - "../../apps/presentationeditor/main/app/view/HyperlinkSettings.js", - "../../apps/presentationeditor/main/app/view/ImageSettingsAdvanced.js", - "../../apps/presentationeditor/main/app/view/ShapeSettingsAdvanced.js", - "../../apps/presentationeditor/main/app/view/TableSettingsAdvanced.js", - "../../apps/presentationeditor/main/app/view/ParagraphSettingsAdvanced.js", - "../../apps/presentationeditor/main/app/view/ImageSettings.js", - "../../apps/presentationeditor/main/app/view/ShapeSettings.js", - "../../apps/presentationeditor/main/app/view/SlideSettings.js", - "../../apps/presentationeditor/main/app/view/ParagraphSettings.js", - "../../apps/presentationeditor/main/app/view/SlideSizeSettings.js", - "../../apps/presentationeditor/main/app/view/TableSettings.js", - "../../apps/presentationeditor/main/app/view/ChartSettings.js", - "../../apps/presentationeditor/main/app/view/RightPanel.js", - "../../apps/presentationeditor/main/app/view/RightMenu.js", - "../../apps/presentationeditor/main/app/view/Toolbar.js", - "../../apps/presentationeditor/main/app/controller/Toolbar.js" - ], - "destedit": "../../deploy/apps/presentationeditor/main/app-edit.js" - }, - "css": { - "srcedit": [ - "../../apps/common/main/resources/css/dataview-picker.css", - "../../apps/common/main/resources/css/hsb-colorpicker.css", - "../../apps/common/main/resources/css/themecolorpalette.css", - "../../apps/common/main/resources/css/comments-panel.css", - "../../apps/common/main/resources/css/comments-popover.css", - "../../apps/common/main/resources/css/grouped-data-view.css", - "../../apps/common/main/resources/css/dataview-combo.css", - "../../apps/common/main/resources/css/synchronize-tip.css", - "../../apps/common/main/resources/css/multislider-gradient.css", - "../../apps/presentationeditor/main/resources/css/right-panels.css", - "../../apps/presentationeditor/main/resources/css/toolbar.css", - "../../apps/presentationeditor/main/resources/css/dimension-picker.css", - "../../apps/presentationeditor/main/resources/css/advanced-settings-dialog.css" - ], - "destedit": "../../deploy/apps/presentationeditor/main/resources/css/app-edit.css", - "srcview": [ - "../../apps/common/main/resources/css/load-mask.css", - "../../apps/common/main/resources/css/jquery.jscrollpane.css", - "../../apps/common/main/resources/css/chat-panel.css", - "../../apps/common/main/resources/css/header.css", - "../../apps/common/main/resources/css/asc.css", - "../../apps/common/main/resources/css/about.css", - "../../apps/common/main/resources/css/searchfield.css", - "../../apps/common/main/resources/css/searchdialog.css", - "../../apps/common/main/resources/css/participantspanel.css", - "../../apps/presentationeditor/main/resources/css/pres-main-colors.css", - "../../apps/presentationeditor/main/resources/css/header.css", - "../../apps/presentationeditor/main/resources/css/document-holder.css", - "../../apps/presentationeditor/main/resources/css/document-statusinfo.css", - "../../apps/presentationeditor/main/resources/css/document-preview.css", - "../../apps/presentationeditor/main/resources/css/main-menu.css", - "../../apps/presentationeditor/main/resources/css/file.css", - "../../apps/presentationeditor/main/resources/css/file-create-new.css", - "../../apps/presentationeditor/main/resources/css/file-open-recent.css" - ], - "destview": "../../deploy/apps/presentationeditor/main/resources/css/app-view.css" - }, - "copy": { - "localization": { - "../../deploy/apps/presentationeditor/main/locale/": "../../apps/presentationeditor/main/locale/*" - }, - "help": { - "../../deploy/apps/presentationeditor/main/resources/help/en/": "../../apps/presentationeditor/main/resources/help/en/**", - "../../deploy/apps/presentationeditor/main/resources/help/de/": "../../apps/presentationeditor/main/resources/help/de/**", - "../../deploy/apps/presentationeditor/main/resources/help/es/": "../../apps/presentationeditor/main/resources/help/es/**", - "../../deploy/apps/presentationeditor/main/resources/help/it/": "../../apps/presentationeditor/main/resources/help/it/**", - "../../deploy/apps/presentationeditor/main/resources/help/ru/": "../../apps/presentationeditor/main/resources/help/ru/**" - }, - "index-page": { - "../../deploy/apps/presentationeditor/main/index.html": "../../apps/presentationeditor/main/index.html.deploy" - }, - "images-app": { - "../../deploy/apps/presentationeditor/main/resources/img/": "../../apps/presentationeditor/main/resources/img/**" - }, - "images-common": { - "../../deploy/apps/presentationeditor/main/Images/": "../../sdk/PowerPoint/Images/*.cur", - "../../deploy/apps/presentationeditor/main/resources/img/": "../../apps/common/main/resources/img/**" - } - } - }, - "mobile": { - "clean": [ - "../../deploy/apps/presentationeditor/mobile" - ], - "js": { - "src": [ - "../../apps/common/Gateway.js", - "../../apps/common/Analytics.js", - "../../apps/common/mobile/loader.js", - "../../apps/presentationeditor/mobile/app/view/Main.js", - "../../apps/presentationeditor/mobile/app/view/phone/toolbar/View.js", - "../../apps/presentationeditor/mobile/app/view/phone/Main.js", - "../../apps/presentationeditor/mobile/app/view/tablet/toolbar/View.js", - "../../apps/presentationeditor/mobile/app/view/tablet/Main.js", - "../../apps/presentationeditor/mobile/app/controller/Presentation.js", - "../../apps/presentationeditor/mobile/app/controller/Main.js", - "../../apps/presentationeditor/mobile/app/controller/phone/Main.js", - "../../apps/presentationeditor/mobile/app/controller/tablet/Main.js", - "../../apps/presentationeditor/mobile/app/controller/toolbar/View.js", - "../../apps/presentationeditor/mobile/app/profile/Phone.js", - "../../apps/presentationeditor/mobile/app/profile/Tablet.js", - "../../apps/common/locale.js", - "../../apps/presentationeditor/mobile/app.js" - ], - "dist": "../../deploy/apps/presentationeditor/mobile/app-all.js" - }, - "css": { - "normal": { - "src": [ - "../../apps/presentationeditor/mobile/resources/css/application-normal.css" - ], - "dist": "../../deploy/apps/presentationeditor/mobile/resources/css/application-normal.css" - }, - "retina": { - "src": [ - "../../apps/presentationeditor/mobile/resources/css/application-retina.css" - ], - "dist": "../../deploy/apps/presentationeditor/mobile/resources/css/application-retina.css" - } - }, - "copy": { - "index-page": { - "../../deploy/apps/presentationeditor/mobile/index.html": "../../apps/presentationeditor/mobile/index.html.deploy" - }, - "localization": { - "../../deploy/apps/presentationeditor/mobile/locale/": "../../apps/presentationeditor/mobile/locale/*" - }, - "images-app": { - "../../deploy/apps/presentationeditor/mobile/resources/img/": "../../apps/presentationeditor/mobile/resources/img/**" - } - } - }, - "embed": { - "clean": [ - "../../deploy/apps/presentationeditor/embed" - ], - "js": { - "src": [ - "../../apps/common/Gateway.js", - "../../apps/common/Analytics.js", - "../../apps/presentationeditor/embed/js/ApplicationView.js", - "../../apps/presentationeditor/embed/js/ApplicationController.js", - "../../apps/presentationeditor/embed/js/application.js" - ], - "dist": "../../deploy/apps/presentationeditor/embed/app-all.js" - }, - "css": { - "src": [ - "../../apps/presentationeditor/embed/resources/css/application.css" - ], - "dist": "../../deploy/apps/presentationeditor/embed/resources/css/app-all.css" - }, - "copy": { - "index-page": { - "../../deploy/apps/presentationeditor/embed/index.html": "../../apps/presentationeditor/embed/index.html.deploy" - }, - "images-app": { - "../../deploy/apps/presentationeditor/embed/resources/img/": "../../apps/presentationeditor/embed/resources/img/**" - } - } - }, - "extjs": { - "clean": [ - "../../deploy/3rdparty/extjs" - ], - "copy": { - "script": { - "../../deploy/3rdparty/extjs/": "../../3rdparty/extjs/ext-all.js" - }, - "css": { - "../../deploy/3rdparty/extjs/resources/css/": "../../3rdparty/extjs/resources/css/ext-all.css" - }, - "images": { - "../../deploy/3rdparty/extjs/resources/themes/images/default/": "../../3rdparty/extjs/resources/themes/images/default/**" - } - } - }, - "bootstrap": { - "clean": [ - "../../deploy/3rdparty/bootstrap" - ], - "copy": { - "script": { - "../../deploy/3rdparty/bootstrap/js/": "../../3rdparty/bootstrap/js/bootstrap.min.js" - }, - "css": { - "../../deploy/3rdparty/bootstrap/css/": "../../3rdparty/bootstrap/css/bootstrap.min.css" - }, - "images": { - "../../deploy/3rdparty/bootstrap/img/": "../../3rdparty/bootstrap/img/*" - } - } - }, - "jquery": { - "clean": [ - "../../deploy/3rdparty/jquery" - ], - "copy": { - "script": { - "../../deploy/3rdparty/jquery/": [ - "../../3rdparty/jquery/jquery-1.7.1.min.js", - "../../3rdparty/jquery/jquery-1.8.1.min.js" - ], - "../../deploy/3rdparty/jquery/mousewheel/": "../../3rdparty/jquery/mousewheel/jquery.mousewheel.js", - "../../deploy/3rdparty/jquery/jscrollpane/": "../../3rdparty/jquery/jscrollpane/jquery.jscrollpane.min.js" - } - } - }, - "sockjs": { - "clean": [ - "../../deploy/3rdparty/sockjs" - ], - "copy": { - "script": { - "../../deploy/3rdparty/sockjs/": "../../3rdparty/sockjs/sockjs-0.3.min.js" - } - } - }, - "xregexp": { - "clean": [ - "../../deploy/3rdparty/xregexp" - ], - "copy": { - "script": { - "../../deploy/3rdparty/xregexp/": "../../3rdparty/xregexp/xregexp-all-min.js" - } - } - }, - "underscore": { - "clean": [ - "../../deploy/3rdparty/underscore" - ], - "copy": { - "script": { - "../../deploy/3rdparty/underscore/": "../../3rdparty/underscore/underscore-min.js" - } - } - }, - "zeroclipboard": { - "clean": [ - "../../deploy/3rdparty/ZeroClipboard" - ], - "copy": { - "script": { - "../../deploy/3rdparty/ZeroClipboard/": [ - "../../3rdparty/ZeroClipboard/ZeroClipboard.min.js", - "../../3rdparty/ZeroClipboard/ZeroClipboard*.swf" - ] - } - } - }, - "obf_api": { - "ccvars": "../../sdk/PowerPoint/variable.map", - "ccprops": "../../sdk/PowerPoint/property.map", - "api": "../../sdk/PowerPoint/apiExport.js", - "clientjs": [ - "../../deploy/apps/presentationeditor/main/app-edit.js", - "../../deploy/apps/presentationeditor/main/app-view.js", - "../../deploy/apps/presentationeditor/mobile/app-all.js", - "../../deploy/apps/presentationeditor/embed/app-all.js" - ], - "ccres": "../../deploy/sdk/PowerPoint/sdk-all.js" - }, - "obf": { - "api": "../../deploy/sdk/PowerPoint/sdk-all.js", - "pat": "asc_\\w+", - "keys": "-exp se -use-for-name", - "apply": [ - "../../deploy/sdk/PowerPoint/sdk-all.js", - "../../deploy/apps/presentationeditor/main/app-edit.js", - "../../deploy/apps/presentationeditor/main/app-view.js", - "../../deploy/apps/presentationeditor/mobile/app-all.js", - "../../deploy/apps/presentationeditor/embed/app-all.js" - ] - }, - "tasks": { - "deploy": "increment-build deploy-api deploy-sdk deploy-3rdparty-bootstrap deploy-3rdparty-extjs deploy-3rdparty-jquery deploy-3rdparty-sockjs deploy-3rdparty-xregexp deploy-3rdparty-underscore deploy-3rdparty-zeroclipboard deploy-app-main deploy-app-mobile deploy-app-embed" - } -} \ No newline at end of file diff --git a/build/deploy/spreadsheeteditor.json b/build/deploy/spreadsheeteditor.json deleted file mode 100644 index 1aed1844e..000000000 --- a/build/deploy/spreadsheeteditor.json +++ /dev/null @@ -1,407 +0,0 @@ -{ - "version": "1.0", - "build": 834, - "homepage": "http://www.teamlab.com", - "sdk": { - "clean": [ - "../../deploy/sdk/Common", - "../../deploy/sdk/Excel" - ], - "copy": { - "../../deploy/sdk/Common/": "../../sdk/Common/AllFonts.js", - "../../deploy/sdk/Excel/css/": "../../sdk/Excel/css/*.css", - "../../deploy/sdk/Word/Images/": "../../sdk/Word/Images/*.cur", - "../../deploy/sdk/Excel/": "../../sdk/Excel/sdk-all.js" - } - }, - "api": { - "clean": [ - "../../deploy/apps/api" - ], - "copy": { - "../../deploy/apps/api/documents/": "../../apps/api/**" - } - }, - "main": { - "clean": [ - "../../deploy/apps/spreadsheeteditor/main" - ], - "js": { - "srcview": [ - "../../apps/common/Gateway.js", - "../../apps/common/Analytics.js", - "../../apps/common/IrregularStack.js", - "../../apps/common/main/loader.js", - "../../apps/common/main/lib/plugin/ScrollPane.js", - "../../apps/common/main/lib/plugin/DataViewScrollPane.js", - "../../apps/common/main/lib/plugin/ComboBoxScrollPane.js", - "../../apps/common/main/lib/plugin/TextAreaAutoHeight.js", - "../../apps/common/main/lib/plugin/MenuExpand.js", - "../../apps/common/main/lib/component/LoadMask.js", - "../../apps/common/main/lib/component/MetricSpinner.js", - "../../apps/common/main/lib/component/IndeterminateCheckBox.js", - "../../apps/common/main/lib/component/SearchField.js", - "../../apps/common/main/lib/component/util/MetricSettings.js", - "../../apps/common/main/lib/model/User.js", - "../../apps/common/main/lib/model/ChatMessage.js", - "../../apps/common/main/lib/model/Comment.js", - "../../apps/common/main/lib/model/Reply.js", - "../../apps/common/main/lib/store/ChatMessages.js", - "../../apps/common/main/lib/store/Comments.js", - "../../apps/common/main/lib/store/Users.js", - "../../apps/common/main/lib/view/About.js", - "../../apps/common/main/lib/view/Header.js", - "../../apps/common/main/lib/view/ChatPanel.js", - "../../apps/common/main/lib/view/CommentsEditForm.js", - "../../apps/common/main/lib/view/CommentsPanel.js", - "../../apps/common/main/lib/view/CommentsPopover.js", - "../../apps/common/main/lib/view/SearchDialog.js", - "../../apps/common/main/lib/view/Participants.js", - "../../apps/common/main/lib/view/DocumentAccessDialog.js", - "../../apps/common/main/lib/controller/Chat.js", - "../../apps/common/main/lib/controller/CommentsBase.js", - "../../apps/common/main/lib/controller/CommentsList.js", - "../../apps/common/main/lib/controller/CommentsPopover.js", - "../../apps/spreadsheeteditor/main/app/ux/BoxReorderer.js", - "../../apps/spreadsheeteditor/main/app/plugin/TabBarScroller.js", - "../../apps/spreadsheeteditor/main/app/plugin/TabReorderer.js", - "../../apps/spreadsheeteditor/main/app/view/OpenDialog.js", - "../../apps/spreadsheeteditor/main/app/view/CreateFile.js", - "../../apps/spreadsheeteditor/main/app/view/RecentFiles.js", - "../../apps/spreadsheeteditor/main/app/view/DocumentInfo.js", - "../../apps/spreadsheeteditor/main/app/view/DocumentHelp.js", - "../../apps/spreadsheeteditor/main/app/view/DocumentHolder.js", - "../../apps/spreadsheeteditor/main/app/view/DocumentStatusInfo.js", - "../../apps/spreadsheeteditor/main/app/view/MainMenu.js", - "../../apps/spreadsheeteditor/main/app/view/MainSettingsGeneral.js", - "../../apps/spreadsheeteditor/main/app/view/MainSettingsPrint.js", - "../../apps/spreadsheeteditor/main/app/view/DocumentSettings.js", - "../../apps/spreadsheeteditor/main/app/view/File.js", - "../../apps/spreadsheeteditor/main/app/view/CellInfo.js", - "../../apps/spreadsheeteditor/main/app/view/Viewport.js", - "../../apps/spreadsheeteditor/main/app/model/FileTemplate.js", - "../../apps/spreadsheeteditor/main/app/model/RecentFile.js", - "../../apps/spreadsheeteditor/main/app/store/FileTemplates.js", - "../../apps/spreadsheeteditor/main/app/store/RecentFiles.js", - "../../apps/spreadsheeteditor/main/app/controller/RecentFiles.js", - "../../apps/spreadsheeteditor/main/app/controller/DocumentHolder.js", - "../../apps/spreadsheeteditor/main/app/controller/Main.js", - "../../apps/spreadsheeteditor/main/app/controller/CreateFile.js", - "../../apps/spreadsheeteditor/main/app/controller/CellEdit.js", - "../../apps/spreadsheeteditor/main/app/controller/Search.js", - "../../apps/common/locale.js", - "../../apps/spreadsheeteditor/main/app.js", - "../../apps/spreadsheeteditor/main/restrictions.js", - "../../apps/spreadsheeteditor/main/environment.js.deploy" - ], - "destview": "../../deploy/apps/spreadsheeteditor/main/app-view.js", - "srcedit": [ - "../../apps/common/main/lib/plugin/GridScrollPane.js", - "../../apps/common/main/lib/component/util/RGBColor.js", - "../../apps/common/main/lib/component/HSBColorPicker.js", - "../../apps/common/main/lib/view/ExtendedColorDialog.js", - "../../apps/common/main/lib/component/DataViewPicker.js", - "../../apps/common/main/lib/component/MenuDataViewPicker.js", - "../../apps/common/main/lib/component/ThemeColorPalette.js", - "../../apps/common/main/lib/component/SplitColorButton.js", - "../../apps/common/main/lib/component/SynchronizeTip.js", - "../../apps/common/main/lib/component/ComboDataView.js", - "../../apps/common/main/lib/component/MultiSliderGradient.js", - "../../apps/common/main/lib/view/CopyWarning.js", - "../../apps/common/main/lib/view/ImageFromUrlDialog.js", - "../../apps/common/main/lib/view/ComboFonts.js", - "../../apps/common/main/lib/view/AbstractSettingsPanel.js", - "../../apps/common/main/lib/model/Font.js", - "../../apps/common/main/lib/store/Fonts.js", - "../../apps/common/main/lib/controller/Fonts.js", - "../../apps/common/main/lib/model/Group.js", - "../../apps/common/main/lib/model/GroupItem.js", - "../../apps/common/main/lib/component/GroupedDataView.js", - "../../apps/spreadsheeteditor/main/app/model/Formula.js", - "../../apps/spreadsheeteditor/main/app/model/TableTemplate.js", - "../../apps/spreadsheeteditor/main/app/model/ShapeGroup.js", - "../../apps/spreadsheeteditor/main/app/store/Formulas.js", - "../../apps/spreadsheeteditor/main/app/store/FormulaGroups.js", - "../../apps/spreadsheeteditor/main/app/store/TableTemplates.js", - "../../apps/spreadsheeteditor/main/app/store/ShapeGroups.js", - "../../apps/spreadsheeteditor/main/app/view/FormulaDialog.js", - "../../apps/spreadsheeteditor/main/app/view/SetValueDialog.js", - "../../apps/spreadsheeteditor/main/app/view/SheetCopyDialog.js", - "../../apps/spreadsheeteditor/main/app/view/SheetRenameDialog.js", - "../../apps/spreadsheeteditor/main/app/view/ChartSettingsDlg.js", - "../../apps/spreadsheeteditor/main/app/view/PrintSettings.js", - "../../apps/spreadsheeteditor/main/app/view/HyperlinkSettings.js", - "../../apps/spreadsheeteditor/main/app/view/Toolbar.js", - "../../apps/spreadsheeteditor/main/app/view/AutoFilterDialog.js", - "../../apps/spreadsheeteditor/main/app/view/DigitalFilterDialog.js", - "../../apps/spreadsheeteditor/main/app/view/TableOptionsDialog.js", - "../../apps/spreadsheeteditor/main/app/view/ShapeSettingsAdvanced.js", - "../../apps/spreadsheeteditor/main/app/view/ParagraphSettingsAdvanced.js", - "../../apps/spreadsheeteditor/main/app/view/ImageSettings.js", - "../../apps/spreadsheeteditor/main/app/view/ShapeSettings.js", - "../../apps/spreadsheeteditor/main/app/view/ChartSettings.js", - "../../apps/spreadsheeteditor/main/app/view/ParagraphSettings.js", - "../../apps/spreadsheeteditor/main/app/view/RightPanel.js", - "../../apps/spreadsheeteditor/main/app/view/RightMenu.js", - "../../apps/spreadsheeteditor/main/app/controller/Toolbar.js", - "../../apps/spreadsheeteditor/main/app/controller/Print.js" - ], - "destedit": "../../deploy/apps/spreadsheeteditor/main/app-edit.js" - }, - "css": { - "srcview": [ - "../../apps/common/main/resources/css/load-mask.css", - "../../apps/common/main/resources/css/jquery.jscrollpane.css", - "../../apps/common/main/resources/css/chat-panel.css", - "../../apps/common/main/resources/css/header.css", - "../../apps/common/main/resources/css/asc.css", - "../../apps/common/main/resources/css/about.css", - "../../apps/common/main/resources/css/searchfield.css", - "../../apps/common/main/resources/css/searchdialog.css", - "../../apps/common/main/resources/css/participantspanel.css", - "../../apps/spreadsheeteditor/main/resources/css/ss-main-colors.css", - "../../apps/spreadsheeteditor/main/resources/css/document-holder.css", - "../../apps/spreadsheeteditor/main/resources/css/document-statusinfo.css", - "../../apps/spreadsheeteditor/main/resources/css/file-create-new.css", - "../../apps/spreadsheeteditor/main/resources/css/file-open-recent.css", - "../../apps/spreadsheeteditor/main/resources/css/file.css", - "../../apps/spreadsheeteditor/main/resources/css/header.css", - "../../apps/spreadsheeteditor/main/resources/css/main-menu.css", - "../../apps/spreadsheeteditor/main/resources/css/tab-bar.css", - "../../apps/spreadsheeteditor/main/resources/css/general.css" - ], - "destview": "../../deploy/apps/spreadsheeteditor/main/resources/css/app-view.css", - "srcedit": [ - "../../apps/common/main/resources/css/dataview-picker.css", - "../../apps/common/main/resources/css/hsb-colorpicker.css", - "../../apps/common/main/resources/css/themecolorpalette.css", - "../../apps/common/main/resources/css/dataview-combo.css", - "../../apps/common/main/resources/css/comments-panel.css", - "../../apps/common/main/resources/css/comments-popover.css", - "../../apps/common/main/resources/css/synchronize-tip.css", - "../../apps/common/main/resources/css/grouped-data-view.css", - "../../apps/common/main/resources/css/multislider-gradient.css", - "../../apps/spreadsheeteditor/main/resources/css/right-panels.css", - "../../apps/spreadsheeteditor/main/resources/css/toolbar.css", - "../../apps/spreadsheeteditor/main/resources/css/advanced-settings-dialog.css" - ], - "destedit": "../../deploy/apps/spreadsheeteditor/main/resources/css/app-edit.css" - }, - "copy": { - "localization": { - "../../deploy/apps/spreadsheeteditor/main/locale/": "../../apps/spreadsheeteditor/main/locale/*" - }, - "help": { - "../../deploy/apps/spreadsheeteditor/main/resources/help/en/": "../../apps/spreadsheeteditor/main/resources/help/en/**", - "../../deploy/apps/spreadsheeteditor/main/resources/help/fr/": "../../apps/spreadsheeteditor/main/resources/help/fr/**", - "../../deploy/apps/spreadsheeteditor/main/resources/help/es/": "../../apps/spreadsheeteditor/main/resources/help/es/**", - "../../deploy/apps/spreadsheeteditor/main/resources/help/it/": "../../apps/spreadsheeteditor/main/resources/help/it/**", - "../../deploy/apps/spreadsheeteditor/main/resources/help/ru/": "../../apps/spreadsheeteditor/main/resources/help/ru/**" - }, - "index-page": { - "../../deploy/apps/spreadsheeteditor/main/index.html": "../../apps/spreadsheeteditor/main/index.html.deploy" - }, - "images-app": { - "../../deploy/apps/spreadsheeteditor/main/resources/img/": "../../apps/spreadsheeteditor/main/resources/img/**" - }, - "images-common": { - "../../deploy/apps/spreadsheeteditor/main/resources/img/": "../../apps/common/main/resources/img/**" - } - } - }, - "mobile": { - "clean": [ - "../../deploy/apps/spreadsheeteditor/mobile" - ], - "js": { - "src": [ - "../../apps/common/Gateway.js", - "../../apps/common/Analytics.js", - "../../apps/common/mobile/loader.js", - "../../apps/spreadsheeteditor/mobile/app/model/Worksheet.js", - "../../apps/spreadsheeteditor/mobile/app/store/Worksheets.js", - "../../apps/spreadsheeteditor/mobile/app/view/OpenCsvPanel.js", - "../../apps/spreadsheeteditor/mobile/app/view/WorksheetList.js", - "../../apps/spreadsheeteditor/mobile/app/view/Main.js", - "../../apps/spreadsheeteditor/mobile/app/view/phone/toolbar/Search.js", - "../../apps/spreadsheeteditor/mobile/app/view/phone/toolbar/View.js", - "../../apps/spreadsheeteditor/mobile/app/view/phone/Main.js", - "../../apps/spreadsheeteditor/mobile/app/view/tablet/toolbar/Search.js", - "../../apps/spreadsheeteditor/mobile/app/view/tablet/toolbar/View.js", - "../../apps/spreadsheeteditor/mobile/app/view/tablet/Main.js", - "../../apps/spreadsheeteditor/mobile/app/controller/ApiEvents.js", - "../../apps/spreadsheeteditor/mobile/app/controller/Document.js", - "../../apps/spreadsheeteditor/mobile/app/controller/Search.js", - "../../apps/spreadsheeteditor/mobile/app/controller/WorksheetList.js", - "../../apps/spreadsheeteditor/mobile/app/controller/Main.js", - "../../apps/spreadsheeteditor/mobile/app/controller/phone/Main.js", - "../../apps/spreadsheeteditor/mobile/app/controller/tablet/Main.js", - "../../apps/spreadsheeteditor/mobile/app/controller/toolbar/View.js", - "../../apps/spreadsheeteditor/mobile/app/profile/Phone.js", - "../../apps/spreadsheeteditor/mobile/app/profile/Tablet.js", - "../../apps/common/locale.js", - "../../apps/spreadsheeteditor/mobile/app.js" - ], - "dist": "../../deploy/apps/spreadsheeteditor/mobile/app-all.js" - }, - "css": { - "normal": { - "src": [ - "../../apps/spreadsheeteditor/mobile/resources/css/application-normal.css" - ], - "dist": "../../deploy/apps/spreadsheeteditor/mobile/resources/css/application-normal.css" - }, - "retina": { - "src": [ - "../../apps/spreadsheeteditor/mobile/resources/css/application-retina.css" - ], - "dist": "../../deploy/apps/spreadsheeteditor/mobile/resources/css/application-retina.css" - } - }, - "copy": { - "index-page": { - "../../deploy/apps/spreadsheeteditor/mobile/index.html": "../../apps/spreadsheeteditor/mobile/index.html.deploy" - }, - "localization": { - "../../deploy/apps/spreadsheeteditor/mobile/locale/": "../../apps/spreadsheeteditor/mobile/locale/*" - }, - "images-app": { - "../../deploy/apps/spreadsheeteditor/mobile/resources/img/": "../../apps/spreadsheeteditor/mobile/resources/img/**" - } - } - }, - "embed": { - "clean": [ - "../../deploy/apps/spreadsheeteditor/embed" - ], - "js": { - "src": [ - "../../apps/common/Gateway.js", - "../../apps/common/Analytics.js", - "../../apps/spreadsheeteditor/embed/js/ApplicationView.js", - "../../apps/spreadsheeteditor/embed/js/ApplicationController.js", - "../../apps/spreadsheeteditor/embed/js/application.js" - ], - "dist": "../../deploy/apps/spreadsheeteditor/embed/app-all.js" - }, - "css": { - "src": [ - "../../apps/spreadsheeteditor/embed/resources/css/application.css" - ], - "dist": "../../deploy/apps/spreadsheeteditor/embed/resources/css/app-all.css" - }, - "copy": { - "index-page": { - "../../deploy/apps/spreadsheeteditor/embed/index.html": "../../apps/spreadsheeteditor/embed/index.html.deploy" - }, - "images-app": { - "../../deploy/apps/spreadsheeteditor/embed/resources/img/": "../../apps/spreadsheeteditor/embed/resources/img/**" - } - } - }, - "extjs": { - "clean": [ - "../../deploy/3rdparty/extjs" - ], - "copy": { - "script": { - "../../deploy/3rdparty/extjs/": "../../3rdparty/extjs/ext-all.js" - }, - "css": { - "../../deploy/3rdparty/extjs/resources/css/": "../../3rdparty/extjs/resources/css/ext-all.css" - }, - "images": { - "../../deploy/3rdparty/extjs/resources/themes/images/default/": "../../3rdparty/extjs/resources/themes/images/default/**" - } - } - }, - "bootstrap": { - "clean": [ - "../../deploy/3rdparty/bootstrap" - ], - "copy": { - "script": { - "../../deploy/3rdparty/bootstrap/js/": "../../3rdparty/bootstrap/js/bootstrap.min.js" - }, - "css": { - "../../deploy/3rdparty/bootstrap/css/": "../../3rdparty/bootstrap/css/bootstrap.min.css" - }, - "images": { - "../../deploy/3rdparty/bootstrap/img/": "../../3rdparty/bootstrap/img/*" - } - } - }, - "jquery": { - "clean": [ - "../../deploy/3rdparty/jquery" - ], - "copy": { - "script": { - "../../deploy/3rdparty/jquery/": [ - "../../3rdparty/jquery/jquery-1.7.1.min.js", - "../../3rdparty/jquery/jquery-1.8.1.min.js" - ], - "../../deploy/3rdparty/jquery/mousewheel/": "../../3rdparty/jquery/mousewheel/jquery.mousewheel.js", - "../../deploy/3rdparty/jquery/jscrollpane/": "../../3rdparty/jquery/jscrollpane/jquery.jscrollpane.min.js" - } - } - }, - "sockjs": { - "clean": [ - "../../deploy/3rdparty/sockjs" - ], - "copy": { - "script": { - "../../deploy/3rdparty/sockjs/": "../../3rdparty/sockjs/sockjs-0.3.min.js" - } - } - }, - "xregexp": { - "clean": [ - "../../deploy/3rdparty/xregexp" - ], - "copy": { - "script": { - "../../deploy/3rdparty/xregexp/": "../../3rdparty/xregexp/xregexp-all-min.js" - } - } - }, - "underscore": { - "clean": [ - "../../deploy/3rdparty/underscore" - ], - "copy": { - "script": { - "../../deploy/3rdparty/underscore/": "../../3rdparty/underscore/underscore-min.js" - } - } - }, - "zeroclipboard": { - "clean": [ - "../../deploy/3rdparty/ZeroClipboard" - ], - "copy": { - "script": { - "../../deploy/3rdparty/ZeroClipboard/": [ - "../../3rdparty/ZeroClipboard/ZeroClipboard.min.js", - "../../3rdparty/ZeroClipboard/ZeroClipboard*.swf" - ] - } - } - }, - "obf": { - "api": "../../deploy/sdk/Excel/sdk-all.js", - "pat": "asc_\\w+", - "keys": "-exp se -use-for-name", - "apply": [ - "../../deploy/sdk/Excel/sdk-all.js", - "../../deploy/apps/spreadsheeteditor/main/app-edit.js", - "../../deploy/apps/spreadsheeteditor/main/app-view.js", - "../../deploy/apps/spreadsheeteditor/mobile/app-all.js", - "../../deploy/apps/spreadsheeteditor/embed/app-all.js" - ] - }, - "tasks": { - "deploy": "increment-build deploy-api deploy-sdk deploy-3rdparty-bootstrap deploy-3rdparty-extjs deploy-3rdparty-jquery deploy-3rdparty-sockjs deploy-3rdparty-xregexp deploy-3rdparty-underscore deploy-3rdparty-zeroclipboard deploy-app-main deploy-app-mobile deploy-app-embed" - } -} \ No newline at end of file diff --git a/build/deploy/testserver.json b/build/deploy/testserver.json deleted file mode 100644 index 351c165ab..000000000 --- a/build/deploy/testserver.json +++ /dev/null @@ -1,128 +0,0 @@ -{ - "version": { - "major": 1, - "minor": 309 - }, - "src": "../../deploy", - "dst": "../../deploy-to-testserver", - "path": { - "pattern": [ - "locale/", - "resources/img/" - ], - "base_path": "<%= pkg.dst %>", - "src_path": [ - "apps/documenteditor/embed/app-all.js", - "apps/documenteditor/main/app-edit.js", - "apps/documenteditor/main/app-view.js", - "apps/documenteditor/mobile/app-all.js", - "apps/spreadsheeteditor/embed/app-all.js", - "apps/spreadsheeteditor/main/app-edit.js", - "apps/spreadsheeteditor/main/app-view.js", - "apps/spreadsheeteditor/mobile/app-all.js", - "apps/presentationeditor/embed/app-all.js", - "apps/presentationeditor/main/app-edit.js", - "apps/presentationeditor/main/app-view.js", - "apps/presentationeditor/mobile/app-all.js" - ] - }, - "replace": { - "url": { - "options": { - "variables": { - "../../../": "http://testserver/OfficeWeb/" - }, - "prefix": "" - }, - "files": [ - { - "<%= pkg.dst %>/apps/api/documents/cache-scripts.html": "<%= pkg.dst %>/apps/api/documents/cache-scripts.html" - }, - { - "<%= pkg.dst %>/apps/documenteditor/embed/index.html": "<%= pkg.dst %>/apps/documenteditor/embed/index.html" - }, - { - "<%= pkg.dst %>/apps/documenteditor/embed/app-all.js": "<%= pkg.dst %>/apps/documenteditor/embed/app-all.js" - }, - { - "<%= pkg.dst %>/apps/documenteditor/main/index.html": "<%= pkg.dst %>/apps/documenteditor/main/index.html" - }, - { - "<%= pkg.dst %>/apps/documenteditor/main/app-edit.js": "<%= pkg.dst %>/apps/documenteditor/main/app-edit.js" - }, - { - "<%= pkg.dst %>/apps/documenteditor/main/app-view.js": "<%= pkg.dst %>/apps/documenteditor/main/app-view.js" - }, - { - "<%= pkg.dst %>/apps/documenteditor/mobile/index.html": "<%= pkg.dst %>/apps/documenteditor/mobile/index.html" - }, - { - "<%= pkg.dst %>/apps/documenteditor/mobile/app-all.js": "<%= pkg.dst %>/apps/documenteditor/mobile/app-all.js" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/embed/index.html": "<%= pkg.dst %>/apps/spreadsheeteditor/embed/index.html" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/embed/app-all.js": "<%= pkg.dst %>/apps/spreadsheeteditor/embed/app-all.js" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/main/index.html": "<%= pkg.dst %>/apps/spreadsheeteditor/main/index.html" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/main/app-edit.js": "<%= pkg.dst %>/apps/spreadsheeteditor/main/app-edit.js" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/main/app-view.js": "<%= pkg.dst %>/apps/spreadsheeteditor/main/app-view.js" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/mobile/index.html": "<%= pkg.dst %>/apps/spreadsheeteditor/mobile/index.html" - }, - { - "<%= pkg.dst %>/apps/spreadsheeteditor/mobile/app-all.js": "<%= pkg.dst %>/apps/spreadsheeteditor/mobile/app-all.js" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/embed/index.html": "<%= pkg.dst %>/apps/presentationeditor/embed/index.html" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/embed/app-all.js": "<%= pkg.dst %>/apps/presentationeditor/embed/app-all.js" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/main/index.html": "<%= pkg.dst %>/apps/presentationeditor/main/index.html" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/main/app-edit.js": "<%= pkg.dst %>/apps/presentationeditor/main/app-edit.js" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/main/app-view.js": "<%= pkg.dst %>/apps/presentationeditor/main/app-view.js" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/mobile/index.html": "<%= pkg.dst %>/apps/presentationeditor/mobile/index.html" - }, - { - "<%= pkg.dst %>/apps/presentationeditor/mobile/app-all.js": "<%= pkg.dst %>/apps/presentationeditor/mobile/app-all.js" - } - ] - }, - "use_embebbed_fonts": { - "options": { - "variables": { - "ASC_DOCS_API_USE_EMBEDDED_FONTS": "true" - } - }, - "files": [ - { - "<%= pkg.dst %>/sdk/Word/sdk-all.js": "<%= pkg.dst %>/sdk/Word/sdk-all.js" - }, - { - "<%= pkg.dst %>/sdk/Excel/sdk-all.js": "<%= pkg.dst %>/sdk/Excel/sdk-all.js" - }, - { - "<%= pkg.dst %>/sdk/PowerPoint/sdk-all.js": "<%= pkg.dst %>/sdk/PowerPoint/sdk-all.js" - } - ] - } - }, - "tasks": { - "deploy": "increment-deploy-version deploy-configure-all" - } -} \ No newline at end of file diff --git a/build/opensource/documenteditor.json b/build/opensource/documenteditor.json deleted file mode 100644 index da1c556fa..000000000 --- a/build/opensource/documenteditor.json +++ /dev/null @@ -1,392 +0,0 @@ -{ - "version": "1.0", - "build": 0, - "homepage": "http://www.teamlab.com", - "sdk": { - "clean": [ - "../../deploy/sdk/Common", - "../../deploy/sdk/Word" - ], - "copy": { - "../../deploy/sdk/Common/": "../../sdk/Common/AllFonts.js", - "../../deploy/sdk/Word/": "../../sdk/Word/sdk-all.js" - } - }, - "api": { - "clean": [ - "../../deploy/apps/api" - ], - "copy": { - "../../deploy/apps/api/documents/": "../../apps/api/**" - } - }, - "main": { - "clean": [ - "../../deploy/apps/documenteditor/main" - ], - "js": { - "srcview": [ - "../../apps/common/Gateway.js", - "../../apps/common/Analytics.js", - "../../apps/common/IrregularStack.js", - "../../apps/common/main/loader.js", - "../../apps/common/main/lib/plugin/ScrollPane.js", - "../../apps/common/main/lib/plugin/DataViewScrollPane.js", - "../../apps/common/main/lib/plugin/TextAreaAutoHeight.js", - "../../apps/common/main/lib/plugin/MenuExpand.js", - "../../apps/common/main/lib/component/LoadMask.js", - "../../apps/common/main/lib/component/SplitColorButton.js", - "../../apps/common/main/lib/component/MetricSpinner.js", - "../../apps/common/main/lib/component/IndeterminateCheckBox.js", - "../../apps/common/main/lib/component/SearchField.js", - "../../apps/common/main/lib/component/util/LanguageName.js", - "../../apps/common/main/lib/component/util/MetricSettings.js", - "../../apps/common/main/lib/view/About.js", - "../../apps/common/main/lib/view/Header.js", - "../../apps/common/main/lib/view/DocumentAccessDialog.js", - "../../apps/common/main/lib/view/SearchDialog.js", - "../../apps/common/main/lib/view/ComboFonts.js", - "../../apps/common/main/lib/model/Font.js", - "../../apps/common/main/lib/store/Fonts.js", - "../../apps/common/main/lib/controller/Fonts.js", - "../../apps/documenteditor/main/app/view/ChromeRecommendation.js", - "../../apps/documenteditor/main/app/view/DocumentHelp.js", - "../../apps/documenteditor/main/app/view/DocumentInfo.js", - "../../apps/documenteditor/main/app/view/DocumentSettings.js", - "../../apps/documenteditor/main/app/view/File.js", - "../../apps/documenteditor/main/app/view/CreateFile.js", - "../../apps/documenteditor/main/app/view/RecentFiles.js", - "../../apps/documenteditor/main/app/view/DocumentStatusInfo.js", - "../../apps/documenteditor/main/app/view/DocumentHolder.js", - "../../apps/documenteditor/main/app/view/MainMenu.js", - "../../apps/documenteditor/main/app/view/Viewport.js", - "../../apps/documenteditor/main/app/model/FileTemplate.js", - "../../apps/documenteditor/main/app/model/RecentFile.js", - "../../apps/documenteditor/main/app/store/FileTemplates.js", - "../../apps/documenteditor/main/app/store/RecentFiles.js", - "../../apps/documenteditor/main/app/controller/CreateFile.js", - "../../apps/documenteditor/main/app/controller/RecentFiles.js", - "../../apps/documenteditor/main/app/controller/Search.js", - "../../apps/documenteditor/main/app/controller/DocumentHolder.js", - "../../apps/documenteditor/main/app/controller/Main.js", - "../../apps/common/locale.js", - "../../apps/documenteditor/main/app.js", - "../../apps/documenteditor/main/restrictions.js", - "../../apps/documenteditor/main/environment.js.deploy" - ], - "destview": "../../deploy/apps/documenteditor/main/app-view.js", - "srcedit": [ - "../../apps/common/main/lib/plugin/GridScrollPane.js", - "../../apps/common/main/lib/plugin/ComboBoxScrollPane.js", - "../../apps/common/main/lib/component/util/RGBColor.js", - "../../apps/common/main/lib/component/HSBColorPicker.js", - "../../apps/common/main/lib/view/ExtendedColorDialog.js", - "../../apps/common/main/lib/component/DataViewPicker.js", - "../../apps/common/main/lib/component/MenuDataViewPicker.js", - "../../apps/common/main/lib/component/ThemeColorPalette.js", - "../../apps/common/main/lib/component/MultiSliderGradient.js", - "../../apps/common/main/lib/component/ComboDataView.js", - "../../apps/common/main/lib/view/ImageFromUrlDialog.js", - "../../apps/common/main/lib/view/CopyWarning.js", - "../../apps/common/main/lib/view/AbstractSettingsPanel.js", - "../../apps/common/main/lib/model/Group.js", - "../../apps/common/main/lib/model/GroupItem.js", - "../../apps/common/main/lib/component/GroupedDataView.js", - "../../apps/documenteditor/main/app/model/ShapeGroup.js", - "../../apps/documenteditor/main/app/store/ShapeGroups.js", - "../../apps/documenteditor/main/app/component/CellStyler.js", - "../../apps/documenteditor/main/app/component/TableStyler.js", - "../../apps/documenteditor/main/app/component/ComboDropFonts.js", - "../../apps/documenteditor/main/app/component/DimensionPicker.js", - "../../apps/documenteditor/main/app/component/MenuDimensionPicker.js", - "../../apps/documenteditor/main/app/view/DocumentLanguage.js", - "../../apps/documenteditor/main/app/view/InsertTableDialog.js", - "../../apps/documenteditor/main/app/view/HyperlinkSettingsDialog.js", - "../../apps/documenteditor/main/app/view/ShapeSettingsAdvancedCnt.js", - "../../apps/documenteditor/main/app/view/ImageSettingsAdvanced.js", - "../../apps/documenteditor/main/app/view/TableSettingsAdvanced.js", - "../../apps/documenteditor/main/app/view/ParagraphSettingsAdvanced.js", - "../../apps/documenteditor/main/app/view/DropcapSettingsAdvanced.js", - "../../apps/documenteditor/main/app/view/ImageSettings.js", - "../../apps/documenteditor/main/app/view/HeaderFooterSettings.js", - "../../apps/documenteditor/main/app/view/ParagraphSettings.js", - "../../apps/documenteditor/main/app/view/TableSettings.js", - "../../apps/documenteditor/main/app/view/ShapeSettings.js", - "../../apps/documenteditor/main/app/view/RightPanel.js", - "../../apps/documenteditor/main/app/view/RightMenu.js", - "../../apps/documenteditor/main/app/view/Toolbar.js", - "../../apps/documenteditor/main/app/controller/Toolbar.js" - ], - "destedit": "../../deploy/apps/documenteditor/main/app-edit.js" - }, - "css": { - "srcedit": [ - "../../apps/common/main/resources/css/dataview-picker.css", - "../../apps/common/main/resources/css/hsb-colorpicker.css", - "../../apps/common/main/resources/css/themecolorpalette.css", - "../../apps/common/main/resources/css/grouped-data-view.css", - "../../apps/common/main/resources/css/multislider-gradient.css", - "../../apps/common/main/resources/css/dataview-combo.css", - "../../apps/documenteditor/main/resources/css/right-panels.css", - "../../apps/documenteditor/main/resources/css/toolbar.css", - "../../apps/documenteditor/main/resources/css/dimension-picker.css", - "../../apps/documenteditor/main/resources/css/table-border-styler.css", - "../../apps/documenteditor/main/resources/css/advanced-settings-dialog.css" - ], - "destedit": "../../deploy/apps/documenteditor/main/resources/css/app-edit.css", - "srcview": [ - "../../apps/common/main/resources/css/load-mask.css", - "../../apps/common/main/resources/css/jquery.jscrollpane.css", - "../../apps/common/main/resources/css/header.css", - "../../apps/common/main/resources/css/asc.css", - "../../apps/common/main/resources/css/about.css", - "../../apps/common/main/resources/css/searchfield.css", - "../../apps/common/main/resources/css/searchdialog.css", - "../../apps/documenteditor/main/resources/css/de-main-colors.css", - "../../apps/documenteditor/main/resources/css/header.css", - "../../apps/documenteditor/main/resources/css/document-holder.css", - "../../apps/documenteditor/main/resources/css/document-statusinfo.css", - "../../apps/documenteditor/main/resources/css/main-menu.css", - "../../apps/documenteditor/main/resources/css/file.css", - "../../apps/documenteditor/main/resources/css/file-create-new.css", - "../../apps/documenteditor/main/resources/css/file-open-recent.css" - ], - "destview": "../../deploy/apps/documenteditor/main/resources/css/app-view.css" - }, - "copy": { - "localization": { - "../../deploy/apps/documenteditor/main/locale/": "../../apps/documenteditor/main/locale/*" - }, - "help": { - "../../deploy/apps/documenteditor/main/resources/help/en/": "../../apps/documenteditor/main/resources/help/en/**", - "../../deploy/apps/documenteditor/main/resources/help/de/": "../../apps/documenteditor/main/resources/help/de/**", - "../../deploy/apps/documenteditor/main/resources/help/es/": "../../apps/documenteditor/main/resources/help/es/**", - "../../deploy/apps/documenteditor/main/resources/help/fr/": "../../apps/documenteditor/main/resources/help/fr/**", - "../../deploy/apps/documenteditor/main/resources/help/it/": "../../apps/documenteditor/main/resources/help/it/**", - "../../deploy/apps/documenteditor/main/resources/help/ru/": "../../apps/documenteditor/main/resources/help/ru/**" - }, - "index-page": { - "../../deploy/apps/documenteditor/main/index.html": "../../apps/documenteditor/main/index.html.deploy" - }, - "images-app": { - "../../deploy/apps/documenteditor/main/resources/img/": "../../apps/documenteditor/main/resources/img/**" - }, - "images-common": { - "../../deploy/apps/documenteditor/main/Images/": "../../sdk/Word/Images/*.cur", - "../../deploy/apps/documenteditor/main/resources/img/": "../../apps/common/main/resources/img/**" - } - } - }, - "mobile": { - "clean": [ - "../../deploy/apps/documenteditor/mobile" - ], - "js": { - "src": [ - "../../apps/common/Gateway.js", - "../../apps/common/Analytics.js", - "../../apps/common/mobile/loader.js", - "../../apps/common/mobile/lib/component/PlanarSpinner.js", - "../../apps/common/mobile/lib/component/RepeatableButton.js", - "../../apps/common/mobile/lib/component/SettingsList.js", - "../../apps/common/mobile/lib/model/SettingItem.js", - "../../apps/common/mobile/lib/store/SettingsList.js", - "../../apps/common/mobile/lib/view/PopoverPanel.js", - "../../apps/common/mobile/lib/view/PopClip.js", - "../../apps/common/mobile/lib/controller/PopClip.js", - "../../apps/documenteditor/mobile/app/plugin/Pinchemu.js", - "../../apps/documenteditor/mobile/app/view/Main.js", - "../../apps/documenteditor/mobile/app/view/phone/toolbar/Search.js", - "../../apps/documenteditor/mobile/app/view/phone/toolbar/View.js", - "../../apps/documenteditor/mobile/app/view/phone/Main.js", - "../../apps/documenteditor/mobile/app/view/tablet/panel/Font.js", - "../../apps/documenteditor/mobile/app/view/tablet/panel/FontStyle.js", - "../../apps/documenteditor/mobile/app/view/tablet/panel/Insert.js", - "../../apps/documenteditor/mobile/app/view/tablet/panel/ListStyle.js", - "../../apps/documenteditor/mobile/app/view/tablet/panel/ParagraphAlignment.js", - "../../apps/documenteditor/mobile/app/view/tablet/panel/Spacing.js", - "../../apps/documenteditor/mobile/app/view/tablet/panel/TextColor.js", - "../../apps/documenteditor/mobile/app/view/tablet/toolbar/Edit.js", - "../../apps/documenteditor/mobile/app/view/tablet/toolbar/Search.js", - "../../apps/documenteditor/mobile/app/view/tablet/toolbar/View.js", - "../../apps/documenteditor/mobile/app/view/tablet/Main.js", - "../../apps/documenteditor/mobile/app/controller/Main.js", - "../../apps/documenteditor/mobile/app/controller/Document.js", - "../../apps/documenteditor/mobile/app/controller/Search.js", - "../../apps/documenteditor/mobile/app/controller/phone/Main.js", - "../../apps/documenteditor/mobile/app/controller/tablet/Main.js", - "../../apps/documenteditor/mobile/app/controller/tablet/panel/Font.js", - "../../apps/documenteditor/mobile/app/controller/tablet/panel/FontStyle.js", - "../../apps/documenteditor/mobile/app/controller/tablet/panel/Insert.js", - "../../apps/documenteditor/mobile/app/controller/tablet/panel/ParagraphAlignment.js", - "../../apps/documenteditor/mobile/app/controller/tablet/panel/Spacing.js", - "../../apps/documenteditor/mobile/app/controller/tablet/panel/Style.js", - "../../apps/documenteditor/mobile/app/controller/tablet/panel/TextColor.js", - "../../apps/documenteditor/mobile/app/controller/toolbar/Edit.js", - "../../apps/documenteditor/mobile/app/controller/toolbar/View.js", - "../../apps/documenteditor/mobile/app/profile/Phone.js", - "../../apps/documenteditor/mobile/app/profile/Tablet.js", - "../../apps/common/locale.js", - "../../apps/documenteditor/mobile/app.js" - ], - "dist": "../../deploy/apps/documenteditor/mobile/app-all.js" - }, - "css": { - "normal": { - "src": [ - "../../apps/documenteditor/mobile/resources/css/application-normal.css" - ], - "dist": "../../deploy/apps/documenteditor/mobile/resources/css/application-normal.css" - }, - "retina": { - "src": [ - "../../apps/documenteditor/mobile/resources/css/application-retina.css" - ], - "dist": "../../deploy/apps/documenteditor/mobile/resources/css/application-retina.css" - } - }, - "copy": { - "index-page": { - "../../deploy/apps/documenteditor/mobile/index.html": "../../apps/documenteditor/mobile/index.html.deploy" - }, - "localization": { - "../../deploy/apps/documenteditor/mobile/locale/": "../../apps/documenteditor/mobile/locale/*" - }, - "images-app": { - "../../deploy/apps/documenteditor/mobile/resources/img/": "../../apps/documenteditor/mobile/resources/img/**" - } - } - }, - "embed": { - "clean": [ - "../../deploy/apps/documenteditor/embed" - ], - "js": { - "src": [ - "../../apps/common/Gateway.js", - "../../apps/common/Analytics.js", - "../../apps/documenteditor/embed/js/ApplicationView.js", - "../../apps/documenteditor/embed/js/ApplicationController.js", - "../../apps/documenteditor/embed/js/application.js" - ], - "dist": "../../deploy/apps/documenteditor/embed/app-all.js" - }, - "css": { - "src": [ - "../../apps/documenteditor/embed/resources/css/application.css" - ], - "dist": "../../deploy/apps/documenteditor/embed/resources/css/app-all.css" - }, - "copy": { - "index-page": { - "../../deploy/apps/documenteditor/embed/index.html": "../../apps/documenteditor/embed/index.html.deploy" - }, - "images-app": { - "../../deploy/apps/documenteditor/embed/resources/img/": "../../apps/documenteditor/embed/resources/img/**" - } - } - }, - "extjs": { - "clean": [ - "../../deploy/3rdparty/extjs" - ], - "copy": { - "script": { - "../../deploy/3rdparty/extjs/": "../../3rdparty/extjs/ext-all.js" - }, - "css": { - "../../deploy/3rdparty/extjs/resources/css/": "../../3rdparty/extjs/resources/css/ext-all.css" - }, - "images": { - "../../deploy/3rdparty/extjs/resources/themes/images/default/": "../../3rdparty/extjs/resources/themes/images/default/**" - } - } - }, - "bootstrap": { - "clean": [ - "../../deploy/3rdparty/bootstrap" - ], - "copy": { - "script": { - "../../deploy/3rdparty/bootstrap/js/": "../../3rdparty/bootstrap/js/bootstrap.min.js" - }, - "css": { - "../../deploy/3rdparty/bootstrap/css/": "../../3rdparty/bootstrap/css/bootstrap.min.css" - }, - "images": { - "../../deploy/3rdparty/bootstrap/img/": "../../3rdparty/bootstrap/img/*" - } - } - }, - "jquery": { - "clean": [ - "../../deploy/3rdparty/jquery" - ], - "copy": { - "script": { - "../../deploy/3rdparty/jquery/": [ - "../../3rdparty/jquery/jquery-1.7.1.min.js", - "../../3rdparty/jquery/jquery-1.8.1.min.js" - ], - "../../deploy/3rdparty/jquery/mousewheel/": "../../3rdparty/jquery/mousewheel/jquery.mousewheel.js", - "../../deploy/3rdparty/jquery/jscrollpane/": "../../3rdparty/jquery/jscrollpane/jquery.jscrollpane.min.js" - } - } - }, - "megapixel": { - "clean": [ - "../../deploy/3rdparty/megapixel" - ], - "copy": { - "script": { - "../../deploy/3rdparty/megapixel/": "../../3rdparty/megapixel/megapix-image-min.js" - } - } - }, - "sockjs": { - "clean": [ - "../../deploy/3rdparty/sockjs" - ], - "copy": { - "script": { - "../../deploy/3rdparty/sockjs/": "../../3rdparty/sockjs/sockjs-0.3.min.js" - } - } - }, - "xregexp": { - "clean": [ - "../../deploy/3rdparty/xregexp" - ], - "copy": { - "script": { - "../../deploy/3rdparty/xregexp/": "../../3rdparty/xregexp/xregexp-all-min.js" - } - } - }, - "underscore": { - "clean": [ - "../../deploy/3rdparty/underscore" - ], - "copy": { - "script": { - "../../deploy/3rdparty/underscore/": "../../3rdparty/underscore/underscore-min.js" - } - } - }, - "zeroclipboard": { - "clean": [ - "../../deploy/3rdparty/ZeroClipboard" - ], - "copy": { - "script": { - "../../deploy/3rdparty/ZeroClipboard/": [ - "../../3rdparty/ZeroClipboard/ZeroClipboard.min.js", - "../../3rdparty/ZeroClipboard/ZeroClipboard*.swf" - ] - } - } - }, - "tasks": { - "deploy": "increment-build deploy-api deploy-sdk deploy-3rdparty-bootstrap deploy-3rdparty-extjs deploy-3rdparty-megapixel deploy-3rdparty-jquery deploy-3rdparty-sockjs deploy-3rdparty-xregexp deploy-3rdparty-underscore deploy-3rdparty-zeroclipboard deploy-app-main deploy-app-mobile deploy-app-embed" - } -} \ No newline at end of file diff --git a/build/opensource/grunt.js b/build/opensource/grunt.js deleted file mode 100644 index 132872b3a..000000000 --- a/build/opensource/grunt.js +++ /dev/null @@ -1,378 +0,0 @@ -module.exports = function(grunt) { - var defaultConfig, packageFile, deployConfig, deployFile; - - grunt.loadNpmTasks('grunt-contrib'); - - grunt.registerTask('sdk-init', function() { - grunt.initConfig({ - clean: packageFile['sdk']['clean'], - - copy: { - sdk: { - files: packageFile['sdk']['copy'] - } - } - }); - }); - - grunt.registerTask('api-init', function() { - grunt.initConfig({ - clean: packageFile['api']['clean'], - - copy: { - api: { - files: packageFile['api']['copy'] - } - } - }); - }); - - grunt.registerTask('bootstrap-init', function() { - grunt.initConfig({ - clean: packageFile['bootstrap']['clean'], - - copy: { - script: { - files: packageFile['bootstrap']["copy"]["script"] - }, - css: { - files: packageFile['bootstrap']["copy"]["css"] - }, - images: { - files: packageFile['bootstrap']["copy"]["images"] - } - } - }); - }); - - grunt.registerTask('extjs-init', function() { - grunt.initConfig({ - clean: packageFile['extjs']['clean'], - - copy: { - script: { - files: packageFile['extjs']["copy"]["script"] - }, - css: { - files: packageFile['extjs']["copy"]["css"] - }, - images: { - files: packageFile['extjs']["copy"]["images"] - } - } - }); - }); - - grunt.registerTask('megapixel-init', function() { - grunt.initConfig({ - clean: packageFile['megapixel']['clean'], - - copy: { - script: { - files: packageFile['megapixel']["copy"]["script"] - } - } - }); - }); - - grunt.registerTask('jquery-init', function() { - grunt.initConfig({ - clean: packageFile['jquery']['clean'], - - copy: { - scripts: { - files: packageFile['jquery']["copy"]["script"] - } - } - }); - }); - - grunt.registerTask('sockjs-init', function() { - grunt.initConfig({ - clean: packageFile['sockjs']['clean'], - - copy: { - script: { - files: packageFile['sockjs']["copy"]["script"] - } - } - }); - }); - - grunt.registerTask('xregexp-init', function() { - grunt.initConfig({ - clean: packageFile['xregexp']['clean'], - - copy: { - script: { - files: packageFile['xregexp']["copy"]["script"] - } - } - }); - }); - - grunt.registerTask('underscore-init', function() { - grunt.initConfig({ - clean: packageFile['underscore']['clean'], - - copy: { - script: { - files: packageFile['underscore']["copy"]["script"] - } - } - }); - }); - - grunt.registerTask('zeroclipboard-init', function() { - grunt.initConfig({ - clean: packageFile['zeroclipboard']['clean'], - - copy: { - script: { - files: packageFile['zeroclipboard']["copy"]["script"] - } - } - }); - }); - - grunt.registerTask('main-app-init', function() { - grunt.initConfig({ - pkg: '', - - clean: packageFile['main']['clean'], - - meta: { - banner: '/*\n' + - ' * (c) Copyright Ascensio System SIA 2010-<%= grunt.template.today("yyyy") %>\n' + - ' *\n' + - ' * This program is freeware. You can redistribute it and/or modify it under the\n' + - ' * terms of the GNU Affero General Public License (AGPL) version 3 as published\n' + - ' * by the Free Software Foundation. In accordance with Section 7(a) of the GNU\n' + - ' * AGPL its Section 15 shall be amended to the effect that Ascensio System SIA\n' + - ' * expressly excludes the warranty of non-infringement of any third-party\n' + - ' * rights.\n' + - ' *\n' + - ' * This program is distributed WITHOUT ANY WARRANTY; without even the implied\n' + - ' * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For \n' + - ' * details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html\n' + - ' *\n' + - ' * You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,\n' + - ' * EU, LV-1021. Email: server@teamlab.com For information about other Ascensio\n' + - ' * System SIA products and services, please, consult <%= pkg.homepage %>.\n' + - ' *\n' + - ' * The interactive user interfaces in modified source and object code versions \n' + - ' * of TeamLab Office must display Appropriate Legal Notices, as required under\n' + - ' * Section 5 of the GNU AGPL version 3.\n' + - ' *\n' + - ' * Pursuant to Article 7 §3(b) of the License you must retain the original\n' + - ' * TeamLab logo when distributing the program. If the display of the logo in\n' + - ' * its graphic form is not reasonably feasible for technical reasons, you must\n' + - ' * include the words "Powered by TeamLab" in every copy of the program you\n' + - ' * distribute. Pursuant to Article 7 §3(e) we decline to grant you any rights\n' + - ' * under trademark law for use of our trademarks.\n' + - ' *\n' + - ' * Version: <%= pkg.version %> (build:<%= pkg.build %>)\n' + - ' */' - }, - - min: { - scriptsview: { - src: [''].concat(packageFile['main']["js"]['srcview']), - dest: packageFile['main']["js"]['destview'] - }, - scriptsedit: { - src: [''].concat(packageFile['main']["js"]['srcedit']), - dest: packageFile['main']["js"]['destedit'] - } - }, - - mincss: { - styles: { - files: { - "<%= pkg.main.css.destview %>" : packageFile['main']["css"]['srcview'] - ,"<%= pkg.main.css.destedit %>" : packageFile['main']["css"]['srcedit'] - } - } - }, - - copy: { - localization: { - files: packageFile['main']['copy']["localization"] - }, - help: { - files: packageFile['main']['copy']["help"] - }, - 'index-page': { - files: packageFile['main']['copy']["index-page"] - }, - 'images-app': { - files: packageFile['main']['copy']["images-app"] - }, - 'images-common': { - files: packageFile['main']['copy']["images-common"] - } - } - }); - }); - - grunt.registerTask('mobile-app-init', function() { - grunt.initConfig({ - pkg: '', - - clean: packageFile['mobile']['clean'], - - meta: { - banner: '/*\n' + - ' * Copyright (c) Ascensio System SIA <%= grunt.template.today("yyyy") %>. All rights reserved\n' + - ' *\n' + - ' * <%= pkg.homepage %>\n' + - ' *\n' + - ' * Version: <%= pkg.version %> (build:<%= pkg.build %>)\n' + - ' */' - }, - - min: { - scrips: { - src: [''].concat(packageFile['mobile']["js"]['src']), - dest: packageFile['mobile']["js"]['dist'] - } - }, - - mincss: { - styles: { - files: { - "<%= pkg.mobile.css.normal.dist %>" : packageFile['mobile']["css"]['normal']['src'], - "<%= pkg.mobile.css.retina.dist %>" : packageFile['mobile']["css"]['retina']['src'] - } - } - }, - - copy: { - localization: { - files: packageFile['mobile']['copy']["localization"] - }, - 'index-page': { - files: packageFile['mobile']['copy']["index-page"] - }, - 'images-app': { - files: packageFile['mobile']['copy']["images-app"] - } - } - }); - }); - - grunt.registerTask('embed-app-init', function() { - grunt.initConfig({ - pkg: '', - - clean: packageFile['embed']['clean'], - - meta: { - banner: '/*\n' + - ' * Copyright (c) Ascensio System SIA <%= grunt.template.today("yyyy") %>. All rights reserved\n' + - ' *\n' + - ' * <%= pkg.homepage %>\n' + - ' *\n' + - ' * Version: <%= pkg.version %> (build:<%= pkg.build %>)\n' + - ' */' - }, - - min: { - scrips: { - src: [''].concat(packageFile['embed']["js"]['src']), - dest: packageFile['embed']["js"]['dist'] - } - }, - - mincss: { - styles: { - files: { - "<%= pkg.embed.css.dist %>" : packageFile['embed']["css"]['src'] - } - } - }, - - copy: { - 'index-page': { - files: packageFile['embed']['copy']["index-page"] - }, - 'images-app': { - files: packageFile['embed']['copy']["images-app"] - } - } - }); - }); - - grunt.registerTask('increment-build', function() { - var pkg = grunt.file.readJSON(defaultConfig); - pkg.build = parseInt(pkg.build) + 1; - grunt.file.write(defaultConfig, JSON.stringify(pkg, null, 4)); - }); - - - - grunt.registerTask('deploy-api', 'api-init clean copy'); - grunt.registerTask('deploy-sdk', 'sdk-init clean copy'); - - grunt.registerTask('deploy-3rdparty-bootstrap', 'bootstrap-init clean copy'); - grunt.registerTask('deploy-3rdparty-extjs', 'extjs-init clean copy'); - grunt.registerTask('deploy-3rdparty-megapixel', 'megapixel-init clean copy'); - grunt.registerTask('deploy-3rdparty-jquery', 'jquery-init clean copy'); - grunt.registerTask('deploy-3rdparty-sockjs', 'sockjs-init clean copy'); - grunt.registerTask('deploy-3rdparty-xregexp', 'xregexp-init clean copy'); - grunt.registerTask('deploy-3rdparty-underscore', 'underscore-init clean copy'); - grunt.registerTask('deploy-3rdparty-zeroclipboard', 'zeroclipboard-init clean copy'); - - grunt.registerTask('deploy-app-main', 'main-app-init clean min mincss copy'); - grunt.registerTask('deploy-app-mobile', 'mobile-app-init clean min mincss copy'); - grunt.registerTask('deploy-app-embed', 'embed-app-init clean min mincss copy'); - - - - grunt.registerTask('init-build-documenteditor', 'Initialize build DocumentEditor.', function(){ - defaultConfig = 'documenteditor.json'; - packageFile = require('./' + defaultConfig); - - if (packageFile) - grunt.log.ok('DocumentEditor config loaded successfully'.green); - else - grunt.log.error().writeln('Could not load config file'.red); - }); - - grunt.registerTask('init-build-spreadsheeteditor', 'Initialize build SpreadsheetEditor.', function(){ - defaultConfig = 'spreadsheeteditor.json'; - packageFile = require('./' + defaultConfig); - - if (packageFile) - grunt.log.ok('SpreadsheetEditor config loaded successfully'.green); - else - grunt.log.error().writeln('Could not load config file'.red); - }); - - grunt.registerTask('init-build-presentationeditor', 'Initialize build PresentationEditor.', function(){ - defaultConfig = 'presentationeditor.json'; - packageFile = require('./' + defaultConfig); - - if (packageFile) - grunt.log.ok('PresentationEditor config loaded successfully'.green); - else - grunt.log.error().writeln('Could not load config file'.red); - }); - - grunt.registerTask('deploy-app', 'Deploy application.', function(){ - if (packageFile) { - if (packageFile['tasks']['deploy']) - grunt.task.run(packageFile['tasks']['deploy']); - else - grunt.log.error().writeln('Not found "deploy" task in configure'.red); - } else { - grunt.log.error().writeln('Is not load configure file.'.red); - } - }); - - grunt.registerTask('deploy-documenteditor', 'init-build-documenteditor deploy-app'); - grunt.registerTask('deploy-spreadsheeteditor', 'init-build-spreadsheeteditor deploy-app'); - grunt.registerTask('deploy-presentationeditor', 'init-build-presentationeditor deploy-app'); - - grunt.registerTask('default', 'deploy-documenteditor deploy-spreadsheeteditor deploy-presentationeditor'); -}; \ No newline at end of file diff --git a/build/opensource/installtools.bat b/build/opensource/installtools.bat deleted file mode 100644 index 2480e0ae8..000000000 --- a/build/opensource/installtools.bat +++ /dev/null @@ -1,8 +0,0 @@ -@echo off - -echo Installation grunt and grunt-contrib -call npm install -g grunt@0.3.17 -call npm install grunt-contrib@0.3.0 -call npm install grunt-closure-tools@0.6.12 -call npm install grunt-exec@0.3.0 -call npm install grunt-replace@0.3.2 \ No newline at end of file diff --git a/build/opensource/presentationeditor.json b/build/opensource/presentationeditor.json deleted file mode 100644 index 14f76c1ed..000000000 --- a/build/opensource/presentationeditor.json +++ /dev/null @@ -1,353 +0,0 @@ -{ - "version": "1.0", - "build": 0, - "homepage": "http://www.teamlab.com", - "sdk": { - "clean": [ - "../../deploy/sdk/Common", - "../../deploy/sdk/PowerPoint" - ], - "copy": { - "../../deploy/sdk/Common/": "../../sdk/Common/AllFonts.js", - "../../deploy/sdk/PowerPoint/themes/": "../../sdk/PowerPoint/themes/**", - "../../deploy/sdk/PowerPoint/": [ - "../../sdk/PowerPoint/sdk-all.js" - ] - } - }, - "api": { - "clean": [ - "../../deploy/apps/api" - ], - "copy": { - "../../deploy/apps/api/documents/": "../../apps/api/**" - } - }, - "main": { - "clean": [ - "../../deploy/apps/presentationeditor/main" - ], - "js": { - "srcview": [ - "../../apps/common/Gateway.js", - "../../apps/common/Analytics.js", - "../../apps/common/IrregularStack.js", - "../../apps/common/main/loader.js", - "../../apps/common/main/lib/plugin/ScrollPane.js", - "../../apps/common/main/lib/plugin/DataViewScrollPane.js", - "../../apps/common/main/lib/plugin/TextAreaAutoHeight.js", - "../../apps/common/main/lib/plugin/MenuExpand.js", - "../../apps/common/main/lib/component/LoadMask.js", - "../../apps/common/main/lib/component/SplitColorButton.js", - "../../apps/common/main/lib/component/MetricSpinner.js", - "../../apps/common/main/lib/component/IndeterminateCheckBox.js", - "../../apps/common/main/lib/component/SearchField.js", - "../../apps/common/main/lib/component/util/MetricSettings.js", - "../../apps/common/main/lib/view/About.js", - "../../apps/common/main/lib/view/Header.js", - "../../apps/common/main/lib/view/DocumentAccessDialog.js", - "../../apps/common/main/lib/view/SearchDialog.js", - "../../apps/common/main/lib/view/ComboFonts.js", - "../../apps/common/main/lib/model/Font.js", - "../../apps/common/main/lib/store/Fonts.js", - "../../apps/common/main/lib/controller/Fonts.js", - "../../apps/presentationeditor/main/app/view/DocumentHelp.js", - "../../apps/presentationeditor/main/app/view/DocumentInfo.js", - "../../apps/presentationeditor/main/app/view/DocumentSettings.js", - "../../apps/presentationeditor/main/app/view/File.js", - "../../apps/presentationeditor/main/app/view/CreateFile.js", - "../../apps/presentationeditor/main/app/view/RecentFiles.js", - "../../apps/presentationeditor/main/app/view/DocumentStatusInfo.js", - "../../apps/presentationeditor/main/app/view/DocumentHolder.js", - "../../apps/presentationeditor/main/app/view/DocumentPreview.js", - "../../apps/presentationeditor/main/app/view/MainMenu.js", - "../../apps/presentationeditor/main/app/view/Viewport.js", - "../../apps/presentationeditor/main/app/model/FileTemplate.js", - "../../apps/presentationeditor/main/app/model/RecentFile.js", - "../../apps/presentationeditor/main/app/store/FileTemplates.js", - "../../apps/presentationeditor/main/app/store/RecentFiles.js", - "../../apps/presentationeditor/main/app/controller/CreateFile.js", - "../../apps/presentationeditor/main/app/controller/RecentFiles.js", - "../../apps/presentationeditor/main/app/controller/Search.js", - "../../apps/presentationeditor/main/app/controller/DocumentHolder.js", - "../../apps/presentationeditor/main/app/controller/Main.js", - "../../apps/common/locale.js", - "../../apps/presentationeditor/main/app.js", - "../../apps/presentationeditor/main/restrictions.js", - "../../apps/presentationeditor/main/environment.js.deploy" - ], - "destview": "../../deploy/apps/presentationeditor/main/app-view.js", - "srcedit": [ - "../../apps/common/main/lib/plugin/GridScrollPane.js", - "../../apps/common/main/lib/plugin/ComboBoxScrollPane.js", - "../../apps/common/main/lib/component/util/RGBColor.js", - "../../apps/common/main/lib/component/DataViewPicker.js", - "../../apps/common/main/lib/component/MenuDataViewPicker.js", - "../../apps/common/main/lib/component/HSBColorPicker.js", - "../../apps/common/main/lib/component/MultiSliderGradient.js", - "../../apps/common/main/lib/component/ComboDataView.js", - "../../apps/common/main/lib/view/ExtendedColorDialog.js", - "../../apps/common/main/lib/view/ImageFromUrlDialog.js", - "../../apps/common/main/lib/view/CopyWarning.js", - "../../apps/common/main/lib/view/AbstractSettingsPanel.js", - "../../apps/common/main/lib/component/ThemeColorPalette.js", - "../../apps/common/main/lib/model/Group.js", - "../../apps/common/main/lib/model/GroupItem.js", - "../../apps/common/main/lib/component/GroupedDataView.js", - "../../apps/presentationeditor/main/app/model/ShapeGroup.js", - "../../apps/presentationeditor/main/app/model/SlideLayout.js", - "../../apps/presentationeditor/main/app/store/ShapeGroups.js", - "../../apps/presentationeditor/main/app/store/SlideLayouts.js", - "../../apps/presentationeditor/main/app/component/DimensionPicker.js", - "../../apps/presentationeditor/main/app/component/MenuDimensionPicker.js", - "../../apps/presentationeditor/main/app/view/InsertTableDialog.js", - "../../apps/presentationeditor/main/app/view/HyperlinkSettings.js", - "../../apps/presentationeditor/main/app/view/ImageSettingsAdvanced.js", - "../../apps/presentationeditor/main/app/view/ShapeSettingsAdvanced.js", - "../../apps/presentationeditor/main/app/view/TableSettingsAdvanced.js", - "../../apps/presentationeditor/main/app/view/ParagraphSettingsAdvanced.js", - "../../apps/presentationeditor/main/app/view/ImageSettings.js", - "../../apps/presentationeditor/main/app/view/ShapeSettings.js", - "../../apps/presentationeditor/main/app/view/SlideSettings.js", - "../../apps/presentationeditor/main/app/view/ParagraphSettings.js", - "../../apps/presentationeditor/main/app/view/SlideSizeSettings.js", - "../../apps/presentationeditor/main/app/view/TableSettings.js", - "../../apps/presentationeditor/main/app/view/RightPanel.js", - "../../apps/presentationeditor/main/app/view/RightMenu.js", - "../../apps/presentationeditor/main/app/view/Toolbar.js", - "../../apps/presentationeditor/main/app/controller/Toolbar.js" - ], - "destedit": "../../deploy/apps/presentationeditor/main/app-edit.js" - }, - "css": { - "srcedit": [ - "../../apps/common/main/resources/css/dataview-picker.css", - "../../apps/common/main/resources/css/hsb-colorpicker.css", - "../../apps/common/main/resources/css/themecolorpalette.css", - "../../apps/common/main/resources/css/grouped-data-view.css", - "../../apps/common/main/resources/css/dataview-combo.css", - "../../apps/common/main/resources/css/multislider-gradient.css", - "../../apps/presentationeditor/main/resources/css/right-panels.css", - "../../apps/presentationeditor/main/resources/css/toolbar.css", - "../../apps/presentationeditor/main/resources/css/dimension-picker.css", - "../../apps/presentationeditor/main/resources/css/advanced-settings-dialog.css" - ], - "destedit": "../../deploy/apps/presentationeditor/main/resources/css/app-edit.css", - "srcview": [ - "../../apps/common/main/resources/css/load-mask.css", - "../../apps/common/main/resources/css/jquery.jscrollpane.css", - "../../apps/common/main/resources/css/header.css", - "../../apps/common/main/resources/css/asc.css", - "../../apps/common/main/resources/css/about.css", - "../../apps/common/main/resources/css/searchfield.css", - "../../apps/common/main/resources/css/searchdialog.css", - "../../apps/presentationeditor/main/resources/css/pres-main-colors.css", - "../../apps/presentationeditor/main/resources/css/header.css", - "../../apps/presentationeditor/main/resources/css/document-holder.css", - "../../apps/presentationeditor/main/resources/css/document-statusinfo.css", - "../../apps/presentationeditor/main/resources/css/document-preview.css", - "../../apps/presentationeditor/main/resources/css/main-menu.css", - "../../apps/presentationeditor/main/resources/css/file.css", - "../../apps/presentationeditor/main/resources/css/file-create-new.css", - "../../apps/presentationeditor/main/resources/css/file-open-recent.css" - ], - "destview": "../../deploy/apps/presentationeditor/main/resources/css/app-view.css" - }, - "copy": { - "localization": { - "../../deploy/apps/presentationeditor/main/locale/": "../../apps/presentationeditor/main/locale/*" - }, - "help": { - "../../deploy/apps/presentationeditor/main/resources/help/en/": "../../apps/presentationeditor/main/resources/help/en/**", - "../../deploy/apps/presentationeditor/main/resources/help/de/": "../../apps/presentationeditor/main/resources/help/de/**", - "../../deploy/apps/presentationeditor/main/resources/help/es/": "../../apps/presentationeditor/main/resources/help/es/**", - "../../deploy/apps/presentationeditor/main/resources/help/it/": "../../apps/presentationeditor/main/resources/help/it/**", - "../../deploy/apps/presentationeditor/main/resources/help/ru/": "../../apps/presentationeditor/main/resources/help/ru/**" - }, - "index-page": { - "../../deploy/apps/presentationeditor/main/index.html": "../../apps/presentationeditor/main/index.html.deploy" - }, - "images-app": { - "../../deploy/apps/presentationeditor/main/resources/img/": "../../apps/presentationeditor/main/resources/img/**" - }, - "images-common": { - "../../deploy/apps/presentationeditor/main/Images/": "../../sdk/PowerPoint/Images/*.cur", - "../../deploy/apps/presentationeditor/main/resources/img/": "../../apps/common/main/resources/img/**" - } - } - }, - "mobile": { - "clean": [ - "../../deploy/apps/presentationeditor/mobile" - ], - "js": { - "src": [ - "../../apps/common/Gateway.js", - "../../apps/common/Analytics.js", - "../../apps/common/mobile/loader.js", - "../../apps/presentationeditor/mobile/app/view/Main.js", - "../../apps/presentationeditor/mobile/app/view/phone/toolbar/View.js", - "../../apps/presentationeditor/mobile/app/view/phone/Main.js", - "../../apps/presentationeditor/mobile/app/view/tablet/toolbar/View.js", - "../../apps/presentationeditor/mobile/app/view/tablet/Main.js", - "../../apps/presentationeditor/mobile/app/controller/Presentation.js", - "../../apps/presentationeditor/mobile/app/controller/Main.js", - "../../apps/presentationeditor/mobile/app/controller/phone/Main.js", - "../../apps/presentationeditor/mobile/app/controller/tablet/Main.js", - "../../apps/presentationeditor/mobile/app/controller/toolbar/View.js", - "../../apps/presentationeditor/mobile/app/profile/Phone.js", - "../../apps/presentationeditor/mobile/app/profile/Tablet.js", - "../../apps/common/locale.js", - "../../apps/presentationeditor/mobile/app.js" - ], - "dist": "../../deploy/apps/presentationeditor/mobile/app-all.js" - }, - "css": { - "normal": { - "src": [ - "../../apps/presentationeditor/mobile/resources/css/application-normal.css" - ], - "dist": "../../deploy/apps/presentationeditor/mobile/resources/css/application-normal.css" - }, - "retina": { - "src": [ - "../../apps/presentationeditor/mobile/resources/css/application-retina.css" - ], - "dist": "../../deploy/apps/presentationeditor/mobile/resources/css/application-retina.css" - } - }, - "copy": { - "index-page": { - "../../deploy/apps/presentationeditor/mobile/index.html": "../../apps/presentationeditor/mobile/index.html.deploy" - }, - "localization": { - "../../deploy/apps/presentationeditor/mobile/locale/": "../../apps/presentationeditor/mobile/locale/*" - }, - "images-app": { - "../../deploy/apps/presentationeditor/mobile/resources/img/": "../../apps/presentationeditor/mobile/resources/img/**" - } - } - }, - "embed": { - "clean": [ - "../../deploy/apps/presentationeditor/embed" - ], - "js": { - "src": [ - "../../apps/common/Gateway.js", - "../../apps/common/Analytics.js", - "../../apps/presentationeditor/embed/js/ApplicationView.js", - "../../apps/presentationeditor/embed/js/ApplicationController.js", - "../../apps/presentationeditor/embed/js/application.js" - ], - "dist": "../../deploy/apps/presentationeditor/embed/app-all.js" - }, - "css": { - "src": [ - "../../apps/presentationeditor/embed/resources/css/application.css" - ], - "dist": "../../deploy/apps/presentationeditor/embed/resources/css/app-all.css" - }, - "copy": { - "index-page": { - "../../deploy/apps/presentationeditor/embed/index.html": "../../apps/presentationeditor/embed/index.html.deploy" - }, - "images-app": { - "../../deploy/apps/presentationeditor/embed/resources/img/": "../../apps/presentationeditor/embed/resources/img/**" - } - } - }, - "extjs": { - "clean": [ - "../../deploy/3rdparty/extjs" - ], - "copy": { - "script": { - "../../deploy/3rdparty/extjs/": "../../3rdparty/extjs/ext-all.js" - }, - "css": { - "../../deploy/3rdparty/extjs/resources/css/": "../../3rdparty/extjs/resources/css/ext-all.css" - }, - "images": { - "../../deploy/3rdparty/extjs/resources/themes/images/default/": "../../3rdparty/extjs/resources/themes/images/default/**" - } - } - }, - "bootstrap": { - "clean": [ - "../../deploy/3rdparty/bootstrap" - ], - "copy": { - "script": { - "../../deploy/3rdparty/bootstrap/js/": "../../3rdparty/bootstrap/js/bootstrap.min.js" - }, - "css": { - "../../deploy/3rdparty/bootstrap/css/": "../../3rdparty/bootstrap/css/bootstrap.min.css" - }, - "images": { - "../../deploy/3rdparty/bootstrap/img/": "../../3rdparty/bootstrap/img/*" - } - } - }, - "jquery": { - "clean": [ - "../../deploy/3rdparty/jquery" - ], - "copy": { - "script": { - "../../deploy/3rdparty/jquery/": [ - "../../3rdparty/jquery/jquery-1.7.1.min.js", - "../../3rdparty/jquery/jquery-1.8.1.min.js" - ], - "../../deploy/3rdparty/jquery/mousewheel/": "../../3rdparty/jquery/mousewheel/jquery.mousewheel.js", - "../../deploy/3rdparty/jquery/jscrollpane/": "../../3rdparty/jquery/jscrollpane/jquery.jscrollpane.min.js" - } - } - }, - "sockjs": { - "clean": [ - "../../deploy/3rdparty/sockjs" - ], - "copy": { - "script": { - "../../deploy/3rdparty/sockjs/": "../../3rdparty/sockjs/sockjs-0.3.min.js" - } - } - }, - "xregexp": { - "clean": [ - "../../deploy/3rdparty/xregexp" - ], - "copy": { - "script": { - "../../deploy/3rdparty/xregexp/": "../../3rdparty/xregexp/xregexp-all-min.js" - } - } - }, - "underscore": { - "clean": [ - "../../deploy/3rdparty/underscore" - ], - "copy": { - "script": { - "../../deploy/3rdparty/underscore/": "../../3rdparty/underscore/underscore-min.js" - } - } - }, - "zeroclipboard": { - "clean": [ - "../../deploy/3rdparty/ZeroClipboard" - ], - "copy": { - "script": { - "../../deploy/3rdparty/ZeroClipboard/": [ - "../../3rdparty/ZeroClipboard/ZeroClipboard.min.js", - "../../3rdparty/ZeroClipboard/ZeroClipboard*.swf" - ] - } - } - }, - "tasks": { - "deploy": "increment-build deploy-api deploy-sdk deploy-3rdparty-bootstrap deploy-3rdparty-extjs deploy-3rdparty-jquery deploy-3rdparty-sockjs deploy-3rdparty-xregexp deploy-3rdparty-underscore deploy-3rdparty-zeroclipboard deploy-app-main deploy-app-mobile deploy-app-embed" - } -} \ No newline at end of file diff --git a/build/opensource/spreadsheeteditor.json b/build/opensource/spreadsheeteditor.json deleted file mode 100644 index 20c032d51..000000000 --- a/build/opensource/spreadsheeteditor.json +++ /dev/null @@ -1,371 +0,0 @@ -{ - "version": "1.0", - "build": 0, - "homepage": "http://www.teamlab.com", - "sdk": { - "clean": [ - "../../deploy/sdk/Common", - "../../deploy/sdk/Excel" - ], - "copy": { - "../../deploy/sdk/Common/": "../../sdk/Common/AllFonts.js", - "../../deploy/sdk/Excel/css/": "../../sdk/Excel/css/*.css", - "../../deploy/sdk/Word/Images/": "../../sdk/Word/Images/*.cur", - "../../deploy/sdk/Excel/": "../../sdk/Excel/sdk-all.js" - } - }, - "api": { - "clean": [ - "../../deploy/apps/api" - ], - "copy": { - "../../deploy/apps/api/documents/": "../../apps/api/**" - } - }, - "main": { - "clean": [ - "../../deploy/apps/spreadsheeteditor/main" - ], - "js": { - "srcview": [ - "../../apps/common/Gateway.js", - "../../apps/common/Analytics.js", - "../../apps/common/IrregularStack.js", - "../../apps/common/main/loader.js", - "../../apps/common/main/lib/plugin/ScrollPane.js", - "../../apps/common/main/lib/plugin/DataViewScrollPane.js", - "../../apps/common/main/lib/plugin/ComboBoxScrollPane.js", - "../../apps/common/main/lib/plugin/TextAreaAutoHeight.js", - "../../apps/common/main/lib/plugin/MenuExpand.js", - "../../apps/common/main/lib/component/LoadMask.js", - "../../apps/common/main/lib/component/MetricSpinner.js", - "../../apps/common/main/lib/component/IndeterminateCheckBox.js", - "../../apps/common/main/lib/component/SearchField.js", - "../../apps/common/main/lib/component/util/MetricSettings.js", - "../../apps/common/main/lib/view/About.js", - "../../apps/common/main/lib/view/Header.js", - "../../apps/common/main/lib/view/SearchDialog.js", - "../../apps/common/main/lib/view/DocumentAccessDialog.js", - "../../apps/spreadsheeteditor/main/app/ux/BoxReorderer.js", - "../../apps/spreadsheeteditor/main/app/plugin/TabBarScroller.js", - "../../apps/spreadsheeteditor/main/app/plugin/TabReorderer.js", - "../../apps/spreadsheeteditor/main/app/view/OpenDialog.js", - "../../apps/spreadsheeteditor/main/app/view/CreateFile.js", - "../../apps/spreadsheeteditor/main/app/view/RecentFiles.js", - "../../apps/spreadsheeteditor/main/app/view/DocumentInfo.js", - "../../apps/spreadsheeteditor/main/app/view/DocumentHelp.js", - "../../apps/spreadsheeteditor/main/app/view/DocumentHolder.js", - "../../apps/spreadsheeteditor/main/app/view/DocumentStatusInfo.js", - "../../apps/spreadsheeteditor/main/app/view/MainMenu.js", - "../../apps/spreadsheeteditor/main/app/view/MainSettingsGeneral.js", - "../../apps/spreadsheeteditor/main/app/view/MainSettingsPrint.js", - "../../apps/spreadsheeteditor/main/app/view/DocumentSettings.js", - "../../apps/spreadsheeteditor/main/app/view/File.js", - "../../apps/spreadsheeteditor/main/app/view/CellInfo.js", - "../../apps/spreadsheeteditor/main/app/view/Viewport.js", - "../../apps/spreadsheeteditor/main/app/model/FileTemplate.js", - "../../apps/spreadsheeteditor/main/app/model/RecentFile.js", - "../../apps/spreadsheeteditor/main/app/store/FileTemplates.js", - "../../apps/spreadsheeteditor/main/app/store/RecentFiles.js", - "../../apps/spreadsheeteditor/main/app/controller/RecentFiles.js", - "../../apps/spreadsheeteditor/main/app/controller/DocumentHolder.js", - "../../apps/spreadsheeteditor/main/app/controller/Main.js", - "../../apps/spreadsheeteditor/main/app/controller/CreateFile.js", - "../../apps/spreadsheeteditor/main/app/controller/CellEdit.js", - "../../apps/spreadsheeteditor/main/app/controller/Search.js", - "../../apps/common/locale.js", - "../../apps/spreadsheeteditor/main/app.js", - "../../apps/spreadsheeteditor/main/restrictions.js", - "../../apps/spreadsheeteditor/main/environment.js.deploy" - ], - "destview": "../../deploy/apps/spreadsheeteditor/main/app-view.js", - "srcedit": [ - "../../apps/common/main/lib/plugin/GridScrollPane.js", - "../../apps/common/main/lib/component/util/RGBColor.js", - "../../apps/common/main/lib/component/HSBColorPicker.js", - "../../apps/common/main/lib/view/ExtendedColorDialog.js", - "../../apps/common/main/lib/component/DataViewPicker.js", - "../../apps/common/main/lib/component/MenuDataViewPicker.js", - "../../apps/common/main/lib/component/ThemeColorPalette.js", - "../../apps/common/main/lib/component/SplitColorButton.js", - "../../apps/common/main/lib/component/ComboDataView.js", - "../../apps/common/main/lib/component/MultiSliderGradient.js", - "../../apps/common/main/lib/view/CopyWarning.js", - "../../apps/common/main/lib/view/ImageFromUrlDialog.js", - "../../apps/common/main/lib/view/ComboFonts.js", - "../../apps/common/main/lib/view/AbstractSettingsPanel.js", - "../../apps/common/main/lib/model/Font.js", - "../../apps/common/main/lib/store/Fonts.js", - "../../apps/common/main/lib/controller/Fonts.js", - "../../apps/common/main/lib/model/Group.js", - "../../apps/common/main/lib/model/GroupItem.js", - "../../apps/common/main/lib/component/GroupedDataView.js", - "../../apps/spreadsheeteditor/main/app/model/Formula.js", - "../../apps/spreadsheeteditor/main/app/model/TableTemplate.js", - "../../apps/spreadsheeteditor/main/app/model/ShapeGroup.js", - "../../apps/spreadsheeteditor/main/app/store/Formulas.js", - "../../apps/spreadsheeteditor/main/app/store/FormulaGroups.js", - "../../apps/spreadsheeteditor/main/app/store/TableTemplates.js", - "../../apps/spreadsheeteditor/main/app/store/ShapeGroups.js", - "../../apps/spreadsheeteditor/main/app/view/FormulaDialog.js", - "../../apps/spreadsheeteditor/main/app/view/SetValueDialog.js", - "../../apps/spreadsheeteditor/main/app/view/SheetCopyDialog.js", - "../../apps/spreadsheeteditor/main/app/view/SheetRenameDialog.js", - "../../apps/spreadsheeteditor/main/app/view/PrintSettings.js", - "../../apps/spreadsheeteditor/main/app/view/HyperlinkSettings.js", - "../../apps/spreadsheeteditor/main/app/view/Toolbar.js", - "../../apps/spreadsheeteditor/main/app/view/AutoFilterDialog.js", - "../../apps/spreadsheeteditor/main/app/view/DigitalFilterDialog.js", - "../../apps/spreadsheeteditor/main/app/view/TableOptionsDialog.js", - "../../apps/spreadsheeteditor/main/app/view/ShapeSettingsAdvanced.js", - "../../apps/spreadsheeteditor/main/app/view/ParagraphSettingsAdvanced.js", - "../../apps/spreadsheeteditor/main/app/view/ImageSettings.js", - "../../apps/spreadsheeteditor/main/app/view/ShapeSettings.js", - "../../apps/spreadsheeteditor/main/app/view/ParagraphSettings.js", - "../../apps/spreadsheeteditor/main/app/view/RightPanel.js", - "../../apps/spreadsheeteditor/main/app/view/RightMenu.js", - "../../apps/spreadsheeteditor/main/app/controller/Toolbar.js", - "../../apps/spreadsheeteditor/main/app/controller/Print.js" - ], - "destedit": "../../deploy/apps/spreadsheeteditor/main/app-edit.js" - }, - "css": { - "srcview": [ - "../../apps/common/main/resources/css/load-mask.css", - "../../apps/common/main/resources/css/jquery.jscrollpane.css", - "../../apps/common/main/resources/css/header.css", - "../../apps/common/main/resources/css/asc.css", - "../../apps/common/main/resources/css/about.css", - "../../apps/common/main/resources/css/searchfield.css", - "../../apps/common/main/resources/css/searchdialog.css", - "../../apps/spreadsheeteditor/main/resources/css/ss-main-colors.css", - "../../apps/spreadsheeteditor/main/resources/css/document-holder.css", - "../../apps/spreadsheeteditor/main/resources/css/document-statusinfo.css", - "../../apps/spreadsheeteditor/main/resources/css/file-create-new.css", - "../../apps/spreadsheeteditor/main/resources/css/file-open-recent.css", - "../../apps/spreadsheeteditor/main/resources/css/file.css", - "../../apps/spreadsheeteditor/main/resources/css/header.css", - "../../apps/spreadsheeteditor/main/resources/css/main-menu.css", - "../../apps/spreadsheeteditor/main/resources/css/tab-bar.css", - "../../apps/spreadsheeteditor/main/resources/css/general.css" - ], - "destview": "../../deploy/apps/spreadsheeteditor/main/resources/css/app-view.css", - "srcedit": [ - "../../apps/common/main/resources/css/dataview-picker.css", - "../../apps/common/main/resources/css/hsb-colorpicker.css", - "../../apps/common/main/resources/css/themecolorpalette.css", - "../../apps/common/main/resources/css/dataview-combo.css", - "../../apps/common/main/resources/css/grouped-data-view.css", - "../../apps/common/main/resources/css/multislider-gradient.css", - "../../apps/spreadsheeteditor/main/resources/css/right-panels.css", - "../../apps/spreadsheeteditor/main/resources/css/toolbar.css", - "../../apps/spreadsheeteditor/main/resources/css/advanced-settings-dialog.css" - ], - "destedit": "../../deploy/apps/spreadsheeteditor/main/resources/css/app-edit.css" - }, - "copy": { - "localization": { - "../../deploy/apps/spreadsheeteditor/main/locale/": "../../apps/spreadsheeteditor/main/locale/*" - }, - "help": { - "../../deploy/apps/spreadsheeteditor/main/resources/help/en/": "../../apps/spreadsheeteditor/main/resources/help/en/**", - "../../deploy/apps/spreadsheeteditor/main/resources/help/fr/": "../../apps/spreadsheeteditor/main/resources/help/fr/**", - "../../deploy/apps/spreadsheeteditor/main/resources/help/es/": "../../apps/spreadsheeteditor/main/resources/help/es/**", - "../../deploy/apps/spreadsheeteditor/main/resources/help/it/": "../../apps/spreadsheeteditor/main/resources/help/it/**", - "../../deploy/apps/spreadsheeteditor/main/resources/help/ru/": "../../apps/spreadsheeteditor/main/resources/help/ru/**" - }, - "index-page": { - "../../deploy/apps/spreadsheeteditor/main/index.html": "../../apps/spreadsheeteditor/main/index.html.deploy" - }, - "images-app": { - "../../deploy/apps/spreadsheeteditor/main/resources/img/": "../../apps/spreadsheeteditor/main/resources/img/**" - }, - "images-common": { - "../../deploy/apps/spreadsheeteditor/main/resources/img/": "../../apps/common/main/resources/img/**" - } - } - }, - "mobile": { - "clean": [ - "../../deploy/apps/spreadsheeteditor/mobile" - ], - "js": { - "src": [ - "../../apps/common/Gateway.js", - "../../apps/common/Analytics.js", - "../../apps/common/mobile/loader.js", - "../../apps/spreadsheeteditor/mobile/app/model/Worksheet.js", - "../../apps/spreadsheeteditor/mobile/app/store/Worksheets.js", - "../../apps/spreadsheeteditor/mobile/app/view/OpenCsvPanel.js", - "../../apps/spreadsheeteditor/mobile/app/view/WorksheetList.js", - "../../apps/spreadsheeteditor/mobile/app/view/Main.js", - "../../apps/spreadsheeteditor/mobile/app/view/phone/toolbar/Search.js", - "../../apps/spreadsheeteditor/mobile/app/view/phone/toolbar/View.js", - "../../apps/spreadsheeteditor/mobile/app/view/phone/Main.js", - "../../apps/spreadsheeteditor/mobile/app/view/tablet/toolbar/Search.js", - "../../apps/spreadsheeteditor/mobile/app/view/tablet/toolbar/View.js", - "../../apps/spreadsheeteditor/mobile/app/view/tablet/Main.js", - "../../apps/spreadsheeteditor/mobile/app/controller/ApiEvents.js", - "../../apps/spreadsheeteditor/mobile/app/controller/Document.js", - "../../apps/spreadsheeteditor/mobile/app/controller/Search.js", - "../../apps/spreadsheeteditor/mobile/app/controller/WorksheetList.js", - "../../apps/spreadsheeteditor/mobile/app/controller/Main.js", - "../../apps/spreadsheeteditor/mobile/app/controller/phone/Main.js", - "../../apps/spreadsheeteditor/mobile/app/controller/tablet/Main.js", - "../../apps/spreadsheeteditor/mobile/app/controller/toolbar/View.js", - "../../apps/spreadsheeteditor/mobile/app/profile/Phone.js", - "../../apps/spreadsheeteditor/mobile/app/profile/Tablet.js", - "../../apps/common/locale.js", - "../../apps/spreadsheeteditor/mobile/app.js" - ], - "dist": "../../deploy/apps/spreadsheeteditor/mobile/app-all.js" - }, - "css": { - "normal": { - "src": [ - "../../apps/spreadsheeteditor/mobile/resources/css/application-normal.css" - ], - "dist": "../../deploy/apps/spreadsheeteditor/mobile/resources/css/application-normal.css" - }, - "retina": { - "src": [ - "../../apps/spreadsheeteditor/mobile/resources/css/application-retina.css" - ], - "dist": "../../deploy/apps/spreadsheeteditor/mobile/resources/css/application-retina.css" - } - }, - "copy": { - "index-page": { - "../../deploy/apps/spreadsheeteditor/mobile/index.html": "../../apps/spreadsheeteditor/mobile/index.html.deploy" - }, - "localization": { - "../../deploy/apps/spreadsheeteditor/mobile/locale/": "../../apps/spreadsheeteditor/mobile/locale/*" - }, - "images-app": { - "../../deploy/apps/spreadsheeteditor/mobile/resources/img/": "../../apps/spreadsheeteditor/mobile/resources/img/**" - } - } - }, - "embed": { - "clean": [ - "../../deploy/apps/spreadsheeteditor/embed" - ], - "js": { - "src": [ - "../../apps/common/Gateway.js", - "../../apps/common/Analytics.js", - "../../apps/spreadsheeteditor/embed/js/ApplicationView.js", - "../../apps/spreadsheeteditor/embed/js/ApplicationController.js", - "../../apps/spreadsheeteditor/embed/js/application.js" - ], - "dist": "../../deploy/apps/spreadsheeteditor/embed/app-all.js" - }, - "css": { - "src": [ - "../../apps/spreadsheeteditor/embed/resources/css/application.css" - ], - "dist": "../../deploy/apps/spreadsheeteditor/embed/resources/css/app-all.css" - }, - "copy": { - "index-page": { - "../../deploy/apps/spreadsheeteditor/embed/index.html": "../../apps/spreadsheeteditor/embed/index.html.deploy" - }, - "images-app": { - "../../deploy/apps/spreadsheeteditor/embed/resources/img/": "../../apps/spreadsheeteditor/embed/resources/img/**" - } - } - }, - "extjs": { - "clean": [ - "../../deploy/3rdparty/extjs" - ], - "copy": { - "script": { - "../../deploy/3rdparty/extjs/": "../../3rdparty/extjs/ext-all.js" - }, - "css": { - "../../deploy/3rdparty/extjs/resources/css/": "../../3rdparty/extjs/resources/css/ext-all.css" - }, - "images": { - "../../deploy/3rdparty/extjs/resources/themes/images/default/": "../../3rdparty/extjs/resources/themes/images/default/**" - } - } - }, - "bootstrap": { - "clean": [ - "../../deploy/3rdparty/bootstrap" - ], - "copy": { - "script": { - "../../deploy/3rdparty/bootstrap/js/": "../../3rdparty/bootstrap/js/bootstrap.min.js" - }, - "css": { - "../../deploy/3rdparty/bootstrap/css/": "../../3rdparty/bootstrap/css/bootstrap.min.css" - }, - "images": { - "../../deploy/3rdparty/bootstrap/img/": "../../3rdparty/bootstrap/img/*" - } - } - }, - "jquery": { - "clean": [ - "../../deploy/3rdparty/jquery" - ], - "copy": { - "script": { - "../../deploy/3rdparty/jquery/": [ - "../../3rdparty/jquery/jquery-1.7.1.min.js", - "../../3rdparty/jquery/jquery-1.8.1.min.js" - ], - "../../deploy/3rdparty/jquery/mousewheel/": "../../3rdparty/jquery/mousewheel/jquery.mousewheel.js", - "../../deploy/3rdparty/jquery/jscrollpane/": "../../3rdparty/jquery/jscrollpane/jquery.jscrollpane.min.js" - } - } - }, - "sockjs": { - "clean": [ - "../../deploy/3rdparty/sockjs" - ], - "copy": { - "script": { - "../../deploy/3rdparty/sockjs/": "../../3rdparty/sockjs/sockjs-0.3.min.js" - } - } - }, - "xregexp": { - "clean": [ - "../../deploy/3rdparty/xregexp" - ], - "copy": { - "script": { - "../../deploy/3rdparty/xregexp/": "../../3rdparty/xregexp/xregexp-all-min.js" - } - } - }, - "underscore": { - "clean": [ - "../../deploy/3rdparty/underscore" - ], - "copy": { - "script": { - "../../deploy/3rdparty/underscore/": "../../3rdparty/underscore/underscore-min.js" - } - } - }, - "zeroclipboard": { - "clean": [ - "../../deploy/3rdparty/ZeroClipboard" - ], - "copy": { - "script": { - "../../deploy/3rdparty/ZeroClipboard/": [ - "../../3rdparty/ZeroClipboard/ZeroClipboard.min.js", - "../../3rdparty/ZeroClipboard/ZeroClipboard*.swf" - ] - } - } - }, - "tasks": { - "deploy": "increment-build deploy-api deploy-sdk deploy-3rdparty-bootstrap deploy-3rdparty-extjs deploy-3rdparty-jquery deploy-3rdparty-sockjs deploy-3rdparty-xregexp deploy-3rdparty-underscore deploy-3rdparty-zeroclipboard deploy-app-main deploy-app-mobile deploy-app-embed" - } -} \ No newline at end of file