mb
4df5594d20
shortening the expanded intro a bit
2 years ago
mb
6baa9848bc
adding a snippet from the Fiber presentation to the README
2 years ago
mb
39bdedede7
add trailing slashes to routes
2 years ago
mb
7b7376b254
updates to the default texts, including a short intro of octomode and the default varia pad text
2 years ago
mb
c5f8aa8beb
switching to development mode
2 years ago
mb
d07270ec9d
adding dotenv to requirements, switching to using .env file for the settings
2 years ago
mb
8068ed312b
do not track the env file
2 years ago
mb
14eaa2ed67
Merge branch 'master' of ssh://vvvvvvaria.org:12345/varia/octomode
2 years ago
mb
117b1e1691
prob a very hacky way to do it but it seems to work
2 years ago
mb
40646687a7
typo in line that checks if the octomode API key env variable is set
2 years ago
mb
67fe8b0828
adding the option to store environment variables in a text file :)
2 years ago
mb
03c315399b
'README.md' updaten
2 years ago
mb
69bdef9825
copying the octomode install guide from Rosa
2 years ago
mb
4679aad488
'README.md' updaten
2 years ago
mb
d67280cf30
restructuring the README from "install octomode locally" to "install octomode"
2 years ago
mb
3a512b1cf2
adding the config.py option to save environment variables
2 years ago
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