Commit Graph

261 Commits

Author SHA1 Message Date
spikecodes e4f9bd7b8d
Configure default settings using environment variables 2021-05-15 13:59:42 -07:00
Adrian Lebioda 928907086c
HLS video playback (#182)
* HLS video playback

Signed-off-by: Adrian Lebioda <adrianlebioda@gmail.com>

* Add LibreJS compliance

* Locally host hls.js

* Notification about HLS under videos that support it

Signed-off-by: Adrian Lebioda <adrianlebioda@gmail.com>

* Use .contains() instead of .find() == None

* Make list of preferences constant

* Change headers_keys from Vector into Array

* Fix incorrect detecting of # in paths

* Remove trailing-slash-appending if statement

* Change HLS notification styling

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-05-10 01:25:52 +00:00
curlpipe 536a766960
WIP: Various subreddit & post fixes (#215)
* Fixed random subreddit issue

* Fixed large subreddit icon rendering

* Formatting fix

* Fix dodgy HTML rendering issues

* Revert "Fix dodgy HTML rendering issues"

This reverts commit 58be5f449b.
2021-05-09 15:40:49 +00:00
spikecodes e34329cfee
Upgrade to v0.11.1 2021-05-08 22:09:47 -07:00
imabritishcow 97a0680bd0
Support GIFs in comments (#217)
* Support GIFs in comments

* Fix removing Giphy links so it only removes Giphy links

* Remove removing link to Giphy
2021-05-09 01:22:26 +00:00
spikecodes c1560f4eba
Upgrade to v0.11.0 2021-05-06 12:31:59 -07:00
curlpipe 242ffab0da
Fix bug with subreddit subscription case & RTL languages (#214)
* Fixed subreddit subscription case issues

* Fixed formatting

* Fixed flair RTL language issue (#132)

* Convert display_lookup to Vec

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-05-06 19:11:25 +00:00
curlpipe 1211d781d0
Add list of moderators to sidebar (#213)
* Added list of moderators to sidebar & added wiki not found message

* Improved code formatting
2021-05-04 17:30:54 +00:00
spikecodes 3cf787cf98
Fix #195 2021-04-14 21:53:17 -07:00
spikecodes a18db1e2b7
Properly pass preview queries to media proxy 2021-04-08 22:26:03 -07:00
spikecodes b3e4b7bfae
Add user following functionality 2021-04-06 10:23:05 -07:00
spikecodes f0f484288e
Fix server.rs function name 2021-03-31 13:03:44 -07:00
spikecodes c7f9386c01
Fix #169 2021-03-27 13:03:13 -07:00
spikecodes 66ac72beab
Fix clippy errors 2021-03-26 20:00:47 -07:00
spikecodes 6a7f725c12
Default subreddit post sorting. Closes #166 2021-03-25 21:41:58 -07:00
spikecodes 772d20615b
Sidebar about page. Closes #162 2021-03-21 19:28:05 -07:00
spikecodes 0bb1677520
Revert client to HTTP/1.1 2021-03-21 13:56:05 -07:00
spikecodes da4883db29
Upgrade client to HTTP/2 2021-03-21 11:37:03 -07:00
spikecodes 4c66e75f6b
Add HSTS command line flag 2021-03-20 22:10:31 -07:00
spikecodes 966e0ce921
Expand truncated numbers on mouseover. Close #156 2021-03-20 15:42:47 -07:00
spikecodes dc7e087ed0
Truncate negative scores 2021-03-19 22:04:44 -07:00
spikecodes 9b5176f7b9
Sub icons and truncated subscribers in search results 2021-03-18 21:32:54 -07:00
spikecodes 467342edf4
Patch broken homepage sorting 2021-03-18 08:51:31 -07:00
spikecodes a81502dde1
Fix wiki routing 2021-03-17 21:40:55 -07:00
spikecodes 0ce2d9054e
Handle non-ASCII post headers 2021-03-17 21:26:06 -07:00
spikecodes 07363e47a9
Request building error handler 2021-03-17 16:53:49 -07:00
spikecodes fb7faf6477
Handle HeaderValue and Uri parsing errors 2021-03-17 16:32:28 -07:00
spikecodes b14b4ff551
Rewrite server and client using Hyper 2021-03-17 15:30:33 -07:00
spikecodes f209757ed6
Handle proxy unwraps 2021-03-12 12:21:02 -08:00
spikecodes 4173362ce1
Fix #148 2021-03-11 20:15:26 -08:00
spikecodes b2ae5e486f
Rename subreddit::page to subreddit::community 2021-03-10 21:43:06 -08:00
spikecodes 118ff9485c
Document proxy.rs 2021-03-10 19:02:03 -08:00
spikecodes 2e89a85858
Handle alternative status codes 2021-03-09 22:23:26 -08:00
spikecodes e59b2b1346
Custom HTTP client with Rustls 2021-03-09 22:13:46 -08:00
spikecodes 1c36549134
Fix #146 2021-03-09 07:22:17 -08:00
spikecodes 5fb88d4744
Allow certain clippy lints 2021-03-08 19:22:10 -08:00
spikecodes bf783c2f3a
Optimize type casting 2021-03-08 18:49:06 -08:00
spikecodes 10873dd0c6
Fix #144 2021-03-05 06:24:40 -08:00
spikecodes 20f6945160
Fix #140 2021-02-27 13:34:02 -08:00
spikecodes 10c73fad7f
Switch favicon to ico 2021-02-26 12:04:11 -08:00
spikecodes 1de01d7283
Log errors to io::stderr 2021-02-25 16:21:56 -08:00
spikecodes 9183ce1921
Handle links in Media::parse 2021-02-25 11:43:58 -08:00
spikecodes a197df89ff
Turn off media logging 2021-02-25 11:30:15 -08:00
spikecodes be2a1d876b
Fix url rewrites 2021-02-25 11:01:25 -08:00
spikecodes 5d643277bc
Geometric logo 2021-02-25 09:07:45 -08:00
spikecodes a3ec44149c
Categorize utilities 2021-02-24 21:29:23 -08:00
spikecodes 5cd5b553b0
Handle suspended users 2021-02-24 11:26:23 -08:00
spikecodes 47d01a0dca
Fix logging 2021-02-24 11:00:04 -08:00
spikecodes 4a06882dc8
Simplify routes in main.rs 2021-02-24 09:26:01 -08:00
spikecodes 8034594006
Better subreddit error messages. Closes #131 2021-02-22 16:43:32 -08:00