Commit graph

11077 commits

Author SHA1 Message Date
Michael
a3438524e9 Handles warning: Undefined array key "gravity" 2023-03-22 05:15:29 +00:00
Michael
72952d2c92 Issue 11535: Automatically open and close the registration 2023-03-21 21:44:26 +00:00
Michael
9f11d189c8 Issue 12842: Use BBCode elements that are Markdown agnostic 2023-03-21 20:32:34 +00:00
Hypolite Petovan
a63dc7a3d8
Merge pull request #12921 from HankG/add-visibility-data-to-mastodon-status
Add visibility to user's statuses in Mastodon API
2023-03-21 15:04:13 -04:00
Hank Grabowski
60f2c67b66 Change visibility data on Mastodon posts to be array of IDs 2023-03-21 13:15:42 -04:00
Michael
5a0ac6e920 Merge remote-tracking branch 'upstream/2023.03-rc' into nomad-version 2023-03-21 06:43:21 +00:00
Michael
7728232737 Unneeded variable removed 2023-03-21 06:42:29 +00:00
Philipp
fd5914011c
Merge pull request #12920 from annando/issue-12701
Issue 12701: Fix Markdown problems with Quotes
2023-03-21 07:23:37 +01:00
Michael
afe1a59345 Fetch platform and version of nomad implementations 2023-03-21 05:36:47 +00:00
Michael
7e6ba0b4d2 Tests added 2023-03-21 04:20:03 +00:00
Hank Grabowski
97585083d9 Add visibility to user's statuses in Mastodon API
- and remove view count object if not user's status
2023-03-20 17:42:08 -04:00
Michael
0f9099dec6 Issue 12701: Fix Markdown problems with Quotes 2023-03-20 21:33:39 +00:00
Michael
9c8ae42c04 Delete the attached HTML media on content updates 2023-03-20 14:19:51 +00:00
Hypolite Petovan
0b1f67f5b3
Merge pull request #12917 from annando/remove-tab
Remove tabs if followed by new lines (or vice versa)
2023-03-20 07:09:51 -04:00
Michael Vogel
d3e085bd5a
Merge pull request #12916 from nupplaphil/feat/reduce_logging_noise
Adapt loglevels to reduce log-noise
2023-03-20 08:52:16 +01:00
Philipp
d8792c9c11
Update src/Model/Item.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-03-20 07:04:59 +01:00
Michael
b7288b2bfd Merge remote-tracking branch 'upstream/2023.03-rc' into remove-tab 2023-03-20 04:16:52 +00:00
Michael
f65c71a25b Restructured replacements 2023-03-20 04:10:35 +00:00
Michael
12d2de2c93 Remove tabs if followed by new lines (or vice versa) 2023-03-19 20:16:41 +00:00
Philipp
88e339a43d
Adapt loglevels to reduce log-noise 2023-03-19 19:33:03 +01:00
Jakobus Schürz
faa524faec revert changes, remove line (from code-review) 2023-03-19 18:52:46 +01:00
Jakobus Schürz
399ee74e05 revert to original (no changes needed anymore) 2023-03-19 18:52:46 +01:00
Jakobus Schürz
6436d2cd8a changes in case of code-review 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
Jakobus Schürz
00ae7d0f59 make dropzone work on editing postings/Comments 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
Jakobus Schürz
359ad6ff5a fix a warning and suggestions for pullrequest
* fix indentation to tabs
* remove unneeded calls for dropzone.min.js and dropzone.min.css
* removed debug output
2023-03-19 18:52:45 +01:00
Jakobus Schürz
29d7b4ef24 fix path for js and css loading 2023-03-19 18:52:45 +01:00
Philipp
29e4f0ea9a
Force correct string casting for BaseUrl 2023-03-19 11:21:17 +01:00
Philipp
c95e961683
Merge pull request #12892 from MrPetovan/bug/12888-media-upload-return
Prevent template generation in media/[photo|attachment]/upload output
2023-03-19 08:28:59 +01:00
Philipp
5062e174b7
Merge pull request #12914 from MrPetovan/bug/12842-bbcode-html-list
Rework new lines around list BBCode
2023-03-19 08:27:31 +01:00
Hypolite Petovan
241a512589 Ensure FactorySession->create returns an object no matter what
- Rename redundant method name createSession
- Add exception logging
2023-03-18 23:36:07 -04:00
Hypolite Petovan
1ce438e964 Rework new lines around list BBCode
- Remove blanket new lines remover in HTML::toBBCode
- Add test to ensure the commutativity of the markups
2023-03-18 23:35:51 -04:00
Hypolite Petovan
200bdb55ba Normalize [ul] and [ol] BBCode output to <ul> and <ol> HTML tags 2023-03-18 23:35:51 -04:00
Hank Grabowski
4366737eb8 Fix posting/editing empty text image posts through Mastodon API 2023-03-18 23:06:13 -04:00
Hypolite Petovan
d886a53af0
Merge pull request #12912 from HankG/fix-cant-remove-attachment
Fix cant remove attachment
2023-03-18 22:17:14 -04:00
Hank Grabowski
261975afe9 Delete previous post version's link attachments before posting the one from the current update. 2023-03-18 21:35:38 -04:00
Michael
04b2d2339e Improved config description / use the delete command 2023-03-18 21:34:15 +00:00
Michael
a151cf450a Blocked servers can now be deleted 2023-03-18 19:41:41 +00:00
Michael
eab4d6cbb4 Simplified Nomad detection 2023-03-18 12:27:49 +00:00
Michael
9c1516feb2 Takahē and Wildebeest added, Nomad detection improved 2023-03-18 11:43:29 +00:00
Hypolite Petovan
759e76cae6
Merge pull request #12907 from annando/issue-12863
Issue 12863: Convert Hubzilla mentions to Friendica mentions
2023-03-18 07:24:12 -04:00
Hypolite Petovan
cd8b2fe24e
Merge pull request #12906 from annando/issue-12870
Issue 12870: Support for zmg elements from Hubzilla
2023-03-18 07:22:28 -04:00
Michael
efb2b47dc9 Issue 12863: Convert Hubzilla mentions to Friendica mentions 2023-03-18 07:59:47 +00:00
Michael
e73d1e13c2 Issue 12870: Support for zmg elements from Hubzilla 2023-03-18 07:05:38 +00:00
Tobias Diekershoff
7eed9e1818
Merge pull request #12905 from annando/issue-12858
Issue 12858: Peertube avatars can now be fetched
2023-03-18 07:55:19 +01:00
Michael
1a98961c3c Issue 12858: Peertube avatars can now be fetched 2023-03-18 06:41:35 +00:00
Hank Grabowski
7f4f44a3a8 Fix paging on List and Public timelines honoring order type 2023-03-17 22:13:43 -04:00
Hank Grabowski
e969ecd351 Add paging to Account/Statuses Mastodon endpoint 2023-03-17 22:13:17 -04:00
Hank Grabowski
c609affeca Fix Mastodon InstanceV2 structure needs image max size under mediaAttachment 2023-03-17 15:56:42 -04:00
Michael
e55f38cc98 Fix test 2023-03-17 18:01:51 +00:00
Michael
d058275723 Some tests added / ensure to have paragraphs 2023-03-17 17:40:22 +00:00
Michael
dfaf3eee6b Only add paragraphs if needed 2023-03-17 12:33:13 +00:00
Michael
1146fca2cd HTML: Use paragraphs instead of double line breaks 2023-03-17 06:10:56 +00:00
Hypolite Petovan
54afccc852 Prevent template generation in media/attachment/upload output 2023-03-16 21:14:07 -04:00
Hypolite Petovan
c62762297c Prevent template generation in media/photo/upload output 2023-03-16 21:14:07 -04:00
Hypolite Petovan
a0f3a49238
Merge pull request #12895 from HankG/mastodon-status-edit-fix-deleting-all-images
Fix being able to remove all images from post through Mastodon editing
2023-03-16 16:41:09 -04:00
Hank Grabowski
02a87d9f33 Fix being able to change/remove attached links. 2023-03-16 14:34:39 -04:00
Hank Grabowski
e7058ffe8c Fix being able to remove all images from post through Mastodon edit endpoint 2023-03-16 14:01:36 -04:00
Hypolite Petovan
b3d779ef7b
Merge pull request #12894 from HankG/mastodon-status-edit-fix-tag-and-mentions
Fix tag and mention updates in Mastodon status edit endpoint
2023-03-16 11:55:05 -04:00
Hank Grabowski
bb2f678d6b Fix tag and mention updates in Mastodon status edit endpoint 2023-03-16 10:53:13 -04:00
Michael
453011baa7 Merge remote-tracking branch 'upstream/2023.03-rc' into remove-media 2023-03-16 05:01:50 +00:00
Michael
31693c2d1f Separation between picture links 2023-03-16 05:01:05 +00:00
Hypolite Petovan
bcec7306a5
Merge pull request #12891 from annando/system-variables
More reliable system variables
2023-03-15 18:37:38 -04:00
Michael
54d5f2df43 More reliable system variables 2023-03-15 21:16:21 +00:00
Michael
eefebaff49 Improved handling of images with links 2023-03-15 21:15:10 +00:00
Hypolite Petovan
705e86f8c3
Merge pull request #12877 from xundeenergie/like-buttons-improvement
[frio] Like buttons improvement
2023-03-15 10:22:23 -04:00
Michael
7dd9972b85 Changes because of code review 2023-03-15 03:55:39 +00:00
Michael
e3047794f9 Merge remote-tracking branch 'upstream/2023.03-rc' into api-edit 2023-03-14 21:46:24 +00:00
Jakobus Schürz
f8018f8dfe make errormessages modular and better 2023-03-14 17:32:11 +01:00
Jakobus Schürz
9140914a24 make erromessages translateable 2023-03-14 17:32:11 +01:00
Michael
7382c3bd86 Set the field to "null" 2023-03-14 16:18:16 +00:00
Michael
6ffecd2b74 "edited_at" must only be displayed when the entry had been updated 2023-03-14 16:07:54 +00:00
Tobias Diekershoff
bb835848d4
Merge pull request #12886 from annando/auto-attach
Option to automatically add links as attachment via API
2023-03-14 08:18:21 +01:00
Michael
4e070f65c7 Option to automatically add links as attachment via API 2023-03-13 21:30:20 +00:00
Tobias Diekershoff
c389b48a9f bump version to 2023.03-rc 2023-03-13 21:22:33 +01:00
Hypolite Petovan
84dfda1ccd
Merge pull request #12884 from annando/no-attachData
The function "getAttachedData" is replaced by a simplified functionality
2023-03-13 08:29:07 -04:00
Michael
59c436b442 Merge remote-tracking branch 'upstream/develop' into api-edit 2023-03-13 05:33:32 +00:00
Michael
2a752b37b1 The function "getAttachedData" is replaced by a simplified functionality 2023-03-13 05:04:55 +00:00
Hypolite Petovan
30e1851747 Cast the base URL as string in /friendica/json
- This was causing the data.url key to have no value, which broke the directory integration
2023-03-12 17:55:57 -04:00
Hank G
a6e9f9c89e
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-03-12 11:43:59 -04:00
Hank G
4fe278be7d
Merge branch 'friendica:develop' into mastodon-edit-title-spoiler-update 2023-03-11 08:28:51 -06:00
Michael
a4503601e5 Comment readded 2023-03-09 07:05:45 +00:00
Michael
0c8923aabd Use the built in function to create a query string 2023-03-09 06:46:14 +00:00
Michael
e0fe3bf77d Fix plaintext function by partly reverting function removal 2023-03-06 18:00:58 +00:00
Michael
c1686c486c Fix warning 2023-03-06 06:43:04 +00:00
Michael
699be97ea1 Reformatted code 2023-03-06 06:15:30 +00:00
Michael
aea3ed4548 Code is reformatted 2023-03-05 21:46:45 +00:00
Michael
eafe54f2dd The function "getAttachedData" has been removed 2023-03-05 21:22:22 +00:00
Michael
d41ec728e4 We only need a link here 2023-03-04 21:36:19 +00:00
Michael
60ddef1720 Unneeded field removed 2023-03-04 19:28:31 +00:00
Michael
b761760d65 Fix missing attached links in posts 2023-03-04 19:04:37 +00:00
Michael
9e4753f440 Merge remote-tracking branch 'upstream/develop' into api-edit 2023-03-03 03:56:19 +00:00
Michael
ea3a56ccfa API: Fix dateformat on status 2023-03-02 21:07:33 +00:00