decentral1se
faa4c25ccc
fix: use PAD_URL in template files
2 years ago
decentral1se
9d00038812
chore: strip tabs, auto-formatter
2 years ago
decentral1se
42e408859b
refactor!: unify slash handling
It is hard to remember to add `/` at the end of the URL when configuring
a new etherpad URL. Also, web server proxies tend to do weird stuff when
you assume that you have a slash on the end of each URL.
So, I took a look at how to avoid doing that. It turns out that both
urljoin / os.path.join are kinda bad for handling URL building. Also,
APPLICATION_ROOT didn't seem that necessary since Flask knows what to do
with a `/` at the start of a URL, so I dropped it.
I think this doesn't break anything!
2 years ago
decentral1se
8b4d0905e2
chore: auto-formatter removes tabs/whitespace
2 years ago
decentral1se
d9800c5223
refactor: override config from env
Closes varia/octomode#8
2 years ago
decentral1se
9e1cc8c10f
chore: strip/clean with auto-formatter
2 years ago
decentral1se
7816a7bff2
chore: strip/clean with auto-formatter
2 years ago
decentral1se
aaba169e9d
chore: strip/clean with auto-formatter
2 years ago
decentral1se
37964d4a48
fix: don't error out if .venv exists when setting up
2 years ago
decentral1se
0e0df8f5cf
chore: remove newline
2 years ago
decentral1se
46df1b853b
chore: sort requirements
2 years ago
mb
79e001cb84
'README.md' updaten
2 years ago
mb
2ce4dbed83
'README.md' updaten
2 years ago
mb
2b5100be86
'README.md' updaten
3 years ago
mb
c57ceb98ff
adding a note about using the same browser when working on a PDF
3 years ago
mb
e88f617134
adding a note to recommend using firefox when using octomode locally
3 years ago
mb
0f00c0d9d6
adding documentation from rosa to the readme here
3 years ago
manetta
b384354e95
typo in path.join
3 years ago
manetta
0e7a9c1d45
adding application_root to preview/pdf iframe urls
3 years ago
manetta
a7ad64562c
adding application root to main link
3 years ago
manetta
fd8b9aca5c
adding application_root to css links
3 years ago
manetta
44818d981c
adding application_root urls + default metadata
3 years ago
manetta
f7105a30bf
rewriting redirects
3 years ago
manetta
4bb1c14abe
removing app_root in flask routes
3 years ago
manetta
7fb3e4adee
adding missing url_for
3 years ago
manetta
4d6c97fb46
adding application_root to post form in the start screen
3 years ago
manetta
a30972e87d
removing the workaround, causes error on octomode that is installed at the varia server
3 years ago
manetta
58f4cda11a
typo
3 years ago
manetta
0a60da6fea
adding APPLICATION_ROOT to config + workaround for url mapping for non-root URL sitatuions
3 years ago
mb
cedf8058c3
disabled bleach in import statements
3 years ago
manetta
de8027f68a
escape() and bleach.clean() are disabled... sanitizing does not render the html at all anymore...
3 years ago
manetta
d820006525
adding | safe to the pad_content, now escape() and Markup() are sanitizing the input
3 years ago
manetta
7db66e0f6b
adding escape() and Markup()
3 years ago
manetta
e257d5359e
using md metadata title field as document name + using pypandoc for the markdown-to-html convertion now to support 'extra' features such as {.classname}
3 years ago
manetta
dc07b810a6
taking out the template snapshot
3 years ago
manetta
4b06e36998
Merge branch 'master' of ssh://vvvvvvaria.org:12345/mb/octomode
3 years ago
manetta
27e4dd82de
the pagedjs template is fixed now (not editable anymore in the interface) + other changes to the templates
3 years ago
manetta
ba7a87ebc9
added bleach to requirements
3 years ago
manetta
925ecb7562
template is out of the interface, added markdown and html sanitizers (wip)
3 years ago
manetta
2d8ed2fb81
pandoc is not a dependency anymore
3 years ago
mb
b48282343b
Update 'README.md'
3 years ago
manetta
30d81f08e1
oops double
3 years ago
manetta
00005206f9
Merge branch 'master' of ssh://vvvvvvaria.org:12345/mb/octomode
3 years ago
manetta
e6a71e7ca6
adding a snapshot of PDF view
3 years ago
mb
1407a5bcdd
type in snapshot image links
3 years ago
manetta
46d8ccb645
adding snapshots
3 years ago
manetta
fdc2db6053
adding snapshots
3 years ago
manetta
3bec9f9180
made pad URL part of the config
3 years ago
manetta
5f84b054c5
added a link to the start base
3 years ago
manetta
e815bbbfbf
removed pandoc from the python requirements
3 years ago