Commit graph

68 commits

Author SHA1 Message Date
f15c3b4e1e Merge branch 'yerba_rework-imports' into federation 2020-05-16 21:09:26 -04:00
9e61c3be94 Rework imports 2020-05-16 20:04:17 +02:00
Dessalines
940dc73f28 Federated mentions. Fixes #681 (#717)
* Federated mentions. Fixes #681

* Changing some todos, adding comments.
2020-05-15 12:36:11 -04:00
f0026065f5 Merge branch 'master' into federation_merge_from_master_1 2020-04-21 10:25:29 -04:00
d058db95e5 Use get_ip in ratelimit middleware 2020-04-20 13:02:25 -05:00
f300c67a4d 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
1336b4ed60 Merge branch 'dev' into federation 2020-04-14 16:07:20 -04:00
61815bce2e 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
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
31f835db86 Merge branch 'master' into federation 2020-04-02 15:11:11 -04:00
1571a4acd4 Changing markdown parser to comrak. Moving crate imports to lib.rs. 2020-03-28 18:02:49 -04:00
5ca466117d Merge branch 'master' into federation 2020-03-28 15:41:42 -04:00
d2cf36bf02 Updating chttp to isahc. 2020-03-18 23:11:37 -04:00
33cce05300 Merge branch 'master' into federation 2020-03-18 22:51:34 +01:00
8ebcc7ac02 Implemented basics for post federation, plus a bunch of other stuff 2020-03-14 22:03:05 +01:00
62ab68d317 Adding full logging. 2020-03-13 11:08:42 -04:00
063811cb60 Merge branch 'master' into federation 2020-03-12 12:34:37 +01:00
54172bd322 updated to activitystreams 0.4.0-alpha.3 2020-03-12 01:01:25 +01:00
nutomic
bf1db428f6 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
ac280782b2 Iframely and pictshare backend mostly done. 2020-03-07 18:31:13 -05:00
91ae9a9d49 Revert "pull in activitypub library"
This reverts commit a52a954eb4.
2020-03-05 11:32:29 +01:00
7cdf167e4b pull in activitypub library 2020-02-29 12:42:44 +01:00
032ebe7a9e Integrate email relay in Ansible setup 2020-02-03 14:10:24 +01:00
ee2038a75a Returning specific slurs from slur filter on failure. Fixes #463 2020-02-02 22:51:54 -05:00
f1b5b50dc8 Adding correct hello_name to mail. 2020-01-22 20:35:20 -05:00
86871d17ac Updating slur filter. 2020-01-20 17:12:23 -05:00
80f76f2efd Use actix config to handle routes in seperate folders (#378) 2019-12-31 14:17:24 +01:00
4ad836d690 Adding case insensitivity to slur filter.
- Fixes #388
2019-12-29 20:29:07 -05:00
786be3fa66 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
b7c24a372b Fix review comments 2019-12-27 17:30:46 +01:00
4e952af00c Replace rust-crypto with sha2 crate (fixes #372) 2019-12-27 17:30:46 +01:00
3d9f7d28d6 Implement webfinger (fixes #149) 2019-12-27 17:29:50 +01:00
cf3ae15ee9 Implement config (fixes #351) 2019-12-27 17:28:44 +01:00
Lyra
34def84d43 Add correct ActivityPub types conversion for Community and Post. 2019-12-27 17:25:20 +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
279a901e4a Add configuration variables in order to allow binding lemmy to a different adress/port 2019-12-06 20:36:56 +01:00
52ea7a32db 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
de313fc977 Implement RSS feeds (fixes #118) 2019-11-23 23:24:10 +01:00
dcad96170e Running cargo fmt 2019-11-21 11:27:52 -08:00
4f116dc758 got it working 2019-11-16 01:31:41 +01:00
3350599901 Running cargo fmt. 2019-11-01 23:43:21 -07:00
68e4b61808 Password reset mostly working. 2019-11-01 23:41:57 -07:00
9f35b33dc7 Halfway done with email, not fully working yet. 2019-10-29 20:35:39 -07:00
02dd9ac32a Adding username mentions / tagging from comments.
- Fixes #293
2019-10-19 17:46:29 -07:00
35dfe31a39 Externalizing rate limits. Upgrading to Rust 1.38
- Fixes #290
2019-10-13 12:06:18 -07:00
a0bc840c7a Adding to slur filter. 2019-09-19 15:49:20 -07:00
53773e650f Adding to slur filter. 2019-09-18 12:00:41 -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
d7ab85ab70 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
8348399f60 Using Rust 2018 now.
- Fixes #170
2019-06-03 10:47:12 -07:00