- Jul 13, 2023
-
-
Nutomic authored
* Add dev profile to strip symbols and disable debug info (ref #3610) This significantly speeds up builds: - with strip symbols and debug 0: 43s - without: 169s * add comment, no strip symbols
-
Nutomic authored
* Check for dead federated instances (fixes #2221) * move to apub crate, use timestamp * make it compile * clippy * use moka to cache blocklists, dead instances, restore orig scheduled tasks * remove leftover last_alive var * error handling * wip * fix alive check for instances without nodeinfo, add coalesce * clippy * move federation blocklist cache to #3486 * unused deps
-
Manuel Bleichner authored
Co-authored-by:
Manuel Bleichner <manuel.bleichner@bvu.de>
-
Nina Blanson authored
* Add workaround for #3102 until cross-compile work complete * Minor cleanup --------- Co-authored-by:
Dessalines <dessalines@users.noreply.github.com>
-
Jason Grim authored
-
- Jul 12, 2023
-
-
nixoye authored
replaced the confusing api_key line that's commented out with the line that is now used in the new config.hjson in /lemmy-ansible/examples Co-authored-by:
Dessalines <dessalines@users.noreply.github.com>
-
Simon Bordeyne authored
-
Nutomic authored
* Use specific Rust nightly version for CI cargo fmt (fixes #3467) * fix * fix
-
- Jul 11, 2023
-
-
dullbananas authored
* a lot * merge * Fix stuff broken by merge * Get rid of repetitive `&mut *context.conn().await?` * Add blank lines under each line with `conn =` * Fix style mistakes (partial) * Revert "Fix style mistakes (partial)" This reverts commit 48a033b87f4fdc1ce14ff86cc019e1c703cd2741. * Revert "Add blank lines under each line with `conn =`" This reverts commit 773a6d3beba2cf89eac75913078b40c4f5190dd4. * Revert "Get rid of repetitive `&mut *context.conn().await?`" This reverts commit d2c6263ea13710177d49b2791278db5ad115fca5. * Use DbConn for CaptchaAnswer methods * DbConn trait * Remove more `&mut *` * Fix stuff * Re-run CI * try to make ci start * fix * fix * Fix api_common::utils * Fix apub::activities::block * Fix apub::api::resolve_object * Fix some things * Revert "Fix some things" This reverts commit 2bf8574bc8333d8d34ca542d61a0a5b50039c24d. * Revert "Fix apub::api::resolve_object" This reverts commit 3e4059aabbe485b2ff060bdeced8ef958ff62832. * Revert "Fix apub::activities::block" This reverts commit 3b02389abd780a7b1b8a2c89e26febdaa6a12159. * Revert "Fix api_common::utils" This reverts commit 7dc73de613a5618fa57eb06450f3699bbcb41254. * Revert "Revert "Fix api_common::utils"" This reverts commit f740f115e5457e83e53cc223e48196a2c47a9975. * Revert "Revert "Fix apub::activities::block"" This reverts commit 2ee206af7c885c10092cf209bf4a5b1d60327866. * Revert "Revert "Fix apub::api::resolve_object"" This reverts commit 96ed8bf2e9dcadae760743929498312334e23d2e. * Fix fetch_local_site_data * Fix get_comment_parent_creator * Remove unused perma deleted text * Fix routes::feeds * Fix lib.rs * Update lib.rs * rerun ci * Attempt to create custom GetConn and RunQueryDsl traits * Start over * Add GetConn trait * aaaa * Revert "aaaa" This reverts commit acc9ca1aed10c39efdd91cefece066e035a1fe80. * Revert "Revert "aaaa"" This reverts commit 443a2a00a56d152bb7eb429efd0d29a78e21b163. * still aaaaaaaaaaaaa * Return to earlier thing Revert "Add GetConn trait" This reverts commit ab4e94aea5bd9d34cbcddf017339131047e75344. * Try to use DbPool enum * Revert "Try to use DbPool enum" This reverts commit e4d1712646a52006b865a1fbe0dcf79976fdb027. * DbConn and DbPool enums (db_schema only fails to compile for tests) * fmt * Make functions take `&mut DbPool<'_>` and make db_schema tests compile * Add try_join_with_pool macro and run fix-clippy on more crates * Fix some errors * I did it * Remove function variants that take connection * rerun ci * rerun ci * rerun ci
-
- Jul 10, 2023
-
-
dullbananas authored
* Shrink capacity in `RateLimitStorage::remove_older_than` * Update rate_limiter.rs * rerun ci * rerun ci * rerun ci * Update rate_limiter.rs
-
Pawan Hegde authored
* Fix #3366: API does return plain HTML errors * Fix Clippy errors * Improve api response times by doing send_activity asynchronously (#3493) * do send_activity after http response * move to util function * format * fix prometheus * make synchronous federation configurable * cargo fmt * empty * empty --------- Co-authored-by:
Dessalines <dessalines@users.noreply.github.com> * Updating `login.rs` with generic `incorrect_login` response. (#3549) * Adding v0.18.1 and v0.18.0 release notes. (#3530) * Update RELEASES.md (#3556) added instruction to find the location of your docker directory (especially useful for those who used ansible since they never had to setup docker manually) * Use async email sender (#3554) * Upgrade all dependencies (#3526) * Upgrade all dependencies * as base64 * Adding phiresky to codeowners. (#3576) * Error enum fixed (#3487) * Create error type enum * Replace magic string slices with LemmyErrorTypes * Remove unused enum * Add rename snake case to error enum * Rename functions * clippy * Fix merge errors * Serialize in PascalCase instead of snake_case * Revert src/lib * Add serialization tests * Update translations * Fix compilation error in test * Fix another compilation error * Add code for generating typescript types * Various fixes to avoid breaking api * impl From<LemmyErrorType> for LemmyError * with_lemmy_type * trigger ci --------- Co-authored-by:
SleeplessOne1917 <abias1122@gmail.com> * Only update site_aggregates for local site (#3516) * Fix #3501 - Fix aggregation counts for elements removed and deleted (#3543) Two bugs were found and fixed: - previously elements removal and deletion were counted as two separate disappearances - removing comments did not affect post aggregations * Use LemmyErrorType also make error_type compulsory * Add missing import for jsonify_plain_text_errors * Fix formatting * Trying to make woodpecker run again --------- Co-authored-by:
phiresky <phireskyde+git@gmail.com> Co-authored-by:
Dessalines <dessalines@users.noreply.github.com> Co-authored-by:
rosenjcb <rosenjcb@gmail.com> Co-authored-by:
nixoye <12674582+nixoye@users.noreply.github.com> Co-authored-by:
dullbananas <dull.bananas0@gmail.com> Co-authored-by:
Nutomic <me@nutomic.com> Co-authored-by:
SleeplessOne1917 <abias1122@gmail.com> Co-authored-by:
Sander Saarend <sander@saarend.com> Co-authored-by:
Piotr Juszczyk <74842304+pijuszczyk@users.noreply.github.com>
-
Piotr Juszczyk authored
Two bugs were found and fixed: - previously elements removal and deletion were counted as two separate disappearances - removing comments did not affect post aggregations
-
Sander Saarend authored
-
Nutomic authored
* Create error type enum * Replace magic string slices with LemmyErrorTypes * Remove unused enum * Add rename snake case to error enum * Rename functions * clippy * Fix merge errors * Serialize in PascalCase instead of snake_case * Revert src/lib * Add serialization tests * Update translations * Fix compilation error in test * Fix another compilation error * Add code for generating typescript types * Various fixes to avoid breaking api * impl From<LemmyErrorType> for LemmyError * with_lemmy_type * trigger ci --------- Co-authored-by:
SleeplessOne1917 <abias1122@gmail.com>
-
Dessalines authored
-
Nutomic authored
* Upgrade all dependencies * as base64
-
dullbananas authored
-
nixoye authored
added instruction to find the location of your docker directory (especially useful for those who used ansible since they never had to setup docker manually)
-
Dessalines authored
-
rosenjcb authored
-
phiresky authored
* do send_activity after http response * move to util function * format * fix prometheus * make synchronous federation configurable * cargo fmt * empty * empty --------- Co-authored-by:
Dessalines <dessalines@users.noreply.github.com>
-
- Jul 07, 2023
-
-
Dessalines authored
-
Dessalines authored
Revert "Make sure hot rank sorts for post and community filter by positive hot ranks. (#3497)" (#3521) This reverts commit 6840fd64.
-
phiresky authored
* make hot rank zero for future * parallel safe
-
- Jul 06, 2023
-
-
Nutomic authored
-
Dessalines authored
* Update prettier to 3.0.0 * Updating prettier dep. * Explicity 3.0.0 version.
-
Felix Ableitner authored
-
phiresky authored
* improve admin and mod check * fix clippy * move admin index to existing code * Revert "move admin index to existing code" This reverts commit d0c58d5f4021e1775d0c1d30d8df6c7df87557c4. * third attempt at the migration * fix formatting * rebuild --------- Co-authored-by:
Dessalines <dessalines@users.noreply.github.com>
-
Nutomic authored
With this change only http(s) schemes are allowed for post.url field. This is checked for incoming api and federation requests. Existing posts in database which are sent to clients are not checked. Neither does it check urls in markdown.
-
Nutomic authored
Old one isnt working apparently
-
Diamond authored
Co-authored-by:
pfg <pfg@pfg.pw>
-
Dessalines authored
* Make sure hot rank sorts for post and community filter by positive hot ranks. - Context #2994 * Adding a comment.
-
Dessalines authored
-
Nutomic authored
3.0.0 was pushed to docker hub 2 hours ago, thats probably why builds are breaking now.
-
- Jul 05, 2023
-
-
phiresky authored
Co-authored-by:
Dessalines <dessalines@users.noreply.github.com>
-
phiresky authored
* improve performance of community followers inbox query * nightly format * force woodpecker to retry --------- Co-authored-by:
Dessalines <dessalines@users.noreply.github.com>
-
Nutomic authored
* Cache federation blocklist * revert submodule change
-
Andrew Fields authored
Add a server for serving Prometheus metrics. Include a configuration block in the config file. Provide HTTP metrics on the API, along with process-level metrics and DB pool metrics.
-
Dessalines authored
-
- Jul 04, 2023
-
-
Lemmus.org authored
-