Commit Graph

46 Commits

Author SHA1 Message Date
sqozz eda9cae667 Fix handling of empty requests 2018-06-09 21:57:17 +02:00
sqozz 810f922927 Fix typo 2018-06-09 21:56:47 +02:00
sqozz 7def769bbb Merge branch 'tests'
This adds some basic and regression functional tests to schort
2018-05-01 16:29:41 +02:00
sqozz 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
sqozz c347d53e1a Add test for empty urls 2018-05-01 03:51:57 +02:00
sqozz f74aedc547 Remove old tests 2018-04-08 16:55:24 +02:00
sqozz 51e8e32dee Add resolve test 2018-04-08 16:00:19 +02:00
sqozz da3f6f5d02 Add test messages on fail 2018-04-08 15:53:43 +02:00
sqozz 76a9d2f268 Fix tests to base on one common test 2018-04-08 15:15:29 +02:00
sqozz 07ba6a0f17 Fix escaping of displayed URLs 2018-04-08 15:04:50 +02:00
sqozz 5c7b089080 Split tests by cases 2018-04-07 23:17:23 +02:00
sqozz b98c189f7c Fix requests with empty wish-URLs 2018-04-07 23:03:54 +02:00
sqozz ef113b907f Extend wish-URL test 2018-04-07 22:22:10 +02:00
sqozz 9d9b591cff Extend basic entry page test 2018-04-07 22:19:32 +02:00
sqozz d02c458e2a Add wishId as optional parameter to requests 2018-04-07 21:57:34 +02:00
sqozz 867e177c90 Add simple function tests 2018-04-07 21:43:20 +02:00
sqozz ae3ca5b0dc Add simple function test 2018-04-07 21:31:29 +02:00
sqozz 264c6216eb Add vim magic line 2018-04-07 20:50:04 +02:00
sqozz c5adc1e3fa Add escaping to displayed URLs 2018-04-07 02:31:03 +02:00
Sqozz d736965dce typo in README.md fixed 2016-04-04 16:14:13 +02:00
sqozz bad22a73ae Improved flexibility on different zoom and screen sizes 2016-02-13 07:15:03 +01:00
sqozz 681157d4ec Improved API help and style 2016-02-13 07:01:42 +01:00
sqozz 98fe49a761 Added a fancy github icon 2016-02-13 02:56:13 +01:00
sqozz 40d053d552 Made github.com link clickable again 2016-02-13 02:23:54 +01:00
sqozz c4a23d37c4 Filled the footer with life \o/ 2016-02-13 02:14:42 +01:00
sqozz 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
sqozz fb1f17a49c Added footer 2016-02-12 18:00:45 +01:00
sqozz 97b906730b Some code cleanups 2016-02-11 21:32:42 +01:00
sqozz 99b747d4ba Auto prepend the default scheme (http://) before redirect 2016-02-11 01:35:07 +01:00
Sqozz c1a88ad9d6 Update README.md
Create a user
2016-02-11 00:14:33 +01:00
Sqozz 1547fdb95a Update README.md
More README!
2016-02-11 00:10:38 +01:00
sqozz 755c539960 Created empty data folder 2016-02-11 00:04:28 +01:00
sqozz be7a5142f4 Merge branch 'cfr34k-fastcgi' 2016-02-10 23:37:02 +01:00
sqozz f5e4b02997 Merge branch 'fastcgi' of https://github.com/cfr34k/schort into cfr34k-fastcgi 2016-02-10 23:36:28 +01:00
sqozz ae96b0c268 Added wsgi script 2016-02-10 23:30:52 +01:00
sqozz 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
sqozz 383643bdca Changed redirect from temporary (302) to permanent (301) 2016-02-10 14:06:07 +01:00
sqozz e804ffa917 Disabled debug 2016-02-10 13:45:08 +01:00
sqozz 3cc6ba100e Merge branch 'master' of https://github.com/Sqozz/schort 2016-02-10 13:41:23 +01:00
Sqozz 98d07cc5e3 Initial commit 2016-02-10 13:38:40 +01:00
sqozz 4bded71540 renamed shortener 2016-02-10 13:37:39 +01:00
sqozz 455c199f05 Don't show a message on main site 2016-02-10 13:32:00 +01:00
sqozz 23a162b71d Implemented code that generates IDs out of long urls 2016-02-10 11:40:36 +01:00
sqozz 551d9e1cce Initial partial working commit 2016-02-10 07:57:22 +01:00