]> Untitled Git - lemmy.git/log
lemmy.git
3 years agoExplicit error http status codes (#1362)
Dessalines [Thu, 21 Jan 2021 16:32:19 +0000 (11:32 -0500)]
Explicit error http status codes (#1362)

* Trying to type specific errors.

* Using @asonix 's downcast method.

3 years agoMerge pull request 'Move most code into crates/ subfolder' (#159) from crates-folder...
dessalines [Wed, 20 Jan 2021 15:40:03 +0000 (15:40 +0000)]
Merge pull request 'Move most code into crates/ subfolder' (#159) from crates-folder into main

Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/159

3 years agoMove most code into crates/ subfolder
Felix Ableitner [Wed, 20 Jan 2021 15:21:27 +0000 (16:21 +0100)]
Move most code into crates/ subfolder

3 years agoMerge pull request #1328 from LemmyNet/move_views_to_diesel
Dessalines [Wed, 20 Jan 2021 15:01:53 +0000 (10:01 -0500)]
Merge pull request #1328 from LemmyNet/move_views_to_diesel

Move SQL views to diesel

3 years agoVersion 0.9.0-rc.12
Dessalines [Tue, 19 Jan 2021 14:37:26 +0000 (09:37 -0500)]
Version 0.9.0-rc.12

3 years agoMerge pull request #1358 from LemmyNet/v2_api_additions_1
Dessalines [Tue, 19 Jan 2021 14:35:43 +0000 (09:35 -0500)]
Merge pull request #1358 from LemmyNet/v2_api_additions_1

A few API v2 changes based on nutomic's suggestions.

3 years agoA few API v2 changes based on nutomic's suggestions.
Dessalines [Mon, 18 Jan 2021 21:57:31 +0000 (16:57 -0500)]
A few API v2 changes based on nutomic's suggestions.

- Changed `edit_id` s to their type (comment_id)
- Moved websocket actions to their own file in structs and api.
- Got rid of UserViewDangerous, added UserSafeSettings.
  - GetSite now returns UserSafeSettings for `my_user`.
- Got rid of `admin` field in `Register`.

3 years agoRemoving check documentation build from drone, now that's in lemmy-docs.
Dessalines [Mon, 18 Jan 2021 16:08:53 +0000 (11:08 -0500)]
Removing check documentation build from drone, now that's in lemmy-docs.

3 years agoTry arm fix (#1356)
Dessalines [Mon, 18 Jan 2021 13:04:32 +0000 (08:04 -0500)]
Try arm fix (#1356)

* Trying to fix arm build.

* Version 0.9.0-rc.8

* Trying to fix arm build 2.

* Version 0.9.0-rc.9

* Checking time when removing lto.

* Version 0.9.0-rc.10

* Adding back in arm tests.

* Version 0.9.0-rc.11

3 years agoVersion 0.9.0-rc.7
Dessalines [Fri, 15 Jan 2021 18:32:10 +0000 (13:32 -0500)]
Version 0.9.0-rc.7

3 years agoTrying to fix arm build.
Dessalines [Fri, 15 Jan 2021 18:31:10 +0000 (13:31 -0500)]
Trying to fix arm build.

3 years agoVersion 0.9.0-rc.6
Dessalines [Fri, 15 Jan 2021 17:44:34 +0000 (12:44 -0500)]
Version 0.9.0-rc.6

3 years agoMerge pull request #1344 from LemmyNet/remove_travis_and_federation_docker
Dessalines [Fri, 15 Jan 2021 17:40:34 +0000 (12:40 -0500)]
Merge pull request #1344 from LemmyNet/remove_travis_and_federation_docker

Removing docker/federation and docker/travis folders.

3 years agoAdding back in federation docker-compose lemmy-ui writing
Dessalines [Fri, 15 Jan 2021 17:38:44 +0000 (12:38 -0500)]
Adding back in federation docker-compose lemmy-ui writing

3 years agoRemoving tag generation from drone.
Dessalines [Fri, 15 Jan 2021 17:28:49 +0000 (12:28 -0500)]
Removing tag generation from drone.

3 years agoMerge branch 'move_views_to_diesel' into remove_travis_and_federation_docker
Dessalines [Fri, 15 Jan 2021 17:28:21 +0000 (11:28 -0600)]
Merge branch 'move_views_to_diesel' into remove_travis_and_federation_docker

3 years agoMerge pull request #1352 from LemmyNet/ci-on-arm
Dessalines [Fri, 15 Jan 2021 17:10:37 +0000 (12:10 -0500)]
Merge pull request #1352 from LemmyNet/ci-on-arm

Add drone CI for arm

3 years agoMerge pull request #1353 from LemmyNet/move-coc
Dessalines [Fri, 15 Jan 2021 17:09:26 +0000 (12:09 -0500)]
Merge pull request #1353 from LemmyNet/move-coc

Code of conduct moved to documentation

3 years agoMerge pull request #1351 from LemmyNet/shorten-slur-filter
Dessalines [Fri, 15 Jan 2021 17:03:53 +0000 (12:03 -0500)]
Merge pull request #1351 from LemmyNet/shorten-slur-filter

Shorten slur filter to avoid false positives (fixes #535)

3 years agoFixing comment count necro-bump issue.
Dessalines [Fri, 15 Jan 2021 16:58:56 +0000 (11:58 -0500)]
Fixing comment count necro-bump issue.

3 years agoCode of conduct moved to documentation
Felix Ableitner [Fri, 15 Jan 2021 16:49:23 +0000 (17:49 +0100)]
Code of conduct moved to documentation

3 years agoShorten slur filter to avoid false positives (fixes #535)
Felix Ableitner [Tue, 12 Jan 2021 15:32:38 +0000 (16:32 +0100)]
Shorten slur filter to avoid false positives (fixes #535)

3 years agoAdd drone CI for arm
Felix Ableitner [Tue, 22 Dec 2020 12:13:51 +0000 (13:13 +0100)]
Add drone CI for arm

3 years agoFixing a stackoverflow error with url searching.
Dessalines [Fri, 15 Jan 2021 04:56:53 +0000 (23:56 -0500)]
Fixing a stackoverflow error with url searching.

3 years agoMerge branch 'move_views_to_diesel' of https://github.com/lemmynet/lemmy into move_vi...
Dessalines [Fri, 15 Jan 2021 01:16:02 +0000 (19:16 -0600)]
Merge branch 'move_views_to_diesel' of https://github.com/lemmynet/lemmy into move_views_to_diesel

3 years agoEnsure that comments are always delivered to the parent creator (fixes #1325) (#156)
dessalines [Fri, 15 Jan 2021 01:18:18 +0000 (01:18 +0000)]
Ensure that comments are always delivered to the parent creator (fixes #1325) (#156)

Don't send activities to ourselves

Ensure that comments are always delivered to the parent creator (fixes #1325)

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/156
Co-Authored-By: dessalines <dessalines@noreply.yerbamate.ml>
Co-Committed-By: dessalines <dessalines@noreply.yerbamate.ml>
3 years agoMerge pull request #1349 from LemmyNet/site_counts_local
Dessalines [Thu, 14 Jan 2021 21:10:26 +0000 (16:10 -0500)]
Merge pull request #1349 from LemmyNet/site_counts_local

Report only local counts in site_view.

3 years agoReport only local counts in site_view.
Dessalines [Thu, 14 Jan 2021 20:22:07 +0000 (15:22 -0500)]
Report only local counts in site_view.

- Move open_registrations under top level.
- Fixes #1340

3 years agoMerge pull request 'Add compilation benchmark, move scripts into subfolder' (#158...
dessalines [Thu, 14 Jan 2021 18:14:09 +0000 (18:14 +0000)]
Merge pull request 'Add compilation benchmark, move scripts into subfolder' (#158) from compilation-benchmark into move_views_to_diesel

Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/158

3 years agoAdd compilation benchmark, move scripts into subfolder
Felix Ableitner [Thu, 14 Jan 2021 16:51:38 +0000 (17:51 +0100)]
Add compilation benchmark, move scripts into subfolder

3 years agoMerge branch 'move_views_to_diesel' into remove_travis_and_federation_docker
Dessalines [Wed, 13 Jan 2021 19:20:21 +0000 (14:20 -0500)]
Merge branch 'move_views_to_diesel' into remove_travis_and_federation_docker

3 years agoRestoring docker-compose and nginx in federation folder.
Dessalines [Wed, 13 Jan 2021 19:18:26 +0000 (14:18 -0500)]
Restoring docker-compose and nginx in federation folder.

3 years agoMerge remote-tracking branch 'yerba/move_views_to_diesel' into move_views_to_diesel
Dessalines [Wed, 13 Jan 2021 18:16:25 +0000 (13:16 -0500)]
Merge remote-tracking branch 'yerba/move_views_to_diesel' into move_views_to_diesel

3 years agoMerge pull request 'Set debug=0 in cargo.toml to speed up builds' (#157) from debug...
dessalines [Wed, 13 Jan 2021 18:17:04 +0000 (18:17 +0000)]
Merge pull request 'Set debug=0 in cargo.toml to speed up builds' (#157) from debug-false into move_views_to_diesel

Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/157

3 years agoSet debug=0 in cargo.toml to speed up builds
Felix Ableitner [Wed, 13 Jan 2021 17:10:21 +0000 (18:10 +0100)]
Set debug=0 in cargo.toml to speed up builds

3 years agoVersion 0.9.0-rc.4
Dessalines [Wed, 13 Jan 2021 17:05:56 +0000 (12:05 -0500)]
Version 0.9.0-rc.4

3 years agoAnother notifs fix.
Dessalines [Wed, 13 Jan 2021 17:04:00 +0000 (12:04 -0500)]
Another notifs fix.

3 years agoUpdating docs.
Dessalines [Wed, 13 Jan 2021 17:03:26 +0000 (12:03 -0500)]
Updating docs.

3 years agoFixing top level replies, and notifs.
Dessalines [Wed, 13 Jan 2021 17:01:42 +0000 (12:01 -0500)]
Fixing top level replies, and notifs.

3 years agoVersion v0.9.0-rc.2
Dessalines [Wed, 13 Jan 2021 00:29:48 +0000 (19:29 -0500)]
Version v0.9.0-rc.2

3 years agoTrying autotag
Dessalines [Wed, 13 Jan 2021 00:26:32 +0000 (19:26 -0500)]
Trying autotag

3 years agoVersion v0.9.0-rc.1
Dessalines [Tue, 12 Jan 2021 23:59:07 +0000 (18:59 -0500)]
Version v0.9.0-rc.1

3 years agoMerge branch 'move_views_to_diesel' into remove_travis_and_federation_docker
Dessalines [Tue, 12 Jan 2021 16:56:24 +0000 (11:56 -0500)]
Merge branch 'move_views_to_diesel' into remove_travis_and_federation_docker

3 years agoMerge remote-tracking branch 'yerba/move_views_to_diesel' into move_views_to_diesel
Dessalines [Tue, 12 Jan 2021 16:12:54 +0000 (11:12 -0500)]
Merge remote-tracking branch 'yerba/move_views_to_diesel' into move_views_to_diesel

3 years agoDeletion on fetch (#1345)
Dessalines [Tue, 12 Jan 2021 16:12:41 +0000 (11:12 -0500)]
Deletion on fetch (#1345)

* Delete local object on fetch when receiving HTTP 410, split fetcher (fixes #1256)

* Removing submodules

* Trying to re-init submodule

* Trying to re-init submodule 2

* Trying to re-init submodule 3

* Logging line.

* Removing submodules

* Adding again.

* Adding again 2.

* Adding again 3.

* Adding again 4.

* Adding again 5.

* Adding again 6.

* Adding again 7.

* Adding again 8.

* Adding again 9.

* Add more clippy lints, remove dbg!() statement

* Adding again 10.

* Adding again 11.

* Adding again 12.

Co-authored-by: Felix Ableitner <me@nutomic.com>
3 years agoMerge pull request 'Include fix for mdbook xss vulnerability' (#155) from mdbook...
dessalines [Tue, 12 Jan 2021 15:57:27 +0000 (15:57 +0000)]
Merge pull request 'Include fix for mdbook xss vulnerability' (#155) from mdbook-xss into move_views_to_diesel

Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/155

3 years agoAdding back start-local-instances.
Dessalines [Tue, 12 Jan 2021 15:42:34 +0000 (10:42 -0500)]
Adding back start-local-instances.

3 years agoRevert "Revert "Removing docker/federation and docker/travis folders.""
Dessalines [Tue, 12 Jan 2021 15:40:38 +0000 (10:40 -0500)]
Revert "Revert "Removing docker/federation and docker/travis folders.""

This reverts commit e483b6b51fdbe70f77c28cf3ef4efe9c7cb6237a.

3 years agoRevert "Removing docker/federation and docker/travis folders."
Dessalines [Tue, 12 Jan 2021 15:39:15 +0000 (10:39 -0500)]
Revert "Removing docker/federation and docker/travis folders."

This reverts commit 689f5c13064f8000e387fafc6d1b1dab3e7b8873.

3 years agoRemoving docker/federation and docker/travis folders.
Dessalines [Tue, 12 Jan 2021 01:41:10 +0000 (20:41 -0500)]
Removing docker/federation and docker/travis folders.

3 years agoInclude fix for mdbook xss vulnerability
Felix Ableitner [Sat, 9 Jan 2021 16:54:31 +0000 (17:54 +0100)]
Include fix for mdbook xss vulnerability

3 years agoAdding stickied to post_aggregates.
Dessalines [Thu, 7 Jan 2021 21:22:17 +0000 (16:22 -0500)]
Adding stickied to post_aggregates.

- Added more indexes to account for sorting by stickied first.
- Changed all order bys in the diesel views to use post_aggregates.

3 years agoFixing some minor websocket things.
Dessalines [Thu, 7 Jan 2021 06:17:42 +0000 (01:17 -0500)]
Fixing some minor websocket things.

3 years agoPrivate message query debugging.
Dessalines [Wed, 6 Jan 2021 21:02:08 +0000 (16:02 -0500)]
Private message query debugging.

3 years agoLogging post query.
Dessalines [Wed, 6 Jan 2021 18:23:05 +0000 (13:23 -0500)]
Logging post query.

3 years agoAdding docs commit.
Dessalines [Wed, 6 Jan 2021 05:49:24 +0000 (00:49 -0500)]
Adding docs commit.

3 years agoTrying to get mdbooks to build.
Dessalines [Wed, 6 Jan 2021 05:34:26 +0000 (00:34 -0500)]
Trying to get mdbooks to build.

3 years agoMerge branch 'main' into move_views_to_diesel
Dessalines [Wed, 6 Jan 2021 05:30:29 +0000 (00:30 -0500)]
Merge branch 'main' into move_views_to_diesel

3 years agoMove docs into submodule (fixes #1342) (#1343)
Nutomic [Wed, 6 Jan 2021 05:27:58 +0000 (05:27 +0000)]
Move docs into submodule (fixes #1342) (#1343)

3 years agoMerge branch 'main' into move_views_to_diesel
Dessalines [Wed, 6 Jan 2021 04:55:02 +0000 (23:55 -0500)]
Merge branch 'main' into move_views_to_diesel

3 years agoHalfway done with hot rank indexes.
Dessalines [Wed, 6 Jan 2021 04:42:48 +0000 (23:42 -0500)]
Halfway done with hot rank indexes.

3 years agoTrying to fix save user settings.
Dessalines [Mon, 4 Jan 2021 19:09:53 +0000 (14:09 -0500)]
Trying to fix save user settings.

3 years agoReturn http status code 410 with apub tombstone (ref #1256)
Felix Ableitner [Mon, 4 Jan 2021 18:53:15 +0000 (19:53 +0100)]
Return http status code 410 with apub tombstone (ref #1256)

3 years agoFix integration tests (except one)
Felix Ableitner [Mon, 4 Jan 2021 17:12:37 +0000 (18:12 +0100)]
Fix integration tests (except one)

3 years agoBump node-notifier from 8.0.0 to 8.0.1 in /api_tests (#1332)
dependabot[bot] [Mon, 4 Jan 2021 16:29:04 +0000 (11:29 -0500)]
Bump node-notifier from 8.0.0 to 8.0.1 in /api_tests (#1332)

Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoMerge remote-tracking branch 'github/main' into main
Felix Ableitner [Mon, 4 Jan 2021 16:23:06 +0000 (17:23 +0100)]
Merge remote-tracking branch 'github/main' into main

3 years agoadd User_ missing field 'deleted' in tests (#1338)
D.Loh [Mon, 4 Jan 2021 15:26:43 +0000 (07:26 -0800)]
add User_ missing field 'deleted' in tests (#1338)

per rust-analyzer tips

3 years agoChanging default_sort and listing back to numbers.
Dessalines [Sat, 26 Dec 2020 03:22:25 +0000 (22:22 -0500)]
Changing default_sort and listing back to numbers.

3 years agoAdd clippy check tests to drone.
Dessalines [Thu, 24 Dec 2020 00:42:42 +0000 (19:42 -0500)]
Add clippy check tests to drone.

3 years agoMerge remote-tracking branch 'origin/split-db-workspace2' into move_views_to_diesel_s...
Dessalines [Thu, 24 Dec 2020 00:09:41 +0000 (19:09 -0500)]
Merge remote-tracking branch 'origin/split-db-workspace2' into move_views_to_diesel_split_2

3 years agoAdding community_view to PostResponse.
Dessalines [Wed, 23 Dec 2020 21:56:20 +0000 (16:56 -0500)]
Adding community_view to PostResponse.

- Changing to_vec function name.

3 years agoRun cargo clippy in CI on whole workspace
Felix Ableitner [Tue, 22 Dec 2020 12:03:50 +0000 (13:03 +0100)]
Run cargo clippy in CI on whole workspace

3 years agoSplit up lemmy_db_views, put lemmy_rate_limit into lemmy_utils
Felix Ableitner [Mon, 21 Dec 2020 23:27:42 +0000 (00:27 +0100)]
Split up lemmy_db_views, put lemmy_rate_limit into lemmy_utils

3 years agoSplit lemmy_db into lemmy_db_queries, lemmy_db_aggregates and lemmy_db_views
Felix Ableitner [Mon, 21 Dec 2020 16:30:34 +0000 (17:30 +0100)]
Split lemmy_db into lemmy_db_queries, lemmy_db_aggregates and lemmy_db_views

3 years agoUpgrading deps.
Dessalines [Mon, 21 Dec 2020 14:34:59 +0000 (09:34 -0500)]
Upgrading deps.

3 years agoMerge remote-tracking branch 'origin/split-db-workspace' into move_views_to_diesel_split
Dessalines [Mon, 21 Dec 2020 14:28:20 +0000 (09:28 -0500)]
Merge remote-tracking branch 'origin/split-db-workspace' into move_views_to_diesel_split

3 years agoremove timing files added by accident
Felix Ableitner [Mon, 21 Dec 2020 13:53:27 +0000 (14:53 +0100)]
remove timing files added by accident

3 years agoMove remaining structs from lemmy_db::source to lemmy_db_schema
Felix Ableitner [Mon, 21 Dec 2020 13:38:34 +0000 (14:38 +0100)]
Move remaining structs from lemmy_db::source to lemmy_db_schema

3 years agoMove community to lemmy_db_schema
Felix Ableitner [Mon, 21 Dec 2020 12:28:12 +0000 (13:28 +0100)]
Move community to lemmy_db_schema

3 years agoFixing some clippy warnings.
Dessalines [Mon, 21 Dec 2020 04:00:33 +0000 (23:00 -0500)]
Fixing some clippy warnings.

3 years agoRemoving cargo check from drone, clippy already runs check.
Dessalines [Mon, 21 Dec 2020 03:50:43 +0000 (22:50 -0500)]
Removing cargo check from drone, clippy already runs check.

3 years agoAdding to clippy
Dessalines [Mon, 21 Dec 2020 03:42:29 +0000 (22:42 -0500)]
Adding to clippy

3 years agoTrying other drone checks.
Dessalines [Mon, 21 Dec 2020 03:37:01 +0000 (22:37 -0500)]
Trying other drone checks.

3 years agoFixing integration tests.
Dessalines [Mon, 21 Dec 2020 03:27:27 +0000 (22:27 -0500)]
Fixing integration tests.

3 years agoMerge branch 'drone-io-dess' into move_views_to_diesel_drone
Dessalines [Mon, 21 Dec 2020 02:48:29 +0000 (21:48 -0500)]
Merge branch 'drone-io-dess' into move_views_to_diesel_drone

3 years agoChanging unit tests to api v2.
Dessalines [Sun, 20 Dec 2020 21:16:57 +0000 (16:16 -0500)]
Changing unit tests to api v2.

3 years agoFix site aggs.
Dessalines [Sun, 20 Dec 2020 05:09:20 +0000 (00:09 -0500)]
Fix site aggs.

3 years agoSome API cleanup, adding site_id to site aggregates.
Dessalines [Sun, 20 Dec 2020 01:10:47 +0000 (20:10 -0500)]
Some API cleanup, adding site_id to site aggregates.

3 years agoMove user to lemmy_db_schema, create traits for impls
Felix Ableitner [Fri, 18 Dec 2020 18:38:32 +0000 (19:38 +0100)]
Move user to lemmy_db_schema, create traits for impls

3 years agoMove comment, post definitions into lemmy_db_schema
Felix Ableitner [Fri, 18 Dec 2020 17:27:25 +0000 (18:27 +0100)]
Move comment, post definitions into lemmy_db_schema

3 years agoFixing unit tests.
Dessalines [Fri, 18 Dec 2020 17:25:27 +0000 (12:25 -0500)]
Fixing unit tests.

3 years agoSplit lemmy_db into separate workspaces
Felix Ableitner [Fri, 18 Dec 2020 16:17:21 +0000 (17:17 +0100)]
Split lemmy_db into separate workspaces

3 years agoTrying again.
Dessalines [Fri, 18 Dec 2020 02:55:15 +0000 (21:55 -0500)]
Trying again.

3 years agoTrying again.
Dessalines [Fri, 18 Dec 2020 02:36:59 +0000 (21:36 -0500)]
Trying again.

3 years agoAdding unfollows.
Dessalines [Fri, 18 Dec 2020 02:10:20 +0000 (21:10 -0500)]
Adding unfollows.

3 years agoTrying again.
Dessalines [Thu, 17 Dec 2020 21:02:35 +0000 (16:02 -0500)]
Trying again.

3 years agoTrying again.
Dessalines [Thu, 17 Dec 2020 21:00:51 +0000 (16:00 -0500)]
Trying again.

3 years agoTrying again.
Dessalines [Thu, 17 Dec 2020 20:59:25 +0000 (15:59 -0500)]
Trying again.

3 years agoTrying again.
Dessalines [Thu, 17 Dec 2020 20:35:28 +0000 (15:35 -0500)]
Trying again.

3 years agoDropping the unecessary views and table triggers.
Dessalines [Thu, 17 Dec 2020 20:29:10 +0000 (15:29 -0500)]
Dropping the unecessary views and table triggers.