14 Commits

Author SHA1 Message Date
Ergys Dona
a338ddbbdb URSH: Fix regex, catch more invalid URLs 2019-08-19 16:08:03 +02:00
Ergys Dona
436d9342fe URSH: Don't raise an exeption if ursh responds with 400
URSH: 
URSH: Allows the client to give a user-friendly diagnostic message
2019-08-19 16:08:03 +02:00
Ergys Dona
6e47dc6d04 URSH: Switch back to RegExp-based URL validation 2019-08-19 16:08:03 +02:00
Ergys Dona
6af54aca8a URSH: Use .hostname instead of .host
URSH: 
URSH: Fixes issues with IE
2019-08-19 16:08:03 +02:00
Ergys Dona
eb138ba83b URSH: Switch to URL polyfill 2019-08-19 16:08:03 +02:00
Ergys Dona
aa8bb6d8e8 URSH: Refactor index.js
URSH: 
URSH: * Submit on Enter
URSH: * Differentiate invalid URL from invalid host
2019-08-19 16:08:03 +02:00
Ergys Dona
7f55721fa4 URSH: Increase page font size to 1.2em 2019-08-19 16:08:03 +02:00
Ergys Dona
e1100c9e34 URSH: Remove callback from _makeUrshRequest 2019-08-19 16:08:03 +02:00
Ergys Dona
d881e9e96f URSH: Add copy-to-clipboard functionality 2019-08-19 16:08:03 +02:00
Ergys Dona
c39f6bd914 URSH: Replace qtip with input field 2019-08-19 16:08:03 +02:00
Ergys Dona
5774e37686 URSH: Refactor ursh request function 2019-08-19 16:08:03 +02:00
Ergys Dona
eda2d0b43f URSH: Add URL shortener page 2019-08-19 16:08:03 +02:00
Ergys Dona
09539b83b2 URSH: Rename ursh controller return value: msg -> url 2019-08-19 16:08:03 +02:00
Ergys Dona
89dc4af965 URSH: Add ursh plugin for indico
URSH: 
URSH: - Add a new blueprint: /ursh
URSH: - Add a template hook ('url-shortener-link') to enable short link generation
2019-08-19 16:08:03 +02:00