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 58be5f449b72f271d2b3c046870b652d1e715289.
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
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
a18db1e2b7
Properly pass preview queries to media proxy
2021-04-08 22:26:03 -07:00
spikecodes
6a7f725c12
Default subreddit post sorting. Closes #166
2021-03-25 21:41:58 -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
b14b4ff551
Rewrite server and client using Hyper
2021-03-17 15:30:33 -07:00
spikecodes
4173362ce1
Fix #148
2021-03-11 20:15:26 -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
bf783c2f3a
Optimize type casting
2021-03-08 18:49:06 -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
8034594006
Better subreddit error messages. Closes #131
2021-02-22 16:43:32 -08:00
spikecodes
dd67b52199
Fix #126
2021-02-20 18:36:30 -08:00
spikecodes
9cfab348eb
Filter by flair. Closes #124
2021-02-20 13:59:16 -08:00
spikecodes
a606e48435
Handle 4 more unwraps
2021-02-20 12:14:32 -08:00
spikecodes
2091f26bda
Fix media previews
2021-02-19 21:49:02 -08:00
spikecodes
b3341b49c0
Individually proxy subreddit and user icons
2021-02-19 21:46:44 -08:00
spikecodes
65e4ceff7b
Individually proxy previews
2021-02-19 20:50:55 -08:00
spikecodes
902c9a6e42
Individually proxy custom emojis
2021-02-19 18:18:09 -08:00
spikecodes
c586de66ba
Individually proxy images and thumbnails
2021-02-19 12:55:07 -08:00
spikecodes
8560e8a37a
Add "port" command line argument
2021-02-18 11:49:50 -08:00
spikecodes
58127b17d8
Individually proxy videos
2021-02-18 10:04:59 -08:00
spikecodes
14ecf3cf60
Edit indicator
2021-02-14 14:53:09 -08:00
spikecodes
aa7c8c85df
Templatize redirects
2021-02-13 15:02:38 -08:00
robrobinbin
93cfc713c6
Generate URL to restore settings, including subscriptions. Closes #89 ( #116 )
...
* Start recursive comments
* Update comment.html
* Fix move error
* Comment improvements
* Fix merge
* Remove extra endif from post.html
* Fix post.html
* Restore setting from link
* Tweak settings page
Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-02-13 20:55:23 +00:00
robrobinbin
809be42e01
Add "View all comments" and "Show parent comments" buttons when viewing a single thread. Closes #65 ( #115 )
...
* Start recursive comments
* Update comment.html
* Fix move error
* Comment improvements
* Fix merge
* Remove extra endif from post.html
* Fix post.html
Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-02-12 09:16:59 -08:00
robrobinbin
4a40e16277
Fix comment structuring ( #113 )
...
* Start recursive comments
* Update comment.html
* Fix move error
Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-02-10 10:48:51 -08:00
spikecodes
fee2cb1b56
Split subscription names by +
2021-02-09 21:56:38 -08:00
Spike
ebbdd7185f
Move from Actix Web to Tide ( #99 )
...
* Initial commit
* Port posts
* Pinpoint Tide Bug
* Revert testing
* Add basic sub support
* Unwrap nested routes
* Front page & sync templates
* Port remaining functions
* Log request errors
* Clean main and settings
* Handle /w/ requests
* Create template() util
* Reduce caching time to 30s
* Fix subscription redirects
* Handle frontpage sorting
2021-02-09 17:38:52 +00:00
spikecodes
402b3149e1
Fix 'no entry found for key' error
2021-02-07 17:56:06 -08:00
spikecodes
ac5ef89dff
Fix gallery unwrapping
2021-02-07 17:33:54 -08:00
robrobinbin
7edca18f8d
Inline videos/gifs for card view ( #107 )
...
* Basic gallery support
* Inline videos for card view
2021-02-08 00:22:14 +00:00
robrobinbin
cf45d53fdd
Basic gallery support ( #103 )
2021-02-06 20:05:11 +00:00
spikecodes
90d3063f93
Fix #96
2021-02-03 21:42:43 -08:00
spikecodes
ee0da63862
Update version and screenshot
2021-01-31 18:50:31 -08:00
spikecodes
971f14bb55
Fix #66
2021-01-31 14:10:13 -08:00
spikecodes
1653d4fb4c
Hide NSFW content by default
2021-01-30 21:43:46 -08:00
spikecodes
21d96e261f
Set subscriptions as default front page
2021-01-30 20:18:57 -08:00
Matthew Crossman
11e4ff42ed
Clean-up and more consistent styles.
2021-01-30 19:33:38 +11:00
Matthew Crossman
345308a9ac
Basic subscribe functionality.
2021-01-30 18:00:00 +11:00
Matthew Crossman
75bbcefbec
Display sub list from list in cookie.
...
Very basic sub list setup. Cookie must be manually added in devtools.
2021-01-30 16:00:55 +11:00
spikecodes
5fe9ce8d7b
Refactor JSON parsing error logging
2021-01-27 21:48:32 -08:00
spikecodes
8c04365049
Improve error logging
2021-01-27 17:48:58 -08:00
spikecodes
d5b1c3a5bb
Fix connection reset error
2021-01-26 11:00:07 -08:00
spikecodes
f038aa61f4
Log JSON parse errors and Reddit request failures
2021-01-26 10:54:57 -08:00
robrobinbin
acd2cff747
Lower number of cached items
2021-01-24 11:08:24 +01:00
robrobinbin
226d39328c
Make it 60
2021-01-23 22:45:41 +01:00
Robin
b2ad2f636c
Resolve merge conflicts
2021-01-23 10:55:11 +01:00
Robin
077c222a4e
Experiment with caching
2021-01-23 10:48:33 +01:00
spikecodes
2270b6cf95
Reduce post padding
2021-01-21 21:25:51 -08:00
spikecodes
140c1b1bfa
Small fixes
2021-01-18 13:12:59 -08:00
spikecodes
21763c51cd
Make number formatting inclusive
2021-01-17 12:59:40 -08:00
spikecodes
138f8320e9
Create media struct
2021-01-17 12:58:12 -08:00
Robin
090ca1a140
Add comment counter and other post improvements
2021-01-17 20:39:57 +01:00
spikecodes
471d181284
Disable production error logging
2021-01-16 15:17:08 -08:00
spikecodes
0e48c66b8c
Fix user agent
2021-01-16 15:13:34 -08:00
spikecodes
a0bc1732cf
Moderator and admin distinguishers
2021-01-16 15:02:24 -08:00
spikecodes
0f6e73dd87
Reformat code
2021-01-16 11:50:12 -08:00
spikecodes
151490faf0
Add space next to comment collapse marker
2021-01-16 11:49:49 -08:00
spikecodes
fdf60e7255
Separate datetime into relative and absolute
2021-01-16 11:40:32 -08:00
spikecodes
2385fa33ec
Use ureq until AWC IO error is fixed
2021-01-15 21:26:51 -08:00
spikecodes
1fd688eeed
Improve awc error log
2021-01-15 20:57:51 -08:00
spikecodes
65543a43b2
Make User-Agent Reddit-compliant
2021-01-15 20:29:34 -08:00
spikecodes
3a9b2dba32
Fix error log
2021-01-15 15:35:09 -08:00
spikecodes
59021b9331
Switch back to ureq temporarily
2021-01-15 15:28:51 -08:00
spikecodes
aef0442e9d
Add rate-limit warning
2021-01-15 11:24:12 -08:00
spikecodes
bca2a7e540
Error logging
2021-01-15 10:58:53 -08:00
spikecodes
0c014ad41b
Comment utils.rs
2021-01-14 15:13:52 -08:00
spikecodes
32b8637c7e
Handle failed redirects
2021-01-14 14:56:28 -08:00
spikecodes
dbe617d7eb
Switch to awc
2021-01-14 09:53:54 -08:00
spikecodes
0bf5576427
Categorize routes and refactor error handlers
2021-01-13 19:53:52 -08:00
spikecodes
dd027bff4b
Refactor flair parsing
2021-01-13 18:19:40 -08:00
spikecodes
f95ef51017
Add days to time()
2021-01-13 16:31:24 -08:00
spikecodes
740641cb4e
Move nested_val() to user.rs
2021-01-13 15:55:10 -08:00
spikecodes
09c98c8da6
Refactor code
2021-01-13 12:52:00 -08:00
robrobinbin
c6627ceece
Merge branch 'master' into rich-flairs
2021-01-13 08:27:39 +01:00
robrobinbin
d9affcdefc
Rich flairs
2021-01-13 08:23:48 +01:00
spikecodes
eb9a0dcb4a
Fix GIFs
2021-01-12 19:52:02 -08:00
robrobinbin
b0540d2c57
Rich flairs
2021-01-13 00:10:06 +01:00
robrobinbin
bbe7024323
Start richtext flairs
2021-01-12 22:43:03 +01:00
robrobinbin
32e1469e11
whitespace
2021-01-12 20:03:54 +01:00
robrobinbin
2d4ca2379f
whitespace
2021-01-12 20:02:35 +01:00
robrobinbin
374f53eb32
Relative timestamps for recent posts
2021-01-12 19:59:32 +01:00
spikecodes
eb735a42fe
Handle comment parsing errors
2021-01-11 18:05:13 -08:00
spikecodes
541c741bde
Parse GIFs correctly
2021-01-11 17:47:14 -08:00
spikecodes
6bbc90bc0d
Clean Subreddit struct
2021-01-11 16:35:50 -08:00
robrobinbin
6dbd002acd
Add direct link to thumbnail
2021-01-11 23:08:12 +01:00