1
0
Fork 0
mirror of https://github.com/LemmyNet/lemmy.git synced 2025-04-07 11:00:51 +00:00
Commit graph

5175 commits

Author SHA1 Message Date
Dessalines
5cf0bb834a Merge remote-tracking branch 'origin/main' into combined_profile 2025-01-03 14:33:34 -05:00
Nutomic
41421991d6
Error handling for thumbnail generation (ref ) () 2025-01-03 14:09:24 -05:00
Felix Ableitner
6de73f37ca Rename variable 2025-01-03 15:57:02 +01:00
Dessalines
e9d27f2840
Don't send out new user email verifies to admins, if already verified. ()
- Fixes 
2025-01-03 11:16:25 +01:00
leoseg
ba779b978f
New parameter read_only for /api/v3/post/list ()
* added option to get only read only posts with unittests

* formatted code

* added index on (person_id, read) on post actions where read is not null

* formatted sql

* Update migrations/2024-12-15-151642_add_index_on_person_id_read_for_read_only_post_actions/up.sql

Co-authored-by: dullbananas <dull.bananas0@gmail.com>

* Fixxed error in down.sql for migration of index on (person_id,read_only,post_id) on post_actions

* Fixxed error in unittests

* Update crates/db_views/src/post_view.rs

Co-authored-by: dullbananas <dull.bananas0@gmail.com>

---------

Co-authored-by: dullbananas <dull.bananas0@gmail.com>
2025-01-03 11:08:00 +01:00
Dessalines
c656465e28
Fix contradicting filters. () 2025-01-03 11:02:20 +01:00
Dessalines
2244fd005d Changing published to saved for person_saved_combined. 2025-01-02 17:08:05 -05:00
Dessalines
918c5e820d Merge remote-tracking branch 'origin/main' into combined_profile 2025-01-02 16:38:02 -05:00
anhcuky
c034229295
reset_password API to always return success () 2025-01-02 12:37:13 -05:00
dullbananas
b91790e29e
Fix incorrect comment in report_combined_view test () 2025-01-02 12:35:56 -05:00
renovate[bot]
9c473e8298
chore(deps): update rust crate chrono to v0.4.39 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-01 13:28:26 -05:00
dullbananas
b8556fa5cf
Shorten "options" variable name ()
* comment view, post view

* do rename everywhere else

* fix person_view

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2025-01-01 12:52:20 -05:00
Dessalines
ffc3493abe
Applying some clippy fixes. () 2025-01-01 12:47:21 -05:00
renovate[bot]
39aace0c8f
chore(deps): update rust crate clap to v4.5.23 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-31 23:35:13 -05:00
renovate[bot]
34672ab21b
chore(deps): update rust crate anyhow to v1.0.95 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-31 21:16:18 -05:00
renovate[bot]
83bf60571e
chore(deps): update docker ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-31 20:38:21 -05:00
Richard Schwab
f76322e3f5
Reduce false positives in URL blocklist to reduce scunthorpe problem by matching at word boundaries. ()
This addresses an issue brought up on matrix where blocking rt.com resulted in links to deviantart.com getting blocked.
2024-12-27 12:53:23 -05:00
Dessalines
76034f058d
Cleaning up oauth providers conversion. ()
* Cleaning up oauth providers conversion.

* Use into_iter
2024-12-27 12:52:05 -05:00
Dessalines
4bc4876f31 Remove pointless index. 2024-12-24 14:30:34 -05:00
Dessalines
8d856a0917 Merge remote-tracking branch 'origin/main' into combined_profile 2024-12-24 14:25:38 -05:00
Dessalines
cc190aefdf
Use codeberg pictrs mirror to fix CI. () 2024-12-24 14:24:12 -05:00
Dessalines
bd5210aed0 Merge remote-tracking branch 'origin/main' into combined_profile 2024-12-23 14:59:09 -05:00
Nutomic
7585aac446
Fix startup errors, add unit test for scheduled task errors (fixes ) ()
* Fix startup errors, add ci check (fixes )

* normal unit test

* cleanup

* shear

* remove serial

* migration
2024-12-20 19:21:09 -05:00
Dessalines
6015ef045d
Running cargo-features-manager prune. ()
- Context 
2024-12-20 23:20:16 +01:00
Dessalines
776c5007a1 Remove pointless post_tags types. 2024-12-19 18:07:59 -05:00
Dessalines
9a0e050ee6 Remove saved_only test. 2024-12-19 18:03:57 -05:00
Dessalines
cfd302dc1d Fixing duped trigger. 2024-12-19 17:58:18 -05:00
Dessalines
a1792bb16e Merge remote-tracking branch 'origin/main' into combined_profile 2024-12-19 17:53:24 -05:00
Dessalines
0b514c5b92 Merge branch 'combined_tables_2' into combined_profile 2024-12-19 17:44:07 -05:00
Dessalines
9d3a0cef56
Adding report_combined table. ()
* Combined tables try 2

* Finishing up combined report table.

* Fix ts optionals.

* Adding tests, triggers, and history updates for report_combined.

* Adding profile.

* Add cursor pagination to report_combined view ()

* add pagination cursor

* store timestamp instead of id in cursor (partial)

* Revert "store timestamp instead of id in cursor (partial)"

This reverts commit 89359dde4b.

* use paginated query builder

* Fixing migration and paged API.

* Using dullbananas trigger procedure

* Removing pointless list routes, reorganizing tests.

* Fixing column XOR check.

* Forgot to remove list report actions.

* Cleanup.

* Use internal tagging.

* Fixing api tests.

* Adding a few indexes.

* Fixing migration name.

* Fixing unique constraints.

* Addressing PR comments.

* Fixing api tests.

* Update crates/db_views/src/report_combined_view.rs

Co-authored-by: dullbananas <dull.bananas0@gmail.com>

* Update crates/db_views/src/report_combined_view.rs

Co-authored-by: dullbananas <dull.bananas0@gmail.com>

* Update crates/db_views/src/report_combined_view.rs

Co-authored-by: dullbananas <dull.bananas0@gmail.com>

* Update migrations/2024-12-02-181601_add_report_combined_table/up.sql

Co-authored-by: dullbananas <dull.bananas0@gmail.com>

* Update migrations/2024-12-02-181601_add_report_combined_table/up.sql

Co-authored-by: dullbananas <dull.bananas0@gmail.com>

* Fixing import and fmt.

* Fixing null types in postgres.

* Comment out err.

* Addressing PR comments.

* Removing serialization

---------

Co-authored-by: dullbananas <dull.bananas0@gmail.com>
2024-12-19 17:22:31 -05:00
Dessalines
154cea9366 Merge remote-tracking branch 'origin/main' into combined_tables_2 2024-12-19 16:30:15 -05:00
Integral
8b78ddeb68
refactor: avoid using format! when String creation is unnecessary () 2024-12-19 15:42:01 -05:00
phiresky
a2a5cb091a
Community post tags (part 1) ()
* partial post tags implementation

* fixes

* fix lints

* schema fix

* chore: restructure / rename tag tables

* chore: fix post view tests

* format

* lint

* expect used

* chore: update code to maybe final version

* add ts-rs optionals

* remove error context

* clippy
2024-12-18 14:54:35 +01:00
Nutomic
d346890b1f
Increase metadata fetch limit to 1 MB (fixes ) () 2024-12-17 10:01:53 -05:00
Dessalines
b4ce1d9121 Removing serialization 2024-12-13 08:50:14 -05:00
Dessalines
af543cc70b Merge branch 'combined_tables_2' into combined_profile 2024-12-13 08:43:45 -05:00
Dessalines
ae9da4da69 Merge remote-tracking branch 'origin/main' into combined_tables_2 2024-12-12 19:23:20 -05:00
Dessalines
7c962d63fb Removing serialization 2024-12-12 19:20:31 -05:00
Nutomic
8d91543a13
Allow admins to view deleted users (fixes ) ()
* Allow admins to view deleted users (fixes )

* remove check
2024-12-12 10:06:38 -05:00
Nutomic
6a9f924d20
More test coverage for user deletion () 2024-12-12 10:03:55 -05:00
Dessalines
c72d5e88d5 Addressing PR comments. 2024-12-12 09:46:16 -05:00
Dessalines
1e6b3fbf27 Merge remote-tracking branch 'origin/main' into combined_tables_2 2024-12-12 09:39:10 -05:00
Nutomic
2467a0af12
Consider remote instance as dead if it returns any status 4xx or 5xx ()
* Consider remote instance as dead if it returns any status 4xx or 5xx (ref )

* remove dbg
2024-12-12 09:38:16 -05:00
Nutomic
8a5daeec97
Only accept database connection by uri ()
* Only accept database connection by uri

* lint

* fix docker configs
2024-12-10 10:15:54 -05:00
Dessalines
63b7f726cb Using dullbananas trigger procedure 2024-12-09 08:22:35 -05:00
Dessalines
a320f5a9c5 Merge remote-tracking branch 'origin/main' into combined_profile 2024-12-09 08:15:36 -05:00
Integral
9e17c517fe
refactor: replace static with const for global constants () 2024-12-09 10:31:07 +01:00
Dessalines
58e62d55d9 Fixing TS issues. 2024-12-08 09:27:29 -05:00
Dessalines
cf2b00e0ba Merge branch 'combined_tables_2' into combined_profile 2024-12-08 09:19:04 -05:00
Dessalines
3e31e1c512 Comment out err. 2024-12-08 09:16:43 -05:00