Welcome page + project renaming leftovers
This commit is contained in:
1 parent
63f1ec30b4
commit
ebddba0d2a
13 files changed
+96
-55
No files matched your search
+2
-2
@@ -29,8 +29,8 @@ deploy:
|
||||
api_key:
|
||||
secure: TyasQ2QnWQoBhsiwm88oHoeJ+PWBZnbWEJwu6JdN5HA9cXqIdHqd1msCh84gGtKRfL2EObw4AvDwLSEd5mIM0cmQfTiokYbmb7OSjOq880rbZwtXt9t9KkC5b+TIxkhJzkzi7vIpssTeNkVJBbo/R3m0suaCRqzypkW5mhVcsFhhZ8oVCZnI1uZAXCwFNMcFFUAHxWYE98tW5bfxknRU1NJFcXysN8VXskIZ82wQQBAzZ1aQgVyMl6Uw2hns399hxCx8gVKWOIdbpO1bliHBMdm5z+lR5i723IQnHpYJf4gWvPf3oHnSS1ocrJeWVoBqanC5Iu3QhwOvPLPw/AUcJOqhvS/QiGZ2AuA9GwtBpYNVYYGD9RqcODBKZy0fWluwCuVNNoQHmwMWVP7lRnwP+SNtLzzV5ZC8mrjb4B9KGoBUR8Q7lz8cMtLoPOixk1WdWOpIFzKcw/fy8Ze6cnnFKrzsPVUZy3E3SKit3GuP6Nd7ghO0Kxp4x0eAlqFDYRZ9nG55ctd0i2b5u1r+VArt21dk2aMFxL6i67funIraEndLQFHhRgPVmjemJBRXf8j8OYrGStTsm0S26IXo3iVh/NJakIg6mEFJ3j4BXPEjCUmIW0iD6sKGTeNH6jaON+DV4T+ErGnYzgwO5KIfo9cI00DqjG0tjBQ45lWaLGy6PEo=
|
||||
file:
|
||||
- dist/requarks-wiki.zip
|
||||
- dist/requarks-wiki.tar.gz
|
||||
- dist/wiki-js.zip
|
||||
- dist/wiki-js.tar.gz
|
||||
skip_cleanup: true
|
||||
overwrite: true
|
||||
on:
|
||||
|
||||
@@ -35,6 +35,11 @@
|
||||
- [x] Background Agent (git sync, cache purge, etc.)
|
||||
- [x] Caching
|
||||
- [x] Create Entry
|
||||
- [x] Documentation
|
||||
- [x] Prerequisites
|
||||
- [x] Install
|
||||
- [ ] Authentication
|
||||
- [ ] Git
|
||||
- [x] Edit Entry
|
||||
- [x] Git Management
|
||||
- [ ] Markdown Editor
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// ===========================================
|
||||
// REQUARKS WIKI - Background Agent
|
||||
// Wiki.js - Background Agent
|
||||
// 1.0.0
|
||||
// Licensed under AGPLv3
|
||||
// ===========================================
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
@charset "UTF-8";a,hr{padding:0}a,button,input,select,textarea{margin:0}article,aside,details,figure,footer,header,hr,main,nav,section,summary{display:block}.container,sub,sup{position:relative}abbr,address,article,aside,audio,b,blockquote,body,body div,caption,cite,code,dd,del,details,dfn,dl,dt,em,fieldset,figure,footer,form,h1,h2,h3,h4,h5,h6,header,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,p,pre,q,samp,section,small,span,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,ul,var,video{margin:0;padding:0;border:0;font-size:100%;font-weight:400;vertical-align:baseline;background:0 0}input[type=checkbox],th{vertical-align:bottom}embed,img,object{max-width:100%}ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}a{font-size:100%;vertical-align:baseline;background:0 0;color:#3949ab;text-decoration:none}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted #000;cursor:help}#alerts>ul>li,.button,.clickable,button,input[type=button],input[type=file],input[type=submit],label{cursor:pointer}th{font-weight:700}td{font-weight:400;vertical-align:top}hr{height:1px;border:0;border-top:1px solid #ccc;margin:1em 0}input,select{vertical-align:middle}pre{white-space:pre;white-space:pre-wrap;white-space:pre-line;word-wrap:break-word}input[type=radio]{vertical-align:text-bottom}.ie7 input[type=checkbox]{vertical-align:baseline}.ie6 input{vertical-align:text-bottom}input,select,textarea{font:99% sans-serif}table{border-collapse:separate;border-spacing:0;font:100%}small{font-size:85%}strong{font-weight:700}td,td img{vertical-align:top}sub,sup{font-size:75%;line-height:0}sup{top:-.5em}sub{bottom:-.25em}code,kbd,pre,samp{font-family:monospace,sans-serif}button,input[type=button]{width:auto;overflow:visible}.ie7 img{-ms-interpolation-mode:bicubic}.clearfix:after{content:" ";display:block;clear:both}@font-face{font-family:core-icons;src:url(/fonts/core-icons.ttf?a4cyvk) format("truetype"),url(/fonts/core-icons.woff?a4cyvk) format("woff"),url(/fonts/core-icons.svg?a4cyvk#core-icons) format("svg");font-weight:400;font-style:normal}[class*=" icon-"],[class^=icon-]{font-family:core-icons!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.button,html{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"}.icon-th-small:before{content:""}.icon-th-menu:before{content:""}.icon-th-list:before{content:""}.icon-th-large:before{content:""}.icon-home:before{content:""}.icon-location:before{content:""}.icon-link:before{content:""}.icon-starburst:before{content:""}.icon-starburst-outline:before{content:""}.icon-star:before{content:""}.icon-flow-children:before{content:""}.icon-export:before{content:""}.icon-delete:before{content:""}.icon-delete-outline:before{content:""}.icon-cloud-storage:before{content:""}.icon-backspace:before{content:""}.icon-attachment:before{content:""}.icon-arrow-move:before{content:""}.icon-warning:before{content:""}.icon-location-arrow:before{content:""}.icon-point-of-interest:before{content:""}.icon-infinity:before{content:""}.icon-eye:before{content:""}.icon-refresh:before{content:""}.icon-pin:before{content:""}.icon-eject:before{content:""}.icon-arrow-sync:before{content:""}.icon-arrow-shuffle:before{content:""}.icon-arrow-repeat:before{content:""}.icon-arrow-minimise:before{content:""}.icon-arrow-maximise:before{content:""}.icon-arrow-loop:before{content:""}.icon-spanner:before{content:""}.icon-power:before{content:""}.icon-flag:before{content:""}.icon-th-large-outline:before{content:""}.icon-th-small-outline:before{content:""}.icon-th-menu-outline:before{content:""}.icon-th-list-outline:before{content:""}.icon-home-outline:before{content:""}.icon-trash:before{content:""}.icon-star-outline:before{content:""}.icon-mail:before{content:""}.icon-heart-outline:before{content:""}.icon-flash-outline:before{content:""}.icon-watch:before{content:""}.icon-warning-outline:before{content:""}.icon-location-arrow-outline:before{content:""}.icon-info-outline:before{content:""}.icon-backspace-outline:before{content:""}.icon-upload-outline:before{content:""}.icon-tag:before{content:""}.icon-tabs-outline:before{content:""}.icon-pin-outline:before{content:""}.icon-pipette:before{content:""}.icon-pencil:before{content:""}.icon-folder:before{content:""}.icon-folder-delete:before{content:""}.icon-folder-add:before{content:""}.icon-edit:before{content:""}.icon-document:before{content:""}.icon-document-delete:before{content:""}.icon-document-add:before{content:""}.icon-brush:before{content:""}.icon-thumbs-up:befLine truncated
|
||||
@charset "UTF-8";a,hr{padding:0}a,button,input,select,textarea{margin:0}article,aside,details,figure,footer,header,hr,main,nav,section,summary{display:block}.container,sub,sup{position:relative}abbr,address,article,aside,audio,b,blockquote,body,body div,caption,cite,code,dd,del,details,dfn,dl,dt,em,fieldset,figure,footer,form,h1,h2,h3,h4,h5,h6,header,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,p,pre,q,samp,section,small,span,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,ul,var,video{margin:0;padding:0;border:0;font-size:100%;font-weight:400;vertical-align:baseline;background:0 0}input[type=checkbox],th{vertical-align:bottom}embed,img,object{max-width:100%}ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}a{font-size:100%;vertical-align:baseline;background:0 0;color:#3949ab;text-decoration:none}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted #000;cursor:help}#alerts>ul>li,.button,.clickable,button,input[type=button],input[type=file],input[type=submit],label{cursor:pointer}th{font-weight:700}td{font-weight:400;vertical-align:top}hr{height:1px;border:0;border-top:1px solid #ccc;margin:1em 0}input,select{vertical-align:middle}pre{white-space:pre;white-space:pre-wrap;white-space:pre-line;word-wrap:break-word}input[type=radio]{vertical-align:text-bottom}.ie7 input[type=checkbox]{vertical-align:baseline}.ie6 input{vertical-align:text-bottom}input,select,textarea{font:99% sans-serif}table{border-collapse:separate;border-spacing:0;font:100%}small{font-size:85%}strong{font-weight:700}td,td img{vertical-align:top}sub,sup{font-size:75%;line-height:0}sup{top:-.5em}sub{bottom:-.25em}code,kbd,pre,samp{font-family:monospace,sans-serif}button,input[type=button]{width:auto;overflow:visible}.ie7 img{-ms-interpolation-mode:bicubic}.clearfix:after{content:" ";display:block;clear:both}@font-face{font-family:core-icons;src:url(/fonts/core-icons.ttf?a4cyvk) format("truetype"),url(/fonts/core-icons.woff?a4cyvk) format("woff"),url(/fonts/core-icons.svg?a4cyvk#core-icons) format("svg");font-weight:400;font-style:normal}[class*=" icon-"],[class^=icon-]{font-family:core-icons!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.button,html{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"}.icon-th-small:before{content:""}.icon-th-menu:before{content:""}.icon-th-list:before{content:""}.icon-th-large:before{content:""}.icon-home:before{content:""}.icon-location:before{content:""}.icon-link:before{content:""}.icon-starburst:before{content:""}.icon-starburst-outline:before{content:""}.icon-star:before{content:""}.icon-flow-children:before{content:""}.icon-export:before{content:""}.icon-delete:before{content:""}.icon-delete-outline:before{content:""}.icon-cloud-storage:before{content:""}.icon-backspace:before{content:""}.icon-attachment:before{content:""}.icon-arrow-move:before{content:""}.icon-warning:before{content:""}.icon-location-arrow:before{content:""}.icon-point-of-interest:before{content:""}.icon-infinity:before{content:""}.icon-eye:before{content:""}.icon-refresh:before{content:""}.icon-pin:before{content:""}.icon-eject:before{content:""}.icon-arrow-sync:before{content:""}.icon-arrow-shuffle:before{content:""}.icon-arrow-repeat:before{content:""}.icon-arrow-minimise:before{content:""}.icon-arrow-maximise:before{content:""}.icon-arrow-loop:before{content:""}.icon-spanner:before{content:""}.icon-power:before{content:""}.icon-flag:before{content:""}.icon-th-large-outline:before{content:""}.icon-th-small-outline:before{content:""}.icon-th-menu-outline:before{content:""}.icon-th-list-outline:before{content:""}.icon-home-outline:before{content:""}.icon-trash:before{content:""}.icon-star-outline:before{content:""}.icon-mail:before{content:""}.icon-heart-outline:before{content:""}.icon-flash-outline:before{content:""}.icon-watch:before{content:""}.icon-warning-outline:before{content:""}.icon-location-arrow-outline:before{content:""}.icon-info-outline:before{content:""}.icon-backspace-outline:before{content:""}.icon-upload-outline:before{content:""}.icon-tag:before{content:""}.icon-tabs-outline:before{content:""}.icon-pin-outline:before{content:""}.icon-pipette:before{content:""}.icon-pencil:before{content:""}.icon-folder:before{content:""}.icon-folder-delete:before{content:""}.icon-folder-add:before{content:""}.icon-edit:before{content:""}.icon-document:before{content:""}.icon-document-delete:before{content:""}.icon-document-add:before{content:""}.icon-brush:before{content:""}.icon-thumbs-up:befLine truncated
|
||||
@@ -24,4 +24,5 @@
|
||||
@import './layout/_header';
|
||||
//@import './layout/_content';
|
||||
|
||||
//@import './pages/_account';
|
||||
//@import './pages/_account';
|
||||
@import './pages/_welcome';
|
||||
@@ -0,0 +1,15 @@
|
||||
.welcome {
|
||||
text-align: center;
|
||||
padding: 50px 0;
|
||||
color: mc('grey', '700');
|
||||
|
||||
h1 {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-top: 15px;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
}
|
||||
+28
-28
@@ -1,8 +1,8 @@
|
||||
#######################################################################
|
||||
# REQUARKS WIKI - CONFIGURATION #
|
||||
# Wiki.js - CONFIGURATION #
|
||||
#######################################################################
|
||||
# Full explanation + examples in the documentation:
|
||||
# https://requarks-wiki.readme.io/
|
||||
# https://wiki.requarks.io/install
|
||||
|
||||
# ---------------------------------------------------------------------
|
||||
# Title of this site
|
||||
@@ -31,6 +31,13 @@ paths:
|
||||
repo: ./repo
|
||||
data: ./data
|
||||
|
||||
# ---------------------------------------------------------------------
|
||||
# Site Language
|
||||
# ---------------------------------------------------------------------
|
||||
# Possible values: en, fr
|
||||
|
||||
lang: en
|
||||
|
||||
# ---------------------------------------------------------------------
|
||||
# Site Authentication
|
||||
# ---------------------------------------------------------------------
|
||||
@@ -53,6 +60,22 @@ auth:
|
||||
clientId: FACEBOOK_APP_ID
|
||||
clientSecret: FACEBOOK_APP_SECRET
|
||||
|
||||
# ---------------------------------------------------------------------
|
||||
# Secret key to use when encrypting sessions
|
||||
# ---------------------------------------------------------------------
|
||||
# Use a long and unique random string (256-bit keys are perfect!)
|
||||
|
||||
sessionSecret: 1234567890abcdefghijklmnopqrstuvxyz
|
||||
|
||||
# ---------------------------------------------------------------------
|
||||
# Administrator email
|
||||
# ---------------------------------------------------------------------
|
||||
# An admin account will be created using the email specified here.
|
||||
# The password is set to "admin123" by default. Change it immediately
|
||||
# upon login!!!
|
||||
|
||||
admin: admin@company.com
|
||||
|
||||
# ---------------------------------------------------------------------
|
||||
# Database Connection String
|
||||
# ---------------------------------------------------------------------
|
||||
@@ -77,29 +100,6 @@ git:
|
||||
password: MartyMcFly88
|
||||
|
||||
# Only for SSH authentication:
|
||||
publicKey: /etc/requarkswiki/keys/git.pub
|
||||
privateKey: /etc/requarkswiki/keys/git.key
|
||||
sslVerify: true
|
||||
|
||||
# ---------------------------------------------------------------------
|
||||
# Secret key to use when encrypting sessions
|
||||
# ---------------------------------------------------------------------
|
||||
# Use a long and unique random string (256-bit keys are perfect!)
|
||||
|
||||
sessionSecret: 1234567890abcdefghijklmnopqrstuvxyz
|
||||
|
||||
# ---------------------------------------------------------------------
|
||||
# Administrator email
|
||||
# ---------------------------------------------------------------------
|
||||
# An admin account will be created using the email specified here.
|
||||
# The password is set to "admin123" by default. Change it immediately
|
||||
# upon login!!!
|
||||
|
||||
admin: admin@company.com
|
||||
|
||||
# ---------------------------------------------------------------------
|
||||
# Site Language
|
||||
# ---------------------------------------------------------------------
|
||||
# Possible values: en, fr
|
||||
|
||||
lang: en
|
||||
publicKey: /etc/wiki/keys/git.pem
|
||||
privateKey: /etc/wiki/keys/git.pem
|
||||
sslVerify: true
|
||||
+10
-4
@@ -167,10 +167,16 @@ router.get('/*', (req, res, next) => {
|
||||
}
|
||||
return true;
|
||||
}).error((err) => {
|
||||
res.render('error-notexist', {
|
||||
message: err.message,
|
||||
newpath: safePath
|
||||
});
|
||||
|
||||
if(safePath === 'home') {
|
||||
res.render('pages/welcome');
|
||||
} else {
|
||||
res.render('error-notexist', {
|
||||
message: err.message,
|
||||
newpath: safePath
|
||||
});
|
||||
}
|
||||
|
||||
}).catch((err) => {
|
||||
res.render('error', {
|
||||
message: err.message,
|
||||
|
||||
+2
-2
@@ -206,11 +206,11 @@ gulp.task('dev', function() {
|
||||
*/
|
||||
gulp.task('deploy', ['scripts', 'css', 'fonts'], function() {
|
||||
var zipStream = gulp.src(paths.deploy)
|
||||
.pipe(zip('requarks-wiki.zip'))
|
||||
.pipe(zip('wiki-js.zip'))
|
||||
.pipe(gulp.dest('dist'));
|
||||
|
||||
var targzStream = gulp.src(paths.deploy)
|
||||
.pipe(tar('requarks-wiki.tar'))
|
||||
.pipe(tar('wiki-js.tar'))
|
||||
.pipe(gzip())
|
||||
.pipe(gulp.dest('dist'));
|
||||
|
||||
|
||||
+12
-12
@@ -59,18 +59,18 @@
|
||||
"i18next-node-fs-backend": "^0.1.3",
|
||||
"js-yaml": "^3.7.0",
|
||||
"lodash": "^4.17.2",
|
||||
"markdown-it": "^8.1.0",
|
||||
"markdown-it": "^8.2.1",
|
||||
"markdown-it-abbr": "^1.0.4",
|
||||
"markdown-it-anchor": "^2.5.1",
|
||||
"markdown-it-anchor": "^2.6.0",
|
||||
"markdown-it-attrs": "^0.8.0",
|
||||
"markdown-it-emoji": "^1.3.0",
|
||||
"markdown-it-expand-tabs": "^1.0.11",
|
||||
"markdown-it-external-links": "0.0.6",
|
||||
"markdown-it-footnote": "^3.0.1",
|
||||
"markdown-it-task-lists": "^1.4.1",
|
||||
"moment": "^2.17.0",
|
||||
"moment-timezone": "^0.5.9",
|
||||
"mongoose": "^4.6.8",
|
||||
"moment": "^2.17.1",
|
||||
"moment-timezone": "^0.5.10",
|
||||
"mongoose": "^4.7.2",
|
||||
"multer": "^1.2.0",
|
||||
"passport": "^0.3.2",
|
||||
"passport-facebook": "^2.1.1",
|
||||
@@ -90,7 +90,7 @@
|
||||
"snyk": "^1.19.1",
|
||||
"socket.io": "^1.6.0",
|
||||
"sticky-js": "^1.0.7",
|
||||
"validator": "^6.0.0",
|
||||
"validator": "^6.2.0",
|
||||
"validator-as-promised": "^1.0.2",
|
||||
"winston": "^2.3.0"
|
||||
},
|
||||
@@ -104,7 +104,7 @@
|
||||
"font-awesome": "^4.6.3",
|
||||
"gulp": "^3.9.1",
|
||||
"gulp-babel": "^6.1.2",
|
||||
"gulp-clean-css": "^2.0.13",
|
||||
"gulp-clean-css": "^2.2.0",
|
||||
"gulp-concat": "^2.6.1",
|
||||
"gulp-gzip": "^1.4.0",
|
||||
"gulp-include": "^2.3.1",
|
||||
@@ -120,15 +120,15 @@
|
||||
"jquery-contextmenu": "^2.2.4",
|
||||
"jquery-simple-upload": "^1.0.0",
|
||||
"jquery-smooth-scroll": "^2.0.0",
|
||||
"merge-stream": "^1.0.0",
|
||||
"mocha": "^3.1.2",
|
||||
"merge-stream": "^1.0.1",
|
||||
"mocha": "^3.2.0",
|
||||
"mocha-lcov-reporter": "^1.2.0",
|
||||
"nodemon": "^1.11.0",
|
||||
"run-sequence": "^1.2.2",
|
||||
"snyk": "^1.20.0",
|
||||
"sticky-js": "^1.1.5",
|
||||
"snyk": "^1.21.2",
|
||||
"sticky-js": "^1.1.6",
|
||||
"twemoji-awesome": "^1.0.4",
|
||||
"vue": "^2.1.0"
|
||||
"vue": "^2.1.4"
|
||||
},
|
||||
"snyk": true
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
// ===========================================
|
||||
// REQUARKS WIKI
|
||||
// Wiki.js
|
||||
// 1.0.0
|
||||
// Licensed under AGPLv3
|
||||
// ===========================================
|
||||
@@ -19,7 +19,7 @@ if(IS_DEBUG) {
|
||||
// ----------------------------------------
|
||||
|
||||
global.winston = require(CORE_PATH + 'core-libs/winston')(IS_DEBUG);
|
||||
winston.info('[SERVER] Requarks Wiki is initializing...');
|
||||
winston.info('[SERVER] Wiki.js is initializing...');
|
||||
|
||||
// ----------------------------------------
|
||||
// Load global modules
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
nav.nav.stickyscroll#header
|
||||
.nav-left
|
||||
block rootNavLeft
|
||||
//a.nav-item(href='/')
|
||||
img(src='/favicons/android-icon-96x96.png', alt='Wiki')
|
||||
a.nav-item(href='/')
|
||||
h1
|
||||
i.icon-layers
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
extends ../layout.pug
|
||||
|
||||
block rootNavCenter
|
||||
|
||||
block rootNavRight
|
||||
i.nav-item#notifload
|
||||
|
||||
block content
|
||||
|
||||
#page-type-welcome
|
||||
.container
|
||||
.welcome
|
||||
img(src='/favicons/android-icon-144x144.png',alt='Wiki.js')
|
||||
h1 Welcome to your Wiki.js!
|
||||
h2 Let's get started and create the home page.
|
||||
a.button.is-indigo(href='/create/home') Create Home Page
|
||||
Reference in new issue
Block a user