Commit Graph

93 Commits (dev)

Author SHA1 Message Date
nicole mikołajczyk 5a73b8bbfc
composemodal: do not display 1970 publication date for draft collections 2 months ago
daniel 3861e7ddfe
Staging (#5978)
* Added current title as value for input so that the current value remains stored by default

* Added parameter 'show_legal_notice_link' => (bool) config_cache('instance.has_legal_notice'),

* Added conditional display of a link to legal notice if the page is active

* Added key 'legalNotice'

* feat translate story

* translate auth

- register
- login

* add remove follow

* Update ApiV1Controller.php

Co-Authored-By: Mathieu <385764+Casmo@users.noreply.github.com>

* New translations web.php (Chinese Simplified)
[ci skip]

* Added current title as value for input so that the current value remains stored by default

* Added parameter 'show_legal_notice_link' => (bool) config_cache('instance.has_legal_notice'),

* Added conditional display of a link to legal notice if the page is active

* Added key 'legalNotice'

* add missing key

* add missing keys

* New translations web.php (Portuguese, Brazilian)
[ci skip]

* New translations web.php (Turkish)
[ci skip]

* New translations web.php (Italian)
[ci skip]

* translate custom  filter

* New translations web.php (Italian)
[ci skip]

* use configured alt text length limit when uploading multiple photos

* in notifications sidebar, show popover on shared posts too, not just liked posts

* use case insensitive search when tagging accounts

* New translations web.php (Portuguese, Brazilian)
[ci skip]

* Generic OIDC Support

* Everything should be configurable by env variables
* Basic request tests

* Fixes for items highlighted by review.ai

* Consider using `hash_equals()` instead of `==` when comparing the state values to prevent timing attacks:
`abort_unless(hash_equals($request->input('state'), $request->session()->pull('oauth2state')), 400, 'invalid
state');`
* For better data integrity, consider adding a foreign key constraint to the user_id column: `$table-
>foreign('user_id')->references('id')->on('users')->onDelete('cascade');`
* Does the OIDC provider guarantee that the username field exists in the userInfo data? Consider adding a
null check or fallback: `$userInfoData[config('remote-auth.oidc.field_username')] ?? null`

* field isnt accessTokenResourceOwnerId but responseResourceOwnerId

* New translations web.php (Dutch)
[ci skip]

* Fix components

* Update LandingService and Config util to properly support the legal_notice setting

* Update footer to use legalNotice i18n

* Update i18n

* Update sidebar with gap padding for footer links

* Update compiled assets

* Update i18n json

* Update OIDC config with comments, and disable tests as we dont have db tests configured

* Update remove_from_followers api endpoint

* Update i18n

* Update compiled assets

* Update changelog

* New supported formats, Preserve ICC Color Profiles, libvips support

Update image pipeline to handle avif, heic and webp and preserve ICC color profiles and added libvips support.

* Fix tests

* Update CHANGELOG.md

---------

Co-authored-by: Samy Elshamy <elshamy@coderbutze.de>
Co-authored-by: Felipe Mateus <eu@felipemateus.com>
Co-authored-by: Mathieu <385764+Casmo@users.noreply.github.com>
Co-authored-by: Mackenzie Morgan <macoafi@gmail.com>
Co-authored-by: Gavin Mogan <git@gavinmogan.com>
2 months ago
daniel 6276d3539a
Staging (#5674)
* Update .env.docker

Registry has changed. Old registry has been discontinued in August 2024. New Registry added, format of Docker tag has been adjusted as it now contains the Debian Release as well.

Sample Version is set to current stable but can be adjusted to any of the available branches.

* Update .env.docker

Stick major.minor according to https://jippi.github.io/docker-pixelfed/customize/tags/#pixelfed-version

Disable Debian Release Check until it's solved in dottie.

Closes https://github.com/pixelfed/pixelfed/issues/5264

* New translations web.php (Finnish)
[ci skip]

* New translations web.php (Finnish)
[ci skip]

* fix: don't restore memory limit after cities import

Since this command can only be invoked by CLI, the process will exit after a successful import, so restoring the transient PHP memory limit doesn't really have any affect.

In PHP 8.4, this throws the following error (which doesn't happen in 8.3 and below)

> [entrypoint / 11-first-time-setup.sh] - (stderr) 128769/128769 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%[2025-01-20 11:29:23] production.ERROR: Failed to set memory limit to 134217728 bytes (Current memory usage is 134746112 bytes) {"exception":"[object] (ErrorException(code: 0): Failed to set memory limit to 134217728 bytes (Current memory usage is 134746112 bytes) at /var/www/app/Console/Commands/ImportCities.php:140)

It seems to be a 8.4 behavior change, so removing the logic would make it go away

* New translations web.php (Finnish)
[ci skip]

* New translations web.php (Finnish)
[ci skip]

* New translations web.php (Portuguese)
[ci skip]

* New translations web.php (Portuguese)
[ci skip]

* fix(compose-modal): avoid WebGL if it's not needed

* fix(compose-modal): update webgl-media-editor

* New translations web.php (Hungarian)
[ci skip]

* New translations web.php (Russian)
[ci skip]

* New translations web.php (Russian)
[ci skip]

* Update .env.example

Adding the parameter INSTANCE_DISCOVER_PUBLIC="true" to prevent a HTTP 403 error at the explorer tab in the instance preview.

* New variable for lang spanish

* Variable for lang spanish

* Update Dockerfile, fixes #5535 #5559

* Fix #5582

* Fix #5632

* Update status twitter:card to summary_large_image for images/albums

* Update changelog

---------

Co-authored-by: Lioh Moeller <lioh.moeller@gmx.net>
Co-authored-by: Christian Winther <jippignu@gmail.com>
Co-authored-by: Taye Adeyemi <dev@taye.me>
Co-authored-by: stemy2 <stemy2@users.noreply.github.com>
Co-authored-by: Uthanien <feldarec@gmail.com>
6 months ago
Taye Adeyemi 669a68d27b feat: apply filters with WebGL 8 months ago
Jonas Geiler e318d526c7
Add missing `reject` argument 9 months ago
Jonas Geiler 7d80ac3c93
Improve media filtering by using OffscreenCanvas, if supported
Also improve browser support by testing for each feature instead of checking the user agent.
Also improve error handling by using promises.

Fixes #2939
Fixes #4194
9 months ago
Jonas Geiler 249468d154
Fix `defineErrorMessage` which is not actually using the `msg` variable it creates 9 months ago
Jonas Geiler 6d20c85e91
Fix `applyFilterToMediaSave` passing options to `image.addEventListener` instead of `canvas.toBlob` 9 months ago
mbliznikova fd4f41a14e Added an informative UI error message for attempt to create a mixed media album 1 year ago
mbliznikova 4e567e3411 Provide an informative error message when account size limit is reached 2 years ago
Daniel Supernault 0a0681199f
Update ComposeModal, fix missing alttext post state 2 years ago
Daniel Supernault a3fd0b032b
Update vue components, fix typos 2 years ago
daniel 381e23e172
Merge pull request #4684 from mbliznikova/3596_provide_error_message_for_too_large_files
Provide the error message if a file to upload is too large, issue #3596
2 years ago
Daniel Supernault 56e315f69f
Update ComposeModal component, fix multi filter bug and allow media re-ordering before upload/posting 2 years ago
mbliznikova 6c1e56fcb2 Provide the error message if a file to upload is too large 2 years ago
Daniel Supernault 2d959fb354
Update ComposeModal.vue, fix scroll issue and dont hide scrollbar 2 years ago
Daniel Supernault 80e6a5a98f
Update ComposeController, fix validation issue 2 years ago
Daniel Supernault 4db4818807
Update ComposeModal, add Alt Text button to caption screen 3 years ago
Daniel Supernault b1f47e76ff
Rename filters 3 years ago
Daniel Supernault ec4128254f
Update ComposeModal, rename filters to avoid trademark issues 3 years ago
Daniel Supernault d48642132b
Add custom content warnings/spoiler text 3 years ago
Shlee e36be67c70 unwanted semicolons 3 years ago
Daniel Supernault cb540373ec
Add Dark Mode to Metro UI 2.0 3 years ago
Daniel Supernault 84727d5c26
Update ComposeModal, add noMatchTemplate to zurb autocomplete 3 years ago
Daniel Supernault 692a73ec0b
Update components 3 years ago
Daniel Supernault 160e32a590
Update ComposeModal, fix post redirect on old UI 3 years ago
Daniel Supernault 5db64e94a3
Update ComposeModal.vue, fix redirect after posting. Fixes #3254 3 years ago
Daniel Supernault 879281cccb
Update ComposeModal, add max file size and allowed mime types. Fixes #3162 4 years ago
Daniel Supernault 2befff8fd1
Update ComposeModal 4 years ago
Daniel Supernault e975372631
Update ComposeModal 4 years ago
Daniel Supernault 942fdf5486
Update components 4 years ago
Daniel Supernault 7709220074
Add Polls 4 years ago
Daniel Supernault 072d55d1a8
Update Compose Apis, make media descriptions/alt text length limit configurable. Default length: 1000 4 years ago
Daniel Supernault 67e3f6048f
Update Settings, add default license and enforced media descriptions 4 years ago
Daniel Supernault 2119965659
Update ComposeModal 4 years ago
Daniel Supernault 4ad573c8de
Update components 4 years ago
Daniel Supernault de514f7d76
Add Autocomplete for hashtags + mentions 4 years ago
Daniel Supernault 42375b3d79
Update Compose Apis, refactor rate limits 4 years ago
Daniel Supernault 001d410579
Update ComposeModal, limit visibility scope for private accounts 4 years ago
Daniel Supernault 12ce76026f
Update ComposeModal, show filter warning for unsupported browsers 5 years ago
Daniel Supernault ceae664ce0
Update ComposeModal, prevent tagging empty users. Fixes #2633 5 years ago
Daniel Supernault 1f09b4f5c5
Revert ComposeModal 5 years ago
Daniel Supernault e6e76e809d
Update ComposeModal, add processing step disabled by default 5 years ago
Daniel Supernault caafef580c
Update ComposeModal, use new routes 5 years ago
Daniel Supernault 526b55311a
Update ComposeModal, add maxlength attribute to alt text input. Fixes #2490 5 years ago
Daniel Supernault 8e3e75864c
Update ComposeModal, fix filter bug on safari 5 years ago
Daniel Supernault e28d022f62
Update ComposeModal.vue component, reuse sharedData 5 years ago
Daniel Supernault 0a5a0e8616
Add federated photo filters 5 years ago
Daniel Supernault d63569c120
Add Direct Messages 5 years ago
Daniel Supernault b213dcda0b
Update ComposeModal.vue, add 451 http code warning 5 years ago