Commit Graph

130 Commits

Author SHA1 Message Date
southerntofu e495305434 Proper journalctl-friendly logger 2021-09-06 19:03:45 +00:00
southerntofu a50a1fd0bf Fix account subscriptions debug print 2021-08-04 21:23:26 +02:00
southerntofu a09ed96eb6 Also display date on single video page 2021-08-04 21:17:35 +02:00
southerntofu aedc4352ee Human-friendly and semantic date for videos in lists 2021-08-04 21:12:33 +02:00
southerntofu fe0b83bd0e First attempt at multiple pages of homepage subscriptions 2021-08-04 20:54:23 +02:00
southerntofu 90c054e258 Homepage videos can be filtered by lang (eg. /fr) 2021-08-04 14:03:48 +02:00
southerntofu 41ca401cd5 Non-critical failures can be applied to all pages, not just index 2021-08-04 13:09:37 +02:00
southerntofu 1d42b5fef0 Homepage uses new Context API, and unifies failed requests into "failures" context key 2021-08-04 13:08:38 +02:00
southerntofu fc8872efeb Fix template import 2021-08-04 12:38:58 +02:00
southerntofu 16ef5eb24b Reuse videos macro in index.html (uniform display of video listings) 2021-08-04 12:38:31 +02:00
southerntofu 12a6592640 Reuse base.html template for index.html 2021-08-04 12:31:51 +02:00
southerntofu 64f2d15dab Reuse base.html in search.html 2021-08-04 12:26:41 +02:00
southerntofu c7cf3eddaa More consistent naming for accounts templates 2021-08-04 12:11:52 +02:00
southerntofu 00d74023dd More consistent template names for channels 2021-08-04 12:10:33 +02:00
southerntofu 9493f79dcb More consistent naming for search templates 2021-08-04 12:07:12 +02:00
southerntofu bf8d3b9275 Subscriptions use the new MultipleResults API 2021-08-03 20:10:27 +02:00
southerntofu 7c787a6502 Except index page, all pages use the same macro for displaying video listings 2021-08-02 22:26:35 +02:00
southerntofu 98e7ba8ae0 Errors triggered via utils.render() inherit original context 2021-08-02 22:24:51 +02:00
southerntofu aaa081eea9 Same key for search results whether global or per-instance 2021-08-02 20:06:37 +02:00
southerntofu bcb1018256 Finally fix pagination 2021-08-02 18:03:44 +02:00
southerntofu cb2569c0c1 VideoInfo is currently not merged with basic video response 2021-08-02 14:45:37 +02:00
southerntofu bb1780fefd Overall don't run useless requests 2021-08-02 00:30:24 +02:00
southerntofu 53703352d7 Introduce Context.insert_future_result() to prevent running requests when one failed previously 2021-08-01 23:53:59 +02:00
southerntofu 574f480a43 Channels routes use new Context API 2021-08-01 21:54:49 +02:00
southerntofu adb95d1c79 Account routes use new Context API, better pagination error handling 2021-08-01 21:29:30 +02:00
southerntofu 1973690e4a Video route uses new Context API 2021-08-01 20:51:47 +02:00
southerntofu 0d481ef6b7 Instance routes use new Context API 2021-08-01 19:51:00 +02:00
southerntofu f088cee3a2 Start new Context API, currently only for search 2021-08-01 19:45:38 +02:00
southerntofu 707f4d36eb Don't forget pagination URL on search page 2021-08-01 18:18:37 +02:00
southerntofu 19c9f0cada Avatar URL is always relative to queried instance, not remote instance 2021-08-01 18:10:08 +02:00
southerntofu e6dcab763a Woops i want to merge lists not frankensteinize them 2021-08-01 17:32:03 +02:00
southerntofu e15fc55c93 Everything now uses the new API.request() wrapper 2021-08-01 17:15:48 +02:00
southerntofu 48461ccc07 Woops fix wrong order of things 2021-08-01 16:45:29 +02:00
southerntofu c78b2e2c09 More avatar fallbacks 2021-08-01 16:43:02 +02:00
southerntofu 677326008a Follow instance links 2021-08-01 16:38:25 +02:00
southerntofu f65e4df27a Don't fail on missing avatar 2021-08-01 16:24:01 +02:00
southerntofu 71a3285c70 Allow newlines in error, still preventing HTML injection 2021-08-01 14:27:36 +02:00
southerntofu 0b837783ff No requests should hard-fail as long as remote Peertube server respects the API 2021-08-01 13:06:55 +02:00
southerntofu 84d01821c0 error.html can render several errors 2021-08-01 12:35:19 +02:00
southerntofu 77a2bd1431 Better error formatting before passing to templates 2021-08-01 12:13:31 +02:00
southerntofu a5095e707e Ignore subscriptions in repository 2021-08-01 11:54:45 +02:00
southerntofu c2034732d2 Fix homepage subscriptions, handle multiple failures gracefully 2021-08-01 11:51:22 +02:00
southerntofu a6ac579832 Everything uses new API, only homepage is broken 2021-08-01 02:12:24 +02:00
southerntofu 009ce82b5a Add deprecation notices, use new API for account info, unify "instance" as instance name in templates 2021-08-01 00:04:18 +02:00
southerntofu 0523e16b02 Accounts use the new API 2021-07-31 23:37:43 +02:00
southerntofu 9561c49e24 Captions use new API 2021-07-31 22:34:47 +02:00
southerntofu 1f3ba92dba Video and comments use new API 2021-07-31 22:24:12 +02:00
southerntofu 0b87b922e2 Move build_channel_or_account_name to utils.py 2021-07-31 17:25:24 +02:00
southerntofu 96505b96cc Update instance routes to new API 2021-07-31 17:22:26 +02:00
southerntofu 77226ac8f2 Reimplement search features with new API, move helpers to utils.py 2021-07-31 16:05:11 +02:00