Commit graph

36778 commits

Author SHA1 Message Date
Michael
a3438524e9 Handles warning: Undefined array key "gravity" 2023-03-22 05:15:29 +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
Hypolite Petovan
649cd58daa
Merge pull request #12922 from annando/nomad-version
Fetch platform and version of nomad implementations
2023-03-21 08:34:06 -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
Hypolite Petovan
5f52981255
Merge pull request #12919 from annando/html-media-update
Delete the attached HTML media on content updates
2023-03-20 21:03:12 -04: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
Michael
55912d1c75 Test added 2023-03-20 07:03:17 +00: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
3a73df7007 Fix tests 2023-03-20 04:25:05 +00: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
Hypolite Petovan
7f4d399fc8
Merge pull request #12883 from xundeenergie/easy-image-attach
[frio] Easy image attach
2023-03-19 19:10:53 -04: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
cf63cbde72 remove removelink (it is not useful at the moment) 2023-03-19 19:14:10 +01:00
Jakobus Schürz
5040bd9a1a change response-handling (code-review) 2023-03-19 18:52:46 +01:00
Jakobus Schürz
57a7a3d6d8 change responsehandling to be ready for PR #12892 2023-03-19 18:52:46 +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
8a3361dfbe remove upload-url parameter 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
fba33d3afc add options allowedFiles and more 2023-03-19 18:52:46 +01: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
16f065e260 changes in case of codereview 2023-03-19 18:52:45 +01:00
Jakobus Schürz
0cc2e1c22a apply changes from review 2023-03-19 18:52:45 +01:00
Jakobus Schürz
e62265b234 make errormessages visible 2023-03-19 18:52:45 +01:00
Jakobus Schürz
f876a053df add dropzone also onclick on comment-fake-form 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
1a1a1246b6 attach dropzone only when opening comment 2023-03-19 18:52:45 +01:00
Jakobus Schürz
d39781023e create factory 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
721c065a44 fix editing in modal-jot
and add also timeout before removing images from dropzone
2023-03-19 18:52:45 +01:00
Jakobus Schürz
64066349aa add timeout before remove images from dropzone 2023-03-19 18:52:45 +01:00
Jakobus Schürz
2403932a83 improve image-upload
* create dropzone for editing in jot-modal
* customize css for dropzone to make it more beautiful (smaller
  margin/paddings...)
* change position of dropzone-element dircetly to textarea, so button
  for upload is small and under textarea (it's more clear)
* remove previews after upload. this shows the upload-progress, but
  preview is not needed after upload. you can't do anything with the
  preview, and dialog gets too big. You see successful upload, when
  bb-code link to image is inserted on cursor-position in textarea
2023-03-19 18:52:45 +01:00
Jakobus Schürz
1e030d594c remove unneeded chars ("css") from first html-tag 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
Jakobus Schürz
8242d1c72b remove console.log 2023-03-19 18:52:45 +01:00
Jakob Schürz
177bf9b67b fix missing DI 2023-03-19 18:52:45 +01:00