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
Roland Häder
f3b57008b5
Proper type is string
2022-06-18 18:41:16 +02:00
Roland Häder
41f34c4261
Maybe fix for:
...
"Argument 1 passed to Friendica\Model\ItemURI::getIdByURI() must be of the type string, null given, called in Processor.php line 1219"
2022-06-18 18:30:50 +02:00
Roland Häder
9691bb06fb
Changes:
...
- added more type-hints
- added missing documentation
2022-06-18 18:21:29 +02:00
Roland Häder
33768ea1c6
Some fixes:
...
- $gsid's default value cannot sadly be 0, it now must be null to allow some
code work
- added some more type-hints
- documented a bit more
2022-06-17 17:18:31 +02:00
Michael
0ff8ca8053
Trim the rid
2022-05-24 17:39:02 +00:00
Michael
e3692c0105
Replaced check with hardwired path
2022-05-09 04:26:00 +00:00
Philipp
e299fc67c8
Introduce "accept_header" as specific argument to the http client
2022-04-02 21:16:53 +02:00
Philipp
73c3b21665
Move ACCEPT constants to own "enum" class
2022-04-02 20:26:11 +02:00
Michael
1fae0123ec
Some more "accept" parameters are added
2022-03-29 06:24:20 +00:00
Michael
7d21f6f8d3
Merge remote-tracking branch 'upstream/2021.12-rc' into user-banner
2022-01-19 18:41:31 +00:00