Commit graph

51 commits

Author SHA1 Message Date
Dessalines
3ce0618362 Making a trait function for follow and accept. 2020-04-26 13:20:42 -04:00
Dessalines
f0026065f5 Merge branch 'master' into federation_merge_from_master_1 2020-04-21 10:25:29 -04:00
asonix
ac43b86b60 Change RateLimit to act as a middleware 2020-04-19 22:59:07 -05:00
Dessalines
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
Felix
8daf72278d Add http signature to outgoing apub requests 2020-04-18 20:54:20 +02:00
Felix Ableitner
6962b9c433 Use Url instead of String 2020-04-08 14:37:05 +02:00
Felix Ableitner
6a7a262912 Merge branch 'federation_add_fed_columns' of https://yerbamate.dev/dessalines/lemmy into federation 2020-04-03 07:24:46 +02:00
Felix Ableitner
96c3621a80 Share list of communities over apub, some refactoring 2020-04-03 07:02:43 +02: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
31f835db86 Merge branch 'master' into federation 2020-04-02 15:11:11 -04:00
Dessalines
1571a4acd4 Changing markdown parser to comrak. Moving crate imports to lib.rs. 2020-03-28 18:02:49 -04:00
Dessalines
5ca466117d Merge branch 'master' into federation 2020-03-28 15:41:42 -04:00
Felix
bafc2fc7ac Convert md to html for feeds, try to deduplicate code 2020-03-28 16:56:20 +01:00
Felix
bf52bc22e4 Replace reqwest with chttp 2020-03-20 01:42:07 +01:00
Dessalines
d2cf36bf02 Updating chttp to isahc. 2020-03-18 23:11:37 -04:00
Dessalines
dc14719b08 Updating rust, rust deps, yarn deps. Fixes #605 2020-03-18 22:30:16 -04:00
asonix
cfe0d9c9c2 Upgraded to latest activitystreams 2020-03-18 20:16:17 -05:00
Felix Ableitner
05735b31c0 Remove boilerplate code 2020-03-16 18:30:25 +01:00
Felix Ableitner
8ebcc7ac02 Implemented basics for post federation, plus a bunch of other stuff 2020-03-14 22:03:05 +01:00
Felix Ableitner
b01f4f75d6 WIP: federate posts between instances 2020-03-14 01:05:42 +01:00
Felix Ableitner
063811cb60 Merge branch 'master' into federation 2020-03-12 12:34:37 +01:00
Felix Ableitner
ef6df1339f Proper error logging for websocket 2020-03-12 12:03:04 +01:00
Felix
54172bd322 updated to activitystreams 0.4.0-alpha.3 2020-03-12 01:01:25 +01:00
Dessalines
5396cb2f5c Running cargo update. 2020-03-07 19:52:00 -05:00
Dessalines
ac280782b2 Iframely and pictshare backend mostly done. 2020-03-07 18:31:13 -05:00
Felix
91ae9a9d49 Revert "pull in activitypub library"
This reverts commit a52a954eb4.
2020-03-05 11:32:29 +01:00
Felix
7cdf167e4b pull in activitypub library 2020-02-29 12:42:44 +01:00
Dessalines
d932acad16 Merge branch 'federation' into dev_1 2020-02-05 12:51:03 -05:00
Dessalines
8036474dda Starting to work on user message scope. 2020-01-31 20:02:20 -05:00
Felix
eaf548b5db Merge branch 'master' into federation 2020-01-14 16:30:54 +01:00
Felix
4361f48b98 Make various functions async 2020-01-11 13:50:07 +01:00
Felix
d8c84e2541 Upgrade actix to 2.0 (fixes #392) 2020-01-10 23:41:08 +01:00
Dessalines
a68fd4f2aa Updating cargo deps. 2020-01-03 23:41:44 -05:00
Felix Ableitner
581f36d6ef Implementing very basic federation including test setup 2019-12-30 13:31:54 +01:00
Felix Ableitner
4e952af00c Replace rust-crypto with sha2 crate (fixes #372) 2019-12-27 17:30:46 +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
Felix Ableitner
de313fc977 Implement RSS feeds (fixes #118) 2019-11-23 23:24:10 +01:00
Felix Ableitner
20966e085a preserve json order 2019-11-16 01:31:41 +01:00
Dessalines
68e4b61808 Password reset mostly working. 2019-11-01 23:41:57 -07:00
Dessalines
9f35b33dc7 Halfway done with email, not fully working yet. 2019-10-29 20:35:39 -07:00
Dessalines
5204b96d2f Cargo lock updates. 2019-07-22 23:34:52 -07:00
jonnnh
28b69fb1fc upgrade 2019-07-17 19:11:01 +08:00
Dessalines
026af39053 Formatting fixes. 2019-07-13 14:14:59 -07:00
Dessalines
cbec13eecc Reorganizing files before splitting out API 2019-05-02 18:34:21 -07:00
Dessalines
92670d1a5e Adding slur filter.
- Fixes #45
2019-04-09 11:35:16 -07:00
Dessalines
e826f631d8 Adding docker.
- Adding docker support. Fixes #6
- Completing the name change to lemmy. Fixes #36
- Running DB migrations from code. Fixes #38
2019-04-05 22:29:20 -07:00
Dessalines
38fa7969f9 Adding a front page / fetching subscribed forums.
- Adding subscribed to post view. Fixes #25
2019-04-05 12:14:54 -07:00
Dessalines
e570c70701 Adding login and Register
- Login and Register  mostly working.
- Starting to work on creating communities.
2019-03-22 18:42:57 -07:00
Dessalines
816aa0b15f Adding initial UI and Websocket server. 2019-03-20 18:22:31 -07:00