mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
TiddlyWiki uses almost the same Apache configuration as Feather Wiki, with one difference - disabling gzip for the `HEAD` request. The FreedomBox app for TiddlyWiki is identical to Feather Wiki in every other aspect. - Proxy download through freedombox.org. This serves two purposes: 1. Upstream's website cannot track the IP addresses of FreedomBox users. 2. We can update the versions of the empty quine files without making code changes in FreedomBox. [sunil] - Update description to correct the list of users who can access the app. - Update logo to adhere to the logo guidelines. - Minor styling fix. - Update the copyright on the logo based on information from upstream git repository. Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net> Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
21 lines
747 B
Python
21 lines
747 B
Python
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
"""URLs for the TiddlyWiki app."""
|
|
|
|
from django.urls import re_path
|
|
|
|
from .views import (CreateWikiView, TiddlyWikiAppView, RenameWikiView,
|
|
UploadWikiView, delete)
|
|
|
|
urlpatterns = [
|
|
re_path(r'^apps/tiddlywiki/$', TiddlyWikiAppView.as_view(),
|
|
name='index'),
|
|
re_path(r'^apps/tiddlywiki/create/$', CreateWikiView.as_view(),
|
|
name='create'),
|
|
re_path(r'^apps/tiddlywiki/upload/$', UploadWikiView.as_view(),
|
|
name='upload'),
|
|
re_path(r'^apps/tiddlywiki/(?P<old_name>.+\.html)/rename/$',
|
|
RenameWikiView.as_view(), name='rename'),
|
|
re_path(r'^apps/tiddlywiki/(?P<name>.+\.html)/delete/$', delete,
|
|
name='delete'),
|
|
]
|