Commit graph

1526 commits

Author SHA1 Message Date
Hendrik L
13b1c7984d allow post_utilities to contain div and span elements in the exact next level in addition to anchors 2024-07-11 07:16:48 +00:00
Hendrik L
285d9f525d generalize hide button 2024-07-11 07:16:48 +00:00
Hendrik L
10e4279eb4 allow css debugging (the map file isn't fetched under normal circumstances) 2024-07-11 07:16:48 +00:00
rimu
bb8620f73e let's not have jinja able to access config variables #261 2024-07-10 21:40:06 +08:00
rimu
c45e0eeebe Merge pull request 'Cleanup (2): add_post templates, routes and asides (applies on top of #253)' (#261) from h3ndrik/pyfedi:cleanup_templates2 into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/261
2024-07-10 13:25:20 +00:00
rimu
8299823d4a Merge pull request 'Cleanup post_edit_ templates' (#253) from h3ndrik/pyfedi:cleanup_templates into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/253
2024-07-10 13:23:19 +00:00
Hendrik L
7309b0532e fix deleted poll finish_in 2024-07-09 15:23:19 +02:00
Hendrik L
6da83e0421 merge all the community asides into one template partial 2024-07-09 15:05:13 +02:00
Hendrik L
a8910d5bff combine add_post routes 2024-07-09 09:14:37 +02:00
Hendrik L
98962d52e9 absorb _add_post_types template into parent 2024-07-08 22:17:40 +02:00
Hendrik L
ad353ad206 combine add_post and post_edit templates 2024-07-08 21:34:40 +02:00
Hendrik L
841fd9ec43 combine add_..._post templates into one add_post 2024-07-08 17:13:01 +02:00
Hendrik L
7219926bfd update routes after post_edit template cleanup 2024-07-08 16:18:49 +02:00
Hendrik L
a1fa74d3ba move all post_edit templates into one 2024-07-08 15:14:24 +02:00
Hendrik L
4c0eb87c25 cleanup, add macro render_communityname 2024-07-08 11:56:22 +02:00
Hendrik L
e153b177a0 cleanup, use render_username macro 2024-07-08 11:56:22 +02:00
Hendrik L
0ff7a27c90 add collapsed option to username rendering, remove redundant link, don't show own reputation 2024-07-08 11:56:22 +02:00
rimu
bfdb8749e5 Admins can see all of the modlog, everyone else can only see public entries #21 2024-07-07 16:09:50 +08:00
rimu
557e73d6a2 public mod log #21 2024-07-07 16:03:35 +08:00
rimu
3647e2796d mod log #21 2024-07-07 15:01:52 +08:00
rimu
4073f119f6 cache buster to ensure redirections don't get stuck in a loop
also it's nice to be able to review a comment after making it
2024-07-07 13:27:48 +08:00
rimu
dd836c6532 Mod log migration #21 2024-07-06 14:50:49 +08:00
rimu
24bc4f8618 Combine structure.scss and style.scss
Recompile SCSS
2024-07-05 16:30:33 +08:00
rimu
7885cfcdf4 Combine structure.scss and style.scss
The distinction between the two was never very clear and it is annoying to have to guess which file one needs to edit.
2024-07-05 16:27:53 +08:00
rimu
7a876ed372 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	app/static/structure.css
2024-07-05 16:14:41 +08:00
rimu
cb614b1394 remove some obsolete JS 2024-07-05 16:14:24 +08:00
rimu
2de36cf512 Merge pull request 'fix lightbox (again) #245, fixes regression introduced in #247' (#250) from h3ndrik/pyfedi:lightbox_again into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/250
2024-07-05 08:09:26 +00:00
Hendrik L
0623b445e6 fix lightbox (again) 2024-07-05 00:35:48 +02:00
rimu
bd3da38ff9 Merge pull request 'Fix Lightbox and allow zoom on the whole page, fixes #245' (#247) from h3ndrik/pyfedi:lightbox_fixes into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/247
2024-07-04 07:29:30 +00:00
Hendrik L
419d341504 allow scrolling in lightbox 2024-07-03 16:32:45 +02:00
rimu
40bb3e6638 change downarea paths to our repo #243 2024-07-03 21:24:52 +08:00
rimu
6de9f3dd39 Merge pull request 'Script to recompile SCSS and fetch/update JS assets' (#243) from h3ndrik/pyfedi:update_assets into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/243
2024-07-03 13:22:08 +00:00
rimu
8dc5e7b745 Merge pull request 'css fix' (#242) from h3ndrik/pyfedi:mobile into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/242
2024-07-03 13:13:57 +00:00
Hendrik L
17c6c2512d allow zooming and scaling (drop user-scalable=no) 2024-07-03 14:43:56 +02:00
Hendrik L
d2598a83ef close lightbox on back, zoom and close on click 2024-07-03 14:30:27 +02:00
Hendrik L
aa953082eb add update/fetch assets script 2024-07-02 09:40:18 +02:00
Hendrik L
2e4f4ee871 fix astray fe-video 2024-07-02 08:22:37 +02:00
rimu
47dd776ca6 bigger thumbnail files to match bigger display size #241 2024-07-01 20:44:08 +08:00
rimu
a6b5e8d19a little tweaks #241 2024-07-01 20:35:19 +08:00
rimu
24cc9b2bce Merge pull request 'Add lightbox to image thumbnails in all feeds, make previews larger' (#241) from h3ndrik/pyfedi:lightbox into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/241
2024-07-01 12:29:25 +00:00
rimu
5d522e0ff4 tweak annoying little bug 2024-07-01 18:17:27 +08:00
Hendrik L
7ab5beca78 add lightbox to image thumbnails in all feeds, make previews larger 2024-07-01 07:42:58 +02:00
rimu
5d857763e5 Merge pull request 'Various smaller fixes' (#240) from h3ndrik/pyfedi:fixes into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/240
2024-06-30 23:37:56 +00:00
rimu
30b88f2cdd tweak about us page 2024-07-01 07:36:42 +08:00
Hendrik L
bf24b1b85a include third_party JS and serve it locally 2024-06-30 17:06:18 +02:00
rimu
d9d69c0b8a caching on home page and posts, especially for anonymous users
the home page and post pages are the most likely to get slashdotted by mastodon.
2024-06-30 15:29:52 +08:00
Hendrik L
a2bc01f459 fix table sort_by indicators 2024-06-29 21:04:28 +02:00
Hendrik L
859875c968 fix active_child name 2024-06-29 20:49:33 +02:00
Hendrik L
bd8dc97d86 make both admin community overviews one menu entry 2024-06-29 20:38:10 +02:00
Hendrik L
4ad4385f66 view links for admin tables 2024-06-29 20:05:31 +02:00