Commit graph

2057 commits

Author SHA1 Message Date
Hendrik L
721383ff86 fix admin users table 2025-01-06 11:31:12 +01:00
rimu
3a526e0ca7 merge #408 2025-01-06 21:23:33 +13:00
rimu
d27b6d8532 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	app/templates/admin/users.html
2025-01-06 21:17:02 +13:00
rimu
5e7eb86e6d Merge branch 'h3ndrik-admin_tables' 2025-01-06 21:14:49 +13:00
rimu
1c4452b667 Merge pull request 'Set attitude to None if no votes cast (fixes #405)' (#410) from h3ndrik/pyfedi:attitude into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/410
2025-01-06 07:58:23 +00:00
rimu
948766b8c6 tweak ordering 2025-01-05 15:21:31 +13:00
rimu
93f8184f0a maintain state of title, description and tags when switching post type 2025-01-05 14:10:25 +13:00
rimu
5a6a013afd persist post reply fieldset state 2025-01-04 10:32:00 +13:00
rimu
92dffa8535 persist post options fieldset state 2025-01-04 10:17:25 +13:00
Hendrik L
918d5d2c94 set attitude to None if no votes cast 2025-01-02 19:20:31 +01:00
Hendrik L
f50b9161b0 show full timestamps 2025-01-02 16:39:02 +01:00
Hendrik L
f847932449 add tooltips to table 2025-01-02 16:37:42 +01:00
Hendrik L
6b77192b74 sortable admin instances list 2025-01-02 16:18:02 +01:00
Hendrik L
979f3cef91 sortable admin community list 2025-01-02 15:29:29 +01:00
Hendrik L
5e365a73ff show community activity and num local members 2025-01-02 12:55:04 +01:00
Hendrik L
aa4d31e806 allow to nagivate to banned users 2025-01-02 12:35:15 +01:00
rimu
956229c7da preview markdown in new post body 2025-01-02 16:30:58 +13:00
rimu
ef1550f578 no point using redis caching when the relationship is joined anyway 2025-01-01 16:10:52 +13:00
rimu
c652be4024 more efficient query than the one generated by sqlalchemy 2025-01-01 15:58:28 +13:00
rimu
1932aa324b more efficient query than the one generated by sqlalchemy 2025-01-01 15:57:48 +13:00
rimu
ca6140315f login required on communities/notsubscribed 2025-01-01 15:44:13 +13:00
rimu
ddccb7859b parse mastodon urls in extra fields 2025-01-01 15:39:39 +13:00
rimu
6573d25dd3 improve mobile navigation in communities 2025-01-01 12:01:51 +13:00
rimu
dcb340f9cf render_username should not be surrounded by anchor link 2025-01-01 11:49:48 +13:00
rimu
ad46ab7efe lists in post bodies 2025-01-01 11:39:51 +13:00
rimu
93ee376525 utilize mastodon-style regular expressions for defederation 2024-12-31 13:55:24 +13:00
rimu
2dea250e8c Merge pull request 'Clean up Admin--"Monitoring content"' (#404) from h3ndrik/pyfedi:admin_content_cleanup into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/404
2024-12-30 00:22:30 +00:00
rimu
8088aa1b3c Merge pull request 'Allow reuploading images in image type posts' (#385) from xmatt/pyfedi:feature/image_post_editing into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/385
2024-12-30 00:18:16 +00:00
rimu
b7d0c1cb42 Merge pull request 'some minor improvements' (#401) from h3ndrik/pyfedi:minor_improvements into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/401
2024-12-30 00:13:13 +00:00
rimu
753e552641 Merge pull request 'make night/day theme a single toggle button' (#406) from h3ndrik/pyfedi:light_dark into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/406
2024-12-30 00:09:56 +00:00
rimu
48d77d6d61 teasers: only show domain link for link posts 2024-12-30 13:09:06 +13:00
rimu
4d2ad699c8 fixes #407 2024-12-30 13:08:40 +13:00
Hendrik L
83004898ef make night/day theme a single toggle button 2024-12-28 13:30:27 +01:00
Hendrik L
356b0890d5 fix erraneous html tag 2024-12-28 11:38:40 +01:00
Hendrik L
7780580097 don't allow voting here 2024-12-28 11:34:20 +01:00
Hendrik L
e7b64554c1 don't count as trash if it's only one downvote or score is >=10 2024-12-28 11:18:56 +01:00
Hendrik L
d9eb3939b8 combine admin monitor content/spam/trash/deleted into one route 2024-12-28 11:04:39 +01:00
Hendrik L
7d19893473 combine all admin content templates 2024-12-28 00:11:58 +01:00
Hendrik L
dd75c88189 rename template 2024-12-27 23:48:53 +01:00
Hendrik L
7d5bcaf73a pull the post_teaser options dots to the right 2024-12-27 21:30:18 +01:00
Hendrik L
4febd876a4 make it a bit more obvious if CSS is used to float sth to the right (#380) 2024-12-27 21:29:36 +01:00
Hendrik L
82175e936d add/create community in admin community view 2024-12-27 21:13:47 +01:00
Hendrik L
df3994e484 allow to navigate to deleted posts 2024-12-27 20:48:17 +01:00
Hendrik L
d348bb5973 add missing <li> 2024-12-27 20:25:48 +01:00
Hendrik L
b2b8e5eeb4 user profile: add link to profile on original server 2024-12-27 20:19:52 +01:00
Hendrik L
cef53df0da up-/downvoters: link to local user profile 2024-12-27 20:04:52 +01:00
rimu
6f53afd4b9 update and sync defederation subscriptions each day - remove old 2024-12-27 22:21:58 +13:00
rimu
4d18627f0e update and sync defederation subscriptions each day 2024-12-27 20:24:17 +13:00
rimu
de11aa6c50 Defederation subscriptions 2024-12-27 20:20:16 +13:00
rimu
de8a67f27b Ensure accurate community stats 2024-12-24 16:59:54 +13:00
rimu
0d3b184238 Ensure accurate community stats 2024-12-24 14:27:12 +13:00
rimu
c2fa5fc416 community - stats local vs total members 2024-12-24 12:52:01 +13:00
rimu
8e093a2c0c community - show stats in side pane 2024-12-24 12:47:34 +13:00
rimu
5187149be4 community list - text tweak 2024-12-24 12:18:36 +13:00
rimu
c14c928efa community header alignment 2024-12-24 12:11:45 +13:00
xmatt
3f1f97b2ee Merge branch 'main' into feature/image_post_editing 2024-12-23 10:22:50 +00:00
rimu
2e32deacd0 improve speed of detect post vote manipulation detection - avoid duplicate checking #343 2024-12-23 13:52:32 +13:00
rimu
2db664d9b5 improve speed of detect post vote manipulation detection - avoid duplicate checking #343 2024-12-23 13:51:24 +13:00
rimu
b4382764f5 improve speed of detect post vote manipulation detection #343 2024-12-23 13:35:24 +13:00
rimu
61fe30136a Merge pull request 'voting_buttons remove extra whitespace and make hiding the arrows consistent' (#398) from h3ndrik/pyfedi:votinbuttons into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/398
2024-12-23 00:15:46 +00:00
rimu
7c8273158c detect post vote manipulation using jaccard_similarity #343 2024-12-23 13:08:20 +13:00
rimu
4ed1232554 readable date - fixes #395 2024-12-23 12:39:22 +13:00
rimu
5ee8e49bc4 popup user profile - big screens only (phones have no hover) 2024-12-23 12:26:28 +13:00
rimu
c01fd229e9 popup user profile - html tweaks 2024-12-23 09:34:35 +13:00
rimu
90d66f5e68 popup user profile - css tweak 2024-12-23 09:29:50 +13:00
rimu
d9ae69bd0d popup user profile 2024-12-23 09:26:05 +13:00
rimu
8267e69306 intersect once instead of revealed #394 2024-12-22 16:04:15 +13:00
rimu
704c41a25f intersect once instead of revealed #394 2024-12-22 16:01:58 +13:00
rimu
42ffe009dc css tweak 2024-12-22 15:43:28 +13:00
rimu
3662749188 extra fields on profiles ala Mastodon 2024-12-22 15:38:40 +13:00
rimu
91a74e9573 tweak route so all the search engine spiders get 404 when retrieving post_options #394 2024-12-22 15:11:42 +13:00
rimu
c10316630e tweak route so all the search engine spiders get 404 when retrieving post_options #394 2024-12-22 14:42:47 +13:00
rimu
1b8fc214db small css tweak #394 2024-12-22 14:40:29 +13:00
rimu
2288510cf2 Merge pull request 'Make post options, post reply options, and chat options uses dropdown instead of separate pages' (#394) from hono4kami/pyfedi:hono4kami/392 into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/394
2024-12-22 01:31:56 +00:00
hono4kami
b2f57fa308 feat: add absolute timestamp for post reply
Refs: #395
2024-12-21 23:51:13 +07:00
hono4kami
5b37de577b feat: add absolute timestamp
Add absolute timestamp to full post.

Refs: #395
2024-12-21 23:44:43 +07:00
hono4kami
de50772189 feat: add absolute timestamp title attribute
Add absolute timestamp `title` attribute on post teaser

Refs: #395
2024-12-21 23:38:08 +07:00
hono4kami
5ce0653292 feat: improve options 2024-12-21 22:04:13 +07:00
mtyton
dae5441604 Merge branch 'main' into feature/image_post_editing 2024-12-21 13:13:07 +01:00
mtyton
22e2eacc8c Fixed issues with Image post editing. Added utility to check if image is local or remote. 2024-12-21 13:05:14 +01:00
Hendrik L
922a9103c8 voting_buttons remove extra whitespace and make hiding the arrows consistent 2024-12-21 11:55:36 +01:00
rimu
0b8251524c Merge pull request 'user notes (implements #258)' (#382) from h3ndrik/pyfedi:user_note1 into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/382
2024-12-21 00:13:58 +00:00
rimu
ccad3c30e7 Merge pull request 'Clean up the Admin--Users and Monitoring users pages and add sorting' (#390) from h3ndrik/pyfedi:admin_users_cleanup into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/390
2024-12-21 00:10:27 +00:00
hono4kami
23e7d65a31 feat: improve post, post reply, and chat option
Instead of using separate page for those options, make it use dropdown.

Refs: #392
2024-12-20 00:44:49 +07:00
hono4kami
4cc4cb2e7b Merge branch 'main' into hono4kami/392 2024-12-19 23:57:43 +07:00
hono4kami
b77a64ccf7 feat: WIP better post options
Refs: #392
2024-12-19 21:02:02 +07:00
Hendrik L
0bdac9f598 add link to https://join.piefed.social/try/ on closed registration 2024-12-19 13:16:03 +01:00
rimu
dce17fd094 fix where clicking on teaser body text goes to 2024-12-19 10:21:03 +13:00
Hendrik L
d4ff1f924f remove admin_users_trash in favor of the new admin_users sorting capability 2024-12-18 13:11:13 +01:00
Hendrik L
5e911b4853 make admin_users table sortable 2024-12-18 13:05:22 +01:00
Hendrik L
e007f14359 move IP and Referer into user profile page 2024-12-18 10:04:17 +01:00
rimu
52ba7203d8 Merge pull request 'Make community search retain search query, topic, language, and sort methods' (#387) from hono4kami/pyfedi:hono4kami/362 into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/387
2024-12-18 07:17:00 +00:00
aroberts-fox
db914ca2b7 comment cleanup 2024-12-17 17:04:04 -05:00
aroberts-fox
f76b205f29 Fix - subscribed page topic filter handling 2024-12-17 16:54:18 -05:00
hono4kami
a6732958df fix: fix URL queries appending
Fix another unsual behavior where a URL query fields are being appended
to URL instead of replaced, when a form field is changed.

Refs: #362
2024-12-17 22:54:00 +07:00
hono4kami
d78cf0cef6 fix: fix weird behavior on URL search params
Fix weird behavior where URL search params value gets appended instead of
being replaced.

Refs: #362
2024-12-17 14:31:33 +00:00
hono4kami
2d2e18abf7 fix: fix can only search by All communities
Refs: #362
2024-12-17 14:31:33 +00:00
hono4kami
bad1839c14 fix: fix title attribute
Fix title attribute for the button on post count table column header.

Refs: #362
2024-12-17 14:31:33 +00:00
hono4kami
e758389b10 feat: make community search retain last_active sort
Refs: #362
2024-12-17 14:31:33 +00:00
hono4kami
8ffd02651c chore: remove unused link on table header
Refs: #362
2024-12-17 14:31:33 +00:00
hono4kami
8dd3d3de93 feat: make community search retain sort method
Make community search retain post_reply_count sort method.

Refs: #362
2024-12-17 14:31:33 +00:00
hono4kami
61963a43dc feat: make community search retain post_count sort
Refs: #362
2024-12-17 14:31:33 +00:00
hono4kami
3e91ee34f7 feat: make community search community name sort
Refs: #362
2024-12-17 14:31:33 +00:00
hono4kami
b8178b650c fix: make community search page retain fields
Make community search page retain `topic_id`, `language_id`, and `search`

Refs: #362
2024-12-17 14:31:33 +00:00
freamon
ad55fc510c Move code to hide duplicate cross-posts into PR #386 2024-12-17 12:50:29 +00:00
freamon
95571f510d Merge branch 'h3ndrik-modlog_admin' 2024-12-16 22:13:28 +00:00
rimu
d73c12d4c7 remove moviepy and ffmpeg dependency 2024-12-16 20:49:43 +13:00
xmatt
cf73c996b9 Merge branch 'main' into feature/image_post_editing 2024-12-14 22:32:46 +00:00
mtyton
79b3797b5f Added possibility to edit images in Image posts 2024-12-14 23:30:45 +01:00
freamon
d4e9ff14d9 bugfix for extra cross-posts exclusion commit 2024-12-14 19:36:50 +00:00
freamon
46c150cecf Undo changes from previous commit until debugged 2024-12-14 13:06:47 +00:00
freamon
a588126190 Exclude extra cross-posts from main feed #206 2024-12-14 11:53:53 +00:00
rimu
52be7bad5d switch to requests.get in generate_image_from_video_url #373 2024-12-14 14:24:21 +13:00
rimu
68132a6ac2 warnings on domains 2024-12-13 19:30:10 +13:00
rimu
d98a5e19d3 warnings on domains 2024-12-13 19:24:09 +13:00
rimu
27ecfafcd4 Merge remote-tracking branch 'origin/main' 2024-12-13 19:00:01 +13:00
rimu
c6a1563ab8 bold arrows after voting to make it clearer that a vote was cast 2024-12-13 18:59:50 +13:00
Hendrik L
410c473547 add modlog to the admin tools 2024-12-12 20:53:38 +01:00
Hendrik L
b4f1706a6b user_notes relationship, caching, cleanup 2024-12-12 20:05:59 +01:00
freamon
c851680b05 Depreciate generate_image_from_video_url(), put <video> in masonry instead #373 2024-12-11 22:54:58 +00:00
freamon
4ac3b0f97d Reset post before calling post_fixup_from_remote() 2024-12-11 22:54:44 +00:00
rimu
ab8df181ad Merge remote-tracking branch 'origin/main' 2024-12-12 08:13:36 +13:00
rimu
76db8a726e tweaks 2024-12-12 08:13:25 +13:00
freamon
852d784c7f API: provide route back from x-api theme 2024-12-11 02:11:40 +00:00
freamon
111d726de7 API: login and out when using x-api theme 2024-12-11 00:49:18 +00:00
freamon
a7e2175a55 API: extra fields for Site response 2024-12-11 00:49:06 +00:00
freamon
a1d3e445d3 Instance IP address will be incorrect if request was bounced 2024-12-11 00:48:55 +00:00
rimu
1b87906a70 teaser text wrap on mobile 2024-12-11 09:07:32 +13:00
rimu
9a84b0c532 Merge remote-tracking branch 'origin/main' 2024-12-11 08:16:27 +13:00
Hendrik L
148df4fcba edit form for user note 2024-12-10 14:30:28 +01:00
Hendrik L
8da62f56c8 fix oopsie 2024-12-10 12:16:52 +01:00
Hendrik L
1550d9bb70 render user note 2024-12-10 09:12:18 +01:00
rimu
6a366098a6 very minor tidy up 2024-12-10 21:00:07 +13:00
rimu
0752ccfe72 ugh 2024-12-10 15:41:40 +13:00
rimu
d079a6dab7 tweak padding #380 2024-12-10 09:12:58 +13:00
rimu
2e4b3ffd33 move notification bell from teaser to post options #380 2024-12-10 08:30:16 +13:00
Hendrik L
cd2cbd44a6 remove extra margin after image preview 2024-12-09 20:11:02 +01:00
Hendrik L
67d59e2657 float thumbnails 2024-12-09 17:27:10 +01:00
Hendrik L
d772f2304b unify notification bell and try to fix related css in the action/option bars 2024-12-09 16:43:21 +01:00
Hendrik L
5780e9b05e separate out breadcrumb_nav 2024-12-09 13:47:54 +01:00
Hendrik L
b3bb16cce4 reduce duplication in post template 2024-12-09 13:39:14 +01:00
rimu
d063850acd Merge remote-tracking branch 'origin/main' 2024-12-09 18:11:43 +13:00
rimu
cb0d9317ae reply edit time spacing #376 2024-12-09 18:11:32 +13:00
rimu
7d8421a8cf Merge pull request 'Adding community_links filter to side pane' (#379) from JollyDevelopment/pyfedi:jollydev/fix-community-sidebar-url-filters-00 into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/379
2024-12-08 22:42:58 +00:00
freamon
80f599568b Add theme for experimenting with API 2024-12-08 22:37:02 +00:00
aroberts-fox
9c4feccae3 Adding community_links filter to side pane 2024-12-08 16:00:59 -05:00
rimu
c2e92695c1 Merge remote-tracking branch 'origin/main' 2024-12-09 09:20:02 +13:00
rimu
e4d915338a reduce duplication in teasers #377 2024-12-09 09:19:51 +13:00
aroberts-fox
272e9bc860 fix pagination next/back url_for paths 2024-12-07 15:48:49 -05:00
aroberts-fox
7305b6072c Only show joined, not joined buttons to logged in users 2024-12-07 12:06:00 -05:00