Coder Social home page Coder Social logo

liberty-engine's Introduction

LibertyEngine

Build Status

Table of Contents

Requirements

  • The latest version (10+) of Node.js
  • MariaDB version 10+
    • Mroonga storage engine for fulltext search. sudo apt install mariadb-plugin-mroonga
  • Nginx
  • Redis (optional)

Installation (Ubuntu / Debian)

# install dependencies
sudo apt update
sudo apt install mariadb-server
sudo apt install mariadb-plugin-mroonga
sudo apt install nginx
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt install nodejs
# install LibertyEngine
git clone https://github.com/librewiki/liberty-engine.git
cd liberty-engine
npm i
npm run setup

Start

npm start

Stop

npm stop

Upgrade

git pull
npm run upgrade

Development

npm run dev # runs API development server at http://localhost:3001

Migration from Mediawiki (experimental)

bin/import-from-mw < your_mw_dump_file.xml

When Mroonga related error occurs

sudo mysql
mysql> INSTALL SONAME 'ha_mroonga';

liberty-engine's People

Contributors

dependabot-preview[bot] avatar nessunkim avatar revi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

liberty-engine's Issues

내역 상세화

차단내역, 넘겨주기내역 등을 더 추가합시다.
그 어디 읍읍읍읍 엔진 만드시는 분이 난리를 쳐놔서 감당이 안됩니다.

목차 접기 기능 추가

미디어위키, 나무마크에는 없는 목차 접기 기능을 추가하면 좋은 결과가 나타날 것이라고 생각합니다.
목차가 매우 긴 문서들 혹은 목차를 접으면 더 보기 좋아지는 문서들은 리브레 위키에 꽤 존재하니까 요긴하게 쓸 수 있을
것 같네요.

Please add option to use mail service api.

Like mailgun, Amazon SES, Sendgrid, and others that provide sending automated mail, their are provide api that for send mail. i think that will needed to this engine, because that used by many other web services even librewiki.

Cannot customize api port.

I tried to set api port to 9001, and view port to 9000 (for accept server rules)
but view trying to connect 3001 port to connect to api server.

$ curl localhost:9001
curl: (7) Failed to connect to localhost port 9001: Connection refused
$ curl localhost:9000
{
  "status": 500,
  "message": "connect ECONNREFUSED 127.0.0.1:3001",
  "name": "NuxtServerError"
}$ curl localhost:3001
curl: (7) Failed to connect to localhost port 3001: Connection refused

i edited ecosystem.config.js. view port successfully changed, but api server won't response at any port.

Auth services

General

  • Multi-Factor Authorization (Email, SMS, Time-based, or etc...)
  • SSO (Single Sign-On)

OAuth

  • OAuth Server
  • OAuth Client

엔진 설치에 오류가 있습니다.

default

전에는 분명 설치 과정대로 해서 위키가 제대로 열렸는데 지금은 nginx 초기 화면만 계속 뜹니다.
가상 서버에서 설치 한번 테스트해주시고 오류가 있는지 확인 부탁드립니다.

토론 블라인드 & 역할 삭제 기능

관리자가 작성된 토론, 토론 댓글을 삭제하거나 블라인드 하는 기능이 있어야할것 같습니다. 토론에 관리 기능이 없어서 부적절한 활동으로 악용할 여지가 있습니다.

리다이렉트 악용 근절

  1. 리다이렉트 추가/삭제도 편집기록에 뜨게
  2. 리다이렉트 삭제에 선택상자 넣어서 광역으로 삭제할수있게

미디어위키에서 이전

미디어위키에서 리버티 엔진으로 이전 할 수 있는 방법이 존재한가요? 그냥 하나하나씩 옮기는 방법 밖에는 없는 건가요?

수식 에러 발생

KaTeX 판올림 때문으로 추정 (0.9.0-alpha -> 0.9.0-alpha1)

const katex = require('katex').default;const katex = require('katex');로 수정하면 작동.

By CrMT@librewiki

ACL (원본보기) 오류

ACL 권한이 없는 사용자가 ACL 이 걸려있는 문서를 원본보기 하면, 일반 편집할 때와 똑같이 편집요약 창과 저장 버튼이 있습니다.

하지만 저장 버튼은 작동하지 않고, 편집요약은 써지기는 하나 저장이 안 되기에 그렇게 큰 문제가 되지는 않습니다.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.