Commit Graph

98 Commits

Author SHA1 Message Date
mb
f3c3fd4a66 writing octomode in all lowercase after amy's question about it 2023-01-06 13:04:53 +01:00
mb
21b2522a65 adding application root back in loop again, as the HTML and PDF views break when using an URL prefix..... 2022-12-08 19:52:09 +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
ecd7860676 make octomode.vvvvvvaria.org/name/ work with a trailing slash 2022-11-02 13:51:03 +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
4df5594d20 shortening the expanded intro a bit 2022-10-30 22:14:53 +01:00
mb
6baa9848bc adding a snippet from the Fiber presentation to the README 2022-10-30 22:13:29 +01:00
mb
39bdedede7 add trailing slashes to routes 2022-10-30 22:10:47 +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
mb
c5f8aa8beb switching to development mode 2022-10-30 21:40:12 +01:00
mb
d07270ec9d adding dotenv to requirements, switching to using .env file for the settings 2022-10-30 21:27:36 +01:00
mb
8068ed312b do not track the env file 2022-10-30 21:25:09 +01:00
mb
14eaa2ed67 Merge branch 'master' of ssh://vvvvvvaria.org:12345/varia/octomode 2022-10-30 16:01:48 +01:00
mb
117b1e1691 prob a very hacky way to do it but it seems to work 2022-10-30 16:01:41 +01:00
mb
40646687a7 typo in line that checks if the octomode API key env variable is set 2022-10-30 15:51:35 +01:00
mb
67fe8b0828 adding the option to store environment variables in a text file :) 2022-10-30 15:28:03 +01:00
mb
03c315399b 'README.md' updaten 2022-10-12 12:05:45 +02:00
mb
69bdef9825 copying the octomode install guide from Rosa 2022-10-12 11:55:36 +02:00
mb
4679aad488 'README.md' updaten 2022-10-12 11:48:08 +02:00
mb
d67280cf30 restructuring the README from "install octomode locally" to "install octomode" 2022-10-12 11:46:17 +02:00
mb
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
mb
79e001cb84 'README.md' updaten 2022-07-11 14:36:37 +02:00
mb
2ce4dbed83 'README.md' updaten 2022-06-24 11:45:10 +02:00
mb
2b5100be86 'README.md' updaten 2022-04-12 09:20:43 +02:00
mb
c57ceb98ff adding a note about using the same browser when working on a PDF 2022-04-12 09:19:24 +02:00
mb
e88f617134 adding a note to recommend using firefox when using octomode locally 2022-04-12 09:16:47 +02:00
mb
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