Commit graph

18 commits

Author SHA1 Message Date
e5a3dc04bf Fixing clippy expect issue. 2020-01-12 17:04:58 -05:00
dff8b947bb Trying to add r2d2 connection pooling to websockets. 2020-01-12 10:31:51 -05:00
d08e09fbdc Apply changes suggested by cargo clippy (fixes #395) 2020-01-02 12:30:00 +01:00
8589b6c0bd Implement SQL connection pool 2019-12-27 17:28:45 +01:00
cf3ae15ee9 Implement config (fixes #351) 2019-12-27 17:28:44 +01:00
fca8e6a0a9 Adding some site oriented settings.
- Adding option to close registration. Fixes #350
- Adding option to disable showing NSFW buttons. Fixes #364
- Adding option to disable downvotes. Fixes #239
2019-12-11 12:21:47 -08:00
Lyra
c19ace7e6a Introduce the "MaybeOptional" trait.
This trait is a generic type that allows us to get an Option from any type and from another option. It can be used to remove the ugly "do_something", "do_something_optional" that we previously had.
2019-12-11 00:10:39 +01:00
3350599901 Running cargo fmt. 2019-11-01 23:43:21 -07:00
9f35b33dc7 Halfway done with email, not fully working yet. 2019-10-29 20:35:39 -07:00
90ce1f1a3f Adding default sort / filter into user settings.
- Fixes #295
2019-10-20 21:21:54 -07:00
02dd9ac32a Adding username mentions / tagging from comments.
- Fixes #293
2019-10-19 17:46:29 -07:00
44442565aa Running cargo fmt on server code.
- Adding a .rustfmt.toml for the 2 space indent.
2019-09-07 08:35:05 -07:00
b7e73a5559 View where a URL has been cross-posted to in the past
- This shows when creating a post, or when viewing a post.
- Fixes #131
2019-08-21 22:17:15 -07:00
d0d429a627 Adding support for community and user searching.
- Fixes #130
2019-08-10 10:32:06 -07:00
8348399f60 Using Rust 2018 now.
- Fixes #170
2019-06-03 10:47:12 -07:00
f8615b6178 Done with reorg 2019-05-05 09:20:30 -07:00
7fb6a0b138 Mostly done with reorg. 2019-05-04 22:20:38 -07:00
cbec13eecc Reorganizing files before splitting out API 2019-05-02 18:34:21 -07:00
Renamed from server/src/actions/mod.rs (Browse further)