Commit Graph

3979 Commits

Author SHA1 Message Date
Jakobus Schürz a3aa34c21d changes in case of code-review 2023-03-24 08:56:30 +01:00
Jakobus Schürz 20873323ba remove unneeded "false" 2023-03-23 23:27:13 +01:00
Jakobus Schürz 33a7cd107e improve attend-buttons for events 2023-03-23 23:23:23 +01:00
Jakobus Schürz 5277c483fe change or to and 2023-03-23 20:20:13 +01:00
Jakobus Schürz be84573d7c fix activate share-button on nonfollowers
I don't know, if this really resolves the problem... but it looks like,
it does.

fixes #12923
2023-03-23 20:20:13 +01:00
Jakobus Schürz 6edc91e7f3 spacing in texara is 10px in dropzone only 0px 2023-03-23 19:31:58 +01:00
Hypolite Petovan 421a6296c2
Merge pull request #12936 from loma-one/patch-6
Modify dropzones css: Correct spacing Text input Comments
2023-03-23 06:04:36 -04:00
loma-one efa6a44f7e
Modify dropzones min css: Correct spacing Text input Comments
With the last change to the CSS, https://github.com/friendica/friendica/pull/12933 was overwritten.
2023-03-23 07:04:42 +01:00
loma-one 72c1399922
Modify dropzones css: Correct spacing Text input Comments
With the last change to the CSS, https://github.com/friendica/friendica/pull/12932 was overwritten.
2023-03-23 07:01:53 +01:00
Jakobus Schürz fafa804cf0 fix indentation and remove comment 2023-03-22 21:42:52 +01:00
Jakobus Schürz 7e989a03b2 make dropzone css configureable with variables
and set a border-radius for dropzone to reflect theme better
2023-03-22 21:42:52 +01:00
Jakobus Schürz fa45da6fd1 make dropzone same color as rest (fixes #12924) 2023-03-22 21:42:52 +01:00
Jakobus Schürz 2a5e464b59 make dropzone same color as rest (fixes #12924) 2023-03-22 21:42:51 +01:00
loma-one 82da2ee802
Modify dropzones css: Correct spacing Text input Comments
The spacing on the left is always specified with padding: 10px 10px; in the other editors. The text input does not look so nice at the moment.
2023-03-22 17:08:26 +01:00
loma-one 6bb683e794
Correct spacing Text input Comments
The spacing on the left is always specified with padding: 10px 10px; in the other editors. The text input does not look so nice at the moment.
2023-03-22 14:25:30 +01:00
Michael 72952d2c92 Issue 11535: Automatically open and close the registration 2023-03-21 21:44:26 +00: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 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 1a1a1246b6 attach dropzone only when opening comment 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 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
Jakobus Schürz a6a0507a89 small modifications to equalize the scripts 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 6a7f17559e fix composer dropzone 2023-03-19 18:52:45 +01:00
Jakobus Schürz 00c7e989b2 add missing css 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
Jakobus Schürz e651769134 change/remove comments in code 2023-03-15 14:37:54 +01:00
Jakobus Schürz f5f2076a2d remove unused selector
was there for historical reasons... :/
2023-03-14 17:33:51 +01:00
Jakobus Schürz 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
Jakobus Schürz c94b586543 reduce literal html in javascript-code 2023-03-14 17:32:11 +01:00
Jakobus Schürz f8018f8dfe make errormessages modular and better 2023-03-14 17:32:11 +01:00
Jakobus Schürz 88f21c5892 move forgotten rotator from template 2023-03-14 17:32:11 +01:00
Jakobus Schürz 9140914a24 make erromessages translateable 2023-03-14 17:32:11 +01:00
Jakobus Schürz 7daecf6741 remove rotator from templates 2023-03-14 17:32:11 +01:00
Jakobus Schürz 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
Jakobus Schürz 2219978788 reduce indentation 2023-03-14 17:32:11 +01:00
Jakobus Schürz 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