Commit graph

4176 commits

Author SHA1 Message Date
Hypolite Petovan
ced6680c6a Remove direct call to is_string() from templates
- Address https://github.com/friendica/friendica/issues/12011#issuecomment-1523913027
2023-05-23 22:09:55 -04:00
Hypolite Petovan
cd751a4c6a [frio] Remove scrollbars from preview close button and restore pointer cursor
- Address https://libranet.de/display/0b6b25a8-9464-6895-5ede-a3c536914564
2023-05-20 12:44:45 -04:00
Michael
5506a2c547 Tabs to spaces 2023-05-20 14:36:31 +00:00
Michael
1744f6b2c3 Add menu entry to directly collapse posts 2023-05-20 12:24:19 +00:00
Hypolite Petovan
725f99c813
Merge pull request #13113 from annando/baseurl
Ensure that the baseurl return value is a string
2023-05-11 05:05:16 -04:00
Michael
e13a31c4fe Ensure that the baseurl return value is a string 2023-05-11 08:13:19 +00:00
Hypolite Petovan
be8251ef0c
Merge pull request #13110 from anubis2814/develop
[frio] Changed mobile icon for sidebar
2023-05-10 17:19:29 -04:00
Michael
b233350e9f Fixes spaces 2023-05-06 21:52:30 +00:00
Michael
85408fe437 Vier: The emoji picker is now integrated 2023-05-06 21:27:21 +00:00
Michael
0a3f1094ce The emoji selector is now available for comments 2023-05-06 09:41:07 +00:00
Michael
45c1d74750 The Emojipicker is added to Frio for new posts 2023-05-04 10:54:29 +00:00
Hypolite Petovan
44bdff664a
Merge pull request #13076 from annando/fancybox
Add Fancybox to the core
2023-05-03 17:16:00 -04:00
Michael
bf4d19eed3 Changes after code review 2023-05-03 21:14:35 +00:00
Michael
b4b9a6a34a Add Fancybox to the core 2023-05-03 20:59:28 +00:00
Hypolite Petovan
d2429b1096
Merge pull request #13070 from xundeenergie/fix-share-via
change test for navigator.share - fixes #13054
2023-05-02 08:04:02 -04:00
Jakobus Schürz
2294d6ffc3 change test for navigator.share - fixes #13054
this testing for navigator.share is recommended from mozilla.
tested with firefox linux, android and vivaldi on linux.
2023-05-02 10:31:43 +02:00
Hypolite Petovan
ce2b7c8d4e [frio] Show post privacy scope in mobile view
- Remove mystery unknown block
2023-04-27 23:25:27 -04:00
Anubis2814
496967e7f8 Changed mobile icon for sidebar 2023-04-25 22:10:27 -04:00
Hypolite Petovan
03b7fcd09c Filter contact search by blocked remote domains
- Add filter explanation
2023-04-20 07:43:17 -04:00
Hypolite Petovan
1caea496c4 [frio] Fix jS error that was preventing further script execution in theme settings
- $("#id_frio_background_image").val() was undefined when showing accents
2023-04-17 21:26:12 -04:00
Jakobus Schürz
0e9eeec3c7 remove scrollbar from dropzone in jot too
fixes #13002
2023-04-17 22:11:52 +02:00
Hypolite Petovan
4db29565de [frio] Add Dropzone dictionary strings to l10n 2023-04-09 08:24:12 -04:00
Jakobus Schürz
6d09bf6bec move overflow: auto to css 2023-03-29 13:44:03 +02:00
Jakobus Schürz
f6ff1d0aae insert margin btw. dropzone and buttons 2023-03-29 10:47:27 +02:00
Jakobus Schürz
856fb96212 remove unused scrollbar in vivaldi
fixes #12944
fixes #12944 partly
2023-03-29 10:35:48 +02:00
Jakobus Schürz
a661097a90 make font-color of dropzone less focus stealing 2023-03-29 10:31:10 +02:00
Philipp
36e21cacc9
Apply suggestions from code review
Switch to `isWritable`

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-03-27 19:36:14 +02:00
Philipp
fa9c3d40be
Add conditional help text for disabled fields 2023-03-27 19:36:13 +02:00
Philipp
76f3b07033
Disable setting fields in case we use environment variables 2023-03-27 19:36:13 +02:00
Josh Soref
d39d52d4d9 Remove unused css rule 2023-03-26 20:05:16 -04:00
Josh Soref
f0c8576b87 spelling: title
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref
17467418a8 spelling: sidebar
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref
70cabcb547 spelling: should
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref
25ed92fc97 spelling: little
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:07 -04:00
Josh Soref
d185053953 spelling: items
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:07 -04:00
Josh Soref
76a81425b7 spelling: fieldset
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:03:51 -04:00
Josh Soref
9fc26de628 spelling: children
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 18:59:11 -04:00
Josh Soref
c513b07dbf Remove unused css reference 2023-03-26 16:14:16 -04:00
Josh Soref
5c563d26c2 Remove unused css rule 2023-03-26 16:14:16 -04:00
Josh Soref
bfc1b7f298 spelling: widgets
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
26d2c0d2dc spelling: whitespace
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
57d90e4c73 spelling: warning
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
3588e35c87 spelling: visible
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
4c6f0d0fe0 spelling: vertical
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
728fb43d18 spelling: usually
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
13cedcc1a3 spelling: user
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
163f2c11e3 spelling: truncate
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
b6c074507a spelling: through
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
c6a9e8be39 spelling: the
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
9cc37d5541 spelling: that
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
65d6e2f80f spelling: special
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
4e2ef78357 spelling: some
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
68c7634fa6 spelling: sidebar
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
81b04ef37a spelling: separator
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
043716f06d spelling: separate
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
e71ad738d9 spelling: regularly
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
131695cb11 spelling: preview
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
33f2e933e2 spelling: possibility
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
b25fcf9e68 spelling: possibilities
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
82d4d329be spelling: original
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
a96c07025e spelling: notification
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:15 -04:00
Josh Soref
66332394fb spelling: not be
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:15 -04:00
Josh Soref
03048c9898 spelling: necessary
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:15 -04:00
Josh Soref
4894001931 spelling: miscellaneous
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:15 -04:00
Josh Soref
64abe97904 spelling: metallic
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:15 -04:00
Josh Soref
594cf63a16 spelling: javascript
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:13:07 -04:00
Josh Soref
9d26a054d5 spelling: incoming
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
4dd85e3f3c spelling: image
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
c7b8de4fe7 spelling: ignore
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
de7f9b380b spelling: height
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
c8d5b6e0c6 spelling: group
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
c95360ff87 spelling: github
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
23b7bbec9f spelling: foreign
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
acb85feafb spelling: explicit
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
1fdd0f9152 spelling: dimensions
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
a83db24724 spelling: different
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
17fa773233 spelling: determines
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
f1a33174ac spelling: desktop
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
065c40e9cb spelling: customization
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
c272a93ee3 spelling: contrast
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
4e6a2b1761 spelling: content
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
72cc354214 spelling: community
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
acb1e71082 spelling: comment
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
c754ac9cc5 spelling: colors
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
25a352f66a spelling: close
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
e02c475c9e spelling: calendar
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
d553aeabbe spelling: button
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
56fc1a9fcd spelling: bottom
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
448c0b5bc9 spelling: bootstrap
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
a913952035 spelling: attribute
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
955f86d3c5 spelling: another
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
ad1616675e spelling: if
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
6e105fbec1 spelling: advanced
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
07862b8a88 spelling: activity
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
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
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