1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00
Commit Graph

536 Commits

Author SHA1 Message Date
Daniel Heath
3b91b699e3 Add 'tomlo', configure cowyo via TOML 2018-05-27 21:51:33 +10:00
Daniel Heath
f567f86bab Remove unused property 2018-05-27 21:49:55 +10:00
Daniel Heath
0e93250cc9 Remove dud log line 2018-05-27 21:49:43 +10:00
Daniel Heath
82d5ac908d Always name the cookie "_session" 2018-05-27 21:49:34 +10:00
Daniel Heath
7a61b16e7a Add TOML library 2018-05-27 21:49:05 +10:00
Daniel Heath
f86dc1095a Make the max document length configurable 2018-05-02 16:27:35 +10:00
Daniel Heath
a976007642 Fixup: Debug mode broken 2018-04-30 20:19:11 +10:00
Zack
180a28cda6
Merge pull request #133 from DanielHeath/master
Make cowyo separately mountable
2018-04-30 02:19:23 -07:00
Daniel Heath
08bbce1298 Move main back to root 2018-04-28 19:55:15 +10:00
Daniel Heath
e53123d8fa Add herdyo command for an example of a multisite 2018-04-28 19:54:44 +10:00
Daniel Heath
d48d1458a5 Make save mutex per-site 2018-04-28 19:32:48 +10:00
Daniel Heath
d9b8bfc95d Remove final global var 2018-04-28 19:29:35 +10:00
Daniel Heath
bc1a9ee86b Remove global logger 2018-04-28 12:30:13 +10:00
Daniel Heath
f4f5042245 Remove sitemapUpToDate global 2018-04-28 12:19:43 +10:00
Daniel Heath
d095915f83 One more global 2018-04-28 12:16:10 +10:00
Daniel Heath
c2cd54a12d Killing globals 2018-04-28 12:13:19 +10:00
Daniel Heath
2e80633cd4 Kill more globals 2018-04-28 12:12:10 +10:00
Daniel Heath
9cf0d0e129 Remove maxupload global 2018-04-28 12:10:47 +10:00
Daniel Heath
ede4d1fba3 Pass in a session store so they can be shared 2018-04-28 12:09:08 +10:00
Daniel Heath
ff5c100cf8 Fixup tests 2018-04-28 11:58:26 +10:00
Daniel Heath
465e9c8e93 Move serving and CSS reading out of Site 2018-04-28 11:56:07 +10:00
Daniel Heath
0d984da5b2 Move serve params into a struct 2018-04-28 11:42:51 +10:00
Daniel Heath
8944170646 Initial split (towards a separately mountable cowyo) 2018-04-28 11:32:08 +10:00
Zack Scholl
f21c89f7bd update dependencies 2018-04-22 05:51:19 -06:00
Zack Scholl
91178f4f29 bug fix: need to add custom funcs when using assets 2018-04-19 20:59:14 -07:00
Zack Scholl
8bc1123f1d display the filename when uploading 2018-04-19 20:55:08 -07:00
Zack Scholl
5d0523117b bump version 2018-04-18 00:10:38 -07:00
Zack Scholl
6e1d64b40e bump version 2018-04-18 00:09:28 -07:00
Zack
f9b8713404
Merge pull request #129 from DanielHeath/master
Fix sitemaps, make brute-forcing access codes harder
2018-04-18 00:05:06 -07:00
Daniel Heath
fc3030339f Add "/uploads" to list all uploaded files 2018-04-01 11:31:26 +10:00
Daniel Heath
df406ec71b Raw pages are always shown text/plain (fix #127) 2018-04-01 10:06:51 +10:00
Daniel Heath
2a43ebdb53 Upgrade dependencies 2018-03-31 15:30:04 +11:00
Daniel Heath
d9e622fa9d Sitemap includes the request host/port, fixes #125 2018-03-31 14:34:15 +11:00
Daniel Heath
446ba00fe9 Remove .DS_Store from bindata 2018-03-31 14:34:15 +11:00
Daniel Heath
f729aece51 Run gofmt when building assets 2018-03-31 14:34:14 +11:00
Daniel Heath
e5dfacb4bb Update to latest teeny-security: Makes brute-forcing access codes much harder 2018-03-31 14:34:14 +11:00
Zack
2373e339d0
Merge pull request #119 from katomaso/feature/lock-per-session
Lock page with respect to session
2018-03-26 23:19:53 -07:00
Tomas Peterka
c64e54a991 Lock page with respect to session 2018-03-11 23:46:29 +01:00
Zack
f350d0bbad
Update README.md 2018-02-20 07:30:13 -08:00
Zack
308244cfa4
Update README.md 2018-02-20 07:29:59 -08:00
Zack
50624e75e9
Merge pull request #117 from DanielHeath/implement-file-uploads
Implement file upload / download, fix #77
2018-02-20 05:54:09 -08:00
Daniel Heath
efd4cfb0d1 Implement file upload / download, fix #77 2018-02-20 21:04:33 +11:00
Zack Scholl
4ebf9e02ef Allow center 2018-02-18 12:04:23 -08:00
Zack Scholl
c1a78c2006 can not -> cannot 2018-02-18 11:59:46 -08:00
Zack Scholl
8a4ba13506 Change default stylesheet 2018-02-18 11:50:02 -08:00
Zack
c78dec28eb
Merge pull request #115 from DanielHeath/split-bindata
Remove unused cgo and split debug/non-debug asset builds
2018-02-18 11:34:39 -08:00
Zack
0f8e572d43
Merge pull request #116 from DanielHeath/run-gofmt
Run gofmt
2018-02-18 11:34:16 -08:00
Zack Scholl
1720711029 Self destruct with published messages works 2018-02-18 11:33:32 -08:00
Zack Scholl
3c53386e08 Debounce works 2018-02-18 11:33:23 -08:00
Zack
9d4fcae7b2
Merge pull request #118 from DanielHeath/tidy-logging-statement
Remove logging statement
2018-02-15 19:30:56 -08:00