Commit graph

25 commits

Author SHA1 Message Date
nutomic 80aef61aed Split code into cargo workspaces (#67)
More fixes

- fixed docker builds
- fixed mentions regex test
- fixed DATABASE_URL stuff
- change schema path in diesel.toml

Address review comments

- add jsonb column back into activity table
- remove authors field from cargo.toml
- adjust LEMMY_DATABASE_URL env var usage
- rename all occurences of LEMMY_DATABASE_URL to DATABASE_URL

Decouple utils and db

Split code into cargo workspaces

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/67
2020-07-10 18:15:41 +00:00
Felix 9e61c3be94 Rework imports 2020-05-16 20:04:17 +02:00
Dessalines b177cbce1d Renaming ignore to unfollow in followable trait. 2020-05-04 14:26:16 -04:00
Dessalines 70060c27b2 Adding activity table inserts. 2020-04-27 18:17:02 -04:00
Dessalines 9197b39ed6 Federation DB Changes.
- Creating an activity table.
- Adding some federation-related columns to the user_ and community
  tables.
- Generating the actor_id and keys in code, updating the tables.
2020-04-03 00:12:05 -04:00
Dessalines 1571a4acd4 Changing markdown parser to comrak. Moving crate imports to lib.rs. 2020-03-28 18:02:49 -04:00
Dessalines 253bc3e0af Adding private messaging, and matrix user ids.
- Fixes #244
2020-01-22 16:38:16 -05:00
Dessalines e5a3dc04bf Fixing clippy expect issue. 2020-01-12 17:04:58 -05:00
Dessalines dff8b947bb Trying to add r2d2 connection pooling to websockets. 2020-01-12 10:31:51 -05:00
Felix Ableitner d08e09fbdc Apply changes suggested by cargo clippy (fixes #395) 2020-01-02 12:30:00 +01:00
Felix Ableitner 8589b6c0bd Implement SQL connection pool 2019-12-27 17:28:45 +01:00
Felix Ableitner cf3ae15ee9 Implement config (fixes #351) 2019-12-27 17:28:44 +01:00
Dessalines 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
Dessalines 3350599901 Running cargo fmt. 2019-11-01 23:43:21 -07:00
Dessalines 9f35b33dc7 Halfway done with email, not fully working yet. 2019-10-29 20:35:39 -07:00
Dessalines 90ce1f1a3f Adding default sort / filter into user settings.
- Fixes #295
2019-10-20 21:21:54 -07:00
Dessalines 02dd9ac32a Adding username mentions / tagging from comments.
- Fixes #293
2019-10-19 17:46:29 -07:00
Dessalines 44442565aa Running cargo fmt on server code.
- Adding a .rustfmt.toml for the 2 space indent.
2019-09-07 08:35:05 -07:00
Dessalines 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
Dessalines d0d429a627 Adding support for community and user searching.
- Fixes #130
2019-08-10 10:32:06 -07:00
Dessalines 8348399f60 Using Rust 2018 now.
- Fixes #170
2019-06-03 10:47:12 -07:00
Dessalines f8615b6178 Done with reorg 2019-05-05 09:20:30 -07:00
Dessalines 7fb6a0b138 Mostly done with reorg. 2019-05-04 22:20:38 -07:00
Dessalines cbec13eecc Reorganizing files before splitting out API 2019-05-02 18:34:21 -07:00
Renamed from server/src/actions/mod.rs (Browse further)