matterwiki / matterwiki Goto Github PK
View Code? Open in Web Editor NEWA simple and beautiful wiki for teams
Home Page: http://matterwiki.com
License: MIT License
A simple and beautiful wiki for teams
Home Page: http://matterwiki.com
License: MIT License
There are some pages that can/should be public (even for teams)
Example:
Currently the articles are only sorted by date of last change. For some topics it would be better to have also a manual or alphabetic sorting available to structure the content better (e.g. sorting by importance)
Updated user account details and was surprised to find that, instead of what I assume a bcrypt'ed password I found it sitting in the db in plaintext.
I'm using MySQL btw with the latest Matterwiki version on Ubuntu Xenial.
Having the ability to easily use an SSL certificate would be really cool. Ideally it would be easy to use one from Let's Encrypt.
It would be good if the knowledge is searchable.
Last updated on Invalid Date
shows below the post's name (in every view)
when a user is removed, Matterwiki should find a new user_id for his articles, or remove them altogether...
Would love to have a search function to search across all categories for a certain article.
What do you think?
Hi there,
I've set up a fresh Ubuntu 16.04 server with npm version 3.5.2 and nodes 4.2.6.
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs bcrypt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls bcrypt
npm ERR! There is likely additional logging output above.
I've also attached the nom-log from the matter wiki directory.
npm-debug.log.zip
Are there any plans for translation or can I make translations for my own?
Would like to use matterwiki in german ...
Hi
It would be great to restrict users from accessing topics unrelated to them.
The application should refuse to start with the "factory default" signing secret, in order to prevent users who don't understand JWT from accidentally breaking the authentication system. This could alternatively only be enforced if the listening address isn't local host, which may be a good compromise to ease the development process.
I just setup a Matterwiki on my Debian system, when tried to run it. I got the warning.
Knex:warning - SQLite3 Foreign & Primary keys may only be added on create
Knex:warning - SQLite3 Foreign & Primary keys may only be added on create
Knex:warning - SQLite3 Foreign & Primary keys may only be added on create
Trying to ignore the warn, but I got this when trying to create an account
Unhandled rejection Error: insert into "users" ("about", "email", "id", "name", "password") values ('The boss', '[email protected]', 1, 'username', '$2a$10$YYfPRGDnszvNXMpOLiea3uwqABCDEFGHIJKBlyA8qvj3mLAq') - SQLITE_CONSTRAINT: UNIQUE constraint failed: users.id
at Error (native)
Not having the overhead of setup would be great.
I'm getting the following error when attempting to run the wiki configured with MySQL:
Knex:warning - migrations failed with error: create table `articles` (`id` int unsigned not null auto_increment primary key, `title` varchar(255), `body` text, `created_at` timestamp not null default
(datetime(CURRENT_TIMESTAMP,'localtime')), `updated_at` timestamp not null default (datetime(CURRENT_TIMESTAMP,'localtime'))) - ER_PARSE_ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(datetime(CURRENT_TIMESTAMP,'localtime')), `updated_at` timestamp not null defau' at line 1
Unhandled rejection Error: ER_PARSE_ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(datetime(CURRENT_TIME
STAMP,'localtime')), `updated_at` timestamp not null defau' at line 1
Any thoughts? Could it be the function in misc.js
?
Great project - I'm hoping to use this for our new company dev wiki.
[email protected] wants webpack@^2.2.0
npm verb cwd /home/landyu/work/matterwiki
npm ERR! Linux 3.11.0-15-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--verbose"
npm ERR! node v4.7.0
npm ERR! npm v2.15.11
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants webpack@1 || ^2.1.0-beta || ^2.2.0-rc.0
npm ERR! peerinvalid Peer [email protected] wants webpack@1 || 2 || ^2.1.0-beta || ^2.2.0-rc
npm ERR! peerinvalid Peer [email protected] wants webpack@^2.2.0
There seems to be a limit on article length. For testing I copied this https://www.digitalocean.com/community/tutorials/how-to-set-up-multi-factor-authentication-for-ssh-on-ubuntu-16-04 Digital Ocean article in a new wiki article. Less than half of the article was published. It would be great if there is no limit on the article length.
Moving from article to article requires you to click back button all the time. It's frustrating.
The project is really unfriendly for many Windows users, especially for those who know little about programming: they may use this for introducing their college societies, prepare their company introductions, etc.
Here's the error log:
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"freebsd","arch":"x64"})
npm ERR! FreeBSD 11.0-RELEASE-p2
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v7.5.0
npm ERR! npm v4.1.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the sqlite3 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs sqlite3
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls sqlite3
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/user/wiki/npm-debug.log
Full debug log: http://sprunge.us/BFIf
I'm not sure why script builds it's own sqlite3 package when all platforms have their own package?
Could anyone assist, please? Thanks in advance!
Opening links in the wiki in a new tab instead of replacing the page that the user is currently reading. Thoughts?
Hi,
If I create a Topic with name "Server Test" and then try to create another topic with name "Server Documents" the 2nd topic is not created.
Please help in resolving.
Thanks
Dan
type in the content:
const a = () => { console.log('...')}
and save. It only saves const a = () =
.
What is the default user and password? I am assuming there is one, as going to localhost:5000/#/setup presents me with a login screen, nothing else.
Do you plan to develop tags for every article?
When do you release the user system, for example, change password.
Almost all of our wiki docs are in Markdown. It'd be great if it was easy to port them and write anew in Markdown.
Creating a live demo that can be interacted with at first, would definitely help people getting to know the platform before installation.
Might even be some sort of read-only if easier/possible, just to give the reader an idea of how it all works.
This issue has been mentioned on both Reddit and Producthunt, just thought I would add it properly here as well to help track it :)
Instead of adding members, it could be easier to let them login with github
Access control can still work with orgs. If user is from white listed org, then allow, otherwise reject.
If I create a document that includes an ampersand character, the copy will be truncated at that point and the rest won't be saved.
I develop on windows and i've had problems with bcrypt pretty much every time it's used, can't even install it properly.
There's a library that is from what i've seen a drop-in replacement with zero dependencies (bcrypt has gigs of them for windows users and then even those don't work properly).
After a bit of frustration with trying to use bcrypt yet again, i decided to just uninstall it from my matterwiki installation, replaced it with bcryptjs, changed the 3 requires and it's working now.
Just thought i'd leave it as a suggestion.
title :)
Hello friends,
I'm working on some design updates for the Matterwiki app in my spare-spare time. In the process, ended up working on a new brand/logo concept to go with the UI updates.
Wanted to share it with everyone for thoughts or input. @nshntarora hope you like it!
Hi,
Ive just installed following your guide. However when browsing to: 127.0.0.1:5000/#/setup. I get sent to the login page :(
How can I create the first user?
Thanks
Dan
I'd like my wiki to be visible to the outside world, but all else stay the same
Instead of require
npm run build - failed with the following error. MacBookPro
<replaced the folder path by ~/app in the logs below.>
`
[email protected] build ~/app/Matterwiki
cross-env NODE_ENV=production webpack --config ./webpack.config.prod.js --progress --profile --colors
/app/Matterwiki/node_modules/cross-env/dist/index.js:58
var envVars = Object.assign({}, process.env);
^
TypeError: Object function Object() { [native code] } has no method 'assign'
at getCommandArgsAndEnvVars (/app/Matterwiki/node_modules/cross-env/dist/index.js:58:24)
at crossEnv (/app/Matterwiki/node_modules/cross-env/dist/index.js:22:35)
at Object. (/app/Matterwiki/node_modules/cross-env/bin/cross-env.js:3:19)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3
npm ERR! [email protected] build: cross-env NODE_ENV=production webpack --config ./webpack.config.prod.js --progress --profile --colors
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is most likely a problem with the Matterwiki package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cross-env NODE_ENV=production webpack --config ./webpack.config.prod.js --progress --profile --colors
npm ERR! You can get their info via:
npm ERR! npm owner ls Matterwiki
npm ERR! There is likely additional logging output above.
`
Article comments would be a nice addition.
Matterwiki is a complex application.
I propose to write e2e tests and setup CI on travis
or appveyor
.
I can do this using testcafe.
What do you think about it?
It would be great if we can support hosting on Firebase. If we already support that, it would be great if you can show me how, or link me some reference that I can find out how to do it by myself.
Thanks !
I didn't see this in the readme and I think it could be useful to others. I followed your setup instructions on a fresh Ubuntu box, and besides a few dependency problems (the sqlite version was incompatible with the node version), the only real problem I have is that the server doesn't stay "online". I don't know if you have a recommendation for this but if you have any tips on how to get this to stay up I'd love to hear it. I don't know if maybe I did something wrong, maybe I need to set up some kind of uptime daemon, or what, but I constantly have to ssh into the box and run node index
to start the server up again. Also, it defaulted to port 5000 and I couldn't find in the readme where to change this default port. Any tips for these 2 issues?
Hi,
I'm new to use vps to run project. I really like how matterwiki looks. XD
When I run npm run build.
Below is my problems.
`
co@ubuntu:~/matterwiki$ npm run build
[email protected] build /home/connor/matterwiki
cross-env NODE_ENV=production webpack --config ./webpack.config.prod.js --progress --profile --colors
sh: 1: cross-env: not found
npm ERR! Linux 4.4.0-57-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "build"
npm ERR! node v6.9.4
npm ERR! npm v4.1.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] build: cross-env NODE_ENV=production webpack --config ./webpack.config.prod.js --progress --profile --colors
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] build script 'cross-env NODE_ENV=production webpack --config ./webpack.config.prod.js --progress --profile --colors'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the Matterwiki package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cross-env NODE_ENV=production webpack --config ./webpack.config.prod.js --progress --profile --colors
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs Matterwiki
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls Matterwiki
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/co/matterwiki/npm-debug.log
`
I do have the node version 6.9.4
and npm version 4.1.2
Could you tell me what happen ?
Thank you
I've run the following but now nothing happens anymore.
npm run build
> [email protected] build /var/www/vhosts/fachinformatiker-wiki.de/httpdocs/matterwiki
> webpack -p
> Hash: 01c87c3d8a7aa4a49157
> Version: webpack 1.13.2
> Time: 14783ms
Asset Size Chunks Chunk Names
> bundle.js 369 kB 0 [emitted] main
+ 262 hidden modules
node index
> The magic is happening on port 5000
Calling my url turns out in "403 Forbidden"
Hey,
I've had the following two errors when either adding or saving users.
1|index | Unhandled rejection CustomError: No Rows Updated
1|index | at Child.<anonymous> (/root/matterwiki/node_modules/bookshelf/lib/model.js:1020:19)
1|index | at Child.tryCatcher (/root/matterwiki/node_modules/bluebird/js/main/util.js:26:23)
1|index | at Promise._settlePromiseFromHandler (/root/matterwiki/node_modules/bluebird/js/main/promise.js:510:31)
1|index | at Promise._settlePromiseAt (/root/matterwiki/node_modules/bluebird/js/main/promise.js:584:18)
1|index | at Async._drainQueue (/root/matterwiki/node_modules/bluebird/js/main/async.js:128:12)
1|index | at Async._drainQueues (/root/matterwiki/node_modules/bluebird/js/main/async.js:133:10)
1|index | at Immediate.Async.drainQueues (/root/matterwiki/node_modules/bluebird/js/main/async.js:15:14)
1|index | at runCallback (timers.js:651:20)
1|index | at tryOnImmediate (timers.js:624:5)
1|index | at processImmediate [as _immediateCallback] (timers.js:596:5)
1|index | Unhandled rejection TypeError: res.json(...).catch is not a function
1|index | at Child.<anonymous> (/root/matterwiki/api/users.js:118:13)
1|index | at Child.tryCatcher (/root/matterwiki/node_modules/bluebird/js/main/util.js:26:23)
1|index | at Promise._settlePromiseFromHandler (/root/matterwiki/node_modules/bluebird/js/main/promise.js:510:31)
1|index | at Promise._settlePromiseAt (/root/matterwiki/node_modules/bluebird/js/main/promise.js:584:18)
1|index | at Async._drainQueue (/root/matterwiki/node_modules/bluebird/js/main/async.js:128:12)
1|index | at Async._drainQueues (/root/matterwiki/node_modules/bluebird/js/main/async.js:133:10)
1|index | at Immediate.Async.drainQueues (/root/matterwiki/node_modules/bluebird/js/main/async.js:15:14)
1|index | at runCallback (timers.js:651:20)
1|index | at tryOnImmediate (timers.js:624:5)
The font is very pretty for the most part, but the number one is far too similar to a capital i.
Matterwiki runs well if I "npm start".
But when I try to keep it running with PM2, Matterwiki shows "Pool is destroyed".
I just use PM2 to run the index.js file, do I need to run other files?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.