Commit Graph

1183 Commits (add_creator_banned_from_community_to_voteview)

Author SHA1 Message Date
Dessalines 73449c09a7
Fix image uploads. Fixes #1725 (#1734)
* Fix image uploads. Fixes #1725

* Adding comment on awc dep.
3 years ago
Nutomic e413350be3
Merge pull request #1666 from LemmyNet/resolve-endpoint
Move resolving of activitypub objects to separate api endpoint
3 years ago
Dessalines c23e7cc20d
Fixing ResolveObject API and unit tests (#1713) 3 years ago
Dessalines 1ee0c0c291
Adding more site setup vars. Fixes #678 (#1718) 3 years ago
Nutomic 3b37ea6c8b
Dont append ? to url when cleaning it (#1716) 3 years ago
Felix Ableitner 251e0d3b82 Move resolving of activitypub objects to separate api endpoint (fixes #1584) 3 years ago
Nutomic f6f169b4eb
Rewrite remaining activities (#1712)
* Limit type/method visibility in apub code

* Simplify db_queries traits by removing generics

* Simplify delete activity implementation

* Rewrite delete activities

* Implement helper functions for websocket message sending

* When receiving delete reason as empty string, change to none

* Rewrite remaining activities

* Simplify inbox

* Remove struct ActivityCommonFields, derive ActivityFields trait instead

* Community should announce received activities to followers
3 years ago
Dessalines 2016afc9db
User / community blocking. Fixes #426 (#1604)
* A first pass at user / community blocking. #426

* Adding unit tests for person and community block.

* Moving migration

* Fixing creator_blocked for comment queries, added tests.

* Don't let a person block themselves

* Fix post creator_blocked

* Adding creator_blocked to PersonMentionView

* Moving blocked and follows to MyUserInfo

* Rename to local_user_view

* Add moderates to MyUserInfo

* Adding BlockCommunityResponse

* Fixing name, and check_person_block

* Fixing tests.

* Using type in Blockable trait.

* Changing recipient to target, adding unfollow to block action.
3 years ago
Dessalines 6af75492a9
Swap out iframely (#1706)
* Replace Iframely. Fixes #1681

* Add post_link_tags to nginx

* Adding post_link_tags route

* Cleaning up post_link_tags

* Changing PostLink to SiteMetadata, adding it to the API.

* Fixing issue when local has no openssl certs.

* Fixing an issue with pictrs errors

* Revert "Fixing issue when local has no openssl certs."

This reverts commit dbf7d1b1ee03846e5ef7b7156e618424f1150e1d.

* Add ca-certs to dockerfile for volume mount.

* Cleaning up fetch_pictrs request

* Changing to fetch_site_data
3 years ago
Nutomic 8158966af6
Merge pull request #1710 from LemmyNet/mod_transfer_community
Adding ModTransferCommunity to modlog in API. Fixes #1437
3 years ago
Dessalines 6910e18a83 Adding ModTransferCommunity to modlog in API. Fixes #1437 3 years ago
Dessalines 1f64db6a33 Upgrading deps 3 years ago
Nutomic 28d6370c35
Rewrite delete activities (#1699)
* Limit type/method visibility in apub code

* Simplify db_queries traits by removing generics

* Simplify delete activity implementation

* Rewrite delete activities

* Implement helper functions for websocket message sending

* When receiving delete reason as empty string, change to none
3 years ago
Dessalines 2966203653
Don't allow deleted users to do actions. Fixes #1656 (#1704) 3 years ago
Dessalines 8a1af056e2
When banning a user, remove communities they've created (#1700)
- Fixes #1659
3 years ago
Nutomic 353a1fe0a0
Rewrite activitypub following, person, community, pm (#1692)
* Rewrite following activities

* Rewrite person apub

* Rewrite community apub

* Rewrite private message activity sending
3 years ago
Felix Ableitner a44b5c9c36 publish to crates.io with normal release script 3 years ago
Felix Ableitner af6aa3c0bf Distribute Lemmy via crates.io 3 years ago
Felix Ableitner b2937223df Migrate comment inReplyTo field to single value (ref #1454) 3 years ago
Dessalines 7b8cbbba85
Simplify config using macros (#1686)
Co-authored-by: Felix Ableitner <me@nutomic.com>
3 years ago
Nutomic b8d7f00d58
Rewrite voting (#1685)
* Merge like/dislike activity handlers into vote

* Rewrite vote sending code

* Remove old send_create, send_update functions
3 years ago
Dessalines 1664cb326a
Merge pull request #1677 from LemmyNet/remove-fat-deps
Remove brotli, zstd dependencies
3 years ago
Felix Ableitner abd26aeab2 Remove brotli, zstd dependencies 3 years ago
Felix Ableitner 6b57d716e1 Rewrite private message apub and merge create/update 3 years ago
Felix Ableitner dc363c8f35 Merge logic for post create and update 3 years ago
Felix Ableitner 3eb46868ff Merge logic for comment create and update 3 years ago
Felix Ableitner 43ad99bbe8 Rewrite apub comment (de)serialization using structs (ref #1657) 3 years ago
Felix Ableitner 433ab1e78b Add docs for MediaType, PublicUrl values 3 years ago
Felix Ableitner 57b6ecaf40 Simplify lemmy_context() function (dont return errors) 3 years ago
Felix Ableitner ff265c7ebc Rewrite apub post (de)serialization using structs (ref #1657) 3 years ago
Dessalines d85f0d087e
Blank out extra info for deleted or removed content. Fixes #1679 (#1680) 3 years ago
Dessalines 6ffa291ec9
Actor name length config dess (#1672)
* Make length of user/community name configurable (fixes #1306)

* use single config value, fix migrations, increase displayname length

* remove debug statements

* add helper method for setting actor_name_max_length

* move function

* Fixing some defaults

Co-authored-by: Felix Ableitner <me@nutomic.com>
3 years ago
Dessalines fcae2189eb
Add show_new_posts_notifs setting. Fixes #1664 (#1665) 3 years ago
Dessalines 7d3b90d711
Fix issue with protocol string in actor id generation (#1668) 3 years ago
Dessalines 5fe7de2bff
Adding shortname fetching for users and communities. Fixes #1662 (#1663) 3 years ago
Felix Ableitner c1db86925f Merge apub, apub_receive crates (fixes #1621) 3 years ago
Nutomic c7de1fcf24
Apub inbox rewrite (#1652)
* start to implement apub inbox routing lib

* got something that almost works

* it compiles!

* implemented some more

* move library code to separate crate (most of it)

* convert private message handlers

* convert all comment receivers (except undo comment)

* convert post receiver

* add verify trait

* convert community receivers

* add cc field for all activities which i forgot before

* convert inbox functions, add missing checks

* convert undo like/dislike receivers

* convert undo_delete and undo_remove receivers

* move block/unblock activities

* convert remaining activity receivers

* reimplement http signature verification and other checks

* also use actor type for routing, VerifyActivity and SendActivity traits

* cleanup and restructure apub_receive code

* wip: try to fix activity routing

* implement a (very bad) derive macro for activityhandler

* working activity routing!

* rework pm verify(), fix tests and confirm manually

also remove inbox username check which was broken

* rework following verify(), fix tests and test manually

* fix post/comment create/update, rework voting

* Rewrite remove/delete post/comment, fix tests, test manually

* Rework and fix (un)block user, announce, update post

* some code cleanup

* rework delete/remove activity receivers (still quite messy)

* rewrite, test and fix add/remove mod, update community handlers

* add docs for ActivityHandler derive macro

* dont try to compile macro comments
3 years ago
Dessalines 9840f5c1c1
Upgrading deps, running clippy fix on nightly 1.55.0 (#1638)
* Upgrading deps, running clippy fix on nightly 1.55.0

* Running clippy --fix

* Trying to fix transform

* Trying to fix another transform

* Upgrading http-signature-normalization-actix

* Fix app_data

* Fix pictrs uploading

* Fix unwrap
3 years ago
Dessalines f54209c451
Running clippy --fix (#1647) 3 years ago
David Sterry 1b1ebd2f70 make captcha case-insensitive 3 years ago
Felix Ableitner f289374e70 Remove tracking params from post url (fixes #768) 3 years ago
Dessalines 12d50e42b4
Change join.lemmy.ml to join-lemmy.org (#1628) 3 years ago
Dessalines ab2b8df1cb
Invalidate current logins on account deletion. Fixes #1602 (#1603) 3 years ago
Dessalines b95bbe2fae
Fix nsfw posts showing for non-logged in users. Fixes #1614 (#1615) 3 years ago
Pavel Balashov 7008848f9c
Add additional slurs configuration option. Closes #1464. (#1612)
* Actualize a comment about config initialization

* Add additional slurs functionality.

It is possible to additional regex for slurs filtering.
It can be done through `additional_slurs` option in config file.
3 years ago
Nutomic 96488684e6
Better slur regex 3 years ago
Dessalines c864dfadf6
Fixing regex. Fixes #1593 (#1594)
* Fixing regex. Fixes #1593

* Fixing test
3 years ago
Dessalines 880c51687a Merge branch 'main' into feature/mark_post_as_read 3 years ago
Dessalines 6d3778cafe Changing unwrap_default to unwrap_or(false) 3 years ago
Dessalines 5b2be6f9df Add show_read_posts filter. Fixes #1561 3 years ago
Dessalines ed31deab00 Creator extra search results 3 years ago
Dessalines ef7fe7586b Some formatting 3 years ago
Dessalines 51e181c529 Don't search for communities or users when the id is included. 3 years ago
Dessalines f8cd6fd445 Making more fields optional in the API.
- Fixes #1569
3 years ago
Dessalines c86f5472fb Adding listing_type to search. 3 years ago
Dessalines a42ac3e58a Add creator id to search. Fixes #765 3 years ago
Nutomic db1abff857
Add option to limit community creation to admins only (fixes #1586) (#1587)
* Add option to limit community creation to admins only (fixes #1586)

* address review
3 years ago
Nutomic efee2062dd
Mark accounts as bot nutomic (#1565)
* Mark account as bot. Fixes #1357

* Fix clippy

* Federate bot status using actor `type` field

* fix clippy

Co-authored-by: Dessalines <tyhou13@gmx.com>
3 years ago
Dessalines 9dc5605663
Merge pull request #1588 from LemmyNet/improved-logging
Improved logging
3 years ago
Nutomic 8bb3ba4a16
Add option to disable strict allowlist (fixes #1486) (#1581)
* Add option to disable strict allowlist (fixes #1486)

* adjust docs
3 years ago
Felix Ableitner 78eee7dc9e Improved logging 3 years ago
Nutomic 65a11a7239
Use .map_err in api code (fixes #1573) (#1575)
* Use .map_err in api code (fixes #1573)

* forgot some
3 years ago
Felix Ableitner c572dc0cc6 Remote mods can update/delete/undelete communities 3 years ago
Felix Ableitner b7d1d91309 For untagged commits, include hash in version name (fixes #1563) 3 years ago
Nutomic aa79c5131f
Implement federated bans (fixes #1298) (#1553)
* Implement federated bans (fixes #1298)

* mod actions should always be federated to affected user, in addition to followers

* Make Undo/Block work for remote mods

* clippy fix

* fix federation test

* vscodium doesnt auto-save changes...
3 years ago
Dessalines 2e16b11db8 Forgot to remove extra fields for changepassword. 3 years ago
Dessalines c3d64f996e
Removing community.creator column. Fixes #1504 (#1541)
* Removing community.creator column. Fixes #1504

* Fixing unit tests.

* Fixing federation tests.
3 years ago
Dessalines 1a70477fc7
Better DB default fields. (#1560)
* Better DB default fields.

* Fixing clippy
3 years ago
Dessalines 831ab76152 Version 0.10.3 3 years ago
Dessalines 727fa610d4
Merge pull request #1552 from LemmyNet/feature/1550-optional-config-values
Make some of the database config values optional (fixes #1550)
3 years ago
Dessalines 7bd474a843
Adding a short site description. Fixes #1496 (#1532)
* Adding a short site description. Fixes #1496

- Renaming old description to sidebar

* Adding a back end site desc length check.
3 years ago
Dessalines 5fff927dc4
Adding matrix id validation check. Fixes #1520 (#1538) 3 years ago
Dessalines d97129e7ae Merge branch 'main' into change_password_api 3 years ago
Felix Ableitner ccdf117c8f Make some of the database config values optional (fixes #1550) 3 years ago
Nutomic a4c2421e74
Merge pull request #1537 from LemmyNet/add_users_active_monthly_community_sort
Adding users active monthly for community sort. Fixes #1527
3 years ago
Nutomic bcdbced0dd
Merge pull request #1536 from LemmyNet/change_preferred_to_display_name
Changing preferred to display name. Fixes #1211
3 years ago
Nutomic 98216d8a3b
Merge pull request #1535 from LemmyNet/rust_captcha_features
Rust captcha features
3 years ago
Nutomic 7daee06383
Merge pull request #1529 from LemmyNet/show_score_setting
Adding a setting to show / hide scores. Fixes #1503
3 years ago
Dessalines 89b96511bf Version 0.10.2 3 years ago
Dessalines 458767e3a8 Version 0.10.1 3 years ago
Nutomic f0c96c28bf
Crash if config fails to load (#1545)
* Crash if config fails to load

* fix previous commit
3 years ago
Dessalines ba517249e8 Version 0.10.0 3 years ago
Dessalines f33f763278 Moving ChangePassword to its own API action. Fixes #1471 3 years ago
Dessalines b893085d1f Adding users active monthly for community sort. Fixes #1527 3 years ago
Dessalines 799ab94af3 Don't allow zero-space char in display name. Fixes #1317 3 years ago
Dessalines bf7558830f Changing preferred to display name. Fixes #1211 3 years ago
Dessalines 1ba570092e Adding more rust captcha features. Fixes #1248 3 years ago
Dessalines 2f63fdbde0 Adding a setting to show / hide scores. Fixes #1503 3 years ago
Felix Ableitner 722cdb78ba Split lemmy_apub crate into two parts apub and apub_receive 3 years ago
Dessalines 36a79e18cd Version 0.10.0-rc.13 3 years ago
Dessalines 4da6e42fc1 Fix websocket location to /api/vX 3 years ago
Dessalines 4c8f2e976e Merge remote-tracking branch 'yerba/split-api-crate' into test_merge_api_crates_reorg 3 years ago
Felix Ableitner 01fc1228d5 Fix API and clippy warnings 3 years ago
Dessalines 2309088b03 Renaming to api/v3 3 years ago
Dessalines c2f8695c9a Version 0.10.0-rc.12 3 years ago
Felix Ableitner 249fcc5066 Split api crate into api_structs and api 3 years ago
Felix Ableitner 34bdf4c7c5 Federate Matrix ID (fixes #1438) 3 years ago
Dessalines 3ca2453fc6 Merge branch 'main' into move_matrix_and_admin_to_person 3 years ago
Dessalines 8a10a9079f Merge remote-tracking branch 'yerba/federated-moderation' 3 years ago
Felix Ableitner c7524d924b Fix federation tests 3 years ago
Dessalines 7051207495 Version 0.10.0-rc.10 3 years ago
Dessalines 6758922a63 Version 0.10.0-rc.9 3 years ago
Dessalines baab2e88a5 Merge branch 'main' into move_matrix_and_admin_to_person 3 years ago
Dessalines b4276341af Adding saved_only to GetComments and GetPosts. Fixes #1513 3 years ago
Dessalines e4ead96d3a Merge branch 'main' into move_matrix_and_admin_to_person 3 years ago
Dessalines eb45bf2d0a Moving admin to person table. Fixes #1515 3 years ago
Felix Ableitner d6bd072ea1 Make federation compatible with Lemmy v0.9.9 3 years ago
Felix Ableitner a5a0d90349 Address review comments 3 years ago
Felix Ableitner 459b95bc7e Make previous commit compile 3 years ago
Grishka 115b986edc uh 3 years ago
Grishka c14a505456 Fix JSON-LD contexts 3 years ago
Dessalines c884510173 Creating default DB forms. Fixes #1511 3 years ago
Dessalines 1745b64ceb Moving matrix_user_id to person table. #1438 3 years ago
Felix Ableitner 4f54108a9c Merge branch 'main' into federated-moderation 3 years ago
Dessalines f55ef1d7ef Version 0.10.0-rc.7 3 years ago
Dessalines 493598c1ba A few suggestion fixes. 3 years ago
Dessalines 05b485b678 Merge branch 'Mart-Bogdan-1462-jwt-revocation-on-pwd-change' into jwt_revocation_dess 3 years ago
Dessalines 360d4ea8d1 Merge branch '1462-jwt-revocation-on-pwd-change' of https://github.com/Mart-Bogdan/lemmy into Mart-Bogdan-1462-jwt-revocation-on-pwd-change 3 years ago
Dessalines 9930c7288a Merge branch 'split_user_table' into strictly_type_db_ids 3 years ago
Dessalines 8d9fab0389 Merge branch 'main' into split_user_table 3 years ago
Dessalines c3efb9f7cf Strictly typing DB id fields. Fixes #1498 3 years ago
Felix Ableitner 4f7dca7c2b Fix three federation test cases 3 years ago
Dessalines 5899b89ef2 Adding some comments to notifs. 3 years ago
Dessalines 99e5a4d1c3 Moving send email check inside function. 3 years ago
Felix Ableitner b3a5b4eb82 Refactor activitypub code 3 years ago
Felix Ableitner 71067a8cb5 For FromApub trait, use `is_mod_action: bool` instead 3 years ago
Felix Ableitner be00f63fb2 Allow remot moderators to do Remove/Post and Remove/Comment 3 years ago
Dessalines 270ce539bf Removing some TODOS. 3 years ago
Dessalines b9f483bc27 Version 0.10.0-rc.5 3 years ago
Dessalines 8ee624a542 Some changes
- Changing claim name to local_user_id to facilitate logout.
- Changing AddAdmin back to using person_id
3 years ago
Felix Ableitner 621355b6ef Insert announced activities into DB for fetching (fixes #1494) 3 years ago
Bogdan Mart 74272ed754 more correct tests 3 years ago
Bogdan Mart 4426c3176d fix timestamp condition #1462 3 years ago
Bogdan Mart 7b0a09e84e Merge remote-tracking branch 'origin/main' into 1462-jwt-revocation-on-pwd-change
* origin/main:
  revert Compose file version from 3.3 to 2.2
  Adding more mem limits
  bump memory limit of iframely
  Remove extra category_id s . Fixes #1429
  Fixing wrong user_ and community icon and banner urls.
  Remove category from activitypub context
  Adding a password length check to other API actions. (#1474)
  Update test script
  Use URL type in most outstanding struct fields (#1468)
  Forbid usage of unwrap
  Upgrade Rust version
  Rewrite settings implementation. Fixes #1270 (#1433)
  Rename `lemmy_structs` to `lemmy_api_structs`

# Conflicts:
#	crates/db_schema/src/source/user.rs
3 years ago
Bogdan Mart ab947f1f08 User token revocation upon password change
Added DB column validator_time and chedking that is is less then token's "Issuead at time"
Wip on #1462
3 years ago
Dessalines 5998c83b2a Only sending private message if its a local user. 3 years ago
Dessalines 75a95acf04 Change joinuser, sendusermessage to use local_user_id 3 years ago
Felix Ableitner de14636e10 Fix code to allow sticky/lock from remote moderators 3 years ago
Felix Ableitner de39d57592 WIP: check that modifications are made by same user, add docs 3 years ago
Dessalines 7c039340ed 2nd pass. JWT now uses local_user_id 3 years ago
Felix Ableitner b1ca85b910 Fix clippy warning 3 years ago
Felix Ableitner 50559de6d2 Add check so only mods can change stickied/locked state of posts 3 years ago
Dessalines 5d8ccbafe4 Fixing some tests 2 3 years ago
Felix Ableitner 803aad3b3e Add check so only author or mods can edit posts/comments 3 years ago
Dessalines 1a4c8c08ee Fixing some tests 3 years ago
Felix Ableitner a2698dea92 Allow for remote mods to remove posts/comments 3 years ago
Dessalines 9cb4dad4b4 A first pass. 3 years ago
Dessalines ddf4a667b1 ~80% done 3 years ago
Felix Ableitner 3ffae1f5b8 Allow adding remote users as community mods (ref #1061) 3 years ago
Felix Ableitner dcf40db225 Update activitystreams to 0.7.0-alpha.11 3 years ago
Felix Ableitner 9172eff65a Implemented receiving activities to add/remove remote mods 3 years ago
Felix Ableitner 0c484e8c76 Move moderators collection to separate HTTP endpoint 3 years ago
Felix Ableitner beb8b9fe69 Use collection for moderators, instead of `attributedTo` (ref #1061) 3 years ago
Dessalines a1c7584875 Remove extra category_id s . Fixes #1429 3 years ago
Dessalines ca3c1269f5 Merge branch 'main' of https://github.com/lemmynet/lemmy 3 years ago
dessalines 0a52396706 Merge pull request 'Forbid usage of unwrap' (#179) from clippy-unwrap into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/179
3 years ago
Felix Ableitner 7189328f80 Remove category from activitypub context 3 years ago
Dessalines 134fece36d
Adding a password length check to other API actions. (#1474)
* Adding a password length check to other API actions.

- Fixes #1473

* Fixing comment.
3 years ago
Andrew Yoon e78ba38e94
Use URL type in most outstanding struct fields (#1468)
* Use URL type in most outstanding struct fields

This fixes all known remaining cases where url fields are stored as
plain strings, with the exception of form fields where empty strings
are used as sentinels (see `diesel_option_overwrite_to_url`).

Tested for regressions in the federated docker setup attempting to
exercise all changed fields, including through apub federation.

Fixes #1385

* Add migration to fix blank-string post.url values to be null

This also then fixes #602

* Address review feedback

- Fixed some unwraps and err message formatting
- Bumped the `url` library to 2.2.1 to fix a bug with serde error
  messages
- Add unit tests for the two diesel option override functions
- Fix migration teardown by adding a no-op

* Rename lemmy_db_queries::Url to lemmy_db_queries::DbUrl

* fix compile error

* box PostOrComment variants
3 years ago
Felix Ableitner 7f56281c26 Forbid usage of unwrap 3 years ago
Dessalines 462c4a2954
Rewrite settings implementation. Fixes #1270 (#1433)
* A first attempt at using deser-hjson. Fixes #1270

* Trying to fix tests, try 1

* Trying to fix tests, try 2

* A few fixes to deser_hjson

- Removing unwrap_or_defaults, using impl functions.
- Reorganized settings

* Make clippy happy

* hjson list strings must be quoted.

* Adding support for env vars.

* Moving to structs and defaults file.

* Moving settings default and struct.
3 years ago
Felix Ableitner 3bdd78f341 Rename `lemmy_structs` to `lemmy_api_structs` 3 years ago
Dessalines a869a2823b Still continuing on.... 3 years ago
dessalines ff3e26452a Merge pull request 'Remove federation backward compatibility code (ref #1220)' (#164) from remove-backwards-compatibility into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/164
3 years ago
Felix Ableitner c618b4efaa Remove federation backward compatibility code (ref #1220) 3 years ago
Felix Ableitner 4cc341e4aa Remove code for apub compatibility with Lemmy v0.8.9 and older 3 years ago
Andrew Yoon 600ae662a5 Support plain `cargo test` and disable unused doctests for speed
Since DB tests execute diesel migrations automatically, concurrent
execution causes flaky failures from simultaneous migrations. This can
be worked around using `cargo test --workspace -- --test-threads=1`,
which is what the CI config does, but this is not intuitive for
newcomer developers and unnecessarily slows down the test suite for
the majority of tests which are safe to run concurrently. This fixes
this issue by integrating with the small test crate `serial_test` and
using it to explicitly mark DB tests to run sequentially while
allowing all other tests to run in parallel.

Additionally, this greatly improves the speed of `cargo test` by
disabling doc-tests in all crates, since these are aren't currently
used and cargo's doc-test pass, even when no doc-tests exist, has
significant overhead. On my machine, this change significantly
improves test suite times by about 85%, making it much more practical
to develop with tools like `cargo watch` auto-running tests.
3 years ago
Dessalines aba32917bd Merge branch 'main' into split_user_table 3 years ago
Dessalines ea3c0e1772 Merge branch 'main' into remove-integration-tests 3 years ago
Felix Ableitner bf1e859e72 Remove broken actix_rt test 3 years ago
Felix Ableitner 3141ad31de Remove categories (fixes #1429) 3 years ago
Felix Ableitner 3ae62573b7 Better type safety for activity parsing 3 years ago
Felix Ableitner 92ea9b97dd Dont include community in comment `to` field (fixes #1446) 3 years ago
dessalines 0c9b109bf7 Merge pull request 'Order outbox by published, not id' (#171) from outbox-order-published into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/171
3 years ago
dessalines 2cbd158a11 Merge pull request 'Use `name` field for post titles instead of `summary` (ref #1220)' (#173) from apub-post-name into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/173
3 years ago
Felix Ableitner 8d5e9f865c Use `name` field for post titles instead of `summary` (ref #1220) 3 years ago
Felix Ableitner 8096765f0e Fix clippy error upper_case_acronyms 3 years ago
Dessalines c81435c994 Version 0.9.9 3 years ago
Dessalines bcc8dae16b Fixing deploy version. 3 years ago
Dessalines a806493bc2 Version 0.9.8 3 years ago
Felix Ableitner b593047fb1 Order outbox by published, not id 3 years ago
Dessalines 9845366a36 Merge remote-tracking branch 'yerba/main' 3 years ago
Dessalines 0c4b57a6d0
Adding a new comment sort for posts. Fixes #1294 (#1425)
* Adding a new comment sort. Fixes #1294

* Fixing a migration comment.

* Adding a comment for newest_comment_time_necro
3 years ago
Felix Ableitner d3707ad4ef Fix new compiler warning 3 years ago
Felix Ableitner 13a949d9ec Specify order for activities query (fixes #1436) 3 years ago
Dessalines d0bd02eea0 Starting on user_ to person migration. 3 years ago
Dessalines 37ea778776 Merge remote-tracking branch 'origin/main' 3 years ago
dessalines f37fd0ecfd Merge pull request 'Hide followed communities, except for own user (fixes #1303)' (#168) from hide-followed into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/168
3 years ago
Felix Ableitner 3d400ca21d Hide followed communities, except for own user (fixes #1303) 3 years ago
Dessalines 37ad9e9a09 Change RSS feeds to use lemmy URL for the rss link. Fixes #1378 3 years ago
Dessalines 1af906c224 Merge remote-tracking branch 'origin/main' 3 years ago
dessalines f899831ed3 Merge pull request 'Explicitly mark posts and comments as public (ref #1220)' (#167) from comments-posts-public into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/167
3 years ago
Dessalines 5a33fce8bd Listing columns. 3 years ago
Dessalines acadf0289e Fixing reason lengths to char counts. 3 years ago
Dessalines 2e5ccaf7fe Fixing display name limit. Fixes #1421 3 years ago
Felix Ableitner 63d9c0ee46 Explicitly mark posts and comments as public (ref #1220) 3 years ago
Felix Ableitner 999d9f4d6c Move routes into separate crate to speed up compilation 3 years ago
Dessalines 5656db3e3d Version 0.9.7 3 years ago
Dessalines f198f281cf Version 0.9.6 3 years ago
dessalines 6f364e60fa Merge pull request 'Include object id when logging apub errors' (#165) from log-ids into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/165
3 years ago
Dessalines 2b6df63aee Merge remote-tracking branch 'yerba/main' 3 years ago
Felix Ableitner 897263e5a3 Include object id when logging apub errors 3 years ago
Dessalines 4864f80656 Fixing community search not using auth. Fixes #1411 3 years ago
Felix Ableitner 105dfc93f1 Make apub extension fields optional (ref #1220) 3 years ago
Dessalines d5d99fa3b9
Moving docs to join.lemmy.ml . Fixes #1396 (#1410)
* Moving docs to join.lemmy.ml . Fixes #1396

* Removing submodule fetch from drone.
3 years ago
Dessalines 8a7e50381f Version 0.9.5 3 years ago
nutomic 1a4e35eb50 Store activitypub endpoints in database (#162)
Address review comments

Store Activitypub urls in database (fixes #808)

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/162
Co-Authored-By: nutomic <nutomic@noreply.yerbamate.ml>
Co-Committed-By: nutomic <nutomic@noreply.yerbamate.ml>
3 years ago
Dessalines 9415bec557 Version 0.9.4 3 years ago
Dessalines 1857f02af8 Moving back tokio and reqwest. 3 years ago
Dessalines 10f0b3b877 Trying to upgrade lemmys deps. 3 years ago
Dessalines 0be9b5bddb
Add allowed and blocked instances to the federated_instances response. (#1398)
- Fixes #1315
3 years ago
Dessalines 6bb4f0b41f
Adding forum sort for post_aggregates. Fixes #1312 (#1400)
* Adding forum sort for post_aggregates. Fixes #1312

* Changing sort name from forum to MostComments.
3 years ago
Dessalines f4d33389a5
Merge pull request #1401 from LemmyNet/non_null_post_view_vote
Post and comment vote views now return 0 instead of null.
3 years ago
Nutomic c8254dc0a8
Merge pull request #1399 from LemmyNet/dont_let_banned_users_follow
Make sure banned users cant subscribe, and the ban unsubs them. Fixes…
3 years ago
Dessalines d2ba2960dd Post and comment vote views now return 0 instead of null.
- Fixes #1389
3 years ago
Dessalines cd08fdf76f Make sure banned users cant subscribe, and the ban unsubs them. Fixes #1324 3 years ago
Dessalines aecb2411d8 Add check for parent comment. Fixes #1390 3 years ago
Dessalines 3a05817b41 Version 0.9.3 3 years ago
Dessalines 2322534648 Version 0.9.2 3 years ago
Dessalines e6a16f08a3 Version 0.9.1 3 years ago
Dessalines 0fd0279543
Adding some recurring lemmy tasks. (#1386)
* Adding some recurring lemmy tasks.

- Add active users by day, week, month, and half year to site and
  community. Fixes #1195
- Periodically re-index the aggregates tables that use hot_rank.
  Fixes #1384
- Clear out old activities (> 6 months). Fixes #1133

* Some cleanup, recalculating actives every hour.
3 years ago
dessalines f5e58c8bf5 Merge pull request 'Increase MAX_REQUEST_NUMBER for fetches to 25' (#161) from fetch-limit into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/161
3 years ago
Felix Ableitner 5f59d7ba5f Increase MAX_REQUEST_NUMBER for fetches to 25 3 years ago
Dessalines 62a145d8b3 Merge remote-tracking branch 'yerba/outbox-activities' 3 years ago
Felix Ableitner c09c462a6e Serve activities in community outbox (fixes #1216) 3 years ago
Nutomic 3d578f9df2
Use Url type for ap_id fields in database (fixes #1364) (#1371) 3 years ago
Felix Ableitner c51f750831 Use Url type for ap_id fields in database (fixes #1364) 3 years ago
Dessalines cf911c023d
Add listing type to list communities (#1380)
* Adding listing type to ListCommunities. Fixes #1379

* Upgrading lemmy-js-client.
3 years ago
Dessalines 91d210ce79 Fixing modlog not showing bans and adds. Fixes #1376 3 years ago
Dessalines 1addbe361a Version 0.9.0 3 years ago
Dessalines 97617d699d
Docker manifest arm amd64 deploy (#1367)
* A first try at docker manifest. 1.

* Fixing api version location

* Version 0.9.0-rc.13

* Test docker.

* Test docker 2.

* Test docker 3.

* Test docker 4.

* Test docker 5.

* Test docker 6.

* Test docker 7.

* Test docker 8.

* Test docker 9.

* Test docker 10.

* Test docker 11.

* Test docker 12.

* Version 0.9.0-rc.14

* Test docker 13.

* Test docker 14.

* Version 0.9.0-rc.15

* Test docker 15.

* Version 0.9.0-rc.16

* Test docker 16.

* Version 0.9.0-rc.17
3 years ago
Dessalines ee03cf8ae9
Explicit error http status codes (#1362)
* Trying to type specific errors.

* Using @asonix 's downcast method.
3 years ago
Felix Ableitner 3b64c58198 Move most code into crates/ subfolder 3 years ago