decentral1se
9d00038812
chore: strip tabs, auto-formatter
2022-10-02 16:54:13 +02:00
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!
2022-10-02 16:53:25 +02:00
decentral1se
8b4d0905e2
chore: auto-formatter removes tabs/whitespace
2022-10-02 13:59:23 +02:00
decentral1se
d9800c5223
refactor: override config from env
...
Closes varia/octomode#8
2022-10-02 12:08:47 +02:00
decentral1se
9e1cc8c10f
chore: strip/clean with auto-formatter
2022-10-02 11:40:54 +02:00
decentral1se
7816a7bff2
chore: strip/clean with auto-formatter
2022-10-02 11:40:05 +02:00
decentral1se
aaba169e9d
chore: strip/clean with auto-formatter
2022-10-02 11:39:50 +02:00
decentral1se
37964d4a48
fix: don't error out if .venv exists when setting up
2022-10-02 11:37:42 +02:00
decentral1se
0e0df8f5cf
chore: remove newline
2022-10-02 11:34:09 +02:00
decentral1se
46df1b853b
chore: sort requirements
2022-10-02 11:32:47 +02:00
79e001cb84
'README.md' updaten
2022-07-11 14:36:37 +02:00
2ce4dbed83
'README.md' updaten
2022-06-24 11:45:10 +02:00
2b5100be86
'README.md' updaten
2022-04-12 09:20:43 +02:00
c57ceb98ff
adding a note about using the same browser when working on a PDF
2022-04-12 09:19:24 +02:00
e88f617134
adding a note to recommend using firefox when using octomode locally
2022-04-12 09:16:47 +02:00
0f00c0d9d6
adding documentation from rosa to the readme here
2022-04-12 09:12:10 +02:00
b384354e95
typo in path.join
2022-03-11 20:05:18 +01:00
0e7a9c1d45
adding application_root to preview/pdf iframe urls
2022-03-11 20:01:37 +01:00
a7ad64562c
adding application root to main link
2022-03-11 18:35:03 +01:00
fd8b9aca5c
adding application_root to css links
2022-03-11 18:33:47 +01:00
44818d981c
adding application_root urls + default metadata
2022-03-11 18:00:22 +01:00
f7105a30bf
rewriting redirects
2022-03-11 17:52:25 +01:00
4bb1c14abe
removing app_root in flask routes
2022-03-11 17:44:11 +01:00
7fb3e4adee
adding missing url_for
2022-03-11 17:05:47 +01:00
4d6c97fb46
adding application_root to post form in the start screen
2022-03-11 16:51:52 +01:00
a30972e87d
removing the workaround, causes error on octomode that is installed at the varia server
2022-03-10 18:02:08 +01:00
58f4cda11a
typo
2022-03-10 17:55:52 +01:00
0a60da6fea
adding APPLICATION_ROOT to config + workaround for url mapping for non-root URL sitatuions
2022-03-10 17:52:52 +01:00
cedf8058c3
disabled bleach in import statements
2022-03-10 14:13:35 +01:00
de8027f68a
escape() and bleach.clean() are disabled... sanitizing does not render the html at all anymore...
2022-02-22 11:08:14 +01:00
d820006525
adding | safe to the pad_content, now escape() and Markup() are sanitizing the input
2022-02-22 10:47:58 +01:00
7db66e0f6b
adding escape() and Markup()
2022-02-22 10:44:18 +01:00
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}
2022-02-21 18:05:47 +01:00
dc07b810a6
taking out the template snapshot
2022-02-17 16:51:35 +01:00
4b06e36998
Merge branch 'master' of ssh://vvvvvvaria.org:12345/mb/octomode
2022-02-17 16:50:54 +01:00
27e4dd82de
the pagedjs template is fixed now (not editable anymore in the interface) + other changes to the templates
2022-02-17 16:50:47 +01:00
ba7a87ebc9
added bleach to requirements
2022-02-17 16:48:33 +01:00
925ecb7562
template is out of the interface, added markdown and html sanitizers (wip)
2022-02-17 16:48:14 +01:00
2d8ed2fb81
pandoc is not a dependency anymore
2022-02-17 16:47:28 +01:00
b48282343b
Update 'README.md'
2022-02-16 23:24:36 +01:00
30d81f08e1
oops double
2022-02-16 23:24:31 +01:00
00005206f9
Merge branch 'master' of ssh://vvvvvvaria.org:12345/mb/octomode
2022-02-16 23:23:32 +01:00
e6a71e7ca6
adding a snapshot of PDF view
2022-02-16 23:23:27 +01:00
1407a5bcdd
type in snapshot image links
2022-02-16 23:22:40 +01:00
46d8ccb645
adding snapshots
2022-02-16 23:21:39 +01:00
fdc2db6053
adding snapshots
2022-02-16 23:21:04 +01:00
3bec9f9180
made pad URL part of the config
2022-02-16 23:20:37 +01:00
5f84b054c5
added a link to the start base
2022-02-16 23:20:20 +01:00
e815bbbfbf
removed pandoc from the python requirements
2022-02-16 23:20:01 +01:00
0742986e8f
pandoc template issue solved: templates can be read from an URL :); octomode is ready to be used in multiple sessions at the same time now
2022-02-16 23:19:45 +01:00