Skip to main content

Wiki plugin app for Alliance Auth.

Project description

aa-wiki

Wiki plugin for AllianceAuth to curate content.

Features

  • Create and organise pages in a hierarchical structure using slugs
  • Supports markdown with both rich and raw editing modes
  • Version History
  • Event logging
  • Restrict content by user's groups and/or states

Permissions

Users need to have at least basic_access interactions with the application

Name Description
basic_access Basic access to load content
editor_access Grant the necessary controls and access to edit content

Settings

List of settings that can be modified for the application You can alter them by adding a record to the Settings section/table in the evewiki section of the Admin site

Name Description Default
hierarchy_max_display_depth Limit the depth of the tree for the hierarchy on the main display 10
max_versions No one has infinite disk space, a sensible limit which can be modified to clear down the history 1000

Installation

Assumes setup of AA as per the documentation Final folder structure would look like

aa-dev
├─ aa-docker
└─ aa-wiki

Traverse into the aa-dev folder and clone the repo

git clone https://gitlab.com/cunningdesigns/aa-wiki.git

Traverse to ../aa-docker folder

Bind-mount the plugin-folder in aa-docker/docker-compose.yml

x-allianceauth-base:
  volumes:
    - ../aa-wiki:/home/allianceauth/evewiki

there has to be a better way

Replace aa-wiki/evewiki/views.py with content from example plugin

Comment out lines 11,12 & 14 on aa-wiki/evewiki/urls.py


Start the containers (may require sudo)

docker compose --env-file=.env up -d

Open a terminal in the gunicorn container, initiate the plugin install

docker compose exec allianceauth_gunicorn bash
pip install -e ../evewiki

add evewiki to aa-docker/conf/local.py

Apply migrations and exit

python manage.py migrate

restart AA

docker compose restart allianceauth_gunicorn

there has to be a better way

Remember to undo the modifications to evewiki/evewiki/views.py & evewiki/evewiki/urls.py


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

evewiki-0.0.1.dev1.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

evewiki-0.0.1.dev1-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

Details for the file evewiki-0.0.1.dev1.tar.gz.

File metadata

  • Download URL: evewiki-0.0.1.dev1.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for evewiki-0.0.1.dev1.tar.gz
Algorithm Hash digest
SHA256 96ab0f7fee128dae472ef7a6c01c6245d2462640e00575bcfb1cb2faa52ff089
MD5 bd951fae0996709c85c5ac63a928cfb6
BLAKE2b-256 717b33caf365b28ccf691f305bef798dbf654dcb554ed7660a5108a04ee4eb12

See more details on using hashes here.

File details

Details for the file evewiki-0.0.1.dev1-py3-none-any.whl.

File metadata

  • Download URL: evewiki-0.0.1.dev1-py3-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for evewiki-0.0.1.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 9088ff00b6a953a2718dc03dde36c417f6e80ccbf467e789eed0481a484db4a3
MD5 3b5de8b54f17b2f1449eab8293a2d28a
BLAKE2b-256 57559fa1ec7b9ac10fbf619d06dc168bcfab79b662bb5c4c76f55882d823b897

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page