Commit graph

102 commits

Author SHA1 Message Date
Dessalines
1f66d047bc Some fed fixes. 2020-04-24 10:04:36 -04:00
Dessalines
8919023fe8 Merge branch 'master' into merge_master_2 2020-04-21 20:29:52 -04:00
Dessalines
7f3db52516 Adding web::blocks to routes. 2020-04-21 16:40:03 -04:00
Dessalines
a80104119b Merge branch 'master' into federation_merge_from_master_1 2020-04-21 10:25:29 -04:00
b55e9c08df Change RateLimit to act as a middleware 2020-04-19 22:59:07 -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
5557f38436 Simplify signing code 2020-04-19 13:44:44 +02:00
c23b49502e Add http signature to outgoing apub requests 2020-04-18 20:54:20 +02:00
ed77fbda55 Implement search for activitypub IDs 2020-04-17 15:46:08 +02:00
Dessalines
249b3a186e Front end federation names and links for users, posts, and communities. 2020-04-14 19:18:13 -04:00
Dessalines
37f94206f1 Merge branch 'dev' into federation 2020-04-14 16:07:20 -04:00
Dessalines
ceb9d6bc24 Fixing unwrap crash with site_view.rs 2020-04-14 12:24:05 -04:00
1d45fd2276 Implemented follow/accept 2020-04-14 17:37:23 +02:00
88b17e90ac Get inbox working properly 2020-04-13 15:06:41 +02: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
0a6da1109d Adding an admin settings page.
- Fixes #620
- Adding a UserListing component. Fixes #627
2020-04-10 16:55:57 -04:00
d9657b24a7 Minor code cleanup 2020-04-09 21:26:22 +02:00
f7330bf062 Implement create activity 2020-04-09 21:04:31 +02:00
cca3a52856 Store remote communities/posts in db, federate posts! 2020-04-07 18:47:19 +02:00
Dessalines
64e4b28007 Removing community name unique constraint. Removing useless fedi_name column from user_table. 2020-04-07 10:54:15 -04:00
Dessalines
1ea15c549d Adding post and comment ap_id columns. 2020-04-03 20:04:57 -04:00
786b3c7208 Move and rename some functions 2020-04-03 18:32:09 +02:00
6f4ba8be26 Merge branch 'federation_add_fed_columns' of https://yerbamate.dev/dessalines/lemmy into federation 2020-04-03 07:24:46 +02:00
5f2d58bd26 Share list of communities over apub, some refactoring 2020-04-03 07:02:43 +02: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
c12fd12d9c Automatic instance setup based on config variables (fixes #404) 2020-03-29 00:13:13 +01:00
e823f55495 Merge branch 'master' into federation 2020-03-18 22:51:34 +01:00
af189c59f3 Rewrite federation settings 2020-03-18 22:09:00 +01:00
6dac23b887 Implemented basics for post federation, plus a bunch of other stuff 2020-03-14 22:03:05 +01:00
61107b6546 Move apub related code from websocket into api package 2020-03-14 13:15:23 +01:00
f3ab32bada WIP: federate posts between instances 2020-03-14 01:05:42 +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
Dessalines
966a6fc70b Iframely and pictshare backend mostly done. 2020-03-07 18:31:13 -05:00
Dessalines
5418d45a82 Remove email from GetUserDetails when not same user. Fixes #579 2020-03-05 15:46:33 -05:00
0d9598155b Merge branch 'master' into federation 2020-02-29 00:47:37 +01:00
Dessalines
049556f146 Add new comments views to main and community pages. Fixes #480 2020-02-07 23:05:15 -05:00
Dessalines
6fce9911f9 Increasing post title length limit to 200. Fixes #515 2020-02-06 13:10:43 -05:00
Dessalines
d1ec4828ef Merge branch 'federation' into dev_1 2020-02-05 12:51:03 -05:00
Dessalines
d4736be04f Returning specific slurs from slur filter on failure. Fixes #463 2020-02-02 22:51:54 -05:00
Dessalines
f74d7b0368 Removing PostLikeResponse in favor of PostResponse. Consolidating comment and post_sends. 2020-02-02 12:45:41 -05:00
Dessalines
82c4d04114 Merge branch 'dev' into websocket_scopes 2020-02-01 00:37:34 -05:00
Dessalines
b14f7bae3c Starting to work on user message scope. 2020-01-31 20:02:20 -05:00
b3e1930d03 Add script to test http api, fix two api calls 2020-01-31 14:17:37 +01:00
Dessalines
f5b75f342b Done merging http-api and private_message 2020-01-23 19:17:42 -05:00
Dessalines
7d3adda0cd Adding private messaging, and matrix user ids.
- Fixes #244
2020-01-22 16:38:16 -05:00
Dessalines
fc86b83e36 Allow comment/post upvoting from other pages.
- Fixes #355
- Votes now coming back for posts and comments on search page.
2020-01-20 18:39:45 -05:00
415040a1e9 working! 2020-01-18 14:26:04 +01:00
Dessalines
05f2bfc83c Fixing error when email already exists. Fixes #427 2020-01-17 20:34:16 -05:00