40 Commits

Author SHA1 Message Date
Indico Team
f2755b4be4 Run modernize, pyupgrade, autoflake and isort 2020-11-12 14:47:29 +01:00
Adrian Moennich
9d1c6268a0 Bump versions to 3.0-dev 2020-11-12 14:46:40 +01:00
Adrian Moennich
171cc04ce0 Bump plugin versions to 2.3 2020-09-14 17:01:19 +02:00
Indico Team
2a73af5957 Update *.pot files 2020-08-19 20:41:59 +02:00
Adrian Moennich
d96f5fa6b7 URSH: Bump version 2020-08-10 18:45:11 +02:00
Indico Team
43c703e1b4 Happy new year 2020 🎆 2020-01-16 11:32:21 +01:00
Adrian Moennich
3fee6d919e Merge branch '2.2-maintenance' 2019-08-21 16:50:59 +02:00
Adrian Moennich
0d4f9e989f URSH: Include templates in wheel 2019-08-21 16:35:04 +02:00
Adrian Moennich
44e69da01d Merge branch '2.2-maintenance' 2019-08-21 14:18:49 +02:00
Adrian Moennich
8f5bac7d5a URSH: Hide footer+page if not configured 2019-08-21 14:17:57 +02:00
Adrian Moennich
25d262a71f Merge branch '2.2-maintenance' 2019-08-20 15:04:22 +02:00
Adrian Moennich
ef3d06e637 URSH: prettier-ify JS code 2019-08-20 15:00:40 +02:00
Adrian Moennich
00d1dddfa7 URSH: Bump version to 2.2 2019-08-20 14:48:29 +02:00
Adrian Moennich
0fac1a4ae8 URSH: Validate custom shortcuts
There shouldn't be any risk even if someone sends garbage containing
let's say `../`, but better to stay on the safe side than actually
sending an API request containing something obviously incorrect.
2019-08-20 14:36:30 +02:00
Adrian Moennich
80c5782678 URSH: Fix capitalization & use strong instead of b 2019-08-20 14:24:27 +02:00
Adrian Moennich
e16779691d URSH: Adapt to API change (metadata -> meta) 2019-08-20 13:40:08 +02:00
Adrian Moennich
b59eba331b URSH: Log shorturl creation 2019-08-20 12:30:59 +02:00
Adrian Moennich
51405ed3d9 URSH: Include indico user id in metadata
At least for custom shortcuts, since those are only available to event
managers and it may be useful to know who created such a shortcut, e.g.
in case of very inappropriate shortcuts.
2019-08-20 12:26:01 +02:00
Adrian Moennich
3fd3f3d0fb URSH: Always include /api/ for API calls 2019-08-20 12:17:40 +02:00
Adrian Moennich
2b831d7ef8 URSH: Clarify action titles
The difference between "obtain" and "create" isn't really obvious
2019-08-20 12:17:00 +02:00
Adrian Moennich
796a7fd9e3 URSH: Fix various issues 2019-08-19 16:08:03 +02:00
Adrian Moennich
43a3fa79aa URSH: Fix js issues 2019-08-19 16:08:03 +02:00
Adrian Moennich
91393b9176 URSH: Fix license, headers, isort, version 2019-08-19 16:08:03 +02:00
Ergys Dona
4be6c7e81f URSH: Rename element_class to classes 2019-08-19 16:08:03 +02:00
Ergys Dona
b2b9ac1b39 URSH: Add custom shortcut creation via dropdown 2019-08-19 16:08:03 +02:00
Ergys Dona
082d01dc3e URSH: Avoid jQuery in obtaining data attribute 2019-08-19 16:08:03 +02:00
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