Commit graph

46 commits

Author SHA1 Message Date
eda9cae667 Fix handling of empty requests 2018-06-09 21:57:17 +02:00
810f922927 Fix typo 2018-06-09 21:56:47 +02:00
7def769bbb Merge branch 'tests'
This adds some basic and regression functional tests to schort
2018-05-01 16:29:41 +02:00
154df1af2b Fix url input and mark it as required
Validation is done in html on the client
and raises an error 400 in the api.

This fixes #2.
2018-05-01 03:53:11 +02:00
c347d53e1a Add test for empty urls 2018-05-01 03:51:57 +02:00
f74aedc547 Remove old tests 2018-04-08 16:55:24 +02:00
51e8e32dee Add resolve test 2018-04-08 16:00:19 +02:00
da3f6f5d02 Add test messages on fail 2018-04-08 15:53:43 +02:00
76a9d2f268 Fix tests to base on one common test 2018-04-08 15:15:29 +02:00
07ba6a0f17 Fix escaping of displayed URLs 2018-04-08 15:04:50 +02:00
5c7b089080 Split tests by cases 2018-04-07 23:17:23 +02:00
b98c189f7c Fix requests with empty wish-URLs 2018-04-07 23:03:54 +02:00
ef113b907f Extend wish-URL test 2018-04-07 22:22:10 +02:00
9d9b591cff Extend basic entry page test 2018-04-07 22:19:32 +02:00
d02c458e2a Add wishId as optional parameter to requests 2018-04-07 21:57:34 +02:00
867e177c90 Add simple function tests 2018-04-07 21:43:20 +02:00
ae3ca5b0dc Add simple function test 2018-04-07 21:31:29 +02:00
264c6216eb Add vim magic line 2018-04-07 20:50:04 +02:00
c5adc1e3fa Add escaping to displayed URLs 2018-04-07 02:31:03 +02:00
d736965dce typo in README.md fixed 2016-04-04 16:14:13 +02:00
bad22a73ae Improved flexibility on different zoom and screen sizes 2016-02-13 07:15:03 +01:00
681157d4ec Improved API help and style 2016-02-13 07:01:42 +01:00
98fe49a761 Added a fancy github icon 2016-02-13 02:56:13 +01:00
40d053d552 Made github.com link clickable again 2016-02-13 02:23:54 +01:00
c4a23d37c4 Filled the footer with life \o/ 2016-02-13 02:14:42 +01:00
96cce19ca5 Implemented inspection mode by appending + on a short url.
Also a clean, html free resolver is now available by appending ?resolve
on a short url.
2016-02-12 18:01:19 +01:00
fb1f17a49c Added footer 2016-02-12 18:00:45 +01:00
97b906730b Some code cleanups 2016-02-11 21:32:42 +01:00
99b747d4ba Auto prepend the default scheme (http://) before redirect 2016-02-11 01:35:07 +01:00
c1a88ad9d6 Update README.md
Create a user
2016-02-11 00:14:33 +01:00
1547fdb95a Update README.md
More README!
2016-02-11 00:10:38 +01:00
755c539960 Created empty data folder 2016-02-11 00:04:28 +01:00
be7a5142f4 Merge branch 'cfr34k-fastcgi' 2016-02-10 23:37:02 +01:00
f5e4b02997 Merge branch 'fastcgi' of https://github.com/cfr34k/schort into cfr34k-fastcgi 2016-02-10 23:36:28 +01:00
ae96b0c268 Added wsgi script 2016-02-10 23:30:52 +01:00
072321dcbe Changed title and button 2016-02-10 23:00:27 +01:00
Thomas Kolb
89b0b7ed71 Added FastCGI wrapper based on flipflop 2016-02-10 21:40:07 +01:00
Thomas Kolb
2ef757b74b Moved database to subdirectory "data"
This resolves problems in sqlite when the directory containing the
database is not writable by the webserver, even when the database file
itself is.
2016-02-10 21:37:39 +01:00
383643bdca Changed redirect from temporary (302) to permanent (301) 2016-02-10 14:06:07 +01:00
e804ffa917 Disabled debug 2016-02-10 13:45:08 +01:00
3cc6ba100e Merge branch 'master' of https://github.com/Sqozz/schort 2016-02-10 13:41:23 +01:00
98d07cc5e3 Initial commit 2016-02-10 13:38:40 +01:00
4bded71540 renamed shortener 2016-02-10 13:37:39 +01:00
455c199f05 Don't show a message on main site 2016-02-10 13:32:00 +01:00
23a162b71d Implemented code that generates IDs out of long urls 2016-02-10 11:40:36 +01:00
551d9e1cce Initial partial working commit 2016-02-10 07:57:22 +01:00