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

520 Commits

Author SHA1 Message Date
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
Daniel Heath
db48f1291b Remove unused cgo and split debug/non-debug asset builds
It's now much harder to accidentally build a release with debug or old assets.
2018-02-16 10:54:41 +11:00
Daniel Heath
131a54a682 Gofmt 2018-02-16 10:53:59 +11:00
Daniel Heath
bb475bd924 Remove logging statement 2018-02-16 10:53:01 +11:00
Zack
dfd9aea863
Merge pull request #113 from DanielHeath/master
Make the 'view' link do something helpful
2018-02-09 15:13:08 -08:00
Daniel Heath
9982fb5175 Auth doesn't stop you publishing stuff 2018-02-07 15:09:01 +11:00
Daniel Heath
f5f0bdb3bb Prevent updates from running out-of-order 2018-02-07 14:48:10 +11:00
Daniel Heath
d65eccbe9d Whitespace 2018-01-31 22:38:40 +11:00
Daniel Heath
1a3e891dfd Fixup test 2018-01-31 21:44:15 +11:00
Daniel Heath
917d32f8a5 Support category pages 2018-01-31 16:47:12 +11:00
Daniel Heath
c207077877 Enable hot-template-reloading in development 2018-01-31 16:47:12 +11:00
Daniel Heath
5e4a317b10 Split inline CSS & javascript into their own files 2018-01-31 16:47:12 +11:00
Daniel Heath
da6d6e5d43 Avoid overwriting others work (fix #107) 2018-01-31 16:47:10 +11:00
Daniel Heath
d0bc74ec55 Only save the page if its contents have changed 2018-01-31 16:46:58 +11:00
Daniel Heath
b42750073c Whitespace 2018-01-31 16:46:58 +11:00
Daniel Heath
e1934b9797 Clicking "View" while editing takes you to the current view page 2018-01-31 16:46:58 +11:00
Daniel Heath
0badf719e0 Add mutex around Save, fixes #70 2018-01-31 16:46:57 +11:00