Commit graph

65 commits

Author SHA1 Message Date
Dessalines
a80104119b Merge branch 'master' into federation_merge_from_master_1 2020-04-21 10:25:29 -04:00
63b2bde448 Use get_ip in ratelimit middleware 2020-04-20 13:02:25 -05:00
Dessalines
6f14f0756b Adding websocket notification system.
- HTTP and APUB clients can now send live updating messages to websocket
  clients
- Rate limiting now affects both HTTP and websockets
- Rate limiting / Websocket logic is now moved into the API Perform
  functions.
- TODO This broke getting current online users, but that will have to
  wait for the perform trait to be made async.
- Fixes #446
2020-04-19 18:08:25 -04:00
Dessalines
37f94206f1 Merge branch 'dev' into federation 2020-04-14 16:07:20 -04:00
Dessalines
938c61b94f Adding live reloading of config.hjson changes through UI.
- https://stackoverflow.com/questions/61159698/update-re-initialize-a-var-defined-in-lazy-static/61161271#61161271
- https://stackoverflow.com/questions/29654927/how-do-i-assign-a-string-to-a-mutable-static-variable/47181804#47181804
2020-04-11 14:06:04 -04:00
Dessalines
705ac32c93 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
0892e7dbe2 Merge branch 'master' into federation 2020-04-02 15:11:11 -04:00
Dessalines
b0affad981 Changing markdown parser to comrak. Moving crate imports to lib.rs. 2020-03-28 18:02:49 -04:00
Dessalines
b78f00b4e2 Merge branch 'master' into federation 2020-03-28 15:41:42 -04:00
Dessalines
72a50aae07 Updating chttp to isahc. 2020-03-18 23:11:37 -04:00
e823f55495 Merge branch 'master' into federation 2020-03-18 22:51:34 +01:00
6dac23b887 Implemented basics for post federation, plus a bunch of other stuff 2020-03-14 22:03:05 +01:00
Dessalines
902676a9f8 Adding full logging. 2020-03-13 11:08:42 -04:00
463d917f16 Merge branch 'master' into federation 2020-03-12 12:34:37 +01:00
6f9c398c88 updated to activitystreams 0.4.0-alpha.3 2020-03-12 01:01:25 +01:00
nutomic
8431f53805 Move volumes into subfolder (ref #474) (#23)
Change ports and container names

Move volumes into subfolder (ref #474)

Merge pull request #587 from StaticallyTypedRice/patch-2

Clarify that content violating this code of conduct will likely be removed.
Clarify that content violating this code of conduct will likely be removed.

Lemmy has a general policy of removing any content that violates the rules whenever possible, which is typically a good thing, and I felt it important to mention that in the code of conduct.

Co-authored-by: Felix <me@nutomic.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: Richie Zhang <12566991+StaticallyTypedRice@users.noreply.github.com>
2020-03-09 16:50:28 +00:00
Dessalines
966a6fc70b Iframely and pictshare backend mostly done. 2020-03-07 18:31:13 -05:00
f9494c2542 Revert "pull in activitypub library"
This reverts commit a52a954eb4.
2020-03-05 11:32:29 +01:00
a52a954eb4 pull in activitypub library 2020-02-29 12:42:44 +01:00
2cbf191b69 Integrate email relay in Ansible setup 2020-02-03 14:10:24 +01:00
Dessalines
d4736be04f Returning specific slurs from slur filter on failure. Fixes #463 2020-02-02 22:51:54 -05:00
Dessalines
10c6505968 Adding correct hello_name to mail. 2020-01-22 20:35:20 -05:00
Dessalines
dc35c7b126 Updating slur filter. 2020-01-20 17:12:23 -05:00
f7156bdac3 Use actix config to handle routes in seperate folders (#378) 2019-12-31 14:17:24 +01:00
Dessalines
a6bc0edc91 Adding case insensitivity to slur filter.
- Fixes #388
2019-12-29 20:29:07 -05:00
Dessalines
6248392992 Config fixes.
- Adding front_end_dir to settings.
- Adding unit test for PasswordResetRequest encryption.
- Readme points to lemmy.hjson
- Fixing docker prod, dev, and ansible builds.
- Removing redundant env files, as all config is now in a single file.
- Some formatting fixes.
2019-12-28 16:11:03 -05:00
10da3f2554 Fix review comments 2019-12-27 17:30:46 +01:00
8fb34843aa Replace rust-crypto with sha2 crate (fixes #372) 2019-12-27 17:30:46 +01:00
ae3fccf701 Implement webfinger (fixes #149) 2019-12-27 17:29:50 +01:00
bad4868a10 Implement config (fixes #351) 2019-12-27 17:28:44 +01:00
Lyra
844a97a6a5 Add correct ActivityPub types conversion for Community and Post. 2019-12-27 17:25:20 +01:00
Dessalines
aee6ee5a7c 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
18dc7f93fb Add configuration variables in order to allow binding lemmy to a different adress/port 2019-12-06 20:36:56 +01:00
Dessalines
c2303db1aa Some RSS work.
- Display rss buttons on front end for user, /c/all, and community
pages. Fixes #348.
- Some clean up and additions to RSS feeds.
2019-12-01 17:23:52 -08:00
8029981a05 Implement RSS feeds (fixes #118) 2019-11-23 23:24:10 +01:00
Dessalines
ddc73a2e00 Running cargo fmt 2019-11-21 11:27:52 -08:00
45671b555e got it working 2019-11-16 01:31:41 +01:00
Dessalines
76a47acacd Running cargo fmt. 2019-11-01 23:43:21 -07:00
Dessalines
b89d6305ba Password reset mostly working. 2019-11-01 23:41:57 -07:00
Dessalines
7100d4d1ef Halfway done with email, not fully working yet. 2019-10-29 20:35:39 -07:00
Dessalines
2d5f13ae67 Adding username mentions / tagging from comments.
- Fixes #293
2019-10-19 17:46:29 -07:00
Dessalines
b6046f707e Externalizing rate limits. Upgrading to Rust 1.38
- Fixes #290
2019-10-13 12:06:18 -07:00
Dessalines
d2dcf74618 Adding to slur filter. 2019-09-19 15:49:20 -07:00
Dessalines
23be72253e Adding to slur filter. 2019-09-18 12:00:41 -07:00
Dessalines
b634061b87 Running cargo fmt on server code.
- Adding a .rustfmt.toml for the 2 space indent.
2019-09-07 08:35:05 -07:00
Dessalines
6a761165bb Squashed commit of the following:
commit ecd6c5a2f4
Author: Dessalines <happydooby@gmail.com>
Date:   Tue Aug 13 19:49:38 2019 -0700

    Adding some docs

commit 3babd09aff
Author: Dessalines <happydooby@gmail.com>
Date:   Tue Aug 13 19:28:46 2019 -0700

    Adding save user settings

commit 6e8da9cc9e
Merge: 3246d5d c148eef
Author: Dessalines <happydooby@gmail.com>
Date:   Tue Aug 13 17:26:25 2019 -0700

    Merge branch 'dev' into nsfw

commit b3d4a5c4ce
Author: Dessalines <happydooby@gmail.com>
Date:   Sun Aug 11 20:55:09 2019 -0700

    nsfw mostly done, except for settings page.
2019-08-13 19:52:43 -07:00
Dessalines
7b7d85dc53 Using Rust 2018 now.
- Fixes #170
2019-06-03 10:47:12 -07:00
Dessalines
c16ab3b7f0 Done with reorg 2019-05-05 09:20:30 -07:00
Dessalines
61fc436b58 Mostly done with reorg. 2019-05-04 22:20:38 -07:00
Dessalines
23157e2e8d Reorganizing files before splitting out API 2019-05-02 18:34:21 -07:00