Commit graph

11151 commits

Author SHA1 Message Date
Josh Soref
e884cd19b0 spelling: authenticated
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
c7b358f446 spelling: attachment
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
e69ae13880 spelling: announce
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
abbea6f002 spelling: and
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
20fdae12e0 spelling: ambiguity
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
980b4ec273 spelling: already
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
1281f118bb spelling: algorithm
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
f83fb1deb7 spelling: addresses
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
01e1e9b676 spelling: additional
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
29e74b3061 spelling: actor
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
07862b8a88 spelling: activity
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
1ac0b8762e spelling: acquire
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Michael
8a55ce2415 Set different permissions for comments via API 2023-03-24 20:39:11 +00:00
Hypolite Petovan
08d1e484e3
Merge pull request #12941 from xundeenergie/attend-buttons
Attend buttons improvement
2023-03-24 08:56:13 -04:00
xundeenergie
95e1a43814
Update src/App/Page.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-03-24 01:16:56 +01:00
Michael
df6cda8a4d Issue 11513: Non public replies on public posts should now work 2023-03-23 22:25:48 +00:00
Jakobus Schürz
33a7cd107e improve attend-buttons for events 2023-03-23 23:23:23 +01:00
Hypolite Petovan
6394bd91c0
Merge pull request #12935 from HankG/fix-sending-dms-with-oauth-user
Fix sending dms with oauth user
2023-03-23 06:02:08 -04:00
Hank G
cc86a54c80
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-03-22 21:35:44 -04:00
Hank Grabowski
3d4e11045a Fix type and name on Mail::send sender ID argument 2023-03-22 18:25:13 -04:00
Hank Grabowski
0a5e3c75dc Fix Twitter NewDM API w/OAuth by passing in UID not query session 2023-03-22 18:18:49 -04:00
Michael
6a1f7c47b3 Don't show permissions from permissiongroups on comments 2023-03-22 21:43:03 +00:00
Hypolite Petovan
cf0302b3c1
Merge pull request #12925 from annando/issue-12842
Issue 12842: Use BBCode elements that are Markdown agnostic
2023-03-22 09:14:01 -04:00
Hypolite Petovan
9a5e4a93fe
Merge pull request #12926 from annando/issue-11535
Issue 11535: Automatically open and close the registration
2023-03-22 09:08:01 -04:00
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
Michael
fc8421b57b Merge remote-tracking branch 'upstream/develop' into api-edit 2023-03-01 05:17:13 +00:00
Hank Grabowski
63a65b6d02 Fix passing in correct change fields to Mastodon Status FriendicaExtension 2023-02-28 16:10:13 -05:00
Hank Grabowski
7ccc978bc5 Add title/spoiler text handling and capturing invalid update to Mastodon edit 2023-02-28 15:35:37 -05:00
Hank Grabowski
1e48978664 Use Mastodon standard edited_at field for tracking edit time 2023-02-28 15:02:02 -05:00
Hank G
c7457c7a72
Update src/Module/BaseApi.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-02-28 13:49:23 -05:00
Hank Grabowski
80896936b2 Remove extra lines from TimelineOrderByTypes.php to get rid of server side only formatting error 2023-02-28 13:12:11 -05:00
Hank Grabowski
13672bccf4 Only allow explicitly known order types through 2023-02-28 13:10:45 -05:00
Hank Grabowski
f0b3864c7a Add default getLinkHeader asDate to be false (the previous ID-only way) 2023-02-28 12:48:25 -05:00
Hank Grabowski
fae67b6d88 Remove extra line between copyright and namespace 2023-02-28 11:44:49 -05:00
Hank Grabowski
260f4e46ab Correct format/style errors 2023-02-28 11:43:12 -05:00
Hank Grabowski
32bb097604 Correct format/style errors 2023-02-28 11:41:53 -05:00
Hank Grabowski
c33c624f83 Add new temporal paging to Mastodon Timeline Public and List endpoints 2023-02-28 11:36:24 -05:00
Hank Grabowski
4f86cd0923 Add comment to friendica_order query parameter in Mastodon Timeline Home 2023-02-28 11:35:54 -05:00
Hank Grabowski
099ef11183 Fix tag filtering on block/mute list 2023-02-28 11:35:21 -05:00
Hank Grabowski
1f6578229e Add additional Mastodon timeline sorting date types and data to output 2023-02-28 10:36:11 -05:00
Hank Grabowski
1adb23d8fd Change timestamp to be DateTime object not integers in Mastodon Timeline API 2023-02-28 08:20:08 -05:00
Michael
3a0b0ffce5 Editing of media descriptions is now possible as well 2023-02-28 08:06:49 +00:00
Michael
98aed4dde3 Adding and removing of pictures via API is now possible 2023-02-28 06:19:19 +00:00
Hank Grabowski
6ffd3a3f8c Merge branch 'develop' into mastodon-timeline-temporal-paging 2023-02-27 20:20:40 -05:00
Michael
a5b774d2ef Without "->__toString()" 2023-02-27 21:15:11 +00:00
Michael
cbb9cb6c24 Fix v1 endpoint 2023-02-27 21:02:59 +00:00
Michael
2849a96628 Issue 12415: Handle attachment updates via AP 2023-02-27 20:02:05 +00:00
Philipp
61deaec4be
Merge pull request #12848 from HankG/fix-mastodon-v2-active-month-naming-error
Fix mastodon v2 active month naming error
2023-02-27 19:51:25 +01:00
Hank Grabowski
2f3a7c422f Fix whitespace issue 2023-02-27 13:47:02 -05:00
Hank Grabowski
b375f64e0e Add int hint to Mastodon V2 UserStats.php 2023-02-27 13:04:24 -05:00
Michael Vogel
0338d9fda8
Update src/Model/Post/Media.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-02-27 14:31:56 +01:00