Nick Krichevsky
|
ba367555e1
|
Add clump migration
|
2019-03-17 18:02:35 -04:00 |
Nick Krichevsky
|
bd1392b22b
|
Clarify paste tests
|
2019-03-17 17:43:24 -04:00 |
Nick Krichevsky
|
65765a3da2
|
Add node_modules to gitignore
|
2019-03-17 17:41:37 -04:00 |
Nick Krichevsky
|
58bfe7729c
|
Add route to get paste
Needs an actual template - it's totally XSS vulnerable at the moment
|
2019-03-17 17:40:47 -04:00 |
Nick Krichevsky
|
f9b7eebc17
|
Add Pipe function to paster
|
2019-03-17 14:10:04 -04:00 |
Nick Krichevsky
|
a224fe15c0
|
Update deps
|
2019-03-17 14:09:34 -04:00 |
Nick Krichevsky
|
4de3ee1280
|
Properly assert not called
|
2019-03-17 14:07:55 -04:00 |
Nick Krichevsky
|
0158f7e1ed
|
Truncate files on Write
|
2019-03-16 19:04:40 -04:00 |
Nick Krichevsky
|
edc451f9c6
|
Improve Read tests for paster
|
2019-03-16 18:08:30 -04:00 |
Nick Krichevsky
|
85556339ab
|
Don't doubly convert UUID when making a paste
|
2019-03-16 17:03:34 -04:00 |
Nick Krichevsky
|
3a666483e2
|
Make the index page a bit prettier
|
2019-03-16 16:45:16 -04:00 |
Nick Krichevsky
|
dcf4846111
|
Fix bug where make build would create circular symlink
|
2019-03-16 16:29:13 -04:00 |
Nick Krichevsky
|
4aed8bc1e8
|
Add basic index page
|
2019-03-16 16:19:17 -04:00 |
Nick Krichevsky
|
e92bf8f1db
|
Use New instead of NewBox for static assets
|
2019-03-16 16:07:39 -04:00 |
Nick Krichevsky
|
4990fe87c2
|
Add Makefile
|
2019-03-16 15:46:24 -04:00 |
Nick Krichevsky
|
25adce2b0a
|
Add bootstrap
|
2019-03-16 15:46:19 -04:00 |
Nick Krichevsky
|
4263faf7ab
|
Add ability to serve static files
|
2019-03-16 15:45:27 -04:00 |
Nick Krichevsky
|
22720ab00b
|
Remove packr files
|
2019-03-16 14:15:41 -04:00 |
Nick Krichevsky
|
0659768beb
|
Add environment flag to config
|
2019-03-15 00:36:00 -04:00 |
Nick Krichevsky
|
e92aaf4284
|
Return UUID on response
|
2019-03-10 15:36:03 -04:00 |
Nick Krichevsky
|
f7988e1162
|
Add logging to paste route
|
2019-03-10 15:35:38 -04:00 |
Nick Krichevsky
|
ea7de5e172
|
Add logging functions to webserver
|
2019-03-10 15:35:12 -04:00 |
Nick Krichevsky
|
e05751d269
|
Add logger to webserver
|
2019-03-10 15:09:42 -04:00 |
Nick Krichevsky
|
b7cf249bfb
|
Add a log handler
|
2019-03-10 14:53:26 -04:00 |
Nick Krichevsky
|
5d61fad70d
|
Move paste handler into its own package
|
2019-03-10 00:38:12 -05:00 |
Nick Krichevsky
|
ef4699ed8b
|
Add ability to put pastes via route
|
2019-03-10 00:38:12 -05:00 |
Nick Krichevsky
|
24923ae1e4
|
Fix bug where pq does not support LastInsertID
|
2019-03-10 00:08:48 -05:00 |
Nick Krichevsky
|
c72589bb7b
|
Fix segfault when reading/writing from paster
|
2019-03-10 00:05:29 -05:00 |
Nick Krichevsky
|
9e329458d6
|
Add tests for PasteService
|
2019-03-09 23:31:26 -05:00 |
Nick Krichevsky
|
5c7d1c7da7
|
Add tests for paster
|
2019-03-09 23:31:18 -05:00 |
Nick Krichevsky
|
af658da26b
|
Make paste file a ReadWriteSeekCloser
|
2019-03-09 22:30:33 -05:00 |
Nick Krichevsky
|
dddd9bbe8e
|
Add paste service with ability to create paste
|
2019-03-09 22:27:07 -05:00 |
Nick Krichevsky
|
6b58d28547
|
Make PutPaste return a paste
|
2019-03-09 22:26:37 -05:00 |
Nick Krichevsky
|
b3be292f79
|
Add wire for repository
|
2019-03-09 22:26:29 -05:00 |
Nick Krichevsky
|
355dd34669
|
Connect to database in main
|
2019-03-08 22:43:55 -05:00 |
Nick Krichevsky
|
044d4fdd1b
|
Make repository reflect Config changes by adding a Connect method
|
2019-03-08 22:43:55 -05:00 |
Nick Krichevsky
|
187b84f76f
|
Pass config to webserver by DI
|
2019-03-08 21:39:46 -05:00 |
Nick Krichevsky
|
17a7bccc1d
|
Split config loading into its own function
|
2019-03-08 21:36:55 -05:00 |
Nick Krichevsky
|
505b934aa9
|
Prevent reparsing the config file on config acquisition
|
2019-03-08 21:12:49 -05:00 |
Nick Krichevsky
|
7dd621421e
|
Add paste entity
|
2019-03-08 20:20:22 -05:00 |
Nick Krichevsky
|
8263b90792
|
Add PasteRepository implementations
|
2019-03-02 21:27:08 -05:00 |
Nick Krichevsky
|
6747c29fb1
|
Add paste boilerplate
|
2019-03-02 21:11:55 -05:00 |
Nick Krichevsky
|
15ef7a1b5f
|
Add database connector
|
2019-02-27 00:47:57 -05:00 |
Nick Krichevsky
|
b308fec93a
|
Add binary to gitignore
|
2019-02-27 00:01:10 -05:00 |
Nick Krichevsky
|
eb416ede36
|
Move config to dist and check in packr files
|
2019-02-27 00:00:30 -05:00 |
Nick Krichevsky
|
8c09eecf68
|
Add database uri to config
|
2019-02-26 23:55:28 -05:00 |
Nick Krichevsky
|
1fd04c1564
|
Add initial database migration
|
2019-02-26 23:48:23 -05:00 |
Nick Krichevsky
|
317750da34
|
Add comment explaining injection
|
2019-02-26 23:01:40 -05:00 |
Nick Krichevsky
|
0a2d711179
|
Use interface type when injecting router
|
2019-02-26 22:57:39 -05:00 |
Nick Krichevsky
|
18dc390a1f
|
Use wire for webserver
|
2019-02-26 22:53:13 -05:00 |