Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-04-13 | Add do_paste() and remove ajax from upload_form | Florian Pritz | 1 | -5/+39 | |
If the session has timed out, javascript will get the login page and try to redirect to "base_url/$htmlcode" which will obviously fail. Instead of fixing the js code, reintroduce do_paste and use it. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-04-11 | Add filesize to history view | Florian Pritz | 1 | -1/+32 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-04-11 | Show confirmation after login | Florian Pritz | 1 | -0/+4 | |
Some users might expect confirmation emails, but we don't send those (yet?). Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-04-09 | user/register: restrict username to max 32 chars | Florian Pritz | 1 | -1/+1 | |
The db field is 32 chars long. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-04-09 | user/register: restrict username to a-z0-9 | Florian Pritz | 1 | -2/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-04-09 | add register function | Florian Pritz | 1 | -0/+73 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-04-09 | random_id() -> random_alphanum(); allow single argument | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-04-09 | Implement simple referral system | Florian Pritz | 1 | -0/+49 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-04-09 | Move is_cli_client() and random_id() to helper | Florian Pritz | 2 | -2/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-04-09 | c/file: Style changes | Florian Pritz | 1 | -1/+3 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-04-09 | c/file: remove old comment | Florian Pritz | 1 | -2/+0 | |
It doesn't really apply anymore. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-04-09 | Redirect to / if log in successful | Florian Pritz | 1 | -4/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-04-09 | upload_form(): don't require a user | Florian Pritz | 1 | -2/+0 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-04-09 | muser: fix handling of cli clients without account | Florian Pritz | 1 | -9/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-04-09 | declare used class variables | Florian Pritz | 1 | -0/+3 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-04-09 | do_upload(): fix errors if no file was uploaded | Florian Pritz | 1 | -1/+6 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-04-09 | Revert "Disable paste box" | Florian Pritz | 1 | -1/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-04-09 | improve page titles | Florian Pritz | 1 | -4/+5 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-04-09 | more user changes | Florian Pritz | 2 | -47/+43 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-04-09 | start working on users | Florian Pritz | 2 | -18/+113 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-04-09 | Set 404 if a paste doesn't exist | Florian Pritz | 1 | -0/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-04-09 | Disable paste box | Florian Pritz | 1 | -2/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-04-02 | Fix "Unknown ID" typo | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-02-19 | move stale file removal to it's own function | Florian Pritz | 1 | -5/+9 | |
This shouldn't be needed and it's also pretty slow. No need to run it with ever cronjob. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-02-19 | file/cron: make accessible via CLI only | Florian Pritz | 1 | -1/+6 | |
In production environments the cronjob might run quite some time and could be used to overload the server. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-02-19 | file/cron: close dir handles after use | Florian Pritz | 1 | -0/+3 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-02-19 | file/cron: clean up stale files | Florian Pritz | 1 | -0/+33 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-01-25 | strip base64 decoded file of special chars | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2012-01-25 | allow client to overwrite filename | Florian Pritz | 1 | -1/+12 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2011-12-18 | only calculate field lengths for cli clients | Florian Pritz | 1 | -5/+7 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2011-12-18 | remove parameter of client() | Florian Pritz | 1 | -4/+4 | |
Parameters of controller functions are treated as url parameter so file/client/0 would also disable the headers. The cli client has empty headers anyway so just check that. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2011-12-18 | display more information on delete_form | Florian Pritz | 1 | -0/+6 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2011-12-17 | use perl from PATH and copy markdown.pl to scripts/ | Florian Pritz | 1 | -0/+3 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2011-12-17 | use migrations; automatically set up the database | Florian Pritz | 1 | -0/+6 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2011-11-18 | don't display "latest client" link if there is no client | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2011-09-15 | remove leftover code | Florian Pritz | 1 | -2/+0 | |
do_paste has been remove in b8fb38927fd2cc25f6748cff51b7de94e3082701 Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2011-09-13 | fix undefined variables in upload_form when using a cli client | Florian Pritz | 1 | -4/+11 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2011-09-11 | properly initialize $lengths array | Florian Pritz | 1 | -5/+6 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2011-09-11 | add upload_history page | Florian Pritz | 1 | -0/+48 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2011-08-19 | hide "Latest release" on client page if there is none | Florian Pritz | 1 | -1/+3 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2011-08-19 | move inclusion of file_plaintext/client view to controller | Florian Pritz | 1 | -2/+3 | |
This allows me to remove redundant variable definition from upload_form() since the same code is in client(). Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2011-08-19 | make "contact me" on the main page optional | Florian Pritz | 1 | -0/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2011-08-19 | fix warning if data/client/latest doen't exist | Florian Pritz | 1 | -1/+3 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2011-06-23 | delete: return correct error if ID doesn't exist | Florian Pritz | 1 | -4/+3 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2011-06-23 | fix copyright year | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2011-06-12 | upload_error: print more precise error message | Florian Pritz | 1 | -1/+10 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2011-06-06 | remove do_paste() | Florian Pritz | 1 | -42/+0 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2011-06-06 | use javascript to allow text pastes | Florian Pritz | 1 | -0/+6 | |
The javascript converts the content of the textarea to a HTTP POST request and sends the text as a file upload. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2011-06-04 | refactor cli client check | Florian Pritz | 1 | -4/+6 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2011-06-04 | simplify do_paste and return correct status codes | Florian Pritz | 1 | -7/+4 | |
Signed-off-by: Florian Pritz <bluewind@server-speed.net> |