1
0
mirror of https://github.com/spikecodes/libreddit synced 2024-12-22 08:40:00 +01:00
Commit Graph

456 Commits

Author SHA1 Message Date
spikecodes
55e9915bb0
Refactor post_body width 2021-02-24 11:28:26 -08:00
spikecodes
5cd5b553b0
Handle suspended users 2021-02-24 11:26:23 -08:00
Basti
2b2bd8421b
Added multi-staged container build and a user (#134)
* Added multi-staged container build and a user

This reduces the image size from 2Gb to 92Mb by only put the necessary files into the container.
Container now runs without root priviliges.

* Add EXPOSE to Dockerfile
2021-02-24 19:17:36 +00:00
spikecodes
47d01a0dca
Fix logging 2021-02-24 11:00:04 -08:00
Spike
0a69937238
Specify Ubuntu version of workflow 2021-02-24 18:44:50 +00:00
spikecodes
6d08f2dd24
Fix post body overflow on mobile 2021-02-24 09:31:58 -08:00
spikecodes
4a06882dc8
Simplify routes in main.rs 2021-02-24 09:26:01 -08:00
Spike
3e567d9acf
Add new instance 2021-02-23 12:54:39 -08:00
spikecodes
8034594006
Better subreddit error messages. Closes #131 2021-02-22 16:43:32 -08:00
spikecodes
2f3315dcfc
Fixes #130 2021-02-22 12:56:23 -08:00
Spike
df118764df
Update README.md 2021-02-22 05:45:56 +00:00
spikecodes
d78f82649e
List other images in manifest 2021-02-21 20:37:53 -08:00
spikecodes
80fb3a5c18
Fix #110 2021-02-21 20:28:04 -08:00
spikecodes
518d5753a7
Handle about pages 2021-02-21 10:13:20 -08:00
spikecodes
de38f7ef18
Fix post flairs 2021-02-21 10:11:17 -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
Spike
e1f7b6d0c0
Remove defunct Libreddit instance 2021-02-20 20:19:56 +00: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
bacb22f7f9
Fix post url indentation 2021-02-19 18:19:04 -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
e466be8946
Fix manifest and update dependencies 2021-02-19 11:10:48 -08:00
Spike
bed3465475
Remove "Options" and fix "Built With" 2021-02-19 09:20:09 -08:00
spikecodes
8560e8a37a
Add "port" command line argument 2021-02-18 11:49:50 -08:00
spikecodes
3652342f46
Use clap for arg parsing 2021-02-18 11:40:10 -08:00
spikecodes
58127b17d8
Individually proxy videos 2021-02-18 10:04:59 -08:00
spikecodes
2f4deb221a
Reduce dependencies 2021-02-16 11:39:56 -08:00
Kieran
38230ed473
Add more rich meta tags (#121) 2021-02-16 19:16:32 +00:00
spikecodes
71501b064c
Update dependencies 2021-02-15 14:09:45 -08:00
spikecodes
47a58ea05c
Add CODEOWNERS file 2021-02-15 13:46:07 -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
spikecodes
0cb7031c36
Fix focus outline 2021-02-13 13:38:12 -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
spikecodes
ff8685ae4c
Add tooltips for accessibility 2021-02-12 20:53:33 -08:00
spikecodes
f06320a4ae
Subscribe to multireddit button. Closes #104 2021-02-12 20:47:54 -08: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
spikecodes
58ca085521
Fix subscription list overflow 2021-02-11 09:18:32 -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
spikecodes
8785bc95f5
Fix extra slashes in post bodies 2021-02-09 21:54:55 -08:00
Spike
16454213cf
Fix Dockerfile 2021-02-10 01:31:28 +00: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
spikecodes
008924fff8
Fix listen address 2021-02-09 09:54:13 -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