~fmac/pasticcio-go

fd5e7c58 — Francesco Camuffo 2 years ago main v0.1.13
Controller:Api

Add:
- controller
- routes
- stats handler
dcd4deae — Francesco Camuffo 2 years ago
Config: include info URLs

- privacy policy
- source code
868041c6 — Francesco Camuffo 2 years ago
cvcv.sh: usage: explain RANDID
7315fdb8 — Francesco Camuffo 2 years ago
README.md: install cvcv utility
37a0cf67 — Francesco Camuffo 2 years ago v0.1.12
Home: show total pastes and walls count
41a87f20 — Francesco Camuffo 2 years ago v0.1.11
Search: add bar and search.html

First experimental search. Using SQL LIKE on a BYTEA. Case sensitive.
It's very bad.)
b9a6c17f — Francesco Camuffo 2 years ago
cvcv.sh: support fetching pastes
dfb2bfb9 — Francesco Camuffo 2 years ago
cvcv.sh: add -l option
438e5078 — Francesco Camuffo 2 years ago
cvcv.sh: add -P option
7c607be2 — Francesco Camuffo 2 years ago
Add shell utility: cvcv
5a353fb6 — Francesco Camuffo 2 years ago
paste.controller.go: 400 on bad RandID length
e0e8a376 — Francesco Camuffo 2 years ago
view.html: paste stats

- number of bytes
- number of linefeeds))
a15a5da9 — Francesco Camuffo 2 years ago
view_wall.html: show pastes count
4fe09b02 — Francesco Camuffo 2 years ago v0.1.10
Use goview for template rendering

Gin multitemplate was giving me an headache.
Goview makes it easy to reuse "partials".

Now the RandID length is selected with a select input.

Little restyling.
76452851 — Francesco Camuffo 2 years ago
Lower the min RandId length to 4

Charset of 30 elements gives 810000 IDs.
5dee9706 — Francesco Camuffo 2 years ago
paste.controller.go: handle .txt extention

Now the plain text page is returned either when the query string param
`raw` has value `y` or when the RandId has extention `.txt`.
The "raw" button now links to the txt URL.
1fd96360 — Francesco Camuffo 2 years ago
Template: textarea: font-monospace
3e5b583d — Francesco Camuffo 2 years ago
README.md: list communities
0eb0abfc — Francesco Camuffo 2 years ago v0.1.9
Templates: format dates as RFC3339
a486df10 — Francesco Camuffo 2 years ago
Show only first 8 chars of RandIDs

Also style with font-monospace.
Next