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
Jakobus Schürz
660a9cf285
show rotator on button
2023-03-14 17:32:11 +01:00
Jakobus Schürz
a1b9f27545
make indentation as tabs
2023-03-14 17:32:11 +01:00
Jakobus Schürz
4244670f1c
simplify code, remove debug output
2023-03-14 17:32:11 +01:00
Jakobus Schürz
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
Michael
4e070f65c7
Option to automatically add links as attachment via API
2023-03-13 21:30:20 +00:00
Jakobus Schürz
95cb66b6bf
move upload-button in filebrowser above previews
...
its annoying, when you open filebrowser to upload an image or file, and
the button moves away under your finger/cursor, in case of loading
preview images slower than the form itself.
just change position of button (class="upload") and browser itself
(class="media") disannoys the behaviour.
2023-03-13 10:48:16 +01:00
www-data
51083e9fcf
fix typo (btn-defaul -> btn-default)
2023-03-08 05:48:34 +01:00
Damian Wajer
cf3dc9a94f
Fix calendar attendance icons
2023-03-07 17:57:54 +01:00
Damian Wajer
45571fe6a7
[frio] Move "Share via" to the share dropdown
2023-03-01 18:09:18 +01:00
Damian Wajer
bc65ea9693
Use available space for post interaction buttons
...
Related: https://github.com/friendica/friendica/issues/12835
2023-02-22 18:11:18 +01:00
Philipp Holzer
5552aac327
check themplates
2023-02-18 21:50:07 +01:00
Philipp Holzer
f0c29edcde
Adapt BaseURL calls to new UriInterface
2023-02-18 21:12:21 +01:00
Michael
608b5a37a4
Activities are now displayed as Emojis
2023-02-18 06:56:03 +00:00
Hypolite Petovan
d059c36ca6
[frio] Fix XSS vulneralibity in Justified-Gallery Javascript dependency
2023-02-08 08:31:43 -05:00
Damian Wajer
ec21c19be7
Fix labels in contact request modal
...
Fixes https://github.com/friendica/friendica/issues/12709
2023-01-25 19:05:42 +01:00
Michael
8e4e2eecb7
Issue 12702: Let the user decide how to handle spoiler texts
2023-01-22 17:10:31 +00:00
Damian Wajer
15a60d3b20
[frio] Regular size profile extra links
2023-01-19 19:49:22 +01:00
Damian Wajer
6ec49afa10
[frio] Ensure access to all user menu items on low screens
2023-01-19 19:49:14 +01:00
Damian Wajer
b86663dd1f
[frio] Adjust font-size
2023-01-19 19:49:10 +01:00
Damian Wajer
b735c40b27
[frio] Contact actions size
2023-01-19 19:49:06 +01:00
Damian Wajer
0344a84543
[frio] Larger clickable area for batch actions
2023-01-19 19:49:01 +01:00
Damian Wajer
4d0684d3d5
[frio] Improve responses markup and alignment
...
Reduce additional spacing between button groups and use the correct markup according to the docs:
https://getbootstrap.com/docs/3.4/components/#btn-groups
2023-01-19 19:48:55 +01:00
Damian Wajer
33d0505ce3
[frio] New design for mobile responses
2023-01-19 19:48:46 +01:00