コミットグラフ

97 コミット

作成者 SHA1 メッセージ 日付
Omar Roth c3e57f1fdd
Fix typo in footer 2019-10-20 23:02:16 -04:00
TheFrenchGhosty 3cbdaab81e Add protocol to the cryptocurrencies 2019-10-19 20:23:27 +02:00
Omar Roth 55f0a82249
Remove Patreon links 2019-10-12 10:07:18 -04: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
psvenk f54fbd057e Add prefers-color-scheme support (#601)
* Add prefers-color-scheme support

This should fix <https://github.com/omarroth/invidious/issues/559>.
The cookie storage format has been changed from boolean
("true"/"false") to tri-state ("dark"/"light"/""), so that users
without a cookie set will get dark mode if they have enabled the dark
theme in their operating system. The code for handling the cookie
state, along with the user's operating system theme, has been factored
out into a new function `update_mode`, which is called both at window
load and at the "storage" event listener, because the "storage" event
listener is only trigerred when a change is made to the localStorage
from another tab/window (for more info - see
<https://stackoverflow.com/a/4679754>).
2019-08-15 11:29:55 -05:00
Omar Roth 4ee3ec09df
Autofill search for playlists and communities page 2019-07-27 08:51:10 -05:00
Omar Roth 0338fd42e1
Add support for Web notifications 2019-06-01 16:09:17 -05:00
Omar Roth fd8af88493
Use separate asset version for cache busting 2019-05-09 22:58:34 -05:00
Omar Roth bfa488f77d
Add option to toggle theme without reload 2019-05-09 11:50:44 -05:00
Omar Roth 4616f889fd
Add simple form of cache busting 2019-05-08 08:58:10 -05:00
Omar Roth 1a9360ca75
Minor formatting changes 2019-05-01 20:03:39 -05:00
Omar Roth 6d1c150ff5
Fix typo 2019-04-30 21:18:35 -05:00
Omar Roth 21190a240f
Add support for adding banner to site header 2019-04-30 21:17:34 -05:00
Omar Roth 6859b85266 Add 'lang' to HTML tag 2019-04-28 10:05:15 -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 388e58bf1e Update handling for preferences 2019-03-28 13:43:40 -05:00
Omar Roth 63be05146d Fix expire for prefs cookie 2019-03-27 11:15:23 -05:00
Omar Roth 0c6cede287 Format files and trim trailing whitespace 2019-03-23 14:05:13 -05:00
Omar Roth 21ebc398fa Add privacy policy 2019-03-12 20:58:25 -05:00
Omar Roth 46e985b306 Add 'dark_mode', 'thin_mode' as query parameters 2019-03-11 12:44:25 -05:00
Omar Roth 8f41130a14 Update and add missing text to locales 2019-03-08 22:23:17 -06:00
Tommy Miland a1af75a87f Update template.ecr
Add current branch to footer.
Add icons to footer.
2019-03-04 04:05:09 +01:00
Omar Roth 9b202adebd Remove <hr> from footer 2019-03-02 20:12:36 -06:00
Omar Roth 5859cd290c Clean up footer and add version 2019-03-01 16:52:37 -06:00
Omar Roth a39b1583da Add administrator preferences 2019-03-01 16:06:45 -06:00
Omar Roth 7e6cf7b979 Add title text for icons 2019-02-24 16:19:31 -06:00
Omar Roth ebcb21dbfe Allow user to save preferences without creating an account 2019-02-24 09:49:48 -06:00
Omar Roth a160c645c9 Add support for translations 2018-12-20 15:32:09 -06:00
Omar Roth 2dfb3e7814 Minor text changes 2018-11-26 14:28:15 -06:00
Omar Roth 941a773b7d Add opensearch.xml 2018-11-21 20:00:17 -06:00
Omar Roth 7f868ecdf9 Add unminimized sources and license information 2018-11-10 11:08:03 -06:00
Omar Roth 8e6bee75e7 Add CSRF prevention for /signout 2018-11-08 17:42:25 -06:00
Omar Roth 28f564ee4c Fix XSS in title and input bar 2018-11-08 17:27:21 -06:00
Omar Roth 31a9abc03a Add favicon 2018-11-08 15:58:10 -06:00
Omar Roth 1dcca85819 Fix typo in template.ecr 2018-11-05 07:31:18 -06:00
Omar Roth b0b5e3e982 Escape search queries 2018-09-27 17:02:59 -05:00
Omar Roth f7ca81c384 Add support for channel search 2018-09-13 17:47:31 -05:00
Omar Roth e0ee1c3d79 Shrink size of template gutters 2018-09-09 14:50:24 -05:00
Omar Roth 3ec684ae71 Host assets locally 2018-09-06 09:59:17 -05:00
Omar Roth 0f2f273335 Don't leak referers 2018-09-04 09:01:43 -05:00
Omar Roth 6b3c9d23d0 Fix referer on 404 2018-08-30 08:14:59 -05:00
Omar Roth 78fcf579a7 Add Liberapay 2018-08-25 15:43:39 -05:00
Omar Roth 3ba2a7d921 Fix referers 2018-08-17 10:19:20 -05:00
Omar Roth 7c63c759f4 Add donation links to footer 2018-08-15 20:36:21 -05:00
Omar Roth b72f3c2274 Rename 'layout' to 'template' 2018-08-15 20:31:47 -05:00