Commit Graph

188 Commits

Author SHA1 Message Date
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
6feb347c27
Fix post ID parsing 2021-02-09 12:08:38 -08:00
spikecodes
e731cfbac4
Support post links without titles 2021-02-09 10:11:39 -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
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
curlpipe
2a475d127a
Added black theme (#101) 2021-02-06 20:04:29 +00:00
robin
653b0e7024 Don't use display contents and remove duplication 2021-02-03 20:11:04 +01:00
robrobinbin
1bcb070fbb
Update user.html 2021-02-02 21:21:29 +01:00
robrobinbin
24bc758090
Update subreddit.html 2021-02-02 21:21:11 +01:00
robrobinbin
ffbb1cf7cd
Update search.html 2021-02-02 21:20:38 +01:00
robrobinbin
cbf1f540d6
Update post.html 2021-02-02 21:20:03 +01:00
spikecodes
69941d9efd
Implement #88 2021-02-01 17:50:00 -08:00
spikecodes
956de50419
Change Libreddit PWA Theme Color 2021-02-01 16:26:35 -08:00
robrobinbin
dd908c9f68
Update user.html 2021-02-01 21:00:03 +01:00
robrobinbin
9e1948733d
Update subreddit.html 2021-02-01 20:59:31 +01:00
robrobinbin
9df1dfae32
Update search.html 2021-02-01 20:58:59 +01:00
robrobinbin
0742a33304
Update base.html 2021-02-01 20:32:57 +01:00
robrobinbin
58f4fc4e77
Update user.html 2021-02-01 20:27:08 +01:00
robrobinbin
7d8faefad0
Update search.html 2021-02-01 20:26:35 +01:00
robrobinbin
ba9b5afd4e
Update post.html 2021-02-01 20:25:57 +01:00
robrobinbin
ae09f77bf6
Update subreddit.html 2021-02-01 20:25:06 +01:00
JPyke3
0a140a6ffc
Merge branch 'master' of github.com:JPyke3/libreddit into master 2021-02-01 11:13:36 +01:00
JPyke3
e837d84105
Add Support for iOS "Add to Homescreen"
* Adds basic Manifest.json
 * Adds Meta Tags for iOS
 * Adds Meta Tags for Android
 * Adds Logo for Manifest.json
 * Adds iOS Logo for homescreen
2021-02-01 11:10:53 +01:00
spikecodes
f6d791ccd9
Style focus outline 2021-01-31 20:56:13 -08:00
spikecodes
9a1733ac99
Fix cog class 2021-01-31 13:49:55 -08:00
spikecodes
c32d62fbd5
Shrink links to icons on mobile 2021-01-31 13:22:11 -08: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
spikecodes
9c58d23b41
Unwrap #subscriptions 2021-01-30 18:16:42 -08:00
Matthew Crossman
8cc01c58f3
Move the subs list into the navbar. 2021-01-31 09:52:18 +11: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
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
49a6168607 Improve CSP 2021-01-29 14:39:03 -08:00
spikecodes
f55ea5a353 Specify default headers for security 2021-01-28 21:53:10 -08:00
spikecodes
30c33d91e1 Specify video MIME in posts 2021-01-28 20:06:35 -08:00
robin
baf7272cfd Absolutly no jumping when images (fail to) load 2021-01-21 22:04:06 +01:00
robin
c299e128ab Inline images rework 2021-01-21 00:12:54 +01:00
spikecodes
7360503234 Make posts single-color 2021-01-18 21:32:25 -08:00
spikecodes
a562395c26 Refactor system theme 2021-01-17 18:11:36 -08:00
Matthew Crossman
72eaa685d0
Prevent "system" class from being added to body. 2021-01-18 11:25:39 +11:00
Matthew Crossman
06ab7a4181
Merge branch 'master' of https://github.com/spikecodes/libreddit 2021-01-18 10:59:26 +11:00
spikecodes
dd60cb5b2b SVG arrow 2021-01-17 15:51:03 -08:00
Matthew Crossman
1d57e29d56
Add "system" theme to settings. 2021-01-18 10:44:51 +11:00
Robin
d45ee03122 Resolve merge conflicts 2021-01-17 23:54:48 +01:00
Robin
162e00b243 Improve accessibility rating 2021-01-17 23:49:36 +01:00
spikecodes
801216dfe9 Include code link on mobile 2021-01-17 13:24:44 -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
ef9bc791e1 Fix inline style tags 2021-01-16 19:21:47 -08:00
spikecodes
a0bc1732cf Moderator and admin distinguishers 2021-01-16 15:02:24 -08:00
spikecodes
fdf60e7255 Separate datetime into relative and absolute 2021-01-16 11:40:32 -08:00
robrobinbin
998b301229 Improve support for text-only browsers 2021-01-16 11:00:15 +01:00
spikecodes
21ff8d7b6f Fix #56 2021-01-15 11:21:59 -08:00
spikecodes
32b8637c7e Handle failed redirects 2021-01-14 14:56:28 -08:00
robrobinbin
45660816ce Add cardview to search results too 2021-01-14 21:53:07 +01:00
robrobinbin
d19e73f059 Add placeholder for posts without thumbnail 2021-01-14 21:45:43 +01:00
robrobinbin
735f79d80b
Merge pull request #2 from spikecodes/master
Merge upstream into code
2021-01-14 19:29:06 +01:00
robrobinbin
a85a4278f6 Add subreddits to search results 2021-01-14 19:22:50 +01:00
spikecodes
dbe617d7eb Switch to awc 2021-01-14 09:53:54 -08:00
robrobinbin
c6627ceece
Merge branch 'master' into rich-flairs 2021-01-13 08:27:39 +01:00
spikecodes
96607256fc Add Favicon 2021-01-12 20:18:20 -08:00
spikecodes
eb9a0dcb4a Fix GIFs 2021-01-12 19:52:02 -08:00
robrobinbin
d2314580a9 Rich flairs 2021-01-12 23:50:50 +01:00
robrobinbin
a4d77926b6 Rich flairs 2021-01-12 23:34:16 +01:00
robrobinbin
bbe7024323 Start richtext flairs 2021-01-12 22:43:03 +01:00
somoso
65f1a2afb2 Stop label from being long for joined subreddits
Browsing with a long joined subreddit list will cause the label to look a bit weird.

Example: https://libredd.it/r/Android+AnimalsBeingBros+AnimalsBeingDerps+AnimalsBeingJerks+AppleWatch+CatSlaps+CatSmiles+CatsBeingAdorable+FreeTube+Games+Ijustwatched+IllegallySmol+IllegallySmolCats+IpodClassic+LearnRubyonRails+Megadrive+MovieDetails+Music+NetflixBestOf+NintendoSwitch+Possums+Teefers+UKPersonalFinance+airplaneears+apple+aww+brushybrushy+cats+catswhotrill+curledfeetsies+cyberpunkgame+dataisbeautiful+dechonkers+digital_ocean+dogs+dogsareliquid+dogswithjobs+emulation+greebles+happycowgifs+hardware+iOSDevelopment+iOSProgramming+iosdev+kittykankles+learnruby+likeus+mac+mashups+microsoft+movies+netflix+netsec+pihole+playstation+programming+rarepuppers+raspberry_pi+redditsync+rubyonrails+satelliteears+shittymoviedetails+spookyteefies+technology+teefies+vampirecats+velvethippos

That will cause the label to be excessively long
2021-01-12 15:47:39 +00:00
spikecodes
7a33ed3434 Card thumbnails for users 2021-01-11 17:38:35 -08:00
robrobinbin
6dbd002acd Add direct link to thumbnail 2021-01-11 23:08:12 +01:00
spikecodes
bf6245a505 Fix multireddit sidebars 2021-01-11 10:39:36 -08: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
fac56d7f87 Markdown spoilers and post footers on videos 2021-01-08 21:57: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
da5c4603d9 Switch from chrono to time-rs 2021-01-05 20:01:21 -08:00
spikecodes
b50fa6f3ae Settings Button 2021-01-05 18:16:32 -08:00
spikecodes
aa7b4b2af7 Settings with Layouts 2021-01-05 18:04:49 -08:00
spikecodes
2185d895c0 Prevent user datetimes from floating 2021-01-04 21:32:22 -08:00
spikecodes
9c1a932214 Clean Up Post Headers 2021-01-04 21:17:19 -08:00
spikecodes
df89c5076e Compact Libreddit Posts on Mobile 2021-01-04 19:26:41 -08:00
spikecodes
f819ad2bc6 Remove CSP "Upgrade Insecure Requests" Header 2021-01-04 10:11:07 -08:00
Spike
463b44ac52 Fix timeframe when sorting by controversial 2021-01-04 05:05:21 +00:00
Nathan Moos
b40d21e559 Add controversial sort order 2021-01-03 21:00:36 -08:00
spikecodes
a422a74747 Make Design More Compact 2021-01-03 19:44:44 -08:00
spikecodes
0dd114c166 Post upvote ratio, permalink and reddit link 2021-01-03 13:06:49 -08:00
spikecodes
a3384cbaa6 Fix search pages 2021-01-02 22:37:54 -08:00
spikecodes
5d26b5c764 Upgrade Insecure Requests 2021-01-02 20:59:14 -08:00
spikecodes
5ea504e6e8 Restrict Proxy to Reddit Domains 2021-01-02 20:50:23 -08:00
spikecodes
779de6f8af Fix Wiki Titles 2021-01-01 22:34:25 -08:00
spikecodes
0925a9b334 Add Wiki Pages 2021-01-01 22:21:43 -08:00
spikecodes
2d77a91150 Refactor Page Titles and Add Subreddit/User Titles 2020-12-31 20:21:56 -08:00
spikecodes
93c1db502d Fix Title and Navbar 2020-12-31 16:45:10 -08:00