diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-04-24 09:40:05 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-05-16 09:50:22 +0200 |
commit | f4cec587d972b751a5a3cea44e11804e100ff329 (patch) | |
tree | e9e5ccd991c6397244f1f9d371ee6b1d9a29c85d | |
parent | f0586b2eb15651e358b6ebf47b230bc7965dde35 (diff) | |
download | nextcloud-server-f4cec587d972b751a5a3cea44e11804e100ff329.tar.gz nextcloud-server-f4cec587d972b751a5a3cea44e11804e100ff329.zip |
Bump makefile, readme, fix typo and cleanup
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r-- | settings/.editorconfig | 7 | ||||
-rw-r--r-- | settings/Makefile | 15 | ||||
-rw-r--r-- | settings/README.md | 19 | ||||
-rw-r--r-- | settings/index.html | 11 | ||||
-rw-r--r-- | settings/js/main.js | 2 | ||||
-rw-r--r-- | settings/main.php | 24 | ||||
-rw-r--r-- | settings/src/components/appNavigation/navigationItem.vue | 2 |
7 files changed, 27 insertions, 53 deletions
diff --git a/settings/.editorconfig b/settings/.editorconfig index 9d08a1a828a..a6e3eaf55e2 100644 --- a/settings/.editorconfig +++ b/settings/.editorconfig @@ -2,8 +2,11 @@ root = true [*] charset = utf-8 -indent_style = space -indent_size = 2 +indent_style = tab end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true + +[{package.json,.travis.yml}] +indent_style = space +indent_size = 2
\ No newline at end of file diff --git a/settings/Makefile b/settings/Makefile index 5fa7fa5650b..98e1f89b384 100644 --- a/settings/Makefile +++ b/settings/Makefile @@ -1,9 +1,11 @@ -all: clean npm-update build-js-production +all: dev-setup build-js-production -dev-setup: clean npm-update build-js +dev-setup: clean clean-dev npm-init + +npm-init: + npm install npm-update: - rm -rf node_modules npm update build-js: @@ -16,6 +18,9 @@ watch-js: npm run watch clean: - rm js/main.js - rm js/main.js.map + rm -f js/main.js + rm -f js/main.js.map + +clean-dev: + rm -rf node_modules diff --git a/settings/README.md b/settings/README.md index 39c335ea7d8..6774ec1886c 100644 --- a/settings/README.md +++ b/settings/README.md @@ -1,18 +1,19 @@ -# settings +# Settings section -> A Vue.js project +> Nextcloud settings with Vue ## Build Setup ``` bash # install dependencies -npm install +make dev-setup -# serve with hot reload at localhost:8080 -npm run dev +# build for development +make build-js -# build for production with minification -npm run build -``` +# build for development and watch edits +make watch-js -For detailed explanation on how things work, consult the [docs for vue-loader](http://vuejs.github.io/vue-loader). +# build for production with minification +make build-js-production +```
\ No newline at end of file diff --git a/settings/index.html b/settings/index.html deleted file mode 100644 index 9e57405785d..00000000000 --- a/settings/index.html +++ /dev/null @@ -1,11 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - <head> - <meta charset="utf-8"> - <title>settings</title> - </head> - <body> - <div id="app"></div> - <script src="/dist/build.js"></script> - </body> -</html> diff --git a/settings/js/main.js b/settings/js/main.js index 556df8b92be..bcc17d1cbb8 100644 --- a/settings/js/main.js +++ b/settings/js/main.js @@ -141,7 +141,7 @@ eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__appNavigation_naviga /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__popoverMenu__ = __webpack_require__(12);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vue_click_outside__ = __webpack_require__(15);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vue_click_outside___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_vue_click_outside__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_vue__ = __webpack_require__(3);\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"a\"] = ({\n\tname: 'navigationItem',\n\tprops: ['item'],\n\tcomponents: {\n\t\tpopoverMenu: __WEBPACK_IMPORTED_MODULE_0__popoverMenu__[\"a\" /* default */]\n\t},\n\tdirectives: {\n\t\tClickOutside: __WEBPACK_IMPORTED_MODULE_1_vue_click_outside___default.a\n\t},\n\tdata: function data() {\n\t\treturn {\n\t\t\topenedMenu: false\n\t\t};\n\t},\n\n\tmethods: {\n\t\tshowMen: function showMen() {\n\t\t\tthis.openedMenu = true;\n\t\t},\n\t\thideMenu: function hideMenu() {\n\t\t\tthis.openedMenu = false;\n\t\t},\n\t\ttoggleCollapse: function toggleCollapse() {\n\t\t\t// if item.opened isn't set, Vue won't trigger view updates https://vuejs.org/v2/api/#Vue-set\n\t\t\t// ternary is here to detect the undefined state of item.opened\n\t\t\t__WEBPACK_IMPORTED_MODULE_2_vue__[\"a\" /* default */].set(this.item, 'opened', this.item.opened ? !this.item.opened : true);\n\t\t},\n\t\tcancelEdit: function cancelEdit() {\n\t\t\t// remove the editing class\n\t\t\tif (Array.isArray(this.item.classes)) this.item.classes = this.item.classes.filter(function (item) {\n\t\t\t\treturn item !== 'editing';\n\t\t\t});\n\t\t}\n\t},\n\tmounted: function mounted() {\n\t\t// prevent click outside event with popupItem.\n\t\tthis.popupItem = this.$el;\n\t}\n});\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vc3JjL2NvbXBvbmVudHMvYXBwTmF2aWdhdGlvbi9uYXZpZ2F0aW9uSXRlbS52dWU/OWVmZiJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7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Fx0XHQvLyByZW1vdmUgdGhlIGVkaXRpbmcgY2xhc3Ncblx0XHRcdGlmIChBcnJheS5pc0FycmF5KHRoaXMuaXRlbS5jbGFzc2VzKSlcblx0XHRcdFx0dGhpcy5pdGVtLmNsYXNzZXMgPSB0aGlzLml0ZW0uY2xhc3Nlcy5maWx0ZXIoaXRlbSA9PiBpdGVtICE9PSAnZWRpdGluZycpO1xuXHRcdH1cblx0fSxcblx0bW91bnRlZCgpIHtcblx0XHQvLyBwcmV2ZW50IGNsaWNrIG91dHNpZGUgZXZlbnQgd2l0aCBwb3B1cEl0ZW0uXG5cdFx0dGhpcy5wb3B1cEl0ZW0gPSB0aGlzLiRlbDtcblx0fSxcbn1cbjwvc2NyaXB0PlxuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIHNyYy9jb21wb25lbnRzL2FwcE5hdmlnYXRpb24vbmF2aWdhdGlvbkl0ZW0udnVlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///11\n"); +eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__popoverMenu__ = __webpack_require__(12);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vue_click_outside__ = __webpack_require__(15);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vue_click_outside___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_vue_click_outside__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_vue__ = __webpack_require__(3);\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"a\"] = ({\n\tname: 'navigationItem',\n\tprops: ['item'],\n\tcomponents: {\n\t\tpopoverMenu: __WEBPACK_IMPORTED_MODULE_0__popoverMenu__[\"a\" /* default */]\n\t},\n\tdirectives: {\n\t\tClickOutside: __WEBPACK_IMPORTED_MODULE_1_vue_click_outside___default.a\n\t},\n\tdata: function data() {\n\t\treturn {\n\t\t\topenedMenu: false\n\t\t};\n\t},\n\n\tmethods: {\n\t\tshowMenu: function showMenu() {\n\t\t\tthis.openedMenu = true;\n\t\t},\n\t\thideMenu: function hideMenu() {\n\t\t\tthis.openedMenu = false;\n\t\t},\n\t\ttoggleCollapse: function toggleCollapse() {\n\t\t\t// if item.opened isn't set, Vue won't trigger view updates https://vuejs.org/v2/api/#Vue-set\n\t\t\t// ternary is here to detect the undefined state of item.opened\n\t\t\t__WEBPACK_IMPORTED_MODULE_2_vue__[\"a\" /* default */].set(this.item, 'opened', this.item.opened ? !this.item.opened : true);\n\t\t},\n\t\tcancelEdit: function cancelEdit() {\n\t\t\t// remove the editing class\n\t\t\tif (Array.isArray(this.item.classes)) this.item.classes = this.item.classes.filter(function (item) {\n\t\t\t\treturn item !== 'editing';\n\t\t\t});\n\t\t}\n\t},\n\tmounted: function mounted() {\n\t\t// prevent click outside event with popupItem.\n\t\tthis.popupItem = this.$el;\n\t}\n});\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vc3JjL2NvbXBvbmVudHMvYXBwTmF2aWdhdGlvbi9uYXZpZ2F0aW9uSXRlbS52dWU/OWVmZiJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBMkVBO0FBQ0E7QUFDQTs7QUFFQTtPQUVBO1N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ml0ZW0uY2xhc3NlcykpXG5cdFx0XHRcdHRoaXMuaXRlbS5jbGFzc2VzID0gdGhpcy5pdGVtLmNsYXNzZXMuZmlsdGVyKGl0ZW0gPT4gaXRlbSAhPT0gJ2VkaXRpbmcnKTtcblx0XHR9XG5cdH0sXG5cdG1vdW50ZWQoKSB7XG5cdFx0Ly8gcHJldmVudCBjbGljayBvdXRzaWRlIGV2ZW50IHdpdGggcG9wdXBJdGVtLlxuXHRcdHRoaXMucG9wdXBJdGVtID0gdGhpcy4kZWw7XG5cdH0sXG59XG48L3NjcmlwdD5cblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyBzcmMvY29tcG9uZW50cy9hcHBOYXZpZ2F0aW9uL25hdmlnYXRpb25JdGVtLnZ1ZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///11\n"); /***/ }), /* 12 */ diff --git a/settings/main.php b/settings/main.php deleted file mode 100644 index 4329032fb97..00000000000 --- a/settings/main.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php -/** - * @copyright Copyright (c) 2018 John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> - * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> - * - * - * @license AGPL-3.0 - * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see <http://www.gnu.org/licenses/> - * - */ - - $tmpl = new OC_Template("settings", "settings", "user"); - $tmpl->printPage(); diff --git a/settings/src/components/appNavigation/navigationItem.vue b/settings/src/components/appNavigation/navigationItem.vue index e9ed7579a88..ee748ee826e 100644 --- a/settings/src/components/appNavigation/navigationItem.vue +++ b/settings/src/components/appNavigation/navigationItem.vue @@ -92,7 +92,7 @@ export default { } }, methods: { - showMen() { + showMenu() { this.openedMenu = true; }, hideMenu() { |