Commit graph

32 commits

Author SHA1 Message Date
Omar Roth
3b2e142542
Fix JSON serialization 2020-03-29 18:04:44 -04:00
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
d1635cf24e
Set max preference size 2019-06-08 16:04:55 -05:00
Omar Roth
7d2e1f63b5
Refactor watched_widget.js 2019-05-16 20:51:17 -05:00
Omar Roth
1a9360ca75
Minor formatting changes 2019-05-01 20:03:39 -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
d20a4a8bfc Fix grid size for smaller devices 2019-04-14 17:04:52 -05:00
Omar Roth
10abcd519f Add RSS alternate to channel and subscription pages 2019-03-07 13:34:33 -06:00
Omar Roth
5859cd290c Clean up footer and add version 2019-03-01 16:52:37 -06:00
Omar Roth
c5a17cd043 Add subscriptions to feed menu 2019-02-24 11:53:10 -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
6b12f11e10 Add ability to mark videos as watched in subscription feed 2018-11-19 22:06:59 -06:00
Omar Roth
c7e8d623c0 Support overflow grid 2018-11-19 18:43:06 -06:00
Omar Roth
62380933b2 Add support for playlists and channels in search 2018-09-20 09:36:09 -05:00
Omar Roth
ed8ddbc07d Add seperator when notifications > 0 2018-08-30 16:52:29 -05:00
Omar Roth
9a15438c71 Minor formatting changes 2018-08-17 11:04:38 -05:00
Omar Roth
2cedac8c58 Don't show 'next page' or 'previous page' where not applicable 2018-08-14 19:15:33 -05:00
Omar Roth
c8d56fb426 Style horizontal break in feed 2018-08-06 13:49:52 -05:00
Omar Roth
f121e74d33 Fix rendering of notifications 2018-08-06 13:48:02 -05:00
Omar Roth
fe5142753c Show notifications indicator 2018-08-06 08:00:05 -05:00
Omar Roth
0f8e01f919 Remove inline CSS from <hr> 2018-08-05 18:03:38 -05:00
Omar Roth
aed8aa4037 Add note for unseen notifications 2018-08-05 17:22:22 -05:00
Omar Roth
b9315bc534 Major cleanup 2018-08-04 23:14:57 -05:00
Omar Roth
b49456da97 Switch from using fontawesome to ionicons 2018-07-30 18:38:55 -05:00
Omar Roth
6221496f66 Add proper padding for channel elements 2018-07-29 09:47:32 -05:00
Omar Roth
ba323f2c1f Fix position of RSS on mobile 2018-07-24 19:34:49 -05:00
Omar Roth
6135006b26 Add Atom feed 2018-07-20 11:19:49 -05:00
Omar Roth
26c496ce78 Clarify link to subscription manager 2018-07-07 13:45:20 -05:00
Omar Roth
eb1df96e1b Remove patch and update file structure 2018-07-06 07:59:56 -05:00
Renamed from src/views/subscriptions.ecr (Browse further)