Commit Graph

46 Commits

Author SHA1 Message Date
potatoesAreGod fa68bf561b
added leaving reddit dialog (#643) 2023-02-08 00:24:06 -07:00
spikecodes 7efa26e811
Fix #699 2023-01-21 00:35:49 -08:00
potatoesAreGod eb9ef9f6d9
added leaving reddit dialog (#643) 2023-01-12 01:46:56 -07:00
Daniel Valentine e9891236cd
Remove unnecessary SFW-only disclosure in settings in SFW-only mode. 2023-01-03 11:20:55 -07:00
Daniel Valentine 9a7b3b29f5
Merge remote-tracking branch 'origin/master' into hide_awards 2023-01-03 11:12:27 -07:00
Daniel Valentine c83a4e0cc8
Landing page for NSFW content, SFW-only mode (#656)
Co-authored-by: Matt <matt@matthew.science>
Co-authored-by: Spike <19519553+spikecodes@users.noreply.github.com>
2023-01-03 02:39:45 -07:00
Matthew Esposito 6a785baa2c Add hide_awards config 2023-01-01 21:39:38 -05:00
Rupert Angermeier 9178b50b73
fix a11y and HTML issues on settings page (#662)
- connect labels with corresponding form controls
- use fieldsets to group form sections
- don't nest details/summary element into label
2023-01-01 01:56:09 -07:00
NKIPSC e62d33ccae Blur NSFW posts.
Reimplementation of libreddit/libreddit#482.

Co-authored by: Daniel Valentine <Daniel-Valentine@users.noreply.github.com>
2022-11-08 09:01:12 -07:00
mikupls 60c7b6b23f
Embed css themes to simplify adding and testing new themes (#489) 2022-05-21 01:41:31 +00:00
Nick Lowery c3dade257d
Restore post sorting preference by link (#406) 2022-05-17 03:11:01 +00:00
spikecodes 3188f9d8e7
Tweak settings page design 2021-12-27 13:43:44 -08:00
Nick Lowery 888e7b302d
Filter subreddits and users (#317)
* Initial work on filtering subreddits and users

* Fix doubly-prefixed subreddit name in search alt text (e.g. r/r/pics)

* Don't set post title to "Comment" if empty - this could throw off actual posts with the title "Comment"

* Filter search results

* Fix filtering to differentiate between "this subject itself is filtered" vs "all posts on this current page have been filtered"

* Remove unnecessary check

* Clean up

* Cargo format

* Collapse comments from filtered users

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-11-26 04:02:04 +00:00
obscurity 3054b9f4a0
Add rosebox theme (#237) 2021-11-24 19:31:19 +00:00
spikecodes 1cccef12a4
Add settings helper for HLS toggle 2021-11-23 22:43:25 -08:00
spikecodes 7220190811 Link subscriptions in settings to their respective feeds 2021-11-21 22:30:44 -08:00
spikecodes 1d4ea50a45
Add setting to autoplay videos 2021-10-25 21:27:55 -07:00
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 9e4066658c
Added 2 new themes: violet & gold (#212)
* Added 2 new themes: violet & gold

* Increased contrast in Violet theme

* Changed accent colour on violet theme
2021-05-03 16:48:21 +00:00
Ben Smith 6f799b2617
Added laserwave theme (#210) 2021-04-30 16:26:49 +00:00
spikecodes b3e4b7bfae
Add user following functionality 2021-04-06 10:23:05 -07:00
The TwilightBlood 48c3a8c0d0
Added Dracula/Nord theme (#171)
* Added Dracula theme

* Updated accent and added Nord theme

* Updated accent and added Nord theme

* Added official foreground colors
2021-04-02 00:56:28 +00:00
spikecodes 6a7f725c12
Default subreddit post sorting. Closes #166 2021-03-25 21:41:58 -07:00
spikecodes 038fafa378
Remove unnecessary trailing slashes 2021-03-17 17:28:05 -07: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
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
curlpipe 2a475d127a
Added black theme (#101) 2021-02-06 20:04:29 +00:00
spikecodes 1653d4fb4c
Hide NSFW content by default 2021-01-30 21:43:46 -08:00
spikecodes 269bb0bfb6
Convert subscription requests to POST 2021-01-30 21:21:46 -08:00
spikecodes 21d96e261f
Set subscriptions as default front page 2021-01-30 20:18:57 -08:00
Matthew Crossman 449899962a
Change subscription to get. Add subs to settings. 2021-01-30 22:27:49 +11:00
Matthew Crossman dc2030e6f3
Vertical list subscriptions. 2021-01-30 21:21:54 +11:00
Matthew Crossman ef5a1cd66e
Rename block sub_list > subscriptions 2021-01-30 19:47:30 +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 a562395c26 Refactor system theme 2021-01-17 18:11:36 -08:00
Matthew Crossman 1d57e29d56
Add "system" theme to settings. 2021-01-18 10:44:51 +11:00
Robin 090ca1a140 Add comment counter and other post improvements 2021-01-17 20:39:57 +01:00
spikecodes 08683fa5a6 Light theme 2021-01-10 18:15:34 -08:00
spikecodes f445c42f55 Wide UI Mode 2021-01-10 13:08:36 -08:00
spikecodes b8cdc605a2 Front page config and settings note 2021-01-08 20:55:40 -08:00
spikecodes ef2f9ad12b Unify preferences under one struct 2021-01-08 17:50:03 -08:00
spikecodes b13874d0db Add "hide nsfw" option 2021-01-08 17:35:04 -08:00
spikecodes 3444989f9a Default Comment Sort Setting 2021-01-07 08:38:05 -08:00
spikecodes aa7b4b2af7 Settings with Layouts 2021-01-05 18:04:49 -08:00
spikecodes 5ea504e6e8 Restrict Proxy to Reddit Domains 2021-01-02 20:50:23 -08:00