Commit graph

6448 commits

Author SHA1 Message Date
Hypolite Petovan 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
Hypolite Petovan 9c256ad76f Remove obsolete OExchange module and reference
- Protocol looks unsupported for a decade now
2023-01-01 19:20:42 -05:00
Hypolite Petovan 8bbf9e93c6 Remove dependency to the second parameter of XML::fromArray 2023-01-01 19:20:42 -05:00
Philipp Holzer 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 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
Philipp Holzer 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
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
MarekBenjamin 9dd1cf8316
Update mod/photos.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-11-25 21:53:32 +01:00
Marek Bachmann d402fe364e Show image size limit in Frio as "usagemessage" for photo_upload 2022-11-25 19:44:09 +01:00
Michael c88125348f Issue 12189: Quote share a feed now shares the linked feed url 2022-11-24 06:36:08 +00:00
Michael 25992b063a Merge remote-tracking branch 'upstream/develop' into no-api-post 2022-11-23 06:28:24 +00:00
Michael f600f68907 No more automated posts via mod/item.php 2022-11-23 06:27:40 +00:00
Hypolite Petovan 77e87da441 Create /profile/{nickname}/photos route
- Create new Profile\Photos\Index module class
- Update most references of the legacy /photos/{nickname} route
2022-11-20 17:15:07 -05:00
Philipp Holzer 00883c9dcb
Move mod/editpost.php to src\Module\Post\Edit 2022-11-15 22:32:46 +01:00
Hypolite Petovan 403b025b5d
Merge pull request #12179 from nupplaphil/mod/display
Move mod/(update_)display.php to src\Module
2022-11-15 15:14:17 -05:00
Hypolite Petovan 952e6c688c Suppress warning when /phots route is used without a nickname
- Address https://github.com/friendica/friendica/issues/11993#issuecomment-1314964388
2022-11-15 09:04:12 -05:00
Philipp Holzer 3259bd17dc
Move mod/(update_)display.php to src\Module 2022-11-15 00:57:47 +01:00
Philipp Holzer 5c05a3b0f6
Move mod/display.php "feed-item" to a src\Module\Item\Feed.php 2022-11-15 00:52:58 +01:00
Hypolite Petovan 2d0af812b1 Don't send password reset emails to deleted user accounts 2022-11-14 17:02:41 -05:00
Hypolite Petovan 27e59e3819 Delete mod/ostatus_subscribe.php file 2022-11-14 13:48:47 -05:00
Hypolite Petovan d53f51fce3 Delete mod/poco.php file 2022-11-14 13:48:47 -05:00
Hypolite Petovan d21da2dc0a Remove mod/pubsub.php file 2022-11-14 13:48:46 -05:00
Hypolite Petovan a1a0b6512c Create new OStatus\PubSub module class
- Retain previous route /pubsub for backward compatibility
2022-11-14 13:48:46 -05:00
Hypolite Petovan cac42d349c Remove mod/pubsubhubbub.php file 2022-11-14 13:48:46 -05:00
Philipp Holzer 75360f3b8c
Move mod/mod/msearch & mod/match to src/Module 2022-11-09 22:17:50 +01:00
Hypolite Petovan e6ada08e1b Delete mod/settings.php and its reference 2022-11-09 06:26:08 -05:00
Hypolite Petovan 45c4439119 Move settings/connectors to src/Module 2022-11-09 06:26:05 -05:00
Hypolite Petovan 33d1df3c6d Move settings/addons to src/Module 2022-11-09 06:25:41 -05:00
Hypolite Petovan 3226b00995 Move settings/oauth to src/Module
- Add settings_content() permission checks to Module\BaseSettings
- Transform application token deletion GET links to POST forms to keep a single OAuth module class
2022-11-09 06:25:22 -05:00
Hypolite Petovan a8ab85065b Delete mod/redir.php file 2022-11-08 20:12:26 -05:00