Commit graph

53 commits

Author SHA1 Message Date
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
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
b0affad981 Changing markdown parser to comrak. Moving crate imports to lib.rs. 2020-03-28 18:02:49 -04:00
Dessalines
72a50aae07 Updating chttp to isahc. 2020-03-18 23:11:37 -04:00
Dessalines
902676a9f8 Adding full logging. 2020-03-13 11:08:42 -04: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
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
Dessalines
abe31e9f17 Externalizing JWT token 2019-05-02 09:55:29 -07:00
Dessalines
73b9266580 Adding a search page
- Fixes # 70
2019-04-23 15:05:50 -07:00
Dessalines
18e239789f Cleaning up error handling on server.rs
- Fixes #83
2019-04-21 00:26:26 -07:00
Dessalines
b25b1b6a0d Saving replies, the actual fixes will be in the merge to dev. 2019-04-19 21:06:25 -07:00
Dessalines
335cabc1aa Adding post and user details paging.
- Fixes #52
- Fixes #34
2019-04-17 11:30:13 -07:00
Dessalines
5351e379d5 Commiting before I lose everything. I'll do this properly in a merge 2019-04-15 16:12:06 -07:00
Dessalines
463cacdf72 Adding slur filter.
- Fixes #45
2019-04-09 11:35:16 -07:00
Dessalines
18fed27fa3 Adding user details / overview page.
- Fixes #19
2019-04-07 22:19:02 -07:00
Dessalines
1eb1d71a3e Adding comment voting
- Extracting out some components.
- Fixing an issue with window refreshing websockets.
2019-03-28 12:32:08 -07:00
Dessalines
c438f0fef1 Adding login and Register
- Login and Register  mostly working.
- Starting to work on creating communities.
2019-03-22 18:42:57 -07:00
Dessalines
d52c16c123 Adding initial UI and Websocket server. 2019-03-20 18:22:31 -07:00
Dessalines
5b38bffb98 Adding posts and comments. 2019-03-05 17:00:01 -08:00