1
0
Fork 0
Commit graph

6475 commits

Author SHA1 Message Date
Josh Soref
11f397f74d spelling: comments
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
1c4fbc9fdf Fix other calls to Mail::send to provide ID 2023-03-22 18:25:32 -04:00
9c8ae42c04 Delete the attached HTML media on content updates 2023-03-20 14:19:51 +00: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
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
5f6503a73f Editing/removing of attached pictures is now possible via web 2023-02-27 07:47:31 +00:00
Philipp
544168244c Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-02-19 11:12:48 +01:00
f0c29edcde
Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
f542211189 Mode depending control for the behaviour with blocked contacts 2023-01-12 06:25:55 +00:00
120b78e30a Enable profile user theme on single photo display 2023-01-10 20:40:35 -05:00
20a2cec0b0 Moved permission assigning / simplified block check 2023-01-10 05:59:25 +00:00
840f25cc5c Improve ignoring of messages 2023-01-09 16:23:39 +00:00
Michael Vogel
d5bc6d0006
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-01-07 19:54:13 +01:00
900e0d46d3 Changes after review 2023-01-07 18:46:10 +00:00
6a0a13855f More simplifications 2023-01-07 18:19:04 +00:00
8654b39e98 Simplified code 2023-01-07 18:07:54 +00:00
4e4eab7548 Merge remote-tracking branch 'upstream/develop' into mod-item 2023-01-07 17:14:40 +00:00
3b9bf4d70d Remove system.no_auto_update personal config key and assume default value of true
- By popular request, the behavior with false was too perturbating
2023-01-05 10:27:03 -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
09f46b20f1 Functionality is split 2023-01-04 10:59:28 +00:00
d1a951f0ac Post processing centralized 2023-01-04 06:52:40 +00:00
0d56f156f7 Code cleanup for mod/item.php 2023-01-04 05:44:52 +00:00
9c256ad76f Remove obsolete OExchange module and reference
- Protocol looks unsupported for a decade now
2023-01-01 19:20:42 -05:00
8bbf9e93c6 Remove dependency to the second parameter of XML::fromArray 2023-01-01 19:20:42 -05:00
f8f3689a0d
Fix https://github.com/friendica/friendica/issues/12486#issuecomment-1368540088 2023-01-01 22:34:01 +01:00
1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
34f21b40f4 Move missing POST part of Profile\Photos from mod/photos 2022-12-01 17:57:29 -05:00
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
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
a01872a117 Merge branch 'develop' into show_image_upload_limit
# Conflicts:
#	src/Util/Strings.php
#	view/lang/C/messages.po
2022-11-27 23:52:58 +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
d8ad95ac39
Remove mod/fbrowser 2022-11-26 22:37:03 +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