Commit Graph

30 Commits

Author SHA1 Message Date
19b677273b hacky color separation for riso printing! 2024-01-29 16:08:08 +00:00
mb
d1bb14fab0 adding a podcast mode 2023-11-30 15:27:23 +01:00
d2c9fd6cba sync with server and repo 2023-11-30 13:41:07 +00:00
mb
5520464845 adding the APPLICATION_HOSTNAME to .env + settings.py for now, adding parsing function to list audio files in podcast view, changing order of buttons in nav 2023-11-30 10:53:01 +01:00
mb
916e301615 starting with podcast support + enable dynamic pandoc template from pad, with harcoded app_hostname still (wip) 2023-11-30 10:01:57 +01:00
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
decentral1se
bb23a5c3a9
chore: squash extra whitespace 2023-11-24 14:48:43 +01:00
mb
db7bb5bfce adding support for gunicorn, to allow url's with prefixes 2022-12-01 18:30:19 +01:00
mb
34930a5808 fixing the CSS link in the HTML preview (thanks Martino) 2022-11-02 13:54:45 +01:00
mb
6ba8e1cc47 small interface tweak, to keep octomode on screens smaller than 1290px 2022-10-30 23:29:03 +01:00
mb
0a7526411f editing the default texts, styling and structure of the rendered PDF 2022-10-30 22:27:01 +01:00
mb
7b7376b254 updates to the default texts, including a short intro of octomode and the default varia pad text 2022-10-30 21:57:41 +01:00
decentral1se
faa4c25ccc
fix: use PAD_URL in template files 2022-10-02 19:49:11 +02:00
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
9e1cc8c10f
chore: strip/clean with auto-formatter 2022-10-02 11:40:54 +02: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
4d6c97fb46 adding application_root to post form in the start screen 2022-03-11 16:51:52 +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
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
975b9912bc bending pad2pdf into octomode 2022-01-12 21:27:06 +01:00
5559f4614a Small updates: changing style, loading the pagedjs in the same iframe 2021-06-28 14:53:23 +02:00
87002827e3 This project is an update of the post-scrip interface, now using pagedjs 2021-06-28 14:11:31 +02:00
64e34e41cf uploading this to the git to start sharing this prototype 2021-06-24 14:04:14 +02:00