faf45cf956
Merge pull request #3273 from bookwyrm-social/WesleyAC-freeform-page-number
...
Allow page numbers to be text, instead of integers
2024-02-03 08:00:34 -08:00
6d5752fb4e
Adds merge migration for page numbering fix
2024-02-03 07:40:23 -08:00
37aa7ad2f6
Merge branch 'freeform-page-number' of github.com:WesleyAC/bookwyrm into WesleyAC-freeform-page-number
2024-02-03 07:38:02 -08:00
e0667c6a03
Merge pull request #3237 from Minnozz/status-title-description
...
Improve OpenGraph tags for status and book pages
2024-02-03 07:37:00 -08:00
103da863c4
Merge pull request #3239 from Minnozz/user-agent
...
Replace python-requests with BookWyrm in user agent
2024-02-03 07:27:58 -08:00
fa66284000
Merge pull request #3253 from skobkin/patch-autocomplete-fictionbook-format
...
Adding FictionBook format ("FB2", "FB3") to autocomplete options in "get a copy" block.
2024-02-03 07:26:58 -08:00
0f0420ce04
Merge pull request #3257 from dato/prefer_shared_inbox
...
Use shared inboxes for mentions too
2024-02-03 07:25:51 -08:00
438d88d8d4
Merge pull request #3260 from bSolt/fix-widths-2023
...
Fix awkward layout for tablets on /confirm-email, /login, /invite, and /preferences/reactivate
2024-02-03 07:18:35 -08:00
45cc3dc979
Merge pull request #3249 from dato/cookie_age_setting
...
Set SESSION_COOKIE_AGE from environment
2024-02-03 07:03:12 -08:00
efa29b269c
Merge pull request #3269 from bookwyrm-social/dependabot/pip/aiohttp-3.9.2
...
Bump aiohttp from 3.9.0 to 3.9.2
2024-01-30 18:03:00 -08:00
21a8570035
Merge pull request #3207 from rsk2/issue-3187
...
Hide "year in the books" for newly registered users
2024-01-31 07:03:43 +11:00
ef6fd608fa
Merge branch 'main' into issue-3187
2024-01-30 18:47:07 +11:00
dependabot[bot]
b05621005e
Bump aiohttp from 3.9.0 to 3.9.2
...
Bumps [aiohttp](https://github.com/aio-libs/aiohttp ) from 3.9.0 to 3.9.2.
- [Release notes](https://github.com/aio-libs/aiohttp/releases )
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst )
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.0...v3.9.2 )
---
updated-dependencies:
- dependency-name: aiohttp
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-30 00:10:13 +00:00
940274b1c2
classes that fix widths
2024-01-26 15:47:55 -07:00
8ac873419f
refactor: eagerly use a set in recipients, get_recipients
2024-01-26 06:29:59 -03:00
31babdfa51
Always prefer shared inboxes when computing receipent lists
...
This avoids duplicate submissions to remote instances when mentioning
followers (i.e., `POST /user/foo/inbox` followed by `POST /inbox`, which
results in two separate `add_status` tasks, and might generate duplicates
in the target instance).
2024-01-26 06:18:02 -03:00
80ad36e75b
Include SESSION_COOKIE_AGE in .env.example
...
Suggested-by: Alexey Skobkin <skobkin-ru@ya.ru>
2024-01-25 20:28:15 +01:00
500e4eb4f5
Merge from main to avoid conflicts
2024-01-25 20:27:54 +01:00
82f9aa9da4
Set SESSION_COOKIE_AGE from environment, default to one month
...
While we do wish for a longer maximum age (up to one year, see #3082 ),
we only want to do that after termination of active sessions is
implemented (see #2278 ).
In the meantime, by reading and setting the variable from settings,
we allow site admins to alter the default.
2024-01-25 20:27:24 +01:00
2d4b11aaee
Adding FictionBook format ("FB2", "FB3") to autocomplete options in "Get a copy" block.
2024-01-25 01:50:10 +03:00
193aeff4d2
Merge pull request #3245 from WesleyAC/redis-aof-auto-compact
...
Add redis automatic rewrite configuration.
2024-01-24 08:26:45 -08:00
c4596544a3
Issue-3187: fix failing tests
2024-01-24 19:18:46 +05:30
30ba8d37dc
Add redis automatic rewrite configuration.
...
This should hopefully prevent the AOF file from growing too large.
2024-01-23 18:19:31 -05:00
eb6bea013f
Fix pylint warning
2024-01-21 11:04:08 +01:00
646b27b7a7
OpenGraph: fall back on book cover when preview images are disabled
2024-01-20 17:34:52 +01:00
ea9d3f8ba1
Use Status.page_image for OpenGraph tags
2024-01-20 17:34:52 +01:00
290ee997b3
Refactor OpenGraph tags logic
2024-01-20 17:34:52 +01:00
ad56024ffe
Add Status.page_image property
2024-01-20 17:34:52 +01:00
f7b4d9ea50
Give individual status page a title and OpenGraph description
2024-01-20 17:34:52 +01:00
6cb3b97144
Replace python-requests with BookWyrm in user agent
...
Fixes #3108
2024-01-20 16:15:17 +01:00
fd0b1d90b0
Merge pull request #3229 from verymilan/nginx-ttf
...
nginx: fix missing ttf static files
2024-01-18 14:43:05 -08:00
dd5c314bd5
nginx: also serve svg static files
2024-01-18 22:29:43 +01:00
a59dcfc890
nginx: fix missing ttf static files
2024-01-18 17:03:02 +01:00
8e2649ba3b
Issue-3187: change variable name and code formatting
2024-01-18 21:23:25 +05:30
d73141792d
Merge branch 'main' into issue-3187
2024-01-18 21:19:20 +05:30
fb5fae4251
Merge pull request #3219 from bSolt/issue-3178
...
Fix awkward clipping on about page
2024-01-17 15:31:52 -08:00
c22f189c86
Merge pull request #3216 from dato/dev-tools_require_bookworm
...
Ensure dev-tools uses bookworm
2024-01-17 15:31:43 -08:00
61a6ee29d8
Merge pull request #3224 from hughrun/move-fix
...
Pass correct user id in Move notification
2024-01-17 14:25:28 -08:00
a585321ef9
Merge pull request #3226 from hughrun/disable-exports
...
Disable user exports
2024-01-17 14:23:29 -08:00
45d6f1f890
Merge pull request #3215 from ccamara/export_bookshelf
...
Export bookshelves and review date
2024-01-17 21:20:32 +11:00
b990d9ccd8
Pass correct user id in Move notification
...
We were passing the *requesting* user's moved_to value to the Move notification template, instead of the id of the user that they are being notified about.
Additionally, the id_to_username template tag had no fallback for if the user_id is None.
This resolves both problems and removes an unnecessary space in a template for when the logged in user made the move.
Fixes #3196
2024-01-17 21:06:04 +11:00
ea7f3c297e
allow js and css
2024-01-17 20:12:06 +11:00
d640e4ac96
disable user exports by default
...
- new setting to enable user exports defaults to False
- add setting to enable and disable user exports
- do not allow user exports when using s3 storage
- do not serve non-image files from /images/ (requires update to nginx settings)
- increase default file upload limit to 100MB to enable user exports to be imported (can be changed in .env)
2024-01-16 21:32:13 +11:00
ddbda3ab9c
Fix test_export
2024-01-16 08:12:59 +00:00
76a3874662
add bulma classes to fix awkward spacing
2024-01-15 23:25:52 -07:00
8144507893
Merge branch 'main' into issue-3187
2024-01-15 17:25:36 +05:30
70adf878e8
Merge branch 'issue-3187' of https://github.com/rsk2/bookwyrm into issue-3187
2024-01-15 17:23:17 +05:30
5ef104b802
Issue-3187: addressing review comments
2024-01-15 17:22:33 +05:30
9a487b0442
Ensure dev-tools uses bookworm
...
In 1937177e1
("dev-tools: use apt source for Node instead of setup script"),
I introduced the use of `Signed-By` with a public key block, which is only
supported in bookworm (bullseye only supports fingerprints, TTBOMK).
Python's Docker images already use bookworm by default, but we explicitly
require it now to avoid build errors if someone has a very old image laying
around (see, e.g., #3190 ).
(This can be dropped after Debian 13 ‘trixie’ is released.)
2024-01-13 17:55:21 +01:00
854eb36618
Export bookshelves and review date
2024-01-13 16:47:51 +00:00