Art4
76d25a27b4
Remove requirement for App class in legacy mods
2024-11-23 08:26:59 +00:00
Art4
4f1a4c4c8a
Replace App with AppHelper
2024-11-21 09:56:56 +00:00
Michael
e8a3be6820
OStatus support removed
2024-09-11 03:44:40 +00:00
Tobias Diekershoff
3896b07c9e
SPDX headers for PHP files in bin and mod
2024-08-23 15:11:15 +02:00
Michael
da37516abf
OpenWebAuth path is now fetched during probing
2024-05-20 19:46:29 +00:00
Michael
60f5fd8188
Many deprecated function calls are replaced
2024-05-13 21:37:15 +00:00
Hypolite Petovan
25475b4838
Escape album name select list in photo upload form
...
- Thanks to @apexrabbit for the report!
2024-05-10 11:25:59 -04:00
Michael
69fc2c04e4
Issue 13812: Public groups with manual request approval
2024-04-08 07:58:45 +00:00
Hypolite Petovan
8c4b2107b5
Include author-alias to the field list in mod/photos
...
- It's used to generate magic links of authors of comments on photos
- Address https://github.com/friendica/friendica/issues/13761#issuecomment-1980738080
2024-03-06 12:07:43 -05: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
Michael
f83f61f7ac
"ANY_VALUE" is removed
2024-01-15 16:45:24 +00:00
Michael
89e7420237
Friendica copyright changed from 2023 to 2034
2024-01-02 20:57:26 +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
4c3f2441f7
Display the contact alias if the URL is no HTTP link
2023-06-18 16:49:38 +00: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
c5ca5bfdf8
Function renamed
2023-05-10 07:54:15 +00:00
Michael
7d91cc73de
Unifiy the creation of photo links
2023-05-09 20:44:58 +00:00
Josh Soref
c6d1c01426
spelling: dynamically
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Jakobus Schürz
c01f7f98ae
reinsert Friendica\DI (accidentially removed before)
2023-03-19 18:52:46 +01:00
Jakobus Schürz
920dcca263
render max_imagesize in header.tpl
...
so it is reachable general from the whole website, and the dropzone-factory can use
it also to create dropzones from modal.js
2023-03-19 18:52:46 +01:00
Jakobus Schürz
0cc2e1c22a
apply changes from review
2023-03-19 18:52:45 +01:00
Jakobus Schürz
512e5900e6
use round instead of floor to make imagesize <1M possible
2023-03-19 18:52:45 +01:00
Jakobus Schürz
ada11a2c67
create factory for dropzones
2023-03-19 18:52:45 +01:00
Jakobus Schürz
39f7660a1d
fix getting bytes from shorthand in php
2023-03-19 18:52:45 +01:00
Jakobus Schürz
3688196859
create workaround for not working php
...
Strings:getBytesFromShorthand
i created a js-function which converts integer, k, m and g to MB
Just remove this code, when we found out, why Strings is in some files
not working.
2023-03-19 18:52:45 +01:00
Jakob Schürz
177bf9b67b
fix missing DI
2023-03-19 18:52:45 +01:00
Jakobus Schürz
be2afac60d
take maxFilesize from systemsettings
...
* does not work everywhere...
2023-03-19 18:52:45 +01:00
Hypolite Petovan
120b78e30a
Enable profile user theme on single photo display
2023-01-10 20:40:35 -05:00
Hannes Heute
24b5710e17
remove parentheses
2023-01-04 16:58:45 +01:00
Hannes Heute
46461be818
improve previous / next function in photo gallery
2023-01-04 14:25:33 +01:00
Philipp
f8f3689a0d
Fix https://github.com/friendica/friendica/issues/12486#issuecomment-1368540088
2023-01-01 22:34:01 +01:00
Hypolite Petovan
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05:00
Hypolite Petovan
34f21b40f4
Move missing POST part of Profile\Photos from mod/photos
2022-12-01 17:57:29 -05:00
Hypolite Petovan
ae76fa1174
Remove unused first parameter from BaseProfile::getTabsHTML
...
- Add expected Profile::load call to Profile\Photos module
2022-12-01 08:03:35 -05:00
Hypolite Petovan
b83526ad0b
Tighten profile restriction feature
...
- Prevent feed access to restricted profiles
- Rework display of restricted profiles with a redirect to the profile/restricted route
- Normalize permission checking with IHandleUserSession->isAuthenticated
- Remove unusable "nocache" parameter in feed module because session isn't initialized
- Reword setting name and description
2022-12-01 08:03:35 -05:00
Marek Bachmann
79235b6db1
Removed redundant maximagesize = INF statements
2022-11-30 05:17:48 +01:00
Marek Bachmann
037e181f82
use the existing function for format byte values to KiB, MiB, GiB
2022-11-30 04:34:40 +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
2794100cbc
Fixed meaning of "maximagesize" = 0 --> infinity
2022-11-30 02:16:04 +01:00
Marek Bachmann
978fe26f4c
Added Strings::getBytesFromShorthand() for file size check at upload and new message.po
2022-11-30 01:26:08 +01:00
Marek Bachmann
9c383e2004
allow shorthands in the system.maximagesize
2022-11-30 01:26:08 +01:00
Marek Bachmann
f45b358393
using constant value for calculation of MiB output, really no need to calculate 2**20 for just dividing the bytes by one constant divisor.
2022-11-26 23:44:23 +01:00
Marek Bachmann
597f1ba9e3
using constant value for calculation of MiB output, really no need to cluclate 2**20 for just deviding the bytes by one constant divisor.
2022-11-26 23:33:51 +01:00
Marek Bachmann
54289b2d08
Integrated isnumeric check to limit comparison condition
2022-11-26 23:25:11 +01:00
Marek Bachmann
6c73077bbc
whitespaces
2022-11-26 21:53:12 +01:00
Marek Bachmann
f88722bf7f
Better formatting
2022-11-26 21:47:55 +01:00
Marek Bachmann
f4d49e561c
fixed a forgotten debug output
2022-11-26 21:44:41 +01:00
Marek Bachmann
907deed523
introduced getBytesFromShorthand function to covert from shorthand notation to int
2022-11-26 21:43:31 +01:00
Marek Bachmann
c4c1bd2908
changed var name
2022-11-25 23:36:28 +01:00
Marek Bachmann
bb67f6e219
Added check if upload_max_filesize (php.ini) or friendica option 'maxfilesize' is dominant for the actual image upload limit and print out the lower (relevant) one.
2022-11-25 22:57:06 +01:00