Commit Graph

8 Commits

Author SHA1 Message Date
mb
7601797445 very wip: adding template pad + links next to buttons + different background color for this branch to see the difference 2023-11-29 19:06:13 +01:00
mb
34930a5808 fixing the CSS link in the HTML preview (thanks Martino) 2022-11-02 13:54:45 +01: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
44818d981c adding application_root urls + default metadata 2022-03-11 18:00:22 +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
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
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