6ba8e1cc47
small interface tweak, to keep octomode on screens smaller than 1290px
2022-10-30 23:29:03 +01:00
0a7526411f
editing the default texts, styling and structure of the rendered PDF
2022-10-30 22:27:01 +01:00
4df5594d20
shortening the expanded intro a bit
2022-10-30 22:14:53 +01:00
6baa9848bc
adding a snippet from the Fiber presentation to the README
2022-10-30 22:13:29 +01:00
39bdedede7
add trailing slashes to routes
2022-10-30 22:10:47 +01:00
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
c5f8aa8beb
switching to development mode
2022-10-30 21:40:12 +01:00
d07270ec9d
adding dotenv to requirements, switching to using .env file for the settings
2022-10-30 21:27:36 +01:00
8068ed312b
do not track the env file
2022-10-30 21:25:09 +01:00
14eaa2ed67
Merge branch 'master' of ssh://vvvvvvaria.org:12345/varia/octomode
2022-10-30 16:01:48 +01:00
117b1e1691
prob a very hacky way to do it but it seems to work
2022-10-30 16:01:41 +01:00
40646687a7
typo in line that checks if the octomode API key env variable is set
2022-10-30 15:51:35 +01:00
67fe8b0828
adding the option to store environment variables in a text file :)
2022-10-30 15:28:03 +01:00
03c315399b
'README.md' updaten
2022-10-12 12:05:45 +02:00
69bdef9825
copying the octomode install guide from Rosa
2022-10-12 11:55:36 +02:00
4679aad488
'README.md' updaten
2022-10-12 11:48:08 +02:00
d67280cf30
restructuring the README from "install octomode locally" to "install octomode"
2022-10-12 11:46:17 +02:00
3a512b1cf2
adding the config.py option to save environment variables
2022-10-12 11:43:07 +02: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
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