Commit Graph

167 Commits (c34fffc2c48b82e7c7aa2f139850c2917fc36438)

Author SHA1 Message Date
Felix dfd6629a6f Federate community category and nsfw 4 years ago
Felix 7485f1a5b4 Federate nsfw/locked info for posts 4 years ago
Dessalines b177cbce1d Renaming ignore to unfollow in followable trait. 4 years ago
Dessalines b8b2398d32 Adding undo follow community. 4 years ago
Dessalines fab22e3d8a Add federated comment and post undo like. 4 years ago
Dessalines a09c818746 Adding federated mod remove actions. 4 years ago
Dessalines 5366797a4b Add undos for delete community, post, and comment. 4 years ago
Dessalines 2f1cd9976d Adding federated community, comment, and post deletes.
- Unit tests added too.
- No undeletes working yet.
4 years ago
Felix c43f06124a Address comments, implement delete for posts and comments 4 years ago
Felix 0c0c683986 Implement deleting communities 4 years ago
Dessalines 3b62f58dd2 Adding federated post and comment likes. 4 years ago
Dessalines 9721b77317 1/3rd done with post likes 4 years ago
Dessalines 70060c27b2 Adding activity table inserts. 4 years ago
Dessalines 22abbebd41 Lots of additions to federation.
- Added a shared inbox.
- Added federated comments, comment updates, and tests.
- Abstracted ap object sends into a common trait.
4 years ago
Dessalines 3ce0618362 Making a trait function for follow and accept. 4 years ago
Dessalines 66a2c4a2c3 Some fed fixes. 4 years ago
Dessalines 18e570b021 Merge branch 'master' into merge_master_2 5 years ago
Dessalines d98c936295 Adding web::blocks to routes. 5 years ago
Dessalines f0026065f5 Merge branch 'master' into federation_merge_from_master_1 5 years ago
asonix ac43b86b60 Change RateLimit to act as a middleware 5 years ago
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
5 years ago
Felix 5284dc0c52 Simplify signing code 5 years ago
Felix 8daf72278d Add http signature to outgoing apub requests 5 years ago
Felix 86f172076b Implement search for activitypub IDs 5 years ago
Dessalines fcf1c65fc1 Front end federation names and links for users, posts, and communities. 5 years ago
Dessalines 1336b4ed60 Merge branch 'dev' into federation 5 years ago
Dessalines 9878a58452 Fixing unwrap crash with site_view.rs 5 years ago
Felix 19c8461397 Implemented follow/accept 5 years ago
Felix fdaf0b3364 Get inbox working properly 5 years ago
Dessalines 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
5 years ago
Dessalines bb287cbd07 Adding an admin settings page.
- Fixes #620
- Adding a UserListing component. Fixes #627
5 years ago
Felix 483d11e772 Minor code cleanup 5 years ago
Felix 0b617377df Implement create activity 5 years ago
Felix Ableitner b7103a7e14 Store remote communities/posts in db, federate posts! 5 years ago
Dessalines 56947e7710 Removing community name unique constraint. Removing useless fedi_name column from user_table. 5 years ago
Dessalines 85ea1046f0 Adding post and comment ap_id columns. 5 years ago
Felix Ableitner cb7059f832 Move and rename some functions 5 years ago
Felix Ableitner 6a7a262912 Merge branch 'federation_add_fed_columns' of https://yerbamate.dev/dessalines/lemmy into federation 5 years ago
Felix Ableitner 96c3621a80 Share list of communities over apub, some refactoring 5 years ago
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.
5 years ago
Dessalines 31f835db86 Merge branch 'master' into federation 5 years ago
Felix 76bf71162e Automatic instance setup based on config variables (fixes #404) 5 years ago
Felix Ableitner 33cce05300 Merge branch 'master' into federation 5 years ago
Felix Ableitner 390b204272 Rewrite federation settings 5 years ago
Felix Ableitner 8ebcc7ac02 Implemented basics for post federation, plus a bunch of other stuff 5 years ago
Felix Ableitner 5896a9d251 Move apub related code from websocket into api package 5 years ago
Felix Ableitner b01f4f75d6 WIP: federate posts between instances 5 years ago
Dessalines 62ab68d317 Adding full logging. 5 years ago
Felix Ableitner 063811cb60 Merge branch 'master' into federation 5 years ago
Dessalines ac280782b2 Iframely and pictshare backend mostly done. 5 years ago
Dessalines 876d311706 Remove email from GetUserDetails when not same user. Fixes #579 5 years ago
Felix f9443dfbd3 Merge branch 'master' into federation 5 years ago
Dessalines ecd10482a6 Add new comments views to main and community pages. Fixes #480 5 years ago
Dessalines 65a6e7731c Increasing post title length limit to 200. Fixes #515 5 years ago
Dessalines d932acad16 Merge branch 'federation' into dev_1 5 years ago
Dessalines ee2038a75a Returning specific slurs from slur filter on failure. Fixes #463 5 years ago
Dessalines 96a7e99e57 Removing PostLikeResponse in favor of PostResponse. Consolidating comment and post_sends. 5 years ago
Dessalines 9f2b61708e Merge branch 'dev' into websocket_scopes 5 years ago
Dessalines 8036474dda Starting to work on user message scope. 5 years ago
Felix 7b4bf68486 Add script to test http api, fix two api calls 5 years ago
Dessalines ac1d5f2b86 Done merging http-api and private_message 5 years ago
Dessalines 253bc3e0af Adding private messaging, and matrix user ids.
- Fixes #244
5 years ago
Dessalines a964b4ce21 Allow comment/post upvoting from other pages.
- Fixes #355
- Votes now coming back for posts and comments on search page.
5 years ago
Felix f1035dacc2 working! 5 years ago
Dessalines 8604c1d257 Fixing error when email already exists. Fixes #427 5 years ago
Felix eaf548b5db Merge branch 'master' into federation 5 years ago
Dessalines dff8b947bb Trying to add r2d2 connection pooling to websockets. 5 years ago
Dessalines c252785632 Don't send email notification for self replies.
- Fixes #401
5 years ago
Dessalines 5b42dc3393 Adding show_avatar user setting, and option to send notifications to inbox.
- Fixes #254
- Fixes #394
5 years ago
Felix Ableitner e09a035373 Merge branch 'master' into federation 5 years ago
Felix Ableitner d08e09fbdc Apply changes suggested by cargo clippy (fixes #395) 5 years ago
Dessalines f5a13717ea Adding change password and email address from user settings.
- Fixes #384
- Fixes #385
5 years ago
Felix Ableitner 581f36d6ef Implementing very basic federation including test setup 5 years ago
Dessalines a4428528e3 Adding user avatars / icons. Requires pictshare.
- Fixes #188
5 years ago
Dessalines d57b2d4865 Fixing non-existent user profile viewing.
- Fixes #381
5 years ago
Felix Ableitner cf3ae15ee9 Implement config (fixes #351) 5 years ago
Lyra 34def84d43 Add correct ActivityPub types conversion for Community and Post. 5 years ago
Dessalines 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
5 years ago
Lyra c19ace7e6a Introduce the "MaybeOptional" trait.
This trait is a generic type that allows us to get an Option from any type and from another option. It can be used to remove the ugly "do_something", "do_something_optional" that we previously had.
5 years ago
Dessalines faef62e073 Switching to shorthands for rust params. 5 years ago
Dessalines f0808a1116 Adding custom language setting.
- Fixes #319
5 years ago
Dessalines d18f2c9eb1 Use builder pattern for views
- Fixes #360
5 years ago
Dessalines a51b7d95b2 show_nsfw is now default for postquery. 5 years ago
Lyra 9fc8aacc2d Add default options for all parameters and move them out of the constructor. Rename structure to PostQueryBuilder 5 years ago
Lyra bff3183a27 Use a dedicated structure in order to search posts 5 years ago
Dessalines bf601b0458 Fixing issue with missing community.
- Fixes #339
5 years ago
Dessalines 3021d19e1f Fixing ansible build, and email link. 5 years ago
Dessalines 3350599901 Running cargo fmt. 5 years ago
Dessalines 68e4b61808 Password reset mostly working. 5 years ago
Dessalines 9f35b33dc7 Halfway done with email, not fully working yet. 5 years ago
Dessalines 90ce1f1a3f Adding default sort / filter into user settings.
- Fixes #295
5 years ago
Dessalines 02dd9ac32a Adding username mentions / tagging from comments.
- Fixes #293
5 years ago
Dessalines f7c9dc0b21 Make delete account require password.
- Fixes #301
5 years ago
Dessalines 536313889d Running cargo fmt. 5 years ago
Dessalines 903d73d665 Adding permanently delete account comments and posts.
- Fixes #285
- Fixes #58
5 years ago
Dessalines c0821fcaa5 Adding 8 different themes.
- Fixes #276
5 years ago
Dessalines 663a601e11 Adding admin abilities on user pages.
- Fixes #280
5 years ago
Dessalines 35dfe31a39 Externalizing rate limits. Upgrading to Rust 1.38
- Fixes #290
5 years ago
Dessalines e24f4a2d33 Adding an online user count to main page.
- Fixes #274
5 years ago
Dessalines 3f6b2be2cc Adding stickied posts.
- Fixes #245
5 years ago