leonklingele
70cbe91776
Migrate to a good Content Security Policy ( #1023 )
...
So attacks such as XSS (see [0]) will no longer be of an issue.
[0]: https://github.com/omarroth/invidious/issues/1022
2020-03-15 16:46:08 -05:00
leonklingele
1aefc5b540
Update to Crystal 0.31.0, resolve compiler deprecation warnings, update dependencies ( #764 )
...
* shard: update to crystal 0.31.0
Additionally, no longer use the Crystal "markdown" library which has
been removed from the Crystal stdlib in version 0.31.0.
See https://github.com/crystal-lang/crystal/pull/8115 .
Also fix some deprecation warnings using the following commands:
find . \( -type d -name .git -prune \) -o -type f -exec sed -i 's/URI\.escape/URI\.encode_www_form/g' "{}" \;
find . \( -type d -name .git -prune \) -o -type f -exec sed -i 's/URI\.unescape/URI\.decode_www_form/g' "{}" \;
sed -i 's/while \%pull\.kind \!\= \:end_object/until \%pull\.kind\.end_object\?/g' src/invidious/helpers/patch_mapping.cr
2019-09-24 13:31:33 -04:00
Omar Roth
17edfd6573
Shorten timeout for AJAX
2019-06-16 12:55:17 -05:00
Omar Roth
552f616305
Fix retry on timeout for AJAX requests
2019-06-15 10:09:32 -05:00
Omar Roth
ad8750b40d
Fix referer escaping
2019-05-03 12:15:21 -05:00
Omar Roth
1a9360ca75
Minor formatting changes
2019-05-01 20:03:39 -05:00
Allan Nordhøy
aa10a9d899
Language fixes ( #366 )
...
* Language fixes
2019-04-19 11:14:11 -05:00
Omar Roth
2a6c81a89d
Add authentication API
2019-04-18 16:23:50 -05:00
Omar Roth
26168a9520
Refactor CSRF tokens (using format in #473 )
2019-04-15 23:23:40 -05:00
Omar Roth
7557ffcda1
Mark deleted channels in /subscription_manager
2019-03-06 09:54:56 -06:00
Omar Roth
a160c645c9
Add support for translations
2018-12-20 15:32:09 -06:00
Omar Roth
a9a0280b1a
Add link to watch history in feed and manager
2018-12-20 11:05:54 -06:00
Omar Roth
89439e1775
Add link to '/clear_watch_history' in '/feed/history'
2018-12-05 17:07:51 -06:00
Omar Roth
95ebfd34c5
Don't wait on server for subscription count
2018-11-21 19:26:55 -06:00
Omar Roth
cdd916f51d
Add async for manage_subscriptions
2018-11-21 13:35:37 -06:00
Omar Roth
6c98513153
Add referer to /data_control
2018-08-25 21:48:20 -05:00
Omar Roth
9a15438c71
Minor formatting changes
2018-08-17 11:04:38 -05:00
Omar Roth
f9b45dd7b8
General cleanup to user preferences
2018-08-05 19:59:45 -05:00
Omar Roth
0f8e01f919
Remove inline CSS from <hr>
2018-08-05 18:03:38 -05:00
Omar Roth
b535a9d413
Add options to import and export user data
2018-07-30 12:57:26 -05:00
Omar Roth
1757db6a1c
Add horizontal breaks for subscription manager
2018-07-16 14:30:15 -05:00
Omar Roth
eb1df96e1b
Remove patch and update file structure
2018-07-06 07:59:56 -05:00