Commit graph

7323 commits

Author SHA1 Message Date
Michael
72952d2c92 Issue 11535: Automatically open and close the registration 2023-03-21 21:44:26 +00:00
cf63cbde72 remove removelink (it is not useful at the moment) 2023-03-19 19:14:10 +01:00
5040bd9a1a change response-handling (code-review) 2023-03-19 18:52:46 +01:00
57a7a3d6d8 change responsehandling to be ready for PR #12892 2023-03-19 18:52:46 +01:00
8a3361dfbe remove upload-url parameter 2023-03-19 18:52:46 +01:00
6436d2cd8a changes in case of code-review 2023-03-19 18:52:46 +01:00
fba33d3afc add options allowedFiles and more 2023-03-19 18:52:46 +01:00
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
16f065e260 changes in case of codereview 2023-03-19 18:52:45 +01:00
0cc2e1c22a apply changes from review 2023-03-19 18:52:45 +01:00
e62265b234 make errormessages visible 2023-03-19 18:52:45 +01:00
f876a053df add dropzone also onclick on comment-fake-form 2023-03-19 18:52:45 +01:00
1a1a1246b6 attach dropzone only when opening comment 2023-03-19 18:52:45 +01:00
d39781023e create factory 2023-03-19 18:52:45 +01:00
ada11a2c67 create factory for dropzones 2023-03-19 18:52:45 +01:00
39f7660a1d fix getting bytes from shorthand in php 2023-03-19 18:52:45 +01:00
721c065a44 fix editing in modal-jot
and add also timeout before removing images from dropzone
2023-03-19 18:52:45 +01:00
64066349aa add timeout before remove images from dropzone 2023-03-19 18:52:45 +01:00
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
1e030d594c remove unneeded chars ("css") from first html-tag 2023-03-19 18:52:45 +01:00
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
00ae7d0f59 make dropzone work on editing postings/Comments 2023-03-19 18:52:45 +01:00
8242d1c72b remove console.log 2023-03-19 18:52:45 +01:00
a6a0507a89 small modifications to equalize the scripts 2023-03-19 18:52:45 +01:00
be2afac60d take maxFilesize from systemsettings
* does not work everywhere...
2023-03-19 18:52:45 +01:00
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
6a7f17559e fix composer dropzone 2023-03-19 18:52:45 +01:00
00c7e989b2 add missing css 2023-03-19 18:52:45 +01:00
3bb801c2c1 fix dropzone class in template 2023-03-19 18:52:45 +01:00
29d7b4ef24 fix path for js and css loading 2023-03-19 18:52:45 +01:00
Hank Grabowski
6db244f476 Fix over-aggressive lowercasing of url, title, image, and preview fields 2023-03-18 21:52:53 -04:00
e651769134 change/remove comments in code 2023-03-15 14:37:54 +01:00
f5f2076a2d remove unused selector
was there for historical reasons... :/
2023-03-14 17:33:51 +01:00
e2625592b7 update translation-files 2023-03-14 17:33:49 +01:00
0dffe65d64 fix indetation and removed some calls. 2023-03-14 17:32:11 +01:00
xundeenergie
d6fc00c743 Update view/theme/frio/js/theme.js
removed it.

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-03-14 17:32:11 +01:00
c94b586543 reduce literal html in javascript-code 2023-03-14 17:32:11 +01:00
f8018f8dfe make errormessages modular and better 2023-03-14 17:32:11 +01:00
88f21c5892 move forgotten rotator from template 2023-03-14 17:32:11 +01:00
9140914a24 make erromessages translateable 2023-03-14 17:32:11 +01:00
7daecf6741 remove rotator from templates 2023-03-14 17:32:11 +01:00
bd2cd8dd4c remove reminder for deleting rotators in tpl 2023-03-14 17:32:11 +01:00
xundeenergie
225e2124cc Update view/theme/frio/js/theme.js
in this case, the img[id^=waitfor... .show() shows existing image-containers. All of them which exist.

Because there can be more than one. And this filter just shows them.
adding another rotator with your suggestion can lead to 2 or more rotators on a button.

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-03-14 17:32:11 +01:00
2219978788 reduce indentation 2023-03-14 17:32:11 +01:00
96c3321bb8 improve optical feedback with rotator on buttons
* functional rotator with feedback from ajax-request for activity
    on like, dislike, share and shareMenu button in wide-screen and media-screen
2023-03-14 17:32:11 +01:00
660a9cf285 show rotator on button 2023-03-14 17:32:11 +01:00
a1b9f27545 make indentation as tabs 2023-03-14 17:32:11 +01:00
4244670f1c simplify code, remove debug output 2023-03-14 17:32:11 +01:00
f8fc9c1e8b improve like/share buttons
change the button only if it could send its request successfully to the server.

fixes:
* disrupting a video on liking or sharing
* timeline jumps around somewhere else, when you like or share a
  posting/comment, and you can not find back.
2023-03-14 17:32:11 +01: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