Michael
afff2b949f
Improved user agent string
2024-05-10 09:01:43 +00:00
Michael Vogel
14e5b06029
Image handling reworked, new image formats added ( #13900 )
...
* Image handling reworked, new image formats added
* Updated messages.po
* The dot is now part of the file extension
* Added WebP in install documentation
* Handle unhandled mime types
* Fixed animated picture detected
2024-02-17 07:45:41 +01:00
Hypolite Petovan
dd534919d7
Merge pull request #13831 from friendica/warning
...
Fix warning concerning a missing "created" field
2024-01-15 14:17:06 -05:00
Michael
f6335590c5
Improve query
2024-01-15 17:00:32 +00:00
Michael
f83f61f7ac
"ANY_VALUE" is removed
2024-01-15 16:45:24 +00:00
Michael
d4c16b8704
Fix warning concerning a missing "created" field
2024-01-14 11:58:06 +00:00
Hypolite Petovan
e8c256bcff
[Composer] Bump guzzlehttp/guzzle to version 7 to suppress deprecation notices
...
- Bump divineomega/password_exposed to version 3 to remove dependency on Guzzle version 6
- Add new ICanHandleHttpResponses->getBodyString method to solve inheritance mismatch with GuzzleHttp\Psr7\ResponseInterface->getBody return type
2024-01-12 08:42:46 -05:00
Michael
89e7420237
Friendica copyright changed from 2023 to 2034
2024-01-02 20:57:26 +00:00
Michael
e4a37f344e
Individual callstacks are removed from the logger
2023-10-18 19:55:15 +00:00
Hypolite Petovan
938b2bae23
Align proxy sizes to photo preview sizes
...
- PIXEL_SMALL goes from 300 to 320
- PIXEL_MEDIUM goes from 600 to 640
- Use Proxy pixel constants where we used hard-coded pixel values
2023-10-14 16:05:01 -04:00
Michael
794378ed29
New function to resize an image to not exceed a given file size
2023-08-10 21:12:35 +00:00
Hypolite Petovan
3385147f25
Replace "forum" by "group" in the rest of the code
2023-06-02 13:52:41 -04:00
Hypolite Petovan
4f7740264e
Replace "group" with "circle" in the rest of the code
...
- Remaining mentions already mean "forum"
2023-05-27 22:01:45 -04:00
Michael
e13a31c4fe
Ensure that the baseurl return value is a string
2023-05-11 08:13:19 +00:00
Michael
76ccc52406
Improved variable naming
2023-05-09 06:32:16 +00:00
Michael
91a12295ff
Calculate image size if not provided
2023-05-09 05:59:07 +00:00
Michael
b692146533
Remove unwanted stuff
2023-05-09 05:34:56 +00:00
Michael
d20cae82ad
Use old error message when storing fails
2023-05-09 05:32:52 +00:00
Michael
d83073f2a2
Unifiy storing of photos with previews
2023-05-09 05:29:05 +00:00
Michael
1789266859
Improved preview size
2023-05-08 21:32:38 +00:00
Josh Soref
2b819b8f8c
spelling: resource
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref
f634c1a067
spelling: successful
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
2f7612d8b1
spelling: resource
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
c8d5b6e0c6
spelling: group
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
61fafed83c
spelling: database
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Philipp
f0c29edcde
Adapt BaseURL calls to new UriInterface
2023-02-18 21:12:21 +01:00
Michael
5fdeed8ed8
C2S: Improve C2S-API, fix inbox endpoint
2023-02-08 20:16:19 +00:00
Michael
999cdc7db9
Avoid more local links and bad http requests
2023-01-28 14:57:04 +00:00
Hypolite Petovan
be105db759
Check the image URL has a host before retrieving it in Photo::importProfilePhoto
...
- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1404324012
2023-01-25 22:31:07 -05:00
Hypolite Petovan
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05:00
Michael
bf7df13855
Add more BlurHash to avoid not being able to display some picture
2022-12-11 09:56:30 +00:00
Michael
5c74113bf6
Issue 12275: Banner upload via avatar does work now
2022-12-04 16:33:29 +00:00
Michael
1c8690a872
Fix calls for pictures without blurhash
2022-12-04 15:14:43 +00:00
Michael
cfe5101b9b
Use the blurhash when the remote picture doesn't load
2022-12-04 14:58:53 +00:00
Michael
a5be5b27e3
Support Blurhash
2022-12-04 13:29:21 +00:00
Marek Bachmann
79235b6db1
Removed redundant maximagesize = INF statements
2022-11-30 05:17:48 +01:00
Marek Bachmann
97a3587e58
Added handling as infinity if maxfilesize is set to 0
2022-11-30 02:44:48 +01:00
Marek Bachmann
bbd1c34292
Wrapped all occurrences of DI::config()->get('system', 'maximagesize') with Strings::getBytesFromShorthand()
2022-11-30 02:26:56 +01:00
Philipp
3ac3b3d2af
Perfection!
2022-11-27 01:52:49 +01:00
Philipp
051253a745
Move FileBrowser to own namespace & Bugfix album usage
2022-11-27 01:34:58 +01:00
Philipp
3607aa32ca
Apply suggestions from code review
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-11-27 01:34:58 +01:00
Philipp
d0b16b2fc1
Move mod/fbrowser to src\Modules\Attachment|Photos\Browser
2022-11-26 22:26:30 +01:00
Hypolite Petovan
6dcc964ed8
Fix string interpolation in Model\Photo::upload
2022-11-20 17:07:08 -05:00
Philipp
b4ffb0bde0
UserSession class [4] - Refactor src/Model/ files
2022-10-20 22:14:50 +02:00
Michael
ee1acba9eb
old boot.php functions replaced in /src
2022-10-19 07:56:25 -04:00
Michael
cc43b567cb
Some changes after code review
2022-08-31 19:03:37 +00:00
Michael
757a5c2de9
Loglevels are adjusted
2022-08-30 19:45:30 +00:00
Philipp
a910fd8864
Split DBStructure & View to avoid DB-calls and dependencies for basic operations
...
- new "Definition" classes vor DB and Views
- new "Writer" classes to create SQL definitions for DB and Views
- DBStructure & View are responsible to execute DB-querys
2022-07-12 23:40:31 +02:00
Roland Häder
98bc5216ef
A bit more documentation
2022-06-27 15:16:17 +02:00
Roland Häder
39f2d197ea
Changed to suggestings (back to original) + fixed typo in scalar type
2022-06-18 23:30:37 +02:00