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

59 Commits

Author SHA1 Message Date
Daniel Heath
ecf1d2ab10 Add password to access wiki 2018-01-21 12:09:16 +11:00
Daniel Heath
76ec1c1acb Allow setting session secret cookie code 2018-01-18 20:51:08 +11:00
Daniel Heath
2f1c0e3cd2 Whitespace 2018-01-18 20:50:13 +11:00
Daniel Heath
a36f8e318e Use a struct for related data instead of four separate arrays 2018-01-18 17:08:04 +11:00
Daniel Heath
81f6b2d263 Remove random println 2018-01-03 22:47:27 +11:00
Zack Scholl
55368b1c1a Fix bug with one letter routes 2017-11-13 11:32:32 -07:00
Zack Scholl
684ff4e692 Add -diary for diary mode
New creates a new page with a timestamp
2017-11-04 16:09:10 -06:00
Zack Scholl
63bdbb5824 Add -debounce for setting the debounce time 2017-11-04 15:30:44 -06:00
Zack Scholl
85877602e0 /view -> /read when published
Fixes #97
2017-11-04 15:23:38 -06:00
Zack Scholl
6eacf90e18 Sitemap should goto /read and not /view 2017-11-04 12:57:04 -06:00
Zack Scholl
4a916984e6 Need to handle /page/ and /page the same
Fixes #88
2017-11-04 12:49:02 -06:00
Zack Scholl
840fbf73ec Don't need this line anymore 2017-11-04 18:45:10 +00:00
Zack Scholl
de03d2b547 Add -lock for automatic locking
Fixes #90
2017-11-04 04:41:56 -06:00
Zack Scholl
d481145c5f Add default page Fixes #91 2017-11-04 04:21:51 -06:00
Zack Scholl
2040dbaaa5 Add -css option for custom CSS on the /read page 2017-11-04 04:18:05 -06:00
Zack Scholl
5ae5c91945 Trying to make a /read 2017-11-02 06:27:39 -06:00
Zack Scholl
c35aeca859 Generate sitemap in thread because it takes a long time 2017-10-15 08:18:48 -06:00
Zack Scholl
b2a01d0a6d Sitemap now working 2017-10-15 07:58:43 -06:00
Zack Scholl
107a0dc32b Add publishing, for sitemap.xml 2017-10-15 07:49:40 -06:00
Zack Scholl
90a8ea1706 Skip icons in the recent files 2017-09-29 12:21:10 -04:00
Zack Scholl
6d81fe5b19 Add recent pages to "view" 2017-09-29 08:48:32 -04:00
Zack Scholl
b286fae089 Goto "/view" when decrypting a self-destructing page
Fixes #81
2017-09-28 02:06:38 -06:00
Zack Scholl
76b054122a Add save 2017-08-17 07:44:18 -07:00
Zack Scholl
def0f9d669 Merge branch 'master' of github.com:schollz/cowyo 2017-08-17 07:36:16 -07:00
Zack Scholl
4821e7ae62 Use meta instead of storing in history 2017-08-17 07:36:07 -07:00
Zack Scholl
aa1b7a1afb Save is redundant 2017-08-16 06:49:10 -07:00
Zack Scholl
e10ff91f10 Save is redundant 2017-08-16 06:48:51 -07:00
Zack Scholl
c0b6365440 Allow saving filename in history for cowyodel 2017-08-12 08:05:01 -06:00
Zack Scholl
89d0f828b0 Default to editing, not vieweing 2017-08-08 11:37:22 -06:00
Zack Scholl
d3101da4ac Add /exists to check if page exists 2017-07-05 10:49:06 -06:00
Zack Scholl
9dbb83e8af Moved the encryption to its own package 2017-06-29 15:24:34 -06:00
Zack Scholl
228b324149 Specify relinquish parameters 2017-06-28 10:10:32 -06:00
Zack Scholl
b7fc420f7e Added API for new CLI program 2017-06-27 21:32:38 -06:00
Zealotree
2101b706d3 Added HTTPS session support 2017-06-23 09:40:35 -04:00
Zack Scholl
68ecbdd595 Redirect to /page/view on /page/ request 2017-05-24 10:42:37 -06:00
Zack Scholl
23536ad927 New: Make host configurable, Fix #69
Former-commit-id: e087e6952610f7baeb212e12cef44eafcb06613d
2017-03-28 08:01:03 -06:00
Zack Scholl
82b16ec121 Add route /ls for viewing directory
Former-commit-id: 53ace40488
2017-03-24 07:58:37 -06:00
Zack Scholl
9d9918966a History every 60 seconds instead of 1
Former-commit-id: 931a0a7c62
2017-03-24 07:12:09 -06:00
Zack Scholl
c35ab4eb4a Improve history UI and non-history route speed
Former-commit-id: 30f3956568
2017-03-24 07:09:41 -06:00
Zack Scholl
035cd7b6d9 Change name
Former-commit-id: b0308589ec
2017-03-23 20:38:33 -06:00
Zack Scholl
e066ad23cc Allow raw to get locked copy
Former-commit-id: 685117ffd3
2017-03-23 17:47:41 -06:00
Zack Scholl
fa7ae60d59 Better UI for locking/encrypting
Former-commit-id: a4d999be67331667d085f4d21e76c36248d4de6d [formerly e0ea851e54280d1299e3c8285412b3df421682a7] [formerly 011d5bf0194d46ee5e2f07cb6ef16a28554235b5 [formerly 17f856fdde59ddf045a116cb85af6f7b79f9d4a5]]
Former-commit-id: b8a3b6ed199e3c06aeb6f365e4b05572a28bd852 [formerly 1998dce4d8b98ccd1586748b26d32935c9b3d78d]
Former-commit-id: 81aa00298e9fe22a5017c726b772a4a34dd53acf
Former-commit-id: c71c77fd5c
2017-03-23 16:28:19 -06:00
Zack Scholl
bd3b9c96e1 Clean up UI
Former-commit-id: 15a1200308fe75f9c3163d400ff3c56287492dfb [formerly 79f3f90c3d0e620372f1ad338252a988135b302e] [formerly 3d62c398b3487e92160d35a200c08134fcf4eb32 [formerly 52370dde7adf6c4fe9899544567a2469c03b031a]]
Former-commit-id: bbe42ca94a0e072215e5fef3f163add591206ab2 [formerly df5785bc10f23dab6110d38900a55946d95f0fce]
Former-commit-id: 4c02db90005227a23605f2a46d6546ab3f698a99
Former-commit-id: a456b44b5a
2017-03-23 16:16:15 -06:00
Zack Scholl
3b7e35f9ef Add "Clear old" for deleting crossed list items
Former-commit-id: f43b6caae264ef5f8cd46f8a40143501a39d5948 [formerly 328a9724705837f8287a6d519578513fb868c962] [formerly b006fff403bdf2421495a4d4e8f9ef246e15adec [formerly fb4118be424a81a90072ad987c886af08923917a]]
Former-commit-id: da4974f66bfcea8602d9b08f129b73ba06d69ea8 [formerly 8215c6a461f8bd2a9baee02176e64ec99a401ec9]
Former-commit-id: 4e070f07eef46a9f140a778dca7dc6c20adc76d5
Former-commit-id: 2980f1e193
2017-03-23 13:31:09 -06:00
Zack Scholl
bbf55f539f Use monospace when editing a file
Files are determined if they have a period in the name.


Former-commit-id: 8ae103ccf40f20a2c0a385021fad70caf614ca51 [formerly 23e44beb2ececa617280feb256a94900342cbdc4] [formerly 4872f2c5eaa25e32514c01aabd63355e6cb1d5d4 [formerly 518ee34f5615b9c9a6e3b5b68322df2c8a221ae8]]
Former-commit-id: c646c3b38b5cf7d2552f9aac8d1802ef98e9170b [formerly 71bb4f2d64a0c87f9b881e612091ec98253721fa]
Former-commit-id: a60d4c8180b584dea243391a7a41abc175524afb
Former-commit-id: 5f42c319a2
2017-03-23 13:13:56 -06:00
Zack Scholl
c1b9b71669 Remove menu options when locking/encrypting
Former-commit-id: 9020d91d5e3f4ab07cc5ec8e5abfc68d7f30cc05 [formerly c501c57e329676731abd211e6f26619806db2bc6] [formerly 8c7c7f37bb87845da3af2e1a40ccf5bf73852846 [formerly 13d370370f4f68203998d8eee7ebacec61a6a2a6]]
Former-commit-id: da6da64e8940ef34512f9abc8ed5480a9d132a64 [formerly 6902d14822e41218409d23c5e8669afa370e1fb9]
Former-commit-id: a02186b53b69eff7a51d8cb61e9af0470113e7df
Former-commit-id: 078801ce85
2017-03-23 10:26:40 -06:00
Zack Scholl
62c9e6ee1b Simplify routes, handle error route
Former-commit-id: a2be41df36132865f1f5ddee954a2c36cd15946a [formerly 952889d5fec4f3207cfd3a071bcf7278afeb09a8] [formerly 21c56db9a4a329ff6e70573734bbe7a33ee8b0a0 [formerly 8f4f07ce580467b241015b8b6291d7bce91bf66e [formerly 9becf07745]]]
Former-commit-id: 1ad7a875ff4738230e09a4d46bf58c7d03c43a90 [formerly 5263a10dd6b8057bcfa7ac65509c7a87d5889175]
Former-commit-id: 57c32446567ef6b8d219893ed93c6499cf0b0da8
Former-commit-id: 95afa389bc
2017-03-23 07:32:40 -06:00
Zack Scholl
3a265a0979 Update GetMajorSnapshots API
Former-commit-id: eafad64cf835e69fa4994dd2173287eb68a49975 [formerly 7c91b825f33c0deea8a4b26419c3395fe1d9ff69] [formerly 4fdb4a30274e2028f13bf89b37b678a208118b58 [formerly 6e7d202e7b38b8a6d14f7824971b3acd28807906 [formerly 3a29cc5adf]]]
Former-commit-id: f131365c5c22dc159510a1c837dd26e8c8b9e06f [formerly 10b24d4adb33a566fb1e1e76d19d5af677d7ad38]
Former-commit-id: 1b0096a9d5b26ea2f6492394e7b7cbee944e1fa1
Former-commit-id: 3781c6457e
2017-03-23 07:22:14 -06:00
Zack Scholl
39ebd6c125 Get major versions instead of all
Former-commit-id: 5cdd8a3b23c05604fa82d5ba3319ec8caf402313 [formerly d0acfb7a8b73c1549cb8a3814583dbacd0833b27] [formerly 60213b204673cd65c02b6945df1883ca0f348aa7 [formerly c2c93edebbabde3fd2ec773cc4fdf6ad0fba868c [formerly 80610690ea]]]
Former-commit-id: f783c78d0353eec3003fbe3fab6854a4ef5e761a [formerly 69e182e4f7a83e76eaa52d3a494760e715fe4abc]
Former-commit-id: d1c6e0fcf474c14ab15a5148fdd4531462ce6702
Former-commit-id: 3886f3d00e
2017-03-23 07:17:44 -06:00
Zack Scholl
c3ba228288 Prevent locking encrypted
Former-commit-id: e986e1b8094f80c479c7f97bdefdcc216ba17ef4 [formerly e4eb6b192ca3af6951acb574d56f2ddd003d6d16] [formerly 142979758915d24210fbc4085270e49611047d59 [formerly fe0c2a45dc56e5b55f5c83f6586f4470a2fa6b1f [formerly 59af266a12]]]
Former-commit-id: f218c28663c6d35b1f9fddb4e618e9cf9f3d12d2 [formerly f665f59e08d5b84845baab64c27fd6a45d3d1dd9]
Former-commit-id: 9877bf4627091886f47a176b88373375e2dbe942
Former-commit-id: 1998538fe1
2017-03-22 13:42:51 -06:00