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 !!! NOT WORKING !!!

Currently produces an error!!!

Step 1 - Pre_Requisites

Evewiki is an App for Alliance Auth, Please make sure you have this installed. Evewiki is not a standalone Django Application

Step 2 - Install app

pip install evewiki

Step 3 - Configure Auth settings

Configure your Auth settings (local.py) as follows:

  • Add the following INSTALLED_APPS in local.py
'evewiki',

Development

This has instructions on how to circumvent the installation issue on a dev environment

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.dev2.tar.gz (15.6 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.dev2-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: evewiki-0.0.1.dev2.tar.gz
  • Upload date:
  • Size: 15.6 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.dev2.tar.gz
Algorithm Hash digest
SHA256 b1e655325a2edf9a0918eb1339c7eb34b605e0fce26cd0c8bc2e8f8aa179901e
MD5 7c4b8af01bc5ccc23e2bde2630629676
BLAKE2b-256 2adee9d744780a67fe339bbac9436693a917b2f68d6d64521b0115997fc35a86

See more details on using hashes here.

File details

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

File metadata

  • Download URL: evewiki-0.0.1.dev2-py3-none-any.whl
  • Upload date:
  • Size: 20.2 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.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 c18ec59e7c6262e8dd35bea28eb08b9c9293c26848133fe9abd037dec9c1ce5f
MD5 3590e985f4b9af3f7e94da09c4dca137
BLAKE2b-256 e18ff3314a2d5495d987acd9675bb9d18a63976465c6f3f8959fa4d94fcf98e6

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