Dull Bananas
ced9bb5216
stuff
2024-05-20 02:23:56 +00:00
Dull Bananas
7977ee166a
improve diff
2024-05-19 05:19:07 +00:00
Dull Bananas
06b01ffecf
stuff
2024-05-19 04:49:30 +00:00
Dull Bananas
314e744594
ignore column order
2024-05-18 22:38:45 +00:00
Dull Bananas
d18c2c9cf3
timestamp replacement
2024-05-18 21:56:04 +00:00
Dull Bananas
84bf57e1b0
improve schema diff
2024-05-18 18:05:11 +00:00
Dull Bananas
1692fd62b4
diff check
2024-05-18 16:14:55 +00:00
Dull Bananas
8e0bbd61eb
Revert "Revert "diff_checker (partial)""
...
This reverts commit d4bdda5d11
.
2024-05-17 21:21:57 +00:00
Dull Bananas
d4bdda5d11
Revert "diff_checker (partial)"
...
This reverts commit 6709882e14
.
2024-05-17 21:21:25 +00:00
Dull Bananas
6709882e14
diff_checker (partial)
2024-05-17 21:21:19 +00:00
Dull Bananas
1af517f6c4
Merge remote-tracking branch 'upstream/main' into migration-runner
2024-05-17 20:28:03 +00:00
Dull Bananas
5d8af0d476
fix
2024-05-17 20:21:13 +00:00
flamingos-cant
a0ad7806cb
Increase alt_text size to 1500 ( #4724 )
2024-05-17 13:03:19 -04:00
99aac07714
Mark database fields as sensitive so they dont show up in logs ( #4720 )
...
* Mark database fields as sensitive so they dont show up in logs
* add file
* fix test
* Update crates/apub/src/objects/person.rs
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
* Update crates/apub/src/objects/community.rs
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
* Update crates/apub/src/objects/instance.rs
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
---------
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2024-05-16 20:41:57 -04:00
93c9a5f2b1
Dont federate post locking via Update activity ( #4717 )
...
* Dont federate post locking via Update activity
* cleanup
* add missing mod log entries
* update assets
2024-05-15 07:36:00 -04:00
9a9d518153
Fix import blocked objects ( #4712 )
...
* Allow importing partial backup (fixes #4672 )
* Fetch blocked objects if not known locally (fixes #4669 )
* extract helper fn
* add comment
* cleanup
* remove test
* fmt
* remove .ok()
2024-05-14 23:03:43 -04:00
723cb549d4
Allow importing partial backup ( fixes #4672 ) ( #4705 )
...
* Allow importing partial backup (fixes #4672 )
* Dont throw error on empty LocalUser::update
* fix tests
2024-05-14 22:37:30 -04:00
8b6a4c060e
Make nodeinfo standard compliant, upgrade to nodeinfo 2.1 ( fixes #4702 ) ( #4706 )
...
* Always set activitypub protocol in nodeinfo response (fixes #4702 )
* Add mandatory fields
2024-05-13 22:53:20 -04:00
Dull Bananas
614e0e59d1
rename to enable_forbid_diesel_cli_trigger
2024-05-13 02:52:27 +00:00
Dull Bananas
27b289c339
add Options with disable_migrations field for test
2024-05-13 02:51:05 +00:00
Dull Bananas
22ac8c5bfc
use trigger on migrations table
2024-05-12 22:10:31 +00:00
Dull Bananas
d0d8139ff0
migriation run command
2024-05-11 20:45:27 +00:00
Dull Bananas
08ae13b877
refactor
2024-05-11 17:55:36 +00:00
cb80980027
Version 0.19.4-beta.7
2024-05-11 13:51:09 -04:00
Dull Bananas
402ab1414f
fmt
2024-05-11 15:32:00 +00:00
Dull Bananas
e8e354c9b2
finish new implementation of schema_setup::run (not including revert, test, etc.)
2024-05-11 03:36:49 +00:00
dullbananas
c4fc3a8ede
Optimize stuff in attempt to fix high amount of locks, and fix comment_aggregates.child_count ( #4696 )
...
* separate triggers
* auto_explain.log_triggers=on
* Revert "auto_explain.log_triggers=on"
This reverts commit 078b2dbb9b
.
* Revert "separate triggers"
This reverts commit 95600da4af
.
* bring back migration
* re-order statements
* add comment about statement ordering
* no redundant updates
* optimize post_aggregates update in comment trigger
* set comment path in trigger
* update comment_aggregates.child_count using trigger
* move `LEFT JOIN post` to inner query
* clean up newest_comment_time_necro
* add down.sql
2024-05-09 08:18:55 -04:00
Dull Bananas
1aab92cbfa
Merge remote-tracking branch 'upstream/main' into migration-runner
2024-05-09 02:39:01 +00:00
866d752a3c
Instance.preferred_username should be optional ( fixes #4701 ) ( #4713 )
2024-05-08 08:01:04 -04:00
e0b1d0553d
Add timeout for processing incoming activities ( #4708 )
...
* Add timeout for processing incoming activities
* move to const
2024-05-08 08:00:55 -04:00
7c146272c3
Federate with wordpress, improvements for NodeBB, Discourse federation ( #4692 )
...
* Federate with wordpress
* upgrade apub lib with fix
* Also read post's community from `audience`
* cleanup
* cargo update
* upgrade apub lib
* add wordpress test activity
2024-05-07 16:20:43 -04:00
cfdc732d3a
On registration set show_nsfw based on site.content_warning ( #4616 )
...
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2024-05-07 16:18:58 -04:00
Dull Bananas
691bce0e71
stuff
2024-05-04 14:00:39 +00:00
SleeplessOne1917
b152be7951
Update rustls ( #4690 )
...
* Update rustls
* Format code
2024-05-03 16:06:14 -04:00
SleeplessOne1917
485b0f1a54
Replace unmaintained encoding dep with maintained encoding_rs dep ( #4694 )
...
* Replace dependency on unmaintained encoding crate with dep on maintained encoding_rs crate
* Update lockfile
* Taplo format Cargo.toml
* Use better variable name
* Replace into_owned with into
2024-05-03 10:42:48 +00:00
7746db4169
Testing and minor fix for federation with Discourse ( #4628 )
...
* Testing and minor fix for federation with Discourse
* prettier
2024-05-02 07:49:19 -04:00
Dessalines
2fecb7ecdf
Dont show own comments for liked and disliked_only. Fixes #4675 ( #4679 )
...
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2024-04-30 23:26:55 -04:00
renovate[bot]
e338e59868
fix(deps): update rust crate lettre to 0.11.7 ( #4685 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 22:54:16 -04:00
Dessalines
ad60d91f5c
Dont publish lemmy_db_perf to fix crates.io publish. Fixes #4678 ( #4680 )
2024-04-30 17:51:12 +00:00
6423d2dde5
Version 0.19.4-beta.6
2024-04-30 06:38:44 -04:00
12163701e7
Avoid crash when handling urls without domain ( #4676 )
...
* Avoid crash when handling urls without domain
* Add some extra checks
2024-04-30 06:33:37 -04:00
Dessalines
5c35e97a75
Dont show deleted / removed posts when searching. Fixes #4576 ( #4671 )
...
* Dont show deleted / removed posts when searching. Fixes #4576
* Address PR comments.
* Clean up comment removed also.
---------
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2024-04-30 12:24:18 +02:00
beec080274
Testing for federation with NodeBB, make community.followers_url optional ( #4629 )
...
* Testing for federation with NodeBB, make community.followers_url optional
* clippy
2024-04-29 12:34:11 +02:00
Dessalines
492d8f1b01
Fix communities with broken outboxes, and use PostView. Fixes #4658 ( #4668 )
...
* Fix communities with broken outboxes, and use PostView. Fixes #4658
* Fixing tests.
* Dont pass ref and clone.
2024-04-29 12:22:00 +02:00
dullbananas
f2a6d73682
rename
2024-04-28 08:26:28 -07:00
dullbananas
277524298b
Merge branch 'LemmyNet:main' into migration-runner
2024-04-28 07:11:17 -07:00
dullbananas
d3737d4453
Optimize actor_language.rs ( #4612 )
...
* Remove useless transaction in actor_language.rs
* Update actor_language.rs
* site
* community
* Update actor_language.rs
* Update actor_language.rs
* Update actor_language.rs
* Update actor_language.rs
* Update actor_language.rs
2024-04-27 10:59:58 -04:00
b459949f57
Version 0.19.4-beta.5
2024-04-25 19:59:24 -04:00
cf426493e1
Fix community add mod check ( fixes #4624 ) ( #4667 )
2024-04-25 11:47:38 -04:00
Dessalines
8e3ff0408e
Fixing extra modlog entries when post_id or comment_id is given. ( #4664 )
...
- Previously when given a post_id, it didn't filter out any other
modlog entries, such as community removals. This fixes that problem.
- Context: https://github.com/LemmyNet/lemmy-ui/pull/2437
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2024-04-25 10:26:17 +02:00